diff --git a/.gitattributes b/.gitattributes index a860ea7362699..e7c8226acf907 100644 --- a/.gitattributes +++ b/.gitattributes @@ -8,4 +8,4 @@ turbopack/crates/turbo-tasks-macros-tests/tests/**/*.stderr linguist-generated=t turbopack/crates/turbopack-ecmascript/tests/tree-shaker/analyzer/**/output.md linguist-generated=true turbopack/crates/turbopack-tests/tests/snapshot/**/output/** linguist-generated=true -.config/ast-grep/rule-tests/__snapshots__/** linguist-generated=true +**/__snapshots__/** linguist-generated=true diff --git a/.github/actions/next-repo-actions/dist/prs/index.js b/.github/actions/next-repo-actions/dist/prs/index.js new file mode 100644 index 0000000000000..fc78830c6e2a2 --- /dev/null +++ b/.github/actions/next-repo-actions/dist/prs/index.js @@ -0,0 +1,16 @@ +(()=>{var __webpack_modules__={8479:function(e,t,s){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[s]}})}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var s in e)if(s!=="default"&&Object.hasOwnProperty.call(e,s))r(t,e,s);n(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.issue=t.issueCommand=void 0;const o=i(s(857));const A=s(1379);function issueCommand(e,t,s){const r=new Command(e,t,s);process.stdout.write(r.toString()+o.EOL)}t.issueCommand=issueCommand;function issue(e,t=""){issueCommand(e,{},t)}t.issue=issue;const a="::";class Command{constructor(e,t,s){if(!e){e="missing.command"}this.command=e;this.properties=t;this.message=s}toString(){let e=a+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let t=true;for(const s in this.properties){if(this.properties.hasOwnProperty(s)){const r=this.properties[s];if(r){if(t){t=false}else{e+=","}e+=`${s}=${escapeProperty(r)}`}}}}e+=`${a}${escapeData(this.message)}`;return e}}function escapeData(e){return A.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(e){return A.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},3847:function(e,t,s){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[s]}})}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var s in e)if(s!=="default"&&Object.hasOwnProperty.call(e,s))r(t,e,s);n(t,e);return t};var o=this&&this.__awaiter||function(e,t,s,r){function adopt(e){return e instanceof s?e:new s((function(t){t(e)}))}return new(s||(s=Promise))((function(s,n){function fulfilled(e){try{step(r.next(e))}catch(e){n(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){n(e)}}function step(e){e.done?s(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.getIDToken=t.getState=t.saveState=t.group=t.endGroup=t.startGroup=t.info=t.notice=t.warning=t.error=t.debug=t.isDebug=t.setFailed=t.setCommandEcho=t.setOutput=t.getBooleanInput=t.getMultilineInput=t.getInput=t.addPath=t.setSecret=t.exportVariable=t.ExitCode=void 0;const A=s(8479);const a=s(9722);const c=s(1379);const l=i(s(857));const u=i(s(6928));const p=s(7637);var d;(function(e){e[e["Success"]=0]="Success";e[e["Failure"]=1]="Failure"})(d=t.ExitCode||(t.ExitCode={}));function exportVariable(e,t){const s=c.toCommandValue(t);process.env[e]=s;const r=process.env["GITHUB_ENV"]||"";if(r){return a.issueFileCommand("ENV",a.prepareKeyValueMessage(e,t))}A.issueCommand("set-env",{name:e},s)}t.exportVariable=exportVariable;function setSecret(e){A.issueCommand("add-mask",{},e)}t.setSecret=setSecret;function addPath(e){const t=process.env["GITHUB_PATH"]||"";if(t){a.issueFileCommand("PATH",e)}else{A.issueCommand("add-path",{},e)}process.env["PATH"]=`${e}${u.delimiter}${process.env["PATH"]}`}t.addPath=addPath;function getInput(e,t){const s=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!s){throw new Error(`Input required and not supplied: ${e}`)}if(t&&t.trimWhitespace===false){return s}return s.trim()}t.getInput=getInput;function getMultilineInput(e,t){const s=getInput(e,t).split("\n").filter((e=>e!==""));if(t&&t.trimWhitespace===false){return s}return s.map((e=>e.trim()))}t.getMultilineInput=getMultilineInput;function getBooleanInput(e,t){const s=["true","True","TRUE"];const r=["false","False","FALSE"];const n=getInput(e,t);if(s.includes(n))return true;if(r.includes(n))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}t.getBooleanInput=getBooleanInput;function setOutput(e,t){const s=process.env["GITHUB_OUTPUT"]||"";if(s){return a.issueFileCommand("OUTPUT",a.prepareKeyValueMessage(e,t))}process.stdout.write(l.EOL);A.issueCommand("set-output",{name:e},c.toCommandValue(t))}t.setOutput=setOutput;function setCommandEcho(e){A.issue("echo",e?"on":"off")}t.setCommandEcho=setCommandEcho;function setFailed(e){process.exitCode=d.Failure;error(e)}t.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}t.isDebug=isDebug;function debug(e){A.issueCommand("debug",{},e)}t.debug=debug;function error(e,t={}){A.issueCommand("error",c.toCommandProperties(t),e instanceof Error?e.toString():e)}t.error=error;function warning(e,t={}){A.issueCommand("warning",c.toCommandProperties(t),e instanceof Error?e.toString():e)}t.warning=warning;function notice(e,t={}){A.issueCommand("notice",c.toCommandProperties(t),e instanceof Error?e.toString():e)}t.notice=notice;function info(e){process.stdout.write(e+l.EOL)}t.info=info;function startGroup(e){A.issue("group",e)}t.startGroup=startGroup;function endGroup(){A.issue("endgroup")}t.endGroup=endGroup;function group(e,t){return o(this,void 0,void 0,(function*(){startGroup(e);let s;try{s=yield t()}finally{endGroup()}return s}))}t.group=group;function saveState(e,t){const s=process.env["GITHUB_STATE"]||"";if(s){return a.issueFileCommand("STATE",a.prepareKeyValueMessage(e,t))}A.issueCommand("save-state",{name:e},c.toCommandValue(t))}t.saveState=saveState;function getState(e){return process.env[`STATE_${e}`]||""}t.getState=getState;function getIDToken(e){return o(this,void 0,void 0,(function*(){return yield p.OidcClient.getIDToken(e)}))}t.getIDToken=getIDToken;var g=s(2046);Object.defineProperty(t,"summary",{enumerable:true,get:function(){return g.summary}});var h=s(2046);Object.defineProperty(t,"markdownSummary",{enumerable:true,get:function(){return h.markdownSummary}});var E=s(515);Object.defineProperty(t,"toPosixPath",{enumerable:true,get:function(){return E.toPosixPath}});Object.defineProperty(t,"toWin32Path",{enumerable:true,get:function(){return E.toWin32Path}});Object.defineProperty(t,"toPlatformPath",{enumerable:true,get:function(){return E.toPlatformPath}})},9722:function(e,t,s){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[s]}})}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var s in e)if(s!=="default"&&Object.hasOwnProperty.call(e,s))r(t,e,s);n(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.prepareKeyValueMessage=t.issueFileCommand=void 0;const o=i(s(9896));const A=i(s(857));const a=s(9487);const c=s(1379);function issueFileCommand(e,t){const s=process.env[`GITHUB_${e}`];if(!s){throw new Error(`Unable to find environment variable for file command ${e}`)}if(!o.existsSync(s)){throw new Error(`Missing file at path: ${s}`)}o.appendFileSync(s,`${c.toCommandValue(t)}${A.EOL}`,{encoding:"utf8"})}t.issueFileCommand=issueFileCommand;function prepareKeyValueMessage(e,t){const s=`ghadelimiter_${a.v4()}`;const r=c.toCommandValue(t);if(e.includes(s)){throw new Error(`Unexpected input: name should not contain the delimiter "${s}"`)}if(r.includes(s)){throw new Error(`Unexpected input: value should not contain the delimiter "${s}"`)}return`${e}<<${s}${A.EOL}${r}${A.EOL}${s}`}t.prepareKeyValueMessage=prepareKeyValueMessage},7637:function(e,t,s){"use strict";var r=this&&this.__awaiter||function(e,t,s,r){function adopt(e){return e instanceof s?e:new s((function(t){t(e)}))}return new(s||(s=Promise))((function(s,n){function fulfilled(e){try{step(r.next(e))}catch(e){n(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){n(e)}}function step(e){e.done?s(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.OidcClient=void 0;const n=s(9913);const i=s(6095);const o=s(3847);class OidcClient{static createHttpClient(e=true,t=10){const s={allowRetries:e,maxRetries:t};return new n.HttpClient("actions/oidc-client",[new i.BearerCredentialHandler(OidcClient.getRequestToken())],s)}static getRequestToken(){const e=process.env["ACTIONS_ID_TOKEN_REQUEST_TOKEN"];if(!e){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable")}return e}static getIDTokenUrl(){const e=process.env["ACTIONS_ID_TOKEN_REQUEST_URL"];if(!e){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable")}return e}static getCall(e){var t;return r(this,void 0,void 0,(function*(){const s=OidcClient.createHttpClient();const r=yield s.getJson(e).catch((e=>{throw new Error(`Failed to get ID Token. \n \n Error Code : ${e.statusCode}\n \n Error Message: ${e.message}`)}));const n=(t=r.result)===null||t===void 0?void 0:t.value;if(!n){throw new Error("Response json body do not have ID Token field")}return n}))}static getIDToken(e){return r(this,void 0,void 0,(function*(){try{let t=OidcClient.getIDTokenUrl();if(e){const s=encodeURIComponent(e);t=`${t}&audience=${s}`}o.debug(`ID token url is ${t}`);const s=yield OidcClient.getCall(t);o.setSecret(s);return s}catch(e){throw new Error(`Error message: ${e.message}`)}}))}}t.OidcClient=OidcClient},515:function(e,t,s){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[s]}})}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var s in e)if(s!=="default"&&Object.hasOwnProperty.call(e,s))r(t,e,s);n(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.toPlatformPath=t.toWin32Path=t.toPosixPath=void 0;const o=i(s(6928));function toPosixPath(e){return e.replace(/[\\]/g,"/")}t.toPosixPath=toPosixPath;function toWin32Path(e){return e.replace(/[/]/g,"\\")}t.toWin32Path=toWin32Path;function toPlatformPath(e){return e.replace(/[/\\]/g,o.sep)}t.toPlatformPath=toPlatformPath},2046:function(e,t,s){"use strict";var r=this&&this.__awaiter||function(e,t,s,r){function adopt(e){return e instanceof s?e:new s((function(t){t(e)}))}return new(s||(s=Promise))((function(s,n){function fulfilled(e){try{step(r.next(e))}catch(e){n(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){n(e)}}function step(e){e.done?s(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.summary=t.markdownSummary=t.SUMMARY_DOCS_URL=t.SUMMARY_ENV_VAR=void 0;const n=s(857);const i=s(9896);const{access:o,appendFile:A,writeFile:a}=i.promises;t.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";t.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";class Summary{constructor(){this._buffer=""}filePath(){return r(this,void 0,void 0,(function*(){if(this._filePath){return this._filePath}const e=process.env[t.SUMMARY_ENV_VAR];if(!e){throw new Error(`Unable to find environment variable for $${t.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`)}try{yield o(e,i.constants.R_OK|i.constants.W_OK)}catch(t){throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}this._filePath=e;return this._filePath}))}wrap(e,t,s={}){const r=Object.entries(s).map((([e,t])=>` ${e}="${t}"`)).join("");if(!t){return`<${e}${r}>`}return`<${e}${r}>${t}`}write(e){return r(this,void 0,void 0,(function*(){const t=!!(e===null||e===void 0?void 0:e.overwrite);const s=yield this.filePath();const r=t?a:A;yield r(s,this._buffer,{encoding:"utf8"});return this.emptyBuffer()}))}clear(){return r(this,void 0,void 0,(function*(){return this.emptyBuffer().write({overwrite:true})}))}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){this._buffer="";return this}addRaw(e,t=false){this._buffer+=e;return t?this.addEOL():this}addEOL(){return this.addRaw(n.EOL)}addCodeBlock(e,t){const s=Object.assign({},t&&{lang:t});const r=this.wrap("pre",this.wrap("code",e),s);return this.addRaw(r).addEOL()}addList(e,t=false){const s=t?"ol":"ul";const r=e.map((e=>this.wrap("li",e))).join("");const n=this.wrap(s,r);return this.addRaw(n).addEOL()}addTable(e){const t=e.map((e=>{const t=e.map((e=>{if(typeof e==="string"){return this.wrap("td",e)}const{header:t,data:s,colspan:r,rowspan:n}=e;const i=t?"th":"td";const o=Object.assign(Object.assign({},r&&{colspan:r}),n&&{rowspan:n});return this.wrap(i,s,o)})).join("");return this.wrap("tr",t)})).join("");const s=this.wrap("table",t);return this.addRaw(s).addEOL()}addDetails(e,t){const s=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(s).addEOL()}addImage(e,t,s){const{width:r,height:n}=s||{};const i=Object.assign(Object.assign({},r&&{width:r}),n&&{height:n});const o=this.wrap("img",null,Object.assign({src:e,alt:t},i));return this.addRaw(o).addEOL()}addHeading(e,t){const s=`h${t}`;const r=["h1","h2","h3","h4","h5","h6"].includes(s)?s:"h1";const n=this.wrap(r,e);return this.addRaw(n).addEOL()}addSeparator(){const e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){const e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,t){const s=Object.assign({},t&&{cite:t});const r=this.wrap("blockquote",e,s);return this.addRaw(r).addEOL()}addLink(e,t){const s=this.wrap("a",e,{href:t});return this.addRaw(s).addEOL()}}const c=new Summary;t.markdownSummary=c;t.summary=c},1379:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.toCommandProperties=t.toCommandValue=void 0;function toCommandValue(e){if(e===null||e===undefined){return""}else if(typeof e==="string"||e instanceof String){return e}return JSON.stringify(e)}t.toCommandValue=toCommandValue;function toCommandProperties(e){if(!Object.keys(e).length){return{}}return{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}}t.toCommandProperties=toCommandProperties},1593:function(e,t,s){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[s]}})}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var s in e)if(s!=="default"&&Object.hasOwnProperty.call(e,s))r(t,e,s);n(t,e);return t};var o=this&&this.__awaiter||function(e,t,s,r){function adopt(e){return e instanceof s?e:new s((function(t){t(e)}))}return new(s||(s=Promise))((function(s,n){function fulfilled(e){try{step(r.next(e))}catch(e){n(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){n(e)}}function step(e){e.done?s(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.getExecOutput=t.exec=void 0;const A=s(3193);const a=i(s(6704));function exec(e,t,s){return o(this,void 0,void 0,(function*(){const r=a.argStringToArray(e);if(r.length===0){throw new Error(`Parameter 'commandLine' cannot be null or empty.`)}const n=r[0];t=r.slice(1).concat(t||[]);const i=new a.ToolRunner(n,t,s);return i.exec()}))}t.exec=exec;function getExecOutput(e,t,s){var r,n;return o(this,void 0,void 0,(function*(){let i="";let o="";const a=new A.StringDecoder("utf8");const c=new A.StringDecoder("utf8");const l=(r=s===null||s===void 0?void 0:s.listeners)===null||r===void 0?void 0:r.stdout;const u=(n=s===null||s===void 0?void 0:s.listeners)===null||n===void 0?void 0:n.stderr;const stdErrListener=e=>{o+=c.write(e);if(u){u(e)}};const stdOutListener=e=>{i+=a.write(e);if(l){l(e)}};const p=Object.assign(Object.assign({},s===null||s===void 0?void 0:s.listeners),{stdout:stdOutListener,stderr:stdErrListener});const d=yield exec(e,t,Object.assign(Object.assign({},s),{listeners:p}));i+=a.end();o+=c.end();return{exitCode:d,stdout:i,stderr:o}}))}t.getExecOutput=getExecOutput},6704:function(e,t,s){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[s]}})}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var s in e)if(s!=="default"&&Object.hasOwnProperty.call(e,s))r(t,e,s);n(t,e);return t};var o=this&&this.__awaiter||function(e,t,s,r){function adopt(e){return e instanceof s?e:new s((function(t){t(e)}))}return new(s||(s=Promise))((function(s,n){function fulfilled(e){try{step(r.next(e))}catch(e){n(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){n(e)}}function step(e){e.done?s(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.argStringToArray=t.ToolRunner=void 0;const A=i(s(857));const a=i(s(4434));const c=i(s(5317));const l=i(s(6928));const u=i(s(404));const p=i(s(1349));const d=s(3557);const g=process.platform==="win32";class ToolRunner extends a.EventEmitter{constructor(e,t,s){super();if(!e){throw new Error("Parameter 'toolPath' cannot be null or empty.")}this.toolPath=e;this.args=t||[];this.options=s||{}}_debug(e){if(this.options.listeners&&this.options.listeners.debug){this.options.listeners.debug(e)}}_getCommandString(e,t){const s=this._getSpawnFileName();const r=this._getSpawnArgs(e);let n=t?"":"[command]";if(g){if(this._isCmdFile()){n+=s;for(const e of r){n+=` ${e}`}}else if(e.windowsVerbatimArguments){n+=`"${s}"`;for(const e of r){n+=` ${e}`}}else{n+=this._windowsQuoteCmdArg(s);for(const e of r){n+=` ${this._windowsQuoteCmdArg(e)}`}}}else{n+=s;for(const e of r){n+=` ${e}`}}return n}_processLineBuffer(e,t,s){try{let r=t+e.toString();let n=r.indexOf(A.EOL);while(n>-1){const e=r.substring(0,n);s(e);r=r.substring(n+A.EOL.length);n=r.indexOf(A.EOL)}return r}catch(e){this._debug(`error processing line. Failed with error ${e}`);return""}}_getSpawnFileName(){if(g){if(this._isCmdFile()){return process.env["COMSPEC"]||"cmd.exe"}}return this.toolPath}_getSpawnArgs(e){if(g){if(this._isCmdFile()){let t=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(const s of this.args){t+=" ";t+=e.windowsVerbatimArguments?s:this._windowsQuoteCmdArg(s)}t+='"';return[t]}}return this.args}_endsWith(e,t){return e.endsWith(t)}_isCmdFile(){const e=this.toolPath.toUpperCase();return this._endsWith(e,".CMD")||this._endsWith(e,".BAT")}_windowsQuoteCmdArg(e){if(!this._isCmdFile()){return this._uvQuoteCmdArg(e)}if(!e){return'""'}const t=[" ","\t","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'];let s=false;for(const r of e){if(t.some((e=>e===r))){s=true;break}}if(!s){return e}let r='"';let n=true;for(let t=e.length;t>0;t--){r+=e[t-1];if(n&&e[t-1]==="\\"){r+="\\"}else if(e[t-1]==='"'){n=true;r+='"'}else{n=false}}r+='"';return r.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e){return'""'}if(!e.includes(" ")&&!e.includes("\t")&&!e.includes('"')){return e}if(!e.includes('"')&&!e.includes("\\")){return`"${e}"`}let t='"';let s=true;for(let r=e.length;r>0;r--){t+=e[r-1];if(s&&e[r-1]==="\\"){t+="\\"}else if(e[r-1]==='"'){s=true;t+="\\"}else{s=false}}t+='"';return t.split("").reverse().join("")}_cloneExecOptions(e){e=e||{};const t={cwd:e.cwd||process.cwd(),env:e.env||process.env,silent:e.silent||false,windowsVerbatimArguments:e.windowsVerbatimArguments||false,failOnStdErr:e.failOnStdErr||false,ignoreReturnCode:e.ignoreReturnCode||false,delay:e.delay||1e4};t.outStream=e.outStream||process.stdout;t.errStream=e.errStream||process.stderr;return t}_getSpawnOptions(e,t){e=e||{};const s={};s.cwd=e.cwd;s.env=e.env;s["windowsVerbatimArguments"]=e.windowsVerbatimArguments||this._isCmdFile();if(e.windowsVerbatimArguments){s.argv0=`"${t}"`}return s}exec(){return o(this,void 0,void 0,(function*(){if(!p.isRooted(this.toolPath)&&(this.toolPath.includes("/")||g&&this.toolPath.includes("\\"))){this.toolPath=l.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)}this.toolPath=yield u.which(this.toolPath,true);return new Promise(((e,t)=>o(this,void 0,void 0,(function*(){this._debug(`exec tool: ${this.toolPath}`);this._debug("arguments:");for(const e of this.args){this._debug(` ${e}`)}const s=this._cloneExecOptions(this.options);if(!s.silent&&s.outStream){s.outStream.write(this._getCommandString(s)+A.EOL)}const r=new ExecState(s,this.toolPath);r.on("debug",(e=>{this._debug(e)}));if(this.options.cwd&&!(yield p.exists(this.options.cwd))){return t(new Error(`The cwd: ${this.options.cwd} does not exist!`))}const n=this._getSpawnFileName();const i=c.spawn(n,this._getSpawnArgs(s),this._getSpawnOptions(this.options,n));let o="";if(i.stdout){i.stdout.on("data",(e=>{if(this.options.listeners&&this.options.listeners.stdout){this.options.listeners.stdout(e)}if(!s.silent&&s.outStream){s.outStream.write(e)}o=this._processLineBuffer(e,o,(e=>{if(this.options.listeners&&this.options.listeners.stdline){this.options.listeners.stdline(e)}}))}))}let a="";if(i.stderr){i.stderr.on("data",(e=>{r.processStderr=true;if(this.options.listeners&&this.options.listeners.stderr){this.options.listeners.stderr(e)}if(!s.silent&&s.errStream&&s.outStream){const t=s.failOnStdErr?s.errStream:s.outStream;t.write(e)}a=this._processLineBuffer(e,a,(e=>{if(this.options.listeners&&this.options.listeners.errline){this.options.listeners.errline(e)}}))}))}i.on("error",(e=>{r.processError=e.message;r.processExited=true;r.processClosed=true;r.CheckComplete()}));i.on("exit",(e=>{r.processExitCode=e;r.processExited=true;this._debug(`Exit code ${e} received from tool '${this.toolPath}'`);r.CheckComplete()}));i.on("close",(e=>{r.processExitCode=e;r.processExited=true;r.processClosed=true;this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);r.CheckComplete()}));r.on("done",((s,r)=>{if(o.length>0){this.emit("stdline",o)}if(a.length>0){this.emit("errline",a)}i.removeAllListeners();if(s){t(s)}else{e(r)}}));if(this.options.input){if(!i.stdin){throw new Error("child process missing stdin")}i.stdin.end(this.options.input)}}))))}))}}t.ToolRunner=ToolRunner;function argStringToArray(e){const t=[];let s=false;let r=false;let n="";function append(e){if(r&&e!=='"'){n+="\\"}n+=e;r=false}for(let i=0;i0){t.push(n);n=""}continue}append(o)}if(n.length>0){t.push(n.trim())}return t}t.argStringToArray=argStringToArray;class ExecState extends a.EventEmitter{constructor(e,t){super();this.processClosed=false;this.processError="";this.processExitCode=0;this.processExited=false;this.processStderr=false;this.delay=1e4;this.done=false;this.timeout=null;if(!t){throw new Error("toolPath must not be empty")}this.options=e;this.toolPath=t;if(e.delay){this.delay=e.delay}}CheckComplete(){if(this.done){return}if(this.processClosed){this._setResult()}else if(this.processExited){this.timeout=d.setTimeout(ExecState.HandleTimeout,this.delay,this)}}_debug(e){this.emit("debug",e)}_setResult(){let e;if(this.processExited){if(this.processError){e=new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`)}else if(this.processExitCode!==0&&!this.options.ignoreReturnCode){e=new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`)}else if(this.processStderr&&this.options.failOnStdErr){e=new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`)}}if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.done=true;this.emit("done",e,this.processExitCode)}static HandleTimeout(e){if(e.done){return}if(!e.processClosed&&e.processExited){const t=`The STDIO streams did not close within ${e.delay/1e3} seconds of the exit event from process '${e.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;e._debug(t)}e._setResult()}}},1994:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Context=void 0;const r=s(9896);const n=s(857);class Context{constructor(){var e,t,s;this.payload={};if(process.env.GITHUB_EVENT_PATH){if((0,r.existsSync)(process.env.GITHUB_EVENT_PATH)){this.payload=JSON.parse((0,r.readFileSync)(process.env.GITHUB_EVENT_PATH,{encoding:"utf8"}))}else{const e=process.env.GITHUB_EVENT_PATH;process.stdout.write(`GITHUB_EVENT_PATH ${e} does not exist${n.EOL}`)}}this.eventName=process.env.GITHUB_EVENT_NAME;this.sha=process.env.GITHUB_SHA;this.ref=process.env.GITHUB_REF;this.workflow=process.env.GITHUB_WORKFLOW;this.action=process.env.GITHUB_ACTION;this.actor=process.env.GITHUB_ACTOR;this.job=process.env.GITHUB_JOB;this.runNumber=parseInt(process.env.GITHUB_RUN_NUMBER,10);this.runId=parseInt(process.env.GITHUB_RUN_ID,10);this.apiUrl=(e=process.env.GITHUB_API_URL)!==null&&e!==void 0?e:`https://api.github.com`;this.serverUrl=(t=process.env.GITHUB_SERVER_URL)!==null&&t!==void 0?t:`https://github.com`;this.graphqlUrl=(s=process.env.GITHUB_GRAPHQL_URL)!==null&&s!==void 0?s:`https://api.github.com/graphql`}get issue(){const e=this.payload;return Object.assign(Object.assign({},this.repo),{number:(e.issue||e.pull_request||e).number})}get repo(){if(process.env.GITHUB_REPOSITORY){const[e,t]=process.env.GITHUB_REPOSITORY.split("/");return{owner:e,repo:t}}if(this.payload.repository){return{owner:this.payload.repository.owner.login,repo:this.payload.repository.name}}throw new Error("context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'")}}t.Context=Context},1550:function(e,t,s){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;var n=Object.getOwnPropertyDescriptor(t,s);if(!n||("get"in n?!t.__esModule:n.writable||n.configurable)){n={enumerable:true,get:function(){return t[s]}}}Object.defineProperty(e,r,n)}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var s in e)if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s))r(t,e,s);n(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.getOctokit=t.context=void 0;const o=i(s(1994));const A=s(7576);t.context=new o.Context;function getOctokit(e,t,...s){const r=A.GitHub.plugin(...s);return new r((0,A.getOctokitOptions)(e,t))}t.getOctokit=getOctokit},3498:function(e,t,s){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;var n=Object.getOwnPropertyDescriptor(t,s);if(!n||("get"in n?!t.__esModule:n.writable||n.configurable)){n={enumerable:true,get:function(){return t[s]}}}Object.defineProperty(e,r,n)}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var s in e)if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s))r(t,e,s);n(t,e);return t};var o=this&&this.__awaiter||function(e,t,s,r){function adopt(e){return e instanceof s?e:new s((function(t){t(e)}))}return new(s||(s=Promise))((function(s,n){function fulfilled(e){try{step(r.next(e))}catch(e){n(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){n(e)}}function step(e){e.done?s(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.getApiBaseUrl=t.getProxyFetch=t.getProxyAgentDispatcher=t.getProxyAgent=t.getAuthString=void 0;const A=i(s(9913));const a=s(7370);function getAuthString(e,t){if(!e&&!t.auth){throw new Error("Parameter token or opts.auth is required")}else if(e&&t.auth){throw new Error("Parameters token and opts.auth may not both be specified")}return typeof t.auth==="string"?t.auth:`token ${e}`}t.getAuthString=getAuthString;function getProxyAgent(e){const t=new A.HttpClient;return t.getAgent(e)}t.getProxyAgent=getProxyAgent;function getProxyAgentDispatcher(e){const t=new A.HttpClient;return t.getAgentDispatcher(e)}t.getProxyAgentDispatcher=getProxyAgentDispatcher;function getProxyFetch(e){const t=getProxyAgentDispatcher(e);const proxyFetch=(e,s)=>o(this,void 0,void 0,(function*(){return(0,a.fetch)(e,Object.assign(Object.assign({},s),{dispatcher:t}))}));return proxyFetch}t.getProxyFetch=getProxyFetch;function getApiBaseUrl(){return process.env["GITHUB_API_URL"]||"https://api.github.com"}t.getApiBaseUrl=getApiBaseUrl},7576:function(e,t,s){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;var n=Object.getOwnPropertyDescriptor(t,s);if(!n||("get"in n?!t.__esModule:n.writable||n.configurable)){n={enumerable:true,get:function(){return t[s]}}}Object.defineProperty(e,r,n)}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var s in e)if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s))r(t,e,s);n(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.getOctokitOptions=t.GitHub=t.defaults=t.context=void 0;const o=i(s(1994));const A=i(s(3498));const a=s(5052);const c=s(5299);const l=s(6357);t.context=new o.Context;const u=A.getApiBaseUrl();t.defaults={baseUrl:u,request:{agent:A.getProxyAgent(u),fetch:A.getProxyFetch(u)}};t.GitHub=a.Octokit.plugin(c.restEndpointMethods,l.paginateRest).defaults(t.defaults);function getOctokitOptions(e,t){const s=Object.assign({},t||{});const r=A.getAuthString(e,s);if(r){s.auth=r}return s}t.getOctokitOptions=getOctokitOptions},6095:function(e,t){"use strict";var s=this&&this.__awaiter||function(e,t,s,r){function adopt(e){return e instanceof s?e:new s((function(t){t(e)}))}return new(s||(s=Promise))((function(s,n){function fulfilled(e){try{step(r.next(e))}catch(e){n(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){n(e)}}function step(e){e.done?s(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.PersonalAccessTokenCredentialHandler=t.BearerCredentialHandler=t.BasicCredentialHandler=void 0;class BasicCredentialHandler{constructor(e,t){this.username=e;this.password=t}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return s(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}t.BasicCredentialHandler=BasicCredentialHandler;class BearerCredentialHandler{constructor(e){this.token=e}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Bearer ${this.token}`}canHandleAuthentication(){return false}handleAuthentication(){return s(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}t.BearerCredentialHandler=BearerCredentialHandler;class PersonalAccessTokenCredentialHandler{constructor(e){this.token=e}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return s(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}t.PersonalAccessTokenCredentialHandler=PersonalAccessTokenCredentialHandler},9913:function(e,t,s){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;var n=Object.getOwnPropertyDescriptor(t,s);if(!n||("get"in n?!t.__esModule:n.writable||n.configurable)){n={enumerable:true,get:function(){return t[s]}}}Object.defineProperty(e,r,n)}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var s in e)if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s))r(t,e,s);n(t,e);return t};var o=this&&this.__awaiter||function(e,t,s,r){function adopt(e){return e instanceof s?e:new s((function(t){t(e)}))}return new(s||(s=Promise))((function(s,n){function fulfilled(e){try{step(r.next(e))}catch(e){n(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){n(e)}}function step(e){e.done?s(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.HttpClient=t.isHttps=t.HttpClientResponse=t.HttpClientError=t.getProxyUrl=t.MediaTypes=t.Headers=t.HttpCodes=void 0;const A=i(s(8611));const a=i(s(5692));const c=i(s(7793));const l=i(s(1479));const u=s(7370);var p;(function(e){e[e["OK"]=200]="OK";e[e["MultipleChoices"]=300]="MultipleChoices";e[e["MovedPermanently"]=301]="MovedPermanently";e[e["ResourceMoved"]=302]="ResourceMoved";e[e["SeeOther"]=303]="SeeOther";e[e["NotModified"]=304]="NotModified";e[e["UseProxy"]=305]="UseProxy";e[e["SwitchProxy"]=306]="SwitchProxy";e[e["TemporaryRedirect"]=307]="TemporaryRedirect";e[e["PermanentRedirect"]=308]="PermanentRedirect";e[e["BadRequest"]=400]="BadRequest";e[e["Unauthorized"]=401]="Unauthorized";e[e["PaymentRequired"]=402]="PaymentRequired";e[e["Forbidden"]=403]="Forbidden";e[e["NotFound"]=404]="NotFound";e[e["MethodNotAllowed"]=405]="MethodNotAllowed";e[e["NotAcceptable"]=406]="NotAcceptable";e[e["ProxyAuthenticationRequired"]=407]="ProxyAuthenticationRequired";e[e["RequestTimeout"]=408]="RequestTimeout";e[e["Conflict"]=409]="Conflict";e[e["Gone"]=410]="Gone";e[e["TooManyRequests"]=429]="TooManyRequests";e[e["InternalServerError"]=500]="InternalServerError";e[e["NotImplemented"]=501]="NotImplemented";e[e["BadGateway"]=502]="BadGateway";e[e["ServiceUnavailable"]=503]="ServiceUnavailable";e[e["GatewayTimeout"]=504]="GatewayTimeout"})(p||(t.HttpCodes=p={}));var d;(function(e){e["Accept"]="accept";e["ContentType"]="content-type"})(d||(t.Headers=d={}));var g;(function(e){e["ApplicationJson"]="application/json"})(g||(t.MediaTypes=g={}));function getProxyUrl(e){const t=c.getProxyUrl(new URL(e));return t?t.href:""}t.getProxyUrl=getProxyUrl;const h=[p.MovedPermanently,p.ResourceMoved,p.SeeOther,p.TemporaryRedirect,p.PermanentRedirect];const E=[p.BadGateway,p.ServiceUnavailable,p.GatewayTimeout];const m=["OPTIONS","GET","DELETE","HEAD"];const C=10;const B=5;class HttpClientError extends Error{constructor(e,t){super(e);this.name="HttpClientError";this.statusCode=t;Object.setPrototypeOf(this,HttpClientError.prototype)}}t.HttpClientError=HttpClientError;class HttpClientResponse{constructor(e){this.message=e}readBody(){return o(this,void 0,void 0,(function*(){return new Promise((e=>o(this,void 0,void 0,(function*(){let t=Buffer.alloc(0);this.message.on("data",(e=>{t=Buffer.concat([t,e])}));this.message.on("end",(()=>{e(t.toString())}))}))))}))}readBodyBuffer(){return o(this,void 0,void 0,(function*(){return new Promise((e=>o(this,void 0,void 0,(function*(){const t=[];this.message.on("data",(e=>{t.push(e)}));this.message.on("end",(()=>{e(Buffer.concat(t))}))}))))}))}}t.HttpClientResponse=HttpClientResponse;function isHttps(e){const t=new URL(e);return t.protocol==="https:"}t.isHttps=isHttps;class HttpClient{constructor(e,t,s){this._ignoreSslError=false;this._allowRedirects=true;this._allowRedirectDowngrade=false;this._maxRedirects=50;this._allowRetries=false;this._maxRetries=1;this._keepAlive=false;this._disposed=false;this.userAgent=e;this.handlers=t||[];this.requestOptions=s;if(s){if(s.ignoreSslError!=null){this._ignoreSslError=s.ignoreSslError}this._socketTimeout=s.socketTimeout;if(s.allowRedirects!=null){this._allowRedirects=s.allowRedirects}if(s.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=s.allowRedirectDowngrade}if(s.maxRedirects!=null){this._maxRedirects=Math.max(s.maxRedirects,0)}if(s.keepAlive!=null){this._keepAlive=s.keepAlive}if(s.allowRetries!=null){this._allowRetries=s.allowRetries}if(s.maxRetries!=null){this._maxRetries=s.maxRetries}}}options(e,t){return o(this,void 0,void 0,(function*(){return this.request("OPTIONS",e,null,t||{})}))}get(e,t){return o(this,void 0,void 0,(function*(){return this.request("GET",e,null,t||{})}))}del(e,t){return o(this,void 0,void 0,(function*(){return this.request("DELETE",e,null,t||{})}))}post(e,t,s){return o(this,void 0,void 0,(function*(){return this.request("POST",e,t,s||{})}))}patch(e,t,s){return o(this,void 0,void 0,(function*(){return this.request("PATCH",e,t,s||{})}))}put(e,t,s){return o(this,void 0,void 0,(function*(){return this.request("PUT",e,t,s||{})}))}head(e,t){return o(this,void 0,void 0,(function*(){return this.request("HEAD",e,null,t||{})}))}sendStream(e,t,s,r){return o(this,void 0,void 0,(function*(){return this.request(e,t,s,r)}))}getJson(e,t={}){return o(this,void 0,void 0,(function*(){t[d.Accept]=this._getExistingOrDefaultHeader(t,d.Accept,g.ApplicationJson);const s=yield this.get(e,t);return this._processResponse(s,this.requestOptions)}))}postJson(e,t,s={}){return o(this,void 0,void 0,(function*(){const r=JSON.stringify(t,null,2);s[d.Accept]=this._getExistingOrDefaultHeader(s,d.Accept,g.ApplicationJson);s[d.ContentType]=this._getExistingOrDefaultHeader(s,d.ContentType,g.ApplicationJson);const n=yield this.post(e,r,s);return this._processResponse(n,this.requestOptions)}))}putJson(e,t,s={}){return o(this,void 0,void 0,(function*(){const r=JSON.stringify(t,null,2);s[d.Accept]=this._getExistingOrDefaultHeader(s,d.Accept,g.ApplicationJson);s[d.ContentType]=this._getExistingOrDefaultHeader(s,d.ContentType,g.ApplicationJson);const n=yield this.put(e,r,s);return this._processResponse(n,this.requestOptions)}))}patchJson(e,t,s={}){return o(this,void 0,void 0,(function*(){const r=JSON.stringify(t,null,2);s[d.Accept]=this._getExistingOrDefaultHeader(s,d.Accept,g.ApplicationJson);s[d.ContentType]=this._getExistingOrDefaultHeader(s,d.ContentType,g.ApplicationJson);const n=yield this.patch(e,r,s);return this._processResponse(n,this.requestOptions)}))}request(e,t,s,r){return o(this,void 0,void 0,(function*(){if(this._disposed){throw new Error("Client has already been disposed.")}const n=new URL(t);let i=this._prepareRequest(e,n,r);const o=this._allowRetries&&m.includes(e)?this._maxRetries+1:1;let A=0;let a;do{a=yield this.requestRaw(i,s);if(a&&a.message&&a.message.statusCode===p.Unauthorized){let e;for(const t of this.handlers){if(t.canHandleAuthentication(a)){e=t;break}}if(e){return e.handleAuthentication(this,i,s)}else{return a}}let t=this._maxRedirects;while(a.message.statusCode&&h.includes(a.message.statusCode)&&this._allowRedirects&&t>0){const o=a.message.headers["location"];if(!o){break}const A=new URL(o);if(n.protocol==="https:"&&n.protocol!==A.protocol&&!this._allowRedirectDowngrade){throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.")}yield a.readBody();if(A.hostname!==n.hostname){for(const e in r){if(e.toLowerCase()==="authorization"){delete r[e]}}}i=this._prepareRequest(e,A,r);a=yield this.requestRaw(i,s);t--}if(!a.message.statusCode||!E.includes(a.message.statusCode)){return a}A+=1;if(A{function callbackForResult(e,t){if(e){r(e)}else if(!t){r(new Error("Unknown error"))}else{s(t)}}this.requestRawWithCallback(e,t,callbackForResult)}))}))}requestRawWithCallback(e,t,s){if(typeof t==="string"){if(!e.options.headers){e.options.headers={}}e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8")}let r=false;function handleResult(e,t){if(!r){r=true;s(e,t)}}const n=e.httpModule.request(e.options,(e=>{const t=new HttpClientResponse(e);handleResult(undefined,t)}));let i;n.on("socket",(e=>{i=e}));n.setTimeout(this._socketTimeout||3*6e4,(()=>{if(i){i.end()}handleResult(new Error(`Request timeout: ${e.options.path}`))}));n.on("error",(function(e){handleResult(e)}));if(t&&typeof t==="string"){n.write(t,"utf8")}if(t&&typeof t!=="string"){t.on("close",(function(){n.end()}));t.pipe(n)}else{n.end()}}getAgent(e){const t=new URL(e);return this._getAgent(t)}getAgentDispatcher(e){const t=new URL(e);const s=c.getProxyUrl(t);const r=s&&s.hostname;if(!r){return}return this._getProxyAgentDispatcher(t,s)}_prepareRequest(e,t,s){const r={};r.parsedUrl=t;const n=r.parsedUrl.protocol==="https:";r.httpModule=n?a:A;const i=n?443:80;r.options={};r.options.host=r.parsedUrl.hostname;r.options.port=r.parsedUrl.port?parseInt(r.parsedUrl.port):i;r.options.path=(r.parsedUrl.pathname||"")+(r.parsedUrl.search||"");r.options.method=e;r.options.headers=this._mergeHeaders(s);if(this.userAgent!=null){r.options.headers["user-agent"]=this.userAgent}r.options.agent=this._getAgent(r.parsedUrl);if(this.handlers){for(const e of this.handlers){e.prepareRequest(r.options)}}return r}_mergeHeaders(e){if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(e||{}))}return lowercaseKeys(e||{})}_getExistingOrDefaultHeader(e,t,s){let r;if(this.requestOptions&&this.requestOptions.headers){r=lowercaseKeys(this.requestOptions.headers)[t]}return e[t]||r||s}_getAgent(e){let t;const s=c.getProxyUrl(e);const r=s&&s.hostname;if(this._keepAlive&&r){t=this._proxyAgent}if(this._keepAlive&&!r){t=this._agent}if(t){return t}const n=e.protocol==="https:";let i=100;if(this.requestOptions){i=this.requestOptions.maxSockets||A.globalAgent.maxSockets}if(s&&s.hostname){const e={maxSockets:i,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(s.username||s.password)&&{proxyAuth:`${s.username}:${s.password}`}),{host:s.hostname,port:s.port})};let r;const o=s.protocol==="https:";if(n){r=o?l.httpsOverHttps:l.httpsOverHttp}else{r=o?l.httpOverHttps:l.httpOverHttp}t=r(e);this._proxyAgent=t}if(this._keepAlive&&!t){const e={keepAlive:this._keepAlive,maxSockets:i};t=n?new a.Agent(e):new A.Agent(e);this._agent=t}if(!t){t=n?a.globalAgent:A.globalAgent}if(n&&this._ignoreSslError){t.options=Object.assign(t.options||{},{rejectUnauthorized:false})}return t}_getProxyAgentDispatcher(e,t){let s;if(this._keepAlive){s=this._proxyAgentDispatcher}if(s){return s}const r=e.protocol==="https:";s=new u.ProxyAgent(Object.assign({uri:t.href,pipelining:!this._keepAlive?0:1},(t.username||t.password)&&{token:`${t.username}:${t.password}`}));this._proxyAgentDispatcher=s;if(r&&this._ignoreSslError){s.options=Object.assign(s.options.requestTls||{},{rejectUnauthorized:false})}return s}_performExponentialBackoff(e){return o(this,void 0,void 0,(function*(){e=Math.min(C,e);const t=B*Math.pow(2,e);return new Promise((e=>setTimeout((()=>e()),t)))}))}_processResponse(e,t){return o(this,void 0,void 0,(function*(){return new Promise(((s,r)=>o(this,void 0,void 0,(function*(){const n=e.message.statusCode||0;const i={statusCode:n,result:null,headers:{}};if(n===p.NotFound){s(i)}function dateTimeDeserializer(e,t){if(typeof t==="string"){const e=new Date(t);if(!isNaN(e.valueOf())){return e}}return t}let o;let A;try{A=yield e.readBody();if(A&&A.length>0){if(t&&t.deserializeDates){o=JSON.parse(A,dateTimeDeserializer)}else{o=JSON.parse(A)}i.result=o}i.headers=e.message.headers}catch(e){}if(n>299){let e;if(o&&o.message){e=o.message}else if(A&&A.length>0){e=A}else{e=`Failed request: (${n})`}const t=new HttpClientError(e,n);t.result=i.result;r(t)}else{s(i)}}))))}))}}t.HttpClient=HttpClient;const lowercaseKeys=e=>Object.keys(e).reduce(((t,s)=>(t[s.toLowerCase()]=e[s],t)),{})},7793:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.checkBypass=t.getProxyUrl=void 0;function getProxyUrl(e){const t=e.protocol==="https:";if(checkBypass(e)){return undefined}const s=(()=>{if(t){return process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{return process.env["http_proxy"]||process.env["HTTP_PROXY"]}})();if(s){try{return new URL(s)}catch(e){if(!s.startsWith("http://")&&!s.startsWith("https://"))return new URL(`http://${s}`)}}else{return undefined}}t.getProxyUrl=getProxyUrl;function checkBypass(e){if(!e.hostname){return false}const t=e.hostname;if(isLoopbackAddress(t)){return true}const s=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!s){return false}let r;if(e.port){r=Number(e.port)}else if(e.protocol==="http:"){r=80}else if(e.protocol==="https:"){r=443}const n=[e.hostname.toUpperCase()];if(typeof r==="number"){n.push(`${n[0]}:${r}`)}for(const e of s.split(",").map((e=>e.trim().toUpperCase())).filter((e=>e))){if(e==="*"||n.some((t=>t===e||t.endsWith(`.${e}`)||e.startsWith(".")&&t.endsWith(`${e}`)))){return true}}return false}t.checkBypass=checkBypass;function isLoopbackAddress(e){const t=e.toLowerCase();return t==="localhost"||t.startsWith("127.")||t.startsWith("[::1]")||t.startsWith("[0:0:0:0:0:0:0:1]")}},1349:function(e,t,s){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[s]}})}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var s in e)if(s!=="default"&&Object.hasOwnProperty.call(e,s))r(t,e,s);n(t,e);return t};var o=this&&this.__awaiter||function(e,t,s,r){function adopt(e){return e instanceof s?e:new s((function(t){t(e)}))}return new(s||(s=Promise))((function(s,n){function fulfilled(e){try{step(r.next(e))}catch(e){n(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){n(e)}}function step(e){e.done?s(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())}))};var A;Object.defineProperty(t,"__esModule",{value:true});t.getCmdPath=t.tryGetExecutablePath=t.isRooted=t.isDirectory=t.exists=t.READONLY=t.UV_FS_O_EXLOCK=t.IS_WINDOWS=t.unlink=t.symlink=t.stat=t.rmdir=t.rm=t.rename=t.readlink=t.readdir=t.open=t.mkdir=t.lstat=t.copyFile=t.chmod=void 0;const a=i(s(9896));const c=i(s(6928));A=a.promises,t.chmod=A.chmod,t.copyFile=A.copyFile,t.lstat=A.lstat,t.mkdir=A.mkdir,t.open=A.open,t.readdir=A.readdir,t.readlink=A.readlink,t.rename=A.rename,t.rm=A.rm,t.rmdir=A.rmdir,t.stat=A.stat,t.symlink=A.symlink,t.unlink=A.unlink;t.IS_WINDOWS=process.platform==="win32";t.UV_FS_O_EXLOCK=268435456;t.READONLY=a.constants.O_RDONLY;function exists(e){return o(this,void 0,void 0,(function*(){try{yield t.stat(e)}catch(e){if(e.code==="ENOENT"){return false}throw e}return true}))}t.exists=exists;function isDirectory(e,s=false){return o(this,void 0,void 0,(function*(){const r=s?yield t.stat(e):yield t.lstat(e);return r.isDirectory()}))}t.isDirectory=isDirectory;function isRooted(e){e=normalizeSeparators(e);if(!e){throw new Error('isRooted() parameter "p" cannot be empty')}if(t.IS_WINDOWS){return e.startsWith("\\")||/^[A-Z]:/i.test(e)}return e.startsWith("/")}t.isRooted=isRooted;function tryGetExecutablePath(e,s){return o(this,void 0,void 0,(function*(){let r=undefined;try{r=yield t.stat(e)}catch(t){if(t.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}}if(r&&r.isFile()){if(t.IS_WINDOWS){const t=c.extname(e).toUpperCase();if(s.some((e=>e.toUpperCase()===t))){return e}}else{if(isUnixExecutable(r)){return e}}}const n=e;for(const i of s){e=n+i;r=undefined;try{r=yield t.stat(e)}catch(t){if(t.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}}if(r&&r.isFile()){if(t.IS_WINDOWS){try{const s=c.dirname(e);const r=c.basename(e).toUpperCase();for(const n of yield t.readdir(s)){if(r===n.toUpperCase()){e=c.join(s,n);break}}}catch(t){console.log(`Unexpected error attempting to determine the actual case of the file '${e}': ${t}`)}return e}else{if(isUnixExecutable(r)){return e}}}}return""}))}t.tryGetExecutablePath=tryGetExecutablePath;function normalizeSeparators(e){e=e||"";if(t.IS_WINDOWS){e=e.replace(/\//g,"\\");return e.replace(/\\\\+/g,"\\")}return e.replace(/\/\/+/g,"/")}function isUnixExecutable(e){return(e.mode&1)>0||(e.mode&8)>0&&e.gid===process.getgid()||(e.mode&64)>0&&e.uid===process.getuid()}function getCmdPath(){var e;return(e=process.env["COMSPEC"])!==null&&e!==void 0?e:`cmd.exe`}t.getCmdPath=getCmdPath},404:function(e,t,s){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[s]}})}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var s in e)if(s!=="default"&&Object.hasOwnProperty.call(e,s))r(t,e,s);n(t,e);return t};var o=this&&this.__awaiter||function(e,t,s,r){function adopt(e){return e instanceof s?e:new s((function(t){t(e)}))}return new(s||(s=Promise))((function(s,n){function fulfilled(e){try{step(r.next(e))}catch(e){n(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){n(e)}}function step(e){e.done?s(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.findInPath=t.which=t.mkdirP=t.rmRF=t.mv=t.cp=void 0;const A=s(2613);const a=i(s(6928));const c=i(s(1349));function cp(e,t,s={}){return o(this,void 0,void 0,(function*(){const{force:r,recursive:n,copySourceDirectory:i}=readCopyOptions(s);const o=(yield c.exists(t))?yield c.stat(t):null;if(o&&o.isFile()&&!r){return}const A=o&&o.isDirectory()&&i?a.join(t,a.basename(e)):t;if(!(yield c.exists(e))){throw new Error(`no such file or directory: ${e}`)}const l=yield c.stat(e);if(l.isDirectory()){if(!n){throw new Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`)}else{yield cpDirRecursive(e,A,0,r)}}else{if(a.relative(e,A)===""){throw new Error(`'${A}' and '${e}' are the same file`)}yield copyFile(e,A,r)}}))}t.cp=cp;function mv(e,t,s={}){return o(this,void 0,void 0,(function*(){if(yield c.exists(t)){let r=true;if(yield c.isDirectory(t)){t=a.join(t,a.basename(e));r=yield c.exists(t)}if(r){if(s.force==null||s.force){yield rmRF(t)}else{throw new Error("Destination already exists")}}}yield mkdirP(a.dirname(t));yield c.rename(e,t)}))}t.mv=mv;function rmRF(e){return o(this,void 0,void 0,(function*(){if(c.IS_WINDOWS){if(/[*"<>|]/.test(e)){throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows')}}try{yield c.rm(e,{force:true,maxRetries:3,recursive:true,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}}))}t.rmRF=rmRF;function mkdirP(e){return o(this,void 0,void 0,(function*(){A.ok(e,"a path argument must be provided");yield c.mkdir(e,{recursive:true})}))}t.mkdirP=mkdirP;function which(e,t){return o(this,void 0,void 0,(function*(){if(!e){throw new Error("parameter 'tool' is required")}if(t){const t=yield which(e,false);if(!t){if(c.IS_WINDOWS){throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`)}else{throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`)}}return t}const s=yield findInPath(e);if(s&&s.length>0){return s[0]}return""}))}t.which=which;function findInPath(e){return o(this,void 0,void 0,(function*(){if(!e){throw new Error("parameter 'tool' is required")}const t=[];if(c.IS_WINDOWS&&process.env["PATHEXT"]){for(const e of process.env["PATHEXT"].split(a.delimiter)){if(e){t.push(e)}}}if(c.isRooted(e)){const s=yield c.tryGetExecutablePath(e,t);if(s){return[s]}return[]}if(e.includes(a.sep)){return[]}const s=[];if(process.env.PATH){for(const e of process.env.PATH.split(a.delimiter)){if(e){s.push(e)}}}const r=[];for(const n of s){const s=yield c.tryGetExecutablePath(a.join(n,e),t);if(s){r.push(s)}}return r}))}t.findInPath=findInPath;function readCopyOptions(e){const t=e.force==null?true:e.force;const s=Boolean(e.recursive);const r=e.copySourceDirectory==null?true:Boolean(e.copySourceDirectory);return{force:t,recursive:s,copySourceDirectory:r}}function cpDirRecursive(e,t,s,r){return o(this,void 0,void 0,(function*(){if(s>=255)return;s++;yield mkdirP(t);const n=yield c.readdir(e);for(const i of n){const n=`${e}/${i}`;const o=`${t}/${i}`;const A=yield c.lstat(n);if(A.isDirectory()){yield cpDirRecursive(n,o,s,r)}else{yield copyFile(n,o,r)}}yield c.chmod(t,(yield c.stat(e)).mode)}))}function copyFile(e,t,s){return o(this,void 0,void 0,(function*(){if((yield c.lstat(e)).isSymbolicLink()){try{yield c.lstat(t);yield c.unlink(t)}catch(e){if(e.code==="EPERM"){yield c.chmod(t,"0666");yield c.unlink(t)}}const s=yield c.readlink(e);yield c.symlink(s,t,c.IS_WINDOWS?"junction":null)}else if(!(yield c.exists(t))||s){yield c.copyFile(e,t)}}))}},8425:e=>{"use strict";var t=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var n=Object.prototype.hasOwnProperty;var __export=(e,s)=>{for(var r in s)t(e,r,{get:s[r],enumerable:true})};var __copyProps=(e,i,o,A)=>{if(i&&typeof i==="object"||typeof i==="function"){for(let a of r(i))if(!n.call(e,a)&&a!==o)t(e,a,{get:()=>i[a],enumerable:!(A=s(i,a))||A.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var i={};__export(i,{createTokenAuth:()=>c});e.exports=__toCommonJS(i);var o=/^v1\./;var A=/^ghs_/;var a=/^ghu_/;async function auth(e){const t=e.split(/\./).length===3;const s=o.test(e)||A.test(e);const r=a.test(e);const n=t?"app":s?"installation":r?"user-to-server":"oauth";return{type:"token",token:e,tokenType:n}}function withAuthorizationPrefix(e){if(e.split(/\./).length===3){return`bearer ${e}`}return`token ${e}`}async function hook(e,t,s,r){const n=t.endpoint.merge(s,r);n.headers.authorization=withAuthorizationPrefix(e);return t(n)}var c=function createTokenAuth2(e){if(!e){throw new Error("[@octokit/auth-token] No token passed to createTokenAuth")}if(typeof e!=="string"){throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string")}e=e.replace(/^(token|bearer) +/i,"");return Object.assign(auth.bind(null,e),{hook:hook.bind(null,e)})};0&&0},5052:(e,t,s)=>{"use strict";var r=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var __export=(e,t)=>{for(var s in t)r(e,s,{get:t[s],enumerable:true})};var __copyProps=(e,t,s,A)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let a of i(t))if(!o.call(e,a)&&a!==s)r(e,a,{get:()=>t[a],enumerable:!(A=n(t,a))||A.enumerable})}return e};var __toCommonJS=e=>__copyProps(r({},"__esModule",{value:true}),e);var A={};__export(A,{Octokit:()=>m});e.exports=__toCommonJS(A);var a=s(4279);var c=s(2414);var l=s(1696);var u=s(9238);var p=s(8425);var d="5.0.2";var noop=()=>{};var g=console.warn.bind(console);var h=console.error.bind(console);var E=`octokit-core.js/${d} ${(0,a.getUserAgent)()}`;var m=class{static{this.VERSION=d}static defaults(e){const t=class extends(this){constructor(...t){const s=t[0]||{};if(typeof e==="function"){super(e(s));return}super(Object.assign({},e,s,s.userAgent&&e.userAgent?{userAgent:`${s.userAgent} ${e.userAgent}`}:null))}};return t}static{this.plugins=[]}static plugin(...e){const t=this.plugins;const s=class extends(this){static{this.plugins=t.concat(e.filter((e=>!t.includes(e))))}};return s}constructor(e={}){const t=new c.Collection;const s={baseUrl:l.request.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},e.request,{hook:t.bind(null,"request")}),mediaType:{previews:[],format:""}};s.headers["user-agent"]=e.userAgent?`${e.userAgent} ${E}`:E;if(e.baseUrl){s.baseUrl=e.baseUrl}if(e.previews){s.mediaType.previews=e.previews}if(e.timeZone){s.headers["time-zone"]=e.timeZone}this.request=l.request.defaults(s);this.graphql=(0,u.withCustomRequest)(this.request).defaults(s);this.log=Object.assign({debug:noop,info:noop,warn:g,error:h},e.log);this.hook=t;if(!e.authStrategy){if(!e.auth){this.auth=async()=>({type:"unauthenticated"})}else{const s=(0,p.createTokenAuth)(e.auth);t.wrap("request",s.hook);this.auth=s}}else{const{authStrategy:s,...r}=e;const n=s(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:r},e.auth));t.wrap("request",n.hook);this.auth=n}const r=this.constructor;for(let t=0;t{"use strict";var r=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var __export=(e,t)=>{for(var s in t)r(e,s,{get:t[s],enumerable:true})};var __copyProps=(e,t,s,A)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let a of i(t))if(!o.call(e,a)&&a!==s)r(e,a,{get:()=>t[a],enumerable:!(A=n(t,a))||A.enumerable})}return e};var __toCommonJS=e=>__copyProps(r({},"__esModule",{value:true}),e);var A={};__export(A,{endpoint:()=>d});e.exports=__toCommonJS(A);var a=s(4279);var c="9.0.4";var l=`octokit-endpoint.js/${c} ${(0,a.getUserAgent)()}`;var u={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":l},mediaType:{format:""}};function lowercaseKeys(e){if(!e){return{}}return Object.keys(e).reduce(((t,s)=>{t[s.toLowerCase()]=e[s];return t}),{})}function isPlainObject(e){if(typeof e!=="object"||e===null)return false;if(Object.prototype.toString.call(e)!=="[object Object]")return false;const t=Object.getPrototypeOf(e);if(t===null)return true;const s=Object.prototype.hasOwnProperty.call(t,"constructor")&&t.constructor;return typeof s==="function"&&s instanceof s&&Function.prototype.call(s)===Function.prototype.call(e)}function mergeDeep(e,t){const s=Object.assign({},e);Object.keys(t).forEach((r=>{if(isPlainObject(t[r])){if(!(r in e))Object.assign(s,{[r]:t[r]});else s[r]=mergeDeep(e[r],t[r])}else{Object.assign(s,{[r]:t[r]})}}));return s}function removeUndefinedProperties(e){for(const t in e){if(e[t]===void 0){delete e[t]}}return e}function merge(e,t,s){if(typeof t==="string"){let[e,r]=t.split(" ");s=Object.assign(r?{method:e,url:r}:{url:e},s)}else{s=Object.assign({},t)}s.headers=lowercaseKeys(s.headers);removeUndefinedProperties(s);removeUndefinedProperties(s.headers);const r=mergeDeep(e||{},s);if(s.url==="/graphql"){if(e&&e.mediaType.previews?.length){r.mediaType.previews=e.mediaType.previews.filter((e=>!r.mediaType.previews.includes(e))).concat(r.mediaType.previews)}r.mediaType.previews=(r.mediaType.previews||[]).map((e=>e.replace(/-preview/,"")))}return r}function addQueryParameters(e,t){const s=/\?/.test(e)?"&":"?";const r=Object.keys(t);if(r.length===0){return e}return e+s+r.map((e=>{if(e==="q"){return"q="+t.q.split("+").map(encodeURIComponent).join("+")}return`${e}=${encodeURIComponent(t[e])}`})).join("&")}var p=/\{[^}]+\}/g;function removeNonChars(e){return e.replace(/^\W+|\W+$/g,"").split(/,/)}function extractUrlVariableNames(e){const t=e.match(p);if(!t){return[]}return t.map(removeNonChars).reduce(((e,t)=>e.concat(t)),[])}function omit(e,t){const s={__proto__:null};for(const r of Object.keys(e)){if(t.indexOf(r)===-1){s[r]=e[r]}}return s}function encodeReserved(e){return e.split(/(%[0-9A-Fa-f]{2})/g).map((function(e){if(!/%[0-9A-Fa-f]/.test(e)){e=encodeURI(e).replace(/%5B/g,"[").replace(/%5D/g,"]")}return e})).join("")}function encodeUnreserved(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function encodeValue(e,t,s){t=e==="+"||e==="#"?encodeReserved(t):encodeUnreserved(t);if(s){return encodeUnreserved(s)+"="+t}else{return t}}function isDefined(e){return e!==void 0&&e!==null}function isKeyOperator(e){return e===";"||e==="&"||e==="?"}function getValues(e,t,s,r){var n=e[s],i=[];if(isDefined(n)&&n!==""){if(typeof n==="string"||typeof n==="number"||typeof n==="boolean"){n=n.toString();if(r&&r!=="*"){n=n.substring(0,parseInt(r,10))}i.push(encodeValue(t,n,isKeyOperator(t)?s:""))}else{if(r==="*"){if(Array.isArray(n)){n.filter(isDefined).forEach((function(e){i.push(encodeValue(t,e,isKeyOperator(t)?s:""))}))}else{Object.keys(n).forEach((function(e){if(isDefined(n[e])){i.push(encodeValue(t,n[e],e))}}))}}else{const e=[];if(Array.isArray(n)){n.filter(isDefined).forEach((function(s){e.push(encodeValue(t,s))}))}else{Object.keys(n).forEach((function(s){if(isDefined(n[s])){e.push(encodeUnreserved(s));e.push(encodeValue(t,n[s].toString()))}}))}if(isKeyOperator(t)){i.push(encodeUnreserved(s)+"="+e.join(","))}else if(e.length!==0){i.push(e.join(","))}}}}else{if(t===";"){if(isDefined(n)){i.push(encodeUnreserved(s))}}else if(n===""&&(t==="&"||t==="?")){i.push(encodeUnreserved(s)+"=")}else if(n===""){i.push("")}}return i}function parseUrl(e){return{expand:expand.bind(null,e)}}function expand(e,t){var s=["+","#",".","/",";","?","&"];e=e.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,(function(e,r,n){if(r){let e="";const n=[];if(s.indexOf(r.charAt(0))!==-1){e=r.charAt(0);r=r.substr(1)}r.split(/,/g).forEach((function(s){var r=/([^:\*]*)(?::(\d+)|(\*))?/.exec(s);n.push(getValues(t,e,r[1],r[2]||r[3]))}));if(e&&e!=="+"){var i=",";if(e==="?"){i="&"}else if(e!=="#"){i=e}return(n.length!==0?e:"")+n.join(i)}else{return n.join(",")}}else{return encodeReserved(n)}}));if(e==="/"){return e}else{return e.replace(/\/$/,"")}}function parse(e){let t=e.method.toUpperCase();let s=(e.url||"/").replace(/:([a-z]\w+)/g,"{$1}");let r=Object.assign({},e.headers);let n;let i=omit(e,["method","baseUrl","url","headers","request","mediaType"]);const o=extractUrlVariableNames(s);s=parseUrl(s).expand(i);if(!/^http/.test(s)){s=e.baseUrl+s}const A=Object.keys(e).filter((e=>o.includes(e))).concat("baseUrl");const a=omit(i,A);const c=/application\/octet-stream/i.test(r.accept);if(!c){if(e.mediaType.format){r.accept=r.accept.split(/,/).map((t=>t.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${e.mediaType.format}`))).join(",")}if(s.endsWith("/graphql")){if(e.mediaType.previews?.length){const t=r.accept.match(/[\w-]+(?=-preview)/g)||[];r.accept=t.concat(e.mediaType.previews).map((t=>{const s=e.mediaType.format?`.${e.mediaType.format}`:"+json";return`application/vnd.github.${t}-preview${s}`})).join(",")}}}if(["GET","HEAD"].includes(t)){s=addQueryParameters(s,a)}else{if("data"in a){n=a.data}else{if(Object.keys(a).length){n=a}}}if(!r["content-type"]&&typeof n!=="undefined"){r["content-type"]="application/json; charset=utf-8"}if(["PATCH","PUT"].includes(t)&&typeof n==="undefined"){n=""}return Object.assign({method:t,url:s,headers:r},typeof n!=="undefined"?{body:n}:null,e.request?{request:e.request}:null)}function endpointWithDefaults(e,t,s){return parse(merge(e,t,s))}function withDefaults(e,t){const s=merge(e,t);const r=endpointWithDefaults.bind(null,s);return Object.assign(r,{DEFAULTS:s,defaults:withDefaults.bind(null,s),merge:merge.bind(null,s),parse:parse})}var d=withDefaults(null,u);0&&0},9238:(e,t,s)=>{"use strict";var r=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var __export=(e,t)=>{for(var s in t)r(e,s,{get:t[s],enumerable:true})};var __copyProps=(e,t,s,A)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let a of i(t))if(!o.call(e,a)&&a!==s)r(e,a,{get:()=>t[a],enumerable:!(A=n(t,a))||A.enumerable})}return e};var __toCommonJS=e=>__copyProps(r({},"__esModule",{value:true}),e);var A={};__export(A,{GraphqlResponseError:()=>d,graphql:()=>m,withCustomRequest:()=>withCustomRequest});e.exports=__toCommonJS(A);var a=s(1696);var c=s(4279);var l="7.0.2";var u=s(1696);var p=s(1696);function _buildMessageForResponseErrors(e){return`Request failed due to following response errors:\n`+e.errors.map((e=>` - ${e.message}`)).join("\n")}var d=class extends Error{constructor(e,t,s){super(_buildMessageForResponseErrors(s));this.request=e;this.headers=t;this.response=s;this.name="GraphqlResponseError";this.errors=s.errors;this.data=s.data;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}};var g=["method","baseUrl","url","headers","request","query","mediaType"];var h=["query","method","url"];var E=/\/api\/v3\/?$/;function graphql(e,t,s){if(s){if(typeof t==="string"&&"query"in s){return Promise.reject(new Error(`[@octokit/graphql] "query" cannot be used as variable name`))}for(const e in s){if(!h.includes(e))continue;return Promise.reject(new Error(`[@octokit/graphql] "${e}" cannot be used as variable name`))}}const r=typeof t==="string"?Object.assign({query:t},s):t;const n=Object.keys(r).reduce(((e,t)=>{if(g.includes(t)){e[t]=r[t];return e}if(!e.variables){e.variables={}}e.variables[t]=r[t];return e}),{});const i=r.baseUrl||e.endpoint.DEFAULTS.baseUrl;if(E.test(i)){n.url=i.replace(E,"/api/graphql")}return e(n).then((e=>{if(e.data.errors){const t={};for(const s of Object.keys(e.headers)){t[s]=e.headers[s]}throw new d(n,t,e.data)}return e.data.data}))}function withDefaults(e,t){const s=e.defaults(t);const newApi=(e,t)=>graphql(s,e,t);return Object.assign(newApi,{defaults:withDefaults.bind(null,s),endpoint:s.endpoint})}var m=withDefaults(a.request,{headers:{"user-agent":`octokit-graphql.js/${l} ${(0,c.getUserAgent)()}`},method:"POST",url:"/graphql"});function withCustomRequest(e){return withDefaults(e,{method:"POST",url:"/graphql"})}0&&0},6357:e=>{"use strict";var t=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var n=Object.prototype.hasOwnProperty;var __export=(e,s)=>{for(var r in s)t(e,r,{get:s[r],enumerable:true})};var __copyProps=(e,i,o,A)=>{if(i&&typeof i==="object"||typeof i==="function"){for(let a of r(i))if(!n.call(e,a)&&a!==o)t(e,a,{get:()=>i[a],enumerable:!(A=s(i,a))||A.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var i={};__export(i,{composePaginateRest:()=>A,isPaginatingEndpoint:()=>isPaginatingEndpoint,paginateRest:()=>paginateRest,paginatingEndpoints:()=>a});e.exports=__toCommonJS(i);var o="9.1.5";function normalizePaginatedListResponse(e){if(!e.data){return{...e,data:[]}}const t="total_count"in e.data&&!("url"in e.data);if(!t)return e;const s=e.data.incomplete_results;const r=e.data.repository_selection;const n=e.data.total_count;delete e.data.incomplete_results;delete e.data.repository_selection;delete e.data.total_count;const i=Object.keys(e.data)[0];const o=e.data[i];e.data=o;if(typeof s!=="undefined"){e.data.incomplete_results=s}if(typeof r!=="undefined"){e.data.repository_selection=r}e.data.total_count=n;return e}function iterator(e,t,s){const r=typeof t==="function"?t.endpoint(s):e.request.endpoint(t,s);const n=typeof t==="function"?t:e.request;const i=r.method;const o=r.headers;let A=r.url;return{[Symbol.asyncIterator]:()=>({async next(){if(!A)return{done:true};try{const e=await n({method:i,url:A,headers:o});const t=normalizePaginatedListResponse(e);A=((t.headers.link||"").match(/<([^>]+)>;\s*rel="next"/)||[])[1];return{value:t}}catch(e){if(e.status!==409)throw e;A="";return{value:{status:200,headers:{},data:[]}}}}})}}function paginate(e,t,s,r){if(typeof s==="function"){r=s;s=void 0}return gather(e,[],iterator(e,t,s)[Symbol.asyncIterator](),r)}function gather(e,t,s,r){return s.next().then((n=>{if(n.done){return t}let i=false;function done(){i=true}t=t.concat(r?r(n.value,done):n.value.data);if(i){return t}return gather(e,t,s,r)}))}var A=Object.assign(paginate,{iterator:iterator});var a=["GET /advisories","GET /app/hook/deliveries","GET /app/installation-requests","GET /app/installations","GET /assignments/{assignment_id}/accepted_assignments","GET /classrooms","GET /classrooms/{classroom_id}/assignments","GET /enterprises/{enterprise}/dependabot/alerts","GET /enterprises/{enterprise}/secret-scanning/alerts","GET /events","GET /gists","GET /gists/public","GET /gists/starred","GET /gists/{gist_id}/comments","GET /gists/{gist_id}/commits","GET /gists/{gist_id}/forks","GET /installation/repositories","GET /issues","GET /licenses","GET /marketplace_listing/plans","GET /marketplace_listing/plans/{plan_id}/accounts","GET /marketplace_listing/stubbed/plans","GET /marketplace_listing/stubbed/plans/{plan_id}/accounts","GET /networks/{owner}/{repo}/events","GET /notifications","GET /organizations","GET /orgs/{org}/actions/cache/usage-by-repository","GET /orgs/{org}/actions/permissions/repositories","GET /orgs/{org}/actions/runners","GET /orgs/{org}/actions/secrets","GET /orgs/{org}/actions/secrets/{secret_name}/repositories","GET /orgs/{org}/actions/variables","GET /orgs/{org}/actions/variables/{name}/repositories","GET /orgs/{org}/blocks","GET /orgs/{org}/code-scanning/alerts","GET /orgs/{org}/codespaces","GET /orgs/{org}/codespaces/secrets","GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories","GET /orgs/{org}/copilot/billing/seats","GET /orgs/{org}/dependabot/alerts","GET /orgs/{org}/dependabot/secrets","GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories","GET /orgs/{org}/events","GET /orgs/{org}/failed_invitations","GET /orgs/{org}/hooks","GET /orgs/{org}/hooks/{hook_id}/deliveries","GET /orgs/{org}/installations","GET /orgs/{org}/invitations","GET /orgs/{org}/invitations/{invitation_id}/teams","GET /orgs/{org}/issues","GET /orgs/{org}/members","GET /orgs/{org}/members/{username}/codespaces","GET /orgs/{org}/migrations","GET /orgs/{org}/migrations/{migration_id}/repositories","GET /orgs/{org}/outside_collaborators","GET /orgs/{org}/packages","GET /orgs/{org}/packages/{package_type}/{package_name}/versions","GET /orgs/{org}/personal-access-token-requests","GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories","GET /orgs/{org}/personal-access-tokens","GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories","GET /orgs/{org}/projects","GET /orgs/{org}/properties/values","GET /orgs/{org}/public_members","GET /orgs/{org}/repos","GET /orgs/{org}/rulesets","GET /orgs/{org}/rulesets/rule-suites","GET /orgs/{org}/secret-scanning/alerts","GET /orgs/{org}/security-advisories","GET /orgs/{org}/teams","GET /orgs/{org}/teams/{team_slug}/discussions","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions","GET /orgs/{org}/teams/{team_slug}/invitations","GET /orgs/{org}/teams/{team_slug}/members","GET /orgs/{org}/teams/{team_slug}/projects","GET /orgs/{org}/teams/{team_slug}/repos","GET /orgs/{org}/teams/{team_slug}/teams","GET /projects/columns/{column_id}/cards","GET /projects/{project_id}/collaborators","GET /projects/{project_id}/columns","GET /repos/{owner}/{repo}/actions/artifacts","GET /repos/{owner}/{repo}/actions/caches","GET /repos/{owner}/{repo}/actions/organization-secrets","GET /repos/{owner}/{repo}/actions/organization-variables","GET /repos/{owner}/{repo}/actions/runners","GET /repos/{owner}/{repo}/actions/runs","GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts","GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs","GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs","GET /repos/{owner}/{repo}/actions/secrets","GET /repos/{owner}/{repo}/actions/variables","GET /repos/{owner}/{repo}/actions/workflows","GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs","GET /repos/{owner}/{repo}/activity","GET /repos/{owner}/{repo}/assignees","GET /repos/{owner}/{repo}/branches","GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations","GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs","GET /repos/{owner}/{repo}/code-scanning/alerts","GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances","GET /repos/{owner}/{repo}/code-scanning/analyses","GET /repos/{owner}/{repo}/codespaces","GET /repos/{owner}/{repo}/codespaces/devcontainers","GET /repos/{owner}/{repo}/codespaces/secrets","GET /repos/{owner}/{repo}/collaborators","GET /repos/{owner}/{repo}/comments","GET /repos/{owner}/{repo}/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/commits","GET /repos/{owner}/{repo}/commits/{commit_sha}/comments","GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls","GET /repos/{owner}/{repo}/commits/{ref}/check-runs","GET /repos/{owner}/{repo}/commits/{ref}/check-suites","GET /repos/{owner}/{repo}/commits/{ref}/status","GET /repos/{owner}/{repo}/commits/{ref}/statuses","GET /repos/{owner}/{repo}/contributors","GET /repos/{owner}/{repo}/dependabot/alerts","GET /repos/{owner}/{repo}/dependabot/secrets","GET /repos/{owner}/{repo}/deployments","GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses","GET /repos/{owner}/{repo}/environments","GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies","GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps","GET /repos/{owner}/{repo}/events","GET /repos/{owner}/{repo}/forks","GET /repos/{owner}/{repo}/hooks","GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries","GET /repos/{owner}/{repo}/invitations","GET /repos/{owner}/{repo}/issues","GET /repos/{owner}/{repo}/issues/comments","GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/issues/events","GET /repos/{owner}/{repo}/issues/{issue_number}/comments","GET /repos/{owner}/{repo}/issues/{issue_number}/events","GET /repos/{owner}/{repo}/issues/{issue_number}/labels","GET /repos/{owner}/{repo}/issues/{issue_number}/reactions","GET /repos/{owner}/{repo}/issues/{issue_number}/timeline","GET /repos/{owner}/{repo}/keys","GET /repos/{owner}/{repo}/labels","GET /repos/{owner}/{repo}/milestones","GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels","GET /repos/{owner}/{repo}/notifications","GET /repos/{owner}/{repo}/pages/builds","GET /repos/{owner}/{repo}/projects","GET /repos/{owner}/{repo}/pulls","GET /repos/{owner}/{repo}/pulls/comments","GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/pulls/{pull_number}/comments","GET /repos/{owner}/{repo}/pulls/{pull_number}/commits","GET /repos/{owner}/{repo}/pulls/{pull_number}/files","GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews","GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments","GET /repos/{owner}/{repo}/releases","GET /repos/{owner}/{repo}/releases/{release_id}/assets","GET /repos/{owner}/{repo}/releases/{release_id}/reactions","GET /repos/{owner}/{repo}/rules/branches/{branch}","GET /repos/{owner}/{repo}/rulesets","GET /repos/{owner}/{repo}/rulesets/rule-suites","GET /repos/{owner}/{repo}/secret-scanning/alerts","GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations","GET /repos/{owner}/{repo}/security-advisories","GET /repos/{owner}/{repo}/stargazers","GET /repos/{owner}/{repo}/subscribers","GET /repos/{owner}/{repo}/tags","GET /repos/{owner}/{repo}/teams","GET /repos/{owner}/{repo}/topics","GET /repositories","GET /repositories/{repository_id}/environments/{environment_name}/secrets","GET /repositories/{repository_id}/environments/{environment_name}/variables","GET /search/code","GET /search/commits","GET /search/issues","GET /search/labels","GET /search/repositories","GET /search/topics","GET /search/users","GET /teams/{team_id}/discussions","GET /teams/{team_id}/discussions/{discussion_number}/comments","GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions","GET /teams/{team_id}/discussions/{discussion_number}/reactions","GET /teams/{team_id}/invitations","GET /teams/{team_id}/members","GET /teams/{team_id}/projects","GET /teams/{team_id}/repos","GET /teams/{team_id}/teams","GET /user/blocks","GET /user/codespaces","GET /user/codespaces/secrets","GET /user/emails","GET /user/followers","GET /user/following","GET /user/gpg_keys","GET /user/installations","GET /user/installations/{installation_id}/repositories","GET /user/issues","GET /user/keys","GET /user/marketplace_purchases","GET /user/marketplace_purchases/stubbed","GET /user/memberships/orgs","GET /user/migrations","GET /user/migrations/{migration_id}/repositories","GET /user/orgs","GET /user/packages","GET /user/packages/{package_type}/{package_name}/versions","GET /user/public_emails","GET /user/repos","GET /user/repository_invitations","GET /user/social_accounts","GET /user/ssh_signing_keys","GET /user/starred","GET /user/subscriptions","GET /user/teams","GET /users","GET /users/{username}/events","GET /users/{username}/events/orgs/{org}","GET /users/{username}/events/public","GET /users/{username}/followers","GET /users/{username}/following","GET /users/{username}/gists","GET /users/{username}/gpg_keys","GET /users/{username}/keys","GET /users/{username}/orgs","GET /users/{username}/packages","GET /users/{username}/projects","GET /users/{username}/received_events","GET /users/{username}/received_events/public","GET /users/{username}/repos","GET /users/{username}/social_accounts","GET /users/{username}/ssh_signing_keys","GET /users/{username}/starred","GET /users/{username}/subscriptions"];function isPaginatingEndpoint(e){if(typeof e==="string"){return a.includes(e)}else{return false}}function paginateRest(e){return{paginate:Object.assign(paginate.bind(null,e),{iterator:iterator.bind(null,e)})}}paginateRest.VERSION=o;0&&0},5299:e=>{"use strict";var t=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var n=Object.prototype.hasOwnProperty;var __export=(e,s)=>{for(var r in s)t(e,r,{get:s[r],enumerable:true})};var __copyProps=(e,i,o,A)=>{if(i&&typeof i==="object"||typeof i==="function"){for(let a of r(i))if(!n.call(e,a)&&a!==o)t(e,a,{get:()=>i[a],enumerable:!(A=s(i,a))||A.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var i={};__export(i,{legacyRestEndpointMethods:()=>legacyRestEndpointMethods,restEndpointMethods:()=>restEndpointMethods});e.exports=__toCommonJS(i);var o="10.2.0";var A={actions:{addCustomLabelsToSelfHostedRunnerForOrg:["POST /orgs/{org}/actions/runners/{runner_id}/labels"],addCustomLabelsToSelfHostedRunnerForRepo:["POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],approveWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve"],cancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"],createEnvironmentVariable:["POST /repositories/{repository_id}/environments/{environment_name}/variables"],createOrUpdateEnvironmentSecret:["PUT /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}"],createOrgVariable:["POST /orgs/{org}/actions/variables"],createRegistrationTokenForOrg:["POST /orgs/{org}/actions/runners/registration-token"],createRegistrationTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/registration-token"],createRemoveTokenForOrg:["POST /orgs/{org}/actions/runners/remove-token"],createRemoveTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/remove-token"],createRepoVariable:["POST /repos/{owner}/{repo}/actions/variables"],createWorkflowDispatch:["POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches"],deleteActionsCacheById:["DELETE /repos/{owner}/{repo}/actions/caches/{cache_id}"],deleteActionsCacheByKey:["DELETE /repos/{owner}/{repo}/actions/caches{?key,ref}"],deleteArtifact:["DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],deleteEnvironmentSecret:["DELETE /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],deleteEnvironmentVariable:["DELETE /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],deleteOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}"],deleteOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}"],deleteRepoVariable:["DELETE /repos/{owner}/{repo}/actions/variables/{name}"],deleteSelfHostedRunnerFromOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}"],deleteSelfHostedRunnerFromRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}"],deleteWorkflowRun:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}"],deleteWorkflowRunLogs:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],disableSelectedRepositoryGithubActionsOrganization:["DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}"],disableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable"],downloadArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}"],downloadJobLogsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs"],downloadWorkflowRunAttemptLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs"],downloadWorkflowRunLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],enableSelectedRepositoryGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories/{repository_id}"],enableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable"],forceCancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel"],generateRunnerJitconfigForOrg:["POST /orgs/{org}/actions/runners/generate-jitconfig"],generateRunnerJitconfigForRepo:["POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig"],getActionsCacheList:["GET /repos/{owner}/{repo}/actions/caches"],getActionsCacheUsage:["GET /repos/{owner}/{repo}/actions/cache/usage"],getActionsCacheUsageByRepoForOrg:["GET /orgs/{org}/actions/cache/usage-by-repository"],getActionsCacheUsageForOrg:["GET /orgs/{org}/actions/cache/usage"],getAllowedActionsOrganization:["GET /orgs/{org}/actions/permissions/selected-actions"],getAllowedActionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/selected-actions"],getArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],getEnvironmentPublicKey:["GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key"],getEnvironmentSecret:["GET /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],getEnvironmentVariable:["GET /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],getGithubActionsDefaultWorkflowPermissionsOrganization:["GET /orgs/{org}/actions/permissions/workflow"],getGithubActionsDefaultWorkflowPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/workflow"],getGithubActionsPermissionsOrganization:["GET /orgs/{org}/actions/permissions"],getGithubActionsPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions"],getJobForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"],getOrgPublicKey:["GET /orgs/{org}/actions/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}"],getOrgVariable:["GET /orgs/{org}/actions/variables/{name}"],getPendingDeploymentsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],getRepoPermissions:["GET /repos/{owner}/{repo}/actions/permissions",{},{renamed:["actions","getGithubActionsPermissionsRepository"]}],getRepoPublicKey:["GET /repos/{owner}/{repo}/actions/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"],getRepoVariable:["GET /repos/{owner}/{repo}/actions/variables/{name}"],getReviewsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals"],getSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}"],getSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}"],getWorkflow:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"],getWorkflowAccessToRepository:["GET /repos/{owner}/{repo}/actions/permissions/access"],getWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}"],getWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}"],getWorkflowRunUsage:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing"],getWorkflowUsage:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing"],listArtifactsForRepo:["GET /repos/{owner}/{repo}/actions/artifacts"],listEnvironmentSecrets:["GET /repositories/{repository_id}/environments/{environment_name}/secrets"],listEnvironmentVariables:["GET /repositories/{repository_id}/environments/{environment_name}/variables"],listJobsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"],listJobsForWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs"],listLabelsForSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}/labels"],listLabelsForSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],listOrgSecrets:["GET /orgs/{org}/actions/secrets"],listOrgVariables:["GET /orgs/{org}/actions/variables"],listRepoOrganizationSecrets:["GET /repos/{owner}/{repo}/actions/organization-secrets"],listRepoOrganizationVariables:["GET /repos/{owner}/{repo}/actions/organization-variables"],listRepoSecrets:["GET /repos/{owner}/{repo}/actions/secrets"],listRepoVariables:["GET /repos/{owner}/{repo}/actions/variables"],listRepoWorkflows:["GET /repos/{owner}/{repo}/actions/workflows"],listRunnerApplicationsForOrg:["GET /orgs/{org}/actions/runners/downloads"],listRunnerApplicationsForRepo:["GET /repos/{owner}/{repo}/actions/runners/downloads"],listSelectedReposForOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}/repositories"],listSelectedReposForOrgVariable:["GET /orgs/{org}/actions/variables/{name}/repositories"],listSelectedRepositoriesEnabledGithubActionsOrganization:["GET /orgs/{org}/actions/permissions/repositories"],listSelfHostedRunnersForOrg:["GET /orgs/{org}/actions/runners"],listSelfHostedRunnersForRepo:["GET /repos/{owner}/{repo}/actions/runners"],listWorkflowRunArtifacts:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts"],listWorkflowRuns:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"],listWorkflowRunsForRepo:["GET /repos/{owner}/{repo}/actions/runs"],reRunJobForWorkflowRun:["POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun"],reRunWorkflow:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"],reRunWorkflowFailedJobs:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs"],removeAllCustomLabelsFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels"],removeAllCustomLabelsFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],removeCustomLabelFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels/{name}"],removeCustomLabelFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],reviewCustomGatesForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule"],reviewPendingDeploymentsForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],setAllowedActionsOrganization:["PUT /orgs/{org}/actions/permissions/selected-actions"],setAllowedActionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/selected-actions"],setCustomLabelsForSelfHostedRunnerForOrg:["PUT /orgs/{org}/actions/runners/{runner_id}/labels"],setCustomLabelsForSelfHostedRunnerForRepo:["PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],setGithubActionsDefaultWorkflowPermissionsOrganization:["PUT /orgs/{org}/actions/permissions/workflow"],setGithubActionsDefaultWorkflowPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/workflow"],setGithubActionsPermissionsOrganization:["PUT /orgs/{org}/actions/permissions"],setGithubActionsPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories"],setSelectedReposForOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories"],setSelectedRepositoriesEnabledGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories"],setWorkflowAccessToRepository:["PUT /repos/{owner}/{repo}/actions/permissions/access"],updateEnvironmentVariable:["PATCH /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],updateOrgVariable:["PATCH /orgs/{org}/actions/variables/{name}"],updateRepoVariable:["PATCH /repos/{owner}/{repo}/actions/variables/{name}"]},activity:{checkRepoIsStarredByAuthenticatedUser:["GET /user/starred/{owner}/{repo}"],deleteRepoSubscription:["DELETE /repos/{owner}/{repo}/subscription"],deleteThreadSubscription:["DELETE /notifications/threads/{thread_id}/subscription"],getFeeds:["GET /feeds"],getRepoSubscription:["GET /repos/{owner}/{repo}/subscription"],getThread:["GET /notifications/threads/{thread_id}"],getThreadSubscriptionForAuthenticatedUser:["GET /notifications/threads/{thread_id}/subscription"],listEventsForAuthenticatedUser:["GET /users/{username}/events"],listNotificationsForAuthenticatedUser:["GET /notifications"],listOrgEventsForAuthenticatedUser:["GET /users/{username}/events/orgs/{org}"],listPublicEvents:["GET /events"],listPublicEventsForRepoNetwork:["GET /networks/{owner}/{repo}/events"],listPublicEventsForUser:["GET /users/{username}/events/public"],listPublicOrgEvents:["GET /orgs/{org}/events"],listReceivedEventsForUser:["GET /users/{username}/received_events"],listReceivedPublicEventsForUser:["GET /users/{username}/received_events/public"],listRepoEvents:["GET /repos/{owner}/{repo}/events"],listRepoNotificationsForAuthenticatedUser:["GET /repos/{owner}/{repo}/notifications"],listReposStarredByAuthenticatedUser:["GET /user/starred"],listReposStarredByUser:["GET /users/{username}/starred"],listReposWatchedByUser:["GET /users/{username}/subscriptions"],listStargazersForRepo:["GET /repos/{owner}/{repo}/stargazers"],listWatchedReposForAuthenticatedUser:["GET /user/subscriptions"],listWatchersForRepo:["GET /repos/{owner}/{repo}/subscribers"],markNotificationsAsRead:["PUT /notifications"],markRepoNotificationsAsRead:["PUT /repos/{owner}/{repo}/notifications"],markThreadAsRead:["PATCH /notifications/threads/{thread_id}"],setRepoSubscription:["PUT /repos/{owner}/{repo}/subscription"],setThreadSubscription:["PUT /notifications/threads/{thread_id}/subscription"],starRepoForAuthenticatedUser:["PUT /user/starred/{owner}/{repo}"],unstarRepoForAuthenticatedUser:["DELETE /user/starred/{owner}/{repo}"]},apps:{addRepoToInstallation:["PUT /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","addRepoToInstallationForAuthenticatedUser"]}],addRepoToInstallationForAuthenticatedUser:["PUT /user/installations/{installation_id}/repositories/{repository_id}"],checkToken:["POST /applications/{client_id}/token"],createFromManifest:["POST /app-manifests/{code}/conversions"],createInstallationAccessToken:["POST /app/installations/{installation_id}/access_tokens"],deleteAuthorization:["DELETE /applications/{client_id}/grant"],deleteInstallation:["DELETE /app/installations/{installation_id}"],deleteToken:["DELETE /applications/{client_id}/token"],getAuthenticated:["GET /app"],getBySlug:["GET /apps/{app_slug}"],getInstallation:["GET /app/installations/{installation_id}"],getOrgInstallation:["GET /orgs/{org}/installation"],getRepoInstallation:["GET /repos/{owner}/{repo}/installation"],getSubscriptionPlanForAccount:["GET /marketplace_listing/accounts/{account_id}"],getSubscriptionPlanForAccountStubbed:["GET /marketplace_listing/stubbed/accounts/{account_id}"],getUserInstallation:["GET /users/{username}/installation"],getWebhookConfigForApp:["GET /app/hook/config"],getWebhookDelivery:["GET /app/hook/deliveries/{delivery_id}"],listAccountsForPlan:["GET /marketplace_listing/plans/{plan_id}/accounts"],listAccountsForPlanStubbed:["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"],listInstallationReposForAuthenticatedUser:["GET /user/installations/{installation_id}/repositories"],listInstallationRequestsForAuthenticatedApp:["GET /app/installation-requests"],listInstallations:["GET /app/installations"],listInstallationsForAuthenticatedUser:["GET /user/installations"],listPlans:["GET /marketplace_listing/plans"],listPlansStubbed:["GET /marketplace_listing/stubbed/plans"],listReposAccessibleToInstallation:["GET /installation/repositories"],listSubscriptionsForAuthenticatedUser:["GET /user/marketplace_purchases"],listSubscriptionsForAuthenticatedUserStubbed:["GET /user/marketplace_purchases/stubbed"],listWebhookDeliveries:["GET /app/hook/deliveries"],redeliverWebhookDelivery:["POST /app/hook/deliveries/{delivery_id}/attempts"],removeRepoFromInstallation:["DELETE /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","removeRepoFromInstallationForAuthenticatedUser"]}],removeRepoFromInstallationForAuthenticatedUser:["DELETE /user/installations/{installation_id}/repositories/{repository_id}"],resetToken:["PATCH /applications/{client_id}/token"],revokeInstallationAccessToken:["DELETE /installation/token"],scopeToken:["POST /applications/{client_id}/token/scoped"],suspendInstallation:["PUT /app/installations/{installation_id}/suspended"],unsuspendInstallation:["DELETE /app/installations/{installation_id}/suspended"],updateWebhookConfigForApp:["PATCH /app/hook/config"]},billing:{getGithubActionsBillingOrg:["GET /orgs/{org}/settings/billing/actions"],getGithubActionsBillingUser:["GET /users/{username}/settings/billing/actions"],getGithubPackagesBillingOrg:["GET /orgs/{org}/settings/billing/packages"],getGithubPackagesBillingUser:["GET /users/{username}/settings/billing/packages"],getSharedStorageBillingOrg:["GET /orgs/{org}/settings/billing/shared-storage"],getSharedStorageBillingUser:["GET /users/{username}/settings/billing/shared-storage"]},checks:{create:["POST /repos/{owner}/{repo}/check-runs"],createSuite:["POST /repos/{owner}/{repo}/check-suites"],get:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}"],getSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}"],listAnnotations:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations"],listForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-runs"],listForSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs"],listSuitesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"],rerequestRun:["POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest"],rerequestSuite:["POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest"],setSuitesPreferences:["PATCH /repos/{owner}/{repo}/check-suites/preferences"],update:["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}"]},codeScanning:{deleteAnalysis:["DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}"],getAlert:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}",{},{renamedParameters:{alert_id:"alert_number"}}],getAnalysis:["GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}"],getCodeqlDatabase:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}"],getDefaultSetup:["GET /repos/{owner}/{repo}/code-scanning/default-setup"],getSarif:["GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}"],listAlertInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances"],listAlertsForOrg:["GET /orgs/{org}/code-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/code-scanning/alerts"],listAlertsInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances",{},{renamed:["codeScanning","listAlertInstances"]}],listCodeqlDatabases:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases"],listRecentAnalyses:["GET /repos/{owner}/{repo}/code-scanning/analyses"],updateAlert:["PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}"],updateDefaultSetup:["PATCH /repos/{owner}/{repo}/code-scanning/default-setup"],uploadSarif:["POST /repos/{owner}/{repo}/code-scanning/sarifs"]},codesOfConduct:{getAllCodesOfConduct:["GET /codes_of_conduct"],getConductCode:["GET /codes_of_conduct/{key}"]},codespaces:{addRepositoryForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],checkPermissionsForDevcontainer:["GET /repos/{owner}/{repo}/codespaces/permissions_check"],codespaceMachinesForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/machines"],createForAuthenticatedUser:["POST /user/codespaces"],createOrUpdateOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],createOrUpdateSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}"],createWithPrForAuthenticatedUser:["POST /repos/{owner}/{repo}/pulls/{pull_number}/codespaces"],createWithRepoForAuthenticatedUser:["POST /repos/{owner}/{repo}/codespaces"],deleteForAuthenticatedUser:["DELETE /user/codespaces/{codespace_name}"],deleteFromOrganization:["DELETE /orgs/{org}/members/{username}/codespaces/{codespace_name}"],deleteOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],deleteSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}"],exportForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/exports"],getCodespacesForUserInOrg:["GET /orgs/{org}/members/{username}/codespaces"],getExportDetailsForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/exports/{export_id}"],getForAuthenticatedUser:["GET /user/codespaces/{codespace_name}"],getOrgPublicKey:["GET /orgs/{org}/codespaces/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}"],getPublicKeyForAuthenticatedUser:["GET /user/codespaces/secrets/public-key"],getRepoPublicKey:["GET /repos/{owner}/{repo}/codespaces/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],getSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}"],listDevcontainersInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/devcontainers"],listForAuthenticatedUser:["GET /user/codespaces"],listInOrganization:["GET /orgs/{org}/codespaces",{},{renamedParameters:{org_id:"org"}}],listInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces"],listOrgSecrets:["GET /orgs/{org}/codespaces/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/codespaces/secrets"],listRepositoriesForSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}/repositories"],listSecretsForAuthenticatedUser:["GET /user/codespaces/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],preFlightWithRepoForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/new"],publishForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/publish"],removeRepositoryForSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],repoMachinesForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/machines"],setRepositoriesForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],startForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/start"],stopForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/stop"],stopInOrganization:["POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop"],updateForAuthenticatedUser:["PATCH /user/codespaces/{codespace_name}"]},copilot:{addCopilotForBusinessSeatsForTeams:["POST /orgs/{org}/copilot/billing/selected_teams"],addCopilotForBusinessSeatsForUsers:["POST /orgs/{org}/copilot/billing/selected_users"],cancelCopilotSeatAssignmentForTeams:["DELETE /orgs/{org}/copilot/billing/selected_teams"],cancelCopilotSeatAssignmentForUsers:["DELETE /orgs/{org}/copilot/billing/selected_users"],getCopilotOrganizationDetails:["GET /orgs/{org}/copilot/billing"],getCopilotSeatDetailsForUser:["GET /orgs/{org}/members/{username}/copilot"],listCopilotSeats:["GET /orgs/{org}/copilot/billing/seats"]},dependabot:{addSelectedRepoToOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],deleteOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],getAlert:["GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"],getOrgPublicKey:["GET /orgs/{org}/dependabot/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}"],getRepoPublicKey:["GET /repos/{owner}/{repo}/dependabot/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/dependabot/alerts"],listAlertsForOrg:["GET /orgs/{org}/dependabot/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/dependabot/alerts"],listOrgSecrets:["GET /orgs/{org}/dependabot/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/dependabot/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],updateAlert:["PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"]},dependencyGraph:{createRepositorySnapshot:["POST /repos/{owner}/{repo}/dependency-graph/snapshots"],diffRange:["GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}"],exportSbom:["GET /repos/{owner}/{repo}/dependency-graph/sbom"]},emojis:{get:["GET /emojis"]},gists:{checkIsStarred:["GET /gists/{gist_id}/star"],create:["POST /gists"],createComment:["POST /gists/{gist_id}/comments"],delete:["DELETE /gists/{gist_id}"],deleteComment:["DELETE /gists/{gist_id}/comments/{comment_id}"],fork:["POST /gists/{gist_id}/forks"],get:["GET /gists/{gist_id}"],getComment:["GET /gists/{gist_id}/comments/{comment_id}"],getRevision:["GET /gists/{gist_id}/{sha}"],list:["GET /gists"],listComments:["GET /gists/{gist_id}/comments"],listCommits:["GET /gists/{gist_id}/commits"],listForUser:["GET /users/{username}/gists"],listForks:["GET /gists/{gist_id}/forks"],listPublic:["GET /gists/public"],listStarred:["GET /gists/starred"],star:["PUT /gists/{gist_id}/star"],unstar:["DELETE /gists/{gist_id}/star"],update:["PATCH /gists/{gist_id}"],updateComment:["PATCH /gists/{gist_id}/comments/{comment_id}"]},git:{createBlob:["POST /repos/{owner}/{repo}/git/blobs"],createCommit:["POST /repos/{owner}/{repo}/git/commits"],createRef:["POST /repos/{owner}/{repo}/git/refs"],createTag:["POST /repos/{owner}/{repo}/git/tags"],createTree:["POST /repos/{owner}/{repo}/git/trees"],deleteRef:["DELETE /repos/{owner}/{repo}/git/refs/{ref}"],getBlob:["GET /repos/{owner}/{repo}/git/blobs/{file_sha}"],getCommit:["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"],getRef:["GET /repos/{owner}/{repo}/git/ref/{ref}"],getTag:["GET /repos/{owner}/{repo}/git/tags/{tag_sha}"],getTree:["GET /repos/{owner}/{repo}/git/trees/{tree_sha}"],listMatchingRefs:["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"],updateRef:["PATCH /repos/{owner}/{repo}/git/refs/{ref}"]},gitignore:{getAllTemplates:["GET /gitignore/templates"],getTemplate:["GET /gitignore/templates/{name}"]},interactions:{getRestrictionsForAuthenticatedUser:["GET /user/interaction-limits"],getRestrictionsForOrg:["GET /orgs/{org}/interaction-limits"],getRestrictionsForRepo:["GET /repos/{owner}/{repo}/interaction-limits"],getRestrictionsForYourPublicRepos:["GET /user/interaction-limits",{},{renamed:["interactions","getRestrictionsForAuthenticatedUser"]}],removeRestrictionsForAuthenticatedUser:["DELETE /user/interaction-limits"],removeRestrictionsForOrg:["DELETE /orgs/{org}/interaction-limits"],removeRestrictionsForRepo:["DELETE /repos/{owner}/{repo}/interaction-limits"],removeRestrictionsForYourPublicRepos:["DELETE /user/interaction-limits",{},{renamed:["interactions","removeRestrictionsForAuthenticatedUser"]}],setRestrictionsForAuthenticatedUser:["PUT /user/interaction-limits"],setRestrictionsForOrg:["PUT /orgs/{org}/interaction-limits"],setRestrictionsForRepo:["PUT /repos/{owner}/{repo}/interaction-limits"],setRestrictionsForYourPublicRepos:["PUT /user/interaction-limits",{},{renamed:["interactions","setRestrictionsForAuthenticatedUser"]}]},issues:{addAssignees:["POST /repos/{owner}/{repo}/issues/{issue_number}/assignees"],addLabels:["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"],checkUserCanBeAssigned:["GET /repos/{owner}/{repo}/assignees/{assignee}"],checkUserCanBeAssignedToIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee}"],create:["POST /repos/{owner}/{repo}/issues"],createComment:["POST /repos/{owner}/{repo}/issues/{issue_number}/comments"],createLabel:["POST /repos/{owner}/{repo}/labels"],createMilestone:["POST /repos/{owner}/{repo}/milestones"],deleteComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}"],deleteLabel:["DELETE /repos/{owner}/{repo}/labels/{name}"],deleteMilestone:["DELETE /repos/{owner}/{repo}/milestones/{milestone_number}"],get:["GET /repos/{owner}/{repo}/issues/{issue_number}"],getComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"],getEvent:["GET /repos/{owner}/{repo}/issues/events/{event_id}"],getLabel:["GET /repos/{owner}/{repo}/labels/{name}"],getMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}"],list:["GET /issues"],listAssignees:["GET /repos/{owner}/{repo}/assignees"],listComments:["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"],listCommentsForRepo:["GET /repos/{owner}/{repo}/issues/comments"],listEvents:["GET /repos/{owner}/{repo}/issues/{issue_number}/events"],listEventsForRepo:["GET /repos/{owner}/{repo}/issues/events"],listEventsForTimeline:["GET /repos/{owner}/{repo}/issues/{issue_number}/timeline"],listForAuthenticatedUser:["GET /user/issues"],listForOrg:["GET /orgs/{org}/issues"],listForRepo:["GET /repos/{owner}/{repo}/issues"],listLabelsForMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels"],listLabelsForRepo:["GET /repos/{owner}/{repo}/labels"],listLabelsOnIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/labels"],listMilestones:["GET /repos/{owner}/{repo}/milestones"],lock:["PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"],removeAllLabels:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels"],removeAssignees:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees"],removeLabel:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}"],setLabels:["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels"],unlock:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock"],update:["PATCH /repos/{owner}/{repo}/issues/{issue_number}"],updateComment:["PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}"],updateLabel:["PATCH /repos/{owner}/{repo}/labels/{name}"],updateMilestone:["PATCH /repos/{owner}/{repo}/milestones/{milestone_number}"]},licenses:{get:["GET /licenses/{license}"],getAllCommonlyUsed:["GET /licenses"],getForRepo:["GET /repos/{owner}/{repo}/license"]},markdown:{render:["POST /markdown"],renderRaw:["POST /markdown/raw",{headers:{"content-type":"text/plain; charset=utf-8"}}]},meta:{get:["GET /meta"],getAllVersions:["GET /versions"],getOctocat:["GET /octocat"],getZen:["GET /zen"],root:["GET /"]},migrations:{cancelImport:["DELETE /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.cancelImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#cancel-an-import"}],deleteArchiveForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/archive"],deleteArchiveForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/archive"],downloadArchiveForOrg:["GET /orgs/{org}/migrations/{migration_id}/archive"],getArchiveForAuthenticatedUser:["GET /user/migrations/{migration_id}/archive"],getCommitAuthors:["GET /repos/{owner}/{repo}/import/authors",{},{deprecated:"octokit.rest.migrations.getCommitAuthors() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-commit-authors"}],getImportStatus:["GET /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.getImportStatus() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-an-import-status"}],getLargeFiles:["GET /repos/{owner}/{repo}/import/large_files",{},{deprecated:"octokit.rest.migrations.getLargeFiles() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-large-files"}],getStatusForAuthenticatedUser:["GET /user/migrations/{migration_id}"],getStatusForOrg:["GET /orgs/{org}/migrations/{migration_id}"],listForAuthenticatedUser:["GET /user/migrations"],listForOrg:["GET /orgs/{org}/migrations"],listReposForAuthenticatedUser:["GET /user/migrations/{migration_id}/repositories"],listReposForOrg:["GET /orgs/{org}/migrations/{migration_id}/repositories"],listReposForUser:["GET /user/migrations/{migration_id}/repositories",{},{renamed:["migrations","listReposForAuthenticatedUser"]}],mapCommitAuthor:["PATCH /repos/{owner}/{repo}/import/authors/{author_id}",{},{deprecated:"octokit.rest.migrations.mapCommitAuthor() is deprecated, see https://docs.github.com/rest/migrations/source-imports#map-a-commit-author"}],setLfsPreference:["PATCH /repos/{owner}/{repo}/import/lfs",{},{deprecated:"octokit.rest.migrations.setLfsPreference() is deprecated, see https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference"}],startForAuthenticatedUser:["POST /user/migrations"],startForOrg:["POST /orgs/{org}/migrations"],startImport:["PUT /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.startImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#start-an-import"}],unlockRepoForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock"],unlockRepoForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock"],updateImport:["PATCH /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.updateImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#update-an-import"}]},orgs:{addSecurityManagerTeam:["PUT /orgs/{org}/security-managers/teams/{team_slug}"],blockUser:["PUT /orgs/{org}/blocks/{username}"],cancelInvitation:["DELETE /orgs/{org}/invitations/{invitation_id}"],checkBlockedUser:["GET /orgs/{org}/blocks/{username}"],checkMembershipForUser:["GET /orgs/{org}/members/{username}"],checkPublicMembershipForUser:["GET /orgs/{org}/public_members/{username}"],convertMemberToOutsideCollaborator:["PUT /orgs/{org}/outside_collaborators/{username}"],createInvitation:["POST /orgs/{org}/invitations"],createOrUpdateCustomProperties:["PATCH /orgs/{org}/properties/schema"],createOrUpdateCustomPropertiesValuesForRepos:["PATCH /orgs/{org}/properties/values"],createOrUpdateCustomProperty:["PUT /orgs/{org}/properties/schema/{custom_property_name}"],createWebhook:["POST /orgs/{org}/hooks"],delete:["DELETE /orgs/{org}"],deleteWebhook:["DELETE /orgs/{org}/hooks/{hook_id}"],enableOrDisableSecurityProductOnAllOrgRepos:["POST /orgs/{org}/{security_product}/{enablement}"],get:["GET /orgs/{org}"],getAllCustomProperties:["GET /orgs/{org}/properties/schema"],getCustomProperty:["GET /orgs/{org}/properties/schema/{custom_property_name}"],getMembershipForAuthenticatedUser:["GET /user/memberships/orgs/{org}"],getMembershipForUser:["GET /orgs/{org}/memberships/{username}"],getWebhook:["GET /orgs/{org}/hooks/{hook_id}"],getWebhookConfigForOrg:["GET /orgs/{org}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}"],list:["GET /organizations"],listAppInstallations:["GET /orgs/{org}/installations"],listBlockedUsers:["GET /orgs/{org}/blocks"],listCustomPropertiesValuesForRepos:["GET /orgs/{org}/properties/values"],listFailedInvitations:["GET /orgs/{org}/failed_invitations"],listForAuthenticatedUser:["GET /user/orgs"],listForUser:["GET /users/{username}/orgs"],listInvitationTeams:["GET /orgs/{org}/invitations/{invitation_id}/teams"],listMembers:["GET /orgs/{org}/members"],listMembershipsForAuthenticatedUser:["GET /user/memberships/orgs"],listOutsideCollaborators:["GET /orgs/{org}/outside_collaborators"],listPatGrantRepositories:["GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories"],listPatGrantRequestRepositories:["GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories"],listPatGrantRequests:["GET /orgs/{org}/personal-access-token-requests"],listPatGrants:["GET /orgs/{org}/personal-access-tokens"],listPendingInvitations:["GET /orgs/{org}/invitations"],listPublicMembers:["GET /orgs/{org}/public_members"],listSecurityManagerTeams:["GET /orgs/{org}/security-managers"],listWebhookDeliveries:["GET /orgs/{org}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /orgs/{org}/hooks"],pingWebhook:["POST /orgs/{org}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeCustomProperty:["DELETE /orgs/{org}/properties/schema/{custom_property_name}"],removeMember:["DELETE /orgs/{org}/members/{username}"],removeMembershipForUser:["DELETE /orgs/{org}/memberships/{username}"],removeOutsideCollaborator:["DELETE /orgs/{org}/outside_collaborators/{username}"],removePublicMembershipForAuthenticatedUser:["DELETE /orgs/{org}/public_members/{username}"],removeSecurityManagerTeam:["DELETE /orgs/{org}/security-managers/teams/{team_slug}"],reviewPatGrantRequest:["POST /orgs/{org}/personal-access-token-requests/{pat_request_id}"],reviewPatGrantRequestsInBulk:["POST /orgs/{org}/personal-access-token-requests"],setMembershipForUser:["PUT /orgs/{org}/memberships/{username}"],setPublicMembershipForAuthenticatedUser:["PUT /orgs/{org}/public_members/{username}"],unblockUser:["DELETE /orgs/{org}/blocks/{username}"],update:["PATCH /orgs/{org}"],updateMembershipForAuthenticatedUser:["PATCH /user/memberships/orgs/{org}"],updatePatAccess:["POST /orgs/{org}/personal-access-tokens/{pat_id}"],updatePatAccesses:["POST /orgs/{org}/personal-access-tokens"],updateWebhook:["PATCH /orgs/{org}/hooks/{hook_id}"],updateWebhookConfigForOrg:["PATCH /orgs/{org}/hooks/{hook_id}/config"]},packages:{deletePackageForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}"],deletePackageForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}"],deletePackageForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}"],deletePackageVersionForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getAllPackageVersionsForAPackageOwnedByAnOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByOrg"]}],getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByAuthenticatedUser"]}],getAllPackageVersionsForPackageOwnedByAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions"],getPackageForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}"],getPackageForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}"],getPackageForUser:["GET /users/{username}/packages/{package_type}/{package_name}"],getPackageVersionForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],listDockerMigrationConflictingPackagesForAuthenticatedUser:["GET /user/docker/conflicts"],listDockerMigrationConflictingPackagesForOrganization:["GET /orgs/{org}/docker/conflicts"],listDockerMigrationConflictingPackagesForUser:["GET /users/{username}/docker/conflicts"],listPackagesForAuthenticatedUser:["GET /user/packages"],listPackagesForOrganization:["GET /orgs/{org}/packages"],listPackagesForUser:["GET /users/{username}/packages"],restorePackageForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForUser:["POST /users/{username}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageVersionForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForUser:["POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"]},projects:{addCollaborator:["PUT /projects/{project_id}/collaborators/{username}"],createCard:["POST /projects/columns/{column_id}/cards"],createColumn:["POST /projects/{project_id}/columns"],createForAuthenticatedUser:["POST /user/projects"],createForOrg:["POST /orgs/{org}/projects"],createForRepo:["POST /repos/{owner}/{repo}/projects"],delete:["DELETE /projects/{project_id}"],deleteCard:["DELETE /projects/columns/cards/{card_id}"],deleteColumn:["DELETE /projects/columns/{column_id}"],get:["GET /projects/{project_id}"],getCard:["GET /projects/columns/cards/{card_id}"],getColumn:["GET /projects/columns/{column_id}"],getPermissionForUser:["GET /projects/{project_id}/collaborators/{username}/permission"],listCards:["GET /projects/columns/{column_id}/cards"],listCollaborators:["GET /projects/{project_id}/collaborators"],listColumns:["GET /projects/{project_id}/columns"],listForOrg:["GET /orgs/{org}/projects"],listForRepo:["GET /repos/{owner}/{repo}/projects"],listForUser:["GET /users/{username}/projects"],moveCard:["POST /projects/columns/cards/{card_id}/moves"],moveColumn:["POST /projects/columns/{column_id}/moves"],removeCollaborator:["DELETE /projects/{project_id}/collaborators/{username}"],update:["PATCH /projects/{project_id}"],updateCard:["PATCH /projects/columns/cards/{card_id}"],updateColumn:["PATCH /projects/columns/{column_id}"]},pulls:{checkIfMerged:["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"],create:["POST /repos/{owner}/{repo}/pulls"],createReplyForReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies"],createReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],createReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments"],deletePendingReview:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],deleteReviewComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}"],dismissReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals"],get:["GET /repos/{owner}/{repo}/pulls/{pull_number}"],getReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],getReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}"],list:["GET /repos/{owner}/{repo}/pulls"],listCommentsForReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments"],listCommits:["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"],listFiles:["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"],listRequestedReviewers:["GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],listReviewComments:["GET /repos/{owner}/{repo}/pulls/{pull_number}/comments"],listReviewCommentsForRepo:["GET /repos/{owner}/{repo}/pulls/comments"],listReviews:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],merge:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"],removeRequestedReviewers:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],requestReviewers:["POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],submitReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events"],update:["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"],updateBranch:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch"],updateReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],updateReviewComment:["PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}"]},rateLimit:{get:["GET /rate_limit"]},reactions:{createForCommitComment:["POST /repos/{owner}/{repo}/comments/{comment_id}/reactions"],createForIssue:["POST /repos/{owner}/{repo}/issues/{issue_number}/reactions"],createForIssueComment:["POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],createForPullRequestReviewComment:["POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],createForRelease:["POST /repos/{owner}/{repo}/releases/{release_id}/reactions"],createForTeamDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],createForTeamDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"],deleteForCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}"],deleteForIssue:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}"],deleteForIssueComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}"],deleteForPullRequestComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}"],deleteForRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}"],deleteForTeamDiscussion:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}"],deleteForTeamDiscussionComment:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}"],listForCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions"],listForIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions"],listForIssueComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],listForPullRequestReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],listForRelease:["GET /repos/{owner}/{repo}/releases/{release_id}/reactions"],listForTeamDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],listForTeamDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"]},repos:{acceptInvitation:["PATCH /user/repository_invitations/{invitation_id}",{},{renamed:["repos","acceptInvitationForAuthenticatedUser"]}],acceptInvitationForAuthenticatedUser:["PATCH /user/repository_invitations/{invitation_id}"],addAppAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],addCollaborator:["PUT /repos/{owner}/{repo}/collaborators/{username}"],addStatusCheckContexts:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],addTeamAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],addUserAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],checkAutomatedSecurityFixes:["GET /repos/{owner}/{repo}/automated-security-fixes"],checkCollaborator:["GET /repos/{owner}/{repo}/collaborators/{username}"],checkVulnerabilityAlerts:["GET /repos/{owner}/{repo}/vulnerability-alerts"],codeownersErrors:["GET /repos/{owner}/{repo}/codeowners/errors"],compareCommits:["GET /repos/{owner}/{repo}/compare/{base}...{head}"],compareCommitsWithBasehead:["GET /repos/{owner}/{repo}/compare/{basehead}"],createAutolink:["POST /repos/{owner}/{repo}/autolinks"],createCommitComment:["POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"],createCommitSignatureProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],createCommitStatus:["POST /repos/{owner}/{repo}/statuses/{sha}"],createDeployKey:["POST /repos/{owner}/{repo}/keys"],createDeployment:["POST /repos/{owner}/{repo}/deployments"],createDeploymentBranchPolicy:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],createDeploymentProtectionRule:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],createDeploymentStatus:["POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],createDispatchEvent:["POST /repos/{owner}/{repo}/dispatches"],createForAuthenticatedUser:["POST /user/repos"],createFork:["POST /repos/{owner}/{repo}/forks"],createInOrg:["POST /orgs/{org}/repos"],createOrUpdateEnvironment:["PUT /repos/{owner}/{repo}/environments/{environment_name}"],createOrUpdateFileContents:["PUT /repos/{owner}/{repo}/contents/{path}"],createOrgRuleset:["POST /orgs/{org}/rulesets"],createPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployment"],createPagesSite:["POST /repos/{owner}/{repo}/pages"],createRelease:["POST /repos/{owner}/{repo}/releases"],createRepoRuleset:["POST /repos/{owner}/{repo}/rulesets"],createTagProtection:["POST /repos/{owner}/{repo}/tags/protection"],createUsingTemplate:["POST /repos/{template_owner}/{template_repo}/generate"],createWebhook:["POST /repos/{owner}/{repo}/hooks"],declineInvitation:["DELETE /user/repository_invitations/{invitation_id}",{},{renamed:["repos","declineInvitationForAuthenticatedUser"]}],declineInvitationForAuthenticatedUser:["DELETE /user/repository_invitations/{invitation_id}"],delete:["DELETE /repos/{owner}/{repo}"],deleteAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],deleteAdminBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],deleteAnEnvironment:["DELETE /repos/{owner}/{repo}/environments/{environment_name}"],deleteAutolink:["DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}"],deleteBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection"],deleteCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}"],deleteCommitSignatureProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],deleteDeployKey:["DELETE /repos/{owner}/{repo}/keys/{key_id}"],deleteDeployment:["DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"],deleteDeploymentBranchPolicy:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],deleteFile:["DELETE /repos/{owner}/{repo}/contents/{path}"],deleteInvitation:["DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"],deleteOrgRuleset:["DELETE /orgs/{org}/rulesets/{ruleset_id}"],deletePagesSite:["DELETE /repos/{owner}/{repo}/pages"],deletePullRequestReviewProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],deleteRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}"],deleteReleaseAsset:["DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}"],deleteRepoRuleset:["DELETE /repos/{owner}/{repo}/rulesets/{ruleset_id}"],deleteTagProtection:["DELETE /repos/{owner}/{repo}/tags/protection/{tag_protection_id}"],deleteWebhook:["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"],disableAutomatedSecurityFixes:["DELETE /repos/{owner}/{repo}/automated-security-fixes"],disableDeploymentProtectionRule:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],disablePrivateVulnerabilityReporting:["DELETE /repos/{owner}/{repo}/private-vulnerability-reporting"],disableVulnerabilityAlerts:["DELETE /repos/{owner}/{repo}/vulnerability-alerts"],downloadArchive:["GET /repos/{owner}/{repo}/zipball/{ref}",{},{renamed:["repos","downloadZipballArchive"]}],downloadTarballArchive:["GET /repos/{owner}/{repo}/tarball/{ref}"],downloadZipballArchive:["GET /repos/{owner}/{repo}/zipball/{ref}"],enableAutomatedSecurityFixes:["PUT /repos/{owner}/{repo}/automated-security-fixes"],enablePrivateVulnerabilityReporting:["PUT /repos/{owner}/{repo}/private-vulnerability-reporting"],enableVulnerabilityAlerts:["PUT /repos/{owner}/{repo}/vulnerability-alerts"],generateReleaseNotes:["POST /repos/{owner}/{repo}/releases/generate-notes"],get:["GET /repos/{owner}/{repo}"],getAccessRestrictions:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],getAdminBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],getAllDeploymentProtectionRules:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],getAllEnvironments:["GET /repos/{owner}/{repo}/environments"],getAllStatusCheckContexts:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"],getAllTopics:["GET /repos/{owner}/{repo}/topics"],getAppsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"],getAutolink:["GET /repos/{owner}/{repo}/autolinks/{autolink_id}"],getBranch:["GET /repos/{owner}/{repo}/branches/{branch}"],getBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection"],getBranchRules:["GET /repos/{owner}/{repo}/rules/branches/{branch}"],getClones:["GET /repos/{owner}/{repo}/traffic/clones"],getCodeFrequencyStats:["GET /repos/{owner}/{repo}/stats/code_frequency"],getCollaboratorPermissionLevel:["GET /repos/{owner}/{repo}/collaborators/{username}/permission"],getCombinedStatusForRef:["GET /repos/{owner}/{repo}/commits/{ref}/status"],getCommit:["GET /repos/{owner}/{repo}/commits/{ref}"],getCommitActivityStats:["GET /repos/{owner}/{repo}/stats/commit_activity"],getCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}"],getCommitSignatureProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],getCommunityProfileMetrics:["GET /repos/{owner}/{repo}/community/profile"],getContent:["GET /repos/{owner}/{repo}/contents/{path}"],getContributorsStats:["GET /repos/{owner}/{repo}/stats/contributors"],getCustomDeploymentProtectionRule:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],getCustomPropertiesValues:["GET /repos/{owner}/{repo}/properties/values"],getDeployKey:["GET /repos/{owner}/{repo}/keys/{key_id}"],getDeployment:["GET /repos/{owner}/{repo}/deployments/{deployment_id}"],getDeploymentBranchPolicy:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],getDeploymentStatus:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}"],getEnvironment:["GET /repos/{owner}/{repo}/environments/{environment_name}"],getLatestPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/latest"],getLatestRelease:["GET /repos/{owner}/{repo}/releases/latest"],getOrgRuleSuite:["GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id}"],getOrgRuleSuites:["GET /orgs/{org}/rulesets/rule-suites"],getOrgRuleset:["GET /orgs/{org}/rulesets/{ruleset_id}"],getOrgRulesets:["GET /orgs/{org}/rulesets"],getPages:["GET /repos/{owner}/{repo}/pages"],getPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/{build_id}"],getPagesHealthCheck:["GET /repos/{owner}/{repo}/pages/health"],getParticipationStats:["GET /repos/{owner}/{repo}/stats/participation"],getPullRequestReviewProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],getPunchCardStats:["GET /repos/{owner}/{repo}/stats/punch_card"],getReadme:["GET /repos/{owner}/{repo}/readme"],getReadmeInDirectory:["GET /repos/{owner}/{repo}/readme/{dir}"],getRelease:["GET /repos/{owner}/{repo}/releases/{release_id}"],getReleaseAsset:["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"],getReleaseByTag:["GET /repos/{owner}/{repo}/releases/tags/{tag}"],getRepoRuleSuite:["GET /repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id}"],getRepoRuleSuites:["GET /repos/{owner}/{repo}/rulesets/rule-suites"],getRepoRuleset:["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"],getRepoRulesets:["GET /repos/{owner}/{repo}/rulesets"],getStatusChecksProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],getTeamsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams"],getTopPaths:["GET /repos/{owner}/{repo}/traffic/popular/paths"],getTopReferrers:["GET /repos/{owner}/{repo}/traffic/popular/referrers"],getUsersWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users"],getViews:["GET /repos/{owner}/{repo}/traffic/views"],getWebhook:["GET /repos/{owner}/{repo}/hooks/{hook_id}"],getWebhookConfigForRepo:["GET /repos/{owner}/{repo}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}"],listActivities:["GET /repos/{owner}/{repo}/activity"],listAutolinks:["GET /repos/{owner}/{repo}/autolinks"],listBranches:["GET /repos/{owner}/{repo}/branches"],listBranchesForHeadCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head"],listCollaborators:["GET /repos/{owner}/{repo}/collaborators"],listCommentsForCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/comments"],listCommitCommentsForRepo:["GET /repos/{owner}/{repo}/comments"],listCommitStatusesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/statuses"],listCommits:["GET /repos/{owner}/{repo}/commits"],listContributors:["GET /repos/{owner}/{repo}/contributors"],listCustomDeploymentRuleIntegrations:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps"],listDeployKeys:["GET /repos/{owner}/{repo}/keys"],listDeploymentBranchPolicies:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],listDeploymentStatuses:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],listDeployments:["GET /repos/{owner}/{repo}/deployments"],listForAuthenticatedUser:["GET /user/repos"],listForOrg:["GET /orgs/{org}/repos"],listForUser:["GET /users/{username}/repos"],listForks:["GET /repos/{owner}/{repo}/forks"],listInvitations:["GET /repos/{owner}/{repo}/invitations"],listInvitationsForAuthenticatedUser:["GET /user/repository_invitations"],listLanguages:["GET /repos/{owner}/{repo}/languages"],listPagesBuilds:["GET /repos/{owner}/{repo}/pages/builds"],listPublic:["GET /repositories"],listPullRequestsAssociatedWithCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls"],listReleaseAssets:["GET /repos/{owner}/{repo}/releases/{release_id}/assets"],listReleases:["GET /repos/{owner}/{repo}/releases"],listTagProtection:["GET /repos/{owner}/{repo}/tags/protection"],listTags:["GET /repos/{owner}/{repo}/tags"],listTeams:["GET /repos/{owner}/{repo}/teams"],listWebhookDeliveries:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /repos/{owner}/{repo}/hooks"],merge:["POST /repos/{owner}/{repo}/merges"],mergeUpstream:["POST /repos/{owner}/{repo}/merge-upstream"],pingWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeAppAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],removeCollaborator:["DELETE /repos/{owner}/{repo}/collaborators/{username}"],removeStatusCheckContexts:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],removeStatusCheckProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],removeTeamAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],removeUserAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],renameBranch:["POST /repos/{owner}/{repo}/branches/{branch}/rename"],replaceAllTopics:["PUT /repos/{owner}/{repo}/topics"],requestPagesBuild:["POST /repos/{owner}/{repo}/pages/builds"],setAdminBranchProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],setAppAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],setStatusCheckContexts:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],setTeamAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],setUserAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],testPushWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests"],transfer:["POST /repos/{owner}/{repo}/transfer"],update:["PATCH /repos/{owner}/{repo}"],updateBranchProtection:["PUT /repos/{owner}/{repo}/branches/{branch}/protection"],updateCommitComment:["PATCH /repos/{owner}/{repo}/comments/{comment_id}"],updateDeploymentBranchPolicy:["PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],updateInformationAboutPagesSite:["PUT /repos/{owner}/{repo}/pages"],updateInvitation:["PATCH /repos/{owner}/{repo}/invitations/{invitation_id}"],updateOrgRuleset:["PUT /orgs/{org}/rulesets/{ruleset_id}"],updatePullRequestReviewProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],updateRelease:["PATCH /repos/{owner}/{repo}/releases/{release_id}"],updateReleaseAsset:["PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}"],updateRepoRuleset:["PUT /repos/{owner}/{repo}/rulesets/{ruleset_id}"],updateStatusCheckPotection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks",{},{renamed:["repos","updateStatusCheckProtection"]}],updateStatusCheckProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],updateWebhook:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"],updateWebhookConfigForRepo:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config"],uploadReleaseAsset:["POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}",{baseUrl:"https://uploads.github.com"}]},search:{code:["GET /search/code"],commits:["GET /search/commits"],issuesAndPullRequests:["GET /search/issues"],labels:["GET /search/labels"],repos:["GET /search/repositories"],topics:["GET /search/topics"],users:["GET /search/users"]},secretScanning:{getAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/secret-scanning/alerts"],listAlertsForOrg:["GET /orgs/{org}/secret-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/secret-scanning/alerts"],listLocationsForAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations"],updateAlert:["PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"]},securityAdvisories:{createPrivateVulnerabilityReport:["POST /repos/{owner}/{repo}/security-advisories/reports"],createRepositoryAdvisory:["POST /repos/{owner}/{repo}/security-advisories"],createRepositoryAdvisoryCveRequest:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve"],getGlobalAdvisory:["GET /advisories/{ghsa_id}"],getRepositoryAdvisory:["GET /repos/{owner}/{repo}/security-advisories/{ghsa_id}"],listGlobalAdvisories:["GET /advisories"],listOrgRepositoryAdvisories:["GET /orgs/{org}/security-advisories"],listRepositoryAdvisories:["GET /repos/{owner}/{repo}/security-advisories"],updateRepositoryAdvisory:["PATCH /repos/{owner}/{repo}/security-advisories/{ghsa_id}"]},teams:{addOrUpdateMembershipForUserInOrg:["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"],addOrUpdateProjectPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}"],addOrUpdateRepoPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],checkPermissionsForProjectInOrg:["GET /orgs/{org}/teams/{team_slug}/projects/{project_id}"],checkPermissionsForRepoInOrg:["GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],create:["POST /orgs/{org}/teams"],createDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],createDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions"],deleteDiscussionCommentInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],deleteDiscussionInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],deleteInOrg:["DELETE /orgs/{org}/teams/{team_slug}"],getByName:["GET /orgs/{org}/teams/{team_slug}"],getDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],getDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],getMembershipForUserInOrg:["GET /orgs/{org}/teams/{team_slug}/memberships/{username}"],list:["GET /orgs/{org}/teams"],listChildInOrg:["GET /orgs/{org}/teams/{team_slug}/teams"],listDiscussionCommentsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],listDiscussionsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions"],listForAuthenticatedUser:["GET /user/teams"],listMembersInOrg:["GET /orgs/{org}/teams/{team_slug}/members"],listPendingInvitationsInOrg:["GET /orgs/{org}/teams/{team_slug}/invitations"],listProjectsInOrg:["GET /orgs/{org}/teams/{team_slug}/projects"],listReposInOrg:["GET /orgs/{org}/teams/{team_slug}/repos"],removeMembershipForUserInOrg:["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"],removeProjectInOrg:["DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}"],removeRepoInOrg:["DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],updateDiscussionCommentInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],updateDiscussionInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],updateInOrg:["PATCH /orgs/{org}/teams/{team_slug}"]},users:{addEmailForAuthenticated:["POST /user/emails",{},{renamed:["users","addEmailForAuthenticatedUser"]}],addEmailForAuthenticatedUser:["POST /user/emails"],addSocialAccountForAuthenticatedUser:["POST /user/social_accounts"],block:["PUT /user/blocks/{username}"],checkBlocked:["GET /user/blocks/{username}"],checkFollowingForUser:["GET /users/{username}/following/{target_user}"],checkPersonIsFollowedByAuthenticated:["GET /user/following/{username}"],createGpgKeyForAuthenticated:["POST /user/gpg_keys",{},{renamed:["users","createGpgKeyForAuthenticatedUser"]}],createGpgKeyForAuthenticatedUser:["POST /user/gpg_keys"],createPublicSshKeyForAuthenticated:["POST /user/keys",{},{renamed:["users","createPublicSshKeyForAuthenticatedUser"]}],createPublicSshKeyForAuthenticatedUser:["POST /user/keys"],createSshSigningKeyForAuthenticatedUser:["POST /user/ssh_signing_keys"],deleteEmailForAuthenticated:["DELETE /user/emails",{},{renamed:["users","deleteEmailForAuthenticatedUser"]}],deleteEmailForAuthenticatedUser:["DELETE /user/emails"],deleteGpgKeyForAuthenticated:["DELETE /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","deleteGpgKeyForAuthenticatedUser"]}],deleteGpgKeyForAuthenticatedUser:["DELETE /user/gpg_keys/{gpg_key_id}"],deletePublicSshKeyForAuthenticated:["DELETE /user/keys/{key_id}",{},{renamed:["users","deletePublicSshKeyForAuthenticatedUser"]}],deletePublicSshKeyForAuthenticatedUser:["DELETE /user/keys/{key_id}"],deleteSocialAccountForAuthenticatedUser:["DELETE /user/social_accounts"],deleteSshSigningKeyForAuthenticatedUser:["DELETE /user/ssh_signing_keys/{ssh_signing_key_id}"],follow:["PUT /user/following/{username}"],getAuthenticated:["GET /user"],getByUsername:["GET /users/{username}"],getContextForUser:["GET /users/{username}/hovercard"],getGpgKeyForAuthenticated:["GET /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","getGpgKeyForAuthenticatedUser"]}],getGpgKeyForAuthenticatedUser:["GET /user/gpg_keys/{gpg_key_id}"],getPublicSshKeyForAuthenticated:["GET /user/keys/{key_id}",{},{renamed:["users","getPublicSshKeyForAuthenticatedUser"]}],getPublicSshKeyForAuthenticatedUser:["GET /user/keys/{key_id}"],getSshSigningKeyForAuthenticatedUser:["GET /user/ssh_signing_keys/{ssh_signing_key_id}"],list:["GET /users"],listBlockedByAuthenticated:["GET /user/blocks",{},{renamed:["users","listBlockedByAuthenticatedUser"]}],listBlockedByAuthenticatedUser:["GET /user/blocks"],listEmailsForAuthenticated:["GET /user/emails",{},{renamed:["users","listEmailsForAuthenticatedUser"]}],listEmailsForAuthenticatedUser:["GET /user/emails"],listFollowedByAuthenticated:["GET /user/following",{},{renamed:["users","listFollowedByAuthenticatedUser"]}],listFollowedByAuthenticatedUser:["GET /user/following"],listFollowersForAuthenticatedUser:["GET /user/followers"],listFollowersForUser:["GET /users/{username}/followers"],listFollowingForUser:["GET /users/{username}/following"],listGpgKeysForAuthenticated:["GET /user/gpg_keys",{},{renamed:["users","listGpgKeysForAuthenticatedUser"]}],listGpgKeysForAuthenticatedUser:["GET /user/gpg_keys"],listGpgKeysForUser:["GET /users/{username}/gpg_keys"],listPublicEmailsForAuthenticated:["GET /user/public_emails",{},{renamed:["users","listPublicEmailsForAuthenticatedUser"]}],listPublicEmailsForAuthenticatedUser:["GET /user/public_emails"],listPublicKeysForUser:["GET /users/{username}/keys"],listPublicSshKeysForAuthenticated:["GET /user/keys",{},{renamed:["users","listPublicSshKeysForAuthenticatedUser"]}],listPublicSshKeysForAuthenticatedUser:["GET /user/keys"],listSocialAccountsForAuthenticatedUser:["GET /user/social_accounts"],listSocialAccountsForUser:["GET /users/{username}/social_accounts"],listSshSigningKeysForAuthenticatedUser:["GET /user/ssh_signing_keys"],listSshSigningKeysForUser:["GET /users/{username}/ssh_signing_keys"],setPrimaryEmailVisibilityForAuthenticated:["PATCH /user/email/visibility",{},{renamed:["users","setPrimaryEmailVisibilityForAuthenticatedUser"]}],setPrimaryEmailVisibilityForAuthenticatedUser:["PATCH /user/email/visibility"],unblock:["DELETE /user/blocks/{username}"],unfollow:["DELETE /user/following/{username}"],updateAuthenticated:["PATCH /user"]}};var a=A;var c=new Map;for(const[e,t]of Object.entries(a)){for(const[s,r]of Object.entries(t)){const[t,n,i]=r;const[o,A]=t.split(/ /);const a=Object.assign({method:o,url:A},n);if(!c.has(e)){c.set(e,new Map)}c.get(e).set(s,{scope:e,methodName:s,endpointDefaults:a,decorations:i})}}var l={has({scope:e},t){return c.get(e).has(t)},getOwnPropertyDescriptor(e,t){return{value:this.get(e,t),configurable:true,writable:true,enumerable:true}},defineProperty(e,t,s){Object.defineProperty(e.cache,t,s);return true},deleteProperty(e,t){delete e.cache[t];return true},ownKeys({scope:e}){return[...c.get(e).keys()]},set(e,t,s){return e.cache[t]=s},get({octokit:e,scope:t,cache:s},r){if(s[r]){return s[r]}const n=c.get(t).get(r);if(!n){return void 0}const{endpointDefaults:i,decorations:o}=n;if(o){s[r]=decorate(e,t,r,i,o)}else{s[r]=e.request.defaults(i)}return s[r]}};function endpointsToMethods(e){const t={};for(const s of c.keys()){t[s]=new Proxy({octokit:e,scope:s,cache:{}},l)}return t}function decorate(e,t,s,r,n){const i=e.request.defaults(r);function withDecorations(...r){let o=i.endpoint.merge(...r);if(n.mapToData){o=Object.assign({},o,{data:o[n.mapToData],[n.mapToData]:void 0});return i(o)}if(n.renamed){const[r,i]=n.renamed;e.log.warn(`octokit.${t}.${s}() has been renamed to octokit.${r}.${i}()`)}if(n.deprecated){e.log.warn(n.deprecated)}if(n.renamedParameters){const o=i.endpoint.merge(...r);for(const[r,i]of Object.entries(n.renamedParameters)){if(r in o){e.log.warn(`"${r}" parameter is deprecated for "octokit.${t}.${s}()". Use "${i}" instead`);if(!(i in o)){o[i]=o[r]}delete o[r]}}return i(o)}return i(...r)}return Object.assign(withDecorations,i)}function restEndpointMethods(e){const t=endpointsToMethods(e);return{rest:t}}restEndpointMethods.VERSION=o;function legacyRestEndpointMethods(e){const t=endpointsToMethods(e);return{...t,rest:t}}legacyRestEndpointMethods.VERSION=o;0&&0},3157:(e,t,s)=>{"use strict";var r=Object.create;var n=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var o=Object.getOwnPropertyNames;var A=Object.getPrototypeOf;var a=Object.prototype.hasOwnProperty;var __export=(e,t)=>{for(var s in t)n(e,s,{get:t[s],enumerable:true})};var __copyProps=(e,t,s,r)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of o(t))if(!a.call(e,A)&&A!==s)n(e,A,{get:()=>t[A],enumerable:!(r=i(t,A))||r.enumerable})}return e};var __toESM=(e,t,s)=>(s=e!=null?r(A(e)):{},__copyProps(t||!e||!e.__esModule?n(s,"default",{value:e,enumerable:true}):s,e));var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var c={};__export(c,{RequestError:()=>g});e.exports=__toCommonJS(c);var l=s(2881);var u=__toESM(s(9965));var p=(0,u.default)((e=>console.warn(e)));var d=(0,u.default)((e=>console.warn(e)));var g=class extends Error{constructor(e,t,s){super(e);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="HttpError";this.status=t;let r;if("headers"in s&&typeof s.headers!=="undefined"){r=s.headers}if("response"in s){this.response=s.response;r=s.response.headers}const n=Object.assign({},s.request);if(s.request.headers.authorization){n.headers=Object.assign({},s.request.headers,{authorization:s.request.headers.authorization.replace(/ .*$/," [REDACTED]")})}n.url=n.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]");this.request=n;Object.defineProperty(this,"code",{get(){p(new l.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`."));return t}});Object.defineProperty(this,"headers",{get(){d(new l.Deprecation("[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`."));return r||{}}})}};0&&0},1696:(e,t,s)=>{"use strict";var r=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var __export=(e,t)=>{for(var s in t)r(e,s,{get:t[s],enumerable:true})};var __copyProps=(e,t,s,A)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let a of i(t))if(!o.call(e,a)&&a!==s)r(e,a,{get:()=>t[a],enumerable:!(A=n(t,a))||A.enumerable})}return e};var __toCommonJS=e=>__copyProps(r({},"__esModule",{value:true}),e);var A={};__export(A,{request:()=>p});e.exports=__toCommonJS(A);var a=s(7906);var c=s(4279);var l="8.1.6";function isPlainObject(e){if(typeof e!=="object"||e===null)return false;if(Object.prototype.toString.call(e)!=="[object Object]")return false;const t=Object.getPrototypeOf(e);if(t===null)return true;const s=Object.prototype.hasOwnProperty.call(t,"constructor")&&t.constructor;return typeof s==="function"&&s instanceof s&&Function.prototype.call(s)===Function.prototype.call(e)}var u=s(3157);function getBufferResponse(e){return e.arrayBuffer()}function fetchWrapper(e){var t,s,r;const n=e.request&&e.request.log?e.request.log:console;const i=((t=e.request)==null?void 0:t.parseSuccessResponseBody)!==false;if(isPlainObject(e.body)||Array.isArray(e.body)){e.body=JSON.stringify(e.body)}let o={};let A;let a;let{fetch:c}=globalThis;if((s=e.request)==null?void 0:s.fetch){c=e.request.fetch}if(!c){throw new Error("fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing")}return c(e.url,{method:e.method,body:e.body,headers:e.headers,signal:(r=e.request)==null?void 0:r.signal,...e.body&&{duplex:"half"}}).then((async t=>{a=t.url;A=t.status;for(const e of t.headers){o[e[0]]=e[1]}if("deprecation"in o){const t=o.link&&o.link.match(/<([^>]+)>; rel="deprecation"/);const s=t&&t.pop();n.warn(`[@octokit/request] "${e.method} ${e.url}" is deprecated. It is scheduled to be removed on ${o.sunset}${s?`. See ${s}`:""}`)}if(A===204||A===205){return}if(e.method==="HEAD"){if(A<400){return}throw new u.RequestError(t.statusText,A,{response:{url:a,status:A,headers:o,data:void 0},request:e})}if(A===304){throw new u.RequestError("Not modified",A,{response:{url:a,status:A,headers:o,data:await getResponseData(t)},request:e})}if(A>=400){const s=await getResponseData(t);const r=new u.RequestError(toErrorMessage(s),A,{response:{url:a,status:A,headers:o,data:s},request:e});throw r}return i?await getResponseData(t):t.body})).then((e=>({status:A,url:a,headers:o,data:e}))).catch((t=>{if(t instanceof u.RequestError)throw t;else if(t.name==="AbortError")throw t;let s=t.message;if(t.name==="TypeError"&&"cause"in t){if(t.cause instanceof Error){s=t.cause.message}else if(typeof t.cause==="string"){s=t.cause}}throw new u.RequestError(s,500,{request:e})}))}async function getResponseData(e){const t=e.headers.get("content-type");if(/application\/json/.test(t)){return e.json().catch((()=>e.text())).catch((()=>""))}if(!t||/^text\/|charset=utf-8$/.test(t)){return e.text()}return getBufferResponse(e)}function toErrorMessage(e){if(typeof e==="string")return e;if("message"in e){if(Array.isArray(e.errors)){return`${e.message}: ${e.errors.map(JSON.stringify).join(", ")}`}return e.message}return`Unknown error: ${JSON.stringify(e)}`}function withDefaults(e,t){const s=e.defaults(t);const newApi=function(e,t){const r=s.merge(e,t);if(!r.request||!r.request.hook){return fetchWrapper(s.parse(r))}const request2=(e,t)=>fetchWrapper(s.parse(s.merge(e,t)));Object.assign(request2,{endpoint:s,defaults:withDefaults.bind(null,s)});return r.request.hook(request2,r)};return Object.assign(newApi,{endpoint:s,defaults:withDefaults.bind(null,s)})}var p=withDefaults(a.endpoint,{headers:{"user-agent":`octokit-request.js/${l} ${(0,c.getUserAgent)()}`}});0&&0},376:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ConsoleLogger=t.LogLevel=void 0;var s;(function(e){e["ERROR"]="error";e["WARN"]="warn";e["INFO"]="info";e["DEBUG"]="debug"})(s=t.LogLevel||(t.LogLevel={}));class ConsoleLogger{constructor(){this.level=s.INFO;this.name=""}getLevel(){return this.level}setLevel(e){this.level=e}setName(e){this.name=e}debug(...e){if(ConsoleLogger.isMoreOrEqualSevere(s.DEBUG,this.level)){console.debug(ConsoleLogger.labels.get(s.DEBUG),this.name,...e)}}info(...e){if(ConsoleLogger.isMoreOrEqualSevere(s.INFO,this.level)){console.info(ConsoleLogger.labels.get(s.INFO),this.name,...e)}}warn(...e){if(ConsoleLogger.isMoreOrEqualSevere(s.WARN,this.level)){console.warn(ConsoleLogger.labels.get(s.WARN),this.name,...e)}}error(...e){if(ConsoleLogger.isMoreOrEqualSevere(s.ERROR,this.level)){console.error(ConsoleLogger.labels.get(s.ERROR),this.name,...e)}}static isMoreOrEqualSevere(e,t){return ConsoleLogger.severity[e]>=ConsoleLogger.severity[t]}}t.ConsoleLogger=ConsoleLogger;ConsoleLogger.labels=(()=>{const e=Object.entries(s);const t=e.map((([e,t])=>[t,`[${e}] `]));return new Map(t)})();ConsoleLogger.severity={[s.ERROR]:400,[s.WARN]:300,[s.INFO]:200,[s.DEBUG]:100}},5577:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},2802:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},1781:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},7434:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},4068:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},7893:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},3048:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},5471:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},6479:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},8248:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},3729:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},8503:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},3833:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},1913:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},7047:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},8162:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},4744:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},9405:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},1699:function(e,t,s){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;var n=Object.getOwnPropertyDescriptor(t,s);if(!n||("get"in n?!t.__esModule:n.writable||n.configurable)){n={enumerable:true,get:function(){return t[s]}}}Object.defineProperty(e,r,n)}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var n=this&&this.__exportStar||function(e,t){for(var s in e)if(s!=="default"&&!Object.prototype.hasOwnProperty.call(t,s))r(t,e,s)};Object.defineProperty(t,"__esModule",{value:true});n(s(3048),t);n(s(5471),t);n(s(6479),t);n(s(8248),t);n(s(3729),t);n(s(8503),t);n(s(3833),t);n(s(1913),t);n(s(7047),t);n(s(8162),t);n(s(4744),t);n(s(9405),t);n(s(4594),t);n(s(4745),t);n(s(5189),t);n(s(1532),t);n(s(2064),t);n(s(9772),t);n(s(9504),t);n(s(8648),t);n(s(6279),t);n(s(4768),t);n(s(9546),t);n(s(9582),t);n(s(8616),t);n(s(6618),t)},4594:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},4745:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},5189:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},2064:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},1532:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},9772:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},9504:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},8648:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},6279:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},6618:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},4768:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},9546:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},9582:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},8616:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},353:function(e,t,s){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;var n=Object.getOwnPropertyDescriptor(t,s);if(!n||("get"in n?!t.__esModule:n.writable||n.configurable)){n={enumerable:true,get:function(){return t[s]}}}Object.defineProperty(e,r,n)}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var n=this&&this.__exportStar||function(e,t){for(var s in e)if(s!=="default"&&!Object.prototype.hasOwnProperty.call(t,s))r(t,e,s)};Object.defineProperty(t,"__esModule",{value:true});n(s(4068),t);n(s(7893),t);n(s(1699),t);n(s(6914),t);n(s(8921),t);n(s(3860),t);n(s(2802),t);n(s(1781),t);n(s(5577),t);n(s(7434),t)},8921:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},6914:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},3860:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},225:function(e,t,s){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;var n=Object.getOwnPropertyDescriptor(t,s);if(!n||("get"in n?!t.__esModule:n.writable||n.configurable)){n={enumerable:true,get:function(){return t[s]}}}Object.defineProperty(e,r,n)}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var s in e)if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s))r(t,e,s);n(t,e);return t};var o=this&&this.__awaiter||function(e,t,s,r){function adopt(e){return e instanceof s?e:new s((function(t){t(e)}))}return new(s||(s=Promise))((function(s,n){function fulfilled(e){try{step(r.next(e))}catch(e){n(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){n(e)}}function step(e){e.done?s(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())}))};var A=this&&this.__await||function(e){return this instanceof A?(this.v=e,this):new A(e)};var a=this&&this.__asyncGenerator||function(e,t,s){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=s.apply(e,t||[]),n,i=[];return n={},verb("next"),verb("throw"),verb("return",awaitReturn),n[Symbol.asyncIterator]=function(){return this},n;function awaitReturn(e){return function(t){return Promise.resolve(t).then(e,reject)}}function verb(e,t){if(r[e]){n[e]=function(t){return new Promise((function(s,r){i.push([e,t,s,r])>1||resume(e,t)}))};if(t)n[e]=t(n[e])}}function resume(e,t){try{step(r[e](t))}catch(e){settle(i[0][3],e)}}function step(e){e.value instanceof A?Promise.resolve(e.value.v).then(fulfill,reject):settle(i[0][2],e)}function fulfill(e){resume("next",e)}function reject(e){resume("throw",e)}function settle(e,t){if(e(t),i.shift(),i.length)resume(i[0][0],i[0][1])}};var c=this&&this.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],s;return t?t.call(e):(e=typeof __values==="function"?__values(e):e[Symbol.iterator](),s={},verb("next"),verb("throw"),verb("return"),s[Symbol.asyncIterator]=function(){return this},s);function verb(t){s[t]=e[t]&&function(s){return new Promise((function(r,n){s=e[t](s),settle(r,n,s.done,s.value)}))}}function settle(e,t,s,r){Promise.resolve(r).then((function(t){e({value:t,done:s})}),t)}};var l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.buildThreadTsWarningMessage=t.WebClient=t.WebClientEvent=void 0;const u=s(6760);const p=s(1792);const d=s(7975);const g=l(s(8522));const h=l(s(4531));const E=l(s(7124));const m=l(s(9537));const C=l(s(3828));const B=l(s(2016));const Q=i(s(435));const I=s(3749);const b=s(1024);const y=l(s(8689));const w=s(4259);const v=s(2666);const k=s(1926);const x=s(397);const R=["delete","common","get","put","head","post","link","patch","purge","unlink","options"];const D="Untitled";const S=200;const noopPageReducer=()=>undefined;var F;(function(e){e["RATE_LIMITED"]="rate_limited"})(F||(t.WebClientEvent=F={}));class WebClient extends k.Methods{constructor(e,{slackApiUrl:t="https://slack.com/api/",logger:s=undefined,logLevel:r=undefined,maxRequestConcurrency:n=100,retryConfig:i=x.tenRetriesInAboutThirtyMinutes,agent:o=undefined,tls:A=undefined,timeout:a=0,rejectRateLimitedCalls:c=false,headers:l={},teamId:u=undefined,attachOriginalToWebAPIRequestError:p=true}={}){super();this.token=e;this.slackApiUrl=t;this.retryConfig=i;this.requestQueue=new B.default({concurrency:n});this.tlsConfig=A!==undefined?A:{};this.rejectRateLimitedCalls=c;this.teamId=u;this.attachOriginalToWebAPIRequestError=p;if(typeof s!=="undefined"){this.logger=s;if(typeof r!=="undefined"){this.logger.debug("The logLevel given to WebClient was ignored as you also gave logger")}}else{this.logger=(0,v.getLogger)(WebClient.loggerName,r!==null&&r!==void 0?r:v.LogLevel.INFO,s)}if(this.token&&!l.Authorization)l.Authorization=`Bearer ${this.token}`;this.axios=h.default.create({timeout:a,baseURL:t,headers:(0,m.default)()?l:Object.assign({"User-Agent":(0,w.getUserAgent)()},l),httpAgent:o,httpsAgent:o,transformRequest:[this.serializeApiCallOptions.bind(this)],validateStatus:()=>true,maxRedirects:0,proxy:false});this.axios.defaults.headers.post["Content-Type"]=undefined;this.logger.debug("initialized")}apiCall(e,t={}){return o(this,void 0,void 0,(function*(){this.logger.debug(`apiCall('${e}') start`);warnDeprecations(e,this.logger);warnIfFallbackIsMissing(e,this.logger,t);warnIfThreadTsIsNotString(e,this.logger,t);if(typeof t==="string"||typeof t==="number"||typeof t==="boolean"){throw new TypeError(`Expected an options argument but instead received a ${typeof t}`)}(0,b.warnIfNotUsingFilesUploadV2)(e,this.logger);if(e==="files.uploadV2")return this.filesUploadV2(t);const s={};if(t.token)s.Authorization=`Bearer ${t.token}`;const r=yield this.makeRequest(e,Object.assign({team_id:this.teamId},t),s);const n=yield this.buildResult(r);this.logger.debug(`http request result: ${JSON.stringify(n)}`);if(n.response_metadata!==undefined&&n.response_metadata.warnings!==undefined){n.response_metadata.warnings.forEach(this.logger.warn.bind(this.logger))}if(n.response_metadata!==undefined&&n.response_metadata.messages!==undefined){for(const e of n.response_metadata.messages){const t=/\[ERROR\](.*)/;const s=/\[WARN\](.*)/;if(t.test(e)){const s=e.match(t);if(s!=null){this.logger.error(s[1].trim())}}else if(s.test(e)){const t=e.match(s);if(t!=null){this.logger.warn(t[1].trim())}}}}if(!n.ok&&r.headers["content-type"]!=="application/gzip"){throw(0,I.platformErrorFromResult)(n)}if("ok"in n&&n.ok===false){throw(0,I.platformErrorFromResult)(n)}this.logger.debug(`apiCall('${e}') end`);return n}))}paginate(e,t,s,r){const n=(()=>{if(t!==undefined&&typeof t.limit==="number"){const{limit:e}=t;t.limit=undefined;return e}return S})();function generatePages(){return a(this,arguments,(function*generatePages_1(){let s;let r={limit:n};if(t!==undefined&&t.cursor!==undefined){r.cursor=t.cursor}while(s===undefined||r!==undefined){s=yield A(this.apiCall(e,Object.assign(t!==undefined?t:{},r)));yield yield A(s);r=paginationOptionsForNextPage(s,n)}}))}if(s===undefined){return generatePages.call(this)}const i=r!==undefined?r:noopPageReducer;let l=0;return(()=>o(this,void 0,void 0,(function*(){var e,t,r,n;const o=generatePages.call(this);const A=yield o.next(undefined);const a=A.value;let u=i(undefined,a,l);l+=1;if(s(a)){return u}try{for(var p=true,d=c(o),g;g=yield d.next(),e=g.done,!e;p=true){n=g.value;p=false;const e=n;u=i(u,e,l);if(s(e)){return u}l+=1}}catch(e){t={error:e}}finally{try{if(!p&&!e&&(r=d.return))yield r.call(d)}finally{if(t)throw t.error}}return u})))()}filesUploadV2(e){return o(this,void 0,void 0,(function*(){this.logger.debug("files.uploadV2() start");const t=yield this.getAllFileUploads(e);const s=yield this.fetchAllUploadURLExternal(t);s.forEach(((e,s)=>{t[s].upload_url=e.upload_url;t[s].file_id=e.file_id}));yield this.postFileUploadsToExternalURL(t,e);const r=yield this.completeFileUploads(t);return{ok:true,files:r}}))}fetchAllUploadURLExternal(e){return o(this,void 0,void 0,(function*(){return Promise.all(e.map((e=>{const t={filename:e.filename,length:e.length,alt_text:e.alt_text,snippet_type:e.snippet_type};if("token"in e){t.token=e.token}return this.files.getUploadURLExternal(t)})))}))}completeFileUploads(e){return o(this,void 0,void 0,(function*(){const t=Object.values((0,b.getAllFileUploadsToComplete)(e));return Promise.all(t.map((e=>this.files.completeUploadExternal(e))))}))}postFileUploadsToExternalURL(e,t){return o(this,void 0,void 0,(function*(){return Promise.all(e.map((e=>o(this,void 0,void 0,(function*(){const{upload_url:s,file_id:r,filename:n,data:i}=e;const o=i;if(s){const e={};if(t.token)e.Authorization=`Bearer ${t.token}`;const i=yield this.makeRequest(s,{body:o},e);if(i.status!==200){return Promise.reject(Error(`Failed to upload file (id:${r}, filename: ${n})`))}const A={ok:true,body:i.data};return Promise.resolve(A)}return Promise.reject(Error(`No upload url found for file (id: ${r}, filename: ${n}`))})))))}))}getAllFileUploads(e){return o(this,void 0,void 0,(function*(){let t=[];if("file"in e||"content"in e){t.push(yield(0,b.getFileUploadJob)(e,this.logger))}if("file_uploads"in e){t=t.concat(yield(0,b.getMultipleFileUploadJobs)(e,this.logger))}return t}))}makeRequest(e,t,s={}){return o(this,void 0,void 0,(function*(){const task=()=>this.requestQueue.add((()=>o(this,void 0,void 0,(function*(){const r=e.startsWith("https"||0)?e:`${this.axios.getUri()+e}`;try{const n=Object.assign({headers:s},this.tlsConfig);if(e.endsWith("admin.analytics.getFile")){n.responseType="arraybuffer"}if(e.endsWith("apps.event.authorizations.list")){t.token=undefined}this.logger.debug(`http request url: ${r}`);this.logger.debug(`http request body: ${JSON.stringify(redact(t))}`);let i=Object.keys(this.axios.defaults.headers).reduce(((e,t)=>{if(!R.includes(t)){e[t]=this.axios.defaults.headers[t]}return e}),{});i=Object.assign(Object.assign(Object.assign({},this.axios.defaults.headers.common),i),s);this.logger.debug(`http request headers: ${JSON.stringify(redact(i))}`);const o=yield this.axios.post(e,t,n);this.logger.debug("http response received");if(o.status===429){const s=parseRetryHeaders(o);if(s!==undefined){this.emit(F.RATE_LIMITED,s,{url:e,body:t});if(this.rejectRateLimitedCalls){throw new Q.AbortError((0,I.rateLimitedErrorWithDelay)(s))}this.logger.info(`API Call failed due to rate limiting. Will retry in ${s} seconds.`);this.requestQueue.pause();yield(0,y.default)(s*1e3);this.requestQueue.start();throw new Error(`A rate limit was exceeded (url: ${e}, retry-after: ${s})`)}throw new Q.AbortError(new Error(`Retry header did not contain a valid timeout (url: ${e}, retry-after header: ${o.headers["retry-after"]})`))}if(o.status!==200){throw(0,I.httpErrorFromResponse)(o)}return o}catch(e){const t=e;this.logger.warn("http request failed",t.message);if(t.request){throw(0,I.requestErrorWithOriginal)(t,this.attachOriginalToWebAPIRequestError)}throw e}}))));return(0,Q.default)(task,this.retryConfig)}))}serializeApiCallOptions(e,t){let s=false;const r=Object.entries(e).map((([e,t])=>{if(t===undefined||t===null){return[]}let r=t;if(Buffer.isBuffer(t)||(0,C.default)(t)){s=true}else if(typeof t!=="string"&&typeof t!=="number"&&typeof t!=="boolean"){r=JSON.stringify(t)}return[e,r]}));if(s){this.logger.debug("Request arguments contain binary data");const e=r.reduce(((e,[t,s])=>{if(Buffer.isBuffer(s)||(0,C.default)(s)){const r={};r.filename=(()=>{const e=s;if(typeof e.name==="string"){return(0,u.basename)(e.name)}if(typeof e.path==="string"){return(0,u.basename)(e.path)}return D})();e.append(t,s,r)}else if(t!==undefined&&s!==undefined){e.append(t,s)}return e}),new E.default);if(t){for(const[s,r]of Object.entries(e.getHeaders())){t[s]=r}}return e}if(t)t["Content-Type"]="application/x-www-form-urlencoded";const n={};return(0,p.stringify)(r.reduce(((e,[t,s])=>{if(t!==undefined&&s!==undefined){e[t]=s}return e}),n))}buildResult(e){return o(this,void 0,void 0,(function*(){let{data:t}=e;const s=e.headers["content-type"]==="application/gzip";if(s){try{const e=yield new Promise(((e,s)=>{g.default.unzip(t,((t,r)=>{if(t){return s(t)}return e(r.toString().split("\n"))}))})).then((e=>e)).catch((e=>{throw e}));const s=[];if(Array.isArray(e)){for(const t of e){if(t&&t.length>0){s.push(JSON.parse(t))}}}t={file_data:s}}catch(e){t={ok:false,error:e}}}else if(!s&&e.request.path==="/api/admin.analytics.getFile"){t=JSON.parse((new d.TextDecoder).decode(t))}if(typeof t==="string"){try{t=JSON.parse(t)}catch(e){t={ok:false,error:t}}}if(t.response_metadata===undefined){t.response_metadata={}}if(e.headers["x-oauth-scopes"]!==undefined){t.response_metadata.scopes=e.headers["x-oauth-scopes"].trim().split(/\s*,\s*/)}if(e.headers["x-accepted-oauth-scopes"]!==undefined){t.response_metadata.acceptedScopes=e.headers["x-accepted-oauth-scopes"].trim().split(/\s*,\s*/)}const r=parseRetryHeaders(e);if(r!==undefined){t.response_metadata.retryAfter=r}return t}))}}t.WebClient=WebClient;WebClient.loggerName="WebClient";t["default"]=WebClient;function paginationOptionsForNextPage(e,t){if(e!==undefined&&e.response_metadata!==undefined&&e.response_metadata.next_cursor!==undefined&&e.response_metadata.next_cursor!==""){return{limit:t,cursor:e.response_metadata.next_cursor}}return undefined}function parseRetryHeaders(e){if(e.headers["retry-after"]!==undefined){const t=Number.parseInt(e.headers["retry-after"],10);if(!Number.isNaN(t)){return t}}return undefined}function warnDeprecations(e,t){const s=["workflows."];const r=s.some((t=>{const s=new RegExp(`^${t}`);return s.test(e)}));if(r){t.warn(`${e} is deprecated. Please check on https://api.slack.com/methods for an alternative.`)}}function warnIfFallbackIsMissing(e,t,s){const r=["chat.postEphemeral","chat.postMessage","chat.scheduleMessage"];const n=r.includes(e);const hasAttachments=e=>Array.isArray(e.attachments)&&e.attachments.length;const missingAttachmentFallbackDetected=e=>Array.isArray(e.attachments)&&e.attachments.some((e=>!e.fallback||e.fallback.trim()===""));const isEmptyText=e=>e.text===undefined||e.text===null||e.text==="";const buildMissingTextWarning=()=>`The top-level \`text\` argument is missing in the request payload for a ${e} call - It's a best practice to always provide a \`text\` argument when posting a message. The \`text\` is used in places where the content cannot be rendered such as: system push notifications, assistive technology such as screen readers, etc.`;const buildMissingFallbackWarning=()=>`Additionally, the attachment-level \`fallback\` argument is missing in the request payload for a ${e} call - To avoid this warning, it is recommended to always provide a top-level \`text\` argument when posting a message. Alternatively, you can provide an attachment-level \`fallback\` argument, though this is now considered a legacy field (see https://api.slack.com/reference/messaging/attachments#legacy_fields for more details).`;if(n&&typeof s==="object"){if(hasAttachments(s)){if(missingAttachmentFallbackDetected(s)&&isEmptyText(s)){t.warn(buildMissingTextWarning());t.warn(buildMissingFallbackWarning())}}else if(isEmptyText(s)){t.warn(buildMissingTextWarning())}}}function warnIfThreadTsIsNotString(e,t,s){const r=["chat.postEphemeral","chat.postMessage","chat.scheduleMessage","files.upload"];const n=r.includes(e);if(n&&(s===null||s===void 0?void 0:s.thread_ts)!==undefined&&typeof(s===null||s===void 0?void 0:s.thread_ts)!=="string"){t.warn(buildThreadTsWarningMessage(e))}}function buildThreadTsWarningMessage(e){return`The given thread_ts value in the request payload for a ${e} call is a float value. We highly recommend using a string value instead.`}t.buildThreadTsWarningMessage=buildThreadTsWarningMessage;function redact(e){const t=Object.entries(e).map((([e,t])=>{if(t===undefined||t===null){return[]}let s=t;if(e.match(/.*token.*/)!==null||e.match(/[Aa]uthorization/)){s="[[REDACTED]]"}if(Buffer.isBuffer(t)||(0,C.default)(t)){s="[[BINARY VALUE OMITTED]]"}else if(typeof t!=="string"&&typeof t!=="number"&&typeof t!=="boolean"){s=JSON.stringify(t)}return[e,s]}));const s={};return t.reduce(((e,[t,s])=>{if(t!==undefined&&s!==undefined){e[t]=s}return e}),s)}},3749:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.rateLimitedErrorWithDelay=t.platformErrorFromResult=t.httpErrorFromResponse=t.requestErrorWithOriginal=t.errorWithCode=t.ErrorCode=void 0;var s;(function(e){e["RequestError"]="slack_webapi_request_error";e["HTTPError"]="slack_webapi_http_error";e["PlatformError"]="slack_webapi_platform_error";e["RateLimitedError"]="slack_webapi_rate_limited_error";e["FileUploadInvalidArgumentsError"]="slack_webapi_file_upload_invalid_args_error";e["FileUploadReadFileDataError"]="slack_webapi_file_upload_read_file_data_error"})(s||(t.ErrorCode=s={}));function errorWithCode(e,t){const s=e;s.code=t;return s}t.errorWithCode=errorWithCode;function requestErrorWithOriginal(e,t){const r=errorWithCode(new Error(`A request error occurred: ${e.message}`),s.RequestError);if(t){r.original=e}return r}t.requestErrorWithOriginal=requestErrorWithOriginal;function httpErrorFromResponse(e){const t=errorWithCode(new Error(`An HTTP protocol error occurred: statusCode = ${e.status}`),s.HTTPError);t.statusCode=e.status;t.statusMessage=e.statusText;const r={};for(const t of Object.keys(e.headers)){if(t&&e.headers[t]){r[t]=e.headers[t]}}t.headers=r;t.body=e.data;return t}t.httpErrorFromResponse=httpErrorFromResponse;function platformErrorFromResult(e){const t=errorWithCode(new Error(`An API error occurred: ${e.error}`),s.PlatformError);t.data=e;return t}t.platformErrorFromResult=platformErrorFromResult;function rateLimitedErrorWithDelay(e){const t=errorWithCode(new Error(`A rate-limit has been reached, you may retry this request in ${e} seconds`),s.RateLimitedError);t.retryAfter=e;return t}t.rateLimitedErrorWithDelay=rateLimitedErrorWithDelay},1024:function(e,t,s){"use strict";var r=this&&this.__awaiter||function(e,t,s,r){function adopt(e){return e instanceof s?e:new s((function(t){t(e)}))}return new(s||(s=Promise))((function(s,n){function fulfilled(e){try{step(r.next(e))}catch(e){n(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){n(e)}}function step(e){e.done?s(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.buildInvalidFilesUploadParamError=t.buildMultipleChannelsErrorMsg=t.buildChannelsWarning=t.buildFilesUploadMissingMessage=t.buildGeneralFilesUploadWarning=t.buildLegacyMethodWarning=t.buildMissingExtensionWarning=t.buildMissingFileNameWarning=t.buildLegacyFileTypeWarning=t.buildFileSizeErrorMsg=t.buildMissingFileIdError=t.warnIfLegacyFileType=t.warnIfMissingOrInvalidFileNameAndDefault=t.errorIfInvalidOrMissingFileData=t.errorIfChannelsCsv=t.warnIfChannels=t.warnIfNotUsingFilesUploadV2=t.getAllFileUploadsToComplete=t.getFileDataAsStream=t.getFileDataLength=t.getFileData=t.getMultipleFileUploadJobs=t.getFileUploadJob=void 0;const n=s(3024);const i=s(7075);const o=s(3749);function getFileUploadJob(e,t){var s,n,i,A;return r(this,void 0,void 0,(function*(){warnIfLegacyFileType(e,t);warnIfChannels(e,t);errorIfChannelsCsv(e);const r=warnIfMissingOrInvalidFileNameAndDefault(e,t);const a=yield getFileData(e);const c=getFileDataLength(a);const l={alt_text:e.alt_text,channel_id:(s=e.channels)!==null&&s!==void 0?s:e.channel_id,filename:(n=e.filename)!==null&&n!==void 0?n:r,initial_comment:e.initial_comment,snippet_type:e.snippet_type,title:(A=(i=e.title)!==null&&i!==void 0?i:e.filename)!==null&&A!==void 0?A:r,data:a,length:c};if("thread_ts"in e){l.thread_ts=e.thread_ts}if("token"in e){l.token=e.token}if("content"in e){return Object.assign({content:e.content},l)}if("file"in e){return Object.assign({file:e.file},l)}throw(0,o.errorWithCode)(new Error("Either a file or content field is required for valid file upload. You must supply one"),o.ErrorCode.FileUploadInvalidArgumentsError)}))}t.getFileUploadJob=getFileUploadJob;function getMultipleFileUploadJobs(e,t){return r(this,void 0,void 0,(function*(){if("file_uploads"in e){return Promise.all(e.file_uploads.map((s=>{const{channel_id:r,channels:n,initial_comment:i,thread_ts:A}=s;if(r||n||i||A){throw(0,o.errorWithCode)(new Error(buildInvalidFilesUploadParamError()),o.ErrorCode.FileUploadInvalidArgumentsError)}const a=Object.assign(Object.assign({},s),{channels:e.channels,channel_id:e.channel_id,initial_comment:e.initial_comment});if("thread_ts"in e){a.thread_ts=e.thread_ts}if("token"in e){a.token=e.token}if("content"in s){return getFileUploadJob(Object.assign({content:s.content},a),t)}if("file"in s){return getFileUploadJob(Object.assign({file:s.file},a),t)}throw(0,o.errorWithCode)(new Error("Either a file or content field is required for valid file upload. You must supply one"),o.ErrorCode.FileUploadInvalidArgumentsError)})))}throw new Error(buildFilesUploadMissingMessage())}))}t.getMultipleFileUploadJobs=getMultipleFileUploadJobs;function getFileData(e){return r(this,void 0,void 0,(function*(){errorIfInvalidOrMissingFileData(e);if("file"in e){const{file:t}=e;if(Buffer.isBuffer(t))return t;if(typeof t==="string"){try{const e=(0,n.readFileSync)(t);return e}catch(e){throw(0,o.errorWithCode)(new Error(`Unable to resolve file data for ${t}. Please supply a filepath string, or binary data Buffer or String directly.`),o.ErrorCode.FileUploadInvalidArgumentsError)}}const s=yield getFileDataAsStream(t);if(s)return s}if("content"in e)return Buffer.from(e.content);throw(0,o.errorWithCode)(new Error("There was an issue getting the file data for the file or content supplied"),o.ErrorCode.FileUploadReadFileDataError)}))}t.getFileData=getFileData;function getFileDataLength(e){if(e){return Buffer.byteLength(e,"utf8")}throw(0,o.errorWithCode)(new Error(buildFileSizeErrorMsg()),o.ErrorCode.FileUploadReadFileDataError)}t.getFileDataLength=getFileDataLength;function getFileDataAsStream(e){return r(this,void 0,void 0,(function*(){const t=[];return new Promise(((s,r)=>{e.on("readable",(()=>{let s;while((s=e.read())!==null){t.push(s)}}));e.on("end",(()=>{if(t.length>0){const e=Buffer.concat(t);s(e)}else{r(Error("No data in supplied file"))}}))}))}))}t.getFileDataAsStream=getFileDataAsStream;function getAllFileUploadsToComplete(e){const t={};for(const s of e){const{channel_id:e,thread_ts:r,initial_comment:n,file_id:i,title:o}=s;if(i){const A=`:::${e}:::${r}:::${n}`;if(!Object.prototype.hasOwnProperty.call(t,A)){t[A]={files:[{id:i,title:o}],channel_id:e,initial_comment:n};if(r){t[A].thread_ts=s.thread_ts}if("token"in s){t[A].token=s.token}}else{t[A].files.push({id:i,title:o})}}else{throw new Error(buildMissingFileIdError())}}return t}t.getAllFileUploadsToComplete=getAllFileUploadsToComplete;function warnIfNotUsingFilesUploadV2(e,t){const s=["files.upload"];const r=s.includes(e);if(e==="files.upload")t.warn(buildLegacyMethodWarning(e));if(r)t.info(buildGeneralFilesUploadWarning())}t.warnIfNotUsingFilesUploadV2=warnIfNotUsingFilesUploadV2;function warnIfChannels(e,t){if(e.channels)t.warn(buildChannelsWarning())}t.warnIfChannels=warnIfChannels;function errorIfChannelsCsv(e){const t=e.channels?e.channels.split(","):[];if(t.length>1){throw(0,o.errorWithCode)(new Error(buildMultipleChannelsErrorMsg()),o.ErrorCode.FileUploadInvalidArgumentsError)}}t.errorIfChannelsCsv=errorIfChannelsCsv;function errorIfInvalidOrMissingFileData(e){const t="file"in e;const s="content"in e;if(!(t||s)||t&&s){throw(0,o.errorWithCode)(new Error("Either a file or content field is required for valid file upload. You cannot supply both"),o.ErrorCode.FileUploadInvalidArgumentsError)}if("file"in e){const{file:t}=e;if(t&&!(typeof t==="string"||Buffer.isBuffer(t)||t instanceof i.Readable)){throw(0,o.errorWithCode)(new Error("file must be a valid string path, buffer or Readable"),o.ErrorCode.FileUploadInvalidArgumentsError)}}if("content"in e&&e.content&&typeof e.content!=="string"){throw(0,o.errorWithCode)(new Error("content must be a string"),o.ErrorCode.FileUploadInvalidArgumentsError)}}t.errorIfInvalidOrMissingFileData=errorIfInvalidOrMissingFileData;function warnIfMissingOrInvalidFileNameAndDefault(e,t){var s;const r="txt";const n=`file.${(s=e.filetype)!==null&&s!==void 0?s:r}`;const{filename:i}=e;if(!i){t.warn(buildMissingFileNameWarning());return n}if(i.split(".").length<2){t.warn(buildMissingExtensionWarning(i))}return i}t.warnIfMissingOrInvalidFileNameAndDefault=warnIfMissingOrInvalidFileNameAndDefault;function warnIfLegacyFileType(e,t){if(e.filetype){t.warn(buildLegacyFileTypeWarning())}}t.warnIfLegacyFileType=warnIfLegacyFileType;function buildMissingFileIdError(){return"Missing required file id for file upload completion"}t.buildMissingFileIdError=buildMissingFileIdError;function buildFileSizeErrorMsg(){return"There was an issue calculating the size of your file"}t.buildFileSizeErrorMsg=buildFileSizeErrorMsg;function buildLegacyFileTypeWarning(){return"filetype is no longer a supported field in files.uploadV2."+" \nPlease remove this field. To indicate file type, please do so via the required filename property"+" using the appropriate file extension, e.g. image.png, text.txt"}t.buildLegacyFileTypeWarning=buildLegacyFileTypeWarning;function buildMissingFileNameWarning(){return"filename is a required field for files.uploadV2. \n For backwards compatibility and ease of migration, "+"defaulting the filename. For best experience and consistent unfurl behavior, you"+" should set the filename property with correct file extension, e.g. image.png, text.txt"}t.buildMissingFileNameWarning=buildMissingFileNameWarning;function buildMissingExtensionWarning(e){return`filename supplied '${e}' may be missing a proper extension. Missing extenions may result in unexpected unfurl behavior when shared`}t.buildMissingExtensionWarning=buildMissingExtensionWarning;function buildLegacyMethodWarning(e){return`${e} may cause some issues like timeouts for relatively large files.`}t.buildLegacyMethodWarning=buildLegacyMethodWarning;function buildGeneralFilesUploadWarning(){return"Our latest recommendation is to use client.files.uploadV2() method, "+"which is mostly compatible and much stabler, instead."}t.buildGeneralFilesUploadWarning=buildGeneralFilesUploadWarning;function buildFilesUploadMissingMessage(){return"Something went wrong with processing file_uploads"}t.buildFilesUploadMissingMessage=buildFilesUploadMissingMessage;function buildChannelsWarning(){return"Although the 'channels' parameter is still supported for smoother migration from legacy files.upload, "+"we recommend using the new channel_id parameter with a single str value instead (e.g. 'C12345')."}t.buildChannelsWarning=buildChannelsWarning;function buildMultipleChannelsErrorMsg(){return"Sharing files with multiple channels is no longer supported in v2. Share files in each channel separately instead."}t.buildMultipleChannelsErrorMsg=buildMultipleChannelsErrorMsg;function buildInvalidFilesUploadParamError(){return"You may supply file_uploads only for a single channel, comment, thread respectively. "+"Therefore, please supply any channel_id, initial_comment, thread_ts in the top-layer."}t.buildInvalidFilesUploadParamError=buildInvalidFilesUploadParamError},8689:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function delay(e){return new Promise((t=>{setTimeout(t,e)}))}t["default"]=delay},1364:function(e,t,s){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;var n=Object.getOwnPropertyDescriptor(t,s);if(!n||("get"in n?!t.__esModule:n.writable||n.configurable)){n={enumerable:true,get:function(){return t[s]}}}Object.defineProperty(e,r,n)}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var n=this&&this.__exportStar||function(e,t){for(var s in e)if(s!=="default"&&!Object.prototype.hasOwnProperty.call(t,s))r(t,e,s)};var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.addAppMetadata=t.retryPolicies=t.ErrorCode=t.LogLevel=t.WebClientEvent=t.WebClient=void 0;var o=s(225);Object.defineProperty(t,"WebClient",{enumerable:true,get:function(){return o.WebClient}});Object.defineProperty(t,"WebClientEvent",{enumerable:true,get:function(){return o.WebClientEvent}});var A=s(2666);Object.defineProperty(t,"LogLevel",{enumerable:true,get:function(){return A.LogLevel}});var a=s(3749);Object.defineProperty(t,"ErrorCode",{enumerable:true,get:function(){return a.ErrorCode}});var c=s(397);Object.defineProperty(t,"retryPolicies",{enumerable:true,get:function(){return i(c).default}});var l=s(4259);Object.defineProperty(t,"addAppMetadata",{enumerable:true,get:function(){return l.addAppMetadata}});n(s(1926),t);n(s(2780),t);n(s(2208),t)},4259:function(e,t,s){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;var n=Object.getOwnPropertyDescriptor(t,s);if(!n||("get"in n?!t.__esModule:n.writable||n.configurable)){n={enumerable:true,get:function(){return t[s]}}}Object.defineProperty(e,r,n)}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var s in e)if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s))r(t,e,s);n(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.getUserAgent=t.addAppMetadata=void 0;const o=i(s(8161));const A=s(6760);const a=s(2315);function replaceSlashes(e){return e.replace("/",":")}const c=`${replaceSlashes(a.name)}/${a.version} `+`${(0,A.basename)(process.title)}/${process.version.replace("v","")} `+`${o.platform()}/${o.release()}`;const l={};function addAppMetadata({name:e,version:t}){l[replaceSlashes(e)]=t}t.addAppMetadata=addAppMetadata;function getUserAgent(){const e=Object.entries(l).map((([e,t])=>`${e}/${t}`)).join(" ");return(e.length>0?`${e} `:"")+c}t.getUserAgent=getUserAgent},2666:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getLogger=t.LogLevel=void 0;const r=s(376);var n=s(376);Object.defineProperty(t,"LogLevel",{enumerable:true,get:function(){return n.LogLevel}});let i=0;function getLogger(e,t,s){const n=i;i+=1;const o=(()=>{if(s!==undefined){return s}return new r.ConsoleLogger})();o.setName(`web-api:${e}:${n}`);if(t!==undefined){o.setLevel(t)}return o}t.getLogger=getLogger},1926:function(e,t,s){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;var n=Object.getOwnPropertyDescriptor(t,s);if(!n||("get"in n?!t.__esModule:n.writable||n.configurable)){n={enumerable:true,get:function(){return t[s]}}}Object.defineProperty(e,r,n)}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var n=this&&this.__exportStar||function(e,t){for(var s in e)if(s!=="default"&&!Object.prototype.hasOwnProperty.call(t,s))r(t,e,s)};Object.defineProperty(t,"__esModule",{value:true});t.Methods=void 0;const i=s(7903);const o=s(225);function bindApiCall(e,t){const s=e.apiCall.bind(e,t);return s}function bindApiCallWithOptionalArgument(e,t){const s=e.apiCall.bind(e,t);return s}function bindFilesUploadV2(e){return e.filesUploadV2.bind(e)}class Methods extends i.EventEmitter{constructor(){super();this.admin={analytics:{getFile:bindApiCall(this,"admin.analytics.getFile")},apps:{activities:{list:bindApiCallWithOptionalArgument(this,"admin.apps.activities.list")},approve:bindApiCall(this,"admin.apps.approve"),approved:{list:bindApiCall(this,"admin.apps.approved.list")},clearResolution:bindApiCall(this,"admin.apps.clearResolution"),config:{lookup:bindApiCall(this,"admin.apps.config.lookup"),set:bindApiCall(this,"admin.apps.config.set")},requests:{cancel:bindApiCall(this,"admin.apps.requests.cancel"),list:bindApiCall(this,"admin.apps.requests.list")},restrict:bindApiCall(this,"admin.apps.restrict"),restricted:{list:bindApiCall(this,"admin.apps.restricted.list")},uninstall:bindApiCall(this,"admin.apps.uninstall")},auth:{policy:{assignEntities:bindApiCall(this,"admin.auth.policy.assignEntities"),getEntities:bindApiCall(this,"admin.auth.policy.getEntities"),removeEntities:bindApiCall(this,"admin.auth.policy.removeEntities")}},barriers:{create:bindApiCall(this,"admin.barriers.create"),delete:bindApiCall(this,"admin.barriers.delete"),list:bindApiCallWithOptionalArgument(this,"admin.barriers.list"),update:bindApiCall(this,"admin.barriers.update")},conversations:{archive:bindApiCall(this,"admin.conversations.archive"),bulkArchive:bindApiCall(this,"admin.conversations.bulkArchive"),bulkDelete:bindApiCall(this,"admin.conversations.bulkDelete"),bulkMove:bindApiCall(this,"admin.conversations.bulkMove"),convertToPrivate:bindApiCall(this,"admin.conversations.convertToPrivate"),convertToPublic:bindApiCall(this,"admin.conversations.convertToPublic"),create:bindApiCall(this,"admin.conversations.create"),delete:bindApiCall(this,"admin.conversations.delete"),disconnectShared:bindApiCall(this,"admin.conversations.disconnectShared"),ekm:{listOriginalConnectedChannelInfo:bindApiCallWithOptionalArgument(this,"admin.conversations.ekm.listOriginalConnectedChannelInfo")},getConversationPrefs:bindApiCall(this,"admin.conversations.getConversationPrefs"),getCustomRetention:bindApiCall(this,"admin.conversations.getCustomRetention"),getTeams:bindApiCall(this,"admin.conversations.getTeams"),invite:bindApiCall(this,"admin.conversations.invite"),lookup:bindApiCall(this,"admin.conversations.lookup"),removeCustomRetention:bindApiCall(this,"admin.conversations.removeCustomRetention"),rename:bindApiCall(this,"admin.conversations.rename"),restrictAccess:{addGroup:bindApiCall(this,"admin.conversations.restrictAccess.addGroup"),listGroups:bindApiCall(this,"admin.conversations.restrictAccess.listGroups"),removeGroup:bindApiCall(this,"admin.conversations.restrictAccess.removeGroup")},search:bindApiCallWithOptionalArgument(this,"admin.conversations.search"),setConversationPrefs:bindApiCall(this,"admin.conversations.setConversationPrefs"),setCustomRetention:bindApiCall(this,"admin.conversations.setCustomRetention"),setTeams:bindApiCall(this,"admin.conversations.setTeams"),unarchive:bindApiCall(this,"admin.conversations.unarchive")},emoji:{add:bindApiCall(this,"admin.emoji.add"),addAlias:bindApiCall(this,"admin.emoji.addAlias"),list:bindApiCallWithOptionalArgument(this,"admin.emoji.list"),remove:bindApiCall(this,"admin.emoji.remove"),rename:bindApiCall(this,"admin.emoji.rename")},functions:{list:bindApiCall(this,"admin.functions.list"),permissions:{lookup:bindApiCall(this,"admin.functions.permissions.lookup"),set:bindApiCall(this,"admin.functions.permissions.set")}},inviteRequests:{approve:bindApiCall(this,"admin.inviteRequests.approve"),approved:{list:bindApiCall(this,"admin.inviteRequests.approved.list")},denied:{list:bindApiCall(this,"admin.inviteRequests.denied.list")},deny:bindApiCall(this,"admin.inviteRequests.deny"),list:bindApiCall(this,"admin.inviteRequests.list")},roles:{addAssignments:bindApiCall(this,"admin.roles.addAssignments"),listAssignments:bindApiCallWithOptionalArgument(this,"admin.roles.listAssignments"),removeAssignments:bindApiCall(this,"admin.roles.removeAssignments")},teams:{admins:{list:bindApiCall(this,"admin.teams.admins.list")},create:bindApiCall(this,"admin.teams.create"),list:bindApiCallWithOptionalArgument(this,"admin.teams.list"),owners:{list:bindApiCall(this,"admin.teams.owners.list")},settings:{info:bindApiCall(this,"admin.teams.settings.info"),setDefaultChannels:bindApiCall(this,"admin.teams.settings.setDefaultChannels"),setDescription:bindApiCall(this,"admin.teams.settings.setDescription"),setDiscoverability:bindApiCall(this,"admin.teams.settings.setDiscoverability"),setIcon:bindApiCall(this,"admin.teams.settings.setIcon"),setName:bindApiCall(this,"admin.teams.settings.setName")}},usergroups:{addChannels:bindApiCall(this,"admin.usergroups.addChannels"),addTeams:bindApiCall(this,"admin.usergroups.addTeams"),listChannels:bindApiCall(this,"admin.usergroups.listChannels"),removeChannels:bindApiCall(this,"admin.usergroups.removeChannels")},users:{assign:bindApiCall(this,"admin.users.assign"),invite:bindApiCall(this,"admin.users.invite"),list:bindApiCallWithOptionalArgument(this,"admin.users.list"),remove:bindApiCall(this,"admin.users.remove"),session:{clearSettings:bindApiCall(this,"admin.users.session.clearSettings"),getSettings:bindApiCall(this,"admin.users.session.getSettings"),invalidate:bindApiCall(this,"admin.users.session.invalidate"),list:bindApiCallWithOptionalArgument(this,"admin.users.session.list"),reset:bindApiCall(this,"admin.users.session.reset"),resetBulk:bindApiCall(this,"admin.users.session.resetBulk"),setSettings:bindApiCall(this,"admin.users.session.setSettings")},setAdmin:bindApiCall(this,"admin.users.setAdmin"),setExpiration:bindApiCall(this,"admin.users.setExpiration"),setOwner:bindApiCall(this,"admin.users.setOwner"),setRegular:bindApiCall(this,"admin.users.setRegular"),unsupportedVersions:{export:bindApiCall(this,"admin.users.unsupportedVersions.export")}},workflows:{collaborators:{add:bindApiCall(this,"admin.workflows.collaborators.add"),remove:bindApiCall(this,"admin.workflows.collaborators.remove")},permissions:{lookup:bindApiCall(this,"admin.workflows.permissions.lookup")},search:bindApiCallWithOptionalArgument(this,"admin.workflows.search"),unpublish:bindApiCall(this,"admin.workflows.unpublish")}};this.api={test:bindApiCallWithOptionalArgument(this,"api.test")};this.assistant={threads:{setStatus:bindApiCall(this,"assistant.threads.setStatus"),setSuggestedPrompts:bindApiCall(this,"assistant.threads.setSuggestedPrompts"),setTitle:bindApiCall(this,"assistant.threads.setTitle")}};this.apps={connections:{open:bindApiCallWithOptionalArgument(this,"apps.connections.open")},event:{authorizations:{list:bindApiCall(this,"apps.event.authorizations.list")}},manifest:{create:bindApiCall(this,"apps.manifest.create"),delete:bindApiCall(this,"apps.manifest.delete"),export:bindApiCall(this,"apps.manifest.export"),update:bindApiCall(this,"apps.manifest.update"),validate:bindApiCall(this,"apps.manifest.validate")},uninstall:bindApiCall(this,"apps.uninstall")};this.auth={revoke:bindApiCallWithOptionalArgument(this,"auth.revoke"),teams:{list:bindApiCallWithOptionalArgument(this,"auth.teams.list")},test:bindApiCallWithOptionalArgument(this,"auth.test")};this.bookmarks={add:bindApiCall(this,"bookmarks.add"),edit:bindApiCall(this,"bookmarks.edit"),list:bindApiCall(this,"bookmarks.list"),remove:bindApiCall(this,"bookmarks.remove")};this.bots={info:bindApiCallWithOptionalArgument(this,"bots.info")};this.calls={add:bindApiCall(this,"calls.add"),end:bindApiCall(this,"calls.end"),info:bindApiCall(this,"calls.info"),update:bindApiCall(this,"calls.update"),participants:{add:bindApiCall(this,"calls.participants.add"),remove:bindApiCall(this,"calls.participants.remove")}};this.canvases={access:{delete:bindApiCall(this,"canvases.access.delete"),set:bindApiCall(this,"canvases.access.set")},create:bindApiCallWithOptionalArgument(this,"canvases.create"),delete:bindApiCall(this,"canvases.delete"),edit:bindApiCall(this,"canvases.edit"),sections:{lookup:bindApiCall(this,"canvases.sections.lookup")}};this.chat={delete:bindApiCall(this,"chat.delete"),deleteScheduledMessage:bindApiCall(this,"chat.deleteScheduledMessage"),getPermalink:bindApiCall(this,"chat.getPermalink"),meMessage:bindApiCall(this,"chat.meMessage"),postEphemeral:bindApiCall(this,"chat.postEphemeral"),postMessage:bindApiCall(this,"chat.postMessage"),scheduleMessage:bindApiCall(this,"chat.scheduleMessage"),scheduledMessages:{list:bindApiCallWithOptionalArgument(this,"chat.scheduledMessages.list")},unfurl:bindApiCall(this,"chat.unfurl"),update:bindApiCall(this,"chat.update")};this.conversations={acceptSharedInvite:bindApiCall(this,"conversations.acceptSharedInvite"),approveSharedInvite:bindApiCall(this,"conversations.approveSharedInvite"),archive:bindApiCall(this,"conversations.archive"),canvases:{create:bindApiCall(this,"conversations.canvases.create")},close:bindApiCall(this,"conversations.close"),create:bindApiCall(this,"conversations.create"),declineSharedInvite:bindApiCall(this,"conversations.declineSharedInvite"),externalInvitePermissions:{set:bindApiCall(this,"conversations.externalInvitePermissions.set")},history:bindApiCall(this,"conversations.history"),info:bindApiCall(this,"conversations.info"),invite:bindApiCall(this,"conversations.invite"),inviteShared:bindApiCall(this,"conversations.inviteShared"),join:bindApiCall(this,"conversations.join"),kick:bindApiCall(this,"conversations.kick"),leave:bindApiCall(this,"conversations.leave"),list:bindApiCallWithOptionalArgument(this,"conversations.list"),listConnectInvites:bindApiCallWithOptionalArgument(this,"conversations.listConnectInvites"),mark:bindApiCall(this,"conversations.mark"),members:bindApiCall(this,"conversations.members"),open:bindApiCall(this,"conversations.open"),rename:bindApiCall(this,"conversations.rename"),replies:bindApiCall(this,"conversations.replies"),requestSharedInvite:{approve:bindApiCall(this,"conversations.requestSharedInvite.approve"),deny:bindApiCall(this,"conversations.requestSharedInvite.deny")},setPurpose:bindApiCall(this,"conversations.setPurpose"),setTopic:bindApiCall(this,"conversations.setTopic"),unarchive:bindApiCall(this,"conversations.unarchive")};this.dialog={open:bindApiCall(this,"dialog.open")};this.dnd={endDnd:bindApiCallWithOptionalArgument(this,"dnd.endDnd"),endSnooze:bindApiCallWithOptionalArgument(this,"dnd.endSnooze"),info:bindApiCallWithOptionalArgument(this,"dnd.info"),setSnooze:bindApiCall(this,"dnd.setSnooze"),teamInfo:bindApiCall(this,"dnd.teamInfo")};this.emoji={list:bindApiCallWithOptionalArgument(this,"emoji.list")};this.files={completeUploadExternal:bindApiCall(this,"files.completeUploadExternal"),delete:bindApiCall(this,"files.delete"),getUploadURLExternal:bindApiCall(this,"files.getUploadURLExternal"),info:bindApiCall(this,"files.info"),list:bindApiCall(this,"files.list"),revokePublicURL:bindApiCall(this,"files.revokePublicURL"),sharedPublicURL:bindApiCall(this,"files.sharedPublicURL"),upload:bindApiCall(this,"files.upload"),uploadV2:bindFilesUploadV2(this),comments:{delete:bindApiCall(this,"files.comments.delete")},remote:{add:bindApiCall(this,"files.remote.add"),info:bindApiCall(this,"files.remote.info"),list:bindApiCall(this,"files.remote.list"),remove:bindApiCall(this,"files.remote.remove"),share:bindApiCall(this,"files.remote.share"),update:bindApiCall(this,"files.remote.update")}};this.functions={completeError:bindApiCall(this,"functions.completeError"),completeSuccess:bindApiCall(this,"functions.completeSuccess")};this.migration={exchange:bindApiCall(this,"migration.exchange")};this.oauth={access:bindApiCall(this,"oauth.access"),v2:{access:bindApiCall(this,"oauth.v2.access"),exchange:bindApiCall(this,"oauth.v2.exchange")}};this.openid={connect:{token:bindApiCall(this,"openid.connect.token"),userInfo:bindApiCallWithOptionalArgument(this,"openid.connect.userInfo")}};this.pins={add:bindApiCall(this,"pins.add"),list:bindApiCall(this,"pins.list"),remove:bindApiCall(this,"pins.remove")};this.reactions={add:bindApiCall(this,"reactions.add"),get:bindApiCall(this,"reactions.get"),list:bindApiCallWithOptionalArgument(this,"reactions.list"),remove:bindApiCall(this,"reactions.remove")};this.reminders={add:bindApiCall(this,"reminders.add"),complete:bindApiCall(this,"reminders.complete"),delete:bindApiCall(this,"reminders.delete"),info:bindApiCall(this,"reminders.info"),list:bindApiCallWithOptionalArgument(this,"reminders.list")};this.rtm={connect:bindApiCallWithOptionalArgument(this,"rtm.connect"),start:bindApiCallWithOptionalArgument(this,"rtm.start")};this.search={all:bindApiCall(this,"search.all"),files:bindApiCall(this,"search.files"),messages:bindApiCall(this,"search.messages")};this.team={accessLogs:bindApiCallWithOptionalArgument(this,"team.accessLogs"),billableInfo:bindApiCallWithOptionalArgument(this,"team.billableInfo"),billing:{info:bindApiCall(this,"team.billing.info")},externalTeams:{disconnect:bindApiCall(this,"team.externalTeams.disconnect"),list:bindApiCall(this,"team.externalTeams.list")},info:bindApiCallWithOptionalArgument(this,"team.info"),integrationLogs:bindApiCallWithOptionalArgument(this,"team.integrationLogs"),preferences:{list:bindApiCallWithOptionalArgument(this,"team.preferences.list")},profile:{get:bindApiCallWithOptionalArgument(this,"team.profile.get")}};this.tooling={tokens:{rotate:bindApiCall(this,"tooling.tokens.rotate")}};this.usergroups={create:bindApiCall(this,"usergroups.create"),disable:bindApiCall(this,"usergroups.disable"),enable:bindApiCall(this,"usergroups.enable"),list:bindApiCallWithOptionalArgument(this,"usergroups.list"),update:bindApiCall(this,"usergroups.update"),users:{list:bindApiCall(this,"usergroups.users.list"),update:bindApiCall(this,"usergroups.users.update")}};this.users={conversations:bindApiCall(this,"users.conversations"),deletePhoto:bindApiCall(this,"users.deletePhoto"),discoverableContacts:{lookup:bindApiCall(this,"users.discoverableContacts.lookup")},getPresence:bindApiCall(this,"users.getPresence"),identity:bindApiCall(this,"users.identity"),info:bindApiCall(this,"users.info"),list:bindApiCall(this,"users.list"),lookupByEmail:bindApiCall(this,"users.lookupByEmail"),setPhoto:bindApiCall(this,"users.setPhoto"),setPresence:bindApiCall(this,"users.setPresence"),profile:{get:bindApiCall(this,"users.profile.get"),set:bindApiCall(this,"users.profile.set")}};this.views={open:bindApiCall(this,"views.open"),publish:bindApiCall(this,"views.publish"),push:bindApiCall(this,"views.push"),update:bindApiCall(this,"views.update")};this.stars={add:bindApiCall(this,"stars.add"),list:bindApiCall(this,"stars.list"),remove:bindApiCall(this,"stars.remove")};this.workflows={stepCompleted:bindApiCall(this,"workflows.stepCompleted"),stepFailed:bindApiCall(this,"workflows.stepFailed"),updateStep:bindApiCall(this,"workflows.updateStep")};if(new.target!==o.WebClient&&!(new.target.prototype instanceof o.WebClient)){throw new Error("Attempt to inherit from WebClient methods without inheriting from WebClient")}}}t.Methods=Methods;n(s(353),t)},397:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.rapidRetryPolicy=t.fiveRetriesInFiveMinutes=t.tenRetriesInAboutThirtyMinutes=void 0;t.tenRetriesInAboutThirtyMinutes={retries:10,factor:1.96821,randomize:true};t.fiveRetriesInFiveMinutes={retries:5,factor:3.86};t.rapidRetryPolicy={minTimeout:0,maxTimeout:1};const s={tenRetriesInAboutThirtyMinutes:t.tenRetriesInAboutThirtyMinutes,fiveRetriesInFiveMinutes:t.fiveRetriesInFiveMinutes,rapidRetryPolicy:t.rapidRetryPolicy};t["default"]=s},2780:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},2208:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},3761:(e,t,s)=>{e.exports={parallel:s(3550),serial:s(9553),serialOrdered:s(3148)}},2555:e=>{e.exports=abort;function abort(e){Object.keys(e.jobs).forEach(clean.bind(e));e.jobs={}}function clean(e){if(typeof this.jobs[e]=="function"){this.jobs[e]()}}},6937:(e,t,s)=>{var r=s(2562);e.exports=async;function async(e){var t=false;r((function(){t=true}));return function async_callback(s,n){if(t){e(s,n)}else{r((function nextTick_callback(){e(s,n)}))}}}},2562:e=>{e.exports=defer;function defer(e){var t=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;if(t){t(e)}else{setTimeout(e,0)}}},2659:(e,t,s)=>{var r=s(6937),n=s(2555);e.exports=iterate;function iterate(e,t,s,r){var i=s["keyedList"]?s["keyedList"][s.index]:s.index;s.jobs[i]=runJob(t,i,e[i],(function(e,t){if(!(i in s.jobs)){return}delete s.jobs[i];if(e){n(s)}else{s.results[i]=t}r(e,s.results)}))}function runJob(e,t,s,n){var i;if(e.length==2){i=e(s,r(n))}else{i=e(s,t,r(n))}return i}},5996:e=>{e.exports=state;function state(e,t){var s=!Array.isArray(e),r={index:0,keyedList:s||t?Object.keys(e):null,jobs:{},results:s?{}:[],size:s?Object.keys(e).length:e.length};if(t){r.keyedList.sort(s?t:function(s,r){return t(e[s],e[r])})}return r}},7460:(e,t,s)=>{var r=s(2555),n=s(6937);e.exports=terminator;function terminator(e){if(!Object.keys(this.jobs).length){return}this.index=this.size;r(this);n(e)(null,this.results)}},3550:(e,t,s)=>{var r=s(2659),n=s(5996),i=s(7460);e.exports=parallel;function parallel(e,t,s){var o=n(e);while(o.index<(o["keyedList"]||e).length){r(e,t,o,(function(e,t){if(e){s(e,t);return}if(Object.keys(o.jobs).length===0){s(null,o.results);return}}));o.index++}return i.bind(o,s)}},9553:(e,t,s)=>{var r=s(3148);e.exports=serial;function serial(e,t,s){return r(e,t,null,s)}},3148:(e,t,s)=>{var r=s(2659),n=s(5996),i=s(7460);e.exports=serialOrdered;e.exports.ascending=ascending;e.exports.descending=descending;function serialOrdered(e,t,s,o){var A=n(e,s);r(e,t,A,(function iteratorHandler(s,n){if(s){o(s,n);return}A.index++;if(A.index<(A["keyedList"]||e).length){r(e,t,A,iteratorHandler);return}o(null,A.results)}));return i.bind(A,o)}function ascending(e,t){return et?1:0}function descending(e,t){return-1*ascending(e,t)}},2414:(e,t,s)=>{var r=s(3617);var n=s(5494);var i=s(4980);var o=Function.bind;var A=o.bind(o);function bindApi(e,t,s){var r=A(i,null).apply(null,s?[t,s]:[t]);e.api={remove:r};e.remove=r;["before","error","after","wrap"].forEach((function(r){var i=s?[t,r,s]:[t,r];e[r]=e.api[r]=A(n,null).apply(null,i)}))}function HookSingular(){var e="h";var t={registry:{}};var s=r.bind(null,t,e);bindApi(s,t,e);return s}function HookCollection(){var e={registry:{}};var t=r.bind(null,e);bindApi(t,e);return t}var a=false;function Hook(){if(!a){console.warn('[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4');a=true}return HookCollection()}Hook.Singular=HookSingular.bind();Hook.Collection=HookCollection.bind();e.exports=Hook;e.exports.Hook=Hook;e.exports.Singular=Hook.Singular;e.exports.Collection=Hook.Collection},5494:e=>{e.exports=addHook;function addHook(e,t,s,r){var n=r;if(!e.registry[s]){e.registry[s]=[]}if(t==="before"){r=function(e,t){return Promise.resolve().then(n.bind(null,t)).then(e.bind(null,t))}}if(t==="after"){r=function(e,t){var s;return Promise.resolve().then(e.bind(null,t)).then((function(e){s=e;return n(s,t)})).then((function(){return s}))}}if(t==="error"){r=function(e,t){return Promise.resolve().then(e.bind(null,t)).catch((function(e){return n(e,t)}))}}e.registry[s].push({hook:r,orig:n})}},3617:e=>{e.exports=register;function register(e,t,s,r){if(typeof s!=="function"){throw new Error("method for before hook must be a function")}if(!r){r={}}if(Array.isArray(t)){return t.reverse().reduce((function(t,s){return register.bind(null,e,s,t,r)}),s)()}return Promise.resolve().then((function(){if(!e.registry[t]){return s(r)}return e.registry[t].reduce((function(e,t){return t.hook.bind(null,e,r)}),s)()}))}},4980:e=>{e.exports=removeHook;function removeHook(e,t,s){if(!e.registry[t]){return}var r=e.registry[t].map((function(e){return e.orig})).indexOf(s);if(r===-1){return}e.registry[t].splice(r,1)}},4028:(e,t,s)=>{var r=s(9023);var n=s(2203).Stream;var i=s(3563);e.exports=CombinedStream;function CombinedStream(){this.writable=false;this.readable=true;this.dataSize=0;this.maxDataSize=2*1024*1024;this.pauseStreams=true;this._released=false;this._streams=[];this._currentStream=null;this._insideLoop=false;this._pendingNext=false}r.inherits(CombinedStream,n);CombinedStream.create=function(e){var t=new this;e=e||{};for(var s in e){t[s]=e[s]}return t};CombinedStream.isStreamLike=function(e){return typeof e!=="function"&&typeof e!=="string"&&typeof e!=="boolean"&&typeof e!=="number"&&!Buffer.isBuffer(e)};CombinedStream.prototype.append=function(e){var t=CombinedStream.isStreamLike(e);if(t){if(!(e instanceof i)){var s=i.create(e,{maxDataSize:Infinity,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this));e=s}this._handleErrors(e);if(this.pauseStreams){e.pause()}}this._streams.push(e);return this};CombinedStream.prototype.pipe=function(e,t){n.prototype.pipe.call(this,e,t);this.resume();return e};CombinedStream.prototype._getNext=function(){this._currentStream=null;if(this._insideLoop){this._pendingNext=true;return}this._insideLoop=true;try{do{this._pendingNext=false;this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=false}};CombinedStream.prototype._realGetNext=function(){var e=this._streams.shift();if(typeof e=="undefined"){this.end();return}if(typeof e!=="function"){this._pipeNext(e);return}var t=e;t(function(e){var t=CombinedStream.isStreamLike(e);if(t){e.on("data",this._checkDataSize.bind(this));this._handleErrors(e)}this._pipeNext(e)}.bind(this))};CombinedStream.prototype._pipeNext=function(e){this._currentStream=e;var t=CombinedStream.isStreamLike(e);if(t){e.on("end",this._getNext.bind(this));e.pipe(this,{end:false});return}var s=e;this.write(s);this._getNext()};CombinedStream.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))};CombinedStream.prototype.write=function(e){this.emit("data",e)};CombinedStream.prototype.pause=function(){if(!this.pauseStreams){return}if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function")this._currentStream.pause();this.emit("pause")};CombinedStream.prototype.resume=function(){if(!this._released){this._released=true;this.writable=true;this._getNext()}if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function")this._currentStream.resume();this.emit("resume")};CombinedStream.prototype.end=function(){this._reset();this.emit("end")};CombinedStream.prototype.destroy=function(){this._reset();this.emit("close")};CombinedStream.prototype._reset=function(){this.writable=false;this._streams=[];this._currentStream=null};CombinedStream.prototype._checkDataSize=function(){this._updateDataSize();if(this.dataSize<=this.maxDataSize){return}var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))};CombinedStream.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach((function(t){if(!t.dataSize){return}e.dataSize+=t.dataSize}));if(this._currentStream&&this._currentStream.dataSize){this.dataSize+=this._currentStream.dataSize}};CombinedStream.prototype._emitError=function(e){this._reset();this.emit("error",e)}},1931:(e,t,s)=>{t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.storage=localstorage();t.destroy=(()=>{let e=false;return()=>{if(!e){e=true;console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}}})();t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function useColors(){if(typeof window!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)){return true}if(typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)){return false}let e;return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function formatArgs(t){t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff);if(!this.useColors){return}const s="color: "+this.color;t.splice(1,0,s,"color: inherit");let r=0;let n=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{if(e==="%%"){return}r++;if(e==="%c"){n=r}}));t.splice(n,0,s)}t.log=console.debug||console.log||(()=>{});function save(e){try{if(e){t.storage.setItem("debug",e)}else{t.storage.removeItem("debug")}}catch(e){}}function load(){let e;try{e=t.storage.getItem("debug")}catch(e){}if(!e&&typeof process!=="undefined"&&"env"in process){e=process.env.DEBUG}return e}function localstorage(){try{return localStorage}catch(e){}}e.exports=s(3222)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},3222:(e,t,s)=>{function setup(e){createDebug.debug=createDebug;createDebug.default=createDebug;createDebug.coerce=coerce;createDebug.disable=disable;createDebug.enable=enable;createDebug.enabled=enabled;createDebug.humanize=s(358);createDebug.destroy=destroy;Object.keys(e).forEach((t=>{createDebug[t]=e[t]}));createDebug.names=[];createDebug.skips=[];createDebug.formatters={};function selectColor(e){let t=0;for(let s=0;s{if(t==="%%"){return"%"}i++;const n=createDebug.formatters[r];if(typeof n==="function"){const r=e[i];t=n.call(s,r);e.splice(i,1);i--}return t}));createDebug.formatArgs.call(s,e);const o=s.log||createDebug.log;o.apply(s,e)}debug.namespace=e;debug.useColors=createDebug.useColors();debug.color=createDebug.selectColor(e);debug.extend=extend;debug.destroy=createDebug.destroy;Object.defineProperty(debug,"enabled",{enumerable:true,configurable:false,get:()=>{if(s!==null){return s}if(r!==createDebug.namespaces){r=createDebug.namespaces;n=createDebug.enabled(e)}return n},set:e=>{s=e}});if(typeof createDebug.init==="function"){createDebug.init(debug)}return debug}function extend(e,t){const s=createDebug(this.namespace+(typeof t==="undefined"?":":t)+e);s.log=this.log;return s}function enable(e){createDebug.save(e);createDebug.namespaces=e;createDebug.names=[];createDebug.skips=[];let t;const s=(typeof e==="string"?e:"").split(/[\s,]+/);const r=s.length;for(t=0;t"-"+e))].join(",");createDebug.enable("");return e}function enabled(e){if(e[e.length-1]==="*"){return true}let t;let s;for(t=0,s=createDebug.skips.length;t{if(typeof process==="undefined"||process.type==="renderer"||process.browser===true||process.__nwjs){e.exports=s(1931)}else{e.exports=s(7415)}},7415:(e,t,s)=>{const r=s(2018);const n=s(9023);t.init=init;t.log=log;t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.destroy=n.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");t.colors=[6,2,3,4,5,1];try{const e=s(9573);if(e&&(e.stderr||e).level>=2){t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const s=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let r=process.env[t];if(/^(yes|on|true|enabled)$/i.test(r)){r=true}else if(/^(no|off|false|disabled)$/i.test(r)){r=false}else if(r==="null"){r=null}else{r=Number(r)}e[s]=r;return e}),{});function useColors(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):r.isatty(process.stderr.fd)}function formatArgs(t){const{namespace:s,useColors:r}=this;if(r){const r=this.color;const n="[3"+(r<8?r:"8;5;"+r);const i=` ${n};1m${s} `;t[0]=i+t[0].split("\n").join("\n"+i);t.push(n+"m+"+e.exports.humanize(this.diff)+"")}else{t[0]=getDate()+s+" "+t[0]}}function getDate(){if(t.inspectOpts.hideDate){return""}return(new Date).toISOString()+" "}function log(...e){return process.stderr.write(n.formatWithOptions(t.inspectOpts,...e)+"\n")}function save(e){if(e){process.env.DEBUG=e}else{delete process.env.DEBUG}}function load(){return process.env.DEBUG}function init(e){e.inspectOpts={};const s=Object.keys(t.inspectOpts);for(let r=0;re.trim())).join(" ")};i.O=function(e){this.inspectOpts.colors=this.useColors;return n.inspect(e,this.inspectOpts)}},3563:(e,t,s)=>{var r=s(2203).Stream;var n=s(9023);e.exports=DelayedStream;function DelayedStream(){this.source=null;this.dataSize=0;this.maxDataSize=1024*1024;this.pauseStream=true;this._maxDataSizeExceeded=false;this._released=false;this._bufferedEvents=[]}n.inherits(DelayedStream,r);DelayedStream.create=function(e,t){var s=new this;t=t||{};for(var r in t){s[r]=t[r]}s.source=e;var n=e.emit;e.emit=function(){s._handleEmit(arguments);return n.apply(e,arguments)};e.on("error",(function(){}));if(s.pauseStream){e.pause()}return s};Object.defineProperty(DelayedStream.prototype,"readable",{configurable:true,enumerable:true,get:function(){return this.source.readable}});DelayedStream.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};DelayedStream.prototype.resume=function(){if(!this._released){this.release()}this.source.resume()};DelayedStream.prototype.pause=function(){this.source.pause()};DelayedStream.prototype.release=function(){this._released=true;this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this));this._bufferedEvents=[]};DelayedStream.prototype.pipe=function(){var e=r.prototype.pipe.apply(this,arguments);this.resume();return e};DelayedStream.prototype._handleEmit=function(e){if(this._released){this.emit.apply(this,e);return}if(e[0]==="data"){this.dataSize+=e[1].length;this._checkIfMaxDataSizeExceeded()}this._bufferedEvents.push(e)};DelayedStream.prototype._checkIfMaxDataSizeExceeded=function(){if(this._maxDataSizeExceeded){return}if(this.dataSize<=this.maxDataSize){return}this._maxDataSizeExceeded=true;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}},2881:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});class Deprecation extends Error{constructor(e){super(e);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="Deprecation"}}t.Deprecation=Deprecation},7356:e=>{"use strict";var t=Object.prototype.hasOwnProperty,s="~";function Events(){}if(Object.create){Events.prototype=Object.create(null);if(!(new Events).__proto__)s=false}function EE(e,t,s){this.fn=e;this.context=t;this.once=s||false}function addListener(e,t,r,n,i){if(typeof r!=="function"){throw new TypeError("The listener must be a function")}var o=new EE(r,n||e,i),A=s?s+t:t;if(!e._events[A])e._events[A]=o,e._eventsCount++;else if(!e._events[A].fn)e._events[A].push(o);else e._events[A]=[e._events[A],o];return e}function clearEvent(e,t){if(--e._eventsCount===0)e._events=new Events;else delete e._events[t]}function EventEmitter(){this._events=new Events;this._eventsCount=0}EventEmitter.prototype.eventNames=function eventNames(){var e=[],r,n;if(this._eventsCount===0)return e;for(n in r=this._events){if(t.call(r,n))e.push(s?n.slice(1):n)}if(Object.getOwnPropertySymbols){return e.concat(Object.getOwnPropertySymbols(r))}return e};EventEmitter.prototype.listeners=function listeners(e){var t=s?s+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var n=0,i=r.length,o=new Array(i);n{"use strict";var t=Object.prototype.hasOwnProperty,s="~";function Events(){}if(Object.create){Events.prototype=Object.create(null);if(!(new Events).__proto__)s=false}function EE(e,t,s){this.fn=e;this.context=t;this.once=s||false}function addListener(e,t,r,n,i){if(typeof r!=="function"){throw new TypeError("The listener must be a function")}var o=new EE(r,n||e,i),A=s?s+t:t;if(!e._events[A])e._events[A]=o,e._eventsCount++;else if(!e._events[A].fn)e._events[A].push(o);else e._events[A]=[e._events[A],o];return e}function clearEvent(e,t){if(--e._eventsCount===0)e._events=new Events;else delete e._events[t]}function EventEmitter(){this._events=new Events;this._eventsCount=0}EventEmitter.prototype.eventNames=function eventNames(){var e=[],r,n;if(this._eventsCount===0)return e;for(n in r=this._events){if(t.call(r,n))e.push(s?n.slice(1):n)}if(Object.getOwnPropertySymbols){return e.concat(Object.getOwnPropertySymbols(r))}return e};EventEmitter.prototype.listeners=function listeners(e){var t=s?s+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var n=0,i=r.length,o=new Array(i);n{var r;e.exports=function(){if(!r){try{r=s(8759)("follow-redirects")}catch(e){}if(typeof r!=="function"){r=function(){}}}r.apply(null,arguments)}},1105:(e,t,s)=>{var r=s(7016);var n=r.URL;var i=s(8611);var o=s(5692);var A=s(2203).Writable;var a=s(2613);var c=s(6414);(function detectUnsupportedEnvironment(){var e=typeof process!=="undefined";var t=typeof window!=="undefined"&&typeof document!=="undefined";var s=isFunction(Error.captureStackTrace);if(!e&&(t||!s)){console.warn("The follow-redirects package should be excluded from browser builds.")}})();var l=false;try{a(new n(""))}catch(e){l=e.code==="ERR_INVALID_URL"}var u=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"];var p=["abort","aborted","connect","error","socket","timeout"];var d=Object.create(null);p.forEach((function(e){d[e]=function(t,s,r){this._redirectable.emit(e,t,s,r)}}));var g=createErrorType("ERR_INVALID_URL","Invalid URL",TypeError);var h=createErrorType("ERR_FR_REDIRECTION_FAILURE","Redirected request failed");var E=createErrorType("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",h);var m=createErrorType("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit");var C=createErrorType("ERR_STREAM_WRITE_AFTER_END","write after end");var B=A.prototype.destroy||noop;function RedirectableRequest(e,t){A.call(this);this._sanitizeOptions(e);this._options=e;this._ended=false;this._ending=false;this._redirectCount=0;this._redirects=[];this._requestBodyLength=0;this._requestBodyBuffers=[];if(t){this.on("response",t)}var s=this;this._onNativeResponse=function(e){try{s._processResponse(e)}catch(e){s.emit("error",e instanceof h?e:new h({cause:e}))}};this._performRequest()}RedirectableRequest.prototype=Object.create(A.prototype);RedirectableRequest.prototype.abort=function(){destroyRequest(this._currentRequest);this._currentRequest.abort();this.emit("abort")};RedirectableRequest.prototype.destroy=function(e){destroyRequest(this._currentRequest,e);B.call(this,e);return this};RedirectableRequest.prototype.write=function(e,t,s){if(this._ending){throw new C}if(!isString(e)&&!isBuffer(e)){throw new TypeError("data should be a string, Buffer or Uint8Array")}if(isFunction(t)){s=t;t=null}if(e.length===0){if(s){s()}return}if(this._requestBodyLength+e.length<=this._options.maxBodyLength){this._requestBodyLength+=e.length;this._requestBodyBuffers.push({data:e,encoding:t});this._currentRequest.write(e,t,s)}else{this.emit("error",new m);this.abort()}};RedirectableRequest.prototype.end=function(e,t,s){if(isFunction(e)){s=e;e=t=null}else if(isFunction(t)){s=t;t=null}if(!e){this._ended=this._ending=true;this._currentRequest.end(null,null,s)}else{var r=this;var n=this._currentRequest;this.write(e,t,(function(){r._ended=true;n.end(null,null,s)}));this._ending=true}};RedirectableRequest.prototype.setHeader=function(e,t){this._options.headers[e]=t;this._currentRequest.setHeader(e,t)};RedirectableRequest.prototype.removeHeader=function(e){delete this._options.headers[e];this._currentRequest.removeHeader(e)};RedirectableRequest.prototype.setTimeout=function(e,t){var s=this;function destroyOnTimeout(t){t.setTimeout(e);t.removeListener("timeout",t.destroy);t.addListener("timeout",t.destroy)}function startTimer(t){if(s._timeout){clearTimeout(s._timeout)}s._timeout=setTimeout((function(){s.emit("timeout");clearTimer()}),e);destroyOnTimeout(t)}function clearTimer(){if(s._timeout){clearTimeout(s._timeout);s._timeout=null}s.removeListener("abort",clearTimer);s.removeListener("error",clearTimer);s.removeListener("response",clearTimer);s.removeListener("close",clearTimer);if(t){s.removeListener("timeout",t)}if(!s.socket){s._currentRequest.removeListener("socket",startTimer)}}if(t){this.on("timeout",t)}if(this.socket){startTimer(this.socket)}else{this._currentRequest.once("socket",startTimer)}this.on("socket",destroyOnTimeout);this.on("abort",clearTimer);this.on("error",clearTimer);this.on("response",clearTimer);this.on("close",clearTimer);return this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){RedirectableRequest.prototype[e]=function(t,s){return this._currentRequest[e](t,s)}}));["aborted","connection","socket"].forEach((function(e){Object.defineProperty(RedirectableRequest.prototype,e,{get:function(){return this._currentRequest[e]}})}));RedirectableRequest.prototype._sanitizeOptions=function(e){if(!e.headers){e.headers={}}if(e.host){if(!e.hostname){e.hostname=e.host}delete e.host}if(!e.pathname&&e.path){var t=e.path.indexOf("?");if(t<0){e.pathname=e.path}else{e.pathname=e.path.substring(0,t);e.search=e.path.substring(t)}}};RedirectableRequest.prototype._performRequest=function(){var e=this._options.protocol;var t=this._options.nativeProtocols[e];if(!t){throw new TypeError("Unsupported protocol "+e)}if(this._options.agents){var s=e.slice(0,-1);this._options.agent=this._options.agents[s]}var n=this._currentRequest=t.request(this._options,this._onNativeResponse);n._redirectable=this;for(var i of p){n.on(i,d[i])}this._currentUrl=/^\//.test(this._options.path)?r.format(this._options):this._options.path;if(this._isRedirect){var o=0;var A=this;var a=this._requestBodyBuffers;(function writeNext(e){if(n===A._currentRequest){if(e){A.emit("error",e)}else if(o=400){e.responseUrl=this._currentUrl;e.redirects=this._redirects;this.emit("response",e);this._requestBodyBuffers=[];return}destroyRequest(this._currentRequest);e.destroy();if(++this._redirectCount>this._options.maxRedirects){throw new E}var n;var i=this._options.beforeRedirect;if(i){n=Object.assign({Host:e.req.getHeader("host")},this._options.headers)}var o=this._options.method;if((t===301||t===302)&&this._options.method==="POST"||t===303&&!/^(?:GET|HEAD)$/.test(this._options.method)){this._options.method="GET";this._requestBodyBuffers=[];removeMatchingHeaders(/^content-/i,this._options.headers)}var A=removeMatchingHeaders(/^host$/i,this._options.headers);var a=parseUrl(this._currentUrl);var l=A||a.host;var u=/^\w+:/.test(s)?this._currentUrl:r.format(Object.assign(a,{host:l}));var p=resolveUrl(s,u);c("redirecting to",p.href);this._isRedirect=true;spreadUrlObject(p,this._options);if(p.protocol!==a.protocol&&p.protocol!=="https:"||p.host!==l&&!isSubdomain(p.host,l)){removeMatchingHeaders(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers)}if(isFunction(i)){var d={headers:e.headers,statusCode:t};var g={url:u,method:o,headers:n};i(this._options,d,g);this._sanitizeOptions(this._options)}this._performRequest()};function wrap(e){var t={maxRedirects:21,maxBodyLength:10*1024*1024};var s={};Object.keys(e).forEach((function(r){var n=r+":";var i=s[n]=e[r];var o=t[r]=Object.create(i);function request(e,r,i){if(isURL(e)){e=spreadUrlObject(e)}else if(isString(e)){e=spreadUrlObject(parseUrl(e))}else{i=r;r=validateUrl(e);e={protocol:n}}if(isFunction(r)){i=r;r=null}r=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,r);r.nativeProtocols=s;if(!isString(r.host)&&!isString(r.hostname)){r.hostname="::1"}a.equal(r.protocol,n,"protocol mismatch");c("options",r);return new RedirectableRequest(r,i)}function get(e,t,s){var r=o.request(e,t,s);r.end();return r}Object.defineProperties(o,{request:{value:request,configurable:true,enumerable:true,writable:true},get:{value:get,configurable:true,enumerable:true,writable:true}})}));return t}function noop(){}function parseUrl(e){var t;if(l){t=new n(e)}else{t=validateUrl(r.parse(e));if(!isString(t.protocol)){throw new g({input:e})}}return t}function resolveUrl(e,t){return l?new n(e,t):parseUrl(r.resolve(t,e))}function validateUrl(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname)){throw new g({input:e.href||e})}if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host)){throw new g({input:e.href||e})}return e}function spreadUrlObject(e,t){var s=t||{};for(var r of u){s[r]=e[r]}if(s.hostname.startsWith("[")){s.hostname=s.hostname.slice(1,-1)}if(s.port!==""){s.port=Number(s.port)}s.path=s.search?s.pathname+s.search:s.pathname;return s}function removeMatchingHeaders(e,t){var s;for(var r in t){if(e.test(r)){s=t[r];delete t[r]}}return s===null||typeof s==="undefined"?undefined:String(s).trim()}function createErrorType(e,t,s){function CustomError(s){if(isFunction(Error.captureStackTrace)){Error.captureStackTrace(this,this.constructor)}Object.assign(this,s||{});this.code=e;this.message=this.cause?t+": "+this.cause.message:t}CustomError.prototype=new(s||Error);Object.defineProperties(CustomError.prototype,{constructor:{value:CustomError,enumerable:false},name:{value:"Error ["+e+"]",enumerable:false}});return CustomError}function destroyRequest(e,t){for(var s of p){e.removeListener(s,d[s])}e.on("error",noop);e.destroy(t)}function isSubdomain(e,t){a(isString(e)&&isString(t));var s=e.length-t.length-1;return s>0&&e[s]==="."&&e.endsWith(t)}function isString(e){return typeof e==="string"||e instanceof String}function isFunction(e){return typeof e==="function"}function isBuffer(e){return typeof e==="object"&&"length"in e}function isURL(e){return n&&e instanceof n}e.exports=wrap({http:i,https:o});e.exports.wrap=wrap},7124:(e,t,s)=>{var r=s(4028);var n=s(9023);var i=s(6928);var o=s(8611);var A=s(5692);var a=s(7016).parse;var c=s(9896);var l=s(2203).Stream;var u=s(9176);var p=s(3761);var d=s(3385);e.exports=FormData;n.inherits(FormData,r);function FormData(e){if(!(this instanceof FormData)){return new FormData(e)}this._overheadLength=0;this._valueLength=0;this._valuesToMeasure=[];r.call(this);e=e||{};for(var t in e){this[t]=e[t]}}FormData.LINE_BREAK="\r\n";FormData.DEFAULT_CONTENT_TYPE="application/octet-stream";FormData.prototype.append=function(e,t,s){s=s||{};if(typeof s=="string"){s={filename:s}}var i=r.prototype.append.bind(this);if(typeof t=="number"){t=""+t}if(n.isArray(t)){this._error(new Error("Arrays are not supported."));return}var o=this._multiPartHeader(e,t,s);var A=this._multiPartFooter();i(o);i(t);i(A);this._trackLength(o,t,s)};FormData.prototype._trackLength=function(e,t,s){var r=0;if(s.knownLength!=null){r+=+s.knownLength}else if(Buffer.isBuffer(t)){r=t.length}else if(typeof t==="string"){r=Buffer.byteLength(t)}this._valueLength+=r;this._overheadLength+=Buffer.byteLength(e)+FormData.LINE_BREAK.length;if(!t||!t.path&&!(t.readable&&t.hasOwnProperty("httpVersion"))&&!(t instanceof l)){return}if(!s.knownLength){this._valuesToMeasure.push(t)}};FormData.prototype._lengthRetriever=function(e,t){if(e.hasOwnProperty("fd")){if(e.end!=undefined&&e.end!=Infinity&&e.start!=undefined){t(null,e.end+1-(e.start?e.start:0))}else{c.stat(e.path,(function(s,r){var n;if(s){t(s);return}n=r.size-(e.start?e.start:0);t(null,n)}))}}else if(e.hasOwnProperty("httpVersion")){t(null,+e.headers["content-length"])}else if(e.hasOwnProperty("httpModule")){e.on("response",(function(s){e.pause();t(null,+s.headers["content-length"])}));e.resume()}else{t("Unknown stream")}};FormData.prototype._multiPartHeader=function(e,t,s){if(typeof s.header=="string"){return s.header}var r=this._getContentDisposition(t,s);var n=this._getContentType(t,s);var i="";var o={"Content-Disposition":["form-data",'name="'+e+'"'].concat(r||[]),"Content-Type":[].concat(n||[])};if(typeof s.header=="object"){d(o,s.header)}var A;for(var a in o){if(!o.hasOwnProperty(a))continue;A=o[a];if(A==null){continue}if(!Array.isArray(A)){A=[A]}if(A.length){i+=a+": "+A.join("; ")+FormData.LINE_BREAK}}return"--"+this.getBoundary()+FormData.LINE_BREAK+i+FormData.LINE_BREAK};FormData.prototype._getContentDisposition=function(e,t){var s,r;if(typeof t.filepath==="string"){s=i.normalize(t.filepath).replace(/\\/g,"/")}else if(t.filename||e.name||e.path){s=i.basename(t.filename||e.name||e.path)}else if(e.readable&&e.hasOwnProperty("httpVersion")){s=i.basename(e.client._httpMessage.path||"")}if(s){r='filename="'+s+'"'}return r};FormData.prototype._getContentType=function(e,t){var s=t.contentType;if(!s&&e.name){s=u.lookup(e.name)}if(!s&&e.path){s=u.lookup(e.path)}if(!s&&e.readable&&e.hasOwnProperty("httpVersion")){s=e.headers["content-type"]}if(!s&&(t.filepath||t.filename)){s=u.lookup(t.filepath||t.filename)}if(!s&&typeof e=="object"){s=FormData.DEFAULT_CONTENT_TYPE}return s};FormData.prototype._multiPartFooter=function(){return function(e){var t=FormData.LINE_BREAK;var s=this._streams.length===0;if(s){t+=this._lastBoundary()}e(t)}.bind(this)};FormData.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+FormData.LINE_BREAK};FormData.prototype.getHeaders=function(e){var t;var s={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e){if(e.hasOwnProperty(t)){s[t.toLowerCase()]=e[t]}}return s};FormData.prototype.setBoundary=function(e){this._boundary=e};FormData.prototype.getBoundary=function(){if(!this._boundary){this._generateBoundary()}return this._boundary};FormData.prototype.getBuffer=function(){var e=new Buffer.alloc(0);var t=this.getBoundary();for(var s=0,r=this._streams.length;s{e.exports=function(e,t){Object.keys(t).forEach((function(s){e[s]=e[s]||t[s]}));return e}},9537:e=>{function isElectron(){if(typeof window!=="undefined"&&typeof window.process==="object"&&window.process.type==="renderer"){return true}if(typeof process!=="undefined"&&typeof process.versions==="object"&&!!process.versions.electron){return true}if(typeof navigator==="object"&&typeof navigator.userAgent==="string"&&navigator.userAgent.indexOf("Electron")>=0){return true}return false}e.exports=isElectron},3828:e=>{"use strict";const isStream=e=>e!==null&&typeof e==="object"&&typeof e.pipe==="function";isStream.writable=e=>isStream(e)&&e.writable!==false&&typeof e._write==="function"&&typeof e._writableState==="object";isStream.readable=e=>isStream(e)&&e.readable!==false&&typeof e._read==="function"&&typeof e._readableState==="object";isStream.duplex=e=>isStream.writable(e)&&isStream.readable(e);isStream.transform=e=>isStream.duplex(e)&&typeof e._transform==="function";e.exports=isStream},1625:(e,t,s)=>{ +/*! + * mime-db + * Copyright(c) 2014 Jonathan Ong + * Copyright(c) 2015-2022 Douglas Christopher Wilson + * MIT Licensed + */ +e.exports=s(2087)},9176:(e,t,s)=>{"use strict"; +/*! + * mime-types + * Copyright(c) 2014 Jonathan Ong + * Copyright(c) 2015 Douglas Christopher Wilson + * MIT Licensed + */var r=s(1625);var n=s(6928).extname;var i=/^\s*([^;\s]*)(?:;|\s|$)/;var o=/^text\//i;t.charset=charset;t.charsets={lookup:charset};t.contentType=contentType;t.extension=extension;t.extensions=Object.create(null);t.lookup=lookup;t.types=Object.create(null);populateMaps(t.extensions,t.types);function charset(e){if(!e||typeof e!=="string"){return false}var t=i.exec(e);var s=t&&r[t[1].toLowerCase()];if(s&&s.charset){return s.charset}if(t&&o.test(t[1])){return"UTF-8"}return false}function contentType(e){if(!e||typeof e!=="string"){return false}var s=e.indexOf("/")===-1?t.lookup(e):e;if(!s){return false}if(s.indexOf("charset")===-1){var r=t.charset(s);if(r)s+="; charset="+r.toLowerCase()}return s}function extension(e){if(!e||typeof e!=="string"){return false}var s=i.exec(e);var r=s&&t.extensions[s[1].toLowerCase()];if(!r||!r.length){return false}return r[0]}function lookup(e){if(!e||typeof e!=="string"){return false}var s=n("x."+e).toLowerCase().substr(1);if(!s){return false}return t.types[s]||false}function populateMaps(e,t){var s=["nginx","apache",undefined,"iana"];Object.keys(r).forEach((function forEachMimeType(n){var i=r[n];var o=i.extensions;if(!o||!o.length){return}e[n]=o;for(var A=0;Al||c===l&&t[a].substr(0,12)==="application/")){continue}}t[a]=n}}))}},358:e=>{var t=1e3;var s=t*60;var r=s*60;var n=r*24;var i=n*7;var o=n*365.25;e.exports=function(e,t){t=t||{};var s=typeof e;if(s==="string"&&e.length>0){return parse(e)}else if(s==="number"&&isFinite(e)){return t.long?fmtLong(e):fmtShort(e)}throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function parse(e){e=String(e);if(e.length>100){return}var A=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!A){return}var a=parseFloat(A[1]);var c=(A[2]||"ms").toLowerCase();switch(c){case"years":case"year":case"yrs":case"yr":case"y":return a*o;case"weeks":case"week":case"w":return a*i;case"days":case"day":case"d":return a*n;case"hours":case"hour":case"hrs":case"hr":case"h":return a*r;case"minutes":case"minute":case"mins":case"min":case"m":return a*s;case"seconds":case"second":case"secs":case"sec":case"s":return a*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return undefined}}function fmtShort(e){var i=Math.abs(e);if(i>=n){return Math.round(e/n)+"d"}if(i>=r){return Math.round(e/r)+"h"}if(i>=s){return Math.round(e/s)+"m"}if(i>=t){return Math.round(e/t)+"s"}return e+"ms"}function fmtLong(e){var i=Math.abs(e);if(i>=n){return plural(e,i,n,"day")}if(i>=r){return plural(e,i,r,"hour")}if(i>=s){return plural(e,i,s,"minute")}if(i>=t){return plural(e,i,t,"second")}return e+" ms"}function plural(e,t,s,r){var n=t>=s*1.5;return Math.round(e/s)+" "+r+(n?"s":"")}},9965:(e,t,s)=>{var r=s(4749);e.exports=r(once);e.exports.strict=r(onceStrict);once.proto=once((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return once(this)},configurable:true});Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return onceStrict(this)},configurable:true})}));function once(e){var f=function(){if(f.called)return f.value;f.called=true;return f.value=e.apply(this,arguments)};f.called=false;return f}function onceStrict(e){var f=function(){if(f.called)throw new Error(f.onceError);f.called=true;return f.value=e.apply(this,arguments)};var t=e.name||"Function wrapped with `once`";f.onceError=t+" shouldn't be called more than once";f.called=false;return f}},6392:e=>{"use strict";e.exports=(e,t)=>{t=t||(()=>{});return e.then((e=>new Promise((e=>{e(t())})).then((()=>e))),(e=>new Promise((e=>{e(t())})).then((()=>{throw e}))))}},2016:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const r=s(7356);const n=s(896);const i=s(8672);const empty=()=>{};const o=new n.TimeoutError;class PQueue extends r{constructor(e){var t,s,r,n;super();this._intervalCount=0;this._intervalEnd=0;this._pendingCount=0;this._resolveEmpty=empty;this._resolveIdle=empty;e=Object.assign({carryoverConcurrencyCount:false,intervalCap:Infinity,interval:0,concurrency:Infinity,autoStart:true,queueClass:i.default},e);if(!(typeof e.intervalCap==="number"&&e.intervalCap>=1)){throw new TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${(s=(t=e.intervalCap)===null||t===void 0?void 0:t.toString())!==null&&s!==void 0?s:""}\` (${typeof e.intervalCap})`)}if(e.interval===undefined||!(Number.isFinite(e.interval)&&e.interval>=0)){throw new TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${(n=(r=e.interval)===null||r===void 0?void 0:r.toString())!==null&&n!==void 0?n:""}\` (${typeof e.interval})`)}this._carryoverConcurrencyCount=e.carryoverConcurrencyCount;this._isIntervalIgnored=e.intervalCap===Infinity||e.interval===0;this._intervalCap=e.intervalCap;this._interval=e.interval;this._queue=new e.queueClass;this._queueClass=e.queueClass;this.concurrency=e.concurrency;this._timeout=e.timeout;this._throwOnTimeout=e.throwOnTimeout===true;this._isPaused=e.autoStart===false}get _doesIntervalAllowAnother(){return this._isIntervalIgnored||this._intervalCount{this._onResumeInterval()}),t)}return true}}return false}_tryToStartAnother(){if(this._queue.size===0){if(this._intervalId){clearInterval(this._intervalId)}this._intervalId=undefined;this._resolvePromises();return false}if(!this._isPaused){const e=!this._isIntervalPaused();if(this._doesIntervalAllowAnother&&this._doesConcurrentAllowAnother){const t=this._queue.dequeue();if(!t){return false}this.emit("active");t();if(e){this._initializeIntervalIfNeeded()}return true}}return false}_initializeIntervalIfNeeded(){if(this._isIntervalIgnored||this._intervalId!==undefined){return}this._intervalId=setInterval((()=>{this._onInterval()}),this._interval);this._intervalEnd=Date.now()+this._interval}_onInterval(){if(this._intervalCount===0&&this._pendingCount===0&&this._intervalId){clearInterval(this._intervalId);this._intervalId=undefined}this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0;this._processQueue()}_processQueue(){while(this._tryToStartAnother()){}}get concurrency(){return this._concurrency}set concurrency(e){if(!(typeof e==="number"&&e>=1)){throw new TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${e}\` (${typeof e})`)}this._concurrency=e;this._processQueue()}async add(e,t={}){return new Promise(((s,r)=>{const run=async()=>{this._pendingCount++;this._intervalCount++;try{const i=this._timeout===undefined&&t.timeout===undefined?e():n.default(Promise.resolve(e()),t.timeout===undefined?this._timeout:t.timeout,(()=>{if(t.throwOnTimeout===undefined?this._throwOnTimeout:t.throwOnTimeout){r(o)}return undefined}));s(await i)}catch(e){r(e)}this._next()};this._queue.enqueue(run,t);this._tryToStartAnother();this.emit("add")}))}async addAll(e,t){return Promise.all(e.map((async e=>this.add(e,t))))}start(){if(!this._isPaused){return this}this._isPaused=false;this._processQueue();return this}pause(){this._isPaused=true}clear(){this._queue=new this._queueClass}async onEmpty(){if(this._queue.size===0){return}return new Promise((e=>{const t=this._resolveEmpty;this._resolveEmpty=()=>{t();e()}}))}async onIdle(){if(this._pendingCount===0&&this._queue.size===0){return}return new Promise((e=>{const t=this._resolveIdle;this._resolveIdle=()=>{t();e()}}))}get size(){return this._queue.size}sizeBy(e){return this._queue.filter(e).length}get pending(){return this._pendingCount}get isPaused(){return this._isPaused}get timeout(){return this._timeout}set timeout(e){this._timeout=e}}t["default"]=PQueue},2576:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function lowerBound(e,t,s){let r=0;let n=e.length;while(n>0){const i=n/2|0;let o=r+i;if(s(e[o],t)<=0){r=++o;n-=i+1}else{n=i}}return r}t["default"]=lowerBound},8672:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const r=s(2576);class PriorityQueue{constructor(){this._queue=[]}enqueue(e,t){t=Object.assign({priority:0},t);const s={priority:t.priority,run:e};if(this.size&&this._queue[this.size-1].priority>=t.priority){this._queue.push(s);return}const n=r.default(this._queue,s,((e,t)=>t.priority-e.priority));this._queue.splice(n,0,s)}dequeue(){const e=this._queue.shift();return e===null||e===void 0?void 0:e.run}filter(e){return this._queue.filter((t=>t.priority===e.priority)).map((e=>e.run))}get size(){return this._queue.length}}t["default"]=PriorityQueue},435:(e,t,s)=>{"use strict";const r=s(1858);const n=["Failed to fetch","NetworkError when attempting to fetch resource.","The Internet connection appears to be offline.","Network request failed"];class AbortError extends Error{constructor(e){super();if(e instanceof Error){this.originalError=e;({message:e}=e)}else{this.originalError=new Error(e);this.originalError.stack=this.stack}this.name="AbortError";this.message=e}}const decorateErrorWithCounts=(e,t,s)=>{const r=s.retries-(t-1);e.attemptNumber=t;e.retriesLeft=r;return e};const isNetworkError=e=>n.includes(e);const pRetry=(e,t)=>new Promise(((s,n)=>{t={onFailedAttempt:()=>{},retries:10,...t};const i=r.operation(t);i.attempt((async r=>{try{s(await e(r))}catch(e){if(!(e instanceof Error)){n(new TypeError(`Non-error was thrown: "${e}". You should only throw errors.`));return}if(e instanceof AbortError){i.stop();n(e.originalError)}else if(e instanceof TypeError&&!isNetworkError(e.message)){i.stop();n(e)}else{decorateErrorWithCounts(e,r,t);try{await t.onFailedAttempt(e)}catch(e){n(e);return}if(!i.retry(e)){n(i.mainError())}}}}))}));e.exports=pRetry;e.exports["default"]=pRetry;e.exports.AbortError=AbortError},896:(e,t,s)=>{"use strict";const r=s(6392);class TimeoutError extends Error{constructor(e){super(e);this.name="TimeoutError"}}const pTimeout=(e,t,s)=>new Promise(((n,i)=>{if(typeof t!=="number"||t<0){throw new TypeError("Expected `milliseconds` to be a positive number")}if(t===Infinity){n(e);return}const o=setTimeout((()=>{if(typeof s==="function"){try{n(s())}catch(e){i(e)}return}const r=typeof s==="string"?s:`Promise timed out after ${t} milliseconds`;const o=s instanceof Error?s:new TimeoutError(r);if(typeof e.cancel==="function"){e.cancel()}i(o)}),t);r(e.then(n,i),(()=>{clearTimeout(o)}))}));e.exports=pTimeout;e.exports["default"]=pTimeout;e.exports.TimeoutError=TimeoutError},4037:(e,t,s)=>{"use strict";var r=s(7016).parse;var n={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443};var i=String.prototype.endsWith||function(e){return e.length<=this.length&&this.indexOf(e,this.length-e.length)!==-1};function getProxyForUrl(e){var t=typeof e==="string"?r(e):e||{};var s=t.protocol;var i=t.host;var o=t.port;if(typeof i!=="string"||!i||typeof s!=="string"){return""}s=s.split(":",1)[0];i=i.replace(/:\d*$/,"");o=parseInt(o)||n[s]||0;if(!shouldProxy(i,o)){return""}var A=getEnv("npm_config_"+s+"_proxy")||getEnv(s+"_proxy")||getEnv("npm_config_proxy")||getEnv("all_proxy");if(A&&A.indexOf("://")===-1){A=s+"://"+A}return A}function shouldProxy(e,t){var s=(getEnv("npm_config_no_proxy")||getEnv("no_proxy")).toLowerCase();if(!s){return true}if(s==="*"){return false}return s.split(/[,\s]/).every((function(s){if(!s){return true}var r=s.match(/^(.+):(\d+)$/);var n=r?r[1]:s;var o=r?parseInt(r[2]):0;if(o&&o!==t){return true}if(!/^[.*]/.test(n)){return e!==n}if(n.charAt(0)==="*"){n=n.slice(1)}return!i.call(e,n)}))}function getEnv(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}t.getProxyForUrl=getProxyForUrl},1858:(e,t,s)=>{e.exports=s(6964)},6964:(e,t,s)=>{var r=s(6938);t.operation=function(e){var s=t.timeouts(e);return new r(s,{forever:e&&(e.forever||e.retries===Infinity),unref:e&&e.unref,maxRetryTime:e&&e.maxRetryTime})};t.timeouts=function(e){if(e instanceof Array){return[].concat(e)}var t={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:Infinity,randomize:false};for(var s in e){t[s]=e[s]}if(t.minTimeout>t.maxTimeout){throw new Error("minTimeout is greater than maxTimeout")}var r=[];for(var n=0;n{function RetryOperation(e,t){if(typeof t==="boolean"){t={forever:t}}this._originalTimeouts=JSON.parse(JSON.stringify(e));this._timeouts=e;this._options=t||{};this._maxRetryTime=t&&t.maxRetryTime||Infinity;this._fn=null;this._errors=[];this._attempts=1;this._operationTimeout=null;this._operationTimeoutCb=null;this._timeout=null;this._operationStart=null;this._timer=null;if(this._options.forever){this._cachedTimeouts=this._timeouts.slice(0)}}e.exports=RetryOperation;RetryOperation.prototype.reset=function(){this._attempts=1;this._timeouts=this._originalTimeouts.slice(0)};RetryOperation.prototype.stop=function(){if(this._timeout){clearTimeout(this._timeout)}if(this._timer){clearTimeout(this._timer)}this._timeouts=[];this._cachedTimeouts=null};RetryOperation.prototype.retry=function(e){if(this._timeout){clearTimeout(this._timeout)}if(!e){return false}var t=(new Date).getTime();if(e&&t-this._operationStart>=this._maxRetryTime){this._errors.push(e);this._errors.unshift(new Error("RetryOperation timeout occurred"));return false}this._errors.push(e);var s=this._timeouts.shift();if(s===undefined){if(this._cachedTimeouts){this._errors.splice(0,this._errors.length-1);s=this._cachedTimeouts.slice(-1)}else{return false}}var r=this;this._timer=setTimeout((function(){r._attempts++;if(r._operationTimeoutCb){r._timeout=setTimeout((function(){r._operationTimeoutCb(r._attempts)}),r._operationTimeout);if(r._options.unref){r._timeout.unref()}}r._fn(r._attempts)}),s);if(this._options.unref){this._timer.unref()}return true};RetryOperation.prototype.attempt=function(e,t){this._fn=e;if(t){if(t.timeout){this._operationTimeout=t.timeout}if(t.cb){this._operationTimeoutCb=t.cb}}var s=this;if(this._operationTimeoutCb){this._timeout=setTimeout((function(){s._operationTimeoutCb()}),s._operationTimeout)}this._operationStart=(new Date).getTime();this._fn(this._attempts)};RetryOperation.prototype.try=function(e){console.log("Using RetryOperation.try() is deprecated");this.attempt(e)};RetryOperation.prototype.start=function(e){console.log("Using RetryOperation.start() is deprecated");this.attempt(e)};RetryOperation.prototype.start=RetryOperation.prototype.try;RetryOperation.prototype.errors=function(){return this._errors};RetryOperation.prototype.attempts=function(){return this._attempts};RetryOperation.prototype.mainError=function(){if(this._errors.length===0){return null}var e={};var t=null;var s=0;for(var r=0;r=s){t=n;s=o}}return t}},2688:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AttachmentBuilder=void 0;const r=s(9052);const n=s(2382);const i=s(3810);const o=s(7130);class AttachmentBuilder extends r.BitBuilderBase{build(){return this.getResult(n.SlackDto,{blocks:i.getBuilderResults(this.props.blocks)})}}t.AttachmentBuilder=AttachmentBuilder;i.applyMixins(AttachmentBuilder,[o.Blocks,o.Color,o.End,o.Fallback])},9081:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ConfirmationDialogBuilder=void 0;const r=s(9052);const n=s(2382);const i=s(3810);const o=s(7130);class ConfirmationDialogBuilder extends r.BitBuilderBase{build(){return this.getResult(n.SlackDto,{text:i.getMarkdownObject(this.props.text),title:i.getPlainTextObject(this.props.title),confirm:i.getPlainTextObject(this.props.confirm),deny:i.getPlainTextObject(this.props.deny)})}}t.ConfirmationDialogBuilder=ConfirmationDialogBuilder;i.applyMixins(ConfirmationDialogBuilder,[o.Confirm,o.Danger,o.Deny,o.End,o.Primary,o.Text,o.Title])},2085:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Bits=t.OptionGroup=t.Option=t.ConfirmationDialog=t.Attachment=void 0;const r=s(2688);const n=s(9081);const i=s(7656);const o=s(9406);function Attachment(e){return new r.AttachmentBuilder(e)}t.Attachment=Attachment;function ConfirmationDialog(e){return new n.ConfirmationDialogBuilder(e)}t.ConfirmationDialog=ConfirmationDialog;function Option(e){return new i.OptionBuilder(e)}t.Option=Option;function OptionGroup(e){return new o.OptionGroupBuilder(e)}t.OptionGroup=OptionGroup;const A={Attachment:Attachment,ConfirmationDialog:ConfirmationDialog,Option:Option,OptionGroup:OptionGroup};t.Bits=A},9406:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.OptionGroupBuilder=void 0;const r=s(9052);const n=s(2382);const i=s(3810);const o=s(7130);class OptionGroupBuilder extends r.BitBuilderBase{build(){return this.getResult(n.SlackDto,{label:i.getPlainTextObject(this.props.label),options:i.getBuilderResults(this.props.options)})}}t.OptionGroupBuilder=OptionGroupBuilder;i.applyMixins(OptionGroupBuilder,[o.End,o.Label,o.Options])},7656:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.OptionBuilder=void 0;const r=s(9052);const n=s(2382);const i=s(3810);const o=s(7130);class OptionBuilder extends r.BitBuilderBase{build({isMarkdown:e}={isMarkdown:false}){return this.getResult(n.SlackDto,{text:e?i.getMarkdownObject(this.props.text):i.getPlainTextObject(this.props.text),description:e?i.getMarkdownObject(this.props.description):i.getPlainTextObject(this.props.description)})}}t.OptionBuilder=OptionBuilder;i.applyMixins(OptionBuilder,[o.Description,o.End,o.Text,o.Url,o.Value])},5984:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ActionsBuilder=void 0;const r=s(9052);const n=s(938);const i=s(2382);const o=s(3810);const A=s(7130);class ActionsBuilder extends r.BlockBuilderBase{build(){return this.getResult(i.SlackBlockDto,{type:n.BlockType.Actions,elements:o.getBuilderResults(this.props.elements)})}}t.ActionsBuilder=ActionsBuilder;o.applyMixins(ActionsBuilder,[A.BlockId,A.End,A.Elements])},4072:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ContextBuilder=void 0;const r=s(9052);const n=s(938);const i=s(2382);const o=s(3810);const A=s(7130);class ContextBuilder extends r.BlockBuilderBase{build(){return this.getResult(i.SlackBlockDto,{type:n.BlockType.Context,elements:o.getElementsForContext(this.props.elements)})}}t.ContextBuilder=ContextBuilder;o.applyMixins(ContextBuilder,[A.BlockId,A.Elements,A.End])},6754:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DividerBuilder=void 0;const r=s(9052);const n=s(938);const i=s(2382);const o=s(3810);const A=s(7130);class DividerBuilder extends r.BlockBuilderBase{build(){return this.getResult(i.SlackBlockDto,{type:n.BlockType.Divider})}}t.DividerBuilder=DividerBuilder;o.applyMixins(DividerBuilder,[A.BlockId,A.End])},3417:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.FileBuilder=void 0;const r=s(9052);const n=s(938);const i=s(2382);const o=s(3810);const A=s(7130);class FileBuilder extends r.BlockBuilderBase{build(){return this.getResult(i.SlackBlockDto,{type:n.BlockType.File,source:n.FileType.Remote})}}t.FileBuilder=FileBuilder;o.applyMixins(FileBuilder,[A.BlockId,A.End,A.ExternalId])},9566:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.HeaderBuilder=void 0;const r=s(9052);const n=s(938);const i=s(2382);const o=s(3810);const A=s(7130);class HeaderBuilder extends r.BlockBuilderBase{build(){return this.getResult(i.SlackBlockDto,{type:n.BlockType.Header,text:o.getPlainTextObject(this.props.text)})}}t.HeaderBuilder=HeaderBuilder;o.applyMixins(HeaderBuilder,[A.BlockId,A.End,A.Text])},5550:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ImageBuilder=void 0;const r=s(9052);const n=s(938);const i=s(2382);const o=s(3810);const A=s(7130);class ImageBuilder extends r.BlockBuilderBase{build(){return this.getResult(i.SlackBlockDto,{type:n.BlockType.Image,title:o.getPlainTextObject(this.props.title)})}}t.ImageBuilder=ImageBuilder;o.applyMixins(ImageBuilder,[A.AltText,A.BlockId,A.End,A.ImageUrl,A.Title])},6019:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Blocks=t.Video=t.Section=t.Input=t.Image=t.Header=t.File=t.Divider=t.Context=t.Actions=void 0;const r=s(5984);const n=s(4072);const i=s(6754);const o=s(3417);const A=s(9566);const a=s(5550);const c=s(6971);const l=s(7932);const u=s(3952);function Actions(e){return new r.ActionsBuilder(e)}t.Actions=Actions;function Context(e){return new n.ContextBuilder(e)}t.Context=Context;function Divider(e){return new i.DividerBuilder(e)}t.Divider=Divider;function File(e){return new o.FileBuilder(e)}t.File=File;function Header(e){return new A.HeaderBuilder(e)}t.Header=Header;function Image(e){return new a.ImageBuilder(e)}t.Image=Image;function Input(e){return new c.InputBuilder(e)}t.Input=Input;function Section(e){return new l.SectionBuilder(e)}t.Section=Section;function Video(e){return new u.VideoBuilder(e)}t.Video=Video;const p={Actions:Actions,Context:Context,Divider:Divider,File:File,Header:Header,Image:Image,Input:Input,Section:Section,Video:Video};t.Blocks=p},6971:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.InputBuilder=void 0;const r=s(9052);const n=s(938);const i=s(2382);const o=s(3810);const A=s(7130);class InputBuilder extends r.BlockBuilderBase{build(){return this.getResult(i.SlackBlockDto,{type:n.BlockType.Input,label:o.getPlainTextObject(this.props.label),hint:o.getPlainTextObject(this.props.hint),element:o.getBuilderResult(this.props.element)})}}t.InputBuilder=InputBuilder;o.applyMixins(InputBuilder,[A.BlockId,A.DispatchAction,A.Element,A.End,A.Hint,A.Label,A.Optional])},7932:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.SectionBuilder=void 0;const r=s(9052);const n=s(938);const i=s(2382);const o=s(3810);const A=s(7130);class SectionBuilder extends r.BlockBuilderBase{build(){return this.getResult(i.SlackBlockDto,{type:n.BlockType.Section,text:o.getMarkdownObject(this.props.text),fields:o.getFields(this.props.fields),accessory:o.getBuilderResult(this.props.accessory)})}}t.SectionBuilder=SectionBuilder;o.applyMixins(SectionBuilder,[A.Accessory,A.BlockId,A.End,A.Fields,A.Text])},3952:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.VideoBuilder=void 0;const r=s(9052);const n=s(938);const i=s(2382);const o=s(3810);const A=s(7130);class VideoBuilder extends r.BlockBuilderBase{build(){return this.getResult(i.SlackBlockDto,{type:n.BlockType.Video,description:o.getPlainTextObject(this.props.description),title:o.getPlainTextObject(this.props.title)})}}t.VideoBuilder=VideoBuilder;o.applyMixins(VideoBuilder,[A.AltText,A.AuthorName,A.BlockId,A.Description,A.End,A.ProviderIconUrl,A.ProviderName,A.ThumbnailUrl,A.Title,A.TitleUrl,A.VideoUrl])},1216:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AccordionUIComponent=void 0;const r=s(6019);const n=s(6240);const i=s(938);const o=s(3288);class AccordionUIComponent{constructor(e){this.items=e.items;this.paginator=e.paginator;this.expandButtonText=e.expandButtonText||i.ComponentUIText.More;this.collapseButtonText=e.collapseButtonText||i.ComponentUIText.Close;this.titleTextFunction=e.titleTextFunction;this.actionIdFunction=e.actionIdFunction;this.builderFunction=e.builderFunction;this.isExpandableFunction=e.isExpandableFunction}getBlocks(){const e=this.items.map(((e,t)=>{const s=this.paginator.checkItemIsExpandedByIndex(t);const i=r.Blocks.Section({text:this.titleTextFunction({item:e})});if(this.isExpandableFunction(e)){i.accessory(n.Elements.Button({text:s?this.collapseButtonText:this.expandButtonText,actionId:this.actionIdFunction({expandedItems:this.paginator.getNextStateByItemIndex(t)})}))}const o=[i,...s?this.builderFunction({item:e}).flat():[]];return t===0?o:[r.Blocks.Divider(),...o]})).flat();return o.Builder.pruneUndefinedFromArray(e)}}t.AccordionUIComponent=AccordionUIComponent},8933:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Components=t.Accordion=t.EasyPaginator=t.Paginator=void 0;const r=s(3495);const n=s(1216);const i=s(6348);function Paginator(e){const{page:t,perPage:s,totalItems:n}=e;const o=new i.PaginatorStateManager({page:t,perPage:s,totalItems:n});return new r.PaginatorUIComponent({items:e.items,paginator:o,nextButtonText:e.nextButtonText||null,previousButtonText:e.previousButtonText||null,pageCountTextFunction:e.pageCountText||null,actionIdFunction:e.actionId,builderFunction:e.blocksForEach})}t.Paginator=Paginator;function EasyPaginator(e){const{page:t,perPage:s,items:n}=e;const o=n.length;const A=new i.PaginatorStateManager({page:t,perPage:s,totalItems:o});const a=A.extractItems(n);return new r.PaginatorUIComponent({paginator:A,items:a,nextButtonText:e.nextButtonText||null,previousButtonText:e.previousButtonText||null,pageCountTextFunction:e.pageCountText||null,actionIdFunction:e.actionId,builderFunction:e.blocksForEach})}t.EasyPaginator=EasyPaginator;function Accordion(e){const{items:t,expandedItems:s,collapseOnExpand:r}=e;const o=new i.AccordionStateManager({expandedItems:s,collapseOnExpand:r});return new n.AccordionUIComponent({items:t,paginator:o,expandButtonText:e.expandButtonText||null,collapseButtonText:e.collapseButtonText||null,titleTextFunction:e.titleText,actionIdFunction:e.actionId,builderFunction:e.blocksForExpanded,isExpandableFunction:e.isExpandable||(()=>true)})}t.Accordion=Accordion;const o={Paginator:Paginator,EasyPaginator:EasyPaginator,Accordion:Accordion};t.Components=o},3495:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PaginatorUIComponent=void 0;const r=s(6019);const n=s(6240);const i=s(938);const o=s(3288);const defaultPageCountText=({page:e,totalPages:t})=>`Page ${e} of ${t}`;class PaginatorUIComponent{constructor(e){this.items=e.items;this.paginator=e.paginator;this.nextButtonText=e.nextButtonText||i.ComponentUIText.Next;this.previousButtonText=e.previousButtonText||i.ComponentUIText.Previous;this.pageCountTextFunction=e.pageCountTextFunction||defaultPageCountText;this.actionIdFunction=e.actionIdFunction;this.builderFunction=e.builderFunction}getBlocks(){const e=[];for(let t=0;t1?[...e.flat(),r.Blocks.Context().elements(this.pageCountTextFunction({page:this.paginator.getPage(),totalPages:this.paginator.getTotalPages()})),r.Blocks.Divider(),r.Blocks.Actions().elements(n.Elements.Button({text:this.previousButtonText,actionId:this.actionIdFunction({buttonId:i.PaginatorButtonId.Previous,...this.paginator.getPreviousPageState()})}),n.Elements.Button({text:this.nextButtonText,actionId:this.actionIdFunction({buttonId:i.PaginatorButtonId.Next,...this.paginator.getNextPageState()})}))]:e.flat();return o.Builder.pruneUndefinedFromArray(t)}}t.PaginatorUIComponent=PaginatorUIComponent},8716:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.conditionals=t.omitIfFalsy=t.setIfFalsy=t.omitIfTruthy=t.setIfTruthy=void 0;const s=[undefined,null,false];const falsy=e=>s.includes(e);const truthy=e=>!s.includes(e);function setIfTruthy(e,t){return truthy(e)?t:undefined}t.setIfTruthy=setIfTruthy;function omitIfTruthy(e,t){return truthy(e)?undefined:t}t.omitIfTruthy=omitIfTruthy;function setIfFalsy(e,t){return falsy(e)?t:undefined}t.setIfFalsy=setIfFalsy;function omitIfFalsy(e,t){return falsy(e)?undefined:t}t.omitIfFalsy=omitIfFalsy;const r={setIfTruthy:setIfTruthy,omitIfTruthy:omitIfTruthy,setIfFalsy:setIfFalsy,omitIfFalsy:omitIfFalsy};t.conditionals=r},9218:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ButtonBuilder=void 0;const r=s(9052);const n=s(938);const i=s(2382);const o=s(3810);const A=s(7130);class ButtonBuilder extends r.ElementBuilderBase{build(){return this.getResult(i.SlackElementDto,{type:n.ElementType.Button,confirm:o.getBuilderResult(this.props.confirm),text:o.getPlainTextObject(this.props.text)})}}t.ButtonBuilder=ButtonBuilder;o.applyMixins(ButtonBuilder,[A.AccessibilityLabel,A.ActionId,A.Confirm,A.Danger,A.End,A.Primary,A.Text,A.Url,A.Value])},584:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ChannelMultiSelectBuilder=void 0;const r=s(9052);const n=s(938);const i=s(2382);const o=s(3810);const A=s(7130);class ChannelMultiSelectBuilder extends r.ElementBuilderBase{build(){return this.getResult(i.SlackElementDto,{type:n.ElementType.ChannelsMultiSelect,placeholder:o.getPlainTextObject(this.props.placeholder),confirm:o.getBuilderResult(this.props.confirm)})}}t.ChannelMultiSelectBuilder=ChannelMultiSelectBuilder;o.applyMixins(ChannelMultiSelectBuilder,[A.ActionId,A.Confirm,A.End,A.FocusOnLoad,A.InitialChannels,A.MaxSelectedItems,A.Placeholder])},2712:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ChannelSelectBuilder=void 0;const r=s(9052);const n=s(938);const i=s(2382);const o=s(3810);const A=s(7130);class ChannelSelectBuilder extends r.ElementBuilderBase{build(){return this.getResult(i.SlackElementDto,{type:n.ElementType.ChannelSelect,placeholder:o.getPlainTextObject(this.props.placeholder),confirm:o.getBuilderResult(this.props.confirm)})}}t.ChannelSelectBuilder=ChannelSelectBuilder;o.applyMixins(ChannelSelectBuilder,[A.ActionId,A.Confirm,A.End,A.FocusOnLoad,A.InitialChannel,A.Placeholder,A.ResponseUrlEnabled])},6411:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CheckboxesBuilder=void 0;const r=s(9052);const n=s(938);const i=s(2382);const o=s(3810);const A=s(7130);class CheckboxesBuilder extends r.ElementBuilderBase{build(){return this.getResult(i.SlackElementDto,{type:n.ElementType.Checkboxes,options:o.getBuilderResults(this.props.options,{isMarkdown:true}),initialOptions:o.getBuilderResults(this.props.initialOptions,{isMarkdown:true}),confirm:o.getBuilderResult(this.props.confirm)})}}t.CheckboxesBuilder=CheckboxesBuilder;o.applyMixins(CheckboxesBuilder,[A.ActionId,A.Confirm,A.End,A.FocusOnLoad,A.InitialOptions,A.Options])},4946:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ConversationMultiSelectBuilder=void 0;const r=s(9052);const n=s(938);const i=s(2382);const o=s(3810);const A=s(7130);class ConversationMultiSelectBuilder extends r.ElementBuilderBase{build(){return this.getResult(i.SlackElementDto,{type:n.ElementType.ConversationsMultiSelect,placeholder:o.getPlainTextObject(this.props.placeholder),confirm:o.getBuilderResult(this.props.confirm),filter:o.getFilter(this.props)})}}t.ConversationMultiSelectBuilder=ConversationMultiSelectBuilder;o.applyMixins(ConversationMultiSelectBuilder,[A.ActionId,A.Confirm,A.DefaultToCurrentConversation,A.End,A.ExcludeBotUsers,A.ExcludeExternalSharedChannels,A.Filter,A.FocusOnLoad,A.InitialConversations,A.MaxSelectedItems,A.Placeholder])},9098:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ConversationSelectBuilder=void 0;const r=s(9052);const n=s(938);const i=s(2382);const o=s(3810);const A=s(7130);class ConversationSelectBuilder extends r.ElementBuilderBase{build(){return this.getResult(i.SlackElementDto,{type:n.ElementType.ConversationSelect,placeholder:o.getPlainTextObject(this.props.placeholder),confirm:o.getBuilderResult(this.props.confirm),filter:o.getFilter(this.props)})}}t.ConversationSelectBuilder=ConversationSelectBuilder;o.applyMixins(ConversationSelectBuilder,[A.ActionId,A.Confirm,A.DefaultToCurrentConversation,A.End,A.ExcludeBotUsers,A.ExcludeExternalSharedChannels,A.Filter,A.FocusOnLoad,A.InitialConversation,A.Placeholder,A.ResponseUrlEnabled,A.Placeholder])},6689:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DatePickerBuilder=void 0;const r=s(9052);const n=s(938);const i=s(2382);const o=s(3810);const A=s(7130);class DatePickerBuilder extends r.ElementBuilderBase{build(){return this.getResult(i.SlackElementDto,{type:n.ElementType.DatePicker,placeholder:o.getPlainTextObject(this.props.placeholder),initialDate:o.getFormattedDate(this.props.initialDate),confirm:o.getBuilderResult(this.props.confirm)})}}t.DatePickerBuilder=DatePickerBuilder;o.applyMixins(DatePickerBuilder,[A.ActionId,A.Confirm,A.End,A.FocusOnLoad,A.InitialDate,A.Placeholder])},429:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DateTimePickerBuilder=void 0;const r=s(9052);const n=s(938);const i=s(2382);const o=s(3810);const A=s(7130);class DateTimePickerBuilder extends r.ElementBuilderBase{build(){return this.getResult(i.SlackElementDto,{type:n.ElementType.DateTimePicker,initialDateTime:o.getDateTimeIntegerFromDate(this.props.initialDateTime),confirm:o.getBuilderResult(this.props.confirm)})}}t.DateTimePickerBuilder=DateTimePickerBuilder;o.applyMixins(DateTimePickerBuilder,[A.ActionId,A.Confirm,A.End,A.FocusOnLoad,A.InitialDateTime])},8037:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.EmailInputBuilder=void 0;const r=s(9052);const n=s(938);const i=s(2382);const o=s(3810);const A=s(7130);class EmailInputBuilder extends r.ElementBuilderBase{build(){return this.getResult(i.SlackElementDto,{type:n.ElementType.EmailInput,placeholder:o.getPlainTextObject(this.props.placeholder),dispatchActionConfig:o.getDispatchActionsConfigurationObject(this.props)})}}t.EmailInputBuilder=EmailInputBuilder;o.applyMixins(EmailInputBuilder,[A.ActionId,A.DispatchActionOnCharacterEntered,A.DispatchActionOnEnterPressed,A.End,A.FocusOnLoad,A.InitialValue,A.Placeholder])},9302:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExternalMultiSelectBuilder=void 0;const r=s(9052);const n=s(938);const i=s(2382);const o=s(3810);const A=s(7130);class ExternalMultiSelectBuilder extends r.ElementBuilderBase{build(){return this.getResult(i.SlackElementDto,{type:n.ElementType.ExternalMultiSelect,placeholder:o.getPlainTextObject(this.props.placeholder),initialOptions:o.getBuilderResults(this.props.initialOptions),confirm:o.getBuilderResult(this.props.confirm)})}}t.ExternalMultiSelectBuilder=ExternalMultiSelectBuilder;o.applyMixins(ExternalMultiSelectBuilder,[A.ActionId,A.Confirm,A.End,A.FocusOnLoad,A.InitialOptions,A.MaxSelectedItems,A.MinQueryLength,A.Placeholder])},8310:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExternalSelectBuilder=void 0;const r=s(9052);const n=s(938);const i=s(2382);const o=s(3810);const A=s(7130);class ExternalSelectBuilder extends r.ElementBuilderBase{build(){return this.getResult(i.SlackElementDto,{type:n.ElementType.ExternalSelect,placeholder:o.getPlainTextObject(this.props.placeholder),initialOption:o.getBuilderResult(this.props.initialOption),confirm:o.getBuilderResult(this.props.confirm)})}}t.ExternalSelectBuilder=ExternalSelectBuilder;o.applyMixins(ExternalSelectBuilder,[A.ActionId,A.Confirm,A.End,A.FocusOnLoad,A.InitialOption,A.MinQueryLength,A.Placeholder])},1729:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.FileInputBuilder=void 0;const r=s(9052);const n=s(938);const i=s(2382);const o=s(3810);const A=s(7130);class FileInputBuilder extends r.ElementBuilderBase{build(){return this.getResult(i.SlackElementDto,{type:n.ElementType.FileInput})}}t.FileInputBuilder=FileInputBuilder;o.applyMixins(FileInputBuilder,[A.ActionId,A.Filetypes,A.MaxFiles,A.End])},5347:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ImgBuilder=void 0;const r=s(9052);const n=s(938);const i=s(2382);const o=s(3810);const A=s(7130);class ImgBuilder extends r.ElementBuilderBase{build(){return this.getResult(i.SlackElementDto,{type:n.ElementType.Image})}}t.ImgBuilder=ImgBuilder;o.applyMixins(ImgBuilder,[A.AltText,A.ImageUrl,A.End])},6240:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Elements=t.UserSelect=t.UserMultiSelect=t.URLInput=t.TimePicker=t.TextInput=t.StaticSelect=t.StaticMultiSelect=t.RadioButtons=t.OverflowMenu=t.NumberInput=t.FileInput=t.Img=t.ExternalSelect=t.ExternalMultiSelect=t.EmailInput=t.DateTimePicker=t.DatePicker=t.ConversationSelect=t.ConversationMultiSelect=t.Checkboxes=t.ChannelSelect=t.ChannelMultiSelect=t.Button=void 0;const r=s(9218);const n=s(584);const i=s(2712);const o=s(6411);const A=s(4946);const a=s(9098);const c=s(6689);const l=s(429);const u=s(8037);const p=s(9302);const d=s(8310);const g=s(1729);const h=s(5347);const E=s(6857);const m=s(7326);const C=s(8103);const B=s(9309);const Q=s(125);const I=s(7940);const b=s(2201);const y=s(8084);const w=s(3478);const v=s(5446);function Button(e){return new r.ButtonBuilder(e)}t.Button=Button;function ChannelMultiSelect(e){return new n.ChannelMultiSelectBuilder(e)}t.ChannelMultiSelect=ChannelMultiSelect;function ChannelSelect(e){return new i.ChannelSelectBuilder(e)}t.ChannelSelect=ChannelSelect;function Checkboxes(e){return new o.CheckboxesBuilder(e)}t.Checkboxes=Checkboxes;function ConversationMultiSelect(e){return new A.ConversationMultiSelectBuilder(e)}t.ConversationMultiSelect=ConversationMultiSelect;function ConversationSelect(e){return new a.ConversationSelectBuilder(e)}t.ConversationSelect=ConversationSelect;function DatePicker(e){return new c.DatePickerBuilder(e)}t.DatePicker=DatePicker;function DateTimePicker(e){return new l.DateTimePickerBuilder(e)}t.DateTimePicker=DateTimePicker;function EmailInput(e){return new u.EmailInputBuilder(e)}t.EmailInput=EmailInput;function ExternalMultiSelect(e){return new p.ExternalMultiSelectBuilder(e)}t.ExternalMultiSelect=ExternalMultiSelect;function ExternalSelect(e){return new d.ExternalSelectBuilder(e)}t.ExternalSelect=ExternalSelect;function Img(e){return new h.ImgBuilder(e)}t.Img=Img;function FileInput(e){return new g.FileInputBuilder(e)}t.FileInput=FileInput;function NumberInput(e){return new E.NumberInputBuilder(e)}t.NumberInput=NumberInput;function OverflowMenu(e){return new m.OverflowMenuBuilder(e)}t.OverflowMenu=OverflowMenu;function RadioButtons(e){return new C.RadioButtonsBuilder(e)}t.RadioButtons=RadioButtons;function StaticMultiSelect(e){return new B.StaticMultiSelectBuilder(e)}t.StaticMultiSelect=StaticMultiSelect;function StaticSelect(e){return new Q.StaticSelectBuilder(e)}t.StaticSelect=StaticSelect;function TextInput(e){return new I.TextInputBuilder(e)}t.TextInput=TextInput;function TimePicker(e){return new b.TimePickerBuilder(e)}t.TimePicker=TimePicker;function URLInput(e){return new y.URLInputBuilder(e)}t.URLInput=URLInput;function UserMultiSelect(e){return new w.UserMultiSelectBuilder(e)}t.UserMultiSelect=UserMultiSelect;function UserSelect(e){return new v.UserSelectBuilder(e)}t.UserSelect=UserSelect;const k={Button:Button,ChannelMultiSelect:ChannelMultiSelect,ChannelSelect:ChannelSelect,Checkboxes:Checkboxes,ConversationMultiSelect:ConversationMultiSelect,ConversationSelect:ConversationSelect,DatePicker:DatePicker,DateTimePicker:DateTimePicker,EmailInput:EmailInput,ExternalMultiSelect:ExternalMultiSelect,ExternalSelect:ExternalSelect,Img:Img,NumberInput:NumberInput,OverflowMenu:OverflowMenu,RadioButtons:RadioButtons,StaticMultiSelect:StaticMultiSelect,StaticSelect:StaticSelect,TextInput:TextInput,TimePicker:TimePicker,URLInput:URLInput,UserMultiSelect:UserMultiSelect,UserSelect:UserSelect,FileInput:FileInput};t.Elements=k},6857:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NumberInputBuilder=void 0;const r=s(9052);const n=s(938);const i=s(2382);const o=s(3810);const A=s(7130);class NumberInputBuilder extends r.ElementBuilderBase{build(){return this.getResult(i.SlackElementDto,{type:n.ElementType.NumberInput,initialValue:o.getStringFromNumber(this.props.initialValue),maxValue:o.getStringFromNumber(this.props.maxValue),minValue:o.getStringFromNumber(this.props.minValue),placeholder:o.getPlainTextObject(this.props.placeholder),dispatchActionConfig:o.getDispatchActionsConfigurationObject(this.props)})}}t.NumberInputBuilder=NumberInputBuilder;o.applyMixins(NumberInputBuilder,[A.ActionId,A.DispatchActionOnCharacterEntered,A.DispatchActionOnEnterPressed,A.End,A.FocusOnLoad,A.InitialValue,A.IsDecimalAllowed,A.MaxValue,A.MinValue,A.Placeholder])},7326:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.OverflowMenuBuilder=void 0;const r=s(9052);const n=s(938);const i=s(2382);const o=s(3810);const A=s(7130);class OverflowMenuBuilder extends r.ElementBuilderBase{build(){return this.getResult(i.SlackElementDto,{type:n.ElementType.Overflow,options:o.getBuilderResults(this.props.options),confirm:o.getBuilderResult(this.props.confirm)})}}t.OverflowMenuBuilder=OverflowMenuBuilder;o.applyMixins(OverflowMenuBuilder,[A.ActionId,A.Confirm,A.End,A.Options])},8103:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.RadioButtonsBuilder=void 0;const r=s(9052);const n=s(938);const i=s(2382);const o=s(3810);const A=s(7130);class RadioButtonsBuilder extends r.ElementBuilderBase{build(){return this.getResult(i.SlackElementDto,{type:n.ElementType.RadioButtons,options:o.getBuilderResults(this.props.options,{isMarkdown:true}),initialOption:o.getBuilderResult(this.props.initialOption,{isMarkdown:true}),confirm:o.getBuilderResult(this.props.confirm)})}}t.RadioButtonsBuilder=RadioButtonsBuilder;o.applyMixins(RadioButtonsBuilder,[A.ActionId,A.Confirm,A.End,A.FocusOnLoad,A.InitialOption,A.Options])},9309:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.StaticMultiSelectBuilder=void 0;const r=s(9052);const n=s(938);const i=s(2382);const o=s(3810);const A=s(7130);class StaticMultiSelectBuilder extends r.ElementBuilderBase{build(){return this.getResult(i.SlackElementDto,{type:n.ElementType.StaticMultiSelect,placeholder:o.getPlainTextObject(this.props.placeholder),options:o.getBuilderResults(this.props.options),initialOptions:o.getBuilderResults(this.props.initialOptions),optionGroups:o.getBuilderResults(this.props.optionGroups),confirm:o.getBuilderResult(this.props.confirm)})}}t.StaticMultiSelectBuilder=StaticMultiSelectBuilder;o.applyMixins(StaticMultiSelectBuilder,[A.ActionId,A.Confirm,A.End,A.FocusOnLoad,A.InitialOptions,A.MaxSelectedItems,A.OptionGroups,A.Options,A.Placeholder])},125:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.StaticSelectBuilder=void 0;const r=s(9052);const n=s(938);const i=s(2382);const o=s(3810);const A=s(7130);class StaticSelectBuilder extends r.ElementBuilderBase{build(){return this.getResult(i.SlackElementDto,{type:n.ElementType.StaticSelect,placeholder:o.getPlainTextObject(this.props.placeholder),options:o.getBuilderResults(this.props.options),optionGroups:o.getBuilderResults(this.props.optionGroups),initialOption:o.getBuilderResult(this.props.initialOption),confirm:o.getBuilderResult(this.props.confirm)})}}t.StaticSelectBuilder=StaticSelectBuilder;o.applyMixins(StaticSelectBuilder,[A.ActionId,A.Confirm,A.End,A.FocusOnLoad,A.InitialOption,A.OptionGroups,A.Options,A.Placeholder])},7940:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TextInputBuilder=void 0;const r=s(9052);const n=s(938);const i=s(2382);const o=s(3810);const A=s(7130);class TextInputBuilder extends r.ElementBuilderBase{build(){return this.getResult(i.SlackElementDto,{type:n.ElementType.TextInput,placeholder:o.getPlainTextObject(this.props.placeholder),dispatchActionConfig:o.getDispatchActionsConfigurationObject(this.props)})}}t.TextInputBuilder=TextInputBuilder;o.applyMixins(TextInputBuilder,[A.ActionId,A.DispatchActionOnCharacterEntered,A.DispatchActionOnEnterPressed,A.End,A.FocusOnLoad,A.InitialValue,A.MaxLength,A.MinLength,A.Multiline,A.Placeholder])},2201:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TimePickerBuilder=void 0;const r=s(9052);const n=s(938);const i=s(2382);const o=s(3810);const A=s(7130);class TimePickerBuilder extends r.ElementBuilderBase{build(){return this.getResult(i.SlackElementDto,{type:n.ElementType.TimePicker,placeholder:o.getPlainTextObject(this.props.placeholder),confirm:o.getBuilderResult(this.props.confirm)})}}t.TimePickerBuilder=TimePickerBuilder;o.applyMixins(TimePickerBuilder,[A.ActionId,A.Confirm,A.End,A.FocusOnLoad,A.InitialTime,A.Placeholder])},8084:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.URLInputBuilder=void 0;const r=s(9052);const n=s(938);const i=s(2382);const o=s(3810);const A=s(7130);class URLInputBuilder extends r.ElementBuilderBase{build(){return this.getResult(i.SlackElementDto,{type:n.ElementType.URLInput,placeholder:o.getPlainTextObject(this.props.placeholder),dispatchActionConfig:o.getDispatchActionsConfigurationObject(this.props)})}}t.URLInputBuilder=URLInputBuilder;o.applyMixins(URLInputBuilder,[A.ActionId,A.DispatchActionOnCharacterEntered,A.DispatchActionOnEnterPressed,A.End,A.FocusOnLoad,A.InitialValue,A.Placeholder])},3478:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.UserMultiSelectBuilder=void 0;const r=s(9052);const n=s(938);const i=s(2382);const o=s(3810);const A=s(7130);class UserMultiSelectBuilder extends r.ElementBuilderBase{build(){return this.getResult(i.SlackElementDto,{type:n.ElementType.UserMultiSelect,placeholder:o.getPlainTextObject(this.props.placeholder),confirm:o.getBuilderResult(this.props.confirm)})}}t.UserMultiSelectBuilder=UserMultiSelectBuilder;o.applyMixins(UserMultiSelectBuilder,[A.ActionId,A.Confirm,A.End,A.FocusOnLoad,A.InitialUsers,A.MaxSelectedItems,A.Placeholder])},5446:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.UserSelectBuilder=void 0;const r=s(9052);const n=s(938);const i=s(2382);const o=s(3810);const A=s(7130);class UserSelectBuilder extends r.ElementBuilderBase{build(){return this.getResult(i.SlackElementDto,{type:n.ElementType.UserSelect,placeholder:o.getPlainTextObject(this.props.placeholder),confirm:o.getBuilderResult(this.props.confirm)})}}t.UserSelectBuilder=UserSelectBuilder;o.applyMixins(UserSelectBuilder,[A.ActionId,A.Confirm,A.End,A.FocusOnLoad,A.InitialUser,A.Placeholder])},5684:function(e,t,s){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[s]}})}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var n=this&&this.__exportStar||function(e,t){for(var s in e)if(s!=="default"&&!Object.prototype.hasOwnProperty.call(t,s))r(t,e,s)};Object.defineProperty(t,"__esModule",{value:true});n(s(2085),t);n(s(6019),t);n(s(8933),t);n(s(8716),t);n(s(6240),t);n(s(4136),t);n(s(8529),t);n(s(6815),t)},9367:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.BitBuilderBase=void 0;const r=s(4623);class BitBuilderBase extends r.Builder{}t.BitBuilderBase=BitBuilderBase},2785:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.BlockBuilderBase=void 0;const r=s(4623);class BlockBuilderBase extends r.Builder{}t.BlockBuilderBase=BlockBuilderBase},3240:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CompositionObjectBase=void 0;class CompositionObjectBase{}t.CompositionObjectBase=CompositionObjectBase},470:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ElementBuilderBase=void 0;const r=s(4623);class ElementBuilderBase extends r.Builder{}t.ElementBuilderBase=ElementBuilderBase},9052:function(e,t,s){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[s]}})}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var n=this&&this.__exportStar||function(e,t){for(var s in e)if(s!=="default"&&!Object.prototype.hasOwnProperty.call(t,s))r(t,e,s)};Object.defineProperty(t,"__esModule",{value:true});n(s(9367),t);n(s(2785),t);n(s(3240),t);n(s(470),t);n(s(5819),t)},5819:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.SurfaceBuilderBase=void 0;const r=s(4623);class SurfaceBuilderBase extends r.Builder{}t.SurfaceBuilderBase=SurfaceBuilderBase},1868:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.BlockType=void 0;var s;(function(e){e["Section"]="section";e["Actions"]="actions";e["Context"]="context";e["Input"]="input";e["File"]="file";e["Divider"]="divider";e["Image"]="image";e["Header"]="header";e["Video"]="video"})(s=t.BlockType||(t.BlockType={}))},9195:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ButtonStyle=void 0;var s;(function(e){e["Danger"]="danger";e["Primary"]="primary"})(s=t.ButtonStyle||(t.ButtonStyle={}))},3190:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ComponentUIText=void 0;var s;(function(e){e["Next"]="Next";e["Previous"]="Previous";e["More"]="More";e["Close"]="Close"})(s=t.ComponentUIText||(t.ComponentUIText={}))},8354:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DispatchOnType=void 0;var s;(function(e){e["OnEnterPressed"]="on_enter_pressed";e["OnCharacterEntered"]="on_character_entered"})(s=t.DispatchOnType||(t.DispatchOnType={}))},370:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ElementType=void 0;var s;(function(e){e["Button"]="button";e["Checkboxes"]="checkboxes";e["DatePicker"]="datepicker";e["DateTimePicker"]="datetimepicker";e["TimePicker"]="timepicker";e["Image"]="image";e["Overflow"]="overflow";e["TextInput"]="plain_text_input";e["RadioButtons"]="radio_buttons";e["StaticSelect"]="static_select";e["ExternalSelect"]="external_select";e["UserSelect"]="users_select";e["ConversationSelect"]="conversations_select";e["ChannelSelect"]="channels_select";e["StaticMultiSelect"]="multi_static_select";e["ExternalMultiSelect"]="multi_external_select";e["UserMultiSelect"]="multi_users_select";e["ConversationsMultiSelect"]="multi_conversations_select";e["ChannelsMultiSelect"]="multi_channels_select";e["URLInput"]="url_text_input";e["EmailInput"]="email_text_input";e["NumberInput"]="number_input";e["FileInput"]="file_input"})(s=t.ElementType||(t.ElementType={}))},8194:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.FileType=void 0;var s;(function(e){e["Remote"]="remote"})(s=t.FileType||(t.FileType={}))},42:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.FilterType=void 0;var s;(function(e){e["Im"]="im";e["Mpim"]="mpim";e["Private"]="private";e["Public"]="public"})(s=t.FilterType||(t.FilterType={}))},938:function(e,t,s){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[s]}})}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var n=this&&this.__exportStar||function(e,t){for(var s in e)if(s!=="default"&&!Object.prototype.hasOwnProperty.call(t,s))r(t,e,s)};Object.defineProperty(t,"__esModule",{value:true});n(s(1868),t);n(s(9195),t);n(s(3190),t);n(s(8354),t);n(s(370),t);n(s(8194),t);n(s(42),t);n(s(2171),t);n(s(5066),t);n(s(4828),t);n(s(4475),t);n(s(3137),t)},2171:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ObjectType=void 0;var s;(function(e){e["Text"]="plain_text";e["Markdown"]="mrkdwn"})(s=t.ObjectType||(t.ObjectType={}))},5066:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PaginatorButtonId=void 0;var s;(function(e){e["Next"]="next";e["Previous"]="previous"})(s=t.PaginatorButtonId||(t.PaginatorButtonId={}))},4828:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Prop=void 0;var s;(function(e){e["AuthorName"]="authorName";e["Blocks"]="blocks";e["Elements"]="elements";e["BlockId"]="blockId";e["ExternalId"]="externalId";e["Label"]="label";e["Element"]="element";e["Hint"]="hint";e["Optional"]="optional";e["Fields"]="fields";e["Accessory"]="accessory";e["ActionId"]="actionId";e["Url"]="url";e["Style"]="style";e["Value"]="value";e["Option"]="option";e["Confirm"]="confirm";e["ImageUrl"]="imageUrl";e["AltText"]="altText";e["Options"]="options";e["InitialOptions"]="initialOptions";e["InitialOption"]="initialOption";e["Placeholder"]="placeholder";e["InitialDate"]="initialDate";e["InitialDateTime"]="initialDateTime";e["InitialValue"]="initialValue";e["IsDecimalAllowed"]="isDecimalAllowed";e["Multiline"]="multiline";e["MinLength"]="minLength";e["MaxLength"]="maxLength";e["MinValue"]="minValue";e["MaxValue"]="maxValue";e["InitialChannel"]="initialChannel";e["InitialChannels"]="initialChannels";e["InitialConversation"]="initialConversation";e["InitialConversations"]="initialConversations";e["ResponseUrlEnabled"]="responseUrlEnabled";e["DefaultToCurrentConversation"]="defaultToCurrentConversation";e["Filter"]="filter";e["MinQueryLength"]="minQueryLength";e["OptionGroups"]="optionGroups";e["InitialUser"]="initialUser";e["InitialUsers"]="initialUsers";e["MaxSelectedItems"]="maxSelectedItems";e["Title"]="title";e["Submit"]="submit";e["Close"]="close";e["Deny"]="deny";e["ExcludeExternalSharedChannels"]="excludeExternalSharedChannels";e["ExcludeBotUsers"]="excludeBotUsers";e["Text"]="text";e["PrivateMetaData"]="privateMetaData";e["CallbackId"]="callbackId";e["Channel"]="channel";e["ClearOnClose"]="clearOnClose";e["NotifyOnClose"]="notifyOnClose";e["Description"]="description";e["Danger"]="danger";e["Primary"]="primary";e["AsUser"]="asUser";e["ThreadTs"]="threadTs";e["ReplaceOriginal"]="replaceOriginal";e["DeleteOriginal"]="deleteOriginal";e["ResponseType"]="responseType";e["PostAt"]="postAt";e["Ephemeral"]="ephemeral";e["InChannel"]="inChannel";e["Ts"]="ts";e["Color"]="color";e["Fallback"]="fallback";e["Attachments"]="attachments";e["DispatchAction"]="dispatchAction";e["DispatchActionConfig"]="dispatchActionConfig";e["OnEnterPressed"]="onEnterPressed";e["OnCharacterEntered"]="onCharacterEntered";e["DispatchActionOnEnterPressed"]="dispatchActionOnEnterPressed";e["DispatchActionOnCharacterEntered"]="dispatchActionOnCharacterEntered";e["InitialTime"]="initialTime";e["Mrkdwn"]="mrkdwn";e["IgnoreMarkdown"]="ignoreMarkdown";e["SubmitDisabled"]="submitDisabled";e["FocusOnLoad"]="focusOnLoad";e["AccessibilityLabel"]="accessibilityLabel";e["ProviderIconUrl"]="providerIconUrl";e["ProviderName"]="providerName";e["TitleUrl"]="titleUrl";e["ThumbnailUrl"]="thumbnailUrl";e["VideoUrl"]="videoUrl";e["MaxFiles"]="maxFiles";e["Filetypes"]="filetypes"})(s=t.Prop||(t.Prop={}))},4475:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ResponseType=void 0;var s;(function(e){e["Ephemeral"]="ephemeral";e["InChannel"]="in_channel"})(s=t.ResponseType||(t.ResponseType={}))},3137:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.SurfaceType=void 0;var s;(function(e){e["HomeTab"]="home";e["Modal"]="modal";e["WorkflowStep"]="workflow_step"})(s=t.SurfaceType||(t.SurfaceType={}))},2382:function(e,t,s){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[s]}})}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var n=this&&this.__exportStar||function(e,t){for(var s in e)if(s!=="default"&&!Object.prototype.hasOwnProperty.call(t,s))r(t,e,s)};Object.defineProperty(t,"__esModule",{value:true});n(s(6498),t)},6498:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.SlackElementDto=t.SlackBlockDto=t.SlackWorkflowStepDto=t.SlackModalDto=t.SlackHomeTabDto=t.SlackMessageDto=t.SlackDto=t.Param=void 0;const r=s(938);var n;(function(e){e["actionId"]="action_id";e["blocks"]="blocks";e["blockId"]="block_id";e["maxSelectedItems"]="max_selected_items";e["title"]="title";e["text"]="text";e["confirm"]="confirm";e["deny"]="deny";e["style"]="style";e["danger"]="danger";e["label"]="label";e["options"]="options";e["value"]="value";e["description"]="description";e["url"]="url";e["elements"]="elements";e["externalId"]="external_id";e["imageUrl"]="image_url";e["altText"]="alt_text";e["element"]="element";e["hint"]="hint";e["optional"]="optional";e["fields"]="fields";e["accessory"]="accessory";e["initialChannels"]="initial_channels";e["initialChannel"]="initial_channel";e["responseUrlEnabled"]="response_url_enabled";e["initialOptions"]="initial_options";e["initialConversations"]="initial_conversations";e["defaultToCurrentConversation"]="default_to_current_conversation";e["filter"]="filter";e["initialConversation"]="initial_conversation";e["initialDate"]="initial_date";e["initialDateTime"]="initial_date_time";e["isDecimalAllowed"]="is_decimal_allowed";e["minQueryLength"]="min_query_length";e["initialOption"]="initial_option";e["optionGroups"]="option_groups";e["placeholder"]="placeholder";e["initialValue"]="initial_value";e["multiline"]="multiline";e["minLength"]="min_length";e["maxLength"]="max_length";e["initialUsers"]="initial_users";e["initialUser"]="initial_user";e["channel"]="channel";e["close"]="close";e["submit"]="submit";e["clearOnClose"]="clear_on_close";e["notifyOnClose"]="notify_on_close";e["privateMetaData"]="private_metadata";e["callbackId"]="callback_id";e["asUser"]="as_user";e["ts"]="ts";e["threadTs"]="thread_ts";e["replaceOriginal"]="replace_original";e["deleteOriginal"]="delete_original";e["responseType"]="response_type";e["postAt"]="post_at";e["color"]="color";e["fallback"]="fallback";e["attachments"]="attachments";e["dispatchAction"]="dispatch_action";e["dispatchActionConfig"]="dispatch_action_config";e["initialTime"]="initial_time";e["mrkdwn"]="mrkdwn";e["submitDisabled"]="submit_disabled";e["type"]="type";e["focusOnLoad"]="focus_on_load";e["accessibilityLabel"]="accessibility_label";e["authorName"]="author_name";e["providerIconUrl"]="provider_icon_url";e["providerName"]="provider_name";e["titleUrl"]="title_url";e["thumbnailUrl"]="thumbnail_url";e["videoUrl"]="video_url";e["minValue"]="min_value";e["maxValue"]="max_value";e["maxFiles"]="max_files";e["filetypes"]="filetypes";e["source"]="source"})(n=t.Param||(t.Param={}));class SlackDto{constructor(e){Object.keys(e).forEach((t=>{const s=SlackDto.mapParam(t);if(e[t]!==undefined&&s!==undefined){this[s]=e[t]}}))}static mapParam(e){return n[e]}}t.SlackDto=SlackDto;class SlackMessageDto extends SlackDto{}t.SlackMessageDto=SlackMessageDto;class SlackHomeTabDto extends SlackDto{constructor(){super(...arguments);this.type=r.SurfaceType.HomeTab}}t.SlackHomeTabDto=SlackHomeTabDto;class SlackModalDto extends SlackDto{constructor(){super(...arguments);this.type=r.SurfaceType.Modal}}t.SlackModalDto=SlackModalDto;class SlackWorkflowStepDto extends SlackDto{constructor(){super(...arguments);this.type=r.SurfaceType.WorkflowStep}}t.SlackWorkflowStepDto=SlackWorkflowStepDto;class SlackBlockDto extends SlackDto{}t.SlackBlockDto=SlackBlockDto;class SlackElementDto extends SlackDto{}t.SlackElementDto=SlackElementDto},788:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.BlockBuilderError=void 0;class BlockBuilderError extends Error{constructor(e){super(e);this.name="BlockBuilderError";Error.captureStackTrace(this,this.constructor)}}t.BlockBuilderError=BlockBuilderError},5718:function(e,t,s){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[s]}})}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var n=this&&this.__exportStar||function(e,t){for(var s in e)if(s!=="default"&&!Object.prototype.hasOwnProperty.call(t,s))r(t,e,s)};Object.defineProperty(t,"__esModule",{value:true});n(s(788),t)},5569:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.applyMixins=void 0;function applyMixins(e,t){const{constructor:s}=e.prototype;t.forEach((t=>{Object.getOwnPropertyNames(t.prototype).forEach((s=>{const r=Object.getOwnPropertyDescriptor(t.prototype,s);Object.defineProperty(e.prototype,s,r)}))}));e.prototype.constructor=s}t.applyMixins=applyMixins},2902:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getDispatchActionsConfigurationObject=t.getFilter=t.getDateTimeIntegerFromDate=t.getFormattedDate=t.getFields=t.getElementsForContext=t.getMarkdownObject=t.getStringFromNumber=t.getPlainTextObject=t.getBuilderResults=t.getBuilderResult=void 0;const r=s(4803);const n={isMarkdown:false};const valueOrUndefined=e=>e===undefined?undefined:e;const valuesOrUndefined=e=>{if(e.filter((e=>e!==undefined)).length===0){return undefined}return e};function getBuilderResult(e,t=n){return valueOrUndefined(e)&&e.build(t)}t.getBuilderResult=getBuilderResult;function getBuilderResults(e,t=n){return valueOrUndefined(e)&&e.map((e=>getBuilderResult(e,t)))}t.getBuilderResults=getBuilderResults;function getPlainTextObject(e){return valueOrUndefined(e)?new r.PlainTextObject(e):undefined}t.getPlainTextObject=getPlainTextObject;function getStringFromNumber(e){return valueOrUndefined(e)?e.toString():undefined}t.getStringFromNumber=getStringFromNumber;function getMarkdownObject(e){return valueOrUndefined(e)?new r.MarkdownObject(e):undefined}t.getMarkdownObject=getMarkdownObject;function getElementsForContext(e){return valueOrUndefined(e)&&e.map((e=>typeof e==="string"?new r.MarkdownObject(e):e.build()))}t.getElementsForContext=getElementsForContext;function getFields(e){return valueOrUndefined(e)&&e.map((e=>new r.MarkdownObject(e)))}t.getFields=getFields;function getFormattedDate(e){return valueOrUndefined(e)&&e.toISOString().split("T")[0]}t.getFormattedDate=getFormattedDate;function getDateTimeIntegerFromDate(e){return valueOrUndefined(e)&&Math.floor(e.getTime()/1e3)}t.getDateTimeIntegerFromDate=getDateTimeIntegerFromDate;function getFilter({filter:e,excludeBotUsers:t,excludeExternalSharedChannels:s}){return valuesOrUndefined([e,t,s])&&new r.FilterObject({filter:e,excludeBotUsers:t,excludeExternalSharedChannels:s})}t.getFilter=getFilter;function getDispatchActionsConfigurationObject({onEnterPressed:e,onCharacterEntered:t}){return valuesOrUndefined([e,t])&&new r.DispatchActionsConfigurationObject([e,t].filter(Boolean))}t.getDispatchActionsConfigurationObject=getDispatchActionsConfigurationObject},3810:function(e,t,s){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[s]}})}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var n=this&&this.__exportStar||function(e,t){for(var s in e)if(s!=="default"&&!Object.prototype.hasOwnProperty.call(t,s))r(t,e,s)};Object.defineProperty(t,"__esModule",{value:true});n(s(5569),t);n(s(2902),t)},6348:function(e,t,s){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[s]}})}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var n=this&&this.__exportStar||function(e,t){for(var s in e)if(s!=="default"&&!Object.prototype.hasOwnProperty.call(t,s))r(t,e,s)};Object.defineProperty(t,"__esModule",{value:true});n(s(9052),t);n(s(938),t);n(s(2382),t);n(s(5718),t);n(s(3810),t);n(s(3288),t);n(s(7130),t);n(s(4803),t);n(s(3586),t)},6056:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AccordionStateManager=void 0;class AccordionStateManager{constructor(e){this.expandedItems=e.expandedItems||[];this.collapseOnExpand=e.collapseOnExpand||false}checkItemIsExpandedByIndex(e){return this.expandedItems.includes(e)}getNextStateByItemIndex(e){if(e===undefined){return this.expandedItems}const t=this.checkItemIsExpandedByIndex(e);if(t){const t=[...this.expandedItems];const s=this.expandedItems.findIndex((t=>t===e));t.splice(s,1);return t}return this.collapseOnExpand?[e]:[...this.expandedItems,e]}}t.AccordionStateManager=AccordionStateManager},4623:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Builder=void 0;const r=s(5718);class Builder{constructor(e){this.props=e?{...e}:{};Object.keys(this.props).forEach((e=>this.props[e]===undefined&&delete this.props[e]));Object.seal(this)}set(e,t){if(this.props[t]!==undefined){throw new r.BlockBuilderError(`Property ${t} can only be assigned once.`)}if(e!==undefined){this.props[t]=e}return this}append(e,t){const s=Builder.pruneUndefinedFromArray(e);if(s.length>0){this.props[t]=this.props[t]===undefined?s:this.props[t].concat(s)}return this}getResult(e,t){const s=new e({...this.props,...t});return Object.freeze(s)}build(e){throw new r.BlockBuilderError("Builder must have a declared 'build' method")}static pruneUndefinedFromArray(e){return e.filter((e=>e!==undefined?e:false))}}t.Builder=Builder},3288:function(e,t,s){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[s]}})}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var n=this&&this.__exportStar||function(e,t){for(var s in e)if(s!=="default"&&!Object.prototype.hasOwnProperty.call(t,s))r(t,e,s)};Object.defineProperty(t,"__esModule",{value:true});n(s(6056),t);n(s(4623),t);n(s(3673),t)},3673:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PaginatorStateManager=void 0;class PaginatorStateManager{constructor(e){const t=PaginatorStateManager.calculateState({page:Math.floor(e.page)||1,totalItems:Math.floor(e.totalItems)||1,perPage:Math.floor(e.perPage)});this.page=t.page;this.perPage=t.perPage;this.totalItems=t.totalItems;this.totalPages=t.totalPages;this.offset=t.offset}static calculateState(e){const{page:t,totalItems:s,perPage:r}=e;const n=Math.ceil(s/r);const i=PaginatorStateManager.calculatePage(t,n);const o=(i-1)*r;return{totalItems:s,perPage:r,totalPages:n,offset:o,page:i}}static calculatePage(e,t){if(e<1){return t}return e>t?1:e}getPage(){return this.page}getTotalPages(){return this.totalPages}getTotalItems(){return this.totalItems}getStateByPage(e){return PaginatorStateManager.calculateState({page:e,perPage:this.perPage,totalItems:this.totalItems})}getNextPageState(){return this.getStateByPage(this.page+1)}getPreviousPageState(){return this.getStateByPage(this.page-1)}extractItems(e){const t=this.offset;const s=t+this.perPage;return e.slice(t,s)}}t.PaginatorStateManager=PaginatorStateManager},4514:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Options=t.OptionGroups=t.InitialUsers=t.InitialOptions=t.InitialConversations=t.InitialChannels=t.Filter=t.Fields=t.Elements=t.Blocks=t.Attachments=void 0;const r=s(3288);const n=s(938);class Attachments extends r.Builder{attachments(...e){return this.append(e.flat(),n.Prop.Attachments)}}t.Attachments=Attachments;class Blocks extends r.Builder{blocks(...e){return this.append(e.flat(),n.Prop.Blocks)}}t.Blocks=Blocks;class Elements extends r.Builder{elements(...e){return this.append(e.flat(),n.Prop.Elements)}}t.Elements=Elements;class Fields extends r.Builder{fields(...e){return this.append(e.flat(),n.Prop.Fields)}}t.Fields=Fields;class Filter extends r.Builder{filter(...e){return this.append(e.flat(),n.Prop.Filter)}}t.Filter=Filter;class InitialChannels extends r.Builder{initialChannels(...e){return this.append(e.flat(),n.Prop.InitialChannels)}}t.InitialChannels=InitialChannels;class InitialConversations extends r.Builder{initialConversations(...e){return this.append(e.flat(),n.Prop.InitialConversations)}}t.InitialConversations=InitialConversations;class InitialOptions extends r.Builder{initialOptions(...e){return this.append(e.flat(),n.Prop.InitialOptions)}}t.InitialOptions=InitialOptions;class InitialUsers extends r.Builder{initialUsers(...e){return this.append(e.flat(),n.Prop.InitialUsers)}}t.InitialUsers=InitialUsers;class OptionGroups extends r.Builder{optionGroups(...e){return this.append(e.flat(),n.Prop.OptionGroups)}}t.OptionGroups=OptionGroups;class Options extends r.Builder{options(...e){return this.append(e.flat(),n.Prop.Options)}}t.Options=Options},9872:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.SubmitDisabled=t.ResponseUrlEnabled=t.ReplaceOriginal=t.Primary=t.Optional=t.NotifyOnClose=t.Multiline=t.InChannel=t.IgnoreMarkdown=t.FocusOnLoad=t.ExcludeBotUsers=t.ExcludeExternalSharedChannels=t.Ephemeral=t.DispatchActionOnEnterPressed=t.DispatchActionOnCharacterEntered=t.DispatchAction=t.DeleteOriginal=t.DefaultToCurrentConversation=t.Danger=t.ClearOnClose=t.AsUser=void 0;const r=s(3288);const n=s(938);class AsUser extends r.Builder{asUser(e=true){return this.set(e,n.Prop.AsUser)}}t.AsUser=AsUser;class ClearOnClose extends r.Builder{clearOnClose(e=true){return this.set(e,n.Prop.ClearOnClose)}}t.ClearOnClose=ClearOnClose;class Danger extends r.Builder{danger(e=true){return e?this.set(n.ButtonStyle.Danger,n.Prop.Style):this}}t.Danger=Danger;class DefaultToCurrentConversation extends r.Builder{defaultToCurrentConversation(e=true){return this.set(e,n.Prop.DefaultToCurrentConversation)}}t.DefaultToCurrentConversation=DefaultToCurrentConversation;class DeleteOriginal extends r.Builder{deleteOriginal(e=true){return this.set(e,n.Prop.DeleteOriginal)}}t.DeleteOriginal=DeleteOriginal;class DispatchAction extends r.Builder{dispatchAction(e=true){return this.set(e,n.Prop.DispatchAction)}}t.DispatchAction=DispatchAction;class DispatchActionOnCharacterEntered extends r.Builder{dispatchActionOnCharacterEntered(e=true){return e?this.set(n.DispatchOnType.OnCharacterEntered,n.Prop.OnCharacterEntered):this}}t.DispatchActionOnCharacterEntered=DispatchActionOnCharacterEntered;class DispatchActionOnEnterPressed extends r.Builder{dispatchActionOnEnterPressed(e=true){return e?this.set(n.DispatchOnType.OnEnterPressed,n.Prop.OnEnterPressed):this}}t.DispatchActionOnEnterPressed=DispatchActionOnEnterPressed;class Ephemeral extends r.Builder{ephemeral(e=true){return e?this.set(n.ResponseType.Ephemeral,n.Prop.ResponseType):this}}t.Ephemeral=Ephemeral;class ExcludeExternalSharedChannels extends r.Builder{excludeExternalSharedChannels(e=true){return this.set(e,n.Prop.ExcludeExternalSharedChannels)}}t.ExcludeExternalSharedChannels=ExcludeExternalSharedChannels;class ExcludeBotUsers extends r.Builder{excludeBotUsers(e=true){return this.set(e,n.Prop.ExcludeBotUsers)}}t.ExcludeBotUsers=ExcludeBotUsers;class FocusOnLoad extends r.Builder{focusOnLoad(e=true){return this.set(e,n.Prop.FocusOnLoad)}}t.FocusOnLoad=FocusOnLoad;class IgnoreMarkdown extends r.Builder{ignoreMarkdown(e=false){return this.set(e,n.Prop.Mrkdwn)}}t.IgnoreMarkdown=IgnoreMarkdown;class InChannel extends r.Builder{inChannel(e=true){return e?this.set(n.ResponseType.InChannel,n.Prop.ResponseType):this}}t.InChannel=InChannel;class Multiline extends r.Builder{multiline(e=true){return this.set(e,n.Prop.Multiline)}}t.Multiline=Multiline;class NotifyOnClose extends r.Builder{notifyOnClose(e=true){return this.set(e,n.Prop.NotifyOnClose)}}t.NotifyOnClose=NotifyOnClose;class Optional extends r.Builder{optional(e=true){return this.set(e,n.Prop.Optional)}}t.Optional=Optional;class Primary extends r.Builder{primary(e=true){return e?this.set(n.ButtonStyle.Primary,n.Prop.Style):this}}t.Primary=Primary;class ReplaceOriginal extends r.Builder{replaceOriginal(e=true){return this.set(e,n.Prop.ReplaceOriginal)}}t.ReplaceOriginal=ReplaceOriginal;class ResponseUrlEnabled extends r.Builder{responseUrlEnabled(e=true){return this.set(e,n.Prop.ResponseUrlEnabled)}}t.ResponseUrlEnabled=ResponseUrlEnabled;class SubmitDisabled extends r.Builder{submitDisabled(e=true){return this.set(e,n.Prop.SubmitDisabled)}}t.SubmitDisabled=SubmitDisabled},7130:function(e,t,s){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[s]}})}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var n=this&&this.__exportStar||function(e,t){for(var s in e)if(s!=="default"&&!Object.prototype.hasOwnProperty.call(t,s))r(t,e,s)};Object.defineProperty(t,"__esModule",{value:true});n(s(4514),t);n(s(9872),t);n(s(9315),t);n(s(86),t)},9315:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PrintPreviewUrl=t.GetPreviewUrl=t.GetBlocks=t.GetAttachments=t.End=t.BuildToObject=t.BuildToJSON=void 0;const r=s(3288);class BuildToJSON extends r.Builder{buildToJSON(){const e=this.build();return JSON.stringify(e)}}t.BuildToJSON=BuildToJSON;class BuildToObject extends r.Builder{buildToObject(){return this.build()}}t.BuildToObject=BuildToObject;class End extends r.Builder{end(){return this}}t.End=End;class GetAttachments extends r.Builder{getAttachments(){return this.build().attachments}}t.GetAttachments=GetAttachments;class GetBlocks extends r.Builder{getBlocks(){this.build();return this.build().blocks}}t.GetBlocks=GetBlocks;class GetPreviewUrl extends r.Builder{getPreviewUrl(){const e=this.build();const t="https://app.slack.com/block-kit-builder/#";const s=e.type?JSON.stringify(e):JSON.stringify({blocks:e.blocks,attachments:e.attachments});return encodeURI(`${t}${s}`).replace(/[!'()*]/g,escape)}}t.GetPreviewUrl=GetPreviewUrl;class PrintPreviewUrl extends GetPreviewUrl{printPreviewUrl(){console.log(this.getPreviewUrl())}}t.PrintPreviewUrl=PrintPreviewUrl},86:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.MaxFiles=t.VideoUrl=t.Value=t.Url=t.Ts=t.TitleUrl=t.Title=t.ThumbnailUrl=t.ThreadTs=t.Text=t.Submit=t.ProviderName=t.ProviderIconUrl=t.PrivateMetaData=t.PostAt=t.Placeholder=t.MinValue=t.MinLength=t.MinQueryLength=t.MaxValue=t.MaxSelectedItems=t.MaxLength=t.Label=t.IsDecimalAllowed=t.InitialValue=t.InitialUser=t.InitialTime=t.InitialOption=t.InitialDateTime=t.InitialDate=t.InitialConversation=t.InitialChannel=t.ImageUrl=t.Hint=t.Fallback=t.ExternalId=t.Element=t.Description=t.Deny=t.Confirm=t.Color=t.Close=t.Channel=t.CallbackId=t.BlockId=t.AuthorName=t.AltText=t.ActionId=t.Accessory=t.AccessibilityLabel=void 0;t.Filetypes=void 0;const r=s(3288);const n=s(938);class AccessibilityLabel extends r.Builder{accessibilityLabel(e){return this.set(e,n.Prop.AccessibilityLabel)}}t.AccessibilityLabel=AccessibilityLabel;class Accessory extends r.Builder{accessory(e){return this.set(e,n.Prop.Accessory)}}t.Accessory=Accessory;class ActionId extends r.Builder{actionId(e){return this.set(e,n.Prop.ActionId)}}t.ActionId=ActionId;class AltText extends r.Builder{altText(e){return this.set(e,n.Prop.AltText)}}t.AltText=AltText;class AuthorName extends r.Builder{authorName(e){return this.set(e,n.Prop.AuthorName)}}t.AuthorName=AuthorName;class BlockId extends r.Builder{blockId(e){return this.set(e,n.Prop.BlockId)}}t.BlockId=BlockId;class CallbackId extends r.Builder{callbackId(e){return this.set(e,n.Prop.CallbackId)}}t.CallbackId=CallbackId;class Channel extends r.Builder{channel(e){return this.set(e,n.Prop.Channel)}}t.Channel=Channel;class Close extends r.Builder{close(e){return this.set(e,n.Prop.Close)}}t.Close=Close;class Color extends r.Builder{color(e){return this.set(e,n.Prop.Color)}}t.Color=Color;class Confirm extends r.Builder{confirm(e){return this.set(e,n.Prop.Confirm)}}t.Confirm=Confirm;class Deny extends r.Builder{deny(e){return this.set(e,n.Prop.Deny)}}t.Deny=Deny;class Description extends r.Builder{description(e){return this.set(e,n.Prop.Description)}}t.Description=Description;class Element extends r.Builder{element(e){return this.set(e,n.Prop.Element)}}t.Element=Element;class ExternalId extends r.Builder{externalId(e){return this.set(e,n.Prop.ExternalId)}}t.ExternalId=ExternalId;class Fallback extends r.Builder{fallback(e){return this.set(e,n.Prop.Fallback)}}t.Fallback=Fallback;class Hint extends r.Builder{hint(e){return this.set(e,n.Prop.Hint)}}t.Hint=Hint;class ImageUrl extends r.Builder{imageUrl(e){return this.set(e,n.Prop.ImageUrl)}}t.ImageUrl=ImageUrl;class InitialChannel extends r.Builder{initialChannel(e){return this.set(e,n.Prop.InitialChannel)}}t.InitialChannel=InitialChannel;class InitialConversation extends r.Builder{initialConversation(e){return this.set(e,n.Prop.InitialConversation)}}t.InitialConversation=InitialConversation;class InitialDate extends r.Builder{initialDate(e){return this.set(e,n.Prop.InitialDate)}}t.InitialDate=InitialDate;class InitialDateTime extends r.Builder{initialDateTime(e){return this.set(e,n.Prop.InitialDateTime)}}t.InitialDateTime=InitialDateTime;class InitialOption extends r.Builder{initialOption(e){return this.set(e,n.Prop.InitialOption)}}t.InitialOption=InitialOption;class InitialTime extends r.Builder{initialTime(e){return this.set(e,n.Prop.InitialTime)}}t.InitialTime=InitialTime;class InitialUser extends r.Builder{initialUser(e){return this.set(e,n.Prop.InitialUser)}}t.InitialUser=InitialUser;class InitialValue extends r.Builder{initialValue(e){return this.set(e,n.Prop.InitialValue)}}t.InitialValue=InitialValue;class IsDecimalAllowed extends r.Builder{isDecimalAllowed(e){return this.set(e,n.Prop.IsDecimalAllowed)}}t.IsDecimalAllowed=IsDecimalAllowed;class Label extends r.Builder{label(e){return this.set(e,n.Prop.Label)}}t.Label=Label;class MaxLength extends r.Builder{maxLength(e){return this.set(e,n.Prop.MaxLength)}}t.MaxLength=MaxLength;class MaxSelectedItems extends r.Builder{maxSelectedItems(e){return this.set(e,n.Prop.MaxSelectedItems)}}t.MaxSelectedItems=MaxSelectedItems;class MaxValue extends r.Builder{maxValue(e){return this.set(e,n.Prop.MaxValue)}}t.MaxValue=MaxValue;class MinQueryLength extends r.Builder{minQueryLength(e){return this.set(e,n.Prop.MinQueryLength)}}t.MinQueryLength=MinQueryLength;class MinLength extends r.Builder{minLength(e){return this.set(e,n.Prop.MinLength)}}t.MinLength=MinLength;class MinValue extends r.Builder{minValue(e){return this.set(e,n.Prop.MinValue)}}t.MinValue=MinValue;class Placeholder extends r.Builder{placeholder(e){return this.set(e,n.Prop.Placeholder)}}t.Placeholder=Placeholder;class PostAt extends r.Builder{postAt(e){return this.set(e,n.Prop.PostAt)}}t.PostAt=PostAt;class PrivateMetaData extends r.Builder{privateMetaData(e){return this.set(e,n.Prop.PrivateMetaData)}}t.PrivateMetaData=PrivateMetaData;class ProviderIconUrl extends r.Builder{providerIconUrl(e){return this.set(e,n.Prop.ProviderIconUrl)}}t.ProviderIconUrl=ProviderIconUrl;class ProviderName extends r.Builder{providerName(e){return this.set(e,n.Prop.ProviderName)}}t.ProviderName=ProviderName;class Submit extends r.Builder{submit(e){return this.set(e,n.Prop.Submit)}}t.Submit=Submit;class Text extends r.Builder{text(e){return this.set(e,n.Prop.Text)}}t.Text=Text;class ThreadTs extends r.Builder{threadTs(e){return this.set(e,n.Prop.ThreadTs)}}t.ThreadTs=ThreadTs;class ThumbnailUrl extends r.Builder{thumbnailUrl(e){return this.set(e,n.Prop.ThumbnailUrl)}}t.ThumbnailUrl=ThumbnailUrl;class Title extends r.Builder{title(e){return this.set(e,n.Prop.Title)}}t.Title=Title;class TitleUrl extends r.Builder{titleUrl(e){return this.set(e,n.Prop.TitleUrl)}}t.TitleUrl=TitleUrl;class Ts extends r.Builder{ts(e){return this.set(e,n.Prop.Ts)}}t.Ts=Ts;class Url extends r.Builder{url(e){return this.set(e,n.Prop.Url)}}t.Url=Url;class Value extends r.Builder{value(e){return this.set(e,n.Prop.Value)}}t.Value=Value;class VideoUrl extends r.Builder{videoUrl(e){return this.set(e,n.Prop.VideoUrl)}}t.VideoUrl=VideoUrl;class MaxFiles extends r.Builder{maxFiles(e=10){return this.set(e,n.Prop.MaxFiles)}}t.MaxFiles=MaxFiles;class Filetypes extends r.Builder{filetypes(e=[]){return this.set(e.flat(),n.Prop.Filetypes)}}t.Filetypes=Filetypes},7298:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DispatchActionsConfigurationObject=void 0;const r=s(9052);class DispatchActionsConfigurationObject extends r.CompositionObjectBase{constructor(e){super();this.trigger_actions_on=e}}t.DispatchActionsConfigurationObject=DispatchActionsConfigurationObject},2253:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.FilterObject=void 0;const r=s(9052);class FilterObject extends r.CompositionObjectBase{constructor(e){super();this.include=e.filter;this.exclude_external_shared_channels=e.excludeExternalSharedChannels;this.exclude_bot_users=e.excludeBotUsers}}t.FilterObject=FilterObject},4803:function(e,t,s){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[s]}})}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var n=this&&this.__exportStar||function(e,t){for(var s in e)if(s!=="default"&&!Object.prototype.hasOwnProperty.call(t,s))r(t,e,s)};Object.defineProperty(t,"__esModule",{value:true});n(s(7298),t);n(s(2253),t);n(s(648),t);n(s(5871),t)},648:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.MarkdownObject=void 0;const r=s(9052);const n=s(938);class MarkdownObject extends r.CompositionObjectBase{constructor(e){super();this.type=n.ObjectType.Markdown;this.text=e}}t.MarkdownObject=MarkdownObject},5871:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PlainTextObject=void 0;const r=s(9052);const n=s(938);class PlainTextObject extends r.CompositionObjectBase{constructor(e){super();this.type=n.ObjectType.Text;this.text=e}}t.PlainTextObject=PlainTextObject},3586:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},4136:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Md=t.group=t.channel=t.user=t.emoji=t.mailto=t.link=t.listBullet=t.listDash=t.codeBlock=t.codeInline=t.strike=t.italic=t.bold=t.blockquote=t.quote=void 0;function quote(e){return`"${e}"`}t.quote=quote;function blockquote(e){return e.split("\n").map((e=>`>${e}`)).join("\n")}t.blockquote=blockquote;function bold(e){return`*${e}*`}t.bold=bold;function italic(e){return`_${e}_`}t.italic=italic;function strike(e){return`~${e}~`}t.strike=strike;function codeInline(e){return`\`${e}\``}t.codeInline=codeInline;function codeBlock(e){return`\`\`\`${e}\`\`\``}t.codeBlock=codeBlock;function listDash(...e){return e.flat().map((e=>`- ${e}`)).join("\n")}t.listDash=listDash;function listBullet(...e){return e.flat().map((e=>`• ${e}`)).join("\n")}t.listBullet=listBullet;function link(e,t){return t?`<${e}|${t}>`:`<${e}>`}t.link=link;function mailto(e,t){return``}t.mailto=mailto;function emoji(e){return`:${e}:`}t.emoji=emoji;function user(e){return`<@${e}>`}t.user=user;function channel(e){return`<#${e}>`}t.channel=channel;function group(e){return``}t.group=group;const s={quote:quote,blockquote:blockquote,bold:bold,italic:italic,strike:strike,codeInline:codeInline,codeBlock:codeBlock,listDash:listDash,listBullet:listBullet,link:link,mailto:mailto,emoji:emoji,user:user,channel:channel,group:group};t.Md=s},1828:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.HomeTabBuilder=void 0;const r=s(9052);const n=s(938);const i=s(2382);const o=s(3810);const A=s(7130);class HomeTabBuilder extends r.SurfaceBuilderBase{build(){return this.getResult(i.SlackHomeTabDto,{type:n.SurfaceType.HomeTab,blocks:o.getBuilderResults(this.props.blocks)})}}t.HomeTabBuilder=HomeTabBuilder;o.applyMixins(HomeTabBuilder,[A.Blocks,A.CallbackId,A.ExternalId,A.PrivateMetaData,A.BuildToJSON,A.BuildToObject,A.GetBlocks,A.GetPreviewUrl,A.PrintPreviewUrl])},8529:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Surfaces=t.WorkflowStep=t.Modal=t.Message=t.HomeTab=void 0;const r=s(1828);const n=s(170);const i=s(5544);const o=s(9559);function HomeTab(e){return new r.HomeTabBuilder(e)}t.HomeTab=HomeTab;function Message(e){return new n.MessageBuilder(e)}t.Message=Message;function Modal(e){return new i.ModalBuilder(e)}t.Modal=Modal;function WorkflowStep(e){return new o.WorkflowStepBuilder(e)}t.WorkflowStep=WorkflowStep;const A={HomeTab:HomeTab,Message:Message,Modal:Modal,WorkflowStep:WorkflowStep};t.Surfaces=A},170:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.MessageBuilder=void 0;const r=s(9052);const n=s(2382);const i=s(3810);const o=s(7130);class MessageBuilder extends r.SurfaceBuilderBase{build(){return this.getResult(n.SlackMessageDto,{blocks:i.getBuilderResults(this.props.blocks),attachments:i.getBuilderResults(this.props.attachments)})}}t.MessageBuilder=MessageBuilder;i.applyMixins(MessageBuilder,[o.AsUser,o.Attachments,o.Blocks,o.Channel,o.DeleteOriginal,o.Ephemeral,o.IgnoreMarkdown,o.InChannel,o.PostAt,o.ReplaceOriginal,o.Text,o.ThreadTs,o.Ts,o.BuildToJSON,o.BuildToObject,o.GetAttachments,o.GetBlocks,o.GetPreviewUrl,o.PrintPreviewUrl])},5544:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ModalBuilder=void 0;const r=s(9052);const n=s(938);const i=s(2382);const o=s(3810);const A=s(7130);class ModalBuilder extends r.SurfaceBuilderBase{build(){return this.getResult(i.SlackModalDto,{type:n.SurfaceType.Modal,title:o.getPlainTextObject(this.props.title),blocks:o.getBuilderResults(this.props.blocks),close:o.getPlainTextObject(this.props.close),submit:o.getPlainTextObject(this.props.submit)})}}t.ModalBuilder=ModalBuilder;o.applyMixins(ModalBuilder,[A.Blocks,A.CallbackId,A.ClearOnClose,A.Close,A.ExternalId,A.NotifyOnClose,A.PrivateMetaData,A.Submit,A.Title,A.BuildToJSON,A.BuildToObject,A.GetBlocks,A.GetPreviewUrl,A.PrintPreviewUrl])},9559:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.WorkflowStepBuilder=void 0;const r=s(9052);const n=s(938);const i=s(2382);const o=s(3810);const A=s(7130);class WorkflowStepBuilder extends r.SurfaceBuilderBase{build(){return this.getResult(i.SlackWorkflowStepDto,{type:n.SurfaceType.WorkflowStep,title:o.getPlainTextObject(this.props.title),blocks:o.getBuilderResults(this.props.blocks),close:o.getPlainTextObject(this.props.close),submit:o.getPlainTextObject(this.props.submit)})}}t.WorkflowStepBuilder=WorkflowStepBuilder;o.applyMixins(WorkflowStepBuilder,[A.Blocks,A.CallbackId,A.PrivateMetaData,A.SubmitDisabled,A.BuildToJSON,A.BuildToObject,A.GetBlocks,A.GetPreviewUrl,A.PrintPreviewUrl])},6815:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Utilities=t.buildBlocks=t.buildBlock=t.OptionGroupCollection=t.OptionCollection=t.AttachmentCollection=t.BlockCollection=void 0;const r=s(3288);const getBuiltCollection=(...e)=>r.Builder.pruneUndefinedFromArray(e.flat()).map((e=>e&&e.build()));function BlockCollection(...e){return getBuiltCollection(...e)}t.BlockCollection=BlockCollection;function AttachmentCollection(...e){return getBuiltCollection(...e)}t.AttachmentCollection=AttachmentCollection;function OptionCollection(...e){return getBuiltCollection(...e)}t.OptionCollection=OptionCollection;function OptionGroupCollection(...e){return getBuiltCollection(...e)}t.OptionGroupCollection=OptionGroupCollection;function buildBlock(e){return e.build()}t.buildBlock=buildBlock;function buildBlocks(...e){return getBuiltCollection(...e)}t.buildBlocks=buildBlocks;const n={AttachmentCollection:AttachmentCollection,BlockCollection:BlockCollection,OptionCollection:OptionCollection,OptionGroupCollection:OptionGroupCollection,buildBlock:buildBlock,buildBlocks:buildBlocks};t.Utilities=n},1479:(e,t,s)=>{e.exports=s(2593)},2593:(e,t,s)=>{"use strict";var r=s(9278);var n=s(4756);var i=s(8611);var o=s(5692);var A=s(4434);var a=s(2613);var c=s(9023);t.httpOverHttp=httpOverHttp;t.httpsOverHttp=httpsOverHttp;t.httpOverHttps=httpOverHttps;t.httpsOverHttps=httpsOverHttps;function httpOverHttp(e){var t=new TunnelingAgent(e);t.request=i.request;return t}function httpsOverHttp(e){var t=new TunnelingAgent(e);t.request=i.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function httpOverHttps(e){var t=new TunnelingAgent(e);t.request=o.request;return t}function httpsOverHttps(e){var t=new TunnelingAgent(e);t.request=o.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function TunnelingAgent(e){var t=this;t.options=e||{};t.proxyOptions=t.options.proxy||{};t.maxSockets=t.options.maxSockets||i.Agent.defaultMaxSockets;t.requests=[];t.sockets=[];t.on("free",(function onFree(e,s,r,n){var i=toOptions(s,r,n);for(var o=0,A=t.requests.length;o=this.maxSockets){n.requests.push(i);return}n.createSocket(i,(function(t){t.on("free",onFree);t.on("close",onCloseOrRemove);t.on("agentRemove",onCloseOrRemove);e.onSocket(t);function onFree(){n.emit("free",t,i)}function onCloseOrRemove(e){n.removeSocket(t);t.removeListener("free",onFree);t.removeListener("close",onCloseOrRemove);t.removeListener("agentRemove",onCloseOrRemove)}}))};TunnelingAgent.prototype.createSocket=function createSocket(e,t){var s=this;var r={};s.sockets.push(r);var n=mergeOptions({},s.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:false,headers:{host:e.host+":"+e.port}});if(e.localAddress){n.localAddress=e.localAddress}if(n.proxyAuth){n.headers=n.headers||{};n.headers["Proxy-Authorization"]="Basic "+new Buffer(n.proxyAuth).toString("base64")}l("making CONNECT request");var i=s.request(n);i.useChunkedEncodingByDefault=false;i.once("response",onResponse);i.once("upgrade",onUpgrade);i.once("connect",onConnect);i.once("error",onError);i.end();function onResponse(e){e.upgrade=true}function onUpgrade(e,t,s){process.nextTick((function(){onConnect(e,t,s)}))}function onConnect(n,o,A){i.removeAllListeners();o.removeAllListeners();if(n.statusCode!==200){l("tunneling socket could not be established, statusCode=%d",n.statusCode);o.destroy();var a=new Error("tunneling socket could not be established, "+"statusCode="+n.statusCode);a.code="ECONNRESET";e.request.emit("error",a);s.removeSocket(r);return}if(A.length>0){l("got illegal response body from proxy");o.destroy();var a=new Error("got illegal response body from proxy");a.code="ECONNRESET";e.request.emit("error",a);s.removeSocket(r);return}l("tunneling connection has established");s.sockets[s.sockets.indexOf(r)]=o;return t(o)}function onError(t){i.removeAllListeners();l("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var n=new Error("tunneling socket could not be established, "+"cause="+t.message);n.code="ECONNRESET";e.request.emit("error",n);s.removeSocket(r)}};TunnelingAgent.prototype.removeSocket=function removeSocket(e){var t=this.sockets.indexOf(e);if(t===-1){return}this.sockets.splice(t,1);var s=this.requests.shift();if(s){this.createSocket(s,(function(e){s.request.onSocket(e)}))}};function createSecureSocket(e,t){var s=this;TunnelingAgent.prototype.createSocket.call(s,e,(function(r){var i=e.request.getHeader("host");var o=mergeOptions({},s.options,{socket:r,servername:i?i.replace(/:.*$/,""):e.host});var A=n.connect(0,o);s.sockets[s.sockets.indexOf(r)]=A;t(A)}))}function toOptions(e,t,s){if(typeof e==="string"){return{host:e,port:t,localAddress:s}}return e}function mergeOptions(e){for(var t=1,s=arguments.length;t{"use strict";const r=s(6951);const n=s(3505);const i=s(6301);const o=s(6822);const A=s(2847);const a=s(9595);const c=s(1950);const{InvalidArgumentError:l}=i;const u=s(6853);const p=s(1393);const d=s(611);const g=s(463);const h=s(8874);const E=s(5135);const m=s(5942);const C=s(8403);const{getGlobalDispatcher:B,setGlobalDispatcher:Q}=s(9507);const I=s(3826);const b=s(2761);const y=s(5589);let w;try{s(6982);w=true}catch{w=false}Object.assign(n.prototype,u);e.exports.Dispatcher=n;e.exports.Client=r;e.exports.Pool=o;e.exports.BalancedPool=A;e.exports.Agent=a;e.exports.ProxyAgent=m;e.exports.RetryHandler=C;e.exports.DecoratorHandler=I;e.exports.RedirectHandler=b;e.exports.createRedirectInterceptor=y;e.exports.buildConnector=p;e.exports.errors=i;function makeDispatcher(e){return(t,s,r)=>{if(typeof s==="function"){r=s;s=null}if(!t||typeof t!=="string"&&typeof t!=="object"&&!(t instanceof URL)){throw new l("invalid url")}if(s!=null&&typeof s!=="object"){throw new l("invalid opts")}if(s&&s.path!=null){if(typeof s.path!=="string"){throw new l("invalid opts.path")}let e=s.path;if(!s.path.startsWith("/")){e=`/${e}`}t=new URL(c.parseOrigin(t).origin+e)}else{if(!s){s=typeof t==="object"?t:{}}t=c.parseURL(t)}const{agent:n,dispatcher:i=B()}=s;if(n){throw new l("unsupported opts.agent. Did you mean opts.client?")}return e.call(i,{...s,origin:t.origin,path:t.search?`${t.pathname}${t.search}`:t.pathname,method:s.method||(s.body?"PUT":"GET")},r)}}e.exports.setGlobalDispatcher=Q;e.exports.getGlobalDispatcher=B;if(c.nodeMajor>16||c.nodeMajor===16&&c.nodeMinor>=8){let t=null;e.exports.fetch=async function fetch(e){if(!t){t=s(9401).fetch}try{return await t(...arguments)}catch(e){if(typeof e==="object"){Error.captureStackTrace(e,this)}throw e}};e.exports.Headers=s(9951).Headers;e.exports.Response=s(5358).Response;e.exports.Request=s(1516).Request;e.exports.FormData=s(6755).FormData;e.exports.File=s(9515).File;e.exports.FileReader=s(1854).FileReader;const{setGlobalOrigin:r,getGlobalOrigin:n}=s(7689);e.exports.setGlobalOrigin=r;e.exports.getGlobalOrigin=n;const{CacheStorage:i}=s(864);const{kConstruct:o}=s(1818);e.exports.caches=new i(o)}if(c.nodeMajor>=16){const{deleteCookie:t,getCookies:r,getSetCookies:n,setCookie:i}=s(1602);e.exports.deleteCookie=t;e.exports.getCookies=r;e.exports.getSetCookies=n;e.exports.setCookie=i;const{parseMIMEType:o,serializeAMimeType:A}=s(2656);e.exports.parseMIMEType=o;e.exports.serializeAMimeType=A}if(c.nodeMajor>=18&&w){const{WebSocket:t}=s(2749);e.exports.WebSocket=t}e.exports.request=makeDispatcher(u.request);e.exports.stream=makeDispatcher(u.stream);e.exports.pipeline=makeDispatcher(u.pipeline);e.exports.connect=makeDispatcher(u.connect);e.exports.upgrade=makeDispatcher(u.upgrade);e.exports.MockClient=d;e.exports.MockPool=h;e.exports.MockAgent=g;e.exports.mockErrors=E},9595:(e,t,s)=>{"use strict";const{InvalidArgumentError:r}=s(6301);const{kClients:n,kRunning:i,kClose:o,kDestroy:A,kDispatch:a,kInterceptors:c}=s(701);const l=s(5419);const u=s(6822);const p=s(6951);const d=s(1950);const g=s(5589);const{WeakRef:h,FinalizationRegistry:E}=s(1136)();const m=Symbol("onConnect");const C=Symbol("onDisconnect");const B=Symbol("onConnectionError");const Q=Symbol("maxRedirections");const I=Symbol("onDrain");const b=Symbol("factory");const y=Symbol("finalizer");const w=Symbol("options");function defaultFactory(e,t){return t&&t.connections===1?new p(e,t):new u(e,t)}class Agent extends l{constructor({factory:e=defaultFactory,maxRedirections:t=0,connect:s,...i}={}){super();if(typeof e!=="function"){throw new r("factory must be a function.")}if(s!=null&&typeof s!=="function"&&typeof s!=="object"){throw new r("connect must be a function or an object")}if(!Number.isInteger(t)||t<0){throw new r("maxRedirections must be a positive number")}if(s&&typeof s!=="function"){s={...s}}this[c]=i.interceptors&&i.interceptors.Agent&&Array.isArray(i.interceptors.Agent)?i.interceptors.Agent:[g({maxRedirections:t})];this[w]={...d.deepClone(i),connect:s};this[w].interceptors=i.interceptors?{...i.interceptors}:undefined;this[Q]=t;this[b]=e;this[n]=new Map;this[y]=new E((e=>{const t=this[n].get(e);if(t!==undefined&&t.deref()===undefined){this[n].delete(e)}}));const o=this;this[I]=(e,t)=>{o.emit("drain",e,[o,...t])};this[m]=(e,t)=>{o.emit("connect",e,[o,...t])};this[C]=(e,t,s)=>{o.emit("disconnect",e,[o,...t],s)};this[B]=(e,t,s)=>{o.emit("connectionError",e,[o,...t],s)}}get[i](){let e=0;for(const t of this[n].values()){const s=t.deref();if(s){e+=s[i]}}return e}[a](e,t){let s;if(e.origin&&(typeof e.origin==="string"||e.origin instanceof URL)){s=String(e.origin)}else{throw new r("opts.origin must be a non-empty string or URL.")}const i=this[n].get(s);let o=i?i.deref():null;if(!o){o=this[b](e.origin,this[w]).on("drain",this[I]).on("connect",this[m]).on("disconnect",this[C]).on("connectionError",this[B]);this[n].set(s,new h(o));this[y].register(o,s)}return o.dispatch(e,t)}async[o](){const e=[];for(const t of this[n].values()){const s=t.deref();if(s){e.push(s.close())}}await Promise.all(e)}async[A](e){const t=[];for(const s of this[n].values()){const r=s.deref();if(r){t.push(r.destroy(e))}}await Promise.all(t)}}e.exports=Agent},7316:(e,t,s)=>{const{addAbortListener:r}=s(1950);const{RequestAbortedError:n}=s(6301);const i=Symbol("kListener");const o=Symbol("kSignal");function abort(e){if(e.abort){e.abort()}else{e.onError(new n)}}function addSignal(e,t){e[o]=null;e[i]=null;if(!t){return}if(t.aborted){abort(e);return}e[o]=t;e[i]=()=>{abort(e)};r(e[o],e[i])}function removeSignal(e){if(!e[o]){return}if("removeEventListener"in e[o]){e[o].removeEventListener("abort",e[i])}else{e[o].removeListener("abort",e[i])}e[o]=null;e[i]=null}e.exports={addSignal:addSignal,removeSignal:removeSignal}},2346:(e,t,s)=>{"use strict";const{AsyncResource:r}=s(290);const{InvalidArgumentError:n,RequestAbortedError:i,SocketError:o}=s(6301);const A=s(1950);const{addSignal:a,removeSignal:c}=s(7316);class ConnectHandler extends r{constructor(e,t){if(!e||typeof e!=="object"){throw new n("invalid opts")}if(typeof t!=="function"){throw new n("invalid callback")}const{signal:s,opaque:r,responseHeaders:i}=e;if(s&&typeof s.on!=="function"&&typeof s.addEventListener!=="function"){throw new n("signal must be an EventEmitter or EventTarget")}super("UNDICI_CONNECT");this.opaque=r||null;this.responseHeaders=i||null;this.callback=t;this.abort=null;a(this,s)}onConnect(e,t){if(!this.callback){throw new i}this.abort=e;this.context=t}onHeaders(){throw new o("bad connect",null)}onUpgrade(e,t,s){const{callback:r,opaque:n,context:i}=this;c(this);this.callback=null;let o=t;if(o!=null){o=this.responseHeaders==="raw"?A.parseRawHeaders(t):A.parseHeaders(t)}this.runInAsyncScope(r,null,null,{statusCode:e,headers:o,socket:s,opaque:n,context:i})}onError(e){const{callback:t,opaque:s}=this;c(this);if(t){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(t,null,e,{opaque:s})}))}}}function connect(e,t){if(t===undefined){return new Promise(((t,s)=>{connect.call(this,e,((e,r)=>e?s(e):t(r)))}))}try{const s=new ConnectHandler(e,t);this.dispatch({...e,method:"CONNECT"},s)}catch(s){if(typeof t!=="function"){throw s}const r=e&&e.opaque;queueMicrotask((()=>t(s,{opaque:r})))}}e.exports=connect},768:(e,t,s)=>{"use strict";const{Readable:r,Duplex:n,PassThrough:i}=s(2203);const{InvalidArgumentError:o,InvalidReturnValueError:A,RequestAbortedError:a}=s(6301);const c=s(1950);const{AsyncResource:l}=s(290);const{addSignal:u,removeSignal:p}=s(7316);const d=s(2613);const g=Symbol("resume");class PipelineRequest extends r{constructor(){super({autoDestroy:true});this[g]=null}_read(){const{[g]:e}=this;if(e){this[g]=null;e()}}_destroy(e,t){this._read();t(e)}}class PipelineResponse extends r{constructor(e){super({autoDestroy:true});this[g]=e}_read(){this[g]()}_destroy(e,t){if(!e&&!this._readableState.endEmitted){e=new a}t(e)}}class PipelineHandler extends l{constructor(e,t){if(!e||typeof e!=="object"){throw new o("invalid opts")}if(typeof t!=="function"){throw new o("invalid handler")}const{signal:s,method:r,opaque:i,onInfo:A,responseHeaders:l}=e;if(s&&typeof s.on!=="function"&&typeof s.addEventListener!=="function"){throw new o("signal must be an EventEmitter or EventTarget")}if(r==="CONNECT"){throw new o("invalid method")}if(A&&typeof A!=="function"){throw new o("invalid onInfo callback")}super("UNDICI_PIPELINE");this.opaque=i||null;this.responseHeaders=l||null;this.handler=t;this.abort=null;this.context=null;this.onInfo=A||null;this.req=(new PipelineRequest).on("error",c.nop);this.ret=new n({readableObjectMode:e.objectMode,autoDestroy:true,read:()=>{const{body:e}=this;if(e&&e.resume){e.resume()}},write:(e,t,s)=>{const{req:r}=this;if(r.push(e,t)||r._readableState.destroyed){s()}else{r[g]=s}},destroy:(e,t)=>{const{body:s,req:r,res:n,ret:i,abort:o}=this;if(!e&&!i._readableState.endEmitted){e=new a}if(o&&e){o()}c.destroy(s,e);c.destroy(r,e);c.destroy(n,e);p(this);t(e)}}).on("prefinish",(()=>{const{req:e}=this;e.push(null)}));this.res=null;u(this,s)}onConnect(e,t){const{ret:s,res:r}=this;d(!r,"pipeline cannot be retried");if(s.destroyed){throw new a}this.abort=e;this.context=t}onHeaders(e,t,s){const{opaque:r,handler:n,context:i}=this;if(e<200){if(this.onInfo){const s=this.responseHeaders==="raw"?c.parseRawHeaders(t):c.parseHeaders(t);this.onInfo({statusCode:e,headers:s})}return}this.res=new PipelineResponse(s);let o;try{this.handler=null;const s=this.responseHeaders==="raw"?c.parseRawHeaders(t):c.parseHeaders(t);o=this.runInAsyncScope(n,null,{statusCode:e,headers:s,opaque:r,body:this.res,context:i})}catch(e){this.res.on("error",c.nop);throw e}if(!o||typeof o.on!=="function"){throw new A("expected Readable")}o.on("data",(e=>{const{ret:t,body:s}=this;if(!t.push(e)&&s.pause){s.pause()}})).on("error",(e=>{const{ret:t}=this;c.destroy(t,e)})).on("end",(()=>{const{ret:e}=this;e.push(null)})).on("close",(()=>{const{ret:e}=this;if(!e._readableState.ended){c.destroy(e,new a)}}));this.body=o}onData(e){const{res:t}=this;return t.push(e)}onComplete(e){const{res:t}=this;t.push(null)}onError(e){const{ret:t}=this;this.handler=null;c.destroy(t,e)}}function pipeline(e,t){try{const s=new PipelineHandler(e,t);this.dispatch({...e,body:s.req},s);return s.ret}catch(e){return(new i).destroy(e)}}e.exports=pipeline},6069:(e,t,s)=>{"use strict";const r=s(1293);const{InvalidArgumentError:n,RequestAbortedError:i}=s(6301);const o=s(1950);const{getResolveErrorBodyCallback:A}=s(3845);const{AsyncResource:a}=s(290);const{addSignal:c,removeSignal:l}=s(7316);class RequestHandler extends a{constructor(e,t){if(!e||typeof e!=="object"){throw new n("invalid opts")}const{signal:s,method:r,opaque:i,body:A,onInfo:a,responseHeaders:l,throwOnError:u,highWaterMark:p}=e;try{if(typeof t!=="function"){throw new n("invalid callback")}if(p&&(typeof p!=="number"||p<0)){throw new n("invalid highWaterMark")}if(s&&typeof s.on!=="function"&&typeof s.addEventListener!=="function"){throw new n("signal must be an EventEmitter or EventTarget")}if(r==="CONNECT"){throw new n("invalid method")}if(a&&typeof a!=="function"){throw new n("invalid onInfo callback")}super("UNDICI_REQUEST")}catch(e){if(o.isStream(A)){o.destroy(A.on("error",o.nop),e)}throw e}this.responseHeaders=l||null;this.opaque=i||null;this.callback=t;this.res=null;this.abort=null;this.body=A;this.trailers={};this.context=null;this.onInfo=a||null;this.throwOnError=u;this.highWaterMark=p;if(o.isStream(A)){A.on("error",(e=>{this.onError(e)}))}c(this,s)}onConnect(e,t){if(!this.callback){throw new i}this.abort=e;this.context=t}onHeaders(e,t,s,n){const{callback:i,opaque:a,abort:c,context:l,responseHeaders:u,highWaterMark:p}=this;const d=u==="raw"?o.parseRawHeaders(t):o.parseHeaders(t);if(e<200){if(this.onInfo){this.onInfo({statusCode:e,headers:d})}return}const g=u==="raw"?o.parseHeaders(t):d;const h=g["content-type"];const E=new r({resume:s,abort:c,contentType:h,highWaterMark:p});this.callback=null;this.res=E;if(i!==null){if(this.throwOnError&&e>=400){this.runInAsyncScope(A,null,{callback:i,body:E,contentType:h,statusCode:e,statusMessage:n,headers:d})}else{this.runInAsyncScope(i,null,null,{statusCode:e,headers:d,trailers:this.trailers,opaque:a,body:E,context:l})}}}onData(e){const{res:t}=this;return t.push(e)}onComplete(e){const{res:t}=this;l(this);o.parseHeaders(e,this.trailers);t.push(null)}onError(e){const{res:t,callback:s,body:r,opaque:n}=this;l(this);if(s){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(s,null,e,{opaque:n})}))}if(t){this.res=null;queueMicrotask((()=>{o.destroy(t,e)}))}if(r){this.body=null;o.destroy(r,e)}}}function request(e,t){if(t===undefined){return new Promise(((t,s)=>{request.call(this,e,((e,r)=>e?s(e):t(r)))}))}try{this.dispatch(e,new RequestHandler(e,t))}catch(s){if(typeof t!=="function"){throw s}const r=e&&e.opaque;queueMicrotask((()=>t(s,{opaque:r})))}}e.exports=request;e.exports.RequestHandler=RequestHandler},2182:(e,t,s)=>{"use strict";const{finished:r,PassThrough:n}=s(2203);const{InvalidArgumentError:i,InvalidReturnValueError:o,RequestAbortedError:A}=s(6301);const a=s(1950);const{getResolveErrorBodyCallback:c}=s(3845);const{AsyncResource:l}=s(290);const{addSignal:u,removeSignal:p}=s(7316);class StreamHandler extends l{constructor(e,t,s){if(!e||typeof e!=="object"){throw new i("invalid opts")}const{signal:r,method:n,opaque:o,body:A,onInfo:c,responseHeaders:l,throwOnError:p}=e;try{if(typeof s!=="function"){throw new i("invalid callback")}if(typeof t!=="function"){throw new i("invalid factory")}if(r&&typeof r.on!=="function"&&typeof r.addEventListener!=="function"){throw new i("signal must be an EventEmitter or EventTarget")}if(n==="CONNECT"){throw new i("invalid method")}if(c&&typeof c!=="function"){throw new i("invalid onInfo callback")}super("UNDICI_STREAM")}catch(e){if(a.isStream(A)){a.destroy(A.on("error",a.nop),e)}throw e}this.responseHeaders=l||null;this.opaque=o||null;this.factory=t;this.callback=s;this.res=null;this.abort=null;this.context=null;this.trailers=null;this.body=A;this.onInfo=c||null;this.throwOnError=p||false;if(a.isStream(A)){A.on("error",(e=>{this.onError(e)}))}u(this,r)}onConnect(e,t){if(!this.callback){throw new A}this.abort=e;this.context=t}onHeaders(e,t,s,i){const{factory:A,opaque:l,context:u,callback:p,responseHeaders:d}=this;const g=d==="raw"?a.parseRawHeaders(t):a.parseHeaders(t);if(e<200){if(this.onInfo){this.onInfo({statusCode:e,headers:g})}return}this.factory=null;let h;if(this.throwOnError&&e>=400){const s=d==="raw"?a.parseHeaders(t):g;const r=s["content-type"];h=new n;this.callback=null;this.runInAsyncScope(c,null,{callback:p,body:h,contentType:r,statusCode:e,statusMessage:i,headers:g})}else{if(A===null){return}h=this.runInAsyncScope(A,null,{statusCode:e,headers:g,opaque:l,context:u});if(!h||typeof h.write!=="function"||typeof h.end!=="function"||typeof h.on!=="function"){throw new o("expected Writable")}r(h,{readable:false},(e=>{const{callback:t,res:s,opaque:r,trailers:n,abort:i}=this;this.res=null;if(e||!s.readable){a.destroy(s,e)}this.callback=null;this.runInAsyncScope(t,null,e||null,{opaque:r,trailers:n});if(e){i()}}))}h.on("drain",s);this.res=h;const E=h.writableNeedDrain!==undefined?h.writableNeedDrain:h._writableState&&h._writableState.needDrain;return E!==true}onData(e){const{res:t}=this;return t?t.write(e):true}onComplete(e){const{res:t}=this;p(this);if(!t){return}this.trailers=a.parseHeaders(e);t.end()}onError(e){const{res:t,callback:s,opaque:r,body:n}=this;p(this);this.factory=null;if(t){this.res=null;a.destroy(t,e)}else if(s){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(s,null,e,{opaque:r})}))}if(n){this.body=null;a.destroy(n,e)}}}function stream(e,t,s){if(s===undefined){return new Promise(((s,r)=>{stream.call(this,e,t,((e,t)=>e?r(e):s(t)))}))}try{this.dispatch(e,new StreamHandler(e,t,s))}catch(t){if(typeof s!=="function"){throw t}const r=e&&e.opaque;queueMicrotask((()=>s(t,{opaque:r})))}}e.exports=stream},5716:(e,t,s)=>{"use strict";const{InvalidArgumentError:r,RequestAbortedError:n,SocketError:i}=s(6301);const{AsyncResource:o}=s(290);const A=s(1950);const{addSignal:a,removeSignal:c}=s(7316);const l=s(2613);class UpgradeHandler extends o{constructor(e,t){if(!e||typeof e!=="object"){throw new r("invalid opts")}if(typeof t!=="function"){throw new r("invalid callback")}const{signal:s,opaque:n,responseHeaders:i}=e;if(s&&typeof s.on!=="function"&&typeof s.addEventListener!=="function"){throw new r("signal must be an EventEmitter or EventTarget")}super("UNDICI_UPGRADE");this.responseHeaders=i||null;this.opaque=n||null;this.callback=t;this.abort=null;this.context=null;a(this,s)}onConnect(e,t){if(!this.callback){throw new n}this.abort=e;this.context=null}onHeaders(){throw new i("bad upgrade",null)}onUpgrade(e,t,s){const{callback:r,opaque:n,context:i}=this;l.strictEqual(e,101);c(this);this.callback=null;const o=this.responseHeaders==="raw"?A.parseRawHeaders(t):A.parseHeaders(t);this.runInAsyncScope(r,null,null,{headers:o,socket:s,opaque:n,context:i})}onError(e){const{callback:t,opaque:s}=this;c(this);if(t){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(t,null,e,{opaque:s})}))}}}function upgrade(e,t){if(t===undefined){return new Promise(((t,s)=>{upgrade.call(this,e,((e,r)=>e?s(e):t(r)))}))}try{const s=new UpgradeHandler(e,t);this.dispatch({...e,method:e.method||"GET",upgrade:e.protocol||"Websocket"},s)}catch(s){if(typeof t!=="function"){throw s}const r=e&&e.opaque;queueMicrotask((()=>t(s,{opaque:r})))}}e.exports=upgrade},6853:(e,t,s)=>{"use strict";e.exports.request=s(6069);e.exports.stream=s(2182);e.exports.pipeline=s(768);e.exports.upgrade=s(5716);e.exports.connect=s(2346)},1293:(e,t,s)=>{"use strict";const r=s(2613);const{Readable:n}=s(2203);const{RequestAbortedError:i,NotSupportedError:o,InvalidArgumentError:A}=s(6301);const a=s(1950);const{ReadableStreamFrom:c,toUSVString:l}=s(1950);let u;const p=Symbol("kConsume");const d=Symbol("kReading");const g=Symbol("kBody");const h=Symbol("abort");const E=Symbol("kContentType");const noop=()=>{};e.exports=class BodyReadable extends n{constructor({resume:e,abort:t,contentType:s="",highWaterMark:r=64*1024}){super({autoDestroy:true,read:e,highWaterMark:r});this._readableState.dataEmitted=false;this[h]=t;this[p]=null;this[g]=null;this[E]=s;this[d]=false}destroy(e){if(this.destroyed){return this}if(!e&&!this._readableState.endEmitted){e=new i}if(e){this[h]()}return super.destroy(e)}emit(e,...t){if(e==="data"){this._readableState.dataEmitted=true}else if(e==="error"){this._readableState.errorEmitted=true}return super.emit(e,...t)}on(e,...t){if(e==="data"||e==="readable"){this[d]=true}return super.on(e,...t)}addListener(e,...t){return this.on(e,...t)}off(e,...t){const s=super.off(e,...t);if(e==="data"||e==="readable"){this[d]=this.listenerCount("data")>0||this.listenerCount("readable")>0}return s}removeListener(e,...t){return this.off(e,...t)}push(e){if(this[p]&&e!==null&&this.readableLength===0){consumePush(this[p],e);return this[d]?super.push(e):true}return super.push(e)}async text(){return consume(this,"text")}async json(){return consume(this,"json")}async blob(){return consume(this,"blob")}async arrayBuffer(){return consume(this,"arrayBuffer")}async formData(){throw new o}get bodyUsed(){return a.isDisturbed(this)}get body(){if(!this[g]){this[g]=c(this);if(this[p]){this[g].getReader();r(this[g].locked)}}return this[g]}dump(e){let t=e&&Number.isFinite(e.limit)?e.limit:262144;const s=e&&e.signal;if(s){try{if(typeof s!=="object"||!("aborted"in s)){throw new A("signal must be an AbortSignal")}a.throwIfAborted(s)}catch(e){return Promise.reject(e)}}if(this.closed){return Promise.resolve(null)}return new Promise(((e,r)=>{const n=s?a.addAbortListener(s,(()=>{this.destroy()})):noop;this.on("close",(function(){n();if(s&&s.aborted){r(s.reason||Object.assign(new Error("The operation was aborted"),{name:"AbortError"}))}else{e(null)}})).on("error",noop).on("data",(function(e){t-=e.length;if(t<=0){this.destroy()}})).resume()}))}};function isLocked(e){return e[g]&&e[g].locked===true||e[p]}function isUnusable(e){return a.isDisturbed(e)||isLocked(e)}async function consume(e,t){if(isUnusable(e)){throw new TypeError("unusable")}r(!e[p]);return new Promise(((s,r)=>{e[p]={type:t,stream:e,resolve:s,reject:r,length:0,body:[]};e.on("error",(function(e){consumeFinish(this[p],e)})).on("close",(function(){if(this[p].body!==null){consumeFinish(this[p],new i)}}));process.nextTick(consumeStart,e[p])}))}function consumeStart(e){if(e.body===null){return}const{_readableState:t}=e.stream;for(const s of t.buffer){consumePush(e,s)}if(t.endEmitted){consumeEnd(this[p])}else{e.stream.on("end",(function(){consumeEnd(this[p])}))}e.stream.resume();while(e.stream.read()!=null){}}function consumeEnd(e){const{type:t,body:r,resolve:n,stream:i,length:o}=e;try{if(t==="text"){n(l(Buffer.concat(r)))}else if(t==="json"){n(JSON.parse(Buffer.concat(r)))}else if(t==="arrayBuffer"){const e=new Uint8Array(o);let t=0;for(const s of r){e.set(s,t);t+=s.byteLength}n(e.buffer)}else if(t==="blob"){if(!u){u=s(181).Blob}n(new u(r,{type:i[E]}))}consumeFinish(e)}catch(e){i.destroy(e)}}function consumePush(e,t){e.length+=t.length;e.body.push(t)}function consumeFinish(e,t){if(e.body===null){return}if(t){e.reject(t)}else{e.resolve()}e.type=null;e.stream=null;e.resolve=null;e.reject=null;e.length=0;e.body=null}},3845:(e,t,s)=>{const r=s(2613);const{ResponseStatusCodeError:n}=s(6301);const{toUSVString:i}=s(1950);async function getResolveErrorBodyCallback({callback:e,body:t,contentType:s,statusCode:o,statusMessage:A,headers:a}){r(t);let c=[];let l=0;for await(const e of t){c.push(e);l+=e.length;if(l>128*1024){c=null;break}}if(o===204||!s||!c){process.nextTick(e,new n(`Response status code ${o}${A?`: ${A}`:""}`,o,a));return}try{if(s.startsWith("application/json")){const t=JSON.parse(i(Buffer.concat(c)));process.nextTick(e,new n(`Response status code ${o}${A?`: ${A}`:""}`,o,a,t));return}if(s.startsWith("text/")){const t=i(Buffer.concat(c));process.nextTick(e,new n(`Response status code ${o}${A?`: ${A}`:""}`,o,a,t));return}}catch(e){}process.nextTick(e,new n(`Response status code ${o}${A?`: ${A}`:""}`,o,a))}e.exports={getResolveErrorBodyCallback:getResolveErrorBodyCallback}},2847:(e,t,s)=>{"use strict";const{BalancedPoolMissingUpstreamError:r,InvalidArgumentError:n}=s(6301);const{PoolBase:i,kClients:o,kNeedDrain:A,kAddClient:a,kRemoveClient:c,kGetDispatcher:l}=s(5270);const u=s(6822);const{kUrl:p,kInterceptors:d}=s(701);const{parseOrigin:g}=s(1950);const h=Symbol("factory");const E=Symbol("options");const m=Symbol("kGreatestCommonDivisor");const C=Symbol("kCurrentWeight");const B=Symbol("kIndex");const Q=Symbol("kWeight");const I=Symbol("kMaxWeightPerServer");const b=Symbol("kErrorPenalty");function getGreatestCommonDivisor(e,t){if(t===0)return e;return getGreatestCommonDivisor(t,e%t)}function defaultFactory(e,t){return new u(e,t)}class BalancedPool extends i{constructor(e=[],{factory:t=defaultFactory,...s}={}){super();this[E]=s;this[B]=-1;this[C]=0;this[I]=this[E].maxWeightPerServer||100;this[b]=this[E].errorPenalty||15;if(!Array.isArray(e)){e=[e]}if(typeof t!=="function"){throw new n("factory must be a function.")}this[d]=s.interceptors&&s.interceptors.BalancedPool&&Array.isArray(s.interceptors.BalancedPool)?s.interceptors.BalancedPool:[];this[h]=t;for(const t of e){this.addUpstream(t)}this._updateBalancedPoolStats()}addUpstream(e){const t=g(e).origin;if(this[o].find((e=>e[p].origin===t&&e.closed!==true&&e.destroyed!==true))){return this}const s=this[h](t,Object.assign({},this[E]));this[a](s);s.on("connect",(()=>{s[Q]=Math.min(this[I],s[Q]+this[b])}));s.on("connectionError",(()=>{s[Q]=Math.max(1,s[Q]-this[b]);this._updateBalancedPoolStats()}));s.on("disconnect",((...e)=>{const t=e[2];if(t&&t.code==="UND_ERR_SOCKET"){s[Q]=Math.max(1,s[Q]-this[b]);this._updateBalancedPoolStats()}}));for(const e of this[o]){e[Q]=this[I]}this._updateBalancedPoolStats();return this}_updateBalancedPoolStats(){this[m]=this[o].map((e=>e[Q])).reduce(getGreatestCommonDivisor,0)}removeUpstream(e){const t=g(e).origin;const s=this[o].find((e=>e[p].origin===t&&e.closed!==true&&e.destroyed!==true));if(s){this[c](s)}return this}get upstreams(){return this[o].filter((e=>e.closed!==true&&e.destroyed!==true)).map((e=>e[p].origin))}[l](){if(this[o].length===0){throw new r}const e=this[o].find((e=>!e[A]&&e.closed!==true&&e.destroyed!==true));if(!e){return}const t=this[o].map((e=>e[A])).reduce(((e,t)=>e&&t),true);if(t){return}let s=0;let n=this[o].findIndex((e=>!e[A]));while(s++this[o][n][Q]&&!e[A]){n=this[B]}if(this[B]===0){this[C]=this[C]-this[m];if(this[C]<=0){this[C]=this[I]}}if(e[Q]>=this[C]&&!e[A]){return e}}this[C]=this[o][n][Q];this[B]=n;return this[o][n]}}e.exports=BalancedPool},8081:(e,t,s)=>{"use strict";const{kConstruct:r}=s(1818);const{urlEquals:n,fieldValues:i}=s(5412);const{kEnumerableProperty:o,isDisturbed:A}=s(1950);const{kHeadersList:a}=s(701);const{webidl:c}=s(9076);const{Response:l,cloneResponse:u}=s(5358);const{Request:p}=s(1516);const{kState:d,kHeaders:g,kGuard:h,kRealm:E}=s(7888);const{fetching:m}=s(9401);const{urlIsHttpHttpsScheme:C,createDeferredPromise:B,readAllBytes:Q}=s(1537);const I=s(2613);const{getGlobalDispatcher:b}=s(9507);class Cache{#e;constructor(){if(arguments[0]!==r){c.illegalConstructor()}this.#e=arguments[1]}async match(e,t={}){c.brandCheck(this,Cache);c.argumentLengthCheck(arguments,1,{header:"Cache.match"});e=c.converters.RequestInfo(e);t=c.converters.CacheQueryOptions(t);const s=await this.matchAll(e,t);if(s.length===0){return}return s[0]}async matchAll(e=undefined,t={}){c.brandCheck(this,Cache);if(e!==undefined)e=c.converters.RequestInfo(e);t=c.converters.CacheQueryOptions(t);let s=null;if(e!==undefined){if(e instanceof p){s=e[d];if(s.method!=="GET"&&!t.ignoreMethod){return[]}}else if(typeof e==="string"){s=new p(e)[d]}}const r=[];if(e===undefined){for(const e of this.#e){r.push(e[1])}}else{const e=this.#t(s,t);for(const t of e){r.push(t[1])}}const n=[];for(const e of r){const t=new l(e.body?.source??null);const s=t[d].body;t[d]=e;t[d].body=s;t[g][a]=e.headersList;t[g][h]="immutable";n.push(t)}return Object.freeze(n)}async add(e){c.brandCheck(this,Cache);c.argumentLengthCheck(arguments,1,{header:"Cache.add"});e=c.converters.RequestInfo(e);const t=[e];const s=this.addAll(t);return await s}async addAll(e){c.brandCheck(this,Cache);c.argumentLengthCheck(arguments,1,{header:"Cache.addAll"});e=c.converters["sequence"](e);const t=[];const s=[];for(const t of e){if(typeof t==="string"){continue}const e=t[d];if(!C(e.url)||e.method!=="GET"){throw c.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme when method is not GET."})}}const r=[];for(const n of e){const e=new p(n)[d];if(!C(e.url)){throw c.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme."})}e.initiator="fetch";e.destination="subresource";s.push(e);const o=B();r.push(m({request:e,dispatcher:b(),processResponse(e){if(e.type==="error"||e.status===206||e.status<200||e.status>299){o.reject(c.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}))}else if(e.headersList.contains("vary")){const t=i(e.headersList.get("vary"));for(const e of t){if(e==="*"){o.reject(c.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(const e of r){e.abort()}return}}}},processResponseEndOfBody(e){if(e.aborted){o.reject(new DOMException("aborted","AbortError"));return}o.resolve(e)}}));t.push(o.promise)}const n=Promise.all(t);const o=await n;const A=[];let a=0;for(const e of o){const t={type:"put",request:s[a],response:e};A.push(t);a++}const l=B();let u=null;try{this.#s(A)}catch(e){u=e}queueMicrotask((()=>{if(u===null){l.resolve(undefined)}else{l.reject(u)}}));return l.promise}async put(e,t){c.brandCheck(this,Cache);c.argumentLengthCheck(arguments,2,{header:"Cache.put"});e=c.converters.RequestInfo(e);t=c.converters.Response(t);let s=null;if(e instanceof p){s=e[d]}else{s=new p(e)[d]}if(!C(s.url)||s.method!=="GET"){throw c.errors.exception({header:"Cache.put",message:"Expected an http/s scheme when method is not GET"})}const r=t[d];if(r.status===206){throw c.errors.exception({header:"Cache.put",message:"Got 206 status"})}if(r.headersList.contains("vary")){const e=i(r.headersList.get("vary"));for(const t of e){if(t==="*"){throw c.errors.exception({header:"Cache.put",message:"Got * vary field value"})}}}if(r.body&&(A(r.body.stream)||r.body.stream.locked)){throw c.errors.exception({header:"Cache.put",message:"Response body is locked or disturbed"})}const n=u(r);const o=B();if(r.body!=null){const e=r.body.stream;const t=e.getReader();Q(t).then(o.resolve,o.reject)}else{o.resolve(undefined)}const a=[];const l={type:"put",request:s,response:n};a.push(l);const g=await o.promise;if(n.body!=null){n.body.source=g}const h=B();let E=null;try{this.#s(a)}catch(e){E=e}queueMicrotask((()=>{if(E===null){h.resolve()}else{h.reject(E)}}));return h.promise}async delete(e,t={}){c.brandCheck(this,Cache);c.argumentLengthCheck(arguments,1,{header:"Cache.delete"});e=c.converters.RequestInfo(e);t=c.converters.CacheQueryOptions(t);let s=null;if(e instanceof p){s=e[d];if(s.method!=="GET"&&!t.ignoreMethod){return false}}else{I(typeof e==="string");s=new p(e)[d]}const r=[];const n={type:"delete",request:s,options:t};r.push(n);const i=B();let o=null;let A;try{A=this.#s(r)}catch(e){o=e}queueMicrotask((()=>{if(o===null){i.resolve(!!A?.length)}else{i.reject(o)}}));return i.promise}async keys(e=undefined,t={}){c.brandCheck(this,Cache);if(e!==undefined)e=c.converters.RequestInfo(e);t=c.converters.CacheQueryOptions(t);let s=null;if(e!==undefined){if(e instanceof p){s=e[d];if(s.method!=="GET"&&!t.ignoreMethod){return[]}}else if(typeof e==="string"){s=new p(e)[d]}}const r=B();const n=[];if(e===undefined){for(const e of this.#e){n.push(e[0])}}else{const e=this.#t(s,t);for(const t of e){n.push(t[0])}}queueMicrotask((()=>{const e=[];for(const t of n){const s=new p("https://a");s[d]=t;s[g][a]=t.headersList;s[g][h]="immutable";s[E]=t.client;e.push(s)}r.resolve(Object.freeze(e))}));return r.promise}#s(e){const t=this.#e;const s=[...t];const r=[];const n=[];try{for(const s of e){if(s.type!=="delete"&&s.type!=="put"){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'})}if(s.type==="delete"&&s.response!=null){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"})}if(this.#t(s.request,s.options,r).length){throw new DOMException("???","InvalidStateError")}let e;if(s.type==="delete"){e=this.#t(s.request,s.options);if(e.length===0){return[]}for(const s of e){const e=t.indexOf(s);I(e!==-1);t.splice(e,1)}}else if(s.type==="put"){if(s.response==null){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"})}const n=s.request;if(!C(n.url)){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"})}if(n.method!=="GET"){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"})}if(s.options!=null){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"})}e=this.#t(s.request);for(const s of e){const e=t.indexOf(s);I(e!==-1);t.splice(e,1)}t.push([s.request,s.response]);r.push([s.request,s.response])}n.push([s.request,s.response])}return n}catch(e){this.#e.length=0;this.#e=s;throw e}}#t(e,t,s){const r=[];const n=s??this.#e;for(const s of n){const[n,i]=s;if(this.#r(e,n,i,t)){r.push(s)}}return r}#r(e,t,s=null,r){const o=new URL(e.url);const A=new URL(t.url);if(r?.ignoreSearch){A.search="";o.search=""}if(!n(o,A,true)){return false}if(s==null||r?.ignoreVary||!s.headersList.contains("vary")){return true}const a=i(s.headersList.get("vary"));for(const s of a){if(s==="*"){return false}const r=t.headersList.get(s);const n=e.headersList.get(s);if(r!==n){return false}}return true}}Object.defineProperties(Cache.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:true},match:o,matchAll:o,add:o,addAll:o,put:o,delete:o,keys:o});const y=[{key:"ignoreSearch",converter:c.converters.boolean,defaultValue:false},{key:"ignoreMethod",converter:c.converters.boolean,defaultValue:false},{key:"ignoreVary",converter:c.converters.boolean,defaultValue:false}];c.converters.CacheQueryOptions=c.dictionaryConverter(y);c.converters.MultiCacheQueryOptions=c.dictionaryConverter([...y,{key:"cacheName",converter:c.converters.DOMString}]);c.converters.Response=c.interfaceConverter(l);c.converters["sequence"]=c.sequenceConverter(c.converters.RequestInfo);e.exports={Cache:Cache}},864:(e,t,s)=>{"use strict";const{kConstruct:r}=s(1818);const{Cache:n}=s(8081);const{webidl:i}=s(9076);const{kEnumerableProperty:o}=s(1950);class CacheStorage{#n=new Map;constructor(){if(arguments[0]!==r){i.illegalConstructor()}}async match(e,t={}){i.brandCheck(this,CacheStorage);i.argumentLengthCheck(arguments,1,{header:"CacheStorage.match"});e=i.converters.RequestInfo(e);t=i.converters.MultiCacheQueryOptions(t);if(t.cacheName!=null){if(this.#n.has(t.cacheName)){const s=this.#n.get(t.cacheName);const i=new n(r,s);return await i.match(e,t)}}else{for(const s of this.#n.values()){const i=new n(r,s);const o=await i.match(e,t);if(o!==undefined){return o}}}}async has(e){i.brandCheck(this,CacheStorage);i.argumentLengthCheck(arguments,1,{header:"CacheStorage.has"});e=i.converters.DOMString(e);return this.#n.has(e)}async open(e){i.brandCheck(this,CacheStorage);i.argumentLengthCheck(arguments,1,{header:"CacheStorage.open"});e=i.converters.DOMString(e);if(this.#n.has(e)){const t=this.#n.get(e);return new n(r,t)}const t=[];this.#n.set(e,t);return new n(r,t)}async delete(e){i.brandCheck(this,CacheStorage);i.argumentLengthCheck(arguments,1,{header:"CacheStorage.delete"});e=i.converters.DOMString(e);return this.#n.delete(e)}async keys(){i.brandCheck(this,CacheStorage);const e=this.#n.keys();return[...e]}}Object.defineProperties(CacheStorage.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:true},match:o,has:o,open:o,delete:o,keys:o});e.exports={CacheStorage:CacheStorage}},1818:(e,t,s)=>{"use strict";e.exports={kConstruct:s(701).kConstruct}},5412:(e,t,s)=>{"use strict";const r=s(2613);const{URLSerializer:n}=s(2656);const{isValidHeaderName:i}=s(1537);function urlEquals(e,t,s=false){const r=n(e,s);const i=n(t,s);return r===i}function fieldValues(e){r(e!==null);const t=[];for(let s of e.split(",")){s=s.trim();if(!s.length){continue}else if(!i(s)){continue}t.push(s)}return t}e.exports={urlEquals:urlEquals,fieldValues:fieldValues}},6951:(e,t,s)=>{"use strict";const r=s(2613);const n=s(9278);const i=s(8611);const{pipeline:o}=s(2203);const A=s(1950);const a=s(2950);const c=s(3521);const l=s(5419);const{RequestContentLengthMismatchError:u,ResponseContentLengthMismatchError:p,InvalidArgumentError:d,RequestAbortedError:g,HeadersTimeoutError:h,HeadersOverflowError:E,SocketError:m,InformationalError:C,BodyTimeoutError:B,HTTPParserError:Q,ResponseExceededMaxSizeError:I,ClientDestroyedError:b}=s(6301);const y=s(1393);const{kUrl:w,kReset:v,kServerName:k,kClient:x,kBusy:R,kParser:D,kConnect:S,kBlocking:F,kResuming:T,kRunning:U,kPending:N,kSize:_,kWriting:L,kQueue:M,kConnected:O,kConnecting:P,kNeedDrain:G,kNoRef:H,kKeepAliveDefaultTimeout:Y,kHostHeader:J,kPendingIdx:V,kRunningIdx:j,kError:q,kPipelining:W,kSocket:z,kKeepAliveTimeoutValue:K,kMaxHeadersSize:Z,kKeepAliveMaxTimeout:X,kKeepAliveTimeoutThreshold:$,kHeadersTimeout:ee,kBodyTimeout:te,kStrictContentLength:se,kConnector:re,kMaxRedirections:ne,kMaxRequests:ie,kCounter:oe,kClose:Ae,kDestroy:ae,kDispatch:ce,kInterceptors:le,kLocalAddress:ue,kMaxResponseSize:pe,kHTTPConnVersion:de,kHost:ge,kHTTP2Session:he,kHTTP2SessionState:Ee,kHTTP2BuildRequest:fe,kHTTP2CopyHeaders:me,kHTTP1BuildRequest:Ce}=s(701);let Be;try{Be=s(5675)}catch{Be={constants:{}}}const{constants:{HTTP2_HEADER_AUTHORITY:Qe,HTTP2_HEADER_METHOD:Ie,HTTP2_HEADER_PATH:be,HTTP2_HEADER_SCHEME:ye,HTTP2_HEADER_CONTENT_LENGTH:we,HTTP2_HEADER_EXPECT:ve,HTTP2_HEADER_STATUS:ke}}=Be;let xe=false;const Re=Buffer[Symbol.species];const De=Symbol("kClosedResolve");const Se={};try{const e=s(1637);Se.sendHeaders=e.channel("undici:client:sendHeaders");Se.beforeConnect=e.channel("undici:client:beforeConnect");Se.connectError=e.channel("undici:client:connectError");Se.connected=e.channel("undici:client:connected")}catch{Se.sendHeaders={hasSubscribers:false};Se.beforeConnect={hasSubscribers:false};Se.connectError={hasSubscribers:false};Se.connected={hasSubscribers:false}}class Client extends l{constructor(e,{interceptors:t,maxHeaderSize:s,headersTimeout:r,socketTimeout:o,requestTimeout:a,connectTimeout:c,bodyTimeout:l,idleTimeout:u,keepAlive:p,keepAliveTimeout:g,maxKeepAliveTimeout:h,keepAliveMaxTimeout:E,keepAliveTimeoutThreshold:m,socketPath:C,pipelining:B,tls:Q,strictContentLength:I,maxCachedSessions:b,maxRedirections:v,connect:x,maxRequestsPerClient:R,localAddress:D,maxResponseSize:S,autoSelectFamily:F,autoSelectFamilyAttemptTimeout:U,allowH2:N,maxConcurrentStreams:_}={}){super();if(p!==undefined){throw new d("unsupported keepAlive, use pipelining=0 instead")}if(o!==undefined){throw new d("unsupported socketTimeout, use headersTimeout & bodyTimeout instead")}if(a!==undefined){throw new d("unsupported requestTimeout, use headersTimeout & bodyTimeout instead")}if(u!==undefined){throw new d("unsupported idleTimeout, use keepAliveTimeout instead")}if(h!==undefined){throw new d("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead")}if(s!=null&&!Number.isFinite(s)){throw new d("invalid maxHeaderSize")}if(C!=null&&typeof C!=="string"){throw new d("invalid socketPath")}if(c!=null&&(!Number.isFinite(c)||c<0)){throw new d("invalid connectTimeout")}if(g!=null&&(!Number.isFinite(g)||g<=0)){throw new d("invalid keepAliveTimeout")}if(E!=null&&(!Number.isFinite(E)||E<=0)){throw new d("invalid keepAliveMaxTimeout")}if(m!=null&&!Number.isFinite(m)){throw new d("invalid keepAliveTimeoutThreshold")}if(r!=null&&(!Number.isInteger(r)||r<0)){throw new d("headersTimeout must be a positive integer or zero")}if(l!=null&&(!Number.isInteger(l)||l<0)){throw new d("bodyTimeout must be a positive integer or zero")}if(x!=null&&typeof x!=="function"&&typeof x!=="object"){throw new d("connect must be a function or an object")}if(v!=null&&(!Number.isInteger(v)||v<0)){throw new d("maxRedirections must be a positive number")}if(R!=null&&(!Number.isInteger(R)||R<0)){throw new d("maxRequestsPerClient must be a positive number")}if(D!=null&&(typeof D!=="string"||n.isIP(D)===0)){throw new d("localAddress must be valid string IP address")}if(S!=null&&(!Number.isInteger(S)||S<-1)){throw new d("maxResponseSize must be a positive number")}if(U!=null&&(!Number.isInteger(U)||U<-1)){throw new d("autoSelectFamilyAttemptTimeout must be a positive number")}if(N!=null&&typeof N!=="boolean"){throw new d("allowH2 must be a valid boolean value")}if(_!=null&&(typeof _!=="number"||_<1)){throw new d("maxConcurrentStreams must be a possitive integer, greater than 0")}if(typeof x!=="function"){x=y({...Q,maxCachedSessions:b,allowH2:N,socketPath:C,timeout:c,...A.nodeHasAutoSelectFamily&&F?{autoSelectFamily:F,autoSelectFamilyAttemptTimeout:U}:undefined,...x})}this[le]=t&&t.Client&&Array.isArray(t.Client)?t.Client:[Te({maxRedirections:v})];this[w]=A.parseOrigin(e);this[re]=x;this[z]=null;this[W]=B!=null?B:1;this[Z]=s||i.maxHeaderSize;this[Y]=g==null?4e3:g;this[X]=E==null?6e5:E;this[$]=m==null?1e3:m;this[K]=this[Y];this[k]=null;this[ue]=D!=null?D:null;this[T]=0;this[G]=0;this[J]=`host: ${this[w].hostname}${this[w].port?`:${this[w].port}`:""}\r\n`;this[te]=l!=null?l:3e5;this[ee]=r!=null?r:3e5;this[se]=I==null?true:I;this[ne]=v;this[ie]=R;this[De]=null;this[pe]=S>-1?S:-1;this[de]="h1";this[he]=null;this[Ee]=!N?null:{openStreams:0,maxConcurrentStreams:_!=null?_:100};this[ge]=`${this[w].hostname}${this[w].port?`:${this[w].port}`:""}`;this[M]=[];this[j]=0;this[V]=0}get pipelining(){return this[W]}set pipelining(e){this[W]=e;resume(this,true)}get[N](){return this[M].length-this[V]}get[U](){return this[V]-this[j]}get[_](){return this[M].length-this[j]}get[O](){return!!this[z]&&!this[P]&&!this[z].destroyed}get[R](){const e=this[z];return e&&(e[v]||e[L]||e[F])||this[_]>=(this[W]||1)||this[N]>0}[S](e){connect(this);this.once("connect",e)}[ce](e,t){const s=e.origin||this[w].origin;const r=this[de]==="h2"?c[fe](s,e,t):c[Ce](s,e,t);this[M].push(r);if(this[T]){}else if(A.bodyLength(r.body)==null&&A.isIterable(r.body)){this[T]=1;process.nextTick(resume,this)}else{resume(this,true)}if(this[T]&&this[G]!==2&&this[R]){this[G]=2}return this[G]<2}async[Ae](){return new Promise((e=>{if(!this[_]){e(null)}else{this[De]=e}}))}async[ae](e){return new Promise((t=>{const s=this[M].splice(this[V]);for(let t=0;t{if(this[De]){this[De]();this[De]=null}t()};if(this[he]!=null){A.destroy(this[he],e);this[he]=null;this[Ee]=null}if(!this[z]){queueMicrotask(callback)}else{A.destroy(this[z].on("close",callback),e)}resume(this)}))}}function onHttp2SessionError(e){r(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID");this[z][q]=e;onError(this[x],e)}function onHttp2FrameError(e,t,s){const r=new C(`HTTP/2: "frameError" received - type ${e}, code ${t}`);if(s===0){this[z][q]=r;onError(this[x],r)}}function onHttp2SessionEnd(){A.destroy(this,new m("other side closed"));A.destroy(this[z],new m("other side closed"))}function onHTTP2GoAway(e){const t=this[x];const s=new C(`HTTP/2: "GOAWAY" frame received with code ${e}`);t[z]=null;t[he]=null;if(t.destroyed){r(this[N]===0);const e=t[M].splice(t[j]);for(let t=0;t0){const e=t[M][t[j]];t[M][t[j]++]=null;errorRequest(t,e,s)}t[V]=t[j];r(t[U]===0);t.emit("disconnect",t[w],[t],s);resume(t)}const Fe=s(4190);const Te=s(5589);const Ue=Buffer.alloc(0);async function lazyllhttp(){const e=process.env.JEST_WORKER_ID?s(7364):undefined;let t;try{t=await WebAssembly.compile(Buffer.from(s(5740),"base64"))}catch(r){t=await WebAssembly.compile(Buffer.from(e||s(7364),"base64"))}return await WebAssembly.instantiate(t,{env:{wasm_on_url:(e,t,s)=>0,wasm_on_status:(e,t,s)=>{r.strictEqual(Le.ptr,e);const n=t-Pe+Me.byteOffset;return Le.onStatus(new Re(Me.buffer,n,s))||0},wasm_on_message_begin:e=>{r.strictEqual(Le.ptr,e);return Le.onMessageBegin()||0},wasm_on_header_field:(e,t,s)=>{r.strictEqual(Le.ptr,e);const n=t-Pe+Me.byteOffset;return Le.onHeaderField(new Re(Me.buffer,n,s))||0},wasm_on_header_value:(e,t,s)=>{r.strictEqual(Le.ptr,e);const n=t-Pe+Me.byteOffset;return Le.onHeaderValue(new Re(Me.buffer,n,s))||0},wasm_on_headers_complete:(e,t,s,n)=>{r.strictEqual(Le.ptr,e);return Le.onHeadersComplete(t,Boolean(s),Boolean(n))||0},wasm_on_body:(e,t,s)=>{r.strictEqual(Le.ptr,e);const n=t-Pe+Me.byteOffset;return Le.onBody(new Re(Me.buffer,n,s))||0},wasm_on_message_complete:e=>{r.strictEqual(Le.ptr,e);return Le.onMessageComplete()||0}}})}let Ne=null;let _e=lazyllhttp();_e.catch();let Le=null;let Me=null;let Oe=0;let Pe=null;const Ge=1;const He=2;const Ye=3;class Parser{constructor(e,t,{exports:s}){r(Number.isFinite(e[Z])&&e[Z]>0);this.llhttp=s;this.ptr=this.llhttp.llhttp_alloc(Fe.TYPE.RESPONSE);this.client=e;this.socket=t;this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.statusCode=null;this.statusText="";this.upgrade=false;this.headers=[];this.headersSize=0;this.headersMaxSize=e[Z];this.shouldKeepAlive=false;this.paused=false;this.resume=this.resume.bind(this);this.bytesRead=0;this.keepAlive="";this.contentLength="";this.connection="";this.maxResponseSize=e[pe]}setTimeout(e,t){this.timeoutType=t;if(e!==this.timeoutValue){a.clearTimeout(this.timeout);if(e){this.timeout=a.setTimeout(onParserTimeout,e,this);if(this.timeout.unref){this.timeout.unref()}}else{this.timeout=null}this.timeoutValue=e}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}}resume(){if(this.socket.destroyed||!this.paused){return}r(this.ptr!=null);r(Le==null);this.llhttp.llhttp_resume(this.ptr);r(this.timeoutType===He);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}this.paused=false;this.execute(this.socket.read()||Ue);this.readMore()}readMore(){while(!this.paused&&this.ptr){const e=this.socket.read();if(e===null){break}this.execute(e)}}execute(e){r(this.ptr!=null);r(Le==null);r(!this.paused);const{socket:t,llhttp:s}=this;if(e.length>Oe){if(Pe){s.free(Pe)}Oe=Math.ceil(e.length/4096)*4096;Pe=s.malloc(Oe)}new Uint8Array(s.memory.buffer,Pe,Oe).set(e);try{let r;try{Me=e;Le=this;r=s.llhttp_execute(this.ptr,Pe,e.length)}catch(e){throw e}finally{Le=null;Me=null}const n=s.llhttp_get_error_pos(this.ptr)-Pe;if(r===Fe.ERROR.PAUSED_UPGRADE){this.onUpgrade(e.slice(n))}else if(r===Fe.ERROR.PAUSED){this.paused=true;t.unshift(e.slice(n))}else if(r!==Fe.ERROR.OK){const t=s.llhttp_get_error_reason(this.ptr);let i="";if(t){const e=new Uint8Array(s.memory.buffer,t).indexOf(0);i="Response does not match the HTTP/1.1 protocol ("+Buffer.from(s.memory.buffer,t,e).toString()+")"}throw new Q(i,Fe.ERROR[r],e.slice(n))}}catch(e){A.destroy(t,e)}}destroy(){r(this.ptr!=null);r(Le==null);this.llhttp.llhttp_free(this.ptr);this.ptr=null;a.clearTimeout(this.timeout);this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.paused=false}onStatus(e){this.statusText=e.toString()}onMessageBegin(){const{socket:e,client:t}=this;if(e.destroyed){return-1}const s=t[M][t[j]];if(!s){return-1}}onHeaderField(e){const t=this.headers.length;if((t&1)===0){this.headers.push(e)}else{this.headers[t-1]=Buffer.concat([this.headers[t-1],e])}this.trackHeader(e.length)}onHeaderValue(e){let t=this.headers.length;if((t&1)===1){this.headers.push(e);t+=1}else{this.headers[t-1]=Buffer.concat([this.headers[t-1],e])}const s=this.headers[t-2];if(s.length===10&&s.toString().toLowerCase()==="keep-alive"){this.keepAlive+=e.toString()}else if(s.length===10&&s.toString().toLowerCase()==="connection"){this.connection+=e.toString()}else if(s.length===14&&s.toString().toLowerCase()==="content-length"){this.contentLength+=e.toString()}this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e;if(this.headersSize>=this.headersMaxSize){A.destroy(this.socket,new E)}}onUpgrade(e){const{upgrade:t,client:s,socket:n,headers:i,statusCode:o}=this;r(t);const a=s[M][s[j]];r(a);r(!n.destroyed);r(n===s[z]);r(!this.paused);r(a.upgrade||a.method==="CONNECT");this.statusCode=null;this.statusText="";this.shouldKeepAlive=null;r(this.headers.length%2===0);this.headers=[];this.headersSize=0;n.unshift(e);n[D].destroy();n[D]=null;n[x]=null;n[q]=null;n.removeListener("error",onSocketError).removeListener("readable",onSocketReadable).removeListener("end",onSocketEnd).removeListener("close",onSocketClose);s[z]=null;s[M][s[j]++]=null;s.emit("disconnect",s[w],[s],new C("upgrade"));try{a.onUpgrade(o,i,n)}catch(e){A.destroy(n,e)}resume(s)}onHeadersComplete(e,t,s){const{client:n,socket:i,headers:o,statusText:a}=this;if(i.destroyed){return-1}const c=n[M][n[j]];if(!c){return-1}r(!this.upgrade);r(this.statusCode<200);if(e===100){A.destroy(i,new m("bad response",A.getSocketInfo(i)));return-1}if(t&&!c.upgrade){A.destroy(i,new m("bad upgrade",A.getSocketInfo(i)));return-1}r.strictEqual(this.timeoutType,Ge);this.statusCode=e;this.shouldKeepAlive=s||c.method==="HEAD"&&!i[v]&&this.connection.toLowerCase()==="keep-alive";if(this.statusCode>=200){const e=c.bodyTimeout!=null?c.bodyTimeout:n[te];this.setTimeout(e,He)}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}if(c.method==="CONNECT"){r(n[U]===1);this.upgrade=true;return 2}if(t){r(n[U]===1);this.upgrade=true;return 2}r(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(this.shouldKeepAlive&&n[W]){const e=this.keepAlive?A.parseKeepAliveTimeout(this.keepAlive):null;if(e!=null){const t=Math.min(e-n[$],n[X]);if(t<=0){i[v]=true}else{n[K]=t}}else{n[K]=n[Y]}}else{i[v]=true}const l=c.onHeaders(e,o,this.resume,a)===false;if(c.aborted){return-1}if(c.method==="HEAD"){return 1}if(e<200){return 1}if(i[F]){i[F]=false;resume(n)}return l?Fe.ERROR.PAUSED:0}onBody(e){const{client:t,socket:s,statusCode:n,maxResponseSize:i}=this;if(s.destroyed){return-1}const o=t[M][t[j]];r(o);r.strictEqual(this.timeoutType,He);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}r(n>=200);if(i>-1&&this.bytesRead+e.length>i){A.destroy(s,new I);return-1}this.bytesRead+=e.length;if(o.onData(e)===false){return Fe.ERROR.PAUSED}}onMessageComplete(){const{client:e,socket:t,statusCode:s,upgrade:n,headers:i,contentLength:o,bytesRead:a,shouldKeepAlive:c}=this;if(t.destroyed&&(!s||c)){return-1}if(n){return}const l=e[M][e[j]];r(l);r(s>=100);this.statusCode=null;this.statusText="";this.bytesRead=0;this.contentLength="";this.keepAlive="";this.connection="";r(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(s<200){return}if(l.method!=="HEAD"&&o&&a!==parseInt(o,10)){A.destroy(t,new p);return-1}l.onComplete(i);e[M][e[j]++]=null;if(t[L]){r.strictEqual(e[U],0);A.destroy(t,new C("reset"));return Fe.ERROR.PAUSED}else if(!c){A.destroy(t,new C("reset"));return Fe.ERROR.PAUSED}else if(t[v]&&e[U]===0){A.destroy(t,new C("reset"));return Fe.ERROR.PAUSED}else if(e[W]===1){setImmediate(resume,e)}else{resume(e)}}}function onParserTimeout(e){const{socket:t,timeoutType:s,client:n}=e;if(s===Ge){if(!t[L]||t.writableNeedDrain||n[U]>1){r(!e.paused,"cannot be paused while waiting for headers");A.destroy(t,new h)}}else if(s===He){if(!e.paused){A.destroy(t,new B)}}else if(s===Ye){r(n[U]===0&&n[K]);A.destroy(t,new C("socket idle timeout"))}}function onSocketReadable(){const{[D]:e}=this;if(e){e.readMore()}}function onSocketError(e){const{[x]:t,[D]:s}=this;r(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID");if(t[de]!=="h2"){if(e.code==="ECONNRESET"&&s.statusCode&&!s.shouldKeepAlive){s.onMessageComplete();return}}this[q]=e;onError(this[x],e)}function onError(e,t){if(e[U]===0&&t.code!=="UND_ERR_INFO"&&t.code!=="UND_ERR_SOCKET"){r(e[V]===e[j]);const s=e[M].splice(e[j]);for(let r=0;r0&&s.code!=="UND_ERR_INFO"){const t=e[M][e[j]];e[M][e[j]++]=null;errorRequest(e,t,s)}e[V]=e[j];r(e[U]===0);e.emit("disconnect",e[w],[e],s);resume(e)}async function connect(e){r(!e[P]);r(!e[z]);let{host:t,hostname:s,protocol:i,port:o}=e[w];if(s[0]==="["){const e=s.indexOf("]");r(e!==-1);const t=s.substring(1,e);r(n.isIP(t));s=t}e[P]=true;if(Se.beforeConnect.hasSubscribers){Se.beforeConnect.publish({connectParams:{host:t,hostname:s,protocol:i,port:o,servername:e[k],localAddress:e[ue]},connector:e[re]})}try{const n=await new Promise(((r,n)=>{e[re]({host:t,hostname:s,protocol:i,port:o,servername:e[k],localAddress:e[ue]},((e,t)=>{if(e){n(e)}else{r(t)}}))}));if(e.destroyed){A.destroy(n.on("error",(()=>{})),new b);return}e[P]=false;r(n);const a=n.alpnProtocol==="h2";if(a){if(!xe){xe=true;process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"})}const t=Be.connect(e[w],{createConnection:()=>n,peerMaxConcurrentStreams:e[Ee].maxConcurrentStreams});e[de]="h2";t[x]=e;t[z]=n;t.on("error",onHttp2SessionError);t.on("frameError",onHttp2FrameError);t.on("end",onHttp2SessionEnd);t.on("goaway",onHTTP2GoAway);t.on("close",onSocketClose);t.unref();e[he]=t;n[he]=t}else{if(!Ne){Ne=await _e;_e=null}n[H]=false;n[L]=false;n[v]=false;n[F]=false;n[D]=new Parser(e,n,Ne)}n[oe]=0;n[ie]=e[ie];n[x]=e;n[q]=null;n.on("error",onSocketError).on("readable",onSocketReadable).on("end",onSocketEnd).on("close",onSocketClose);e[z]=n;if(Se.connected.hasSubscribers){Se.connected.publish({connectParams:{host:t,hostname:s,protocol:i,port:o,servername:e[k],localAddress:e[ue]},connector:e[re],socket:n})}e.emit("connect",e[w],[e])}catch(n){if(e.destroyed){return}e[P]=false;if(Se.connectError.hasSubscribers){Se.connectError.publish({connectParams:{host:t,hostname:s,protocol:i,port:o,servername:e[k],localAddress:e[ue]},connector:e[re],error:n})}if(n.code==="ERR_TLS_CERT_ALTNAME_INVALID"){r(e[U]===0);while(e[N]>0&&e[M][e[V]].servername===e[k]){const t=e[M][e[V]++];errorRequest(e,t,n)}}else{onError(e,n)}e.emit("connectionError",e[w],[e],n)}resume(e)}function emitDrain(e){e[G]=0;e.emit("drain",e[w],[e])}function resume(e,t){if(e[T]===2){return}e[T]=2;_resume(e,t);e[T]=0;if(e[j]>256){e[M].splice(0,e[j]);e[V]-=e[j];e[j]=0}}function _resume(e,t){while(true){if(e.destroyed){r(e[N]===0);return}if(e[De]&&!e[_]){e[De]();e[De]=null;return}const s=e[z];if(s&&!s.destroyed&&s.alpnProtocol!=="h2"){if(e[_]===0){if(!s[H]&&s.unref){s.unref();s[H]=true}}else if(s[H]&&s.ref){s.ref();s[H]=false}if(e[_]===0){if(s[D].timeoutType!==Ye){s[D].setTimeout(e[K],Ye)}}else if(e[U]>0&&s[D].statusCode<200){if(s[D].timeoutType!==Ge){const t=e[M][e[j]];const r=t.headersTimeout!=null?t.headersTimeout:e[ee];s[D].setTimeout(r,Ge)}}}if(e[R]){e[G]=2}else if(e[G]===2){if(t){e[G]=1;process.nextTick(emitDrain,e)}else{emitDrain(e)}continue}if(e[N]===0){return}if(e[U]>=(e[W]||1)){return}const n=e[M][e[V]];if(e[w].protocol==="https:"&&e[k]!==n.servername){if(e[U]>0){return}e[k]=n.servername;if(s&&s.servername!==n.servername){A.destroy(s,new C("servername changed"));return}}if(e[P]){return}if(!s&&!e[he]){connect(e);return}if(s.destroyed||s[L]||s[v]||s[F]){return}if(e[U]>0&&!n.idempotent){return}if(e[U]>0&&(n.upgrade||n.method==="CONNECT")){return}if(e[U]>0&&A.bodyLength(n.body)!==0&&(A.isStream(n.body)||A.isAsyncIterable(n.body))){return}if(!n.aborted&&write(e,n)){e[V]++}else{e[M].splice(e[V],1)}}}function shouldSendContentLength(e){return e!=="GET"&&e!=="HEAD"&&e!=="OPTIONS"&&e!=="TRACE"&&e!=="CONNECT"}function write(e,t){if(e[de]==="h2"){writeH2(e,e[he],t);return}const{body:s,method:n,path:i,host:o,upgrade:a,headers:c,blocking:l,reset:p}=t;const d=n==="PUT"||n==="POST"||n==="PATCH";if(s&&typeof s.read==="function"){s.read(0)}const h=A.bodyLength(s);let E=h;if(E===null){E=t.contentLength}if(E===0&&!d){E=null}if(shouldSendContentLength(n)&&E>0&&t.contentLength!==null&&t.contentLength!==E){if(e[se]){errorRequest(e,t,new u);return false}process.emitWarning(new u)}const m=e[z];try{t.onConnect((s=>{if(t.aborted||t.completed){return}errorRequest(e,t,s||new g);A.destroy(m,new C("aborted"))}))}catch(s){errorRequest(e,t,s)}if(t.aborted){return false}if(n==="HEAD"){m[v]=true}if(a||n==="CONNECT"){m[v]=true}if(p!=null){m[v]=p}if(e[ie]&&m[oe]++>=e[ie]){m[v]=true}if(l){m[F]=true}let B=`${n} ${i} HTTP/1.1\r\n`;if(typeof o==="string"){B+=`host: ${o}\r\n`}else{B+=e[J]}if(a){B+=`connection: upgrade\r\nupgrade: ${a}\r\n`}else if(e[W]&&!m[v]){B+="connection: keep-alive\r\n"}else{B+="connection: close\r\n"}if(c){B+=c}if(Se.sendHeaders.hasSubscribers){Se.sendHeaders.publish({request:t,headers:B,socket:m})}if(!s||h===0){if(E===0){m.write(`${B}content-length: 0\r\n\r\n`,"latin1")}else{r(E===null,"no body must not have content length");m.write(`${B}\r\n`,"latin1")}t.onRequestSent()}else if(A.isBuffer(s)){r(E===s.byteLength,"buffer body must have content length");m.cork();m.write(`${B}content-length: ${E}\r\n\r\n`,"latin1");m.write(s);m.uncork();t.onBodySent(s);t.onRequestSent();if(!d){m[v]=true}}else if(A.isBlobLike(s)){if(typeof s.stream==="function"){writeIterable({body:s.stream(),client:e,request:t,socket:m,contentLength:E,header:B,expectsPayload:d})}else{writeBlob({body:s,client:e,request:t,socket:m,contentLength:E,header:B,expectsPayload:d})}}else if(A.isStream(s)){writeStream({body:s,client:e,request:t,socket:m,contentLength:E,header:B,expectsPayload:d})}else if(A.isIterable(s)){writeIterable({body:s,client:e,request:t,socket:m,contentLength:E,header:B,expectsPayload:d})}else{r(false)}return true}function writeH2(e,t,s){const{body:n,method:i,path:o,host:a,upgrade:l,expectContinue:p,signal:d,headers:h}=s;let E;if(typeof h==="string")E=c[me](h.trim());else E=h;if(l){errorRequest(e,s,new Error("Upgrade not supported for H2"));return false}try{s.onConnect((t=>{if(s.aborted||s.completed){return}errorRequest(e,s,t||new g)}))}catch(t){errorRequest(e,s,t)}if(s.aborted){return false}let m;const B=e[Ee];E[Qe]=a||e[ge];E[Ie]=i;if(i==="CONNECT"){t.ref();m=t.request(E,{endStream:false,signal:d});if(m.id&&!m.pending){s.onUpgrade(null,null,m);++B.openStreams}else{m.once("ready",(()=>{s.onUpgrade(null,null,m);++B.openStreams}))}m.once("close",(()=>{B.openStreams-=1;if(B.openStreams===0)t.unref()}));return true}E[be]=o;E[ye]="https";const Q=i==="PUT"||i==="POST"||i==="PATCH";if(n&&typeof n.read==="function"){n.read(0)}let I=A.bodyLength(n);if(I==null){I=s.contentLength}if(I===0||!Q){I=null}if(shouldSendContentLength(i)&&I>0&&s.contentLength!=null&&s.contentLength!==I){if(e[se]){errorRequest(e,s,new u);return false}process.emitWarning(new u)}if(I!=null){r(n,"no body must not have content length");E[we]=`${I}`}t.ref();const b=i==="GET"||i==="HEAD";if(p){E[ve]="100-continue";m=t.request(E,{endStream:b,signal:d});m.once("continue",writeBodyH2)}else{m=t.request(E,{endStream:b,signal:d});writeBodyH2()}++B.openStreams;m.once("response",(e=>{const{[ke]:t,...r}=e;if(s.onHeaders(Number(t),r,m.resume.bind(m),"")===false){m.pause()}}));m.once("end",(()=>{s.onComplete([])}));m.on("data",(e=>{if(s.onData(e)===false){m.pause()}}));m.once("close",(()=>{B.openStreams-=1;if(B.openStreams===0){t.unref()}}));m.once("error",(function(t){if(e[he]&&!e[he].destroyed&&!this.closed&&!this.destroyed){B.streams-=1;A.destroy(m,t)}}));m.once("frameError",((t,r)=>{const n=new C(`HTTP/2: "frameError" received - type ${t}, code ${r}`);errorRequest(e,s,n);if(e[he]&&!e[he].destroyed&&!this.closed&&!this.destroyed){B.streams-=1;A.destroy(m,n)}}));return true;function writeBodyH2(){if(!n){s.onRequestSent()}else if(A.isBuffer(n)){r(I===n.byteLength,"buffer body must have content length");m.cork();m.write(n);m.uncork();m.end();s.onBodySent(n);s.onRequestSent()}else if(A.isBlobLike(n)){if(typeof n.stream==="function"){writeIterable({client:e,request:s,contentLength:I,h2stream:m,expectsPayload:Q,body:n.stream(),socket:e[z],header:""})}else{writeBlob({body:n,client:e,request:s,contentLength:I,expectsPayload:Q,h2stream:m,header:"",socket:e[z]})}}else if(A.isStream(n)){writeStream({body:n,client:e,request:s,contentLength:I,expectsPayload:Q,socket:e[z],h2stream:m,header:""})}else if(A.isIterable(n)){writeIterable({body:n,client:e,request:s,contentLength:I,expectsPayload:Q,header:"",h2stream:m,socket:e[z]})}else{r(false)}}}function writeStream({h2stream:e,body:t,client:s,request:n,socket:i,contentLength:a,header:c,expectsPayload:l}){r(a!==0||s[U]===0,"stream body cannot be pipelined");if(s[de]==="h2"){const d=o(t,e,(s=>{if(s){A.destroy(t,s);A.destroy(e,s)}else{n.onRequestSent()}}));d.on("data",onPipeData);d.once("end",(()=>{d.removeListener("data",onPipeData);A.destroy(d)}));function onPipeData(e){n.onBodySent(e)}return}let u=false;const p=new AsyncWriter({socket:i,request:n,contentLength:a,client:s,expectsPayload:l,header:c});const onData=function(e){if(u){return}try{if(!p.write(e)&&this.pause){this.pause()}}catch(e){A.destroy(this,e)}};const onDrain=function(){if(u){return}if(t.resume){t.resume()}};const onAbort=function(){if(u){return}const e=new g;queueMicrotask((()=>onFinished(e)))};const onFinished=function(e){if(u){return}u=true;r(i.destroyed||i[L]&&s[U]<=1);i.off("drain",onDrain).off("error",onFinished);t.removeListener("data",onData).removeListener("end",onFinished).removeListener("error",onFinished).removeListener("close",onAbort);if(!e){try{p.end()}catch(t){e=t}}p.destroy(e);if(e&&(e.code!=="UND_ERR_INFO"||e.message!=="reset")){A.destroy(t,e)}else{A.destroy(t)}};t.on("data",onData).on("end",onFinished).on("error",onFinished).on("close",onAbort);if(t.resume){t.resume()}i.on("drain",onDrain).on("error",onFinished)}async function writeBlob({h2stream:e,body:t,client:s,request:n,socket:i,contentLength:o,header:a,expectsPayload:c}){r(o===t.size,"blob body must have content length");const l=s[de]==="h2";try{if(o!=null&&o!==t.size){throw new u}const r=Buffer.from(await t.arrayBuffer());if(l){e.cork();e.write(r);e.uncork()}else{i.cork();i.write(`${a}content-length: ${o}\r\n\r\n`,"latin1");i.write(r);i.uncork()}n.onBodySent(r);n.onRequestSent();if(!c){i[v]=true}resume(s)}catch(t){A.destroy(l?e:i,t)}}async function writeIterable({h2stream:e,body:t,client:s,request:n,socket:i,contentLength:o,header:A,expectsPayload:a}){r(o!==0||s[U]===0,"iterator body cannot be pipelined");let c=null;function onDrain(){if(c){const e=c;c=null;e()}}const waitForDrain=()=>new Promise(((e,t)=>{r(c===null);if(i[q]){t(i[q])}else{c=e}}));if(s[de]==="h2"){e.on("close",onDrain).on("drain",onDrain);try{for await(const s of t){if(i[q]){throw i[q]}const t=e.write(s);n.onBodySent(s);if(!t){await waitForDrain()}}}catch(t){e.destroy(t)}finally{n.onRequestSent();e.end();e.off("close",onDrain).off("drain",onDrain)}return}i.on("close",onDrain).on("drain",onDrain);const l=new AsyncWriter({socket:i,request:n,contentLength:o,client:s,expectsPayload:a,header:A});try{for await(const e of t){if(i[q]){throw i[q]}if(!l.write(e)){await waitForDrain()}}l.end()}catch(e){l.destroy(e)}finally{i.off("close",onDrain).off("drain",onDrain)}}class AsyncWriter{constructor({socket:e,request:t,contentLength:s,client:r,expectsPayload:n,header:i}){this.socket=e;this.request=t;this.contentLength=s;this.client=r;this.bytesWritten=0;this.expectsPayload=n;this.header=i;e[L]=true}write(e){const{socket:t,request:s,contentLength:r,client:n,bytesWritten:i,expectsPayload:o,header:A}=this;if(t[q]){throw t[q]}if(t.destroyed){return false}const a=Buffer.byteLength(e);if(!a){return true}if(r!==null&&i+a>r){if(n[se]){throw new u}process.emitWarning(new u)}t.cork();if(i===0){if(!o){t[v]=true}if(r===null){t.write(`${A}transfer-encoding: chunked\r\n`,"latin1")}else{t.write(`${A}content-length: ${r}\r\n\r\n`,"latin1")}}if(r===null){t.write(`\r\n${a.toString(16)}\r\n`,"latin1")}this.bytesWritten+=a;const c=t.write(e);t.uncork();s.onBodySent(e);if(!c){if(t[D].timeout&&t[D].timeoutType===Ge){if(t[D].timeout.refresh){t[D].timeout.refresh()}}}return c}end(){const{socket:e,contentLength:t,client:s,bytesWritten:r,expectsPayload:n,header:i,request:o}=this;o.onRequestSent();e[L]=false;if(e[q]){throw e[q]}if(e.destroyed){return}if(r===0){if(n){e.write(`${i}content-length: 0\r\n\r\n`,"latin1")}else{e.write(`${i}\r\n`,"latin1")}}else if(t===null){e.write("\r\n0\r\n\r\n","latin1")}if(t!==null&&r!==t){if(s[se]){throw new u}else{process.emitWarning(new u)}}if(e[D].timeout&&e[D].timeoutType===Ge){if(e[D].timeout.refresh){e[D].timeout.refresh()}}resume(s)}destroy(e){const{socket:t,client:s}=this;t[L]=false;if(e){r(s[U]<=1,"pipeline should only contain this request");A.destroy(t,e)}}}function errorRequest(e,t,s){try{t.onError(s);r(t.aborted)}catch(s){e.emit("error",s)}}e.exports=Client},1136:(e,t,s)=>{"use strict";const{kConnected:r,kSize:n}=s(701);class CompatWeakRef{constructor(e){this.value=e}deref(){return this.value[r]===0&&this.value[n]===0?undefined:this.value}}class CompatFinalizer{constructor(e){this.finalizer=e}register(e,t){if(e.on){e.on("disconnect",(()=>{if(e[r]===0&&e[n]===0){this.finalizer(t)}}))}}}e.exports=function(){if(process.env.NODE_V8_COVERAGE){return{WeakRef:CompatWeakRef,FinalizationRegistry:CompatFinalizer}}return{WeakRef:global.WeakRef||CompatWeakRef,FinalizationRegistry:global.FinalizationRegistry||CompatFinalizer}}},3395:e=>{"use strict";const t=1024;const s=4096;e.exports={maxAttributeValueSize:t,maxNameValuePairSize:s}},1602:(e,t,s)=>{"use strict";const{parseSetCookie:r}=s(6001);const{stringify:n,getHeadersList:i}=s(4460);const{webidl:o}=s(9076);const{Headers:A}=s(9951);function getCookies(e){o.argumentLengthCheck(arguments,1,{header:"getCookies"});o.brandCheck(e,A,{strict:false});const t=e.get("cookie");const s={};if(!t){return s}for(const e of t.split(";")){const[t,...r]=e.split("=");s[t.trim()]=r.join("=")}return s}function deleteCookie(e,t,s){o.argumentLengthCheck(arguments,2,{header:"deleteCookie"});o.brandCheck(e,A,{strict:false});t=o.converters.DOMString(t);s=o.converters.DeleteCookieAttributes(s);setCookie(e,{name:t,value:"",expires:new Date(0),...s})}function getSetCookies(e){o.argumentLengthCheck(arguments,1,{header:"getSetCookies"});o.brandCheck(e,A,{strict:false});const t=i(e).cookies;if(!t){return[]}return t.map((e=>r(Array.isArray(e)?e[1]:e)))}function setCookie(e,t){o.argumentLengthCheck(arguments,2,{header:"setCookie"});o.brandCheck(e,A,{strict:false});t=o.converters.Cookie(t);const s=n(t);if(s){e.append("Set-Cookie",n(t))}}o.converters.DeleteCookieAttributes=o.dictionaryConverter([{converter:o.nullableConverter(o.converters.DOMString),key:"path",defaultValue:null},{converter:o.nullableConverter(o.converters.DOMString),key:"domain",defaultValue:null}]);o.converters.Cookie=o.dictionaryConverter([{converter:o.converters.DOMString,key:"name"},{converter:o.converters.DOMString,key:"value"},{converter:o.nullableConverter((e=>{if(typeof e==="number"){return o.converters["unsigned long long"](e)}return new Date(e)})),key:"expires",defaultValue:null},{converter:o.nullableConverter(o.converters["long long"]),key:"maxAge",defaultValue:null},{converter:o.nullableConverter(o.converters.DOMString),key:"domain",defaultValue:null},{converter:o.nullableConverter(o.converters.DOMString),key:"path",defaultValue:null},{converter:o.nullableConverter(o.converters.boolean),key:"secure",defaultValue:null},{converter:o.nullableConverter(o.converters.boolean),key:"httpOnly",defaultValue:null},{converter:o.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:o.sequenceConverter(o.converters.DOMString),key:"unparsed",defaultValue:[]}]);e.exports={getCookies:getCookies,deleteCookie:deleteCookie,getSetCookies:getSetCookies,setCookie:setCookie}},6001:(e,t,s)=>{"use strict";const{maxNameValuePairSize:r,maxAttributeValueSize:n}=s(3395);const{isCTLExcludingHtab:i}=s(4460);const{collectASequenceOfCodePointsFast:o}=s(2656);const A=s(2613);function parseSetCookie(e){if(i(e)){return null}let t="";let s="";let n="";let A="";if(e.includes(";")){const r={position:0};t=o(";",e,r);s=e.slice(r.position)}else{t=e}if(!t.includes("=")){A=t}else{const e={position:0};n=o("=",t,e);A=t.slice(e.position+1)}n=n.trim();A=A.trim();if(n.length+A.length>r){return null}return{name:n,value:A,...parseUnparsedAttributes(s)}}function parseUnparsedAttributes(e,t={}){if(e.length===0){return t}A(e[0]===";");e=e.slice(1);let s="";if(e.includes(";")){s=o(";",e,{position:0});e=e.slice(s.length)}else{s=e;e=""}let r="";let i="";if(s.includes("=")){const e={position:0};r=o("=",s,e);i=s.slice(e.position+1)}else{r=s}r=r.trim();i=i.trim();if(i.length>n){return parseUnparsedAttributes(e,t)}const a=r.toLowerCase();if(a==="expires"){const e=new Date(i);t.expires=e}else if(a==="max-age"){const s=i.charCodeAt(0);if((s<48||s>57)&&i[0]!=="-"){return parseUnparsedAttributes(e,t)}if(!/^\d+$/.test(i)){return parseUnparsedAttributes(e,t)}const r=Number(i);t.maxAge=r}else if(a==="domain"){let e=i;if(e[0]==="."){e=e.slice(1)}e=e.toLowerCase();t.domain=e}else if(a==="path"){let e="";if(i.length===0||i[0]!=="/"){e="/"}else{e=i}t.path=e}else if(a==="secure"){t.secure=true}else if(a==="httponly"){t.httpOnly=true}else if(a==="samesite"){let e="Default";const s=i.toLowerCase();if(s.includes("none")){e="None"}if(s.includes("strict")){e="Strict"}if(s.includes("lax")){e="Lax"}t.sameSite=e}else{t.unparsed??=[];t.unparsed.push(`${r}=${i}`)}return parseUnparsedAttributes(e,t)}e.exports={parseSetCookie:parseSetCookie,parseUnparsedAttributes:parseUnparsedAttributes}},4460:(e,t,s)=>{"use strict";const r=s(2613);const{kHeadersList:n}=s(701);function isCTLExcludingHtab(e){if(e.length===0){return false}for(const t of e){const e=t.charCodeAt(0);if(e>=0||e<=8||(e>=10||e<=31)||e===127){return false}}}function validateCookieName(e){for(const t of e){const e=t.charCodeAt(0);if(e<=32||e>127||t==="("||t===")"||t===">"||t==="<"||t==="@"||t===","||t===";"||t===":"||t==="\\"||t==='"'||t==="/"||t==="["||t==="]"||t==="?"||t==="="||t==="{"||t==="}"){throw new Error("Invalid cookie name")}}}function validateCookieValue(e){for(const t of e){const e=t.charCodeAt(0);if(e<33||e===34||e===44||e===59||e===92||e>126){throw new Error("Invalid header value")}}}function validateCookiePath(e){for(const t of e){const e=t.charCodeAt(0);if(e<33||t===";"){throw new Error("Invalid cookie path")}}}function validateCookieDomain(e){if(e.startsWith("-")||e.endsWith(".")||e.endsWith("-")){throw new Error("Invalid cookie domain")}}function toIMFDate(e){if(typeof e==="number"){e=new Date(e)}const t=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];const s=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];const r=t[e.getUTCDay()];const n=e.getUTCDate().toString().padStart(2,"0");const i=s[e.getUTCMonth()];const o=e.getUTCFullYear();const A=e.getUTCHours().toString().padStart(2,"0");const a=e.getUTCMinutes().toString().padStart(2,"0");const c=e.getUTCSeconds().toString().padStart(2,"0");return`${r}, ${n} ${i} ${o} ${A}:${a}:${c} GMT`}function validateCookieMaxAge(e){if(e<0){throw new Error("Invalid cookie max-age")}}function stringify(e){if(e.name.length===0){return null}validateCookieName(e.name);validateCookieValue(e.value);const t=[`${e.name}=${e.value}`];if(e.name.startsWith("__Secure-")){e.secure=true}if(e.name.startsWith("__Host-")){e.secure=true;e.domain=null;e.path="/"}if(e.secure){t.push("Secure")}if(e.httpOnly){t.push("HttpOnly")}if(typeof e.maxAge==="number"){validateCookieMaxAge(e.maxAge);t.push(`Max-Age=${e.maxAge}`)}if(e.domain){validateCookieDomain(e.domain);t.push(`Domain=${e.domain}`)}if(e.path){validateCookiePath(e.path);t.push(`Path=${e.path}`)}if(e.expires&&e.expires.toString()!=="Invalid Date"){t.push(`Expires=${toIMFDate(e.expires)}`)}if(e.sameSite){t.push(`SameSite=${e.sameSite}`)}for(const s of e.unparsed){if(!s.includes("=")){throw new Error("Invalid unparsed")}const[e,...r]=s.split("=");t.push(`${e.trim()}=${r.join("=")}`)}return t.join("; ")}let i;function getHeadersList(e){if(e[n]){return e[n]}if(!i){i=Object.getOwnPropertySymbols(e).find((e=>e.description==="headers list"));r(i,"Headers cannot be parsed")}const t=e[i];r(t);return t}e.exports={isCTLExcludingHtab:isCTLExcludingHtab,stringify:stringify,getHeadersList:getHeadersList}},1393:(e,t,s)=>{"use strict";const r=s(9278);const n=s(2613);const i=s(1950);const{InvalidArgumentError:o,ConnectTimeoutError:A}=s(6301);let a;let c;if(global.FinalizationRegistry&&!process.env.NODE_V8_COVERAGE){c=class WeakSessionCache{constructor(e){this._maxCachedSessions=e;this._sessionCache=new Map;this._sessionRegistry=new global.FinalizationRegistry((e=>{if(this._sessionCache.size=this._maxCachedSessions){const{value:e}=this._sessionCache.keys().next();this._sessionCache.delete(e)}this._sessionCache.set(e,t)}}}function buildConnector({allowH2:e,maxCachedSessions:t,socketPath:A,timeout:l,...u}){if(t!=null&&(!Number.isInteger(t)||t<0)){throw new o("maxCachedSessions must be a positive integer or zero")}const p={path:A,...u};const d=new c(t==null?100:t);l=l==null?1e4:l;e=e!=null?e:false;return function connect({hostname:t,host:o,protocol:A,port:c,servername:u,localAddress:g,httpSocket:h},E){let m;if(A==="https:"){if(!a){a=s(4756)}u=u||p.servername||i.getServerName(o)||null;const r=u||t;const A=d.get(r)||null;n(r);m=a.connect({highWaterMark:16384,...p,servername:u,session:A,localAddress:g,ALPNProtocols:e?["http/1.1","h2"]:["http/1.1"],socket:h,port:c||443,host:t});m.on("session",(function(e){d.set(r,e)}))}else{n(!h,"httpSocket can only be sent on TLS update");m=r.connect({highWaterMark:64*1024,...p,localAddress:g,port:c||80,host:t})}if(p.keepAlive==null||p.keepAlive){const e=p.keepAliveInitialDelay===undefined?6e4:p.keepAliveInitialDelay;m.setKeepAlive(true,e)}const C=setupTimeout((()=>onConnectTimeout(m)),l);m.setNoDelay(true).once(A==="https:"?"secureConnect":"connect",(function(){C();if(E){const e=E;E=null;e(null,this)}})).on("error",(function(e){C();if(E){const t=E;E=null;t(e)}}));return m}}function setupTimeout(e,t){if(!t){return()=>{}}let s=null;let r=null;const n=setTimeout((()=>{s=setImmediate((()=>{if(process.platform==="win32"){r=setImmediate((()=>e()))}else{e()}}))}),t);return()=>{clearTimeout(n);clearImmediate(s);clearImmediate(r)}}function onConnectTimeout(e){i.destroy(e,new A)}e.exports=buildConnector},6301:e=>{"use strict";class UndiciError extends Error{constructor(e){super(e);this.name="UndiciError";this.code="UND_ERR"}}class ConnectTimeoutError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ConnectTimeoutError);this.name="ConnectTimeoutError";this.message=e||"Connect Timeout Error";this.code="UND_ERR_CONNECT_TIMEOUT"}}class HeadersTimeoutError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,HeadersTimeoutError);this.name="HeadersTimeoutError";this.message=e||"Headers Timeout Error";this.code="UND_ERR_HEADERS_TIMEOUT"}}class HeadersOverflowError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,HeadersOverflowError);this.name="HeadersOverflowError";this.message=e||"Headers Overflow Error";this.code="UND_ERR_HEADERS_OVERFLOW"}}class BodyTimeoutError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,BodyTimeoutError);this.name="BodyTimeoutError";this.message=e||"Body Timeout Error";this.code="UND_ERR_BODY_TIMEOUT"}}class ResponseStatusCodeError extends UndiciError{constructor(e,t,s,r){super(e);Error.captureStackTrace(this,ResponseStatusCodeError);this.name="ResponseStatusCodeError";this.message=e||"Response Status Code Error";this.code="UND_ERR_RESPONSE_STATUS_CODE";this.body=r;this.status=t;this.statusCode=t;this.headers=s}}class InvalidArgumentError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,InvalidArgumentError);this.name="InvalidArgumentError";this.message=e||"Invalid Argument Error";this.code="UND_ERR_INVALID_ARG"}}class InvalidReturnValueError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,InvalidReturnValueError);this.name="InvalidReturnValueError";this.message=e||"Invalid Return Value Error";this.code="UND_ERR_INVALID_RETURN_VALUE"}}class RequestAbortedError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,RequestAbortedError);this.name="AbortError";this.message=e||"Request aborted";this.code="UND_ERR_ABORTED"}}class InformationalError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,InformationalError);this.name="InformationalError";this.message=e||"Request information";this.code="UND_ERR_INFO"}}class RequestContentLengthMismatchError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,RequestContentLengthMismatchError);this.name="RequestContentLengthMismatchError";this.message=e||"Request body length does not match content-length header";this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}}class ResponseContentLengthMismatchError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ResponseContentLengthMismatchError);this.name="ResponseContentLengthMismatchError";this.message=e||"Response body length does not match content-length header";this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}}class ClientDestroyedError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ClientDestroyedError);this.name="ClientDestroyedError";this.message=e||"The client is destroyed";this.code="UND_ERR_DESTROYED"}}class ClientClosedError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ClientClosedError);this.name="ClientClosedError";this.message=e||"The client is closed";this.code="UND_ERR_CLOSED"}}class SocketError extends UndiciError{constructor(e,t){super(e);Error.captureStackTrace(this,SocketError);this.name="SocketError";this.message=e||"Socket error";this.code="UND_ERR_SOCKET";this.socket=t}}class NotSupportedError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,NotSupportedError);this.name="NotSupportedError";this.message=e||"Not supported error";this.code="UND_ERR_NOT_SUPPORTED"}}class BalancedPoolMissingUpstreamError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,NotSupportedError);this.name="MissingUpstreamError";this.message=e||"No upstream has been added to the BalancedPool";this.code="UND_ERR_BPL_MISSING_UPSTREAM"}}class HTTPParserError extends Error{constructor(e,t,s){super(e);Error.captureStackTrace(this,HTTPParserError);this.name="HTTPParserError";this.code=t?`HPE_${t}`:undefined;this.data=s?s.toString():undefined}}class ResponseExceededMaxSizeError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ResponseExceededMaxSizeError);this.name="ResponseExceededMaxSizeError";this.message=e||"Response content exceeded max size";this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}}class RequestRetryError extends UndiciError{constructor(e,t,{headers:s,data:r}){super(e);Error.captureStackTrace(this,RequestRetryError);this.name="RequestRetryError";this.message=e||"Request retry error";this.code="UND_ERR_REQ_RETRY";this.statusCode=t;this.data=r;this.headers=s}}e.exports={HTTPParserError:HTTPParserError,UndiciError:UndiciError,HeadersTimeoutError:HeadersTimeoutError,HeadersOverflowError:HeadersOverflowError,BodyTimeoutError:BodyTimeoutError,RequestContentLengthMismatchError:RequestContentLengthMismatchError,ConnectTimeoutError:ConnectTimeoutError,ResponseStatusCodeError:ResponseStatusCodeError,InvalidArgumentError:InvalidArgumentError,InvalidReturnValueError:InvalidReturnValueError,RequestAbortedError:RequestAbortedError,ClientDestroyedError:ClientDestroyedError,ClientClosedError:ClientClosedError,InformationalError:InformationalError,SocketError:SocketError,NotSupportedError:NotSupportedError,ResponseContentLengthMismatchError:ResponseContentLengthMismatchError,BalancedPoolMissingUpstreamError:BalancedPoolMissingUpstreamError,ResponseExceededMaxSizeError:ResponseExceededMaxSizeError,RequestRetryError:RequestRetryError}},3521:(e,t,s)=>{"use strict";const{InvalidArgumentError:r,NotSupportedError:n}=s(6301);const i=s(2613);const{kHTTP2BuildRequest:o,kHTTP2CopyHeaders:A,kHTTP1BuildRequest:a}=s(701);const c=s(1950);const l=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/;const u=/[^\t\x20-\x7e\x80-\xff]/;const p=/[^\u0021-\u00ff]/;const d=Symbol("handler");const g={};let h;try{const e=s(1637);g.create=e.channel("undici:request:create");g.bodySent=e.channel("undici:request:bodySent");g.headers=e.channel("undici:request:headers");g.trailers=e.channel("undici:request:trailers");g.error=e.channel("undici:request:error")}catch{g.create={hasSubscribers:false};g.bodySent={hasSubscribers:false};g.headers={hasSubscribers:false};g.trailers={hasSubscribers:false};g.error={hasSubscribers:false}}class Request{constructor(e,{path:t,method:n,body:i,headers:o,query:A,idempotent:a,blocking:u,upgrade:E,headersTimeout:m,bodyTimeout:C,reset:B,throwOnError:Q,expectContinue:I},b){if(typeof t!=="string"){throw new r("path must be a string")}else if(t[0]!=="/"&&!(t.startsWith("http://")||t.startsWith("https://"))&&n!=="CONNECT"){throw new r("path must be an absolute URL or start with a slash")}else if(p.exec(t)!==null){throw new r("invalid request path")}if(typeof n!=="string"){throw new r("method must be a string")}else if(l.exec(n)===null){throw new r("invalid request method")}if(E&&typeof E!=="string"){throw new r("upgrade must be a string")}if(m!=null&&(!Number.isFinite(m)||m<0)){throw new r("invalid headersTimeout")}if(C!=null&&(!Number.isFinite(C)||C<0)){throw new r("invalid bodyTimeout")}if(B!=null&&typeof B!=="boolean"){throw new r("invalid reset")}if(I!=null&&typeof I!=="boolean"){throw new r("invalid expectContinue")}this.headersTimeout=m;this.bodyTimeout=C;this.throwOnError=Q===true;this.method=n;this.abort=null;if(i==null){this.body=null}else if(c.isStream(i)){this.body=i;const e=this.body._readableState;if(!e||!e.autoDestroy){this.endHandler=function autoDestroy(){c.destroy(this)};this.body.on("end",this.endHandler)}this.errorHandler=e=>{if(this.abort){this.abort(e)}else{this.error=e}};this.body.on("error",this.errorHandler)}else if(c.isBuffer(i)){this.body=i.byteLength?i:null}else if(ArrayBuffer.isView(i)){this.body=i.buffer.byteLength?Buffer.from(i.buffer,i.byteOffset,i.byteLength):null}else if(i instanceof ArrayBuffer){this.body=i.byteLength?Buffer.from(i):null}else if(typeof i==="string"){this.body=i.length?Buffer.from(i):null}else if(c.isFormDataLike(i)||c.isIterable(i)||c.isBlobLike(i)){this.body=i}else{throw new r("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable")}this.completed=false;this.aborted=false;this.upgrade=E||null;this.path=A?c.buildURL(t,A):t;this.origin=e;this.idempotent=a==null?n==="HEAD"||n==="GET":a;this.blocking=u==null?false:u;this.reset=B==null?null:B;this.host=null;this.contentLength=null;this.contentType=null;this.headers="";this.expectContinue=I!=null?I:false;if(Array.isArray(o)){if(o.length%2!==0){throw new r("headers array must be even")}for(let e=0;e{e.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kHeadersList:Symbol("headers list"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kInterceptors:Symbol("dispatch interceptors"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kHTTP2BuildRequest:Symbol("http2 build request"),kHTTP1BuildRequest:Symbol("http1 build request"),kHTTP2CopyHeaders:Symbol("http2 copy headers"),kHTTPConnVersion:Symbol("http connection version"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable")}},1950:(e,t,s)=>{"use strict";const r=s(2613);const{kDestroyed:n,kBodyUsed:i}=s(701);const{IncomingMessage:o}=s(8611);const A=s(2203);const a=s(9278);const{InvalidArgumentError:c}=s(6301);const{Blob:l}=s(181);const u=s(9023);const{stringify:p}=s(3480);const[d,g]=process.versions.node.split(".").map((e=>Number(e)));function nop(){}function isStream(e){return e&&typeof e==="object"&&typeof e.pipe==="function"&&typeof e.on==="function"}function isBlobLike(e){return l&&e instanceof l||e&&typeof e==="object"&&(typeof e.stream==="function"||typeof e.arrayBuffer==="function")&&/^(Blob|File)$/.test(e[Symbol.toStringTag])}function buildURL(e,t){if(e.includes("?")||e.includes("#")){throw new Error('Query params cannot be passed when url already contains "?" or "#".')}const s=p(t);if(s){e+="?"+s}return e}function parseURL(e){if(typeof e==="string"){e=new URL(e);if(!/^https?:/.test(e.origin||e.protocol)){throw new c("Invalid URL protocol: the URL must start with `http:` or `https:`.")}return e}if(!e||typeof e!=="object"){throw new c("Invalid URL: The URL argument must be a non-null object.")}if(!/^https?:/.test(e.origin||e.protocol)){throw new c("Invalid URL protocol: the URL must start with `http:` or `https:`.")}if(!(e instanceof URL)){if(e.port!=null&&e.port!==""&&!Number.isFinite(parseInt(e.port))){throw new c("Invalid URL: port must be a valid integer or a string representation of an integer.")}if(e.path!=null&&typeof e.path!=="string"){throw new c("Invalid URL path: the path must be a string or null/undefined.")}if(e.pathname!=null&&typeof e.pathname!=="string"){throw new c("Invalid URL pathname: the pathname must be a string or null/undefined.")}if(e.hostname!=null&&typeof e.hostname!=="string"){throw new c("Invalid URL hostname: the hostname must be a string or null/undefined.")}if(e.origin!=null&&typeof e.origin!=="string"){throw new c("Invalid URL origin: the origin must be a string or null/undefined.")}const t=e.port!=null?e.port:e.protocol==="https:"?443:80;let s=e.origin!=null?e.origin:`${e.protocol}//${e.hostname}:${t}`;let r=e.path!=null?e.path:`${e.pathname||""}${e.search||""}`;if(s.endsWith("/")){s=s.substring(0,s.length-1)}if(r&&!r.startsWith("/")){r=`/${r}`}e=new URL(s+r)}return e}function parseOrigin(e){e=parseURL(e);if(e.pathname!=="/"||e.search||e.hash){throw new c("invalid url")}return e}function getHostname(e){if(e[0]==="["){const t=e.indexOf("]");r(t!==-1);return e.substring(1,t)}const t=e.indexOf(":");if(t===-1)return e;return e.substring(0,t)}function getServerName(e){if(!e){return null}r.strictEqual(typeof e,"string");const t=getHostname(e);if(a.isIP(t)){return""}return t}function deepClone(e){return JSON.parse(JSON.stringify(e))}function isAsyncIterable(e){return!!(e!=null&&typeof e[Symbol.asyncIterator]==="function")}function isIterable(e){return!!(e!=null&&(typeof e[Symbol.iterator]==="function"||typeof e[Symbol.asyncIterator]==="function"))}function bodyLength(e){if(e==null){return 0}else if(isStream(e)){const t=e._readableState;return t&&t.objectMode===false&&t.ended===true&&Number.isFinite(t.length)?t.length:null}else if(isBlobLike(e)){return e.size!=null?e.size:null}else if(isBuffer(e)){return e.byteLength}return null}function isDestroyed(e){return!e||!!(e.destroyed||e[n])}function isReadableAborted(e){const t=e&&e._readableState;return isDestroyed(e)&&t&&!t.endEmitted}function destroy(e,t){if(e==null||!isStream(e)||isDestroyed(e)){return}if(typeof e.destroy==="function"){if(Object.getPrototypeOf(e).constructor===o){e.socket=null}e.destroy(t)}else if(t){process.nextTick(((e,t)=>{e.emit("error",t)}),e,t)}if(e.destroyed!==true){e[n]=true}}const h=/timeout=(\d+)/;function parseKeepAliveTimeout(e){const t=e.toString().match(h);return t?parseInt(t[1],10)*1e3:null}function parseHeaders(e,t={}){if(!Array.isArray(e))return e;for(let s=0;se.toString("utf8")))}else{t[r]=e[s+1].toString("utf8")}}else{if(!Array.isArray(n)){n=[n];t[r]=n}n.push(e[s+1].toString("utf8"))}}if("content-length"in t&&"content-disposition"in t){t["content-disposition"]=Buffer.from(t["content-disposition"]).toString("latin1")}return t}function parseRawHeaders(e){const t=[];let s=false;let r=-1;for(let n=0;n{e.close()}))}else{const t=Buffer.isBuffer(r)?r:Buffer.from(r);e.enqueue(new Uint8Array(t))}return e.desiredSize>0},async cancel(e){await t.return()}},0)}function isFormDataLike(e){return e&&typeof e==="object"&&typeof e.append==="function"&&typeof e.delete==="function"&&typeof e.get==="function"&&typeof e.getAll==="function"&&typeof e.has==="function"&&typeof e.set==="function"&&e[Symbol.toStringTag]==="FormData"}function throwIfAborted(e){if(!e){return}if(typeof e.throwIfAborted==="function"){e.throwIfAborted()}else{if(e.aborted){const e=new Error("The operation was aborted");e.name="AbortError";throw e}}}function addAbortListener(e,t){if("addEventListener"in e){e.addEventListener("abort",t,{once:true});return()=>e.removeEventListener("abort",t)}e.addListener("abort",t);return()=>e.removeListener("abort",t)}const m=!!String.prototype.toWellFormed;function toUSVString(e){if(m){return`${e}`.toWellFormed()}else if(u.toUSVString){return u.toUSVString(e)}return`${e}`}function parseRangeHeader(e){if(e==null||e==="")return{start:0,end:null,size:null};const t=e?e.match(/^bytes (\d+)-(\d+)\/(\d+)?$/):null;return t?{start:parseInt(t[1]),end:t[2]?parseInt(t[2]):null,size:t[3]?parseInt(t[3]):null}:null}const C=Object.create(null);C.enumerable=true;e.exports={kEnumerableProperty:C,nop:nop,isDisturbed:isDisturbed,isErrored:isErrored,isReadable:isReadable,toUSVString:toUSVString,isReadableAborted:isReadableAborted,isBlobLike:isBlobLike,parseOrigin:parseOrigin,parseURL:parseURL,getServerName:getServerName,isStream:isStream,isIterable:isIterable,isAsyncIterable:isAsyncIterable,isDestroyed:isDestroyed,parseRawHeaders:parseRawHeaders,parseHeaders:parseHeaders,parseKeepAliveTimeout:parseKeepAliveTimeout,destroy:destroy,bodyLength:bodyLength,deepClone:deepClone,ReadableStreamFrom:ReadableStreamFrom,isBuffer:isBuffer,validateHandler:validateHandler,getSocketInfo:getSocketInfo,isFormDataLike:isFormDataLike,buildURL:buildURL,throwIfAborted:throwIfAborted,addAbortListener:addAbortListener,parseRangeHeader:parseRangeHeader,nodeMajor:d,nodeMinor:g,nodeHasAutoSelectFamily:d>18||d===18&&g>=13,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"]}},5419:(e,t,s)=>{"use strict";const r=s(3505);const{ClientDestroyedError:n,ClientClosedError:i,InvalidArgumentError:o}=s(6301);const{kDestroy:A,kClose:a,kDispatch:c,kInterceptors:l}=s(701);const u=Symbol("destroyed");const p=Symbol("closed");const d=Symbol("onDestroyed");const g=Symbol("onClosed");const h=Symbol("Intercepted Dispatch");class DispatcherBase extends r{constructor(){super();this[u]=false;this[d]=null;this[p]=false;this[g]=[]}get destroyed(){return this[u]}get closed(){return this[p]}get interceptors(){return this[l]}set interceptors(e){if(e){for(let t=e.length-1;t>=0;t--){const e=this[l][t];if(typeof e!=="function"){throw new o("interceptor must be an function")}}}this[l]=e}close(e){if(e===undefined){return new Promise(((e,t)=>{this.close(((s,r)=>s?t(s):e(r)))}))}if(typeof e!=="function"){throw new o("invalid callback")}if(this[u]){queueMicrotask((()=>e(new n,null)));return}if(this[p]){if(this[g]){this[g].push(e)}else{queueMicrotask((()=>e(null,null)))}return}this[p]=true;this[g].push(e);const onClosed=()=>{const e=this[g];this[g]=null;for(let t=0;tthis.destroy())).then((()=>{queueMicrotask(onClosed)}))}destroy(e,t){if(typeof e==="function"){t=e;e=null}if(t===undefined){return new Promise(((t,s)=>{this.destroy(e,((e,r)=>e?s(e):t(r)))}))}if(typeof t!=="function"){throw new o("invalid callback")}if(this[u]){if(this[d]){this[d].push(t)}else{queueMicrotask((()=>t(null,null)))}return}if(!e){e=new n}this[u]=true;this[d]=this[d]||[];this[d].push(t);const onDestroyed=()=>{const e=this[d];this[d]=null;for(let t=0;t{queueMicrotask(onDestroyed)}))}[h](e,t){if(!this[l]||this[l].length===0){this[h]=this[c];return this[c](e,t)}let s=this[c].bind(this);for(let e=this[l].length-1;e>=0;e--){s=this[l][e](s)}this[h]=s;return s(e,t)}dispatch(e,t){if(!t||typeof t!=="object"){throw new o("handler must be an object")}try{if(!e||typeof e!=="object"){throw new o("opts must be an object.")}if(this[u]||this[d]){throw new n}if(this[p]){throw new i}return this[h](e,t)}catch(e){if(typeof t.onError!=="function"){throw new o("invalid onError method")}t.onError(e);return false}}}e.exports=DispatcherBase},3505:(e,t,s)=>{"use strict";const r=s(4434);class Dispatcher extends r{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}}e.exports=Dispatcher},3113:(e,t,s)=>{"use strict";const r=s(7432);const n=s(1950);const{ReadableStreamFrom:i,isBlobLike:o,isReadableStreamLike:A,readableStreamClose:a,createDeferredPromise:c,fullyReadBody:l}=s(1537);const{FormData:u}=s(6755);const{kState:p}=s(7888);const{webidl:d}=s(9076);const{DOMException:g,structuredClone:h}=s(9680);const{Blob:E,File:m}=s(181);const{kBodyUsed:C}=s(701);const B=s(2613);const{isErrored:Q}=s(1950);const{isUint8Array:I,isArrayBuffer:b}=s(8253);const{File:y}=s(9515);const{parseMIMEType:w,serializeAMimeType:v}=s(2656);let k=globalThis.ReadableStream;const x=m??y;const R=new TextEncoder;const D=new TextDecoder;function extractBody(e,t=false){if(!k){k=s(3774).ReadableStream}let r=null;if(e instanceof k){r=e}else if(o(e)){r=e.stream()}else{r=new k({async pull(e){e.enqueue(typeof l==="string"?R.encode(l):l);queueMicrotask((()=>a(e)))},start(){},type:undefined})}B(A(r));let c=null;let l=null;let u=null;let p=null;if(typeof e==="string"){l=e;p="text/plain;charset=UTF-8"}else if(e instanceof URLSearchParams){l=e.toString();p="application/x-www-form-urlencoded;charset=UTF-8"}else if(b(e)){l=new Uint8Array(e.slice())}else if(ArrayBuffer.isView(e)){l=new Uint8Array(e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength))}else if(n.isFormDataLike(e)){const t=`----formdata-undici-0${`${Math.floor(Math.random()*1e11)}`.padStart(11,"0")}`;const s=`--${t}\r\nContent-Disposition: form-data` +/*! formdata-polyfill. MIT License. Jimmy Wärting */;const escape=e=>e.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=e=>e.replace(/\r?\n|\r/g,"\r\n");const r=[];const n=new Uint8Array([13,10]);u=0;let i=false;for(const[t,o]of e){if(typeof o==="string"){const e=R.encode(s+`; name="${escape(normalizeLinefeeds(t))}"`+`\r\n\r\n${normalizeLinefeeds(o)}\r\n`);r.push(e);u+=e.byteLength}else{const e=R.encode(`${s}; name="${escape(normalizeLinefeeds(t))}"`+(o.name?`; filename="${escape(o.name)}"`:"")+"\r\n"+`Content-Type: ${o.type||"application/octet-stream"}\r\n\r\n`);r.push(e,o,n);if(typeof o.size==="number"){u+=e.byteLength+o.size+n.byteLength}else{i=true}}}const o=R.encode(`--${t}--`);r.push(o);u+=o.byteLength;if(i){u=null}l=e;c=async function*(){for(const e of r){if(e.stream){yield*e.stream()}else{yield e}}};p="multipart/form-data; boundary="+t}else if(o(e)){l=e;u=e.size;if(e.type){p=e.type}}else if(typeof e[Symbol.asyncIterator]==="function"){if(t){throw new TypeError("keepalive")}if(n.isDisturbed(e)||e.locked){throw new TypeError("Response body object should not be disturbed or locked")}r=e instanceof k?e:i(e)}if(typeof l==="string"||n.isBuffer(l)){u=Buffer.byteLength(l)}if(c!=null){let t;r=new k({async start(){t=c(e)[Symbol.asyncIterator]()},async pull(e){const{value:s,done:n}=await t.next();if(n){queueMicrotask((()=>{e.close()}))}else{if(!Q(r)){e.enqueue(new Uint8Array(s))}}return e.desiredSize>0},async cancel(e){await t.return()},type:undefined})}const d={stream:r,source:l,length:u};return[d,p]}function safelyExtractBody(e,t=false){if(!k){k=s(3774).ReadableStream}if(e instanceof k){B(!n.isDisturbed(e),"The body has already been consumed.");B(!e.locked,"The stream is locked.")}return extractBody(e,t)}function cloneBody(e){const[t,s]=e.stream.tee();const r=h(s,{transfer:[s]});const[,n]=r.tee();e.stream=t;return{stream:n,length:e.length,source:e.source}}async function*consumeBody(e){if(e){if(I(e)){yield e}else{const t=e.stream;if(n.isDisturbed(t)){throw new TypeError("The body has already been consumed.")}if(t.locked){throw new TypeError("The stream is locked.")}t[C]=true;yield*t}}}function throwIfAborted(e){if(e.aborted){throw new g("The operation was aborted.","AbortError")}}function bodyMixinMethods(e){const t={blob(){return specConsumeBody(this,(e=>{let t=bodyMimeType(this);if(t==="failure"){t=""}else if(t){t=v(t)}return new E([e],{type:t})}),e)},arrayBuffer(){return specConsumeBody(this,(e=>new Uint8Array(e).buffer),e)},text(){return specConsumeBody(this,utf8DecodeBytes,e)},json(){return specConsumeBody(this,parseJSONFromBytes,e)},async formData(){d.brandCheck(this,e);throwIfAborted(this[p]);const t=this.headers.get("Content-Type");if(/multipart\/form-data/.test(t)){const e={};for(const[t,s]of this.headers)e[t.toLowerCase()]=s;const t=new u;let s;try{s=new r({headers:e,preservePath:true})}catch(e){throw new g(`${e}`,"AbortError")}s.on("field",((e,s)=>{t.append(e,s)}));s.on("file",((e,s,r,n,i)=>{const o=[];if(n==="base64"||n.toLowerCase()==="base64"){let n="";s.on("data",(e=>{n+=e.toString().replace(/[\r\n]/gm,"");const t=n.length-n.length%4;o.push(Buffer.from(n.slice(0,t),"base64"));n=n.slice(t)}));s.on("end",(()=>{o.push(Buffer.from(n,"base64"));t.append(e,new x(o,r,{type:i}))}))}else{s.on("data",(e=>{o.push(e)}));s.on("end",(()=>{t.append(e,new x(o,r,{type:i}))}))}}));const n=new Promise(((e,t)=>{s.on("finish",e);s.on("error",(e=>t(new TypeError(e))))}));if(this.body!==null)for await(const e of consumeBody(this[p].body))s.write(e);s.end();await n;return t}else if(/application\/x-www-form-urlencoded/.test(t)){let e;try{let t="";const s=new TextDecoder("utf-8",{ignoreBOM:true});for await(const e of consumeBody(this[p].body)){if(!I(e)){throw new TypeError("Expected Uint8Array chunk")}t+=s.decode(e,{stream:true})}t+=s.decode();e=new URLSearchParams(t)}catch(e){throw Object.assign(new TypeError,{cause:e})}const t=new u;for(const[s,r]of e){t.append(s,r)}return t}else{await Promise.resolve();throwIfAborted(this[p]);throw d.errors.exception({header:`${e.name}.formData`,message:"Could not parse content as FormData."})}}};return t}function mixinBody(e){Object.assign(e.prototype,bodyMixinMethods(e))}async function specConsumeBody(e,t,s){d.brandCheck(e,s);throwIfAborted(e[p]);if(bodyUnusable(e[p].body)){throw new TypeError("Body is unusable")}const r=c();const errorSteps=e=>r.reject(e);const successSteps=e=>{try{r.resolve(t(e))}catch(e){errorSteps(e)}};if(e[p].body==null){successSteps(new Uint8Array);return r.promise}await l(e[p].body,successSteps,errorSteps);return r.promise}function bodyUnusable(e){return e!=null&&(e.stream.locked||n.isDisturbed(e.stream))}function utf8DecodeBytes(e){if(e.length===0){return""}if(e[0]===239&&e[1]===187&&e[2]===191){e=e.subarray(3)}const t=D.decode(e);return t}function parseJSONFromBytes(e){return JSON.parse(utf8DecodeBytes(e))}function bodyMimeType(e){const{headersList:t}=e[p];const s=t.get("content-type");if(s===null){return"failure"}return w(s)}e.exports={extractBody:extractBody,safelyExtractBody:safelyExtractBody,cloneBody:cloneBody,mixinBody:mixinBody}},9680:(e,t,s)=>{"use strict";const{MessageChannel:r,receiveMessageOnPort:n}=s(8167);const i=["GET","HEAD","POST"];const o=new Set(i);const A=[101,204,205,304];const a=[301,302,303,307,308];const c=new Set(a);const l=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","5060","5061","6000","6566","6665","6666","6667","6668","6669","6697","10080"];const u=new Set(l);const p=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"];const d=new Set(p);const g=["follow","manual","error"];const h=["GET","HEAD","OPTIONS","TRACE"];const E=new Set(h);const m=["navigate","same-origin","no-cors","cors"];const C=["omit","same-origin","include"];const B=["default","no-store","reload","no-cache","force-cache","only-if-cached"];const Q=["content-encoding","content-language","content-location","content-type","content-length"];const I=["half"];const b=["CONNECT","TRACE","TRACK"];const y=new Set(b);const w=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""];const v=new Set(w);const k=globalThis.DOMException??(()=>{try{atob("~")}catch(e){return Object.getPrototypeOf(e).constructor}})();let x;const R=globalThis.structuredClone??function structuredClone(e,t=undefined){if(arguments.length===0){throw new TypeError("missing argument")}if(!x){x=new r}x.port1.unref();x.port2.unref();x.port1.postMessage(e,t?.transfer);return n(x.port2).message};e.exports={DOMException:k,structuredClone:R,subresource:w,forbiddenMethods:b,requestBodyHeader:Q,referrerPolicy:p,requestRedirect:g,requestMode:m,requestCredentials:C,requestCache:B,redirectStatus:a,corsSafeListedMethods:i,nullBodyStatus:A,safeMethods:h,badPorts:l,requestDuplex:I,subresourceSet:v,badPortsSet:u,redirectStatusSet:c,corsSafeListedMethodsSet:o,safeMethodsSet:E,forbiddenMethodsSet:y,referrerPolicySet:d}},2656:(e,t,s)=>{const r=s(2613);const{atob:n}=s(181);const{isomorphicDecode:i}=s(1537);const o=new TextEncoder;const A=/^[!#$%&'*+-.^_|~A-Za-z0-9]+$/;const a=/(\u000A|\u000D|\u0009|\u0020)/;const c=/[\u0009|\u0020-\u007E|\u0080-\u00FF]/;function dataURLProcessor(e){r(e.protocol==="data:");let t=URLSerializer(e,true);t=t.slice(5);const s={position:0};let n=collectASequenceOfCodePointsFast(",",t,s);const o=n.length;n=removeASCIIWhitespace(n,true,true);if(s.position>=t.length){return"failure"}s.position++;const A=t.slice(o+1);let a=stringPercentDecode(A);if(/;(\u0020){0,}base64$/i.test(n)){const e=i(a);a=forgivingBase64(e);if(a==="failure"){return"failure"}n=n.slice(0,-6);n=n.replace(/(\u0020)+$/,"");n=n.slice(0,-1)}if(n.startsWith(";")){n="text/plain"+n}let c=parseMIMEType(n);if(c==="failure"){c=parseMIMEType("text/plain;charset=US-ASCII")}return{mimeType:c,body:a}}function URLSerializer(e,t=false){if(!t){return e.href}const s=e.href;const r=e.hash.length;return r===0?s:s.substring(0,s.length-r)}function collectASequenceOfCodePoints(e,t,s){let r="";while(s.positione.length){return"failure"}t.position++;let r=collectASequenceOfCodePointsFast(";",e,t);r=removeHTTPWhitespace(r,false,true);if(r.length===0||!A.test(r)){return"failure"}const n=s.toLowerCase();const i=r.toLowerCase();const o={type:n,subtype:i,parameters:new Map,essence:`${n}/${i}`};while(t.positiona.test(e)),e,t);let s=collectASequenceOfCodePoints((e=>e!==";"&&e!=="="),e,t);s=s.toLowerCase();if(t.positione.length){break}let r=null;if(e[t.position]==='"'){r=collectAnHTTPQuotedString(e,t,true);collectASequenceOfCodePointsFast(";",e,t)}else{r=collectASequenceOfCodePointsFast(";",e,t);r=removeHTTPWhitespace(r,false,true);if(r.length===0){continue}}if(s.length!==0&&A.test(s)&&(r.length===0||c.test(r))&&!o.parameters.has(s)){o.parameters.set(s,r)}}return o}function forgivingBase64(e){e=e.replace(/[\u0009\u000A\u000C\u000D\u0020]/g,"");if(e.length%4===0){e=e.replace(/=?=$/,"")}if(e.length%4===1){return"failure"}if(/[^+/0-9A-Za-z]/.test(e)){return"failure"}const t=n(e);const s=new Uint8Array(t.length);for(let e=0;ee!=='"'&&e!=="\\"),e,t);if(t.position>=e.length){break}const s=e[t.position];t.position++;if(s==="\\"){if(t.position>=e.length){i+="\\";break}i+=e[t.position];t.position++}else{r(s==='"');break}}if(s){return i}return e.slice(n,t.position)}function serializeAMimeType(e){r(e!=="failure");const{parameters:t,essence:s}=e;let n=s;for(let[e,s]of t.entries()){n+=";";n+=e;n+="=";if(!A.test(s)){s=s.replace(/(\\|")/g,"\\$1");s='"'+s;s+='"'}n+=s}return n}function isHTTPWhiteSpace(e){return e==="\r"||e==="\n"||e==="\t"||e===" "}function removeHTTPWhitespace(e,t=true,s=true){let r=0;let n=e.length-1;if(t){for(;r0&&isHTTPWhiteSpace(e[n]);n--);}return e.slice(r,n+1)}function isASCIIWhitespace(e){return e==="\r"||e==="\n"||e==="\t"||e==="\f"||e===" "}function removeASCIIWhitespace(e,t=true,s=true){let r=0;let n=e.length-1;if(t){for(;r0&&isASCIIWhitespace(e[n]);n--);}return e.slice(r,n+1)}e.exports={dataURLProcessor:dataURLProcessor,URLSerializer:URLSerializer,collectASequenceOfCodePoints:collectASequenceOfCodePoints,collectASequenceOfCodePointsFast:collectASequenceOfCodePointsFast,stringPercentDecode:stringPercentDecode,parseMIMEType:parseMIMEType,collectAnHTTPQuotedString:collectAnHTTPQuotedString,serializeAMimeType:serializeAMimeType}},9515:(e,t,s)=>{"use strict";const{Blob:r,File:n}=s(181);const{types:i}=s(9023);const{kState:o}=s(7888);const{isBlobLike:A}=s(1537);const{webidl:a}=s(9076);const{parseMIMEType:c,serializeAMimeType:l}=s(2656);const{kEnumerableProperty:u}=s(1950);const p=new TextEncoder;class File extends r{constructor(e,t,s={}){a.argumentLengthCheck(arguments,2,{header:"File constructor"});e=a.converters["sequence"](e);t=a.converters.USVString(t);s=a.converters.FilePropertyBag(s);const r=t;let n=s.type;let i;e:{if(n){n=c(n);if(n==="failure"){n="";break e}n=l(n).toLowerCase()}i=s.lastModified}super(processBlobParts(e,s),{type:n});this[o]={name:r,lastModified:i,type:n}}get name(){a.brandCheck(this,File);return this[o].name}get lastModified(){a.brandCheck(this,File);return this[o].lastModified}get type(){a.brandCheck(this,File);return this[o].type}}class FileLike{constructor(e,t,s={}){const r=t;const n=s.type;const i=s.lastModified??Date.now();this[o]={blobLike:e,name:r,type:n,lastModified:i}}stream(...e){a.brandCheck(this,FileLike);return this[o].blobLike.stream(...e)}arrayBuffer(...e){a.brandCheck(this,FileLike);return this[o].blobLike.arrayBuffer(...e)}slice(...e){a.brandCheck(this,FileLike);return this[o].blobLike.slice(...e)}text(...e){a.brandCheck(this,FileLike);return this[o].blobLike.text(...e)}get size(){a.brandCheck(this,FileLike);return this[o].blobLike.size}get type(){a.brandCheck(this,FileLike);return this[o].blobLike.type}get name(){a.brandCheck(this,FileLike);return this[o].name}get lastModified(){a.brandCheck(this,FileLike);return this[o].lastModified}get[Symbol.toStringTag](){return"File"}}Object.defineProperties(File.prototype,{[Symbol.toStringTag]:{value:"File",configurable:true},name:u,lastModified:u});a.converters.Blob=a.interfaceConverter(r);a.converters.BlobPart=function(e,t){if(a.util.Type(e)==="Object"){if(A(e)){return a.converters.Blob(e,{strict:false})}if(ArrayBuffer.isView(e)||i.isAnyArrayBuffer(e)){return a.converters.BufferSource(e,t)}}return a.converters.USVString(e,t)};a.converters["sequence"]=a.sequenceConverter(a.converters.BlobPart);a.converters.FilePropertyBag=a.dictionaryConverter([{key:"lastModified",converter:a.converters["long long"],get defaultValue(){return Date.now()}},{key:"type",converter:a.converters.DOMString,defaultValue:""},{key:"endings",converter:e=>{e=a.converters.DOMString(e);e=e.toLowerCase();if(e!=="native"){e="transparent"}return e},defaultValue:"transparent"}]);function processBlobParts(e,t){const s=[];for(const r of e){if(typeof r==="string"){let e=r;if(t.endings==="native"){e=convertLineEndingsNative(e)}s.push(p.encode(e))}else if(i.isAnyArrayBuffer(r)||i.isTypedArray(r)){if(!r.buffer){s.push(new Uint8Array(r))}else{s.push(new Uint8Array(r.buffer,r.byteOffset,r.byteLength))}}else if(A(r)){s.push(r)}}return s}function convertLineEndingsNative(e){let t="\n";if(process.platform==="win32"){t="\r\n"}return e.replace(/\r?\n/g,t)}function isFileLike(e){return n&&e instanceof n||e instanceof File||e&&(typeof e.stream==="function"||typeof e.arrayBuffer==="function")&&e[Symbol.toStringTag]==="File"}e.exports={File:File,FileLike:FileLike,isFileLike:isFileLike}},6755:(e,t,s)=>{"use strict";const{isBlobLike:r,toUSVString:n,makeIterator:i}=s(1537);const{kState:o}=s(7888);const{File:A,FileLike:a,isFileLike:c}=s(9515);const{webidl:l}=s(9076);const{Blob:u,File:p}=s(181);const d=p??A;class FormData{constructor(e){if(e!==undefined){throw l.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}this[o]=[]}append(e,t,s=undefined){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,2,{header:"FormData.append"});if(arguments.length===3&&!r(t)){throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'")}e=l.converters.USVString(e);t=r(t)?l.converters.Blob(t,{strict:false}):l.converters.USVString(t);s=arguments.length===3?l.converters.USVString(s):undefined;const n=makeEntry(e,t,s);this[o].push(n)}delete(e){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,1,{header:"FormData.delete"});e=l.converters.USVString(e);this[o]=this[o].filter((t=>t.name!==e))}get(e){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,1,{header:"FormData.get"});e=l.converters.USVString(e);const t=this[o].findIndex((t=>t.name===e));if(t===-1){return null}return this[o][t].value}getAll(e){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,1,{header:"FormData.getAll"});e=l.converters.USVString(e);return this[o].filter((t=>t.name===e)).map((e=>e.value))}has(e){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,1,{header:"FormData.has"});e=l.converters.USVString(e);return this[o].findIndex((t=>t.name===e))!==-1}set(e,t,s=undefined){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,2,{header:"FormData.set"});if(arguments.length===3&&!r(t)){throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'")}e=l.converters.USVString(e);t=r(t)?l.converters.Blob(t,{strict:false}):l.converters.USVString(t);s=arguments.length===3?n(s):undefined;const i=makeEntry(e,t,s);const A=this[o].findIndex((t=>t.name===e));if(A!==-1){this[o]=[...this[o].slice(0,A),i,...this[o].slice(A+1).filter((t=>t.name!==e))]}else{this[o].push(i)}}entries(){l.brandCheck(this,FormData);return i((()=>this[o].map((e=>[e.name,e.value]))),"FormData","key+value")}keys(){l.brandCheck(this,FormData);return i((()=>this[o].map((e=>[e.name,e.value]))),"FormData","key")}values(){l.brandCheck(this,FormData);return i((()=>this[o].map((e=>[e.name,e.value]))),"FormData","value")}forEach(e,t=globalThis){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,1,{header:"FormData.forEach"});if(typeof e!=="function"){throw new TypeError("Failed to execute 'forEach' on 'FormData': parameter 1 is not of type 'Function'.")}for(const[s,r]of this){e.apply(t,[r,s,this])}}}FormData.prototype[Symbol.iterator]=FormData.prototype.entries;Object.defineProperties(FormData.prototype,{[Symbol.toStringTag]:{value:"FormData",configurable:true}});function makeEntry(e,t,s){e=Buffer.from(e).toString("utf8");if(typeof t==="string"){t=Buffer.from(t).toString("utf8")}else{if(!c(t)){t=t instanceof u?new d([t],"blob",{type:t.type}):new a(t,"blob",{type:t.type})}if(s!==undefined){const e={type:t.type,lastModified:t.lastModified};t=p&&t instanceof p||t instanceof A?new d([t],s,e):new a(t,s,e)}}return{name:e,value:t}}e.exports={FormData:FormData}},7689:e=>{"use strict";const t=Symbol.for("undici.globalOrigin.1");function getGlobalOrigin(){return globalThis[t]}function setGlobalOrigin(e){if(e===undefined){Object.defineProperty(globalThis,t,{value:undefined,writable:true,enumerable:false,configurable:false});return}const s=new URL(e);if(s.protocol!=="http:"&&s.protocol!=="https:"){throw new TypeError(`Only http & https urls are allowed, received ${s.protocol}`)}Object.defineProperty(globalThis,t,{value:s,writable:true,enumerable:false,configurable:false})}e.exports={getGlobalOrigin:getGlobalOrigin,setGlobalOrigin:setGlobalOrigin}},9951:(e,t,s)=>{"use strict";const{kHeadersList:r,kConstruct:n}=s(701);const{kGuard:i}=s(7888);const{kEnumerableProperty:o}=s(1950);const{makeIterator:A,isValidHeaderName:a,isValidHeaderValue:c}=s(1537);const{webidl:l}=s(9076);const u=s(2613);const p=Symbol("headers map");const d=Symbol("headers map sorted");function isHTTPWhiteSpaceCharCode(e){return e===10||e===13||e===9||e===32}function headerValueNormalize(e){let t=0;let s=e.length;while(s>t&&isHTTPWhiteSpaceCharCode(e.charCodeAt(s-1)))--s;while(s>t&&isHTTPWhiteSpaceCharCode(e.charCodeAt(t)))++t;return t===0&&s===e.length?e:e.substring(t,s)}function fill(e,t){if(Array.isArray(t)){for(let s=0;s>","record"]})}}function appendHeader(e,t,s){s=headerValueNormalize(s);if(!a(t)){throw l.errors.invalidArgument({prefix:"Headers.append",value:t,type:"header name"})}else if(!c(s)){throw l.errors.invalidArgument({prefix:"Headers.append",value:s,type:"header value"})}if(e[i]==="immutable"){throw new TypeError("immutable")}else if(e[i]==="request-no-cors"){}return e[r].append(t,s)}class HeadersList{cookies=null;constructor(e){if(e instanceof HeadersList){this[p]=new Map(e[p]);this[d]=e[d];this.cookies=e.cookies===null?null:[...e.cookies]}else{this[p]=new Map(e);this[d]=null}}contains(e){e=e.toLowerCase();return this[p].has(e)}clear(){this[p].clear();this[d]=null;this.cookies=null}append(e,t){this[d]=null;const s=e.toLowerCase();const r=this[p].get(s);if(r){const e=s==="cookie"?"; ":", ";this[p].set(s,{name:r.name,value:`${r.value}${e}${t}`})}else{this[p].set(s,{name:e,value:t})}if(s==="set-cookie"){this.cookies??=[];this.cookies.push(t)}}set(e,t){this[d]=null;const s=e.toLowerCase();if(s==="set-cookie"){this.cookies=[t]}this[p].set(s,{name:e,value:t})}delete(e){this[d]=null;e=e.toLowerCase();if(e==="set-cookie"){this.cookies=null}this[p].delete(e)}get(e){const t=this[p].get(e.toLowerCase());return t===undefined?null:t.value}*[Symbol.iterator](){for(const[e,{value:t}]of this[p]){yield[e,t]}}get entries(){const e={};if(this[p].size){for(const{name:t,value:s}of this[p].values()){e[t]=s}}return e}}class Headers{constructor(e=undefined){if(e===n){return}this[r]=new HeadersList;this[i]="none";if(e!==undefined){e=l.converters.HeadersInit(e);fill(this,e)}}append(e,t){l.brandCheck(this,Headers);l.argumentLengthCheck(arguments,2,{header:"Headers.append"});e=l.converters.ByteString(e);t=l.converters.ByteString(t);return appendHeader(this,e,t)}delete(e){l.brandCheck(this,Headers);l.argumentLengthCheck(arguments,1,{header:"Headers.delete"});e=l.converters.ByteString(e);if(!a(e)){throw l.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"})}if(this[i]==="immutable"){throw new TypeError("immutable")}else if(this[i]==="request-no-cors"){}if(!this[r].contains(e)){return}this[r].delete(e)}get(e){l.brandCheck(this,Headers);l.argumentLengthCheck(arguments,1,{header:"Headers.get"});e=l.converters.ByteString(e);if(!a(e)){throw l.errors.invalidArgument({prefix:"Headers.get",value:e,type:"header name"})}return this[r].get(e)}has(e){l.brandCheck(this,Headers);l.argumentLengthCheck(arguments,1,{header:"Headers.has"});e=l.converters.ByteString(e);if(!a(e)){throw l.errors.invalidArgument({prefix:"Headers.has",value:e,type:"header name"})}return this[r].contains(e)}set(e,t){l.brandCheck(this,Headers);l.argumentLengthCheck(arguments,2,{header:"Headers.set"});e=l.converters.ByteString(e);t=l.converters.ByteString(t);t=headerValueNormalize(t);if(!a(e)){throw l.errors.invalidArgument({prefix:"Headers.set",value:e,type:"header name"})}else if(!c(t)){throw l.errors.invalidArgument({prefix:"Headers.set",value:t,type:"header value"})}if(this[i]==="immutable"){throw new TypeError("immutable")}else if(this[i]==="request-no-cors"){}this[r].set(e,t)}getSetCookie(){l.brandCheck(this,Headers);const e=this[r].cookies;if(e){return[...e]}return[]}get[d](){if(this[r][d]){return this[r][d]}const e=[];const t=[...this[r]].sort(((e,t)=>e[0]e),"Headers","key")}return A((()=>[...this[d].values()]),"Headers","key")}values(){l.brandCheck(this,Headers);if(this[i]==="immutable"){const e=this[d];return A((()=>e),"Headers","value")}return A((()=>[...this[d].values()]),"Headers","value")}entries(){l.brandCheck(this,Headers);if(this[i]==="immutable"){const e=this[d];return A((()=>e),"Headers","key+value")}return A((()=>[...this[d].values()]),"Headers","key+value")}forEach(e,t=globalThis){l.brandCheck(this,Headers);l.argumentLengthCheck(arguments,1,{header:"Headers.forEach"});if(typeof e!=="function"){throw new TypeError("Failed to execute 'forEach' on 'Headers': parameter 1 is not of type 'Function'.")}for(const[s,r]of this){e.apply(t,[r,s,this])}}[Symbol.for("nodejs.util.inspect.custom")](){l.brandCheck(this,Headers);return this[r]}}Headers.prototype[Symbol.iterator]=Headers.prototype.entries;Object.defineProperties(Headers.prototype,{append:o,delete:o,get:o,has:o,set:o,getSetCookie:o,keys:o,values:o,entries:o,forEach:o,[Symbol.iterator]:{enumerable:false},[Symbol.toStringTag]:{value:"Headers",configurable:true}});l.converters.HeadersInit=function(e){if(l.util.Type(e)==="Object"){if(e[Symbol.iterator]){return l.converters["sequence>"](e)}return l.converters["record"](e)}throw l.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})};e.exports={fill:fill,Headers:Headers,HeadersList:HeadersList}},9401:(e,t,s)=>{"use strict";const{Response:r,makeNetworkError:n,makeAppropriateNetworkError:i,filterResponse:o,makeResponse:A}=s(5358);const{Headers:a}=s(9951);const{Request:c,makeRequest:l}=s(1516);const u=s(3106);const{bytesMatch:p,makePolicyContainer:d,clonePolicyContainer:g,requestBadPort:h,TAOCheck:E,appendRequestOriginHeader:m,responseLocationURL:C,requestCurrentURL:B,setRequestReferrerPolicyOnRedirect:Q,tryUpgradeRequestToAPotentiallyTrustworthyURL:I,createOpaqueTimingInfo:b,appendFetchMetadata:y,corsCheck:w,crossOriginResourcePolicyCheck:v,determineRequestsReferrer:k,coarsenedSharedCurrentTime:x,createDeferredPromise:R,isBlobLike:D,sameOrigin:S,isCancelled:F,isAborted:T,isErrorLike:U,fullyReadBody:N,readableStreamClose:_,isomorphicEncode:L,urlIsLocal:M,urlIsHttpHttpsScheme:O,urlHasHttpsScheme:P}=s(1537);const{kState:G,kHeaders:H,kGuard:Y,kRealm:J}=s(7888);const V=s(2613);const{safelyExtractBody:j}=s(3113);const{redirectStatusSet:q,nullBodyStatus:W,safeMethodsSet:z,requestBodyHeader:K,subresourceSet:Z,DOMException:X}=s(9680);const{kHeadersList:$}=s(701);const ee=s(4434);const{Readable:te,pipeline:se}=s(2203);const{addAbortListener:re,isErrored:ne,isReadable:ie,nodeMajor:oe,nodeMinor:Ae}=s(1950);const{dataURLProcessor:ae,serializeAMimeType:ce}=s(2656);const{TransformStream:le}=s(3774);const{getGlobalDispatcher:ue}=s(9507);const{webidl:pe}=s(9076);const{STATUS_CODES:de}=s(8611);const ge=["GET","HEAD"];let he;let Ee=globalThis.ReadableStream;class Fetch extends ee{constructor(e){super();this.dispatcher=e;this.connection=null;this.dump=false;this.state="ongoing";this.setMaxListeners(21)}terminate(e){if(this.state!=="ongoing"){return}this.state="terminated";this.connection?.destroy(e);this.emit("terminated",e)}abort(e){if(this.state!=="ongoing"){return}this.state="aborted";if(!e){e=new X("The operation was aborted.","AbortError")}this.serializedAbortReason=e;this.connection?.destroy(e);this.emit("terminated",e)}}function fetch(e,t={}){pe.argumentLengthCheck(arguments,1,{header:"globalThis.fetch"});const s=R();let n;try{n=new c(e,t)}catch(e){s.reject(e);return s.promise}const i=n[G];if(n.signal.aborted){abortFetch(s,i,null,n.signal.reason);return s.promise}const o=i.client.globalObject;if(o?.constructor?.name==="ServiceWorkerGlobalScope"){i.serviceWorkers="none"}let A=null;const a=null;let l=false;let u=null;re(n.signal,(()=>{l=true;V(u!=null);u.abort(n.signal.reason);abortFetch(s,i,A,n.signal.reason)}));const handleFetchDone=e=>finalizeAndReportTiming(e,"fetch");const processResponse=e=>{if(l){return Promise.resolve()}if(e.aborted){abortFetch(s,i,A,u.serializedAbortReason);return Promise.resolve()}if(e.type==="error"){s.reject(Object.assign(new TypeError("fetch failed"),{cause:e.error}));return Promise.resolve()}A=new r;A[G]=e;A[J]=a;A[H][$]=e.headersList;A[H][Y]="immutable";A[H][J]=a;s.resolve(A)};u=fetching({request:i,processResponseEndOfBody:handleFetchDone,processResponse:processResponse,dispatcher:t.dispatcher??ue()});return s.promise}function finalizeAndReportTiming(e,t="other"){if(e.type==="error"&&e.aborted){return}if(!e.urlList?.length){return}const s=e.urlList[0];let r=e.timingInfo;let n=e.cacheState;if(!O(s)){return}if(r===null){return}if(!e.timingAllowPassed){r=b({startTime:r.startTime});n=""}r.endTime=x();e.timingInfo=r;markResourceTiming(r,s,t,globalThis,n)}function markResourceTiming(e,t,s,r,n){if(oe>18||oe===18&&Ae>=2){performance.markResourceTiming(e,t.href,s,r,n)}}function abortFetch(e,t,s,r){if(!r){r=new X("The operation was aborted.","AbortError")}e.reject(r);if(t.body!=null&&ie(t.body?.stream)){t.body.stream.cancel(r).catch((e=>{if(e.code==="ERR_INVALID_STATE"){return}throw e}))}if(s==null){return}const n=s[G];if(n.body!=null&&ie(n.body?.stream)){n.body.stream.cancel(r).catch((e=>{if(e.code==="ERR_INVALID_STATE"){return}throw e}))}}function fetching({request:e,processRequestBodyChunkLength:t,processRequestEndOfBody:s,processResponse:r,processResponseEndOfBody:n,processResponseConsumeBody:i,useParallelQueue:o=false,dispatcher:A}){let a=null;let c=false;if(e.client!=null){a=e.client.globalObject;c=e.client.crossOriginIsolatedCapability}const l=x(c);const u=b({startTime:l});const p={controller:new Fetch(A),request:e,timingInfo:u,processRequestBodyChunkLength:t,processRequestEndOfBody:s,processResponse:r,processResponseConsumeBody:i,processResponseEndOfBody:n,taskDestination:a,crossOriginIsolatedCapability:c};V(!e.body||e.body.stream);if(e.window==="client"){e.window=e.client?.globalObject?.constructor?.name==="Window"?e.client:"no-window"}if(e.origin==="client"){e.origin=e.client?.origin}if(e.policyContainer==="client"){if(e.client!=null){e.policyContainer=g(e.client.policyContainer)}else{e.policyContainer=d()}}if(!e.headersList.contains("accept")){const t="*/*";e.headersList.append("accept",t)}if(!e.headersList.contains("accept-language")){e.headersList.append("accept-language","*")}if(e.priority===null){}if(Z.has(e.destination)){}mainFetch(p).catch((e=>{p.controller.terminate(e)}));return p.controller}async function mainFetch(e,t=false){const s=e.request;let r=null;if(s.localURLsOnly&&!M(B(s))){r=n("local URLs only")}I(s);if(h(s)==="blocked"){r=n("bad port")}if(s.referrerPolicy===""){s.referrerPolicy=s.policyContainer.referrerPolicy}if(s.referrer!=="no-referrer"){s.referrer=k(s)}if(r===null){r=await(async()=>{const t=B(s);if(S(t,s.url)&&s.responseTainting==="basic"||t.protocol==="data:"||(s.mode==="navigate"||s.mode==="websocket")){s.responseTainting="basic";return await schemeFetch(e)}if(s.mode==="same-origin"){return n('request mode cannot be "same-origin"')}if(s.mode==="no-cors"){if(s.redirect!=="follow"){return n('redirect mode cannot be "follow" for "no-cors" request')}s.responseTainting="opaque";return await schemeFetch(e)}if(!O(B(s))){return n("URL scheme must be a HTTP(S) scheme")}s.responseTainting="cors";return await httpFetch(e)})()}if(t){return r}if(r.status!==0&&!r.internalResponse){if(s.responseTainting==="cors"){}if(s.responseTainting==="basic"){r=o(r,"basic")}else if(s.responseTainting==="cors"){r=o(r,"cors")}else if(s.responseTainting==="opaque"){r=o(r,"opaque")}else{V(false)}}let i=r.status===0?r:r.internalResponse;if(i.urlList.length===0){i.urlList.push(...s.urlList)}if(!s.timingAllowFailed){r.timingAllowPassed=true}if(r.type==="opaque"&&i.status===206&&i.rangeRequested&&!s.headers.contains("range")){r=i=n()}if(r.status!==0&&(s.method==="HEAD"||s.method==="CONNECT"||W.includes(i.status))){i.body=null;e.controller.dump=true}if(s.integrity){const processBodyError=t=>fetchFinale(e,n(t));if(s.responseTainting==="opaque"||r.body==null){processBodyError(r.error);return}const processBody=t=>{if(!p(t,s.integrity)){processBodyError("integrity mismatch");return}r.body=j(t)[0];fetchFinale(e,r)};await N(r.body,processBody,processBodyError)}else{fetchFinale(e,r)}}function schemeFetch(e){if(F(e)&&e.request.redirectCount===0){return Promise.resolve(i(e))}const{request:t}=e;const{protocol:r}=B(t);switch(r){case"about:":{return Promise.resolve(n("about scheme is not supported"))}case"blob:":{if(!he){he=s(181).resolveObjectURL}const e=B(t);if(e.search.length!==0){return Promise.resolve(n("NetworkError when attempting to fetch resource."))}const r=he(e.toString());if(t.method!=="GET"||!D(r)){return Promise.resolve(n("invalid method"))}const i=j(r);const o=i[0];const a=L(`${o.length}`);const c=i[1]??"";const l=A({statusText:"OK",headersList:[["content-length",{name:"Content-Length",value:a}],["content-type",{name:"Content-Type",value:c}]]});l.body=o;return Promise.resolve(l)}case"data:":{const e=B(t);const s=ae(e);if(s==="failure"){return Promise.resolve(n("failed to fetch the data URL"))}const r=ce(s.mimeType);return Promise.resolve(A({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:r}]],body:j(s.body)[0]}))}case"file:":{return Promise.resolve(n("not implemented... yet..."))}case"http:":case"https:":{return httpFetch(e).catch((e=>n(e)))}default:{return Promise.resolve(n("unknown scheme"))}}}function finalizeResponse(e,t){e.request.done=true;if(e.processResponseDone!=null){queueMicrotask((()=>e.processResponseDone(t)))}}function fetchFinale(e,t){if(t.type==="error"){t.urlList=[e.request.urlList[0]];t.timingInfo=b({startTime:e.timingInfo.startTime})}const processResponseEndOfBody=()=>{e.request.done=true;if(e.processResponseEndOfBody!=null){queueMicrotask((()=>e.processResponseEndOfBody(t)))}};if(e.processResponse!=null){queueMicrotask((()=>e.processResponse(t)))}if(t.body==null){processResponseEndOfBody()}else{const identityTransformAlgorithm=(e,t)=>{t.enqueue(e)};const e=new le({start(){},transform:identityTransformAlgorithm,flush:processResponseEndOfBody},{size(){return 1}},{size(){return 1}});t.body={stream:t.body.stream.pipeThrough(e)}}if(e.processResponseConsumeBody!=null){const processBody=s=>e.processResponseConsumeBody(t,s);const processBodyError=s=>e.processResponseConsumeBody(t,s);if(t.body==null){queueMicrotask((()=>processBody(null)))}else{return N(t.body,processBody,processBodyError)}return Promise.resolve()}}async function httpFetch(e){const t=e.request;let s=null;let r=null;const i=e.timingInfo;if(t.serviceWorkers==="all"){}if(s===null){if(t.redirect==="follow"){t.serviceWorkers="none"}r=s=await httpNetworkOrCacheFetch(e);if(t.responseTainting==="cors"&&w(t,s)==="failure"){return n("cors failure")}if(E(t,s)==="failure"){t.timingAllowFailed=true}}if((t.responseTainting==="opaque"||s.type==="opaque")&&v(t.origin,t.client,t.destination,r)==="blocked"){return n("blocked")}if(q.has(r.status)){if(t.redirect!=="manual"){e.controller.connection.destroy()}if(t.redirect==="error"){s=n("unexpected redirect")}else if(t.redirect==="manual"){s=r}else if(t.redirect==="follow"){s=await httpRedirectFetch(e,s)}else{V(false)}}s.timingInfo=i;return s}function httpRedirectFetch(e,t){const s=e.request;const r=t.internalResponse?t.internalResponse:t;let i;try{i=C(r,B(s).hash);if(i==null){return t}}catch(e){return Promise.resolve(n(e))}if(!O(i)){return Promise.resolve(n("URL scheme must be a HTTP(S) scheme"))}if(s.redirectCount===20){return Promise.resolve(n("redirect count exceeded"))}s.redirectCount+=1;if(s.mode==="cors"&&(i.username||i.password)&&!S(s,i)){return Promise.resolve(n('cross origin not allowed for request mode "cors"'))}if(s.responseTainting==="cors"&&(i.username||i.password)){return Promise.resolve(n('URL cannot contain credentials for request mode "cors"'))}if(r.status!==303&&s.body!=null&&s.body.source==null){return Promise.resolve(n())}if([301,302].includes(r.status)&&s.method==="POST"||r.status===303&&!ge.includes(s.method)){s.method="GET";s.body=null;for(const e of K){s.headersList.delete(e)}}if(!S(B(s),i)){s.headersList.delete("authorization");s.headersList.delete("cookie");s.headersList.delete("host")}if(s.body!=null){V(s.body.source!=null);s.body=j(s.body.source)[0]}const o=e.timingInfo;o.redirectEndTime=o.postRedirectStartTime=x(e.crossOriginIsolatedCapability);if(o.redirectStartTime===0){o.redirectStartTime=o.startTime}s.urlList.push(i);Q(s,r);return mainFetch(e,true)}async function httpNetworkOrCacheFetch(e,t=false,s=false){const r=e.request;let o=null;let A=null;let a=null;const c=null;const u=false;if(r.window==="no-window"&&r.redirect==="error"){o=e;A=r}else{A=l(r);o={...e};o.request=A}const p=r.credentials==="include"||r.credentials==="same-origin"&&r.responseTainting==="basic";const d=A.body?A.body.length:null;let g=null;if(A.body==null&&["POST","PUT"].includes(A.method)){g="0"}if(d!=null){g=L(`${d}`)}if(g!=null){A.headersList.append("content-length",g)}if(d!=null&&A.keepalive){}if(A.referrer instanceof URL){A.headersList.append("referer",L(A.referrer.href))}m(A);y(A);if(!A.headersList.contains("user-agent")){A.headersList.append("user-agent",typeof esbuildDetection==="undefined"?"undici":"node")}if(A.cache==="default"&&(A.headersList.contains("if-modified-since")||A.headersList.contains("if-none-match")||A.headersList.contains("if-unmodified-since")||A.headersList.contains("if-match")||A.headersList.contains("if-range"))){A.cache="no-store"}if(A.cache==="no-cache"&&!A.preventNoCacheCacheControlHeaderModification&&!A.headersList.contains("cache-control")){A.headersList.append("cache-control","max-age=0")}if(A.cache==="no-store"||A.cache==="reload"){if(!A.headersList.contains("pragma")){A.headersList.append("pragma","no-cache")}if(!A.headersList.contains("cache-control")){A.headersList.append("cache-control","no-cache")}}if(A.headersList.contains("range")){A.headersList.append("accept-encoding","identity")}if(!A.headersList.contains("accept-encoding")){if(P(B(A))){A.headersList.append("accept-encoding","br, gzip, deflate")}else{A.headersList.append("accept-encoding","gzip, deflate")}}A.headersList.delete("host");if(p){}if(c==null){A.cache="no-store"}if(A.mode!=="no-store"&&A.mode!=="reload"){}if(a==null){if(A.mode==="only-if-cached"){return n("only if cached")}const e=await httpNetworkFetch(o,p,s);if(!z.has(A.method)&&e.status>=200&&e.status<=399){}if(u&&e.status===304){}if(a==null){a=e}}a.urlList=[...A.urlList];if(A.headersList.contains("range")){a.rangeRequested=true}a.requestIncludesCredentials=p;if(a.status===407){if(r.window==="no-window"){return n()}if(F(e)){return i(e)}return n("proxy authentication required")}if(a.status===421&&!s&&(r.body==null||r.body.source!=null)){if(F(e)){return i(e)}e.controller.connection.destroy();a=await httpNetworkOrCacheFetch(e,t,true)}if(t){}return a}async function httpNetworkFetch(e,t=false,r=false){V(!e.controller.connection||e.controller.connection.destroyed);e.controller.connection={abort:null,destroyed:false,destroy(e){if(!this.destroyed){this.destroyed=true;this.abort?.(e??new X("The operation was aborted.","AbortError"))}}};const o=e.request;let c=null;const l=e.timingInfo;const p=null;if(p==null){o.cache="no-store"}const d=r?"yes":"no";if(o.mode==="websocket"){}else{}let g=null;if(o.body==null&&e.processRequestEndOfBody){queueMicrotask((()=>e.processRequestEndOfBody()))}else if(o.body!=null){const processBodyChunk=async function*(t){if(F(e)){return}yield t;e.processRequestBodyChunkLength?.(t.byteLength)};const processEndOfBody=()=>{if(F(e)){return}if(e.processRequestEndOfBody){e.processRequestEndOfBody()}};const processBodyError=t=>{if(F(e)){return}if(t.name==="AbortError"){e.controller.abort()}else{e.controller.terminate(t)}};g=async function*(){try{for await(const e of o.body.stream){yield*processBodyChunk(e)}processEndOfBody()}catch(e){processBodyError(e)}}()}try{const{body:t,status:s,statusText:r,headersList:n,socket:i}=await dispatch({body:g});if(i){c=A({status:s,statusText:r,headersList:n,socket:i})}else{const i=t[Symbol.asyncIterator]();e.controller.next=()=>i.next();c=A({status:s,statusText:r,headersList:n})}}catch(t){if(t.name==="AbortError"){e.controller.connection.destroy();return i(e,t)}return n(t)}const pullAlgorithm=()=>{e.controller.resume()};const cancelAlgorithm=t=>{e.controller.abort(t)};if(!Ee){Ee=s(3774).ReadableStream}const h=new Ee({async start(t){e.controller.controller=t},async pull(e){await pullAlgorithm(e)},async cancel(e){await cancelAlgorithm(e)}},{highWaterMark:0,size(){return 1}});c.body={stream:h};e.controller.on("terminated",onAborted);e.controller.resume=async()=>{while(true){let t;let s;try{const{done:s,value:r}=await e.controller.next();if(T(e)){break}t=s?undefined:r}catch(r){if(e.controller.ended&&!l.encodedBodySize){t=undefined}else{t=r;s=true}}if(t===undefined){_(e.controller.controller);finalizeResponse(e,c);return}l.decodedBodySize+=t?.byteLength??0;if(s){e.controller.terminate(t);return}e.controller.controller.enqueue(new Uint8Array(t));if(ne(h)){e.controller.terminate();return}if(!e.controller.controller.desiredSize){return}}};function onAborted(t){if(T(e)){c.aborted=true;if(ie(h)){e.controller.controller.error(e.controller.serializedAbortReason)}}else{if(ie(h)){e.controller.controller.error(new TypeError("terminated",{cause:U(t)?t:undefined}))}}e.controller.connection.destroy()}return c;async function dispatch({body:t}){const s=B(o);const r=e.controller.dispatcher;return new Promise(((n,i)=>r.dispatch({path:s.pathname+s.search,origin:s.origin,method:o.method,body:e.controller.dispatcher.isMockActive?o.body&&(o.body.source||o.body.stream):t,headers:o.headersList.entries,maxRedirections:0,upgrade:o.mode==="websocket"?"websocket":undefined},{body:null,abort:null,onConnect(t){const{connection:s}=e.controller;if(s.destroyed){t(new X("The operation was aborted.","AbortError"))}else{e.controller.on("terminated",t);this.abort=s.abort=t}},onHeaders(e,t,s,r){if(e<200){return}let i=[];let A="";const c=new a;if(Array.isArray(t)){for(let e=0;ee.trim()))}else if(s.toLowerCase()==="location"){A=r}c[$].append(s,r)}}else{const e=Object.keys(t);for(const s of e){const e=t[s];if(s.toLowerCase()==="content-encoding"){i=e.toLowerCase().split(",").map((e=>e.trim())).reverse()}else if(s.toLowerCase()==="location"){A=e}c[$].append(s,e)}}this.body=new te({read:s});const l=[];const p=o.redirect==="follow"&&A&&q.has(e);if(o.method!=="HEAD"&&o.method!=="CONNECT"&&!W.includes(e)&&!p){for(const e of i){if(e==="x-gzip"||e==="gzip"){l.push(u.createGunzip({flush:u.constants.Z_SYNC_FLUSH,finishFlush:u.constants.Z_SYNC_FLUSH}))}else if(e==="deflate"){l.push(u.createInflate())}else if(e==="br"){l.push(u.createBrotliDecompress())}else{l.length=0;break}}}n({status:e,statusText:r,headersList:c[$],body:l.length?se(this.body,...l,(()=>{})):this.body.on("error",(()=>{}))});return true},onData(t){if(e.controller.dump){return}const s=t;l.encodedBodySize+=s.byteLength;return this.body.push(s)},onComplete(){if(this.abort){e.controller.off("terminated",this.abort)}e.controller.ended=true;this.body.push(null)},onError(t){if(this.abort){e.controller.off("terminated",this.abort)}this.body?.destroy(t);e.controller.terminate(t);i(t)},onUpgrade(e,t,s){if(e!==101){return}const r=new a;for(let e=0;e{"use strict";const{extractBody:r,mixinBody:n,cloneBody:i}=s(3113);const{Headers:o,fill:A,HeadersList:a}=s(9951);const{FinalizationRegistry:c}=s(1136)();const l=s(1950);const{isValidHTTPToken:u,sameOrigin:p,normalizeMethod:d,makePolicyContainer:g,normalizeMethodRecord:h}=s(1537);const{forbiddenMethodsSet:E,corsSafeListedMethodsSet:m,referrerPolicy:C,requestRedirect:B,requestMode:Q,requestCredentials:I,requestCache:b,requestDuplex:y}=s(9680);const{kEnumerableProperty:w}=l;const{kHeaders:v,kSignal:k,kState:x,kGuard:R,kRealm:D}=s(7888);const{webidl:S}=s(9076);const{getGlobalOrigin:F}=s(7689);const{URLSerializer:T}=s(2656);const{kHeadersList:U,kConstruct:N}=s(701);const _=s(2613);const{getMaxListeners:L,setMaxListeners:M,getEventListeners:O,defaultMaxListeners:P}=s(4434);let G=globalThis.TransformStream;const H=Symbol("abortController");const Y=new c((({signal:e,abort:t})=>{e.removeEventListener("abort",t)}));class Request{constructor(e,t={}){if(e===N){return}S.argumentLengthCheck(arguments,1,{header:"Request constructor"});e=S.converters.RequestInfo(e);t=S.converters.RequestInit(t);this[D]={settingsObject:{baseUrl:F(),get origin(){return this.baseUrl?.origin},policyContainer:g()}};let n=null;let i=null;const c=this[D].settingsObject.baseUrl;let C=null;if(typeof e==="string"){let t;try{t=new URL(e,c)}catch(t){throw new TypeError("Failed to parse URL from "+e,{cause:t})}if(t.username||t.password){throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+e)}n=makeRequest({urlList:[t]});i="cors"}else{_(e instanceof Request);n=e[x];C=e[k]}const B=this[D].settingsObject.origin;let Q="client";if(n.window?.constructor?.name==="EnvironmentSettingsObject"&&p(n.window,B)){Q=n.window}if(t.window!=null){throw new TypeError(`'window' option '${Q}' must be null`)}if("window"in t){Q="no-window"}n=makeRequest({method:n.method,headersList:n.headersList,unsafeRequest:n.unsafeRequest,client:this[D].settingsObject,window:Q,priority:n.priority,origin:n.origin,referrer:n.referrer,referrerPolicy:n.referrerPolicy,mode:n.mode,credentials:n.credentials,cache:n.cache,redirect:n.redirect,integrity:n.integrity,keepalive:n.keepalive,reloadNavigation:n.reloadNavigation,historyNavigation:n.historyNavigation,urlList:[...n.urlList]});const I=Object.keys(t).length!==0;if(I){if(n.mode==="navigate"){n.mode="same-origin"}n.reloadNavigation=false;n.historyNavigation=false;n.origin="client";n.referrer="client";n.referrerPolicy="";n.url=n.urlList[n.urlList.length-1];n.urlList=[n.url]}if(t.referrer!==undefined){const e=t.referrer;if(e===""){n.referrer="no-referrer"}else{let t;try{t=new URL(e,c)}catch(t){throw new TypeError(`Referrer "${e}" is not a valid URL.`,{cause:t})}if(t.protocol==="about:"&&t.hostname==="client"||B&&!p(t,this[D].settingsObject.baseUrl)){n.referrer="client"}else{n.referrer=t}}}if(t.referrerPolicy!==undefined){n.referrerPolicy=t.referrerPolicy}let b;if(t.mode!==undefined){b=t.mode}else{b=i}if(b==="navigate"){throw S.errors.exception({header:"Request constructor",message:"invalid request mode navigate."})}if(b!=null){n.mode=b}if(t.credentials!==undefined){n.credentials=t.credentials}if(t.cache!==undefined){n.cache=t.cache}if(n.cache==="only-if-cached"&&n.mode!=="same-origin"){throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode")}if(t.redirect!==undefined){n.redirect=t.redirect}if(t.integrity!=null){n.integrity=String(t.integrity)}if(t.keepalive!==undefined){n.keepalive=Boolean(t.keepalive)}if(t.method!==undefined){let e=t.method;if(!u(e)){throw new TypeError(`'${e}' is not a valid HTTP method.`)}if(E.has(e.toUpperCase())){throw new TypeError(`'${e}' HTTP method is unsupported.`)}e=h[e]??d(e);n.method=e}if(t.signal!==undefined){C=t.signal}this[x]=n;const y=new AbortController;this[k]=y.signal;this[k][D]=this[D];if(C!=null){if(!C||typeof C.aborted!=="boolean"||typeof C.addEventListener!=="function"){throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.")}if(C.aborted){y.abort(C.reason)}else{this[H]=y;const e=new WeakRef(y);const abort=function(){const t=e.deref();if(t!==undefined){t.abort(this.reason)}};try{if(typeof L==="function"&&L(C)===P){M(100,C)}else if(O(C,"abort").length>=P){M(100,C)}}catch{}l.addAbortListener(C,abort);Y.register(y,{signal:C,abort:abort})}}this[v]=new o(N);this[v][U]=n.headersList;this[v][R]="request";this[v][D]=this[D];if(b==="no-cors"){if(!m.has(n.method)){throw new TypeError(`'${n.method} is unsupported in no-cors mode.`)}this[v][R]="request-no-cors"}if(I){const e=this[v][U];const s=t.headers!==undefined?t.headers:new a(e);e.clear();if(s instanceof a){for(const[t,r]of s){e.append(t,r)}e.cookies=s.cookies}else{A(this[v],s)}}const w=e instanceof Request?e[x].body:null;if((t.body!=null||w!=null)&&(n.method==="GET"||n.method==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body.")}let T=null;if(t.body!=null){const[e,s]=r(t.body,n.keepalive);T=e;if(s&&!this[v][U].contains("content-type")){this[v].append("content-type",s)}}const J=T??w;if(J!=null&&J.source==null){if(T!=null&&t.duplex==null){throw new TypeError("RequestInit: duplex option is required when sending a body.")}if(n.mode!=="same-origin"&&n.mode!=="cors"){throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"')}n.useCORSPreflightFlag=true}let V=J;if(T==null&&w!=null){if(l.isDisturbed(w.stream)||w.stream.locked){throw new TypeError("Cannot construct a Request with a Request object that has already been used.")}if(!G){G=s(3774).TransformStream}const e=new G;w.stream.pipeThrough(e);V={source:w.source,length:w.length,stream:e.readable}}this[x].body=V}get method(){S.brandCheck(this,Request);return this[x].method}get url(){S.brandCheck(this,Request);return T(this[x].url)}get headers(){S.brandCheck(this,Request);return this[v]}get destination(){S.brandCheck(this,Request);return this[x].destination}get referrer(){S.brandCheck(this,Request);if(this[x].referrer==="no-referrer"){return""}if(this[x].referrer==="client"){return"about:client"}return this[x].referrer.toString()}get referrerPolicy(){S.brandCheck(this,Request);return this[x].referrerPolicy}get mode(){S.brandCheck(this,Request);return this[x].mode}get credentials(){return this[x].credentials}get cache(){S.brandCheck(this,Request);return this[x].cache}get redirect(){S.brandCheck(this,Request);return this[x].redirect}get integrity(){S.brandCheck(this,Request);return this[x].integrity}get keepalive(){S.brandCheck(this,Request);return this[x].keepalive}get isReloadNavigation(){S.brandCheck(this,Request);return this[x].reloadNavigation}get isHistoryNavigation(){S.brandCheck(this,Request);return this[x].historyNavigation}get signal(){S.brandCheck(this,Request);return this[k]}get body(){S.brandCheck(this,Request);return this[x].body?this[x].body.stream:null}get bodyUsed(){S.brandCheck(this,Request);return!!this[x].body&&l.isDisturbed(this[x].body.stream)}get duplex(){S.brandCheck(this,Request);return"half"}clone(){S.brandCheck(this,Request);if(this.bodyUsed||this.body?.locked){throw new TypeError("unusable")}const e=cloneRequest(this[x]);const t=new Request(N);t[x]=e;t[D]=this[D];t[v]=new o(N);t[v][U]=e.headersList;t[v][R]=this[v][R];t[v][D]=this[v][D];const s=new AbortController;if(this.signal.aborted){s.abort(this.signal.reason)}else{l.addAbortListener(this.signal,(()=>{s.abort(this.signal.reason)}))}t[k]=s.signal;return t}}n(Request);function makeRequest(e){const t={method:"GET",localURLsOnly:false,unsafeRequest:false,body:null,client:null,reservedClient:null,replacesClientId:"",window:"client",keepalive:false,serviceWorkers:"all",initiator:"",destination:"",priority:null,origin:"client",policyContainer:"client",referrer:"client",referrerPolicy:"",mode:"no-cors",useCORSPreflightFlag:false,credentials:"same-origin",useCredentials:false,cache:"default",redirect:"follow",integrity:"",cryptoGraphicsNonceMetadata:"",parserMetadata:"",reloadNavigation:false,historyNavigation:false,userActivation:false,taintedOrigin:false,redirectCount:0,responseTainting:"basic",preventNoCacheCacheControlHeaderModification:false,done:false,timingAllowFailed:false,...e,headersList:e.headersList?new a(e.headersList):new a};t.url=t.urlList[0];return t}function cloneRequest(e){const t=makeRequest({...e,body:null});if(e.body!=null){t.body=i(e.body)}return t}Object.defineProperties(Request.prototype,{method:w,url:w,headers:w,redirect:w,clone:w,signal:w,duplex:w,destination:w,body:w,bodyUsed:w,isHistoryNavigation:w,isReloadNavigation:w,keepalive:w,integrity:w,cache:w,credentials:w,attribute:w,referrerPolicy:w,referrer:w,mode:w,[Symbol.toStringTag]:{value:"Request",configurable:true}});S.converters.Request=S.interfaceConverter(Request);S.converters.RequestInfo=function(e){if(typeof e==="string"){return S.converters.USVString(e)}if(e instanceof Request){return S.converters.Request(e)}return S.converters.USVString(e)};S.converters.AbortSignal=S.interfaceConverter(AbortSignal);S.converters.RequestInit=S.dictionaryConverter([{key:"method",converter:S.converters.ByteString},{key:"headers",converter:S.converters.HeadersInit},{key:"body",converter:S.nullableConverter(S.converters.BodyInit)},{key:"referrer",converter:S.converters.USVString},{key:"referrerPolicy",converter:S.converters.DOMString,allowedValues:C},{key:"mode",converter:S.converters.DOMString,allowedValues:Q},{key:"credentials",converter:S.converters.DOMString,allowedValues:I},{key:"cache",converter:S.converters.DOMString,allowedValues:b},{key:"redirect",converter:S.converters.DOMString,allowedValues:B},{key:"integrity",converter:S.converters.DOMString},{key:"keepalive",converter:S.converters.boolean},{key:"signal",converter:S.nullableConverter((e=>S.converters.AbortSignal(e,{strict:false})))},{key:"window",converter:S.converters.any},{key:"duplex",converter:S.converters.DOMString,allowedValues:y}]);e.exports={Request:Request,makeRequest:makeRequest}},5358:(e,t,s)=>{"use strict";const{Headers:r,HeadersList:n,fill:i}=s(9951);const{extractBody:o,cloneBody:A,mixinBody:a}=s(3113);const c=s(1950);const{kEnumerableProperty:l}=c;const{isValidReasonPhrase:u,isCancelled:p,isAborted:d,isBlobLike:g,serializeJavascriptValueToJSONString:h,isErrorLike:E,isomorphicEncode:m}=s(1537);const{redirectStatusSet:C,nullBodyStatus:B,DOMException:Q}=s(9680);const{kState:I,kHeaders:b,kGuard:y,kRealm:w}=s(7888);const{webidl:v}=s(9076);const{FormData:k}=s(6755);const{getGlobalOrigin:x}=s(7689);const{URLSerializer:R}=s(2656);const{kHeadersList:D,kConstruct:S}=s(701);const F=s(2613);const{types:T}=s(9023);const U=globalThis.ReadableStream||s(3774).ReadableStream;const N=new TextEncoder("utf-8");class Response{static error(){const e={settingsObject:{}};const t=new Response;t[I]=makeNetworkError();t[w]=e;t[b][D]=t[I].headersList;t[b][y]="immutable";t[b][w]=e;return t}static json(e,t={}){v.argumentLengthCheck(arguments,1,{header:"Response.json"});if(t!==null){t=v.converters.ResponseInit(t)}const s=N.encode(h(e));const r=o(s);const n={settingsObject:{}};const i=new Response;i[w]=n;i[b][y]="response";i[b][w]=n;initializeResponse(i,t,{body:r[0],type:"application/json"});return i}static redirect(e,t=302){const s={settingsObject:{}};v.argumentLengthCheck(arguments,1,{header:"Response.redirect"});e=v.converters.USVString(e);t=v.converters["unsigned short"](t);let r;try{r=new URL(e,x())}catch(t){throw Object.assign(new TypeError("Failed to parse URL from "+e),{cause:t})}if(!C.has(t)){throw new RangeError("Invalid status code "+t)}const n=new Response;n[w]=s;n[b][y]="immutable";n[b][w]=s;n[I].status=t;const i=m(R(r));n[I].headersList.append("location",i);return n}constructor(e=null,t={}){if(e!==null){e=v.converters.BodyInit(e)}t=v.converters.ResponseInit(t);this[w]={settingsObject:{}};this[I]=makeResponse({});this[b]=new r(S);this[b][y]="response";this[b][D]=this[I].headersList;this[b][w]=this[w];let s=null;if(e!=null){const[t,r]=o(e);s={body:t,type:r}}initializeResponse(this,t,s)}get type(){v.brandCheck(this,Response);return this[I].type}get url(){v.brandCheck(this,Response);const e=this[I].urlList;const t=e[e.length-1]??null;if(t===null){return""}return R(t,true)}get redirected(){v.brandCheck(this,Response);return this[I].urlList.length>1}get status(){v.brandCheck(this,Response);return this[I].status}get ok(){v.brandCheck(this,Response);return this[I].status>=200&&this[I].status<=299}get statusText(){v.brandCheck(this,Response);return this[I].statusText}get headers(){v.brandCheck(this,Response);return this[b]}get body(){v.brandCheck(this,Response);return this[I].body?this[I].body.stream:null}get bodyUsed(){v.brandCheck(this,Response);return!!this[I].body&&c.isDisturbed(this[I].body.stream)}clone(){v.brandCheck(this,Response);if(this.bodyUsed||this.body&&this.body.locked){throw v.errors.exception({header:"Response.clone",message:"Body has already been consumed."})}const e=cloneResponse(this[I]);const t=new Response;t[I]=e;t[w]=this[w];t[b][D]=e.headersList;t[b][y]=this[b][y];t[b][w]=this[b][w];return t}}a(Response);Object.defineProperties(Response.prototype,{type:l,url:l,status:l,ok:l,redirected:l,statusText:l,headers:l,clone:l,body:l,bodyUsed:l,[Symbol.toStringTag]:{value:"Response",configurable:true}});Object.defineProperties(Response,{json:l,redirect:l,error:l});function cloneResponse(e){if(e.internalResponse){return filterResponse(cloneResponse(e.internalResponse),e.type)}const t=makeResponse({...e,body:null});if(e.body!=null){t.body=A(e.body)}return t}function makeResponse(e){return{aborted:false,rangeRequested:false,timingAllowPassed:false,requestIncludesCredentials:false,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...e,headersList:e.headersList?new n(e.headersList):new n,urlList:e.urlList?[...e.urlList]:[]}}function makeNetworkError(e){const t=E(e);return makeResponse({type:"error",status:0,error:t?e:new Error(e?String(e):e),aborted:e&&e.name==="AbortError"})}function makeFilteredResponse(e,t){t={internalResponse:e,...t};return new Proxy(e,{get(e,s){return s in t?t[s]:e[s]},set(e,s,r){F(!(s in t));e[s]=r;return true}})}function filterResponse(e,t){if(t==="basic"){return makeFilteredResponse(e,{type:"basic",headersList:e.headersList})}else if(t==="cors"){return makeFilteredResponse(e,{type:"cors",headersList:e.headersList})}else if(t==="opaque"){return makeFilteredResponse(e,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null})}else if(t==="opaqueredirect"){return makeFilteredResponse(e,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null})}else{F(false)}}function makeAppropriateNetworkError(e,t=null){F(p(e));return d(e)?makeNetworkError(Object.assign(new Q("The operation was aborted.","AbortError"),{cause:t})):makeNetworkError(Object.assign(new Q("Request was cancelled."),{cause:t}))}function initializeResponse(e,t,s){if(t.status!==null&&(t.status<200||t.status>599)){throw new RangeError('init["status"] must be in the range of 200 to 599, inclusive.')}if("statusText"in t&&t.statusText!=null){if(!u(String(t.statusText))){throw new TypeError("Invalid statusText")}}if("status"in t&&t.status!=null){e[I].status=t.status}if("statusText"in t&&t.statusText!=null){e[I].statusText=t.statusText}if("headers"in t&&t.headers!=null){i(e[b],t.headers)}if(s){if(B.includes(e.status)){throw v.errors.exception({header:"Response constructor",message:"Invalid response status code "+e.status})}e[I].body=s.body;if(s.type!=null&&!e[I].headersList.contains("Content-Type")){e[I].headersList.append("content-type",s.type)}}}v.converters.ReadableStream=v.interfaceConverter(U);v.converters.FormData=v.interfaceConverter(k);v.converters.URLSearchParams=v.interfaceConverter(URLSearchParams);v.converters.XMLHttpRequestBodyInit=function(e){if(typeof e==="string"){return v.converters.USVString(e)}if(g(e)){return v.converters.Blob(e,{strict:false})}if(T.isArrayBuffer(e)||T.isTypedArray(e)||T.isDataView(e)){return v.converters.BufferSource(e)}if(c.isFormDataLike(e)){return v.converters.FormData(e,{strict:false})}if(e instanceof URLSearchParams){return v.converters.URLSearchParams(e)}return v.converters.DOMString(e)};v.converters.BodyInit=function(e){if(e instanceof U){return v.converters.ReadableStream(e)}if(e?.[Symbol.asyncIterator]){return e}return v.converters.XMLHttpRequestBodyInit(e)};v.converters.ResponseInit=v.dictionaryConverter([{key:"status",converter:v.converters["unsigned short"],defaultValue:200},{key:"statusText",converter:v.converters.ByteString,defaultValue:""},{key:"headers",converter:v.converters.HeadersInit}]);e.exports={makeNetworkError:makeNetworkError,makeResponse:makeResponse,makeAppropriateNetworkError:makeAppropriateNetworkError,filterResponse:filterResponse,Response:Response,cloneResponse:cloneResponse}},7888:e=>{"use strict";e.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kGuard:Symbol("guard"),kRealm:Symbol("realm")}},1537:(e,t,s)=>{"use strict";const{redirectStatusSet:r,referrerPolicySet:n,badPortsSet:i}=s(9680);const{getGlobalOrigin:o}=s(7689);const{performance:A}=s(2987);const{isBlobLike:a,toUSVString:c,ReadableStreamFrom:l}=s(1950);const u=s(2613);const{isUint8Array:p}=s(8253);let d;try{d=s(6982)}catch{}function responseURL(e){const t=e.urlList;const s=t.length;return s===0?null:t[s-1].toString()}function responseLocationURL(e,t){if(!r.has(e.status)){return null}let s=e.headersList.get("location");if(s!==null&&isValidHeaderValue(s)){s=new URL(s,responseURL(e))}if(s&&!s.hash){s.hash=t}return s}function requestCurrentURL(e){return e.urlList[e.urlList.length-1]}function requestBadPort(e){const t=requestCurrentURL(e);if(urlIsHttpHttpsScheme(t)&&i.has(t.port)){return"blocked"}return"allowed"}function isErrorLike(e){return e instanceof Error||(e?.constructor?.name==="Error"||e?.constructor?.name==="DOMException")}function isValidReasonPhrase(e){for(let t=0;t=32&&s<=126||s>=128&&s<=255)){return false}}return true}function isTokenCharCode(e){switch(e){case 34:case 40:case 41:case 44:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 123:case 125:return false;default:return e>=33&&e<=126}}function isValidHTTPToken(e){if(e.length===0){return false}for(let t=0;t0){for(let e=r.length;e!==0;e--){const t=r[e-1].trim();if(n.has(t)){i=t;break}}}if(i!==""){e.referrerPolicy=i}}function crossOriginResourcePolicyCheck(){return"allowed"}function corsCheck(){return"success"}function TAOCheck(){return"success"}function appendFetchMetadata(e){let t=null;t=e.mode;e.headersList.set("sec-fetch-mode",t)}function appendRequestOriginHeader(e){let t=e.origin;if(e.responseTainting==="cors"||e.mode==="websocket"){if(t){e.headersList.append("origin",t)}}else if(e.method!=="GET"&&e.method!=="HEAD"){switch(e.referrerPolicy){case"no-referrer":t=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":if(e.origin&&urlHasHttpsScheme(e.origin)&&!urlHasHttpsScheme(requestCurrentURL(e))){t=null}break;case"same-origin":if(!sameOrigin(e,requestCurrentURL(e))){t=null}break;default:}if(t){e.headersList.append("origin",t)}}}function coarsenedSharedCurrentTime(e){return A.now()}function createOpaqueTimingInfo(e){return{startTime:e.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:e.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}}function makePolicyContainer(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function clonePolicyContainer(e){return{referrerPolicy:e.referrerPolicy}}function determineRequestsReferrer(e){const t=e.referrerPolicy;u(t);let s=null;if(e.referrer==="client"){const e=o();if(!e||e.origin==="null"){return"no-referrer"}s=new URL(e)}else if(e.referrer instanceof URL){s=e.referrer}let r=stripURLForReferrer(s);const n=stripURLForReferrer(s,true);if(r.toString().length>4096){r=n}const i=sameOrigin(e,r);const A=isURLPotentiallyTrustworthy(r)&&!isURLPotentiallyTrustworthy(e.url);switch(t){case"origin":return n!=null?n:stripURLForReferrer(s,true);case"unsafe-url":return r;case"same-origin":return i?n:"no-referrer";case"origin-when-cross-origin":return i?r:n;case"strict-origin-when-cross-origin":{const t=requestCurrentURL(e);if(sameOrigin(r,t)){return r}if(isURLPotentiallyTrustworthy(r)&&!isURLPotentiallyTrustworthy(t)){return"no-referrer"}return n}case"strict-origin":case"no-referrer-when-downgrade":default:return A?"no-referrer":n}}function stripURLForReferrer(e,t){u(e instanceof URL);if(e.protocol==="file:"||e.protocol==="about:"||e.protocol==="blank:"){return"no-referrer"}e.username="";e.password="";e.hash="";if(t){e.pathname="";e.search=""}return e}function isURLPotentiallyTrustworthy(e){if(!(e instanceof URL)){return false}if(e.href==="about:blank"||e.href==="about:srcdoc"){return true}if(e.protocol==="data:")return true;if(e.protocol==="file:")return true;return isOriginPotentiallyTrustworthy(e.origin);function isOriginPotentiallyTrustworthy(e){if(e==null||e==="null")return false;const t=new URL(e);if(t.protocol==="https:"||t.protocol==="wss:"){return true}if(/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(t.hostname)||(t.hostname==="localhost"||t.hostname.includes("localhost."))||t.hostname.endsWith(".localhost")){return true}return false}}function bytesMatch(e,t){if(d===undefined){return true}const s=parseMetadata(t);if(s==="no metadata"){return true}if(s.length===0){return true}const r=s.sort(((e,t)=>t.algo.localeCompare(e.algo)));const n=r[0].algo;const i=r.filter((e=>e.algo===n));for(const t of i){const s=t.algo;let r=t.hash;if(r.endsWith("==")){r=r.slice(0,-2)}let n=d.createHash(s).update(e).digest("base64");if(n.endsWith("==")){n=n.slice(0,-2)}if(n===r){return true}let i=d.createHash(s).update(e).digest("base64url");if(i.endsWith("==")){i=i.slice(0,-2)}if(i===r){return true}}return false}const g=/((?sha256|sha384|sha512)-(?[A-z0-9+/]{1}.*={0,2}))( +[\x21-\x7e]?)?/i;function parseMetadata(e){const t=[];let s=true;const r=d.getHashes();for(const n of e.split(" ")){s=false;const e=g.exec(n);if(e===null||e.groups===undefined){continue}const i=e.groups.algo;if(r.includes(i.toLowerCase())){t.push(e.groups)}}if(s===true){return"no metadata"}return t}function tryUpgradeRequestToAPotentiallyTrustworthyURL(e){}function sameOrigin(e,t){if(e.origin===t.origin&&e.origin==="null"){return true}if(e.protocol===t.protocol&&e.hostname===t.hostname&&e.port===t.port){return true}return false}function createDeferredPromise(){let e;let t;const s=new Promise(((s,r)=>{e=s;t=r}));return{promise:s,resolve:e,reject:t}}function isAborted(e){return e.controller.state==="aborted"}function isCancelled(e){return e.controller.state==="aborted"||e.controller.state==="terminated"}const h={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT"};Object.setPrototypeOf(h,null);function normalizeMethod(e){return h[e.toLowerCase()]??e}function serializeJavascriptValueToJSONString(e){const t=JSON.stringify(e);if(t===undefined){throw new TypeError("Value is not JSON serializable")}u(typeof t==="string");return t}const E=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function makeIterator(e,t,s){const r={index:0,kind:s,target:e};const n={next(){if(Object.getPrototypeOf(this)!==n){throw new TypeError(`'next' called on an object that does not implement interface ${t} Iterator.`)}const{index:e,kind:s,target:i}=r;const o=i();const A=o.length;if(e>=A){return{value:undefined,done:true}}const a=o[e];r.index=e+1;return iteratorResult(a,s)},[Symbol.toStringTag]:`${t} Iterator`};Object.setPrototypeOf(n,E);return Object.setPrototypeOf({},n)}function iteratorResult(e,t){let s;switch(t){case"key":{s=e[0];break}case"value":{s=e[1];break}case"key+value":{s=e;break}}return{value:s,done:false}}async function fullyReadBody(e,t,s){const r=t;const n=s;let i;try{i=e.stream.getReader()}catch(e){n(e);return}try{const e=await readAllBytes(i);r(e)}catch(e){n(e)}}let m=globalThis.ReadableStream;function isReadableStreamLike(e){if(!m){m=s(3774).ReadableStream}return e instanceof m||e[Symbol.toStringTag]==="ReadableStream"&&typeof e.tee==="function"}const C=65535;function isomorphicDecode(e){if(e.lengthe+String.fromCharCode(t)),"")}function readableStreamClose(e){try{e.close()}catch(e){if(!e.message.includes("Controller is already closed")){throw e}}}function isomorphicEncode(e){for(let t=0;tObject.prototype.hasOwnProperty.call(e,t));e.exports={isAborted:isAborted,isCancelled:isCancelled,createDeferredPromise:createDeferredPromise,ReadableStreamFrom:l,toUSVString:c,tryUpgradeRequestToAPotentiallyTrustworthyURL:tryUpgradeRequestToAPotentiallyTrustworthyURL,coarsenedSharedCurrentTime:coarsenedSharedCurrentTime,determineRequestsReferrer:determineRequestsReferrer,makePolicyContainer:makePolicyContainer,clonePolicyContainer:clonePolicyContainer,appendFetchMetadata:appendFetchMetadata,appendRequestOriginHeader:appendRequestOriginHeader,TAOCheck:TAOCheck,corsCheck:corsCheck,crossOriginResourcePolicyCheck:crossOriginResourcePolicyCheck,createOpaqueTimingInfo:createOpaqueTimingInfo,setRequestReferrerPolicyOnRedirect:setRequestReferrerPolicyOnRedirect,isValidHTTPToken:isValidHTTPToken,requestBadPort:requestBadPort,requestCurrentURL:requestCurrentURL,responseURL:responseURL,responseLocationURL:responseLocationURL,isBlobLike:a,isURLPotentiallyTrustworthy:isURLPotentiallyTrustworthy,isValidReasonPhrase:isValidReasonPhrase,sameOrigin:sameOrigin,normalizeMethod:normalizeMethod,serializeJavascriptValueToJSONString:serializeJavascriptValueToJSONString,makeIterator:makeIterator,isValidHeaderName:isValidHeaderName,isValidHeaderValue:isValidHeaderValue,hasOwn:B,isErrorLike:isErrorLike,fullyReadBody:fullyReadBody,bytesMatch:bytesMatch,isReadableStreamLike:isReadableStreamLike,readableStreamClose:readableStreamClose,isomorphicEncode:isomorphicEncode,isomorphicDecode:isomorphicDecode,urlIsLocal:urlIsLocal,urlHasHttpsScheme:urlHasHttpsScheme,urlIsHttpHttpsScheme:urlIsHttpHttpsScheme,readAllBytes:readAllBytes,normalizeMethodRecord:h}},9076:(e,t,s)=>{"use strict";const{types:r}=s(9023);const{hasOwn:n,toUSVString:i}=s(1537);const o={};o.converters={};o.util={};o.errors={};o.errors.exception=function(e){return new TypeError(`${e.header}: ${e.message}`)};o.errors.conversionFailed=function(e){const t=e.types.length===1?"":" one of";const s=`${e.argument} could not be converted to`+`${t}: ${e.types.join(", ")}.`;return o.errors.exception({header:e.prefix,message:s})};o.errors.invalidArgument=function(e){return o.errors.exception({header:e.prefix,message:`"${e.value}" is an invalid ${e.type}.`})};o.brandCheck=function(e,t,s=undefined){if(s?.strict!==false&&!(e instanceof t)){throw new TypeError("Illegal invocation")}else{return e?.[Symbol.toStringTag]===t.prototype[Symbol.toStringTag]}};o.argumentLengthCheck=function({length:e},t,s){if(en){throw o.errors.exception({header:"Integer conversion",message:`Value must be between ${i}-${n}, got ${A}.`})}return A}if(!Number.isNaN(A)&&r.clamp===true){A=Math.min(Math.max(A,i),n);if(Math.floor(A)%2===0){A=Math.floor(A)}else{A=Math.ceil(A)}return A}if(Number.isNaN(A)||A===0&&Object.is(0,A)||A===Number.POSITIVE_INFINITY||A===Number.NEGATIVE_INFINITY){return 0}A=o.util.IntegerPart(A);A=A%Math.pow(2,t);if(s==="signed"&&A>=Math.pow(2,t)-1){return A-Math.pow(2,t)}return A};o.util.IntegerPart=function(e){const t=Math.floor(Math.abs(e));if(e<0){return-1*t}return t};o.sequenceConverter=function(e){return t=>{if(o.util.Type(t)!=="Object"){throw o.errors.exception({header:"Sequence",message:`Value of type ${o.util.Type(t)} is not an Object.`})}const s=t?.[Symbol.iterator]?.();const r=[];if(s===undefined||typeof s.next!=="function"){throw o.errors.exception({header:"Sequence",message:"Object is not an iterator."})}while(true){const{done:t,value:n}=s.next();if(t){break}r.push(e(n))}return r}};o.recordConverter=function(e,t){return s=>{if(o.util.Type(s)!=="Object"){throw o.errors.exception({header:"Record",message:`Value of type ${o.util.Type(s)} is not an Object.`})}const n={};if(!r.isProxy(s)){const r=Object.keys(s);for(const i of r){const r=e(i);const o=t(s[i]);n[r]=o}return n}const i=Reflect.ownKeys(s);for(const r of i){const i=Reflect.getOwnPropertyDescriptor(s,r);if(i?.enumerable){const i=e(r);const o=t(s[r]);n[i]=o}}return n}};o.interfaceConverter=function(e){return(t,s={})=>{if(s.strict!==false&&!(t instanceof e)){throw o.errors.exception({header:e.name,message:`Expected ${t} to be an instance of ${e.name}.`})}return t}};o.dictionaryConverter=function(e){return t=>{const s=o.util.Type(t);const r={};if(s==="Null"||s==="Undefined"){return r}else if(s!=="Object"){throw o.errors.exception({header:"Dictionary",message:`Expected ${t} to be one of: Null, Undefined, Object.`})}for(const s of e){const{key:e,defaultValue:i,required:A,converter:a}=s;if(A===true){if(!n(t,e)){throw o.errors.exception({header:"Dictionary",message:`Missing required key "${e}".`})}}let c=t[e];const l=n(s,"defaultValue");if(l&&c!==null){c=c??i}if(A||l||c!==undefined){c=a(c);if(s.allowedValues&&!s.allowedValues.includes(c)){throw o.errors.exception({header:"Dictionary",message:`${c} is not an accepted type. Expected one of ${s.allowedValues.join(", ")}.`})}r[e]=c}}return r}};o.nullableConverter=function(e){return t=>{if(t===null){return t}return e(t)}};o.converters.DOMString=function(e,t={}){if(e===null&&t.legacyNullToEmptyString){return""}if(typeof e==="symbol"){throw new TypeError("Could not convert argument of type symbol to string.")}return String(e)};o.converters.ByteString=function(e){const t=o.converters.DOMString(e);for(let e=0;e255){throw new TypeError("Cannot convert argument to a ByteString because the character at "+`index ${e} has a value of ${t.charCodeAt(e)} which is greater than 255.`)}}return t};o.converters.USVString=i;o.converters.boolean=function(e){const t=Boolean(e);return t};o.converters.any=function(e){return e};o.converters["long long"]=function(e){const t=o.util.ConvertToInt(e,64,"signed");return t};o.converters["unsigned long long"]=function(e){const t=o.util.ConvertToInt(e,64,"unsigned");return t};o.converters["unsigned long"]=function(e){const t=o.util.ConvertToInt(e,32,"unsigned");return t};o.converters["unsigned short"]=function(e,t){const s=o.util.ConvertToInt(e,16,"unsigned",t);return s};o.converters.ArrayBuffer=function(e,t={}){if(o.util.Type(e)!=="Object"||!r.isAnyArrayBuffer(e)){throw o.errors.conversionFailed({prefix:`${e}`,argument:`${e}`,types:["ArrayBuffer"]})}if(t.allowShared===false&&r.isSharedArrayBuffer(e)){throw o.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return e};o.converters.TypedArray=function(e,t,s={}){if(o.util.Type(e)!=="Object"||!r.isTypedArray(e)||e.constructor.name!==t.name){throw o.errors.conversionFailed({prefix:`${t.name}`,argument:`${e}`,types:[t.name]})}if(s.allowShared===false&&r.isSharedArrayBuffer(e.buffer)){throw o.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return e};o.converters.DataView=function(e,t={}){if(o.util.Type(e)!=="Object"||!r.isDataView(e)){throw o.errors.exception({header:"DataView",message:"Object is not a DataView."})}if(t.allowShared===false&&r.isSharedArrayBuffer(e.buffer)){throw o.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return e};o.converters.BufferSource=function(e,t={}){if(r.isAnyArrayBuffer(e)){return o.converters.ArrayBuffer(e,t)}if(r.isTypedArray(e)){return o.converters.TypedArray(e,e.constructor)}if(r.isDataView(e)){return o.converters.DataView(e,t)}throw new TypeError(`Could not convert ${e} to a BufferSource.`)};o.converters["sequence"]=o.sequenceConverter(o.converters.ByteString);o.converters["sequence>"]=o.sequenceConverter(o.converters["sequence"]);o.converters["record"]=o.recordConverter(o.converters.ByteString,o.converters.ByteString);e.exports={webidl:o}},6493:e=>{"use strict";function getEncoding(e){if(!e){return"failure"}switch(e.trim().toLowerCase()){case"unicode-1-1-utf-8":case"unicode11utf8":case"unicode20utf8":case"utf-8":case"utf8":case"x-unicode20utf8":return"UTF-8";case"866":case"cp866":case"csibm866":case"ibm866":return"IBM866";case"csisolatin2":case"iso-8859-2":case"iso-ir-101":case"iso8859-2":case"iso88592":case"iso_8859-2":case"iso_8859-2:1987":case"l2":case"latin2":return"ISO-8859-2";case"csisolatin3":case"iso-8859-3":case"iso-ir-109":case"iso8859-3":case"iso88593":case"iso_8859-3":case"iso_8859-3:1988":case"l3":case"latin3":return"ISO-8859-3";case"csisolatin4":case"iso-8859-4":case"iso-ir-110":case"iso8859-4":case"iso88594":case"iso_8859-4":case"iso_8859-4:1988":case"l4":case"latin4":return"ISO-8859-4";case"csisolatincyrillic":case"cyrillic":case"iso-8859-5":case"iso-ir-144":case"iso8859-5":case"iso88595":case"iso_8859-5":case"iso_8859-5:1988":return"ISO-8859-5";case"arabic":case"asmo-708":case"csiso88596e":case"csiso88596i":case"csisolatinarabic":case"ecma-114":case"iso-8859-6":case"iso-8859-6-e":case"iso-8859-6-i":case"iso-ir-127":case"iso8859-6":case"iso88596":case"iso_8859-6":case"iso_8859-6:1987":return"ISO-8859-6";case"csisolatingreek":case"ecma-118":case"elot_928":case"greek":case"greek8":case"iso-8859-7":case"iso-ir-126":case"iso8859-7":case"iso88597":case"iso_8859-7":case"iso_8859-7:1987":case"sun_eu_greek":return"ISO-8859-7";case"csiso88598e":case"csisolatinhebrew":case"hebrew":case"iso-8859-8":case"iso-8859-8-e":case"iso-ir-138":case"iso8859-8":case"iso88598":case"iso_8859-8":case"iso_8859-8:1988":case"visual":return"ISO-8859-8";case"csiso88598i":case"iso-8859-8-i":case"logical":return"ISO-8859-8-I";case"csisolatin6":case"iso-8859-10":case"iso-ir-157":case"iso8859-10":case"iso885910":case"l6":case"latin6":return"ISO-8859-10";case"iso-8859-13":case"iso8859-13":case"iso885913":return"ISO-8859-13";case"iso-8859-14":case"iso8859-14":case"iso885914":return"ISO-8859-14";case"csisolatin9":case"iso-8859-15":case"iso8859-15":case"iso885915":case"iso_8859-15":case"l9":return"ISO-8859-15";case"iso-8859-16":return"ISO-8859-16";case"cskoi8r":case"koi":case"koi8":case"koi8-r":case"koi8_r":return"KOI8-R";case"koi8-ru":case"koi8-u":return"KOI8-U";case"csmacintosh":case"mac":case"macintosh":case"x-mac-roman":return"macintosh";case"iso-8859-11":case"iso8859-11":case"iso885911":case"tis-620":case"windows-874":return"windows-874";case"cp1250":case"windows-1250":case"x-cp1250":return"windows-1250";case"cp1251":case"windows-1251":case"x-cp1251":return"windows-1251";case"ansi_x3.4-1968":case"ascii":case"cp1252":case"cp819":case"csisolatin1":case"ibm819":case"iso-8859-1":case"iso-ir-100":case"iso8859-1":case"iso88591":case"iso_8859-1":case"iso_8859-1:1987":case"l1":case"latin1":case"us-ascii":case"windows-1252":case"x-cp1252":return"windows-1252";case"cp1253":case"windows-1253":case"x-cp1253":return"windows-1253";case"cp1254":case"csisolatin5":case"iso-8859-9":case"iso-ir-148":case"iso8859-9":case"iso88599":case"iso_8859-9":case"iso_8859-9:1989":case"l5":case"latin5":case"windows-1254":case"x-cp1254":return"windows-1254";case"cp1255":case"windows-1255":case"x-cp1255":return"windows-1255";case"cp1256":case"windows-1256":case"x-cp1256":return"windows-1256";case"cp1257":case"windows-1257":case"x-cp1257":return"windows-1257";case"cp1258":case"windows-1258":case"x-cp1258":return"windows-1258";case"x-mac-cyrillic":case"x-mac-ukrainian":return"x-mac-cyrillic";case"chinese":case"csgb2312":case"csiso58gb231280":case"gb2312":case"gb_2312":case"gb_2312-80":case"gbk":case"iso-ir-58":case"x-gbk":return"GBK";case"gb18030":return"gb18030";case"big5":case"big5-hkscs":case"cn-big5":case"csbig5":case"x-x-big5":return"Big5";case"cseucpkdfmtjapanese":case"euc-jp":case"x-euc-jp":return"EUC-JP";case"csiso2022jp":case"iso-2022-jp":return"ISO-2022-JP";case"csshiftjis":case"ms932":case"ms_kanji":case"shift-jis":case"shift_jis":case"sjis":case"windows-31j":case"x-sjis":return"Shift_JIS";case"cseuckr":case"csksc56011987":case"euc-kr":case"iso-ir-149":case"korean":case"ks_c_5601-1987":case"ks_c_5601-1989":case"ksc5601":case"ksc_5601":case"windows-949":return"EUC-KR";case"csiso2022kr":case"hz-gb-2312":case"iso-2022-cn":case"iso-2022-cn-ext":case"iso-2022-kr":case"replacement":return"replacement";case"unicodefffe":case"utf-16be":return"UTF-16BE";case"csunicode":case"iso-10646-ucs-2":case"ucs-2":case"unicode":case"unicodefeff":case"utf-16":case"utf-16le":return"UTF-16LE";case"x-user-defined":return"x-user-defined";default:return"failure"}}e.exports={getEncoding:getEncoding}},1854:(e,t,s)=>{"use strict";const{staticPropertyDescriptors:r,readOperation:n,fireAProgressEvent:i}=s(9679);const{kState:o,kError:A,kResult:a,kEvents:c,kAborted:l}=s(3746);const{webidl:u}=s(9076);const{kEnumerableProperty:p}=s(1950);class FileReader extends EventTarget{constructor(){super();this[o]="empty";this[a]=null;this[A]=null;this[c]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){u.brandCheck(this,FileReader);u.argumentLengthCheck(arguments,1,{header:"FileReader.readAsArrayBuffer"});e=u.converters.Blob(e,{strict:false});n(this,e,"ArrayBuffer")}readAsBinaryString(e){u.brandCheck(this,FileReader);u.argumentLengthCheck(arguments,1,{header:"FileReader.readAsBinaryString"});e=u.converters.Blob(e,{strict:false});n(this,e,"BinaryString")}readAsText(e,t=undefined){u.brandCheck(this,FileReader);u.argumentLengthCheck(arguments,1,{header:"FileReader.readAsText"});e=u.converters.Blob(e,{strict:false});if(t!==undefined){t=u.converters.DOMString(t)}n(this,e,"Text",t)}readAsDataURL(e){u.brandCheck(this,FileReader);u.argumentLengthCheck(arguments,1,{header:"FileReader.readAsDataURL"});e=u.converters.Blob(e,{strict:false});n(this,e,"DataURL")}abort(){if(this[o]==="empty"||this[o]==="done"){this[a]=null;return}if(this[o]==="loading"){this[o]="done";this[a]=null}this[l]=true;i("abort",this);if(this[o]!=="loading"){i("loadend",this)}}get readyState(){u.brandCheck(this,FileReader);switch(this[o]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){u.brandCheck(this,FileReader);return this[a]}get error(){u.brandCheck(this,FileReader);return this[A]}get onloadend(){u.brandCheck(this,FileReader);return this[c].loadend}set onloadend(e){u.brandCheck(this,FileReader);if(this[c].loadend){this.removeEventListener("loadend",this[c].loadend)}if(typeof e==="function"){this[c].loadend=e;this.addEventListener("loadend",e)}else{this[c].loadend=null}}get onerror(){u.brandCheck(this,FileReader);return this[c].error}set onerror(e){u.brandCheck(this,FileReader);if(this[c].error){this.removeEventListener("error",this[c].error)}if(typeof e==="function"){this[c].error=e;this.addEventListener("error",e)}else{this[c].error=null}}get onloadstart(){u.brandCheck(this,FileReader);return this[c].loadstart}set onloadstart(e){u.brandCheck(this,FileReader);if(this[c].loadstart){this.removeEventListener("loadstart",this[c].loadstart)}if(typeof e==="function"){this[c].loadstart=e;this.addEventListener("loadstart",e)}else{this[c].loadstart=null}}get onprogress(){u.brandCheck(this,FileReader);return this[c].progress}set onprogress(e){u.brandCheck(this,FileReader);if(this[c].progress){this.removeEventListener("progress",this[c].progress)}if(typeof e==="function"){this[c].progress=e;this.addEventListener("progress",e)}else{this[c].progress=null}}get onload(){u.brandCheck(this,FileReader);return this[c].load}set onload(e){u.brandCheck(this,FileReader);if(this[c].load){this.removeEventListener("load",this[c].load)}if(typeof e==="function"){this[c].load=e;this.addEventListener("load",e)}else{this[c].load=null}}get onabort(){u.brandCheck(this,FileReader);return this[c].abort}set onabort(e){u.brandCheck(this,FileReader);if(this[c].abort){this.removeEventListener("abort",this[c].abort)}if(typeof e==="function"){this[c].abort=e;this.addEventListener("abort",e)}else{this[c].abort=null}}}FileReader.EMPTY=FileReader.prototype.EMPTY=0;FileReader.LOADING=FileReader.prototype.LOADING=1;FileReader.DONE=FileReader.prototype.DONE=2;Object.defineProperties(FileReader.prototype,{EMPTY:r,LOADING:r,DONE:r,readAsArrayBuffer:p,readAsBinaryString:p,readAsText:p,readAsDataURL:p,abort:p,readyState:p,result:p,error:p,onloadstart:p,onprogress:p,onload:p,onabort:p,onerror:p,onloadend:p,[Symbol.toStringTag]:{value:"FileReader",writable:false,enumerable:false,configurable:true}});Object.defineProperties(FileReader,{EMPTY:r,LOADING:r,DONE:r});e.exports={FileReader:FileReader}},8902:(e,t,s)=>{"use strict";const{webidl:r}=s(9076);const n=Symbol("ProgressEvent state");class ProgressEvent extends Event{constructor(e,t={}){e=r.converters.DOMString(e);t=r.converters.ProgressEventInit(t??{});super(e,t);this[n]={lengthComputable:t.lengthComputable,loaded:t.loaded,total:t.total}}get lengthComputable(){r.brandCheck(this,ProgressEvent);return this[n].lengthComputable}get loaded(){r.brandCheck(this,ProgressEvent);return this[n].loaded}get total(){r.brandCheck(this,ProgressEvent);return this[n].total}}r.converters.ProgressEventInit=r.dictionaryConverter([{key:"lengthComputable",converter:r.converters.boolean,defaultValue:false},{key:"loaded",converter:r.converters["unsigned long long"],defaultValue:0},{key:"total",converter:r.converters["unsigned long long"],defaultValue:0},{key:"bubbles",converter:r.converters.boolean,defaultValue:false},{key:"cancelable",converter:r.converters.boolean,defaultValue:false},{key:"composed",converter:r.converters.boolean,defaultValue:false}]);e.exports={ProgressEvent:ProgressEvent}},3746:e=>{"use strict";e.exports={kState:Symbol("FileReader state"),kResult:Symbol("FileReader result"),kError:Symbol("FileReader error"),kLastProgressEventFired:Symbol("FileReader last progress event fired timestamp"),kEvents:Symbol("FileReader events"),kAborted:Symbol("FileReader aborted")}},9679:(e,t,s)=>{"use strict";const{kState:r,kError:n,kResult:i,kAborted:o,kLastProgressEventFired:A}=s(3746);const{ProgressEvent:a}=s(8902);const{getEncoding:c}=s(6493);const{DOMException:l}=s(9680);const{serializeAMimeType:u,parseMIMEType:p}=s(2656);const{types:d}=s(9023);const{StringDecoder:g}=s(3193);const{btoa:h}=s(181);const E={enumerable:true,writable:false,configurable:false};function readOperation(e,t,s,a){if(e[r]==="loading"){throw new l("Invalid state","InvalidStateError")}e[r]="loading";e[i]=null;e[n]=null;const c=t.stream();const u=c.getReader();const p=[];let g=u.read();let h=true;(async()=>{while(!e[o]){try{const{done:c,value:l}=await g;if(h&&!e[o]){queueMicrotask((()=>{fireAProgressEvent("loadstart",e)}))}h=false;if(!c&&d.isUint8Array(l)){p.push(l);if((e[A]===undefined||Date.now()-e[A]>=50)&&!e[o]){e[A]=Date.now();queueMicrotask((()=>{fireAProgressEvent("progress",e)}))}g=u.read()}else if(c){queueMicrotask((()=>{e[r]="done";try{const r=packageData(p,s,t.type,a);if(e[o]){return}e[i]=r;fireAProgressEvent("load",e)}catch(t){e[n]=t;fireAProgressEvent("error",e)}if(e[r]!=="loading"){fireAProgressEvent("loadend",e)}}));break}}catch(t){if(e[o]){return}queueMicrotask((()=>{e[r]="done";e[n]=t;fireAProgressEvent("error",e);if(e[r]!=="loading"){fireAProgressEvent("loadend",e)}}));break}}})()}function fireAProgressEvent(e,t){const s=new a(e,{bubbles:false,cancelable:false});t.dispatchEvent(s)}function packageData(e,t,s,r){switch(t){case"DataURL":{let t="data:";const r=p(s||"application/octet-stream");if(r!=="failure"){t+=u(r)}t+=";base64,";const n=new g("latin1");for(const s of e){t+=h(n.write(s))}t+=h(n.end());return t}case"Text":{let t="failure";if(r){t=c(r)}if(t==="failure"&&s){const e=p(s);if(e!=="failure"){t=c(e.parameters.get("charset"))}}if(t==="failure"){t="UTF-8"}return decode(e,t)}case"ArrayBuffer":{const t=combineByteSequences(e);return t.buffer}case"BinaryString":{let t="";const s=new g("latin1");for(const r of e){t+=s.write(r)}t+=s.end();return t}}}function decode(e,t){const s=combineByteSequences(e);const r=BOMSniffing(s);let n=0;if(r!==null){t=r;n=r==="UTF-8"?3:2}const i=s.slice(n);return new TextDecoder(t).decode(i)}function BOMSniffing(e){const[t,s,r]=e;if(t===239&&s===187&&r===191){return"UTF-8"}else if(t===254&&s===255){return"UTF-16BE"}else if(t===255&&s===254){return"UTF-16LE"}return null}function combineByteSequences(e){const t=e.reduce(((e,t)=>e+t.byteLength),0);let s=0;return e.reduce(((e,t)=>{e.set(t,s);s+=t.byteLength;return e}),new Uint8Array(t))}e.exports={staticPropertyDescriptors:E,readOperation:readOperation,fireAProgressEvent:fireAProgressEvent}},9507:(e,t,s)=>{"use strict";const r=Symbol.for("undici.globalDispatcher.1");const{InvalidArgumentError:n}=s(6301);const i=s(9595);if(getGlobalDispatcher()===undefined){setGlobalDispatcher(new i)}function setGlobalDispatcher(e){if(!e||typeof e.dispatch!=="function"){throw new n("Argument agent must implement Agent")}Object.defineProperty(globalThis,r,{value:e,writable:true,enumerable:false,configurable:false})}function getGlobalDispatcher(){return globalThis[r]}e.exports={setGlobalDispatcher:setGlobalDispatcher,getGlobalDispatcher:getGlobalDispatcher}},3826:e=>{"use strict";e.exports=class DecoratorHandler{constructor(e){this.handler=e}onConnect(...e){return this.handler.onConnect(...e)}onError(...e){return this.handler.onError(...e)}onUpgrade(...e){return this.handler.onUpgrade(...e)}onHeaders(...e){return this.handler.onHeaders(...e)}onData(...e){return this.handler.onData(...e)}onComplete(...e){return this.handler.onComplete(...e)}onBodySent(...e){return this.handler.onBodySent(...e)}}},2761:(e,t,s)=>{"use strict";const r=s(1950);const{kBodyUsed:n}=s(701);const i=s(2613);const{InvalidArgumentError:o}=s(6301);const A=s(4434);const a=[300,301,302,303,307,308];const c=Symbol("body");class BodyAsyncIterable{constructor(e){this[c]=e;this[n]=false}async*[Symbol.asyncIterator](){i(!this[n],"disturbed");this[n]=true;yield*this[c]}}class RedirectHandler{constructor(e,t,s,a){if(t!=null&&(!Number.isInteger(t)||t<0)){throw new o("maxRedirections must be a positive number")}r.validateHandler(a,s.method,s.upgrade);this.dispatch=e;this.location=null;this.abort=null;this.opts={...s,maxRedirections:0};this.maxRedirections=t;this.handler=a;this.history=[];if(r.isStream(this.opts.body)){if(r.bodyLength(this.opts.body)===0){this.opts.body.on("data",(function(){i(false)}))}if(typeof this.opts.body.readableDidRead!=="boolean"){this.opts.body[n]=false;A.prototype.on.call(this.opts.body,"data",(function(){this[n]=true}))}}else if(this.opts.body&&typeof this.opts.body.pipeTo==="function"){this.opts.body=new BodyAsyncIterable(this.opts.body)}else if(this.opts.body&&typeof this.opts.body!=="string"&&!ArrayBuffer.isView(this.opts.body)&&r.isIterable(this.opts.body)){this.opts.body=new BodyAsyncIterable(this.opts.body)}}onConnect(e){this.abort=e;this.handler.onConnect(e,{history:this.history})}onUpgrade(e,t,s){this.handler.onUpgrade(e,t,s)}onError(e){this.handler.onError(e)}onHeaders(e,t,s,n){this.location=this.history.length>=this.maxRedirections||r.isDisturbed(this.opts.body)?null:parseLocation(e,t);if(this.opts.origin){this.history.push(new URL(this.opts.path,this.opts.origin))}if(!this.location){return this.handler.onHeaders(e,t,s,n)}const{origin:i,pathname:o,search:A}=r.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin)));const a=A?`${o}${A}`:o;this.opts.headers=cleanRequestHeaders(this.opts.headers,e===303,this.opts.origin!==i);this.opts.path=a;this.opts.origin=i;this.opts.maxRedirections=0;this.opts.query=null;if(e===303&&this.opts.method!=="HEAD"){this.opts.method="GET";this.opts.body=null}}onData(e){if(this.location){}else{return this.handler.onData(e)}}onComplete(e){if(this.location){this.location=null;this.abort=null;this.dispatch(this.opts,this)}else{this.handler.onComplete(e)}}onBodySent(e){if(this.handler.onBodySent){this.handler.onBodySent(e)}}}function parseLocation(e,t){if(a.indexOf(e)===-1){return null}for(let e=0;e{const r=s(2613);const{kRetryHandlerDefaultRetry:n}=s(701);const{RequestRetryError:i}=s(6301);const{isDisturbed:o,parseHeaders:A,parseRangeHeader:a}=s(1950);function calculateRetryAfterHeader(e){const t=Date.now();const s=new Date(e).getTime()-t;return s}class RetryHandler{constructor(e,t){const{retryOptions:s,...r}=e;const{retry:i,maxRetries:o,maxTimeout:A,minTimeout:a,timeoutFactor:c,methods:l,errorCodes:u,retryAfter:p,statusCodes:d}=s??{};this.dispatch=t.dispatch;this.handler=t.handler;this.opts=r;this.abort=null;this.aborted=false;this.retryOpts={retry:i??RetryHandler[n],retryAfter:p??true,maxTimeout:A??30*1e3,timeout:a??500,timeoutFactor:c??2,maxRetries:o??5,methods:l??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:d??[500,502,503,504,429],errorCodes:u??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE"]};this.retryCount=0;this.start=0;this.end=null;this.etag=null;this.resume=null;this.handler.onConnect((e=>{this.aborted=true;if(this.abort){this.abort(e)}else{this.reason=e}}))}onRequestSent(){if(this.handler.onRequestSent){this.handler.onRequestSent()}}onUpgrade(e,t,s){if(this.handler.onUpgrade){this.handler.onUpgrade(e,t,s)}}onConnect(e){if(this.aborted){e(this.reason)}else{this.abort=e}}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[n](e,{state:t,opts:s},r){const{statusCode:n,code:i,headers:o}=e;const{method:A,retryOptions:a}=s;const{maxRetries:c,timeout:l,maxTimeout:u,timeoutFactor:p,statusCodes:d,errorCodes:g,methods:h}=a;let{counter:E,currentTimeout:m}=t;m=m!=null&&m>0?m:l;if(i&&i!=="UND_ERR_REQ_RETRY"&&i!=="UND_ERR_SOCKET"&&!g.includes(i)){r(e);return}if(Array.isArray(h)&&!h.includes(A)){r(e);return}if(n!=null&&Array.isArray(d)&&!d.includes(n)){r(e);return}if(E>c){r(e);return}let C=o!=null&&o["retry-after"];if(C){C=Number(C);C=isNaN(C)?calculateRetryAfterHeader(C):C*1e3}const B=C>0?Math.min(C,u):Math.min(m*p**E,u);t.currentTimeout=B;setTimeout((()=>r(null)),B)}onHeaders(e,t,s,n){const o=A(t);this.retryCount+=1;if(e>=300){this.abort(new i("Request failed",e,{headers:o,count:this.retryCount}));return false}if(this.resume!=null){this.resume=null;if(e!==206){return true}const t=a(o["content-range"]);if(!t){this.abort(new i("Content-Range mismatch",e,{headers:o,count:this.retryCount}));return false}if(this.etag!=null&&this.etag!==o.etag){this.abort(new i("ETag mismatch",e,{headers:o,count:this.retryCount}));return false}const{start:n,size:A,end:c=A}=t;r(this.start===n,"content-range mismatch");r(this.end==null||this.end===c,"content-range mismatch");this.resume=s;return true}if(this.end==null){if(e===206){const i=a(o["content-range"]);if(i==null){return this.handler.onHeaders(e,t,s,n)}const{start:A,size:c,end:l=c}=i;r(A!=null&&Number.isFinite(A)&&this.start!==A,"content-range mismatch");r(Number.isFinite(A));r(l!=null&&Number.isFinite(l)&&this.end!==l,"invalid content-length");this.start=A;this.end=l}if(this.end==null){const e=o["content-length"];this.end=e!=null?Number(e):null}r(Number.isFinite(this.start));r(this.end==null||Number.isFinite(this.end),"invalid content-length");this.resume=s;this.etag=o.etag!=null?o.etag:null;return this.handler.onHeaders(e,t,s,n)}const c=new i("Request failed",e,{headers:o,count:this.retryCount});this.abort(c);return false}onData(e){this.start+=e.length;return this.handler.onData(e)}onComplete(e){this.retryCount=0;return this.handler.onComplete(e)}onError(e){if(this.aborted||o(this.opts.body)){return this.handler.onError(e)}this.retryOpts.retry(e,{state:{counter:this.retryCount++,currentTimeout:this.retryAfter},opts:{retryOptions:this.retryOpts,...this.opts}},onRetry.bind(this));function onRetry(e){if(e!=null||this.aborted||o(this.opts.body)){return this.handler.onError(e)}if(this.start!==0){this.opts={...this.opts,headers:{...this.opts.headers,range:`bytes=${this.start}-${this.end??""}`}}}try{this.dispatch(this.opts,this)}catch(e){this.handler.onError(e)}}}}e.exports=RetryHandler},5589:(e,t,s)=>{"use strict";const r=s(2761);function createRedirectInterceptor({maxRedirections:e}){return t=>function Intercept(s,n){const{maxRedirections:i=e}=s;if(!i){return t(s,n)}const o=new r(t,i,s,n);s={...s,maxRedirections:0};return t(s,o)}}e.exports=createRedirectInterceptor},4190:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.SPECIAL_HEADERS=t.HEADER_STATE=t.MINOR=t.MAJOR=t.CONNECTION_TOKEN_CHARS=t.HEADER_CHARS=t.TOKEN=t.STRICT_TOKEN=t.HEX=t.URL_CHAR=t.STRICT_URL_CHAR=t.USERINFO_CHARS=t.MARK=t.ALPHANUM=t.NUM=t.HEX_MAP=t.NUM_MAP=t.ALPHA=t.FINISH=t.H_METHOD_MAP=t.METHOD_MAP=t.METHODS_RTSP=t.METHODS_ICE=t.METHODS_HTTP=t.METHODS=t.LENIENT_FLAGS=t.FLAGS=t.TYPE=t.ERROR=void 0;const r=s(4726);var n;(function(e){e[e["OK"]=0]="OK";e[e["INTERNAL"]=1]="INTERNAL";e[e["STRICT"]=2]="STRICT";e[e["LF_EXPECTED"]=3]="LF_EXPECTED";e[e["UNEXPECTED_CONTENT_LENGTH"]=4]="UNEXPECTED_CONTENT_LENGTH";e[e["CLOSED_CONNECTION"]=5]="CLOSED_CONNECTION";e[e["INVALID_METHOD"]=6]="INVALID_METHOD";e[e["INVALID_URL"]=7]="INVALID_URL";e[e["INVALID_CONSTANT"]=8]="INVALID_CONSTANT";e[e["INVALID_VERSION"]=9]="INVALID_VERSION";e[e["INVALID_HEADER_TOKEN"]=10]="INVALID_HEADER_TOKEN";e[e["INVALID_CONTENT_LENGTH"]=11]="INVALID_CONTENT_LENGTH";e[e["INVALID_CHUNK_SIZE"]=12]="INVALID_CHUNK_SIZE";e[e["INVALID_STATUS"]=13]="INVALID_STATUS";e[e["INVALID_EOF_STATE"]=14]="INVALID_EOF_STATE";e[e["INVALID_TRANSFER_ENCODING"]=15]="INVALID_TRANSFER_ENCODING";e[e["CB_MESSAGE_BEGIN"]=16]="CB_MESSAGE_BEGIN";e[e["CB_HEADERS_COMPLETE"]=17]="CB_HEADERS_COMPLETE";e[e["CB_MESSAGE_COMPLETE"]=18]="CB_MESSAGE_COMPLETE";e[e["CB_CHUNK_HEADER"]=19]="CB_CHUNK_HEADER";e[e["CB_CHUNK_COMPLETE"]=20]="CB_CHUNK_COMPLETE";e[e["PAUSED"]=21]="PAUSED";e[e["PAUSED_UPGRADE"]=22]="PAUSED_UPGRADE";e[e["PAUSED_H2_UPGRADE"]=23]="PAUSED_H2_UPGRADE";e[e["USER"]=24]="USER"})(n=t.ERROR||(t.ERROR={}));var i;(function(e){e[e["BOTH"]=0]="BOTH";e[e["REQUEST"]=1]="REQUEST";e[e["RESPONSE"]=2]="RESPONSE"})(i=t.TYPE||(t.TYPE={}));var o;(function(e){e[e["CONNECTION_KEEP_ALIVE"]=1]="CONNECTION_KEEP_ALIVE";e[e["CONNECTION_CLOSE"]=2]="CONNECTION_CLOSE";e[e["CONNECTION_UPGRADE"]=4]="CONNECTION_UPGRADE";e[e["CHUNKED"]=8]="CHUNKED";e[e["UPGRADE"]=16]="UPGRADE";e[e["CONTENT_LENGTH"]=32]="CONTENT_LENGTH";e[e["SKIPBODY"]=64]="SKIPBODY";e[e["TRAILING"]=128]="TRAILING";e[e["TRANSFER_ENCODING"]=512]="TRANSFER_ENCODING"})(o=t.FLAGS||(t.FLAGS={}));var A;(function(e){e[e["HEADERS"]=1]="HEADERS";e[e["CHUNKED_LENGTH"]=2]="CHUNKED_LENGTH";e[e["KEEP_ALIVE"]=4]="KEEP_ALIVE"})(A=t.LENIENT_FLAGS||(t.LENIENT_FLAGS={}));var a;(function(e){e[e["DELETE"]=0]="DELETE";e[e["GET"]=1]="GET";e[e["HEAD"]=2]="HEAD";e[e["POST"]=3]="POST";e[e["PUT"]=4]="PUT";e[e["CONNECT"]=5]="CONNECT";e[e["OPTIONS"]=6]="OPTIONS";e[e["TRACE"]=7]="TRACE";e[e["COPY"]=8]="COPY";e[e["LOCK"]=9]="LOCK";e[e["MKCOL"]=10]="MKCOL";e[e["MOVE"]=11]="MOVE";e[e["PROPFIND"]=12]="PROPFIND";e[e["PROPPATCH"]=13]="PROPPATCH";e[e["SEARCH"]=14]="SEARCH";e[e["UNLOCK"]=15]="UNLOCK";e[e["BIND"]=16]="BIND";e[e["REBIND"]=17]="REBIND";e[e["UNBIND"]=18]="UNBIND";e[e["ACL"]=19]="ACL";e[e["REPORT"]=20]="REPORT";e[e["MKACTIVITY"]=21]="MKACTIVITY";e[e["CHECKOUT"]=22]="CHECKOUT";e[e["MERGE"]=23]="MERGE";e[e["M-SEARCH"]=24]="M-SEARCH";e[e["NOTIFY"]=25]="NOTIFY";e[e["SUBSCRIBE"]=26]="SUBSCRIBE";e[e["UNSUBSCRIBE"]=27]="UNSUBSCRIBE";e[e["PATCH"]=28]="PATCH";e[e["PURGE"]=29]="PURGE";e[e["MKCALENDAR"]=30]="MKCALENDAR";e[e["LINK"]=31]="LINK";e[e["UNLINK"]=32]="UNLINK";e[e["SOURCE"]=33]="SOURCE";e[e["PRI"]=34]="PRI";e[e["DESCRIBE"]=35]="DESCRIBE";e[e["ANNOUNCE"]=36]="ANNOUNCE";e[e["SETUP"]=37]="SETUP";e[e["PLAY"]=38]="PLAY";e[e["PAUSE"]=39]="PAUSE";e[e["TEARDOWN"]=40]="TEARDOWN";e[e["GET_PARAMETER"]=41]="GET_PARAMETER";e[e["SET_PARAMETER"]=42]="SET_PARAMETER";e[e["REDIRECT"]=43]="REDIRECT";e[e["RECORD"]=44]="RECORD";e[e["FLUSH"]=45]="FLUSH"})(a=t.METHODS||(t.METHODS={}));t.METHODS_HTTP=[a.DELETE,a.GET,a.HEAD,a.POST,a.PUT,a.CONNECT,a.OPTIONS,a.TRACE,a.COPY,a.LOCK,a.MKCOL,a.MOVE,a.PROPFIND,a.PROPPATCH,a.SEARCH,a.UNLOCK,a.BIND,a.REBIND,a.UNBIND,a.ACL,a.REPORT,a.MKACTIVITY,a.CHECKOUT,a.MERGE,a["M-SEARCH"],a.NOTIFY,a.SUBSCRIBE,a.UNSUBSCRIBE,a.PATCH,a.PURGE,a.MKCALENDAR,a.LINK,a.UNLINK,a.PRI,a.SOURCE];t.METHODS_ICE=[a.SOURCE];t.METHODS_RTSP=[a.OPTIONS,a.DESCRIBE,a.ANNOUNCE,a.SETUP,a.PLAY,a.PAUSE,a.TEARDOWN,a.GET_PARAMETER,a.SET_PARAMETER,a.REDIRECT,a.RECORD,a.FLUSH,a.GET,a.POST];t.METHOD_MAP=r.enumToMap(a);t.H_METHOD_MAP={};Object.keys(t.METHOD_MAP).forEach((e=>{if(/^H/.test(e)){t.H_METHOD_MAP[e]=t.METHOD_MAP[e]}}));var c;(function(e){e[e["SAFE"]=0]="SAFE";e[e["SAFE_WITH_CB"]=1]="SAFE_WITH_CB";e[e["UNSAFE"]=2]="UNSAFE"})(c=t.FINISH||(t.FINISH={}));t.ALPHA=[];for(let e="A".charCodeAt(0);e<="Z".charCodeAt(0);e++){t.ALPHA.push(String.fromCharCode(e));t.ALPHA.push(String.fromCharCode(e+32))}t.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};t.HEX_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15};t.NUM=["0","1","2","3","4","5","6","7","8","9"];t.ALPHANUM=t.ALPHA.concat(t.NUM);t.MARK=["-","_",".","!","~","*","'","(",")"];t.USERINFO_CHARS=t.ALPHANUM.concat(t.MARK).concat(["%",";",":","&","=","+","$",","]);t.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(t.ALPHANUM);t.URL_CHAR=t.STRICT_URL_CHAR.concat(["\t","\f"]);for(let e=128;e<=255;e++){t.URL_CHAR.push(e)}t.HEX=t.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);t.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(t.ALPHANUM);t.TOKEN=t.STRICT_TOKEN.concat([" "]);t.HEADER_CHARS=["\t"];for(let e=32;e<=255;e++){if(e!==127){t.HEADER_CHARS.push(e)}}t.CONNECTION_TOKEN_CHARS=t.HEADER_CHARS.filter((e=>e!==44));t.MAJOR=t.NUM_MAP;t.MINOR=t.MAJOR;var l;(function(e){e[e["GENERAL"]=0]="GENERAL";e[e["CONNECTION"]=1]="CONNECTION";e[e["CONTENT_LENGTH"]=2]="CONTENT_LENGTH";e[e["TRANSFER_ENCODING"]=3]="TRANSFER_ENCODING";e[e["UPGRADE"]=4]="UPGRADE";e[e["CONNECTION_KEEP_ALIVE"]=5]="CONNECTION_KEEP_ALIVE";e[e["CONNECTION_CLOSE"]=6]="CONNECTION_CLOSE";e[e["CONNECTION_UPGRADE"]=7]="CONNECTION_UPGRADE";e[e["TRANSFER_ENCODING_CHUNKED"]=8]="TRANSFER_ENCODING_CHUNKED"})(l=t.HEADER_STATE||(t.HEADER_STATE={}));t.SPECIAL_HEADERS={connection:l.CONNECTION,"content-length":l.CONTENT_LENGTH,"proxy-connection":l.CONNECTION,"transfer-encoding":l.TRANSFER_ENCODING,upgrade:l.UPGRADE}},7364:e=>{e.exports="AGFzbQEAAAABMAhgAX8Bf2ADf39/AX9gBH9/f38Bf2AAAGADf39/AGABfwBgAn9/AGAGf39/f39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQACA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAA0ZF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c3NhZ2VfbmVlZHNfZW9mAD8JFwEAQQELEQECAwQFCwYHNTk3MS8tJyspCsLgAkUCAAsIABCIgICAAAsZACAAEMKAgIAAGiAAIAI2AjggACABOgAoCxwAIAAgAC8BMiAALQAuIAAQwYCAgAAQgICAgAALKgEBf0HAABDGgICAACIBEMKAgIAAGiABQYCIgIAANgI4IAEgADoAKCABCwoAIAAQyICAgAALBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LRQEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABDCgICAABogACAENgI4IAAgAzoAKCAAIAI6AC0gACABNgIYCxEAIAAgASABIAJqEMOAgIAACxAAIABBAEHcABDMgICAABoLZwEBf0EAIQECQCAAKAIMDQACQAJAAkACQCAALQAvDgMBAAMCCyAAKAI4IgFFDQAgASgCLCIBRQ0AIAAgARGAgICAAAAiAQ0DC0EADwsQyoCAgAAACyAAQcOWgIAANgIQQQ4hAQsgAQseAAJAIAAoAgwNACAAQdGbgIAANgIQIABBFTYCDAsLFgACQCAAKAIMQRVHDQAgAEEANgIMCwsWAAJAIAAoAgxBFkcNACAAQQA2AgwLCwcAIAAoAgwLBwAgACgCEAsJACAAIAE2AhALBwAgACgCFAsiAAJAIABBJEkNABDKgICAAAALIABBAnRBoLOAgABqKAIACyIAAkAgAEEuSQ0AEMqAgIAAAAsgAEECdEGwtICAAGooAgAL7gsBAX9B66iAgAAhAQJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIABBnH9qDvQDY2IAAWFhYWFhYQIDBAVhYWFhY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BUGwAkYNACAEQcAAcQ0AQQAhAyAEQYgEcUGABEYNACAEQShxQQBHIQMLIABBADsBMCAAQQA6AC8gAwuZAQECfwJAAkACQCAALQAqRQ0AIAAtACtFDQBBACEBIAAvATAiAkECcUUNAQwCC0EAIQEgAC8BMCICQQFxRQ0BC0EBIQEgAC0AKEEBRg0AIAAvATJB//8DcSIAQZx/akHkAEkNACAAQcwBRg0AIABBsAJGDQAgAkHAAHENAEEAIQEgAkGIBHFBgARGDQAgAkEocUEARyEBCyABC1kAIABBGGpCADcDACAAQgA3AwAgAEE4akIANwMAIABBMGpCADcDACAAQShqQgA3AwAgAEEgakIANwMAIABBEGpCADcDACAAQQhqQgA3AwAgAEHdATYCHEEAC3sBAX8CQCAAKAIMIgMNAAJAIAAoAgRFDQAgACABNgIECwJAIAAgASACEMSAgIAAIgMNACAAKAIMDwsgACADNgIcQQAhAyAAKAIEIgFFDQAgACABIAIgACgCCBGBgICAAAAiAUUNACAAIAI2AhQgACABNgIMIAEhAwsgAwvk8wEDDn8DfgR/I4CAgIAAQRBrIgMkgICAgAAgASEEIAEhBSABIQYgASEHIAEhCCABIQkgASEKIAEhCyABIQwgASENIAEhDiABIQ8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAk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QAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAQDscBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxweHyAhIyUoP0BBREVGR0hJSktMTU9QUVJT3gNXWVtcXWBiZWZnaGlqa2xtb3BxcnN0dXZ3eHl6e3x9foABggGFAYYBhwGJAYsBjAGNAY4BjwGQAZEBlAGVAZYBlwGYAZkBmgGbAZwBnQGeAZ8BoAGhAaIBowGkAaUBpgGnAagBqQGqAasBrAGtAa4BrwGwAbEBsgGzAbQBtQG2AbcBuAG5AboBuwG8Ab0BvgG/AcABwQHCAcMBxAHFAcYBxwHIAckBygHLAcwBzQHOAc8B0AHRAdIB0wHUAdUB1gHXAdgB2QHaAdsB3AHdAd4B4AHhAeIB4wHkAeUB5gHnAegB6QHqAesB7AHt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yAAQeUANgIcIAAgATYCFCAAIBA2AgxBACEQDLABCyAAQQA2AhwgACABNgIUIABBxoqAgAA2AhAgAEEHNgIMQQAhEAyvAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMSQsgAEHSADYCHCAAIAE2AhQgACAQNgIMQQAhEAyuAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMSQsgAEHTADYCHCAAIAE2AhQgACAQNgIMQQAhEAytAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMTQsgAEHlADYCHCAAIAE2AhQgACAQNgIMQQAhEAysAQsgAEEANgIcIAAgATYCFCAAQdyIgIAANgIQIABBBzYCDEEAIRAMqwELIBBBP0cNASABQQFqIQELQQUhEAyQAQtBACEQIABBADYCHCAAIAE2AhQgAEH9koCAADYCECAAQQc2AgwMqAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMpwELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMpgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEYLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMpQELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0gA2AhwgACAUNgIUIAAgATYCDEEAIRAMpAELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0wA2AhwgACAUNgIUIAAgATYCDEEAIRAMowELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDEMLIABB5QA2AhwgACAUNgIUIAAgATYCDEEAIRAMogELIABBADYCHCAAIBQ2AhQgAEHDj4CAADYCECAAQQc2AgxBACEQDKEBCyAAQQA2AhwgACABNgIUIABBw4+AgAA2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BugEhEAwJC0G7ASEQDAgLQcYBIRAMBwtBvAEhEAwGC0G9ASEQDAULQb4BIRAMBAtBvwEhEAwDC0HAASEQDAILQcIBIRAMAQtBwQEhEAsDQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAk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LIAAgAUEBaiIBIAIQu4CAgAAiEA3oASABIQEMMQsgAEIANwMgQRIhEAzVAwsgASIQIAJHDStBHSEQDO0DCwJAIAEiASACRg0AIAFBAWohAUEQIRAM1AMLQQchEAzsAwsgAEIAIAApAyAiESACIAEiEGutIhJ9IhMgEyARVhs3AyAgESASViIURQ3lAUEIIRAM6wMLAkAgASIBIAJGDQAgAEGJgICAADYCCCAAIAE2AgQgASEBQRQhEAzSAwtBCSEQDOoDCyABIQEgACkDIFAN5AEgASEBDPICCwJAIAEiASACRw0AQQshEAzpAwsgACABQQFqIgEgAhC2gICAACIQDeUBIAEhAQzyAgsgACABIgEgAhC4gICAACIQDeUBIAEhAQzyAgsgACABIgEgAhC4gICAACIQDeYBIAEhAQwNCyAAIAEiASACELqAgIAAIhAN5wEgASEBDPACCwJAIAEiASACRw0AQQ8hEAzlAwsgAS0AACIQQTtGDQggEEENRw3oASABQQFqIQEM7wILIAAgASIBIAIQuoCAgAAiEA3oASABIQEM8gILA0ACQCABLQAAQfC1gIAAai0AACIQQQFGDQAgEEECRw3rASAAKAIEIRAgAEEANgIEIAAgECABQQFqIgEQuYCAgAAiEA3qASABIQEM9AILIAFBAWoiASACRw0AC0ESIRAM4gMLIAAgASIBIAIQuoCAgAAiEA3pASABIQEMCgsgASIBIAJHDQZBGyEQDOADCwJAIAEiASACRw0AQRYhEAzgAwsgAEGKgICAADYCCCAAIAE2AgQgACABIAIQuICAgAAiEA3qASABIQFBICEQDMYDCwJAIAEiASACRg0AA0ACQCABLQAAQfC3gIAAai0AACIQQQJGDQACQCAQQX9qDgTlAewBAOsB7AELIAFBAWohAUEIIRAMyAMLIAFBAWoiASACRw0AC0EVIRAM3wMLQRUhEAzeAwsDQAJAIAEtAABB8LmAgABqLQAAIhBBAkYNACAQQX9qDgTeAewB4AHrAewBCyABQQFqIgEgAkcNAAtBGCEQDN0DCwJAIAEiASACRg0AIABBi4CAgAA2AgggACABNgIEIAEhAUEHIRAMxAMLQRkhEAzcAwsgA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EEANgIcIAAgATYCFCAAQZuKgIAANgIQIABBCDYCDEEAIRAMtgELIABBADYCACAXQQFqIQECQCAALQApIhBBXWpBC08NACABIQEMVQsCQCAQQQZLDQBBASAQdEHKAHFFDQAgASEBDFULQQAhECAAQQA2AhwgACABNgIUIABB94mAgAA2AhAgAEEINgIMDLUBCyAQQRVGDXEgAEEANgIcIAAgATYCFCAAQbmNgIAANgIQIABBGjYCDEEAIRAMtAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFQLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMswELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMsgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMsQELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFELIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMsAELIABBADYCHCAAIAE2AhQgAEHGioCAADYCECAAQQc2AgxBACEQDK8BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxJCyAAQdIANgIcIAAgATYCFCAAIBA2AgxBACEQDK4BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxJCyAAQdMANgIcIAAgATYCFCAAIBA2AgxBACEQDK0BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxNCyAAQeUANgIcIAAgATYCFCAAIBA2AgxBACEQDKwBCyAAQQA2AhwgACABNgIUIABB3IiAgAA2AhAgAEEHNgIMQQAhEAyrAQsgEEE/Rw0BIAFBAWohAQtBBSEQDJABC0EAIRAgAEEANgIcIAAgATYCFCAAQf2SgIAANgIQIABBBzYCDAyoAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAI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AAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAEAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAgAAAAACAAAAAAAAAAAAAAAAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw=="},4726:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.enumToMap=void 0;function enumToMap(e){const t={};Object.keys(e).forEach((s=>{const r=e[s];if(typeof r==="number"){t[s]=r}}));return t}t.enumToMap=enumToMap},463:(e,t,s)=>{"use strict";const{kClients:r}=s(701);const n=s(9595);const{kAgent:i,kMockAgentSet:o,kMockAgentGet:A,kDispatches:a,kIsMockActive:c,kNetConnect:l,kGetNetConnect:u,kOptions:p,kFactory:d}=s(1527);const g=s(611);const h=s(8874);const{matchValue:E,buildMockOptions:m}=s(5723);const{InvalidArgumentError:C,UndiciError:B}=s(6301);const Q=s(3505);const I=s(5779);const b=s(8920);class FakeWeakRef{constructor(e){this.value=e}deref(){return this.value}}class MockAgent extends Q{constructor(e){super(e);this[l]=true;this[c]=true;if(e&&e.agent&&typeof e.agent.dispatch!=="function"){throw new C("Argument opts.agent must implement Agent")}const t=e&&e.agent?e.agent:new n(e);this[i]=t;this[r]=t[r];this[p]=m(e)}get(e){let t=this[A](e);if(!t){t=this[d](e);this[o](e,t)}return t}dispatch(e,t){this.get(e.origin);return this[i].dispatch(e,t)}async close(){await this[i].close();this[r].clear()}deactivate(){this[c]=false}activate(){this[c]=true}enableNetConnect(e){if(typeof e==="string"||typeof e==="function"||e instanceof RegExp){if(Array.isArray(this[l])){this[l].push(e)}else{this[l]=[e]}}else if(typeof e==="undefined"){this[l]=true}else{throw new C("Unsupported matcher. Must be one of String|Function|RegExp.")}}disableNetConnect(){this[l]=false}get isMockActive(){return this[c]}[o](e,t){this[r].set(e,new FakeWeakRef(t))}[d](e){const t=Object.assign({agent:this},this[p]);return this[p]&&this[p].connections===1?new g(e,t):new h(e,t)}[A](e){const t=this[r].get(e);if(t){return t.deref()}if(typeof e!=="string"){const t=this[d]("http://localhost:9999");this[o](e,t);return t}for(const[t,s]of Array.from(this[r])){const r=s.deref();if(r&&typeof t!=="string"&&E(t,e)){const t=this[d](e);this[o](e,t);t[a]=r[a];return t}}}[u](){return this[l]}pendingInterceptors(){const e=this[r];return Array.from(e.entries()).flatMap((([e,t])=>t.deref()[a].map((t=>({...t,origin:e}))))).filter((({pending:e})=>e))}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new b}={}){const t=this.pendingInterceptors();if(t.length===0){return}const s=new I("interceptor","interceptors").pluralize(t.length);throw new B(`\n${s.count} ${s.noun} ${s.is} pending:\n\n${e.format(t)}\n`.trim())}}e.exports=MockAgent},611:(e,t,s)=>{"use strict";const{promisify:r}=s(9023);const n=s(6951);const{buildMockDispatch:i}=s(5723);const{kDispatches:o,kMockAgent:A,kClose:a,kOriginalClose:c,kOrigin:l,kOriginalDispatch:u,kConnected:p}=s(1527);const{MockInterceptor:d}=s(3637);const g=s(701);const{InvalidArgumentError:h}=s(6301);class MockClient extends n{constructor(e,t){super(e,t);if(!t||!t.agent||typeof t.agent.dispatch!=="function"){throw new h("Argument opts.agent must implement Agent")}this[A]=t.agent;this[l]=e;this[o]=[];this[p]=1;this[u]=this.dispatch;this[c]=this.close.bind(this);this.dispatch=i.call(this);this.close=this[a]}get[g.kConnected](){return this[p]}intercept(e){return new d(e,this[o])}async[a](){await r(this[c])();this[p]=0;this[A][g.kClients].delete(this[l])}}e.exports=MockClient},5135:(e,t,s)=>{"use strict";const{UndiciError:r}=s(6301);class MockNotMatchedError extends r{constructor(e){super(e);Error.captureStackTrace(this,MockNotMatchedError);this.name="MockNotMatchedError";this.message=e||"The request does not match any registered mock dispatches";this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}}e.exports={MockNotMatchedError:MockNotMatchedError}},3637:(e,t,s)=>{"use strict";const{getResponseData:r,buildKey:n,addMockDispatch:i}=s(5723);const{kDispatches:o,kDispatchKey:A,kDefaultHeaders:a,kDefaultTrailers:c,kContentLength:l,kMockDispatch:u}=s(1527);const{InvalidArgumentError:p}=s(6301);const{buildURL:d}=s(1950);class MockScope{constructor(e){this[u]=e}delay(e){if(typeof e!=="number"||!Number.isInteger(e)||e<=0){throw new p("waitInMs must be a valid integer > 0")}this[u].delay=e;return this}persist(){this[u].persist=true;return this}times(e){if(typeof e!=="number"||!Number.isInteger(e)||e<=0){throw new p("repeatTimes must be a valid integer > 0")}this[u].times=e;return this}}class MockInterceptor{constructor(e,t){if(typeof e!=="object"){throw new p("opts must be an object")}if(typeof e.path==="undefined"){throw new p("opts.path must be defined")}if(typeof e.method==="undefined"){e.method="GET"}if(typeof e.path==="string"){if(e.query){e.path=d(e.path,e.query)}else{const t=new URL(e.path,"data://");e.path=t.pathname+t.search}}if(typeof e.method==="string"){e.method=e.method.toUpperCase()}this[A]=n(e);this[o]=t;this[a]={};this[c]={};this[l]=false}createMockScopeDispatchData(e,t,s={}){const n=r(t);const i=this[l]?{"content-length":n.length}:{};const o={...this[a],...i,...s.headers};const A={...this[c],...s.trailers};return{statusCode:e,data:t,headers:o,trailers:A}}validateReplyParameters(e,t,s){if(typeof e==="undefined"){throw new p("statusCode must be defined")}if(typeof t==="undefined"){throw new p("data must be defined")}if(typeof s!=="object"){throw new p("responseOptions must be an object")}}reply(e){if(typeof e==="function"){const wrappedDefaultsCallback=t=>{const s=e(t);if(typeof s!=="object"){throw new p("reply options callback must return an object")}const{statusCode:r,data:n="",responseOptions:i={}}=s;this.validateReplyParameters(r,n,i);return{...this.createMockScopeDispatchData(r,n,i)}};const t=i(this[o],this[A],wrappedDefaultsCallback);return new MockScope(t)}const[t,s="",r={}]=[...arguments];this.validateReplyParameters(t,s,r);const n=this.createMockScopeDispatchData(t,s,r);const a=i(this[o],this[A],n);return new MockScope(a)}replyWithError(e){if(typeof e==="undefined"){throw new p("error must be defined")}const t=i(this[o],this[A],{error:e});return new MockScope(t)}defaultReplyHeaders(e){if(typeof e==="undefined"){throw new p("headers must be defined")}this[a]=e;return this}defaultReplyTrailers(e){if(typeof e==="undefined"){throw new p("trailers must be defined")}this[c]=e;return this}replyContentLength(){this[l]=true;return this}}e.exports.MockInterceptor=MockInterceptor;e.exports.MockScope=MockScope},8874:(e,t,s)=>{"use strict";const{promisify:r}=s(9023);const n=s(6822);const{buildMockDispatch:i}=s(5723);const{kDispatches:o,kMockAgent:A,kClose:a,kOriginalClose:c,kOrigin:l,kOriginalDispatch:u,kConnected:p}=s(1527);const{MockInterceptor:d}=s(3637);const g=s(701);const{InvalidArgumentError:h}=s(6301);class MockPool extends n{constructor(e,t){super(e,t);if(!t||!t.agent||typeof t.agent.dispatch!=="function"){throw new h("Argument opts.agent must implement Agent")}this[A]=t.agent;this[l]=e;this[o]=[];this[p]=1;this[u]=this.dispatch;this[c]=this.close.bind(this);this.dispatch=i.call(this);this.close=this[a]}get[g.kConnected](){return this[p]}intercept(e){return new d(e,this[o])}async[a](){await r(this[c])();this[p]=0;this[A][g.kClients].delete(this[l])}}e.exports=MockPool},1527:e=>{"use strict";e.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected")}},5723:(e,t,s)=>{"use strict";const{MockNotMatchedError:r}=s(5135);const{kDispatches:n,kMockAgent:i,kOriginalDispatch:o,kOrigin:A,kGetNetConnect:a}=s(1527);const{buildURL:c,nop:l}=s(1950);const{STATUS_CODES:u}=s(8611);const{types:{isPromise:p}}=s(9023);function matchValue(e,t){if(typeof e==="string"){return e===t}if(e instanceof RegExp){return e.test(t)}if(typeof e==="function"){return e(t)===true}return false}function lowerCaseEntries(e){return Object.fromEntries(Object.entries(e).map((([e,t])=>[e.toLocaleLowerCase(),t])))}function getHeaderByName(e,t){if(Array.isArray(e)){for(let s=0;s!e)).filter((({path:e})=>matchValue(safeUrl(e),n)));if(i.length===0){throw new r(`Mock dispatch not matched for path '${n}'`)}i=i.filter((({method:e})=>matchValue(e,t.method)));if(i.length===0){throw new r(`Mock dispatch not matched for method '${t.method}'`)}i=i.filter((({body:e})=>typeof e!=="undefined"?matchValue(e,t.body):true));if(i.length===0){throw new r(`Mock dispatch not matched for body '${t.body}'`)}i=i.filter((e=>matchHeaders(e,t.headers)));if(i.length===0){throw new r(`Mock dispatch not matched for headers '${typeof t.headers==="object"?JSON.stringify(t.headers):t.headers}'`)}return i[0]}function addMockDispatch(e,t,s){const r={timesInvoked:0,times:1,persist:false,consumed:false};const n=typeof s==="function"?{callback:s}:{...s};const i={...r,...t,pending:true,data:{error:null,...n}};e.push(i);return i}function deleteMockDispatch(e,t){const s=e.findIndex((e=>{if(!e.consumed){return false}return matchKey(e,t)}));if(s!==-1){e.splice(s,1)}}function buildKey(e){const{path:t,method:s,body:r,headers:n,query:i}=e;return{path:t,method:s,body:r,headers:n,query:i}}function generateKeyValues(e){return Object.entries(e).reduce(((e,[t,s])=>[...e,Buffer.from(`${t}`),Array.isArray(s)?s.map((e=>Buffer.from(`${e}`))):Buffer.from(`${s}`)]),[])}function getStatusText(e){return u[e]||"unknown"}async function getResponse(e){const t=[];for await(const s of e){t.push(s)}return Buffer.concat(t).toString("utf8")}function mockDispatch(e,t){const s=buildKey(e);const r=getMockDispatch(this[n],s);r.timesInvoked++;if(r.data.callback){r.data={...r.data,...r.data.callback(e)}}const{data:{statusCode:i,data:o,headers:A,trailers:a,error:c},delay:u,persist:d}=r;const{timesInvoked:g,times:h}=r;r.consumed=!d&&g>=h;r.pending=g0){setTimeout((()=>{handleReply(this[n])}),u)}else{handleReply(this[n])}function handleReply(r,n=o){const c=Array.isArray(e.headers)?buildHeadersFromArray(e.headers):e.headers;const u=typeof n==="function"?n({...e,headers:c}):n;if(p(u)){u.then((e=>handleReply(r,e)));return}const d=getResponseData(u);const g=generateKeyValues(A);const h=generateKeyValues(a);t.abort=l;t.onHeaders(i,g,resume,getStatusText(i));t.onData(Buffer.from(d));t.onComplete(h);deleteMockDispatch(r,s)}function resume(){}return true}function buildMockDispatch(){const e=this[i];const t=this[A];const s=this[o];return function dispatch(n,i){if(e.isMockActive){try{mockDispatch.call(this,n,i)}catch(o){if(o instanceof r){const A=e[a]();if(A===false){throw new r(`${o.message}: subsequent request to origin ${t} was not allowed (net.connect disabled)`)}if(checkNetConnect(A,t)){s.call(this,n,i)}else{throw new r(`${o.message}: subsequent request to origin ${t} was not allowed (net.connect is not enabled for this origin)`)}}else{throw o}}}else{s.call(this,n,i)}}}function checkNetConnect(e,t){const s=new URL(t);if(e===true){return true}else if(Array.isArray(e)&&e.some((e=>matchValue(e,s.host)))){return true}return false}function buildMockOptions(e){if(e){const{agent:t,...s}=e;return s}}e.exports={getResponseData:getResponseData,getMockDispatch:getMockDispatch,addMockDispatch:addMockDispatch,deleteMockDispatch:deleteMockDispatch,buildKey:buildKey,generateKeyValues:generateKeyValues,matchValue:matchValue,getResponse:getResponse,getStatusText:getStatusText,mockDispatch:mockDispatch,buildMockDispatch:buildMockDispatch,checkNetConnect:checkNetConnect,buildMockOptions:buildMockOptions,getHeaderByName:getHeaderByName}},8920:(e,t,s)=>{"use strict";const{Transform:r}=s(2203);const{Console:n}=s(4236);e.exports=class PendingInterceptorsFormatter{constructor({disableColors:e}={}){this.transform=new r({transform(e,t,s){s(null,e)}});this.logger=new n({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){const t=e.map((({method:e,path:t,data:{statusCode:s},persist:r,times:n,timesInvoked:i,origin:o})=>({Method:e,Origin:o,Path:t,"Status code":s,Persistent:r?"✅":"❌",Invocations:i,Remaining:r?Infinity:n-i})));this.logger.table(t);return this.transform.read().toString()}}},5779:e=>{"use strict";const t={pronoun:"it",is:"is",was:"was",this:"this"};const s={pronoun:"they",is:"are",was:"were",this:"these"};e.exports=class Pluralizer{constructor(e,t){this.singular=e;this.plural=t}pluralize(e){const r=e===1;const n=r?t:s;const i=r?this.singular:this.plural;return{...n,count:e,noun:i}}}},1095:e=>{"use strict";const t=2048;const s=t-1;class FixedCircularBuffer{constructor(){this.bottom=0;this.top=0;this.list=new Array(t);this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&s)===this.bottom}push(e){this.list[this.top]=e;this.top=this.top+1&s}shift(){const e=this.list[this.bottom];if(e===undefined)return null;this.list[this.bottom]=undefined;this.bottom=this.bottom+1&s;return e}}e.exports=class FixedQueue{constructor(){this.head=this.tail=new FixedCircularBuffer}isEmpty(){return this.head.isEmpty()}push(e){if(this.head.isFull()){this.head=this.head.next=new FixedCircularBuffer}this.head.push(e)}shift(){const e=this.tail;const t=e.shift();if(e.isEmpty()&&e.next!==null){this.tail=e.next}return t}}},5270:(e,t,s)=>{"use strict";const r=s(5419);const n=s(1095);const{kConnected:i,kSize:o,kRunning:A,kPending:a,kQueued:c,kBusy:l,kFree:u,kUrl:p,kClose:d,kDestroy:g,kDispatch:h}=s(701);const E=s(2568);const m=Symbol("clients");const C=Symbol("needDrain");const B=Symbol("queue");const Q=Symbol("closed resolve");const I=Symbol("onDrain");const b=Symbol("onConnect");const y=Symbol("onDisconnect");const w=Symbol("onConnectionError");const v=Symbol("get dispatcher");const k=Symbol("add client");const x=Symbol("remove client");const R=Symbol("stats");class PoolBase extends r{constructor(){super();this[B]=new n;this[m]=[];this[c]=0;const e=this;this[I]=function onDrain(t,s){const r=e[B];let n=false;while(!n){const t=r.shift();if(!t){break}e[c]--;n=!this.dispatch(t.opts,t.handler)}this[C]=n;if(!this[C]&&e[C]){e[C]=false;e.emit("drain",t,[e,...s])}if(e[Q]&&r.isEmpty()){Promise.all(e[m].map((e=>e.close()))).then(e[Q])}};this[b]=(t,s)=>{e.emit("connect",t,[e,...s])};this[y]=(t,s,r)=>{e.emit("disconnect",t,[e,...s],r)};this[w]=(t,s,r)=>{e.emit("connectionError",t,[e,...s],r)};this[R]=new E(this)}get[l](){return this[C]}get[i](){return this[m].filter((e=>e[i])).length}get[u](){return this[m].filter((e=>e[i]&&!e[C])).length}get[a](){let e=this[c];for(const{[a]:t}of this[m]){e+=t}return e}get[A](){let e=0;for(const{[A]:t}of this[m]){e+=t}return e}get[o](){let e=this[c];for(const{[o]:t}of this[m]){e+=t}return e}get stats(){return this[R]}async[d](){if(this[B].isEmpty()){return Promise.all(this[m].map((e=>e.close())))}else{return new Promise((e=>{this[Q]=e}))}}async[g](e){while(true){const t=this[B].shift();if(!t){break}t.handler.onError(e)}return Promise.all(this[m].map((t=>t.destroy(e))))}[h](e,t){const s=this[v]();if(!s){this[C]=true;this[B].push({opts:e,handler:t});this[c]++}else if(!s.dispatch(e,t)){s[C]=true;this[C]=!this[v]()}return!this[C]}[k](e){e.on("drain",this[I]).on("connect",this[b]).on("disconnect",this[y]).on("connectionError",this[w]);this[m].push(e);if(this[C]){process.nextTick((()=>{if(this[C]){this[I](e[p],[this,e])}}))}return this}[x](e){e.close((()=>{const t=this[m].indexOf(e);if(t!==-1){this[m].splice(t,1)}}));this[C]=this[m].some((e=>!e[C]&&e.closed!==true&&e.destroyed!==true))}}e.exports={PoolBase:PoolBase,kClients:m,kNeedDrain:C,kAddClient:k,kRemoveClient:x,kGetDispatcher:v}},2568:(e,t,s)=>{const{kFree:r,kConnected:n,kPending:i,kQueued:o,kRunning:A,kSize:a}=s(701);const c=Symbol("pool");class PoolStats{constructor(e){this[c]=e}get connected(){return this[c][n]}get free(){return this[c][r]}get pending(){return this[c][i]}get queued(){return this[c][o]}get running(){return this[c][A]}get size(){return this[c][a]}}e.exports=PoolStats},6822:(e,t,s)=>{"use strict";const{PoolBase:r,kClients:n,kNeedDrain:i,kAddClient:o,kGetDispatcher:A}=s(5270);const a=s(6951);const{InvalidArgumentError:c}=s(6301);const l=s(1950);const{kUrl:u,kInterceptors:p}=s(701);const d=s(1393);const g=Symbol("options");const h=Symbol("connections");const E=Symbol("factory");function defaultFactory(e,t){return new a(e,t)}class Pool extends r{constructor(e,{connections:t,factory:s=defaultFactory,connect:r,connectTimeout:n,tls:i,maxCachedSessions:o,socketPath:A,autoSelectFamily:a,autoSelectFamilyAttemptTimeout:m,allowH2:C,...B}={}){super();if(t!=null&&(!Number.isFinite(t)||t<0)){throw new c("invalid connections")}if(typeof s!=="function"){throw new c("factory must be a function.")}if(r!=null&&typeof r!=="function"&&typeof r!=="object"){throw new c("connect must be a function or an object")}if(typeof r!=="function"){r=d({...i,maxCachedSessions:o,allowH2:C,socketPath:A,timeout:n,...l.nodeHasAutoSelectFamily&&a?{autoSelectFamily:a,autoSelectFamilyAttemptTimeout:m}:undefined,...r})}this[p]=B.interceptors&&B.interceptors.Pool&&Array.isArray(B.interceptors.Pool)?B.interceptors.Pool:[];this[h]=t||null;this[u]=l.parseOrigin(e);this[g]={...l.deepClone(B),connect:r,allowH2:C};this[g].interceptors=B.interceptors?{...B.interceptors}:undefined;this[E]=s}[A](){let e=this[n].find((e=>!e[i]));if(e){return e}if(!this[h]||this[n].length{"use strict";const{kProxy:r,kClose:n,kDestroy:i,kInterceptors:o}=s(701);const{URL:A}=s(7016);const a=s(9595);const c=s(6822);const l=s(5419);const{InvalidArgumentError:u,RequestAbortedError:p}=s(6301);const d=s(1393);const g=Symbol("proxy agent");const h=Symbol("proxy client");const E=Symbol("proxy headers");const m=Symbol("request tls settings");const C=Symbol("proxy tls settings");const B=Symbol("connect endpoint function");function defaultProtocolPort(e){return e==="https:"?443:80}function buildProxyOptions(e){if(typeof e==="string"){e={uri:e}}if(!e||!e.uri){throw new u("Proxy opts.uri is mandatory")}return{uri:e.uri,protocol:e.protocol||"https"}}function defaultFactory(e,t){return new c(e,t)}class ProxyAgent extends l{constructor(e){super(e);this[r]=buildProxyOptions(e);this[g]=new a(e);this[o]=e.interceptors&&e.interceptors.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[];if(typeof e==="string"){e={uri:e}}if(!e||!e.uri){throw new u("Proxy opts.uri is mandatory")}const{clientFactory:t=defaultFactory}=e;if(typeof t!=="function"){throw new u("Proxy opts.clientFactory must be a function.")}this[m]=e.requestTls;this[C]=e.proxyTls;this[E]=e.headers||{};const s=new A(e.uri);const{origin:n,port:i,host:c,username:l,password:Q}=s;if(e.auth&&e.token){throw new u("opts.auth cannot be used in combination with opts.token")}else if(e.auth){this[E]["proxy-authorization"]=`Basic ${e.auth}`}else if(e.token){this[E]["proxy-authorization"]=e.token}else if(l&&Q){this[E]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(l)}:${decodeURIComponent(Q)}`).toString("base64")}`}const I=d({...e.proxyTls});this[B]=d({...e.requestTls});this[h]=t(s,{connect:I});this[g]=new a({...e,connect:async(e,t)=>{let s=e.host;if(!e.port){s+=`:${defaultProtocolPort(e.protocol)}`}try{const{socket:r,statusCode:o}=await this[h].connect({origin:n,port:i,path:s,signal:e.signal,headers:{...this[E],host:c}});if(o!==200){r.on("error",(()=>{})).destroy();t(new p(`Proxy response (${o}) !== 200 when HTTP Tunneling`))}if(e.protocol!=="https:"){t(null,r);return}let A;if(this[m]){A=this[m].servername}else{A=e.servername}this[B]({...e,servername:A,httpSocket:r},t)}catch(e){t(e)}}})}dispatch(e,t){const{host:s}=new A(e.origin);const r=buildHeaders(e.headers);throwIfProxyAuthIsSent(r);return this[g].dispatch({...e,headers:{...r,host:s}},t)}async[n](){await this[g].close();await this[h].close()}async[i](){await this[g].destroy();await this[h].destroy()}}function buildHeaders(e){if(Array.isArray(e)){const t={};for(let s=0;se.toLowerCase()==="proxy-authorization"));if(t){throw new u("Proxy-Authorization should be sent in ProxyAgent constructor")}}e.exports=ProxyAgent},2950:e=>{"use strict";let t=Date.now();let s;const r=[];function onTimeout(){t=Date.now();let e=r.length;let s=0;while(s0&&t>=n.state){n.state=-1;n.callback(n.opaque)}if(n.state===-1){n.state=-2;if(s!==e-1){r[s]=r.pop()}else{r.pop()}e-=1}else{s+=1}}if(r.length>0){refreshTimeout()}}function refreshTimeout(){if(s&&s.refresh){s.refresh()}else{clearTimeout(s);s=setTimeout(onTimeout,1e3);if(s.unref){s.unref()}}}class Timeout{constructor(e,t,s){this.callback=e;this.delay=t;this.opaque=s;this.state=-2;this.refresh()}refresh(){if(this.state===-2){r.push(this);if(!s||r.length===1){refreshTimeout()}}this.state=0}clear(){this.state=-1}}e.exports={setTimeout(e,t,s){return t<1e3?setTimeout(e,t,s):new Timeout(e,t,s)},clearTimeout(e){if(e instanceof Timeout){e.clear()}else{clearTimeout(e)}}}},5456:(e,t,s)=>{"use strict";const r=s(1637);const{uid:n,states:i}=s(6563);const{kReadyState:o,kSentClose:A,kByteParser:a,kReceivedClose:c}=s(8591);const{fireEvent:l,failWebsocketConnection:u}=s(3852);const{CloseEvent:p}=s(3641);const{makeRequest:d}=s(1516);const{fetching:g}=s(9401);const{Headers:h}=s(9951);const{getGlobalDispatcher:E}=s(9507);const{kHeadersList:m}=s(701);const C={};C.open=r.channel("undici:websocket:open");C.close=r.channel("undici:websocket:close");C.socketError=r.channel("undici:websocket:socket_error");let B;try{B=s(6982)}catch{}function establishWebSocketConnection(e,t,s,r,i){const o=e;o.protocol=e.protocol==="ws:"?"http:":"https:";const A=d({urlList:[o],serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(i.headers){const e=new h(i.headers)[m];A.headersList=e}const a=B.randomBytes(16).toString("base64");A.headersList.append("sec-websocket-key",a);A.headersList.append("sec-websocket-version","13");for(const e of t){A.headersList.append("sec-websocket-protocol",e)}const c="";const l=g({request:A,useParallelQueue:true,dispatcher:i.dispatcher??E(),processResponse(e){if(e.type==="error"||e.status!==101){u(s,"Received network error or non-101 status code.");return}if(t.length!==0&&!e.headersList.get("Sec-WebSocket-Protocol")){u(s,"Server did not respond with sent protocols.");return}if(e.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){u(s,'Server did not set Upgrade header to "websocket".');return}if(e.headersList.get("Connection")?.toLowerCase()!=="upgrade"){u(s,'Server did not set Connection header to "upgrade".');return}const i=e.headersList.get("Sec-WebSocket-Accept");const o=B.createHash("sha1").update(a+n).digest("base64");if(i!==o){u(s,"Incorrect hash received in Sec-WebSocket-Accept header.");return}const l=e.headersList.get("Sec-WebSocket-Extensions");if(l!==null&&l!==c){u(s,"Received different permessage-deflate than the one set.");return}const p=e.headersList.get("Sec-WebSocket-Protocol");if(p!==null&&p!==A.headersList.get("Sec-WebSocket-Protocol")){u(s,"Protocol was not set in the opening handshake.");return}e.socket.on("data",onSocketData);e.socket.on("close",onSocketClose);e.socket.on("error",onSocketError);if(C.open.hasSubscribers){C.open.publish({address:e.socket.address(),protocol:p,extensions:l})}r(e)}});return l}function onSocketData(e){if(!this.ws[a].write(e)){this.pause()}}function onSocketClose(){const{ws:e}=this;const t=e[A]&&e[c];let s=1005;let r="";const n=e[a].closingInfo;if(n){s=n.code??1005;r=n.reason}else if(!e[A]){s=1006}e[o]=i.CLOSED;l("close",e,p,{wasClean:t,code:s,reason:r});if(C.close.hasSubscribers){C.close.publish({websocket:e,code:s,reason:r})}}function onSocketError(e){const{ws:t}=this;t[o]=i.CLOSING;if(C.socketError.hasSubscribers){C.socketError.publish(e)}this.destroy()}e.exports={establishWebSocketConnection:establishWebSocketConnection}},6563:e=>{"use strict";const t="258EAFA5-E914-47DA-95CA-C5AB0DC85B11";const s={enumerable:true,writable:false,configurable:false};const r={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3};const n={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10};const i=2**16-1;const o={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4};const A=Buffer.allocUnsafe(0);e.exports={uid:t,staticPropertyDescriptors:s,states:r,opcodes:n,maxUnsigned16Bit:i,parserStates:o,emptyBuffer:A}},3641:(e,t,s)=>{"use strict";const{webidl:r}=s(9076);const{kEnumerableProperty:n}=s(1950);const{MessagePort:i}=s(8167);class MessageEvent extends Event{#i;constructor(e,t={}){r.argumentLengthCheck(arguments,1,{header:"MessageEvent constructor"});e=r.converters.DOMString(e);t=r.converters.MessageEventInit(t);super(e,t);this.#i=t}get data(){r.brandCheck(this,MessageEvent);return this.#i.data}get origin(){r.brandCheck(this,MessageEvent);return this.#i.origin}get lastEventId(){r.brandCheck(this,MessageEvent);return this.#i.lastEventId}get source(){r.brandCheck(this,MessageEvent);return this.#i.source}get ports(){r.brandCheck(this,MessageEvent);if(!Object.isFrozen(this.#i.ports)){Object.freeze(this.#i.ports)}return this.#i.ports}initMessageEvent(e,t=false,s=false,n=null,i="",o="",A=null,a=[]){r.brandCheck(this,MessageEvent);r.argumentLengthCheck(arguments,1,{header:"MessageEvent.initMessageEvent"});return new MessageEvent(e,{bubbles:t,cancelable:s,data:n,origin:i,lastEventId:o,source:A,ports:a})}}class CloseEvent extends Event{#i;constructor(e,t={}){r.argumentLengthCheck(arguments,1,{header:"CloseEvent constructor"});e=r.converters.DOMString(e);t=r.converters.CloseEventInit(t);super(e,t);this.#i=t}get wasClean(){r.brandCheck(this,CloseEvent);return this.#i.wasClean}get code(){r.brandCheck(this,CloseEvent);return this.#i.code}get reason(){r.brandCheck(this,CloseEvent);return this.#i.reason}}class ErrorEvent extends Event{#i;constructor(e,t){r.argumentLengthCheck(arguments,1,{header:"ErrorEvent constructor"});super(e,t);e=r.converters.DOMString(e);t=r.converters.ErrorEventInit(t??{});this.#i=t}get message(){r.brandCheck(this,ErrorEvent);return this.#i.message}get filename(){r.brandCheck(this,ErrorEvent);return this.#i.filename}get lineno(){r.brandCheck(this,ErrorEvent);return this.#i.lineno}get colno(){r.brandCheck(this,ErrorEvent);return this.#i.colno}get error(){r.brandCheck(this,ErrorEvent);return this.#i.error}}Object.defineProperties(MessageEvent.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:true},data:n,origin:n,lastEventId:n,source:n,ports:n,initMessageEvent:n});Object.defineProperties(CloseEvent.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:true},reason:n,code:n,wasClean:n});Object.defineProperties(ErrorEvent.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:true},message:n,filename:n,lineno:n,colno:n,error:n});r.converters.MessagePort=r.interfaceConverter(i);r.converters["sequence"]=r.sequenceConverter(r.converters.MessagePort);const o=[{key:"bubbles",converter:r.converters.boolean,defaultValue:false},{key:"cancelable",converter:r.converters.boolean,defaultValue:false},{key:"composed",converter:r.converters.boolean,defaultValue:false}];r.converters.MessageEventInit=r.dictionaryConverter([...o,{key:"data",converter:r.converters.any,defaultValue:null},{key:"origin",converter:r.converters.USVString,defaultValue:""},{key:"lastEventId",converter:r.converters.DOMString,defaultValue:""},{key:"source",converter:r.nullableConverter(r.converters.MessagePort),defaultValue:null},{key:"ports",converter:r.converters["sequence"],get defaultValue(){return[]}}]);r.converters.CloseEventInit=r.dictionaryConverter([...o,{key:"wasClean",converter:r.converters.boolean,defaultValue:false},{key:"code",converter:r.converters["unsigned short"],defaultValue:0},{key:"reason",converter:r.converters.USVString,defaultValue:""}]);r.converters.ErrorEventInit=r.dictionaryConverter([...o,{key:"message",converter:r.converters.DOMString,defaultValue:""},{key:"filename",converter:r.converters.USVString,defaultValue:""},{key:"lineno",converter:r.converters["unsigned long"],defaultValue:0},{key:"colno",converter:r.converters["unsigned long"],defaultValue:0},{key:"error",converter:r.converters.any}]);e.exports={MessageEvent:MessageEvent,CloseEvent:CloseEvent,ErrorEvent:ErrorEvent}},407:(e,t,s)=>{"use strict";const{maxUnsigned16Bit:r}=s(6563);let n;try{n=s(6982)}catch{}class WebsocketFrameSend{constructor(e){this.frameData=e;this.maskKey=n.randomBytes(4)}createFrame(e){const t=this.frameData?.byteLength??0;let s=t;let n=6;if(t>r){n+=8;s=127}else if(t>125){n+=2;s=126}const i=Buffer.allocUnsafe(t+n);i[0]=i[1]=0;i[0]|=128;i[0]=(i[0]&240)+e; +/*! ws. MIT License. Einar Otto Stangvik */i[n-4]=this.maskKey[0];i[n-3]=this.maskKey[1];i[n-2]=this.maskKey[2];i[n-1]=this.maskKey[3];i[1]=s;if(s===126){i.writeUInt16BE(t,2)}else if(s===127){i[2]=i[3]=0;i.writeUIntBE(t,4,6)}i[1]|=128;for(let e=0;e{"use strict";const{Writable:r}=s(2203);const n=s(1637);const{parserStates:i,opcodes:o,states:A,emptyBuffer:a}=s(6563);const{kReadyState:c,kSentClose:l,kResponse:u,kReceivedClose:p}=s(8591);const{isValidStatusCode:d,failWebsocketConnection:g,websocketMessageReceived:h}=s(3852);const{WebsocketFrameSend:E}=s(407);const m={};m.ping=n.channel("undici:websocket:ping");m.pong=n.channel("undici:websocket:pong");class ByteParser extends r{#o=[];#A=0;#a=i.INFO;#c={};#l=[];constructor(e){super();this.ws=e}_write(e,t,s){this.#o.push(e);this.#A+=e.length;this.run(s)}run(e){while(true){if(this.#a===i.INFO){if(this.#A<2){return e()}const t=this.consume(2);this.#c.fin=(t[0]&128)!==0;this.#c.opcode=t[0]&15;this.#c.originalOpcode??=this.#c.opcode;this.#c.fragmented=!this.#c.fin&&this.#c.opcode!==o.CONTINUATION;if(this.#c.fragmented&&this.#c.opcode!==o.BINARY&&this.#c.opcode!==o.TEXT){g(this.ws,"Invalid frame type was fragmented.");return}const s=t[1]&127;if(s<=125){this.#c.payloadLength=s;this.#a=i.READ_DATA}else if(s===126){this.#a=i.PAYLOADLENGTH_16}else if(s===127){this.#a=i.PAYLOADLENGTH_64}if(this.#c.fragmented&&s>125){g(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#c.opcode===o.PING||this.#c.opcode===o.PONG||this.#c.opcode===o.CLOSE)&&s>125){g(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#c.opcode===o.CLOSE){if(s===1){g(this.ws,"Received close frame with a 1-byte body.");return}const e=this.consume(s);this.#c.closeInfo=this.parseCloseBody(false,e);if(!this.ws[l]){const e=Buffer.allocUnsafe(2);e.writeUInt16BE(this.#c.closeInfo.code,0);const t=new E(e);this.ws[u].socket.write(t.createFrame(o.CLOSE),(e=>{if(!e){this.ws[l]=true}}))}this.ws[c]=A.CLOSING;this.ws[p]=true;this.end();return}else if(this.#c.opcode===o.PING){const t=this.consume(s);if(!this.ws[p]){const e=new E(t);this.ws[u].socket.write(e.createFrame(o.PONG));if(m.ping.hasSubscribers){m.ping.publish({payload:t})}}this.#a=i.INFO;if(this.#A>0){continue}else{e();return}}else if(this.#c.opcode===o.PONG){const t=this.consume(s);if(m.pong.hasSubscribers){m.pong.publish({payload:t})}if(this.#A>0){continue}else{e();return}}}else if(this.#a===i.PAYLOADLENGTH_16){if(this.#A<2){return e()}const t=this.consume(2);this.#c.payloadLength=t.readUInt16BE(0);this.#a=i.READ_DATA}else if(this.#a===i.PAYLOADLENGTH_64){if(this.#A<8){return e()}const t=this.consume(8);const s=t.readUInt32BE(0);if(s>2**31-1){g(this.ws,"Received payload length > 2^31 bytes.");return}const r=t.readUInt32BE(4);this.#c.payloadLength=(s<<8)+r;this.#a=i.READ_DATA}else if(this.#a===i.READ_DATA){if(this.#A=this.#c.payloadLength){const e=this.consume(this.#c.payloadLength);this.#l.push(e);if(!this.#c.fragmented||this.#c.fin&&this.#c.opcode===o.CONTINUATION){const e=Buffer.concat(this.#l);h(this.ws,this.#c.originalOpcode,e);this.#c={};this.#l.length=0}this.#a=i.INFO}}if(this.#A>0){continue}else{e();break}}}consume(e){if(e>this.#A){return null}else if(e===0){return a}if(this.#o[0].length===e){this.#A-=this.#o[0].length;return this.#o.shift()}const t=Buffer.allocUnsafe(e);let s=0;while(s!==e){const r=this.#o[0];const{length:n}=r;if(n+s===e){t.set(this.#o.shift(),s);break}else if(n+s>e){t.set(r.subarray(0,e-s),s);this.#o[0]=r.subarray(e-s);break}else{t.set(this.#o.shift(),s);s+=r.length}}this.#A-=e;return t}parseCloseBody(e,t){let s;if(t.length>=2){s=t.readUInt16BE(0)}if(e){if(!d(s)){return null}return{code:s}}let r=t.subarray(2);if(r[0]===239&&r[1]===187&&r[2]===191){r=r.subarray(3)}if(s!==undefined&&!d(s)){return null}try{r=new TextDecoder("utf-8",{fatal:true}).decode(r)}catch{return null}return{code:s,reason:r}}get closingInfo(){return this.#c.closeInfo}}e.exports={ByteParser:ByteParser}},8591:e=>{"use strict";e.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},3852:(e,t,s)=>{"use strict";const{kReadyState:r,kController:n,kResponse:i,kBinaryType:o,kWebSocketURL:A}=s(8591);const{states:a,opcodes:c}=s(6563);const{MessageEvent:l,ErrorEvent:u}=s(3641);function isEstablished(e){return e[r]===a.OPEN}function isClosing(e){return e[r]===a.CLOSING}function isClosed(e){return e[r]===a.CLOSED}function fireEvent(e,t,s=Event,r){const n=new s(e,r);t.dispatchEvent(n)}function websocketMessageReceived(e,t,s){if(e[r]!==a.OPEN){return}let n;if(t===c.TEXT){try{n=new TextDecoder("utf-8",{fatal:true}).decode(s)}catch{failWebsocketConnection(e,"Received invalid UTF-8 in text frame.");return}}else if(t===c.BINARY){if(e[o]==="blob"){n=new Blob([s])}else{n=new Uint8Array(s).buffer}}fireEvent("message",e,l,{origin:e[A].origin,data:n})}function isValidSubprotocol(e){if(e.length===0){return false}for(const t of e){const e=t.charCodeAt(0);if(e<33||e>126||t==="("||t===")"||t==="<"||t===">"||t==="@"||t===","||t===";"||t===":"||t==="\\"||t==='"'||t==="/"||t==="["||t==="]"||t==="?"||t==="="||t==="{"||t==="}"||e===32||e===9){return false}}return true}function isValidStatusCode(e){if(e>=1e3&&e<1015){return e!==1004&&e!==1005&&e!==1006}return e>=3e3&&e<=4999}function failWebsocketConnection(e,t){const{[n]:s,[i]:r}=e;s.abort();if(r?.socket&&!r.socket.destroyed){r.socket.destroy()}if(t){fireEvent("error",e,u,{error:new Error(t)})}}e.exports={isEstablished:isEstablished,isClosing:isClosing,isClosed:isClosed,fireEvent:fireEvent,isValidSubprotocol:isValidSubprotocol,isValidStatusCode:isValidStatusCode,failWebsocketConnection:failWebsocketConnection,websocketMessageReceived:websocketMessageReceived}},2749:(e,t,s)=>{"use strict";const{webidl:r}=s(9076);const{DOMException:n}=s(9680);const{URLSerializer:i}=s(2656);const{getGlobalOrigin:o}=s(7689);const{staticPropertyDescriptors:A,states:a,opcodes:c,emptyBuffer:l}=s(6563);const{kWebSocketURL:u,kReadyState:p,kController:d,kBinaryType:g,kResponse:h,kSentClose:E,kByteParser:m}=s(8591);const{isEstablished:C,isClosing:B,isValidSubprotocol:Q,failWebsocketConnection:I,fireEvent:b}=s(3852);const{establishWebSocketConnection:y}=s(5456);const{WebsocketFrameSend:w}=s(407);const{ByteParser:v}=s(417);const{kEnumerableProperty:k,isBlobLike:x}=s(1950);const{getGlobalDispatcher:R}=s(9507);const{types:D}=s(9023);let S=false;class WebSocket extends EventTarget{#u={open:null,error:null,close:null,message:null};#p=0;#d="";#g="";constructor(e,t=[]){super();r.argumentLengthCheck(arguments,1,{header:"WebSocket constructor"});if(!S){S=true;process.emitWarning("WebSockets are experimental, expect them to change at any time.",{code:"UNDICI-WS"})}const s=r.converters["DOMString or sequence or WebSocketInit"](t);e=r.converters.USVString(e);t=s.protocols;const i=o();let A;try{A=new URL(e,i)}catch(e){throw new n(e,"SyntaxError")}if(A.protocol==="http:"){A.protocol="ws:"}else if(A.protocol==="https:"){A.protocol="wss:"}if(A.protocol!=="ws:"&&A.protocol!=="wss:"){throw new n(`Expected a ws: or wss: protocol, got ${A.protocol}`,"SyntaxError")}if(A.hash||A.href.endsWith("#")){throw new n("Got fragment","SyntaxError")}if(typeof t==="string"){t=[t]}if(t.length!==new Set(t.map((e=>e.toLowerCase()))).size){throw new n("Invalid Sec-WebSocket-Protocol value","SyntaxError")}if(t.length>0&&!t.every((e=>Q(e)))){throw new n("Invalid Sec-WebSocket-Protocol value","SyntaxError")}this[u]=new URL(A.href);this[d]=y(A,t,this,(e=>this.#h(e)),s);this[p]=WebSocket.CONNECTING;this[g]="blob"}close(e=undefined,t=undefined){r.brandCheck(this,WebSocket);if(e!==undefined){e=r.converters["unsigned short"](e,{clamp:true})}if(t!==undefined){t=r.converters.USVString(t)}if(e!==undefined){if(e!==1e3&&(e<3e3||e>4999)){throw new n("invalid code","InvalidAccessError")}}let s=0;if(t!==undefined){s=Buffer.byteLength(t);if(s>123){throw new n(`Reason must be less than 123 bytes; received ${s}`,"SyntaxError")}}if(this[p]===WebSocket.CLOSING||this[p]===WebSocket.CLOSED){}else if(!C(this)){I(this,"Connection was closed before it was established.");this[p]=WebSocket.CLOSING}else if(!B(this)){const r=new w;if(e!==undefined&&t===undefined){r.frameData=Buffer.allocUnsafe(2);r.frameData.writeUInt16BE(e,0)}else if(e!==undefined&&t!==undefined){r.frameData=Buffer.allocUnsafe(2+s);r.frameData.writeUInt16BE(e,0);r.frameData.write(t,2,"utf-8")}else{r.frameData=l}const n=this[h].socket;n.write(r.createFrame(c.CLOSE),(e=>{if(!e){this[E]=true}}));this[p]=a.CLOSING}else{this[p]=WebSocket.CLOSING}}send(e){r.brandCheck(this,WebSocket);r.argumentLengthCheck(arguments,1,{header:"WebSocket.send"});e=r.converters.WebSocketSendData(e);if(this[p]===WebSocket.CONNECTING){throw new n("Sent before connected.","InvalidStateError")}if(!C(this)||B(this)){return}const t=this[h].socket;if(typeof e==="string"){const s=Buffer.from(e);const r=new w(s);const n=r.createFrame(c.TEXT);this.#p+=s.byteLength;t.write(n,(()=>{this.#p-=s.byteLength}))}else if(D.isArrayBuffer(e)){const s=Buffer.from(e);const r=new w(s);const n=r.createFrame(c.BINARY);this.#p+=s.byteLength;t.write(n,(()=>{this.#p-=s.byteLength}))}else if(ArrayBuffer.isView(e)){const s=Buffer.from(e,e.byteOffset,e.byteLength);const r=new w(s);const n=r.createFrame(c.BINARY);this.#p+=s.byteLength;t.write(n,(()=>{this.#p-=s.byteLength}))}else if(x(e)){const s=new w;e.arrayBuffer().then((e=>{const r=Buffer.from(e);s.frameData=r;const n=s.createFrame(c.BINARY);this.#p+=r.byteLength;t.write(n,(()=>{this.#p-=r.byteLength}))}))}}get readyState(){r.brandCheck(this,WebSocket);return this[p]}get bufferedAmount(){r.brandCheck(this,WebSocket);return this.#p}get url(){r.brandCheck(this,WebSocket);return i(this[u])}get extensions(){r.brandCheck(this,WebSocket);return this.#g}get protocol(){r.brandCheck(this,WebSocket);return this.#d}get onopen(){r.brandCheck(this,WebSocket);return this.#u.open}set onopen(e){r.brandCheck(this,WebSocket);if(this.#u.open){this.removeEventListener("open",this.#u.open)}if(typeof e==="function"){this.#u.open=e;this.addEventListener("open",e)}else{this.#u.open=null}}get onerror(){r.brandCheck(this,WebSocket);return this.#u.error}set onerror(e){r.brandCheck(this,WebSocket);if(this.#u.error){this.removeEventListener("error",this.#u.error)}if(typeof e==="function"){this.#u.error=e;this.addEventListener("error",e)}else{this.#u.error=null}}get onclose(){r.brandCheck(this,WebSocket);return this.#u.close}set onclose(e){r.brandCheck(this,WebSocket);if(this.#u.close){this.removeEventListener("close",this.#u.close)}if(typeof e==="function"){this.#u.close=e;this.addEventListener("close",e)}else{this.#u.close=null}}get onmessage(){r.brandCheck(this,WebSocket);return this.#u.message}set onmessage(e){r.brandCheck(this,WebSocket);if(this.#u.message){this.removeEventListener("message",this.#u.message)}if(typeof e==="function"){this.#u.message=e;this.addEventListener("message",e)}else{this.#u.message=null}}get binaryType(){r.brandCheck(this,WebSocket);return this[g]}set binaryType(e){r.brandCheck(this,WebSocket);if(e!=="blob"&&e!=="arraybuffer"){this[g]="blob"}else{this[g]=e}}#h(e){this[h]=e;const t=new v(this);t.on("drain",(function onParserDrain(){this.ws[h].socket.resume()}));e.socket.ws=this;this[m]=t;this[p]=a.OPEN;const s=e.headersList.get("sec-websocket-extensions");if(s!==null){this.#g=s}const r=e.headersList.get("sec-websocket-protocol");if(r!==null){this.#d=r}b("open",this)}}WebSocket.CONNECTING=WebSocket.prototype.CONNECTING=a.CONNECTING;WebSocket.OPEN=WebSocket.prototype.OPEN=a.OPEN;WebSocket.CLOSING=WebSocket.prototype.CLOSING=a.CLOSING;WebSocket.CLOSED=WebSocket.prototype.CLOSED=a.CLOSED;Object.defineProperties(WebSocket.prototype,{CONNECTING:A,OPEN:A,CLOSING:A,CLOSED:A,url:k,readyState:k,bufferedAmount:k,onopen:k,onerror:k,onclose:k,close:k,onmessage:k,binaryType:k,send:k,extensions:k,protocol:k,[Symbol.toStringTag]:{value:"WebSocket",writable:false,enumerable:false,configurable:true}});Object.defineProperties(WebSocket,{CONNECTING:A,OPEN:A,CLOSING:A,CLOSED:A});r.converters["sequence"]=r.sequenceConverter(r.converters.DOMString);r.converters["DOMString or sequence"]=function(e){if(r.util.Type(e)==="Object"&&Symbol.iterator in e){return r.converters["sequence"](e)}return r.converters.DOMString(e)};r.converters.WebSocketInit=r.dictionaryConverter([{key:"protocols",converter:r.converters["DOMString or sequence"],get defaultValue(){return[]}},{key:"dispatcher",converter:e=>e,get defaultValue(){return R()}},{key:"headers",converter:r.nullableConverter(r.converters.HeadersInit)}]);r.converters["DOMString or sequence or WebSocketInit"]=function(e){if(r.util.Type(e)==="Object"&&!(Symbol.iterator in e)){return r.converters.WebSocketInit(e)}return{protocols:r.converters["DOMString or sequence"](e)}};r.converters.WebSocketSendData=function(e){if(r.util.Type(e)==="Object"){if(x(e)){return r.converters.Blob(e,{strict:false})}if(ArrayBuffer.isView(e)||D.isAnyArrayBuffer(e)){return r.converters.BufferSource(e)}}return r.converters.USVString(e)};e.exports={WebSocket:WebSocket}},4279:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function getUserAgent(){if(typeof navigator==="object"&&"userAgent"in navigator){return navigator.userAgent}if(typeof process==="object"&&"version"in process){return`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`}return""}t.getUserAgent=getUserAgent},9487:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"v1",{enumerable:true,get:function(){return r.default}});Object.defineProperty(t,"v3",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"v4",{enumerable:true,get:function(){return i.default}});Object.defineProperty(t,"v5",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"NIL",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"version",{enumerable:true,get:function(){return a.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"stringify",{enumerable:true,get:function(){return l.default}});Object.defineProperty(t,"parse",{enumerable:true,get:function(){return u.default}});var r=_interopRequireDefault(s(1166));var n=_interopRequireDefault(s(6708));var i=_interopRequireDefault(s(4305));var o=_interopRequireDefault(s(3378));var A=_interopRequireDefault(s(3160));var a=_interopRequireDefault(s(8191));var c=_interopRequireDefault(s(5181));var l=_interopRequireDefault(s(70));var u=_interopRequireDefault(s(9912));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},7911:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r=_interopRequireDefault(s(6982));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function md5(e){if(Array.isArray(e)){e=Buffer.from(e)}else if(typeof e==="string"){e=Buffer.from(e,"utf8")}return r.default.createHash("md5").update(e).digest()}var n=md5;t["default"]=n},3160:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s="00000000-0000-0000-0000-000000000000";t["default"]=s},9912:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r=_interopRequireDefault(s(5181));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function parse(e){if(!(0,r.default)(e)){throw TypeError("Invalid UUID")}let t;const s=new Uint8Array(16);s[0]=(t=parseInt(e.slice(0,8),16))>>>24;s[1]=t>>>16&255;s[2]=t>>>8&255;s[3]=t&255;s[4]=(t=parseInt(e.slice(9,13),16))>>>8;s[5]=t&255;s[6]=(t=parseInt(e.slice(14,18),16))>>>8;s[7]=t&255;s[8]=(t=parseInt(e.slice(19,23),16))>>>8;s[9]=t&255;s[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255;s[11]=t/4294967296&255;s[12]=t>>>24&255;s[13]=t>>>16&255;s[14]=t>>>8&255;s[15]=t&255;return s}var n=parse;t["default"]=n},4968:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;t["default"]=s},1370:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=rng;var r=_interopRequireDefault(s(6982));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const n=new Uint8Array(256);let i=n.length;function rng(){if(i>n.length-16){r.default.randomFillSync(n);i=0}return n.slice(i,i+=16)}},994:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r=_interopRequireDefault(s(6982));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function sha1(e){if(Array.isArray(e)){e=Buffer.from(e)}else if(typeof e==="string"){e=Buffer.from(e,"utf8")}return r.default.createHash("sha1").update(e).digest()}var n=sha1;t["default"]=n},70:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r=_interopRequireDefault(s(5181));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const n=[];for(let e=0;e<256;++e){n.push((e+256).toString(16).substr(1))}function stringify(e,t=0){const s=(n[e[t+0]]+n[e[t+1]]+n[e[t+2]]+n[e[t+3]]+"-"+n[e[t+4]]+n[e[t+5]]+"-"+n[e[t+6]]+n[e[t+7]]+"-"+n[e[t+8]]+n[e[t+9]]+"-"+n[e[t+10]]+n[e[t+11]]+n[e[t+12]]+n[e[t+13]]+n[e[t+14]]+n[e[t+15]]).toLowerCase();if(!(0,r.default)(s)){throw TypeError("Stringified UUID is invalid")}return s}var i=stringify;t["default"]=i},1166:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r=_interopRequireDefault(s(1370));var n=_interopRequireDefault(s(70));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}let i;let o;let A=0;let a=0;function v1(e,t,s){let c=t&&s||0;const l=t||new Array(16);e=e||{};let u=e.node||i;let p=e.clockseq!==undefined?e.clockseq:o;if(u==null||p==null){const t=e.random||(e.rng||r.default)();if(u==null){u=i=[t[0]|1,t[1],t[2],t[3],t[4],t[5]]}if(p==null){p=o=(t[6]<<8|t[7])&16383}}let d=e.msecs!==undefined?e.msecs:Date.now();let g=e.nsecs!==undefined?e.nsecs:a+1;const h=d-A+(g-a)/1e4;if(h<0&&e.clockseq===undefined){p=p+1&16383}if((h<0||d>A)&&e.nsecs===undefined){g=0}if(g>=1e4){throw new Error("uuid.v1(): Can't create more than 10M uuids/sec")}A=d;a=g;o=p;d+=122192928e5;const E=((d&268435455)*1e4+g)%4294967296;l[c++]=E>>>24&255;l[c++]=E>>>16&255;l[c++]=E>>>8&255;l[c++]=E&255;const m=d/4294967296*1e4&268435455;l[c++]=m>>>8&255;l[c++]=m&255;l[c++]=m>>>24&15|16;l[c++]=m>>>16&255;l[c++]=p>>>8|128;l[c++]=p&255;for(let e=0;e<6;++e){l[c+e]=u[e]}return t||(0,n.default)(l)}var c=v1;t["default"]=c},6708:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r=_interopRequireDefault(s(6113));var n=_interopRequireDefault(s(7911));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const i=(0,r.default)("v3",48,n.default);var o=i;t["default"]=o},6113:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=_default;t.URL=t.DNS=void 0;var r=_interopRequireDefault(s(70));var n=_interopRequireDefault(s(9912));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function stringToBytes(e){e=unescape(encodeURIComponent(e));const t=[];for(let s=0;s{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r=_interopRequireDefault(s(1370));var n=_interopRequireDefault(s(70));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function v4(e,t,s){e=e||{};const i=e.random||(e.rng||r.default)();i[6]=i[6]&15|64;i[8]=i[8]&63|128;if(t){s=s||0;for(let e=0;e<16;++e){t[s+e]=i[e]}return t}return(0,n.default)(i)}var i=v4;t["default"]=i},3378:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r=_interopRequireDefault(s(6113));var n=_interopRequireDefault(s(994));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const i=(0,r.default)("v5",80,n.default);var o=i;t["default"]=o},5181:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r=_interopRequireDefault(s(4968));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function validate(e){return typeof e==="string"&&r.default.test(e)}var n=validate;t["default"]=n},8191:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r=_interopRequireDefault(s(5181));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function version(e){if(!(0,r.default)(e)){throw TypeError("Invalid UUID")}return parseInt(e.substr(14,1),16)}var n=version;t["default"]=n},4749:e=>{e.exports=wrappy;function wrappy(e,t){if(e&&t)return wrappy(e)(t);if(typeof e!=="function")throw new TypeError("need wrapper function");Object.keys(e).forEach((function(t){wrapper[t]=e[t]}));return wrapper;function wrapper(){var t=new Array(arguments.length);for(var s=0;s{module.exports=eval("require")("supports-color")},2613:e=>{"use strict";e.exports=require("assert")},290:e=>{"use strict";e.exports=require("async_hooks")},181:e=>{"use strict";e.exports=require("buffer")},5317:e=>{"use strict";e.exports=require("child_process")},4236:e=>{"use strict";e.exports=require("console")},6982:e=>{"use strict";e.exports=require("crypto")},1637:e=>{"use strict";e.exports=require("diagnostics_channel")},4434:e=>{"use strict";e.exports=require("events")},9896:e=>{"use strict";e.exports=require("fs")},8611:e=>{"use strict";e.exports=require("http")},5675:e=>{"use strict";e.exports=require("http2")},5692:e=>{"use strict";e.exports=require("https")},9278:e=>{"use strict";e.exports=require("net")},8474:e=>{"use strict";e.exports=require("node:events")},3024:e=>{"use strict";e.exports=require("node:fs")},8161:e=>{"use strict";e.exports=require("node:os")},6760:e=>{"use strict";e.exports=require("node:path")},1792:e=>{"use strict";e.exports=require("node:querystring")},7075:e=>{"use strict";e.exports=require("node:stream")},7975:e=>{"use strict";e.exports=require("node:util")},8522:e=>{"use strict";e.exports=require("node:zlib")},857:e=>{"use strict";e.exports=require("os")},6928:e=>{"use strict";e.exports=require("path")},2987:e=>{"use strict";e.exports=require("perf_hooks")},3480:e=>{"use strict";e.exports=require("querystring")},2203:e=>{"use strict";e.exports=require("stream")},3774:e=>{"use strict";e.exports=require("stream/web")},3193:e=>{"use strict";e.exports=require("string_decoder")},3557:e=>{"use strict";e.exports=require("timers")},4756:e=>{"use strict";e.exports=require("tls")},2018:e=>{"use strict";e.exports=require("tty")},7016:e=>{"use strict";e.exports=require("url")},9023:e=>{"use strict";e.exports=require("util")},8253:e=>{"use strict";e.exports=require("util/types")},8167:e=>{"use strict";e.exports=require("worker_threads")},3106:e=>{"use strict";e.exports=require("zlib")},3247:(e,t,s)=>{"use strict";const r=s(7075).Writable;const n=s(7975).inherits;const i=s(6933);const o=s(2543);const A=s(4944);const a=45;const c=Buffer.from("-");const l=Buffer.from("\r\n");const EMPTY_FN=function(){};function Dicer(e){if(!(this instanceof Dicer)){return new Dicer(e)}r.call(this,e);if(!e||!e.headerFirst&&typeof e.boundary!=="string"){throw new TypeError("Boundary required")}if(typeof e.boundary==="string"){this.setBoundary(e.boundary)}else{this._bparser=undefined}this._headerFirst=e.headerFirst;this._dashes=0;this._parts=0;this._finished=false;this._realFinish=false;this._isPreamble=true;this._justMatched=false;this._firstWrite=true;this._inHeader=true;this._part=undefined;this._cb=undefined;this._ignoreData=false;this._partOpts={highWaterMark:e.partHwm};this._pause=false;const t=this;this._hparser=new A(e);this._hparser.on("header",(function(e){t._inHeader=false;t._part.emit("header",e)}))}n(Dicer,r);Dicer.prototype.emit=function(e){if(e==="finish"&&!this._realFinish){if(!this._finished){const e=this;process.nextTick((function(){e.emit("error",new Error("Unexpected end of multipart data"));if(e._part&&!e._ignoreData){const t=e._isPreamble?"Preamble":"Part";e._part.emit("error",new Error(t+" terminated early due to unexpected end of multipart data"));e._part.push(null);process.nextTick((function(){e._realFinish=true;e.emit("finish");e._realFinish=false}));return}e._realFinish=true;e.emit("finish");e._realFinish=false}))}}else{r.prototype.emit.apply(this,arguments)}};Dicer.prototype._write=function(e,t,s){if(!this._hparser&&!this._bparser){return s()}if(this._headerFirst&&this._isPreamble){if(!this._part){this._part=new o(this._partOpts);if(this._events.preamble){this.emit("preamble",this._part)}else{this._ignore()}}const t=this._hparser.push(e);if(!this._inHeader&&t!==undefined&&t{"use strict";const r=s(8474).EventEmitter;const n=s(7975).inherits;const i=s(4324);const o=s(6933);const A=Buffer.from("\r\n\r\n");const a=/\r\n/g;const c=/^([^:]+):[ \t]?([\x00-\xFF]+)?$/;function HeaderParser(e){r.call(this);e=e||{};const t=this;this.nread=0;this.maxed=false;this.npairs=0;this.maxHeaderPairs=i(e,"maxHeaderPairs",2e3);this.maxHeaderSize=i(e,"maxHeaderSize",80*1024);this.buffer="";this.header={};this.finished=false;this.ss=new o(A);this.ss.on("info",(function(e,s,r,n){if(s&&!t.maxed){if(t.nread+n-r>=t.maxHeaderSize){n=t.maxHeaderSize-t.nread+r;t.nread=t.maxHeaderSize;t.maxed=true}else{t.nread+=n-r}t.buffer+=s.toString("binary",r,n)}if(e){t._finish()}}))}n(HeaderParser,r);HeaderParser.prototype.push=function(e){const t=this.ss.push(e);if(this.finished){return t}};HeaderParser.prototype.reset=function(){this.finished=false;this.buffer="";this.header={};this.ss.reset()};HeaderParser.prototype._finish=function(){if(this.buffer){this._parseHeader()}this.ss.matches=this.ss.maxMatches;const e=this.header;this.header={};this.buffer="";this.finished=true;this.nread=this.npairs=0;this.maxed=false;this.emit("header",e)};HeaderParser.prototype._parseHeader=function(){if(this.npairs===this.maxHeaderPairs){return}const e=this.buffer.split(a);const t=e.length;let s,r;for(var n=0;n{"use strict";const r=s(7975).inherits;const n=s(7075).Readable;function PartStream(e){n.call(this,e)}r(PartStream,n);PartStream.prototype._read=function(e){};e.exports=PartStream},6933:(e,t,s)=>{"use strict";const r=s(8474).EventEmitter;const n=s(7975).inherits;function SBMH(e){if(typeof e==="string"){e=Buffer.from(e)}if(!Buffer.isBuffer(e)){throw new TypeError("The needle has to be a String or a Buffer.")}const t=e.length;if(t===0){throw new Error("The needle cannot be an empty String/Buffer.")}if(t>256){throw new Error("The needle cannot have a length bigger than 256.")}this.maxMatches=Infinity;this.matches=0;this._occ=new Array(256).fill(t);this._lookbehind_size=0;this._needle=e;this._bufpos=0;this._lookbehind=Buffer.alloc(t);for(var s=0;s=0){this.emit("info",false,this._lookbehind,0,this._lookbehind_size);this._lookbehind_size=0}else{const s=this._lookbehind_size+i;if(s>0){this.emit("info",false,this._lookbehind,0,s)}this._lookbehind.copy(this._lookbehind,0,s,this._lookbehind_size-s);this._lookbehind_size-=s;e.copy(this._lookbehind,this._lookbehind_size);this._lookbehind_size+=t;this._bufpos=t;return t}}i+=(i>=0)*this._bufpos;if(e.indexOf(s,i)!==-1){i=e.indexOf(s,i);++this.matches;if(i>0){this.emit("info",true,e,this._bufpos,i)}else{this.emit("info",true)}return this._bufpos=i+r}else{i=t-r}while(i0){this.emit("info",false,e,this._bufpos,i{"use strict";const r=s(7075).Writable;const{inherits:n}=s(7975);const i=s(3247);const o=s(4135);const A=s(8282);const a=s(8270);function Busboy(e){if(!(this instanceof Busboy)){return new Busboy(e)}if(typeof e!=="object"){throw new TypeError("Busboy expected an options-Object.")}if(typeof e.headers!=="object"){throw new TypeError("Busboy expected an options-Object with headers-attribute.")}if(typeof e.headers["content-type"]!=="string"){throw new TypeError("Missing Content-Type-header.")}const{headers:t,...s}=e;this.opts={autoDestroy:false,...s};r.call(this,this.opts);this._done=false;this._parser=this.getParserByHeaders(t);this._finished=false}n(Busboy,r);Busboy.prototype.emit=function(e){if(e==="finish"){if(!this._done){this._parser?.end();return}else if(this._finished){return}this._finished=true}r.prototype.emit.apply(this,arguments)};Busboy.prototype.getParserByHeaders=function(e){const t=a(e["content-type"]);const s={defCharset:this.opts.defCharset,fileHwm:this.opts.fileHwm,headers:e,highWaterMark:this.opts.highWaterMark,isPartAFile:this.opts.isPartAFile,limits:this.opts.limits,parsedConType:t,preservePath:this.opts.preservePath};if(o.detect.test(t[0])){return new o(this,s)}if(A.detect.test(t[0])){return new A(this,s)}throw new Error("Unsupported Content-Type.")};Busboy.prototype._write=function(e,t,s){this._parser.write(e,s)};e.exports=Busboy;e.exports["default"]=Busboy;e.exports.Busboy=Busboy;e.exports.Dicer=i},4135:(e,t,s)=>{"use strict";const{Readable:r}=s(7075);const{inherits:n}=s(7975);const i=s(3247);const o=s(8270);const A=s(5290);const a=s(4345);const c=s(4324);const l=/^boundary$/i;const u=/^form-data$/i;const p=/^charset$/i;const d=/^filename$/i;const g=/^name$/i;Multipart.detect=/^multipart\/form-data/i;function Multipart(e,t){let s;let r;const n=this;let h;const E=t.limits;const m=t.isPartAFile||((e,t,s)=>t==="application/octet-stream"||s!==undefined);const C=t.parsedConType||[];const B=t.defCharset||"utf8";const Q=t.preservePath;const I={highWaterMark:t.fileHwm};for(s=0,r=C.length;sk){n.parser.removeListener("part",onPart);n.parser.on("part",skipPart);e.hitPartsLimit=true;e.emit("partsLimit");return skipPart(t)}if(U){const e=U;e.emit("end");e.removeAllListeners("end")}t.on("header",(function(i){let c;let l;let h;let E;let C;let k;let x=0;if(i["content-type"]){h=o(i["content-type"][0]);if(h[0]){c=h[0].toLowerCase();for(s=0,r=h.length;sy){const r=y-x+e.length;if(r>0){s.push(e.slice(0,r))}s.truncated=true;s.bytesRead=y;t.removeAllListeners("data");s.emit("limit");return}else if(!s.push(e)){n._pause=true}s.bytesRead=x};N=function(){T=undefined;s.push(null)}}else{if(S===v){if(!e.hitFieldsLimit){e.hitFieldsLimit=true;e.emit("fieldsLimit")}return skipPart(t)}++S;++F;let s="";let r=false;U=t;R=function(e){if((x+=e.length)>b){const n=b-(x-e.length);s+=e.toString("binary",0,n);r=true;t.removeAllListeners("data")}else{s+=e.toString("binary")}};N=function(){U=undefined;if(s.length){s=A(s,"binary",E)}e.emit("field",l,s,false,r,C,c);--F;checkFinished()}}t._readableState.sync=false;t.on("data",R);t.on("end",N)})).on("error",(function(e){if(T){T.emit("error",e)}}))})).on("error",(function(t){e.emit("error",t)})).on("finish",(function(){N=true;checkFinished()}))}Multipart.prototype.write=function(e,t){const s=this.parser.write(e);if(s&&!this._pause){t()}else{this._needDrain=!s;this._cb=t}};Multipart.prototype.end=function(){const e=this;if(e.parser.writable){e.parser.end()}else if(!e._boy._done){process.nextTick((function(){e._boy._done=true;e._boy.emit("finish")}))}};function skipPart(e){e.resume()}function FileStream(e){r.call(this,e);this.bytesRead=0;this.truncated=false}n(FileStream,r);FileStream.prototype._read=function(e){};e.exports=Multipart},8282:(e,t,s)=>{"use strict";const r=s(3031);const n=s(5290);const i=s(4324);const o=/^charset$/i;UrlEncoded.detect=/^application\/x-www-form-urlencoded/i;function UrlEncoded(e,t){const s=t.limits;const n=t.parsedConType;this.boy=e;this.fieldSizeLimit=i(s,"fieldSize",1*1024*1024);this.fieldNameSizeLimit=i(s,"fieldNameSize",100);this.fieldsLimit=i(s,"fields",Infinity);let A;for(var a=0,c=n.length;ao){this._key+=this.decoder.write(e.toString("binary",o,s))}this._state="val";this._hitLimit=false;this._checkingBytes=true;this._val="";this._bytesVal=0;this._valTrunc=false;this.decoder.reset();o=s+1}else if(r!==undefined){++this._fields;let s;const i=this._keyTrunc;if(r>o){s=this._key+=this.decoder.write(e.toString("binary",o,r))}else{s=this._key}this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();if(s.length){this.boy.emit("field",n(s,"binary",this.charset),"",i,false)}o=r+1;if(this._fields===this.fieldsLimit){return t()}}else if(this._hitLimit){if(i>o){this._key+=this.decoder.write(e.toString("binary",o,i))}o=i;if((this._bytesKey=this._key.length)===this.fieldNameSizeLimit){this._checkingBytes=false;this._keyTrunc=true}}else{if(oo){this._val+=this.decoder.write(e.toString("binary",o,r))}this.boy.emit("field",n(this._key,"binary",this.charset),n(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc);this._state="key";this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();o=r+1;if(this._fields===this.fieldsLimit){return t()}}else if(this._hitLimit){if(i>o){this._val+=this.decoder.write(e.toString("binary",o,i))}o=i;if(this._val===""&&this.fieldSizeLimit===0||(this._bytesVal=this._val.length)===this.fieldSizeLimit){this._checkingBytes=false;this._valTrunc=true}}else{if(o0){this.boy.emit("field",n(this._key,"binary",this.charset),"",this._keyTrunc,false)}else if(this._state==="val"){this.boy.emit("field",n(this._key,"binary",this.charset),n(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc)}this.boy._done=true;this.boy.emit("finish")};e.exports=UrlEncoded},3031:e=>{"use strict";const t=/\+/g;const s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];function Decoder(){this.buffer=undefined}Decoder.prototype.write=function(e){e=e.replace(t," ");let r="";let n=0;let i=0;const o=e.length;for(;ni){r+=e.substring(i,n);i=n}this.buffer="";++i}}if(i{"use strict";e.exports=function basename(e){if(typeof e!=="string"){return""}for(var t=e.length-1;t>=0;--t){switch(e.charCodeAt(t)){case 47:case 92:e=e.slice(t+1);return e===".."||e==="."?"":e}}return e===".."||e==="."?"":e}},5290:function(e){"use strict";const t=new TextDecoder("utf-8");const s=new Map([["utf-8",t],["utf8",t]]);function getDecoder(e){let t;while(true){switch(e){case"utf-8":case"utf8":return r.utf8;case"latin1":case"ascii":case"us-ascii":case"iso-8859-1":case"iso8859-1":case"iso88591":case"iso_8859-1":case"windows-1252":case"iso_8859-1:1987":case"cp1252":case"x-cp1252":return r.latin1;case"utf16le":case"utf-16le":case"ucs2":case"ucs-2":return r.utf16le;case"base64":return r.base64;default:if(t===undefined){t=true;e=e.toLowerCase();continue}return r.other.bind(e)}}}const r={utf8:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){e=Buffer.from(e,t)}return e.utf8Slice(0,e.length)},latin1:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){return e}return e.latin1Slice(0,e.length)},utf16le:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){e=Buffer.from(e,t)}return e.ucs2Slice(0,e.length)},base64:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){e=Buffer.from(e,t)}return e.base64Slice(0,e.length)},other:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){e=Buffer.from(e,t)}if(s.has(this.toString())){try{return s.get(this).decode(e)}catch(e){}}return typeof e==="string"?e:e.toString()}};function decodeText(e,t,s){if(e){return getDecoder(s)(e,t)}return e}e.exports=decodeText},4324:e=>{"use strict";e.exports=function getLimit(e,t,s){if(!e||e[t]===undefined||e[t]===null){return s}if(typeof e[t]!=="number"||isNaN(e[t])){throw new TypeError("Limit "+t+" is not a valid number")}return e[t]}},8270:(e,t,s)=>{"use strict";const r=s(5290);const n=/%[a-fA-F0-9][a-fA-F0-9]/g;const i={"%00":"\0","%01":"","%02":"","%03":"","%04":"","%05":"","%06":"","%07":"","%08":"\b","%09":"\t","%0a":"\n","%0A":"\n","%0b":"\v","%0B":"\v","%0c":"\f","%0C":"\f","%0d":"\r","%0D":"\r","%0e":"","%0E":"","%0f":"","%0F":"","%10":"","%11":"","%12":"","%13":"","%14":"","%15":"","%16":"","%17":"","%18":"","%19":"","%1a":"","%1A":"","%1b":"","%1B":"","%1c":"","%1C":"","%1d":"","%1D":"","%1e":"","%1E":"","%1f":"","%1F":"","%20":" ","%21":"!","%22":'"',"%23":"#","%24":"$","%25":"%","%26":"&","%27":"'","%28":"(","%29":")","%2a":"*","%2A":"*","%2b":"+","%2B":"+","%2c":",","%2C":",","%2d":"-","%2D":"-","%2e":".","%2E":".","%2f":"/","%2F":"/","%30":"0","%31":"1","%32":"2","%33":"3","%34":"4","%35":"5","%36":"6","%37":"7","%38":"8","%39":"9","%3a":":","%3A":":","%3b":";","%3B":";","%3c":"<","%3C":"<","%3d":"=","%3D":"=","%3e":">","%3E":">","%3f":"?","%3F":"?","%40":"@","%41":"A","%42":"B","%43":"C","%44":"D","%45":"E","%46":"F","%47":"G","%48":"H","%49":"I","%4a":"J","%4A":"J","%4b":"K","%4B":"K","%4c":"L","%4C":"L","%4d":"M","%4D":"M","%4e":"N","%4E":"N","%4f":"O","%4F":"O","%50":"P","%51":"Q","%52":"R","%53":"S","%54":"T","%55":"U","%56":"V","%57":"W","%58":"X","%59":"Y","%5a":"Z","%5A":"Z","%5b":"[","%5B":"[","%5c":"\\","%5C":"\\","%5d":"]","%5D":"]","%5e":"^","%5E":"^","%5f":"_","%5F":"_","%60":"`","%61":"a","%62":"b","%63":"c","%64":"d","%65":"e","%66":"f","%67":"g","%68":"h","%69":"i","%6a":"j","%6A":"j","%6b":"k","%6B":"k","%6c":"l","%6C":"l","%6d":"m","%6D":"m","%6e":"n","%6E":"n","%6f":"o","%6F":"o","%70":"p","%71":"q","%72":"r","%73":"s","%74":"t","%75":"u","%76":"v","%77":"w","%78":"x","%79":"y","%7a":"z","%7A":"z","%7b":"{","%7B":"{","%7c":"|","%7C":"|","%7d":"}","%7D":"}","%7e":"~","%7E":"~","%7f":"","%7F":"","%80":"€","%81":"","%82":"‚","%83":"ƒ","%84":"„","%85":"…","%86":"†","%87":"‡","%88":"ˆ","%89":"‰","%8a":"Š","%8A":"Š","%8b":"‹","%8B":"‹","%8c":"Œ","%8C":"Œ","%8d":"","%8D":"","%8e":"Ž","%8E":"Ž","%8f":"","%8F":"","%90":"","%91":"‘","%92":"’","%93":"“","%94":"”","%95":"•","%96":"–","%97":"—","%98":"˜","%99":"™","%9a":"š","%9A":"š","%9b":"›","%9B":"›","%9c":"œ","%9C":"œ","%9d":"","%9D":"","%9e":"ž","%9E":"ž","%9f":"Ÿ","%9F":"Ÿ","%a0":" ","%A0":" ","%a1":"¡","%A1":"¡","%a2":"¢","%A2":"¢","%a3":"£","%A3":"£","%a4":"¤","%A4":"¤","%a5":"¥","%A5":"¥","%a6":"¦","%A6":"¦","%a7":"§","%A7":"§","%a8":"¨","%A8":"¨","%a9":"©","%A9":"©","%aa":"ª","%Aa":"ª","%aA":"ª","%AA":"ª","%ab":"«","%Ab":"«","%aB":"«","%AB":"«","%ac":"¬","%Ac":"¬","%aC":"¬","%AC":"¬","%ad":"­","%Ad":"­","%aD":"­","%AD":"­","%ae":"®","%Ae":"®","%aE":"®","%AE":"®","%af":"¯","%Af":"¯","%aF":"¯","%AF":"¯","%b0":"°","%B0":"°","%b1":"±","%B1":"±","%b2":"²","%B2":"²","%b3":"³","%B3":"³","%b4":"´","%B4":"´","%b5":"µ","%B5":"µ","%b6":"¶","%B6":"¶","%b7":"·","%B7":"·","%b8":"¸","%B8":"¸","%b9":"¹","%B9":"¹","%ba":"º","%Ba":"º","%bA":"º","%BA":"º","%bb":"»","%Bb":"»","%bB":"»","%BB":"»","%bc":"¼","%Bc":"¼","%bC":"¼","%BC":"¼","%bd":"½","%Bd":"½","%bD":"½","%BD":"½","%be":"¾","%Be":"¾","%bE":"¾","%BE":"¾","%bf":"¿","%Bf":"¿","%bF":"¿","%BF":"¿","%c0":"À","%C0":"À","%c1":"Á","%C1":"Á","%c2":"Â","%C2":"Â","%c3":"Ã","%C3":"Ã","%c4":"Ä","%C4":"Ä","%c5":"Å","%C5":"Å","%c6":"Æ","%C6":"Æ","%c7":"Ç","%C7":"Ç","%c8":"È","%C8":"È","%c9":"É","%C9":"É","%ca":"Ê","%Ca":"Ê","%cA":"Ê","%CA":"Ê","%cb":"Ë","%Cb":"Ë","%cB":"Ë","%CB":"Ë","%cc":"Ì","%Cc":"Ì","%cC":"Ì","%CC":"Ì","%cd":"Í","%Cd":"Í","%cD":"Í","%CD":"Í","%ce":"Î","%Ce":"Î","%cE":"Î","%CE":"Î","%cf":"Ï","%Cf":"Ï","%cF":"Ï","%CF":"Ï","%d0":"Ð","%D0":"Ð","%d1":"Ñ","%D1":"Ñ","%d2":"Ò","%D2":"Ò","%d3":"Ó","%D3":"Ó","%d4":"Ô","%D4":"Ô","%d5":"Õ","%D5":"Õ","%d6":"Ö","%D6":"Ö","%d7":"×","%D7":"×","%d8":"Ø","%D8":"Ø","%d9":"Ù","%D9":"Ù","%da":"Ú","%Da":"Ú","%dA":"Ú","%DA":"Ú","%db":"Û","%Db":"Û","%dB":"Û","%DB":"Û","%dc":"Ü","%Dc":"Ü","%dC":"Ü","%DC":"Ü","%dd":"Ý","%Dd":"Ý","%dD":"Ý","%DD":"Ý","%de":"Þ","%De":"Þ","%dE":"Þ","%DE":"Þ","%df":"ß","%Df":"ß","%dF":"ß","%DF":"ß","%e0":"à","%E0":"à","%e1":"á","%E1":"á","%e2":"â","%E2":"â","%e3":"ã","%E3":"ã","%e4":"ä","%E4":"ä","%e5":"å","%E5":"å","%e6":"æ","%E6":"æ","%e7":"ç","%E7":"ç","%e8":"è","%E8":"è","%e9":"é","%E9":"é","%ea":"ê","%Ea":"ê","%eA":"ê","%EA":"ê","%eb":"ë","%Eb":"ë","%eB":"ë","%EB":"ë","%ec":"ì","%Ec":"ì","%eC":"ì","%EC":"ì","%ed":"í","%Ed":"í","%eD":"í","%ED":"í","%ee":"î","%Ee":"î","%eE":"î","%EE":"î","%ef":"ï","%Ef":"ï","%eF":"ï","%EF":"ï","%f0":"ð","%F0":"ð","%f1":"ñ","%F1":"ñ","%f2":"ò","%F2":"ò","%f3":"ó","%F3":"ó","%f4":"ô","%F4":"ô","%f5":"õ","%F5":"õ","%f6":"ö","%F6":"ö","%f7":"÷","%F7":"÷","%f8":"ø","%F8":"ø","%f9":"ù","%F9":"ù","%fa":"ú","%Fa":"ú","%fA":"ú","%FA":"ú","%fb":"û","%Fb":"û","%fB":"û","%FB":"û","%fc":"ü","%Fc":"ü","%fC":"ü","%FC":"ü","%fd":"ý","%Fd":"ý","%fD":"ý","%FD":"ý","%fe":"þ","%Fe":"þ","%fE":"þ","%FE":"þ","%ff":"ÿ","%Ff":"ÿ","%fF":"ÿ","%FF":"ÿ"};function encodedReplacer(e){return i[e]}const o=0;const A=1;const a=2;const c=3;function parseParams(e){const t=[];let s=o;let i="";let l=false;let u=false;let p=0;let d="";const g=e.length;for(var h=0;h{"use strict";const r=s(7124);const n=s(7016);const i=s(4037);const o=s(8611);const A=s(5692);const a=s(9023);const c=s(1105);const l=s(3106);const u=s(2203);const p=s(4434);function _interopDefaultLegacy(e){return e&&typeof e==="object"&&"default"in e?e:{default:e}}const d=_interopDefaultLegacy(r);const g=_interopDefaultLegacy(n);const h=_interopDefaultLegacy(o);const E=_interopDefaultLegacy(A);const m=_interopDefaultLegacy(a);const C=_interopDefaultLegacy(c);const B=_interopDefaultLegacy(l);const Q=_interopDefaultLegacy(u);function bind(e,t){return function wrap(){return e.apply(t,arguments)}}const{toString:I}=Object.prototype;const{getPrototypeOf:b}=Object;const y=(e=>t=>{const s=I.call(t);return e[s]||(e[s]=s.slice(8,-1).toLowerCase())})(Object.create(null));const kindOfTest=e=>{e=e.toLowerCase();return t=>y(t)===e};const typeOfTest=e=>t=>typeof t===e;const{isArray:w}=Array;const v=typeOfTest("undefined");function isBuffer(e){return e!==null&&!v(e)&&e.constructor!==null&&!v(e.constructor)&&R(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const k=kindOfTest("ArrayBuffer");function isArrayBufferView(e){let t;if(typeof ArrayBuffer!=="undefined"&&ArrayBuffer.isView){t=ArrayBuffer.isView(e)}else{t=e&&e.buffer&&k(e.buffer)}return t}const x=typeOfTest("string");const R=typeOfTest("function");const D=typeOfTest("number");const isObject=e=>e!==null&&typeof e==="object";const isBoolean=e=>e===true||e===false;const isPlainObject=e=>{if(y(e)!=="object"){return false}const t=b(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)};const S=kindOfTest("Date");const F=kindOfTest("File");const T=kindOfTest("Blob");const U=kindOfTest("FileList");const isStream=e=>isObject(e)&&R(e.pipe);const isFormData=e=>{let t;return e&&(typeof FormData==="function"&&e instanceof FormData||R(e.append)&&((t=y(e))==="formdata"||t==="object"&&R(e.toString)&&e.toString()==="[object FormData]"))};const N=kindOfTest("URLSearchParams");const[_,L,M,O]=["ReadableStream","Request","Response","Headers"].map(kindOfTest);const trim=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach(e,t,{allOwnKeys:s=false}={}){if(e===null||typeof e==="undefined"){return}let r;let n;if(typeof e!=="object"){e=[e]}if(w(e)){for(r=0,n=e.length;r0){n=s[r];if(t===n.toLowerCase()){return n}}return null}const P=(()=>{if(typeof globalThis!=="undefined")return globalThis;return typeof self!=="undefined"?self:typeof window!=="undefined"?window:global})();const isContextDefined=e=>!v(e)&&e!==P;function merge(){const{caseless:e}=isContextDefined(this)&&this||{};const t={};const assignValue=(s,r)=>{const n=e&&findKey(t,r)||r;if(isPlainObject(t[n])&&isPlainObject(s)){t[n]=merge(t[n],s)}else if(isPlainObject(s)){t[n]=merge({},s)}else if(w(s)){t[n]=s.slice()}else{t[n]=s}};for(let e=0,t=arguments.length;e{forEach(t,((t,r)=>{if(s&&R(t)){e[r]=bind(t,s)}else{e[r]=t}}),{allOwnKeys:r});return e};const stripBOM=e=>{if(e.charCodeAt(0)===65279){e=e.slice(1)}return e};const inherits=(e,t,s,r)=>{e.prototype=Object.create(t.prototype,r);e.prototype.constructor=e;Object.defineProperty(e,"super",{value:t.prototype});s&&Object.assign(e.prototype,s)};const toFlatObject=(e,t,s,r)=>{let n;let i;let o;const A={};t=t||{};if(e==null)return t;do{n=Object.getOwnPropertyNames(e);i=n.length;while(i-- >0){o=n[i];if((!r||r(o,e,t))&&!A[o]){t[o]=e[o];A[o]=true}}e=s!==false&&b(e)}while(e&&(!s||s(e,t))&&e!==Object.prototype);return t};const endsWith=(e,t,s)=>{e=String(e);if(s===undefined||s>e.length){s=e.length}s-=t.length;const r=e.indexOf(t,s);return r!==-1&&r===s};const toArray=e=>{if(!e)return null;if(w(e))return e;let t=e.length;if(!D(t))return null;const s=new Array(t);while(t-- >0){s[t]=e[t]}return s};const G=(e=>t=>e&&t instanceof e)(typeof Uint8Array!=="undefined"&&b(Uint8Array));const forEachEntry=(e,t)=>{const s=e&&e[Symbol.iterator];const r=s.call(e);let n;while((n=r.next())&&!n.done){const s=n.value;t.call(e,s[0],s[1])}};const matchAll=(e,t)=>{let s;const r=[];while((s=e.exec(t))!==null){r.push(s)}return r};const H=kindOfTest("HTMLFormElement");const toCamelCase=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function replacer(e,t,s){return t.toUpperCase()+s}));const Y=(({hasOwnProperty:e})=>(t,s)=>e.call(t,s))(Object.prototype);const J=kindOfTest("RegExp");const reduceDescriptors=(e,t)=>{const s=Object.getOwnPropertyDescriptors(e);const r={};forEach(s,((s,n)=>{let i;if((i=t(s,n,e))!==false){r[n]=i||s}}));Object.defineProperties(e,r)};const freezeMethods=e=>{reduceDescriptors(e,((t,s)=>{if(R(e)&&["arguments","caller","callee"].indexOf(s)!==-1){return false}const r=e[s];if(!R(r))return;t.enumerable=false;if("writable"in t){t.writable=false;return}if(!t.set){t.set=()=>{throw Error("Can not rewrite read-only method '"+s+"'")}}}))};const toObjectSet=(e,t)=>{const s={};const define=e=>{e.forEach((e=>{s[e]=true}))};w(e)?define(e):define(String(e).split(t));return s};const noop=()=>{};const toFiniteNumber=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;const V="abcdefghijklmnopqrstuvwxyz";const j="0123456789";const q={DIGIT:j,ALPHA:V,ALPHA_DIGIT:V+V.toUpperCase()+j};const generateString=(e=16,t=q.ALPHA_DIGIT)=>{let s="";const{length:r}=t;while(e--){s+=t[Math.random()*r|0]}return s};function isSpecCompliantForm(e){return!!(e&&R(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const toJSONObject=e=>{const t=new Array(10);const visit=(e,s)=>{if(isObject(e)){if(t.indexOf(e)>=0){return}if(!("toJSON"in e)){t[s]=e;const r=w(e)?[]:{};forEach(e,((e,t)=>{const n=visit(e,s+1);!v(n)&&(r[t]=n)}));t[s]=undefined;return r}}return e};return visit(e,0)};const W=kindOfTest("AsyncFunction");const isThenable=e=>e&&(isObject(e)||R(e))&&R(e.then)&&R(e.catch);const z=((e,t)=>{if(e){return setImmediate}return t?((e,t)=>{P.addEventListener("message",(({source:s,data:r})=>{if(s===P&&r===e){t.length&&t.shift()()}}),false);return s=>{t.push(s);P.postMessage(e,"*")}})(`axios@${Math.random()}`,[]):e=>setTimeout(e)})(typeof setImmediate==="function",R(P.postMessage));const K=typeof queueMicrotask!=="undefined"?queueMicrotask.bind(P):typeof process!=="undefined"&&process.nextTick||z;const Z={isArray:w,isArrayBuffer:k,isBuffer:isBuffer,isFormData:isFormData,isArrayBufferView:isArrayBufferView,isString:x,isNumber:D,isBoolean:isBoolean,isObject:isObject,isPlainObject:isPlainObject,isReadableStream:_,isRequest:L,isResponse:M,isHeaders:O,isUndefined:v,isDate:S,isFile:F,isBlob:T,isRegExp:J,isFunction:R,isStream:isStream,isURLSearchParams:N,isTypedArray:G,isFileList:U,forEach:forEach,merge:merge,extend:extend,trim:trim,stripBOM:stripBOM,inherits:inherits,toFlatObject:toFlatObject,kindOf:y,kindOfTest:kindOfTest,endsWith:endsWith,toArray:toArray,forEachEntry:forEachEntry,matchAll:matchAll,isHTMLForm:H,hasOwnProperty:Y,hasOwnProp:Y,reduceDescriptors:reduceDescriptors,freezeMethods:freezeMethods,toObjectSet:toObjectSet,toCamelCase:toCamelCase,noop:noop,toFiniteNumber:toFiniteNumber,findKey:findKey,global:P,isContextDefined:isContextDefined,ALPHABET:q,generateString:generateString,isSpecCompliantForm:isSpecCompliantForm,toJSONObject:toJSONObject,isAsyncFn:W,isThenable:isThenable,setImmediate:z,asap:K};function AxiosError(e,t,s,r,n){Error.call(this);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}else{this.stack=(new Error).stack}this.message=e;this.name="AxiosError";t&&(this.code=t);s&&(this.config=s);r&&(this.request=r);if(n){this.response=n;this.status=n.status?n.status:null}}Z.inherits(AxiosError,Error,{toJSON:function toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Z.toJSONObject(this.config),code:this.code,status:this.status}}});const X=AxiosError.prototype;const $={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{$[e]={value:e}}));Object.defineProperties(AxiosError,$);Object.defineProperty(X,"isAxiosError",{value:true});AxiosError.from=(e,t,s,r,n,i)=>{const o=Object.create(X);Z.toFlatObject(e,o,(function filter(e){return e!==Error.prototype}),(e=>e!=="isAxiosError"));AxiosError.call(o,e.message,t,s,r,n);o.cause=e;o.name=e.name;i&&Object.assign(o,i);return o};function isVisitable(e){return Z.isPlainObject(e)||Z.isArray(e)}function removeBrackets(e){return Z.endsWith(e,"[]")?e.slice(0,-2):e}function renderKey(e,t,s){if(!e)return t;return e.concat(t).map((function each(e,t){e=removeBrackets(e);return!s&&t?"["+e+"]":e})).join(s?".":"")}function isFlatArray(e){return Z.isArray(e)&&!e.some(isVisitable)}const ee=Z.toFlatObject(Z,{},null,(function filter(e){return/^is[A-Z]/.test(e)}));function toFormData(e,t,s){if(!Z.isObject(e)){throw new TypeError("target must be an object")}t=t||new(d["default"]||FormData);s=Z.toFlatObject(s,{metaTokens:true,dots:false,indexes:false},false,(function defined(e,t){return!Z.isUndefined(t[e])}));const r=s.metaTokens;const n=s.visitor||defaultVisitor;const i=s.dots;const o=s.indexes;const A=s.Blob||typeof Blob!=="undefined"&&Blob;const a=A&&Z.isSpecCompliantForm(t);if(!Z.isFunction(n)){throw new TypeError("visitor must be a function")}function convertValue(e){if(e===null)return"";if(Z.isDate(e)){return e.toISOString()}if(!a&&Z.isBlob(e)){throw new AxiosError("Blob is not supported. Use a Buffer instead.")}if(Z.isArrayBuffer(e)||Z.isTypedArray(e)){return a&&typeof Blob==="function"?new Blob([e]):Buffer.from(e)}return e}function defaultVisitor(e,s,n){let A=e;if(e&&!n&&typeof e==="object"){if(Z.endsWith(s,"{}")){s=r?s:s.slice(0,-2);e=JSON.stringify(e)}else if(Z.isArray(e)&&isFlatArray(e)||(Z.isFileList(e)||Z.endsWith(s,"[]"))&&(A=Z.toArray(e))){s=removeBrackets(s);A.forEach((function each(e,r){!(Z.isUndefined(e)||e===null)&&t.append(o===true?renderKey([s],r,i):o===null?s:s+"[]",convertValue(e))}));return false}}if(isVisitable(e)){return true}t.append(renderKey(n,s,i),convertValue(e));return false}const c=[];const l=Object.assign(ee,{defaultVisitor:defaultVisitor,convertValue:convertValue,isVisitable:isVisitable});function build(e,s){if(Z.isUndefined(e))return;if(c.indexOf(e)!==-1){throw Error("Circular reference detected in "+s.join("."))}c.push(e);Z.forEach(e,(function each(e,r){const i=!(Z.isUndefined(e)||e===null)&&n.call(t,e,Z.isString(r)?r.trim():r,s,l);if(i===true){build(e,s?s.concat(r):[r])}}));c.pop()}if(!Z.isObject(e)){throw new TypeError("data must be an object")}build(e);return t}function encode$1(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function replacer(e){return t[e]}))}function AxiosURLSearchParams(e,t){this._pairs=[];e&&toFormData(e,this,t)}const te=AxiosURLSearchParams.prototype;te.append=function append(e,t){this._pairs.push([e,t])};te.toString=function toString(e){const t=e?function(t){return e.call(this,t,encode$1)}:encode$1;return this._pairs.map((function each(e){return t(e[0])+"="+t(e[1])}),"").join("&")};function encode(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function buildURL(e,t,s){if(!t){return e}const r=s&&s.encode||encode;const n=s&&s.serialize;let i;if(n){i=n(t,s)}else{i=Z.isURLSearchParams(t)?t.toString():new AxiosURLSearchParams(t,s).toString(r)}if(i){const t=e.indexOf("#");if(t!==-1){e=e.slice(0,t)}e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class InterceptorManager{constructor(){this.handlers=[]}use(e,t,s){this.handlers.push({fulfilled:e,rejected:t,synchronous:s?s.synchronous:false,runWhen:s?s.runWhen:null});return this.handlers.length-1}eject(e){if(this.handlers[e]){this.handlers[e]=null}}clear(){if(this.handlers){this.handlers=[]}}forEach(e){Z.forEach(this.handlers,(function forEachHandler(t){if(t!==null){e(t)}}))}}const se=InterceptorManager;const re={silentJSONParsing:true,forcedJSONParsing:true,clarifyTimeoutError:false};const ne=g["default"].URLSearchParams;const ie={isNode:true,classes:{URLSearchParams:ne,FormData:d["default"],Blob:typeof Blob!=="undefined"&&Blob||null},protocols:["http","https","file","data"]};const oe=typeof window!=="undefined"&&typeof document!=="undefined";const Ae=typeof navigator==="object"&&navigator||undefined;const ae=oe&&(!Ae||["ReactNative","NativeScript","NS"].indexOf(Ae.product)<0);const ce=(()=>typeof WorkerGlobalScope!=="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function")();const le=oe&&window.location.href||"http://localhost";const ue=Object.freeze({__proto__:null,hasBrowserEnv:oe,hasStandardBrowserWebWorkerEnv:ce,hasStandardBrowserEnv:ae,navigator:Ae,origin:le});const pe={...ue,...ie};function toURLEncodedForm(e,t){return toFormData(e,new pe.classes.URLSearchParams,Object.assign({visitor:function(e,t,s,r){if(pe.isNode&&Z.isBuffer(e)){this.append(t,e.toString("base64"));return false}return r.defaultVisitor.apply(this,arguments)}},t))}function parsePropPath(e){return Z.matchAll(/\w+|\[(\w*)]/g,e).map((e=>e[0]==="[]"?"":e[1]||e[0]))}function arrayToObject(e){const t={};const s=Object.keys(e);let r;const n=s.length;let i;for(r=0;r=e.length;n=!n&&Z.isArray(s)?s.length:n;if(o){if(Z.hasOwnProp(s,n)){s[n]=[s[n],t]}else{s[n]=t}return!i}if(!s[n]||!Z.isObject(s[n])){s[n]=[]}const A=buildPath(e,t,s[n],r);if(A&&Z.isArray(s[n])){s[n]=arrayToObject(s[n])}return!i}if(Z.isFormData(e)&&Z.isFunction(e.entries)){const t={};Z.forEachEntry(e,((e,s)=>{buildPath(parsePropPath(e),s,t,0)}));return t}return null}function stringifySafely(e,t,s){if(Z.isString(e)){try{(t||JSON.parse)(e);return Z.trim(e)}catch(e){if(e.name!=="SyntaxError"){throw e}}}return(s||JSON.stringify)(e)}const de={transitional:re,adapter:["xhr","http","fetch"],transformRequest:[function transformRequest(e,t){const s=t.getContentType()||"";const r=s.indexOf("application/json")>-1;const n=Z.isObject(e);if(n&&Z.isHTMLForm(e)){e=new FormData(e)}const i=Z.isFormData(e);if(i){return r?JSON.stringify(formDataToJSON(e)):e}if(Z.isArrayBuffer(e)||Z.isBuffer(e)||Z.isStream(e)||Z.isFile(e)||Z.isBlob(e)||Z.isReadableStream(e)){return e}if(Z.isArrayBufferView(e)){return e.buffer}if(Z.isURLSearchParams(e)){t.setContentType("application/x-www-form-urlencoded;charset=utf-8",false);return e.toString()}let o;if(n){if(s.indexOf("application/x-www-form-urlencoded")>-1){return toURLEncodedForm(e,this.formSerializer).toString()}if((o=Z.isFileList(e))||s.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return toFormData(o?{"files[]":e}:e,t&&new t,this.formSerializer)}}if(n||r){t.setContentType("application/json",false);return stringifySafely(e)}return e}],transformResponse:[function transformResponse(e){const t=this.transitional||de.transitional;const s=t&&t.forcedJSONParsing;const r=this.responseType==="json";if(Z.isResponse(e)||Z.isReadableStream(e)){return e}if(e&&Z.isString(e)&&(s&&!this.responseType||r)){const s=t&&t.silentJSONParsing;const n=!s&&r;try{return JSON.parse(e)}catch(e){if(n){if(e.name==="SyntaxError"){throw AxiosError.from(e,AxiosError.ERR_BAD_RESPONSE,this,null,this.response)}throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:pe.classes.FormData,Blob:pe.classes.Blob},validateStatus:function validateStatus(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":undefined}}};Z.forEach(["delete","get","head","post","put","patch"],(e=>{de.headers[e]={}}));const ge=de;const he=Z.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const parseHeaders=e=>{const t={};let s;let r;let n;e&&e.split("\n").forEach((function parser(e){n=e.indexOf(":");s=e.substring(0,n).trim().toLowerCase();r=e.substring(n+1).trim();if(!s||t[s]&&he[s]){return}if(s==="set-cookie"){if(t[s]){t[s].push(r)}else{t[s]=[r]}}else{t[s]=t[s]?t[s]+", "+r:r}}));return t};const Ee=Symbol("internals");function normalizeHeader(e){return e&&String(e).trim().toLowerCase()}function normalizeValue(e){if(e===false||e==null){return e}return Z.isArray(e)?e.map(normalizeValue):String(e)}function parseTokens(e){const t=Object.create(null);const s=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;while(r=s.exec(e)){t[r[1]]=r[2]}return t}const isValidHeaderName=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function matchHeaderValue(e,t,s,r,n){if(Z.isFunction(r)){return r.call(this,t,s)}if(n){t=s}if(!Z.isString(t))return;if(Z.isString(r)){return t.indexOf(r)!==-1}if(Z.isRegExp(r)){return r.test(t)}}function formatHeader(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,s)=>t.toUpperCase()+s))}function buildAccessors(e,t){const s=Z.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+s,{value:function(e,s,n){return this[r].call(this,t,e,s,n)},configurable:true})}))}class AxiosHeaders{constructor(e){e&&this.set(e)}set(e,t,s){const r=this;function setHeader(e,t,s){const n=normalizeHeader(t);if(!n){throw new Error("header name must be a non-empty string")}const i=Z.findKey(r,n);if(!i||r[i]===undefined||s===true||s===undefined&&r[i]!==false){r[i||t]=normalizeValue(e)}}const setHeaders=(e,t)=>Z.forEach(e,((e,s)=>setHeader(e,s,t)));if(Z.isPlainObject(e)||e instanceof this.constructor){setHeaders(e,t)}else if(Z.isString(e)&&(e=e.trim())&&!isValidHeaderName(e)){setHeaders(parseHeaders(e),t)}else if(Z.isHeaders(e)){for(const[t,r]of e.entries()){setHeader(r,t,s)}}else{e!=null&&setHeader(t,e,s)}return this}get(e,t){e=normalizeHeader(e);if(e){const s=Z.findKey(this,e);if(s){const e=this[s];if(!t){return e}if(t===true){return parseTokens(e)}if(Z.isFunction(t)){return t.call(this,e,s)}if(Z.isRegExp(t)){return t.exec(e)}throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){e=normalizeHeader(e);if(e){const s=Z.findKey(this,e);return!!(s&&this[s]!==undefined&&(!t||matchHeaderValue(this,this[s],s,t)))}return false}delete(e,t){const s=this;let r=false;function deleteHeader(e){e=normalizeHeader(e);if(e){const n=Z.findKey(s,e);if(n&&(!t||matchHeaderValue(s,s[n],n,t))){delete s[n];r=true}}}if(Z.isArray(e)){e.forEach(deleteHeader)}else{deleteHeader(e)}return r}clear(e){const t=Object.keys(this);let s=t.length;let r=false;while(s--){const n=t[s];if(!e||matchHeaderValue(this,this[n],n,e,true)){delete this[n];r=true}}return r}normalize(e){const t=this;const s={};Z.forEach(this,((r,n)=>{const i=Z.findKey(s,n);if(i){t[i]=normalizeValue(r);delete t[n];return}const o=e?formatHeader(n):String(n).trim();if(o!==n){delete t[n]}t[o]=normalizeValue(r);s[o]=true}));return this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);Z.forEach(this,((s,r)=>{s!=null&&s!==false&&(t[r]=e&&Z.isArray(s)?s.join(", "):s)}));return t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const s=new this(e);t.forEach((e=>s.set(e)));return s}static accessor(e){const t=this[Ee]=this[Ee]={accessors:{}};const s=t.accessors;const r=this.prototype;function defineAccessor(e){const t=normalizeHeader(e);if(!s[t]){buildAccessors(r,e);s[t]=true}}Z.isArray(e)?e.forEach(defineAccessor):defineAccessor(e);return this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Z.reduceDescriptors(AxiosHeaders.prototype,(({value:e},t)=>{let s=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[s]=e}}}));Z.freezeMethods(AxiosHeaders);const fe=AxiosHeaders;function transformData(e,t){const s=this||ge;const r=t||s;const n=fe.from(r.headers);let i=r.data;Z.forEach(e,(function transform(e){i=e.call(s,i,n.normalize(),t?t.status:undefined)}));n.normalize();return i}function isCancel(e){return!!(e&&e.__CANCEL__)}function CanceledError(e,t,s){AxiosError.call(this,e==null?"canceled":e,AxiosError.ERR_CANCELED,t,s);this.name="CanceledError"}Z.inherits(CanceledError,AxiosError,{__CANCEL__:true});function settle(e,t,s){const r=s.config.validateStatus;if(!s.status||!r||r(s.status)){e(s)}else{t(new AxiosError("Request failed with status code "+s.status,[AxiosError.ERR_BAD_REQUEST,AxiosError.ERR_BAD_RESPONSE][Math.floor(s.status/100)-4],s.config,s.request,s))}}function isAbsoluteURL(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function combineURLs(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function buildFullPath(e,t){if(e&&!isAbsoluteURL(t)){return combineURLs(e,t)}return t}const me="1.7.7";function parseProtocol(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const Ce=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;function fromDataURI(e,t,s){const r=s&&s.Blob||pe.classes.Blob;const n=parseProtocol(e);if(t===undefined&&r){t=true}if(n==="data"){e=n.length?e.slice(n.length+1):e;const s=Ce.exec(e);if(!s){throw new AxiosError("Invalid URL",AxiosError.ERR_INVALID_URL)}const i=s[1];const o=s[2];const A=s[3];const a=Buffer.from(decodeURIComponent(A),o?"base64":"utf8");if(t){if(!r){throw new AxiosError("Blob is not supported",AxiosError.ERR_NOT_SUPPORT)}return new r([a],{type:i})}return a}throw new AxiosError("Unsupported protocol "+n,AxiosError.ERR_NOT_SUPPORT)}const Be=Symbol("internals");class AxiosTransformStream extends Q["default"].Transform{constructor(e){e=Z.toFlatObject(e,{maxRate:0,chunkSize:64*1024,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,((e,t)=>!Z.isUndefined(t[e])));super({readableHighWaterMark:e.chunkSize});const t=this[Be]={timeWindow:e.timeWindow,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:false,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",(e=>{if(e==="progress"){if(!t.isCaptured){t.isCaptured=true}}}))}_read(e){const t=this[Be];if(t.onReadCallback){t.onReadCallback()}return super._read(e)}_transform(e,t,s){const r=this[Be];const n=r.maxRate;const i=this.readableHighWaterMark;const o=r.timeWindow;const A=1e3/o;const a=n/A;const c=r.minChunkSize!==false?Math.max(r.minChunkSize,a*.01):0;const pushChunk=(e,t)=>{const s=Buffer.byteLength(e);r.bytesSeen+=s;r.bytes+=s;r.isCaptured&&this.emit("progress",r.bytesSeen);if(this.push(e)){process.nextTick(t)}else{r.onReadCallback=()=>{r.onReadCallback=null;process.nextTick(t)}}};const transformChunk=(e,t)=>{const s=Buffer.byteLength(e);let A=null;let l=i;let u;let p=0;if(n){const e=Date.now();if(!r.ts||(p=e-r.ts)>=o){r.ts=e;u=a-r.bytes;r.bytes=u<0?-u:0;p=0}u=a-r.bytes}if(n){if(u<=0){return setTimeout((()=>{t(null,e)}),o-p)}if(ul&&s-l>c){A=e.subarray(l);e=e.subarray(0,l)}pushChunk(e,A?()=>{process.nextTick(t,null,A)}:t)};transformChunk(e,(function transformNextChunk(e,t){if(e){return s(e)}if(t){transformChunk(t,transformNextChunk)}else{s(null)}}))}}const Qe=AxiosTransformStream;const{asyncIterator:Ie}=Symbol;const readBlob=async function*(e){if(e.stream){yield*e.stream()}else if(e.arrayBuffer){yield await e.arrayBuffer()}else if(e[Ie]){yield*e[Ie]()}else{yield e}};const be=readBlob;const ye=Z.ALPHABET.ALPHA_DIGIT+"-_";const we=new a.TextEncoder;const ve="\r\n";const ke=we.encode(ve);const xe=2;class FormDataPart{constructor(e,t){const{escapeName:s}=this.constructor;const r=Z.isString(t);let n=`Content-Disposition: form-data; name="${s(e)}"${!r&&t.name?`; filename="${s(t.name)}"`:""}${ve}`;if(r){t=we.encode(String(t).replace(/\r?\n|\r\n?/g,ve))}else{n+=`Content-Type: ${t.type||"application/octet-stream"}${ve}`}this.headers=we.encode(n+ve);this.contentLength=r?t.byteLength:t.size;this.size=this.headers.byteLength+this.contentLength+xe;this.name=e;this.value=t}async*encode(){yield this.headers;const{value:e}=this;if(Z.isTypedArray(e)){yield e}else{yield*be(e)}yield ke}static escapeName(e){return String(e).replace(/[\r\n"]/g,(e=>({"\r":"%0D","\n":"%0A",'"':"%22"}[e])))}}const formDataToStream=(e,t,s)=>{const{tag:r="form-data-boundary",size:n=25,boundary:i=r+"-"+Z.generateString(n,ye)}=s||{};if(!Z.isFormData(e)){throw TypeError("FormData instance required")}if(i.length<1||i.length>70){throw Error("boundary must be 10-70 characters long")}const o=we.encode("--"+i+ve);const A=we.encode("--"+i+"--"+ve+ve);let a=A.byteLength;const c=Array.from(e.entries()).map((([e,t])=>{const s=new FormDataPart(e,t);a+=s.size;return s}));a+=o.byteLength*c.length;a=Z.toFiniteNumber(a);const l={"Content-Type":`multipart/form-data; boundary=${i}`};if(Number.isFinite(a)){l["Content-Length"]=a}t&&t(l);return u.Readable.from(async function*(){for(const e of c){yield o;yield*e.encode()}yield A}())};const Re=formDataToStream;class ZlibHeaderTransformStream extends Q["default"].Transform{__transform(e,t,s){this.push(e);s()}_transform(e,t,s){if(e.length!==0){this._transform=this.__transform;if(e[0]!==120){const e=Buffer.alloc(2);e[0]=120;e[1]=156;this.push(e,t)}}this.__transform(e,t,s)}}const De=ZlibHeaderTransformStream;const callbackify=(e,t)=>Z.isAsyncFn(e)?function(...s){const r=s.pop();e.apply(this,s).then((e=>{try{t?r(null,...t(e)):r(null,e)}catch(e){r(e)}}),r)}:e;const Se=callbackify;function speedometer(e,t){e=e||10;const s=new Array(e);const r=new Array(e);let n=0;let i=0;let o;t=t!==undefined?t:1e3;return function push(A){const a=Date.now();const c=r[i];if(!o){o=a}s[n]=A;r[n]=a;let l=i;let u=0;while(l!==n){u+=s[l++];l=l%e}n=(n+1)%e;if(n===i){i=(i+1)%e}if(a-o{s=r;n=null;if(i){clearTimeout(i);i=null}e.apply(null,t)};const throttled=(...e)=>{const t=Date.now();const o=t-s;if(o>=r){invoke(e,t)}else{n=e;if(!i){i=setTimeout((()=>{i=null;invoke(n)}),r-o)}}};const flush=()=>n&&invoke(n);return[throttled,flush]}const progressEventReducer=(e,t,s=3)=>{let r=0;const n=speedometer(50,250);return throttle((s=>{const i=s.loaded;const o=s.lengthComputable?s.total:undefined;const A=i-r;const a=n(A);const c=i<=o;r=i;const l={loaded:i,total:o,progress:o?i/o:undefined,bytes:A,rate:a?a:undefined,estimated:a&&o&&c?(o-i)/a:undefined,event:s,lengthComputable:o!=null,[t?"download":"upload"]:true};e(l)}),s)};const progressEventDecorator=(e,t)=>{const s=e!=null;return[r=>t[0]({lengthComputable:s,total:e,loaded:r}),t[1]]};const asyncDecorator=e=>(...t)=>Z.asap((()=>e(...t)));const Fe={flush:B["default"].constants.Z_SYNC_FLUSH,finishFlush:B["default"].constants.Z_SYNC_FLUSH};const Te={flush:B["default"].constants.BROTLI_OPERATION_FLUSH,finishFlush:B["default"].constants.BROTLI_OPERATION_FLUSH};const Ue=Z.isFunction(B["default"].createBrotliDecompress);const{http:Ne,https:_e}=C["default"];const Le=/https:?/;const Me=pe.protocols.map((e=>e+":"));const flushOnFinish=(e,[t,s])=>{e.on("end",s).on("error",s);return t};function dispatchBeforeRedirect(e,t){if(e.beforeRedirects.proxy){e.beforeRedirects.proxy(e)}if(e.beforeRedirects.config){e.beforeRedirects.config(e,t)}}function setProxy(e,t,s){let r=t;if(!r&&r!==false){const e=i.getProxyForUrl(s);if(e){r=new URL(e)}}if(r){if(r.username){r.auth=(r.username||"")+":"+(r.password||"")}if(r.auth){if(r.auth.username||r.auth.password){r.auth=(r.auth.username||"")+":"+(r.auth.password||"")}const t=Buffer.from(r.auth,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+t}e.headers.host=e.hostname+(e.port?":"+e.port:"");const t=r.hostname||r.host;e.hostname=t;e.host=t;e.port=r.port;e.path=s;if(r.protocol){e.protocol=r.protocol.includes(":")?r.protocol:`${r.protocol}:`}}e.beforeRedirects.proxy=function beforeRedirect(e){setProxy(e,t,e.href)}}const Oe=typeof process!=="undefined"&&Z.kindOf(process)==="process";const wrapAsync=e=>new Promise(((t,s)=>{let r;let n;const done=(e,t)=>{if(n)return;n=true;r&&r(e,t)};const _resolve=e=>{done(e);t(e)};const _reject=e=>{done(e,true);s(e)};e(_resolve,_reject,(e=>r=e)).catch(_reject)}));const resolveFamily=({address:e,family:t})=>{if(!Z.isString(e)){throw TypeError("address must be a string")}return{address:e,family:t||(e.indexOf(".")<0?6:4)}};const buildAddressEntry=(e,t)=>resolveFamily(Z.isObject(e)?e:{address:e,family:t});const Pe=Oe&&function httpAdapter(e){return wrapAsync((async function dispatchHttpRequest(t,s,r){let{data:n,lookup:i,family:o}=e;const{responseType:A,responseEncoding:a}=e;const c=e.method.toUpperCase();let l;let u=false;let d;if(i){const e=Se(i,(e=>Z.isArray(e)?e:[e]));i=(t,s,r)=>{e(t,s,((e,t,n)=>{if(e){return r(e)}const i=Z.isArray(t)?t.map((e=>buildAddressEntry(e))):[buildAddressEntry(t,n)];s.all?r(e,i):r(e,i[0].address,i[0].family)}))}}const g=new p.EventEmitter;const onFinished=()=>{if(e.cancelToken){e.cancelToken.unsubscribe(abort)}if(e.signal){e.signal.removeEventListener("abort",abort)}g.removeAllListeners()};r(((e,t)=>{l=true;if(t){u=true;onFinished()}}));function abort(t){g.emit("abort",!t||t.type?new CanceledError(null,e,d):t)}g.once("abort",s);if(e.cancelToken||e.signal){e.cancelToken&&e.cancelToken.subscribe(abort);if(e.signal){e.signal.aborted?abort():e.signal.addEventListener("abort",abort)}}const C=buildFullPath(e.baseURL,e.url);const I=new URL(C,pe.hasBrowserEnv?pe.origin:undefined);const b=I.protocol||Me[0];if(b==="data:"){let r;if(c!=="GET"){return settle(t,s,{status:405,statusText:"method not allowed",headers:{},config:e})}try{r=fromDataURI(e.url,A==="blob",{Blob:e.env&&e.env.Blob})}catch(t){throw AxiosError.from(t,AxiosError.ERR_BAD_REQUEST,e)}if(A==="text"){r=r.toString(a);if(!a||a==="utf8"){r=Z.stripBOM(r)}}else if(A==="stream"){r=Q["default"].Readable.from(r)}return settle(t,s,{data:r,status:200,statusText:"OK",headers:new fe,config:e})}if(Me.indexOf(b)===-1){return s(new AxiosError("Unsupported protocol "+b,AxiosError.ERR_BAD_REQUEST,e))}const y=fe.from(e.headers).normalize();y.set("User-Agent","axios/"+me,false);const{onUploadProgress:w,onDownloadProgress:v}=e;const k=e.maxRate;let x=undefined;let R=undefined;if(Z.isSpecCompliantForm(n)){const e=y.getContentType(/boundary=([-_\w\d]{10,70})/i);n=Re(n,(e=>{y.set(e)}),{tag:`axios-${me}-boundary`,boundary:e&&e[1]||undefined})}else if(Z.isFormData(n)&&Z.isFunction(n.getHeaders)){y.set(n.getHeaders());if(!y.hasContentLength()){try{const e=await m["default"].promisify(n.getLength).call(n);Number.isFinite(e)&&e>=0&&y.setContentLength(e)}catch(e){}}}else if(Z.isBlob(n)){n.size&&y.setContentType(n.type||"application/octet-stream");y.setContentLength(n.size||0);n=Q["default"].Readable.from(be(n))}else if(n&&!Z.isStream(n)){if(Buffer.isBuffer(n));else if(Z.isArrayBuffer(n)){n=Buffer.from(new Uint8Array(n))}else if(Z.isString(n)){n=Buffer.from(n,"utf-8")}else{return s(new AxiosError("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",AxiosError.ERR_BAD_REQUEST,e))}y.setContentLength(n.length,false);if(e.maxBodyLength>-1&&n.length>e.maxBodyLength){return s(new AxiosError("Request body larger than maxBodyLength limit",AxiosError.ERR_BAD_REQUEST,e))}}const D=Z.toFiniteNumber(y.getContentLength());if(Z.isArray(k)){x=k[0];R=k[1]}else{x=R=k}if(n&&(w||x)){if(!Z.isStream(n)){n=Q["default"].Readable.from(n,{objectMode:false})}n=Q["default"].pipeline([n,new Qe({maxRate:Z.toFiniteNumber(x)})],Z.noop);w&&n.on("progress",flushOnFinish(n,progressEventDecorator(D,progressEventReducer(asyncDecorator(w),false,3))))}let S=undefined;if(e.auth){const t=e.auth.username||"";const s=e.auth.password||"";S=t+":"+s}if(!S&&I.username){const e=I.username;const t=I.password;S=e+":"+t}S&&y.delete("authorization");let F;try{F=buildURL(I.pathname+I.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(t){const r=new Error(t.message);r.config=e;r.url=e.url;r.exists=true;return s(r)}y.set("Accept-Encoding","gzip, compress, deflate"+(Ue?", br":""),false);const T={path:F,method:c,headers:y.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:S,protocol:b,family:o,beforeRedirect:dispatchBeforeRedirect,beforeRedirects:{}};!Z.isUndefined(i)&&(T.lookup=i);if(e.socketPath){T.socketPath=e.socketPath}else{T.hostname=I.hostname.startsWith("[")?I.hostname.slice(1,-1):I.hostname;T.port=I.port;setProxy(T,e.proxy,b+"//"+I.hostname+(I.port?":"+I.port:"")+T.path)}let U;const N=Le.test(T.protocol);T.agent=N?e.httpsAgent:e.httpAgent;if(e.transport){U=e.transport}else if(e.maxRedirects===0){U=N?E["default"]:h["default"]}else{if(e.maxRedirects){T.maxRedirects=e.maxRedirects}if(e.beforeRedirect){T.beforeRedirects.config=e.beforeRedirect}U=N?_e:Ne}if(e.maxBodyLength>-1){T.maxBodyLength=e.maxBodyLength}else{T.maxBodyLength=Infinity}if(e.insecureHTTPParser){T.insecureHTTPParser=e.insecureHTTPParser}d=U.request(T,(function handleResponse(r){if(d.destroyed)return;const n=[r];const i=+r.headers["content-length"];if(v||R){const e=new Qe({maxRate:Z.toFiniteNumber(R)});v&&e.on("progress",flushOnFinish(e,progressEventDecorator(i,progressEventReducer(asyncDecorator(v),true,3))));n.push(e)}let o=r;const l=r.req||d;if(e.decompress!==false&&r.headers["content-encoding"]){if(c==="HEAD"||r.statusCode===204){delete r.headers["content-encoding"]}switch((r.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":n.push(B["default"].createUnzip(Fe));delete r.headers["content-encoding"];break;case"deflate":n.push(new De);n.push(B["default"].createUnzip(Fe));delete r.headers["content-encoding"];break;case"br":if(Ue){n.push(B["default"].createBrotliDecompress(Te));delete r.headers["content-encoding"]}}}o=n.length>1?Q["default"].pipeline(n,Z.noop):n[0];const p=Q["default"].finished(o,(()=>{p();onFinished()}));const h={status:r.statusCode,statusText:r.statusMessage,headers:new fe(r.headers),config:e,request:l};if(A==="stream"){h.data=o;settle(t,s,h)}else{const r=[];let n=0;o.on("data",(function handleStreamData(t){r.push(t);n+=t.length;if(e.maxContentLength>-1&&n>e.maxContentLength){u=true;o.destroy();s(new AxiosError("maxContentLength size of "+e.maxContentLength+" exceeded",AxiosError.ERR_BAD_RESPONSE,e,l))}}));o.on("aborted",(function handlerStreamAborted(){if(u){return}const t=new AxiosError("maxContentLength size of "+e.maxContentLength+" exceeded",AxiosError.ERR_BAD_RESPONSE,e,l);o.destroy(t);s(t)}));o.on("error",(function handleStreamError(t){if(d.destroyed)return;s(AxiosError.from(t,null,e,l))}));o.on("end",(function handleStreamEnd(){try{let e=r.length===1?r[0]:Buffer.concat(r);if(A!=="arraybuffer"){e=e.toString(a);if(!a||a==="utf8"){e=Z.stripBOM(e)}}h.data=e}catch(t){return s(AxiosError.from(t,null,e,h.request,h))}settle(t,s,h)}))}g.once("abort",(e=>{if(!o.destroyed){o.emit("error",e);o.destroy()}}))}));g.once("abort",(e=>{s(e);d.destroy(e)}));d.on("error",(function handleRequestError(t){s(AxiosError.from(t,null,e,d))}));d.on("socket",(function handleRequestSocket(e){e.setKeepAlive(true,1e3*60)}));if(e.timeout){const t=parseInt(e.timeout,10);if(Number.isNaN(t)){s(new AxiosError("error trying to parse `config.timeout` to int",AxiosError.ERR_BAD_OPTION_VALUE,e,d));return}d.setTimeout(t,(function handleRequestTimeout(){if(l)return;let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const r=e.transitional||re;if(e.timeoutErrorMessage){t=e.timeoutErrorMessage}s(new AxiosError(t,r.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,e,d));abort()}))}if(Z.isStream(n)){let t=false;let s=false;n.on("end",(()=>{t=true}));n.once("error",(e=>{s=true;d.destroy(e)}));n.on("close",(()=>{if(!t&&!s){abort(new CanceledError("Request stream has been aborted",e,d))}}));n.pipe(d)}else{d.end(n)}}))};const Ge=pe.hasStandardBrowserEnv?function standardBrowserEnv(){const e=pe.navigator&&/(msie|trident)/i.test(pe.navigator.userAgent);const t=document.createElement("a");let s;function resolveURL(s){let r=s;if(e){t.setAttribute("href",r);r=t.href}t.setAttribute("href",r);return{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}s=resolveURL(window.location.href);return function isURLSameOrigin(e){const t=Z.isString(e)?resolveURL(e):e;return t.protocol===s.protocol&&t.host===s.host}}():function nonStandardBrowserEnv(){return function isURLSameOrigin(){return true}}();const He=pe.hasStandardBrowserEnv?{write(e,t,s,r,n,i){const o=[e+"="+encodeURIComponent(t)];Z.isNumber(s)&&o.push("expires="+new Date(s).toGMTString());Z.isString(r)&&o.push("path="+r);Z.isString(n)&&o.push("domain="+n);i===true&&o.push("secure");document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};const headersToObject=e=>e instanceof fe?{...e}:e;function mergeConfig(e,t){t=t||{};const s={};function getMergedValue(e,t,s){if(Z.isPlainObject(e)&&Z.isPlainObject(t)){return Z.merge.call({caseless:s},e,t)}else if(Z.isPlainObject(t)){return Z.merge({},t)}else if(Z.isArray(t)){return t.slice()}return t}function mergeDeepProperties(e,t,s){if(!Z.isUndefined(t)){return getMergedValue(e,t,s)}else if(!Z.isUndefined(e)){return getMergedValue(undefined,e,s)}}function valueFromConfig2(e,t){if(!Z.isUndefined(t)){return getMergedValue(undefined,t)}}function defaultToConfig2(e,t){if(!Z.isUndefined(t)){return getMergedValue(undefined,t)}else if(!Z.isUndefined(e)){return getMergedValue(undefined,e)}}function mergeDirectKeys(s,r,n){if(n in t){return getMergedValue(s,r)}else if(n in e){return getMergedValue(undefined,s)}}const r={url:valueFromConfig2,method:valueFromConfig2,data:valueFromConfig2,baseURL:defaultToConfig2,transformRequest:defaultToConfig2,transformResponse:defaultToConfig2,paramsSerializer:defaultToConfig2,timeout:defaultToConfig2,timeoutMessage:defaultToConfig2,withCredentials:defaultToConfig2,withXSRFToken:defaultToConfig2,adapter:defaultToConfig2,responseType:defaultToConfig2,xsrfCookieName:defaultToConfig2,xsrfHeaderName:defaultToConfig2,onUploadProgress:defaultToConfig2,onDownloadProgress:defaultToConfig2,decompress:defaultToConfig2,maxContentLength:defaultToConfig2,maxBodyLength:defaultToConfig2,beforeRedirect:defaultToConfig2,transport:defaultToConfig2,httpAgent:defaultToConfig2,httpsAgent:defaultToConfig2,cancelToken:defaultToConfig2,socketPath:defaultToConfig2,responseEncoding:defaultToConfig2,validateStatus:mergeDirectKeys,headers:(e,t)=>mergeDeepProperties(headersToObject(e),headersToObject(t),true)};Z.forEach(Object.keys(Object.assign({},e,t)),(function computeConfigValue(n){const i=r[n]||mergeDeepProperties;const o=i(e[n],t[n],n);Z.isUndefined(o)&&i!==mergeDirectKeys||(s[n]=o)}));return s}const resolveConfig=e=>{const t=mergeConfig({},e);let{data:s,withXSRFToken:r,xsrfHeaderName:n,xsrfCookieName:i,headers:o,auth:A}=t;t.headers=o=fe.from(o);t.url=buildURL(buildFullPath(t.baseURL,t.url),e.params,e.paramsSerializer);if(A){o.set("Authorization","Basic "+btoa((A.username||"")+":"+(A.password?unescape(encodeURIComponent(A.password)):"")))}let a;if(Z.isFormData(s)){if(pe.hasStandardBrowserEnv||pe.hasStandardBrowserWebWorkerEnv){o.setContentType(undefined)}else if((a=o.getContentType())!==false){const[e,...t]=a?a.split(";").map((e=>e.trim())).filter(Boolean):[];o.setContentType([e||"multipart/form-data",...t].join("; "))}}if(pe.hasStandardBrowserEnv){r&&Z.isFunction(r)&&(r=r(t));if(r||r!==false&&Ge(t.url)){const e=n&&i&&He.read(i);if(e){o.set(n,e)}}}return t};const Ye=typeof XMLHttpRequest!=="undefined";const Je=Ye&&function(e){return new Promise((function dispatchXhrRequest(t,s){const r=resolveConfig(e);let n=r.data;const i=fe.from(r.headers).normalize();let{responseType:o,onUploadProgress:A,onDownloadProgress:a}=r;let c;let l,u;let p,d;function done(){p&&p();d&&d();r.cancelToken&&r.cancelToken.unsubscribe(c);r.signal&&r.signal.removeEventListener("abort",c)}let g=new XMLHttpRequest;g.open(r.method.toUpperCase(),r.url,true);g.timeout=r.timeout;function onloadend(){if(!g){return}const r=fe.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders());const n=!o||o==="text"||o==="json"?g.responseText:g.response;const i={data:n,status:g.status,statusText:g.statusText,headers:r,config:e,request:g};settle((function _resolve(e){t(e);done()}),(function _reject(e){s(e);done()}),i);g=null}if("onloadend"in g){g.onloadend=onloadend}else{g.onreadystatechange=function handleLoad(){if(!g||g.readyState!==4){return}if(g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)){return}setTimeout(onloadend)}}g.onabort=function handleAbort(){if(!g){return}s(new AxiosError("Request aborted",AxiosError.ECONNABORTED,e,g));g=null};g.onerror=function handleError(){s(new AxiosError("Network Error",AxiosError.ERR_NETWORK,e,g));g=null};g.ontimeout=function handleTimeout(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const n=r.transitional||re;if(r.timeoutErrorMessage){t=r.timeoutErrorMessage}s(new AxiosError(t,n.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,e,g));g=null};n===undefined&&i.setContentType(null);if("setRequestHeader"in g){Z.forEach(i.toJSON(),(function setRequestHeader(e,t){g.setRequestHeader(t,e)}))}if(!Z.isUndefined(r.withCredentials)){g.withCredentials=!!r.withCredentials}if(o&&o!=="json"){g.responseType=r.responseType}if(a){[u,d]=progressEventReducer(a,true);g.addEventListener("progress",u)}if(A&&g.upload){[l,p]=progressEventReducer(A);g.upload.addEventListener("progress",l);g.upload.addEventListener("loadend",p)}if(r.cancelToken||r.signal){c=t=>{if(!g){return}s(!t||t.type?new CanceledError(null,e,g):t);g.abort();g=null};r.cancelToken&&r.cancelToken.subscribe(c);if(r.signal){r.signal.aborted?c():r.signal.addEventListener("abort",c)}}const h=parseProtocol(r.url);if(h&&pe.protocols.indexOf(h)===-1){s(new AxiosError("Unsupported protocol "+h+":",AxiosError.ERR_BAD_REQUEST,e));return}g.send(n||null)}))};const composeSignals=(e,t)=>{const{length:s}=e=e?e.filter(Boolean):[];if(t||s){let s=new AbortController;let r;const onabort=function(e){if(!r){r=true;unsubscribe();const t=e instanceof Error?e:this.reason;s.abort(t instanceof AxiosError?t:new CanceledError(t instanceof Error?t.message:t))}};let n=t&&setTimeout((()=>{n=null;onabort(new AxiosError(`timeout ${t} of ms exceeded`,AxiosError.ETIMEDOUT))}),t);const unsubscribe=()=>{if(e){n&&clearTimeout(n);n=null;e.forEach((e=>{e.unsubscribe?e.unsubscribe(onabort):e.removeEventListener("abort",onabort)}));e=null}};e.forEach((e=>e.addEventListener("abort",onabort)));const{signal:i}=s;i.unsubscribe=()=>Z.asap(unsubscribe);return i}};const Ve=composeSignals;const streamChunk=function*(e,t){let s=e.byteLength;if(!t||s{const n=readBytes(e,t);let i=0;let o;let _onFinish=e=>{if(!o){o=true;r&&r(e)}};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await n.next();if(t){_onFinish();e.close();return}let o=r.byteLength;if(s){let e=i+=o;s(e)}e.enqueue(new Uint8Array(r))}catch(e){_onFinish(e);throw e}},cancel(e){_onFinish(e);return n.return()}},{highWaterMark:2})};const je=typeof fetch==="function"&&typeof Request==="function"&&typeof Response==="function";const qe=je&&typeof ReadableStream==="function";const We=je&&(typeof TextEncoder==="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer()));const test=(e,...t)=>{try{return!!e(...t)}catch(e){return false}};const ze=qe&&test((()=>{let e=false;const t=new Request(pe.origin,{body:new ReadableStream,method:"POST",get duplex(){e=true;return"half"}}).headers.has("Content-Type");return e&&!t}));const Ke=64*1024;const Ze=qe&&test((()=>Z.isReadableStream(new Response("").body)));const Xe={stream:Ze&&(e=>e.body)};je&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach((t=>{!Xe[t]&&(Xe[t]=Z.isFunction(e[t])?e=>e[t]():(e,s)=>{throw new AxiosError(`Response type '${t}' is not supported`,AxiosError.ERR_NOT_SUPPORT,s)})}))})(new Response);const getBodyLength=async e=>{if(e==null){return 0}if(Z.isBlob(e)){return e.size}if(Z.isSpecCompliantForm(e)){const t=new Request(pe.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}if(Z.isArrayBufferView(e)||Z.isArrayBuffer(e)){return e.byteLength}if(Z.isURLSearchParams(e)){e=e+""}if(Z.isString(e)){return(await We(e)).byteLength}};const resolveBodyLength=async(e,t)=>{const s=Z.toFiniteNumber(e.getContentLength());return s==null?getBodyLength(t):s};const $e=je&&(async e=>{let{url:t,method:s,data:r,signal:n,cancelToken:i,timeout:o,onDownloadProgress:A,onUploadProgress:a,responseType:c,headers:l,withCredentials:u="same-origin",fetchOptions:p}=resolveConfig(e);c=c?(c+"").toLowerCase():"text";let d=Ve([n,i&&i.toAbortSignal()],o);let g;const h=d&&d.unsubscribe&&(()=>{d.unsubscribe()});let E;try{if(a&&ze&&s!=="get"&&s!=="head"&&(E=await resolveBodyLength(l,r))!==0){let e=new Request(t,{method:"POST",body:r,duplex:"half"});let s;if(Z.isFormData(r)&&(s=e.headers.get("content-type"))){l.setContentType(s)}if(e.body){const[t,s]=progressEventDecorator(E,progressEventReducer(asyncDecorator(a)));r=trackStream(e.body,Ke,t,s)}}if(!Z.isString(u)){u=u?"include":"omit"}const n="credentials"in Request.prototype;g=new Request(t,{...p,signal:d,method:s.toUpperCase(),headers:l.normalize().toJSON(),body:r,duplex:"half",credentials:n?u:undefined});let i=await fetch(g);const o=Ze&&(c==="stream"||c==="response");if(Ze&&(A||o&&h)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=i[t]}));const t=Z.toFiniteNumber(i.headers.get("content-length"));const[s,r]=A&&progressEventDecorator(t,progressEventReducer(asyncDecorator(A),true))||[];i=new Response(trackStream(i.body,Ke,s,(()=>{r&&r();h&&h()})),e)}c=c||"text";let m=await Xe[Z.findKey(Xe,c)||"text"](i,e);!o&&h&&h();return await new Promise(((t,s)=>{settle(t,s,{data:m,headers:fe.from(i.headers),status:i.status,statusText:i.statusText,config:e,request:g})}))}catch(t){h&&h();if(t&&t.name==="TypeError"&&/fetch/i.test(t.message)){throw Object.assign(new AxiosError("Network Error",AxiosError.ERR_NETWORK,e,g),{cause:t.cause||t})}throw AxiosError.from(t,t&&t.code,e,g)}});const et={http:Pe,xhr:Je,fetch:$e};Z.forEach(et,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const renderReason=e=>`- ${e}`;const isResolvedHandle=e=>Z.isFunction(e)||e===null||e===false;const tt={getAdapter:e=>{e=Z.isArray(e)?e:[e];const{length:t}=e;let s;let r;const n={};for(let i=0;i`adapter ${e} `+(t===false?"is not supported by the environment":"is not available in the build")));let s=t?e.length>1?"since :\n"+e.map(renderReason).join("\n"):" "+renderReason(e[0]):"as no adapter specified";throw new AxiosError(`There is no suitable adapter to dispatch the request `+s,"ERR_NOT_SUPPORT")}return r},adapters:et};function throwIfCancellationRequested(e){if(e.cancelToken){e.cancelToken.throwIfRequested()}if(e.signal&&e.signal.aborted){throw new CanceledError(null,e)}}function dispatchRequest(e){throwIfCancellationRequested(e);e.headers=fe.from(e.headers);e.data=transformData.call(e,e.transformRequest);if(["post","put","patch"].indexOf(e.method)!==-1){e.headers.setContentType("application/x-www-form-urlencoded",false)}const t=tt.getAdapter(e.adapter||ge.adapter);return t(e).then((function onAdapterResolution(t){throwIfCancellationRequested(e);t.data=transformData.call(e,e.transformResponse,t);t.headers=fe.from(t.headers);return t}),(function onAdapterRejection(t){if(!isCancel(t)){throwIfCancellationRequested(e);if(t&&t.response){t.response.data=transformData.call(e,e.transformResponse,t.response);t.response.headers=fe.from(t.response.headers)}}return Promise.reject(t)}))}const st={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{st[e]=function validator(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}}));const rt={};st.transitional=function transitional(e,t,s){function formatMessage(e,t){return"[Axios v"+me+"] Transitional option '"+e+"'"+t+(s?". "+s:"")}return(s,r,n)=>{if(e===false){throw new AxiosError(formatMessage(r," has been removed"+(t?" in "+t:"")),AxiosError.ERR_DEPRECATED)}if(t&&!rt[r]){rt[r]=true;console.warn(formatMessage(r," has been deprecated since v"+t+" and will be removed in the near future"))}return e?e(s,r,n):true}};function assertOptions(e,t,s){if(typeof e!=="object"){throw new AxiosError("options must be an object",AxiosError.ERR_BAD_OPTION_VALUE)}const r=Object.keys(e);let n=r.length;while(n-- >0){const i=r[n];const o=t[i];if(o){const t=e[i];const s=t===undefined||o(t,i,e);if(s!==true){throw new AxiosError("option "+i+" must be "+s,AxiosError.ERR_BAD_OPTION_VALUE)}continue}if(s!==true){throw new AxiosError("Unknown option "+i,AxiosError.ERR_BAD_OPTION)}}}const nt={assertOptions:assertOptions,validators:st};const it=nt.validators;class Axios{constructor(e){this.defaults=e;this.interceptors={request:new se,response:new se}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=new Error;const s=t.stack?t.stack.replace(/^.+\n/,""):"";try{if(!e.stack){e.stack=s}else if(s&&!String(e.stack).endsWith(s.replace(/^.+\n.+\n/,""))){e.stack+="\n"+s}}catch(e){}}throw e}}_request(e,t){if(typeof e==="string"){t=t||{};t.url=e}else{t=e||{}}t=mergeConfig(this.defaults,t);const{transitional:s,paramsSerializer:r,headers:n}=t;if(s!==undefined){nt.assertOptions(s,{silentJSONParsing:it.transitional(it.boolean),forcedJSONParsing:it.transitional(it.boolean),clarifyTimeoutError:it.transitional(it.boolean)},false)}if(r!=null){if(Z.isFunction(r)){t.paramsSerializer={serialize:r}}else{nt.assertOptions(r,{encode:it.function,serialize:it.function},true)}}t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=n&&Z.merge(n.common,n[t.method]);n&&Z.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete n[e]}));t.headers=fe.concat(i,n);const o=[];let A=true;this.interceptors.request.forEach((function unshiftRequestInterceptors(e){if(typeof e.runWhen==="function"&&e.runWhen(t)===false){return}A=A&&e.synchronous;o.unshift(e.fulfilled,e.rejected)}));const a=[];this.interceptors.response.forEach((function pushResponseInterceptors(e){a.push(e.fulfilled,e.rejected)}));let c;let l=0;let u;if(!A){const e=[dispatchRequest.bind(this),undefined];e.unshift.apply(e,o);e.push.apply(e,a);u=e.length;c=Promise.resolve(t);while(l{if(!s._listeners)return;let t=s._listeners.length;while(t-- >0){s._listeners[t](e)}s._listeners=null}));this.promise.then=e=>{let t;const r=new Promise((e=>{s.subscribe(e);t=e})).then(e);r.cancel=function reject(){s.unsubscribe(t)};return r};e((function cancel(e,r,n){if(s.reason){return}s.reason=new CanceledError(e,r,n);t(s.reason)}))}throwIfRequested(){if(this.reason){throw this.reason}}subscribe(e){if(this.reason){e(this.reason);return}if(this._listeners){this._listeners.push(e)}else{this._listeners=[e]}}unsubscribe(e){if(!this._listeners){return}const t=this._listeners.indexOf(e);if(t!==-1){this._listeners.splice(t,1)}}toAbortSignal(){const e=new AbortController;const abort=t=>{e.abort(t)};this.subscribe(abort);e.signal.unsubscribe=()=>this.unsubscribe(abort);return e.signal}static source(){let e;const t=new CancelToken((function executor(t){e=t}));return{token:t,cancel:e}}}const At=CancelToken;function spread(e){return function wrap(t){return e.apply(null,t)}}function isAxiosError(e){return Z.isObject(e)&&e.isAxiosError===true}const at={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(at).forEach((([e,t])=>{at[t]=e}));const ct=at;function createInstance(e){const t=new ot(e);const s=bind(ot.prototype.request,t);Z.extend(s,ot.prototype,t,{allOwnKeys:true});Z.extend(s,t,null,{allOwnKeys:true});s.create=function create(t){return createInstance(mergeConfig(e,t))};return s}const lt=createInstance(ge);lt.Axios=ot;lt.CanceledError=CanceledError;lt.CancelToken=At;lt.isCancel=isCancel;lt.VERSION=me;lt.toFormData=toFormData;lt.AxiosError=AxiosError;lt.Cancel=lt.CanceledError;lt.all=function all(e){return Promise.all(e)};lt.spread=spread;lt.isAxiosError=isAxiosError;lt.mergeConfig=mergeConfig;lt.AxiosHeaders=fe;lt.formToJSON=e=>formDataToJSON(Z.isHTMLForm(e)?new FormData(e):e);lt.getAdapter=tt.getAdapter;lt.HttpStatusCode=ct;lt.default=lt;e.exports=lt},2315:e=>{"use strict";e.exports=JSON.parse('{"name":"@slack/web-api","version":"7.5.0","description":"Official library for using the Slack Platform\'s Web API","author":"Slack Technologies, LLC","license":"MIT","keywords":["slack","web-api","bot","client","http","api","proxy","rate-limiting","pagination"],"main":"dist/index.js","types":"./dist/index.d.ts","files":["dist/**/*"],"engines":{"node":">= 18","npm":">= 8.6.0"},"repository":"slackapi/node-slack-sdk","homepage":"https://slack.dev/node-slack-sdk/web-api","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/slackapi/node-slack-sdk/issues"},"scripts":{"prepare":"npm run build","build":"npm run build:clean && tsc","build:clean":"shx rm -rf ./dist ./coverage","lint":"npx @biomejs/biome check --write .","mocha":"mocha --config .mocharc.json \\"./src/**/*.spec.ts\\"","test":"npm run lint && npm run test:types && npm run test:integration && npm run test:unit","test:integration":"npm run build && node test/integration/commonjs-project/index.js && node test/integration/esm-project/index.mjs && npm run test:integration:ts","test:integration:ts":"cd test/integration/ts-4.7-project && npm i && npm run build","test:unit":"npm run build && c8 npm run mocha","test:types":"tsd","watch":"npx nodemon --watch \'src\' --ext \'ts\' --exec npm run build"},"dependencies":{"@slack/logger":"^4.0.0","@slack/types":"^2.9.0","@types/node":">=18.0.0","@types/retry":"0.12.0","axios":"^1.7.4","eventemitter3":"^5.0.1","form-data":"^4.0.0","is-electron":"2.2.2","is-stream":"^2","p-queue":"^6","p-retry":"^4","retry":"^0.13.1"},"devDependencies":{"@biomejs/biome":"^1.8.3","@tsconfig/recommended":"^1","@types/busboy":"^1.5.4","@types/chai":"^4","@types/mocha":"^10","@types/sinon":"^17","busboy":"^1","c8":"^10.1.2","chai":"^4","mocha":"^10","nock":"^13","shx":"^0.3.2","sinon":"^19","source-map-support":"^0.5.21","ts-node":"^10","tsd":"^0.31.1","typescript":"5.3.3"},"tsd":{"directory":"test/types"}}')},2087:e=>{"use strict";e.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/3gpphal+json":{"source":"iana","compressible":true},"application/3gpphalforms+json":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/ace+cbor":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/at+jwt":{"source":"iana"},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/city+json":{"source":"iana","compressible":true},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true,"extensions":["cpl"]},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dash-patch+xml":{"source":"iana","compressible":true,"extensions":["mpp"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/express":{"source":"iana","extensions":["exp"]},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true,"extensions":["mpf"]},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/missing-blocks+cbor-seq":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true},"application/mrb-publish+xml":{"source":"iana","compressible":true},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/oauth-authz-req+jwt":{"source":"iana"},"application/oblivious-dns-message":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p21":{"source":"iana"},"application/p21+zip":{"source":"iana","compressible":false},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana","extensions":["asc"]},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sarif-external-properties+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spdx+json":{"source":"iana","compressible":true},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/token-introspection+jwt":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana","extensions":["trig"]},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.5gnas":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gtpc":{"source":"iana"},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.lpp":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ngap":{"source":"iana"},"application/vnd.3gpp.pfcp":{"source":"iana"},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.s1ap":{"source":"iana"},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.age":{"source":"iana","extensions":["age"]},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.arrow.file":{"source":"iana"},"application/vnd.apache.arrow.stream":{"source":"iana"},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.cryptomator.encrypted":{"source":"iana"},"application/vnd.cryptomator.vault":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.eclipse.ditto+json":{"source":"iana","compressible":true},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eu.kasparian.car+json":{"source":"iana","compressible":true},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.familysearch.gedcom+zip":{"source":"iana","compressible":false},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujifilm.fb.docuworks":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.container":{"source":"iana"},"application/vnd.fujifilm.fb.jfi+xml":{"source":"iana","compressible":true},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hl7cda+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hl7v2+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana","extensions":["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxar.archive.3tz+zip":{"source":"iana","compressible":false},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.nacamar.ybrid+json":{"source":"iana","compressible":true},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nebumind.line":{"source":"iana"},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.opentimestamps.ots":{"source":"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.resilient.logic":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.syft+json":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veritone.aion+json":{"source":"iana","compressible":true},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"source":"iana","compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true,"extensions":["wif"]},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-iwork-keynote-sffkey":{"extensions":["key"]},"application/x-iwork-numbers-sffnumbers":{"extensions":["numbers"]},"application/x-iwork-pages-sffpages":{"extensions":["pages"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana","extensions":["avci"]},"image/avcs":{"source":"iana","extensions":["avcs"]},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","compressible":true,"extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"compressible":true,"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/step":{"source":"iana"},"model/step+xml":{"source":"iana","compressible":true,"extensions":["stpx"]},"model/step+zip":{"source":"iana","compressible":false,"extensions":["stpz"]},"model/step-xml+zip":{"source":"iana","compressible":false,"extensions":["stpxz"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.pytha.pyox":{"source":"iana"},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.sap.vds":{"source":"iana","extensions":["vds"]},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"source":"iana","extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.familysearch.gedcom":{"source":"iana","extensions":["ged"]},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"compressible":true,"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/ffv1":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/jxsv":{"source":"iana"},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/vp9":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')}};var __webpack_module_cache__={};function __nccwpck_require__(e){var t=__webpack_module_cache__[e];if(t!==undefined){return t.exports}var s=__webpack_module_cache__[e]={exports:{}};var r=true;try{__webpack_modules__[e].call(s.exports,s,s.exports,__nccwpck_require__);r=false}finally{if(r)delete __webpack_module_cache__[e]}return s.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var __webpack_exports__={};(()=>{"use strict";var e=__nccwpck_require__(3847);var t=__nccwpck_require__(1550);var s=__nccwpck_require__(1364);var r=__nccwpck_require__(5684);var n=__nccwpck_require__(1593);function formattedDate(e){const t=new Date(e);return t.toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"})}function ninetyDaysAgo(){const e=new Date;e.setDate(e.getDate()-90);return e.toISOString().split("T")[0]}async function getLatestCanaryVersion(){let e;try{const{stdout:t}=await getExecOutput("pnpm",["view","next","dist-tags","--json"]);const s=JSON.parse(t);e=s.canary||null}catch(e){setFailed(`Error fetching latest Next.js canary version, skipping update.`)}return e}async function getLatestVersion(){let e;try{const{stdout:t}=await getExecOutput("pnpm",["view","next","dist-tags","--json"]);const s=JSON.parse(t);e=s.latest||null}catch(e){setFailed(`Error fetching latest Next.js version, skipping update.`)}return e}var i=undefined&&undefined.__awaiter||function(e,t,s,r){function adopt(e){return e instanceof s?e:new s((function(t){t(e)}))}return new(s||(s=Promise))((function(s,n){function fulfilled(e){try{step(r.next(e))}catch(e){n(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){n(e)}}function step(e){e.done?s(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())}))};function run(){return i(this,void 0,void 0,(function*(){try{if(!process.env.GITHUB_TOKEN)throw new TypeError("GITHUB_TOKEN not set");if(!process.env.SLACK_TOKEN)throw new TypeError("SLACK_TOKEN not set");const n=(0,t.getOctokit)(process.env.GITHUB_TOKEN);const i=new s.WebClient(process.env.SLACK_TOKEN);const{owner:o,repo:A}=t.context.repo;const{data:a}=yield n.rest.search.issuesAndPullRequests({order:"desc",per_page:15,q:`repo:${o}/${A} -is:draft is:pr is:open created:>=${ninetyDaysAgo()}`,sort:"reactions"});if(a.items.length>0){let t="";let s=0;a.items.forEach(((e,r)=>{if(e.reactions){if(e.reactions.total_count>1){t+=`${r+1}. [<${e.html_url}|#${e.number}>, ${e.reactions.total_count} reactions, ${formattedDate(e.created_at)}]: ${e.title}\n`;s++}}}));const n=(0,r.BlockCollection)([(0,r.Section)({text:`*A list of the top ${s} PRs sorted by the most reactions (> 1) over the last 90 days.*\n_Note: This :github2: will run every Monday at 10AM UTC (6AM EST)._`}),(0,r.Divider)(),(0,r.Section)({text:t})]);yield i.chat.postMessage({blocks:n,channel:"#next-info",icon_emoji:":github:",username:"GitHub Notifier"});(0,e.info)(`Posted to Slack!`)}else{(0,e.info)(`No popular PRs.`)}}catch(t){(0,e.setFailed)(t)}}))}run()})();module.exports=__webpack_exports__})(); \ No newline at end of file diff --git a/.github/actions/next-repo-actions/dist/prs/index.mjs b/.github/actions/next-repo-actions/dist/prs/index.mjs deleted file mode 100644 index bb73a0c7587fa..0000000000000 --- a/.github/actions/next-repo-actions/dist/prs/index.mjs +++ /dev/null @@ -1,17 +0,0 @@ -import{createRequire as __WEBPACK_EXTERNAL_createRequire}from"module";var __webpack_modules__={5578:function(e,t,s){var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[s]}})}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var s in e)if(s!=="default"&&Object.hasOwnProperty.call(e,s))r(t,e,s);o(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.issue=t.issueCommand=void 0;const A=n(s(2037));const i=s(9428);function issueCommand(e,t,s){const r=new Command(e,t,s);process.stdout.write(r.toString()+A.EOL)}t.issueCommand=issueCommand;function issue(e,t=""){issueCommand(e,{},t)}t.issue=issue;const a="::";class Command{constructor(e,t,s){if(!e){e="missing.command"}this.command=e;this.properties=t;this.message=s}toString(){let e=a+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let t=true;for(const s in this.properties){if(this.properties.hasOwnProperty(s)){const r=this.properties[s];if(r){if(t){t=false}else{e+=","}e+=`${s}=${escapeProperty(r)}`}}}}e+=`${a}${escapeData(this.message)}`;return e}}function escapeData(e){return i.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(e){return i.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},4237:function(e,t,s){var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[s]}})}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var s in e)if(s!=="default"&&Object.hasOwnProperty.call(e,s))r(t,e,s);o(t,e);return t};var A=this&&this.__awaiter||function(e,t,s,r){function adopt(e){return e instanceof s?e:new s((function(t){t(e)}))}return new(s||(s=Promise))((function(s,o){function fulfilled(e){try{step(r.next(e))}catch(e){o(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){o(e)}}function step(e){e.done?s(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.getIDToken=t.getState=t.saveState=t.group=t.endGroup=t.startGroup=t.info=t.notice=t.warning=t.error=t.debug=t.isDebug=t.setFailed=t.setCommandEcho=t.setOutput=t.getBooleanInput=t.getMultilineInput=t.getInput=t.addPath=t.setSecret=t.exportVariable=t.ExitCode=void 0;const i=s(5578);const a=s(1197);const c=s(9428);const l=n(s(2037));const u=n(s(1017));const p=s(8649);var d;(function(e){e[e["Success"]=0]="Success";e[e["Failure"]=1]="Failure"})(d=t.ExitCode||(t.ExitCode={}));function exportVariable(e,t){const s=c.toCommandValue(t);process.env[e]=s;const r=process.env["GITHUB_ENV"]||"";if(r){return a.issueFileCommand("ENV",a.prepareKeyValueMessage(e,t))}i.issueCommand("set-env",{name:e},s)}t.exportVariable=exportVariable;function setSecret(e){i.issueCommand("add-mask",{},e)}t.setSecret=setSecret;function addPath(e){const t=process.env["GITHUB_PATH"]||"";if(t){a.issueFileCommand("PATH",e)}else{i.issueCommand("add-path",{},e)}process.env["PATH"]=`${e}${u.delimiter}${process.env["PATH"]}`}t.addPath=addPath;function getInput(e,t){const s=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!s){throw new Error(`Input required and not supplied: ${e}`)}if(t&&t.trimWhitespace===false){return s}return s.trim()}t.getInput=getInput;function getMultilineInput(e,t){const s=getInput(e,t).split("\n").filter((e=>e!==""));if(t&&t.trimWhitespace===false){return s}return s.map((e=>e.trim()))}t.getMultilineInput=getMultilineInput;function getBooleanInput(e,t){const s=["true","True","TRUE"];const r=["false","False","FALSE"];const o=getInput(e,t);if(s.includes(o))return true;if(r.includes(o))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}t.getBooleanInput=getBooleanInput;function setOutput(e,t){const s=process.env["GITHUB_OUTPUT"]||"";if(s){return a.issueFileCommand("OUTPUT",a.prepareKeyValueMessage(e,t))}process.stdout.write(l.EOL);i.issueCommand("set-output",{name:e},c.toCommandValue(t))}t.setOutput=setOutput;function setCommandEcho(e){i.issue("echo",e?"on":"off")}t.setCommandEcho=setCommandEcho;function setFailed(e){process.exitCode=d.Failure;error(e)}t.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}t.isDebug=isDebug;function debug(e){i.issueCommand("debug",{},e)}t.debug=debug;function error(e,t={}){i.issueCommand("error",c.toCommandProperties(t),e instanceof Error?e.toString():e)}t.error=error;function warning(e,t={}){i.issueCommand("warning",c.toCommandProperties(t),e instanceof Error?e.toString():e)}t.warning=warning;function notice(e,t={}){i.issueCommand("notice",c.toCommandProperties(t),e instanceof Error?e.toString():e)}t.notice=notice;function info(e){process.stdout.write(e+l.EOL)}t.info=info;function startGroup(e){i.issue("group",e)}t.startGroup=startGroup;function endGroup(){i.issue("endgroup")}t.endGroup=endGroup;function group(e,t){return A(this,void 0,void 0,(function*(){startGroup(e);let s;try{s=yield t()}finally{endGroup()}return s}))}t.group=group;function saveState(e,t){const s=process.env["GITHUB_STATE"]||"";if(s){return a.issueFileCommand("STATE",a.prepareKeyValueMessage(e,t))}i.issueCommand("save-state",{name:e},c.toCommandValue(t))}t.saveState=saveState;function getState(e){return process.env[`STATE_${e}`]||""}t.getState=getState;function getIDToken(e){return A(this,void 0,void 0,(function*(){return yield p.OidcClient.getIDToken(e)}))}t.getIDToken=getIDToken;var g=s(3535);Object.defineProperty(t,"summary",{enumerable:true,get:function(){return g.summary}});var h=s(3535);Object.defineProperty(t,"markdownSummary",{enumerable:true,get:function(){return h.markdownSummary}});var E=s(1027);Object.defineProperty(t,"toPosixPath",{enumerable:true,get:function(){return E.toPosixPath}});Object.defineProperty(t,"toWin32Path",{enumerable:true,get:function(){return E.toWin32Path}});Object.defineProperty(t,"toPlatformPath",{enumerable:true,get:function(){return E.toPlatformPath}})},1197:function(e,t,s){var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[s]}})}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var s in e)if(s!=="default"&&Object.hasOwnProperty.call(e,s))r(t,e,s);o(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.prepareKeyValueMessage=t.issueFileCommand=void 0;const A=n(s(7147));const i=n(s(2037));const a=s(3872);const c=s(9428);function issueFileCommand(e,t){const s=process.env[`GITHUB_${e}`];if(!s){throw new Error(`Unable to find environment variable for file command ${e}`)}if(!A.existsSync(s)){throw new Error(`Missing file at path: ${s}`)}A.appendFileSync(s,`${c.toCommandValue(t)}${i.EOL}`,{encoding:"utf8"})}t.issueFileCommand=issueFileCommand;function prepareKeyValueMessage(e,t){const s=`ghadelimiter_${a.v4()}`;const r=c.toCommandValue(t);if(e.includes(s)){throw new Error(`Unexpected input: name should not contain the delimiter "${s}"`)}if(r.includes(s)){throw new Error(`Unexpected input: value should not contain the delimiter "${s}"`)}return`${e}<<${s}${i.EOL}${r}${i.EOL}${s}`}t.prepareKeyValueMessage=prepareKeyValueMessage},8649:function(e,t,s){var r=this&&this.__awaiter||function(e,t,s,r){function adopt(e){return e instanceof s?e:new s((function(t){t(e)}))}return new(s||(s=Promise))((function(s,o){function fulfilled(e){try{step(r.next(e))}catch(e){o(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){o(e)}}function step(e){e.done?s(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.OidcClient=void 0;const o=s(6302);const n=s(9457);const A=s(4237);class OidcClient{static createHttpClient(e=true,t=10){const s={allowRetries:e,maxRetries:t};return new o.HttpClient("actions/oidc-client",[new n.BearerCredentialHandler(OidcClient.getRequestToken())],s)}static getRequestToken(){const e=process.env["ACTIONS_ID_TOKEN_REQUEST_TOKEN"];if(!e){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable")}return e}static getIDTokenUrl(){const e=process.env["ACTIONS_ID_TOKEN_REQUEST_URL"];if(!e){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable")}return e}static getCall(e){var t;return r(this,void 0,void 0,(function*(){const s=OidcClient.createHttpClient();const r=yield s.getJson(e).catch((e=>{throw new Error(`Failed to get ID Token. \n \n Error Code : ${e.statusCode}\n \n Error Message: ${e.message}`)}));const o=(t=r.result)===null||t===void 0?void 0:t.value;if(!o){throw new Error("Response json body do not have ID Token field")}return o}))}static getIDToken(e){return r(this,void 0,void 0,(function*(){try{let t=OidcClient.getIDTokenUrl();if(e){const s=encodeURIComponent(e);t=`${t}&audience=${s}`}A.debug(`ID token url is ${t}`);const s=yield OidcClient.getCall(t);A.setSecret(s);return s}catch(e){throw new Error(`Error message: ${e.message}`)}}))}}t.OidcClient=OidcClient},1027:function(e,t,s){var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[s]}})}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var s in e)if(s!=="default"&&Object.hasOwnProperty.call(e,s))r(t,e,s);o(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.toPlatformPath=t.toWin32Path=t.toPosixPath=void 0;const A=n(s(1017));function toPosixPath(e){return e.replace(/[\\]/g,"/")}t.toPosixPath=toPosixPath;function toWin32Path(e){return e.replace(/[/]/g,"\\")}t.toWin32Path=toWin32Path;function toPlatformPath(e){return e.replace(/[/\\]/g,A.sep)}t.toPlatformPath=toPlatformPath},3535:function(e,t,s){var r=this&&this.__awaiter||function(e,t,s,r){function adopt(e){return e instanceof s?e:new s((function(t){t(e)}))}return new(s||(s=Promise))((function(s,o){function fulfilled(e){try{step(r.next(e))}catch(e){o(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){o(e)}}function step(e){e.done?s(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.summary=t.markdownSummary=t.SUMMARY_DOCS_URL=t.SUMMARY_ENV_VAR=void 0;const o=s(2037);const n=s(7147);const{access:A,appendFile:i,writeFile:a}=n.promises;t.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";t.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";class Summary{constructor(){this._buffer=""}filePath(){return r(this,void 0,void 0,(function*(){if(this._filePath){return this._filePath}const e=process.env[t.SUMMARY_ENV_VAR];if(!e){throw new Error(`Unable to find environment variable for $${t.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`)}try{yield A(e,n.constants.R_OK|n.constants.W_OK)}catch(t){throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}this._filePath=e;return this._filePath}))}wrap(e,t,s={}){const r=Object.entries(s).map((([e,t])=>` ${e}="${t}"`)).join("");if(!t){return`<${e}${r}>`}return`<${e}${r}>${t}`}write(e){return r(this,void 0,void 0,(function*(){const t=!!(e===null||e===void 0?void 0:e.overwrite);const s=yield this.filePath();const r=t?a:i;yield r(s,this._buffer,{encoding:"utf8"});return this.emptyBuffer()}))}clear(){return r(this,void 0,void 0,(function*(){return this.emptyBuffer().write({overwrite:true})}))}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){this._buffer="";return this}addRaw(e,t=false){this._buffer+=e;return t?this.addEOL():this}addEOL(){return this.addRaw(o.EOL)}addCodeBlock(e,t){const s=Object.assign({},t&&{lang:t});const r=this.wrap("pre",this.wrap("code",e),s);return this.addRaw(r).addEOL()}addList(e,t=false){const s=t?"ol":"ul";const r=e.map((e=>this.wrap("li",e))).join("");const o=this.wrap(s,r);return this.addRaw(o).addEOL()}addTable(e){const t=e.map((e=>{const t=e.map((e=>{if(typeof e==="string"){return this.wrap("td",e)}const{header:t,data:s,colspan:r,rowspan:o}=e;const n=t?"th":"td";const A=Object.assign(Object.assign({},r&&{colspan:r}),o&&{rowspan:o});return this.wrap(n,s,A)})).join("");return this.wrap("tr",t)})).join("");const s=this.wrap("table",t);return this.addRaw(s).addEOL()}addDetails(e,t){const s=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(s).addEOL()}addImage(e,t,s){const{width:r,height:o}=s||{};const n=Object.assign(Object.assign({},r&&{width:r}),o&&{height:o});const A=this.wrap("img",null,Object.assign({src:e,alt:t},n));return this.addRaw(A).addEOL()}addHeading(e,t){const s=`h${t}`;const r=["h1","h2","h3","h4","h5","h6"].includes(s)?s:"h1";const o=this.wrap(r,e);return this.addRaw(o).addEOL()}addSeparator(){const e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){const e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,t){const s=Object.assign({},t&&{cite:t});const r=this.wrap("blockquote",e,s);return this.addRaw(r).addEOL()}addLink(e,t){const s=this.wrap("a",e,{href:t});return this.addRaw(s).addEOL()}}const c=new Summary;t.markdownSummary=c;t.summary=c},9428:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.toCommandProperties=t.toCommandValue=void 0;function toCommandValue(e){if(e===null||e===undefined){return""}else if(typeof e==="string"||e instanceof String){return e}return JSON.stringify(e)}t.toCommandValue=toCommandValue;function toCommandProperties(e){if(!Object.keys(e).length){return{}}return{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}}t.toCommandProperties=toCommandProperties},4260:function(e,t,s){var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[s]}})}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var s in e)if(s!=="default"&&Object.hasOwnProperty.call(e,s))r(t,e,s);o(t,e);return t};var A=this&&this.__awaiter||function(e,t,s,r){function adopt(e){return e instanceof s?e:new s((function(t){t(e)}))}return new(s||(s=Promise))((function(s,o){function fulfilled(e){try{step(r.next(e))}catch(e){o(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){o(e)}}function step(e){e.done?s(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.getExecOutput=t.exec=void 0;const i=s(1576);const a=n(s(6681));function exec(e,t,s){return A(this,void 0,void 0,(function*(){const r=a.argStringToArray(e);if(r.length===0){throw new Error(`Parameter 'commandLine' cannot be null or empty.`)}const o=r[0];t=r.slice(1).concat(t||[]);const n=new a.ToolRunner(o,t,s);return n.exec()}))}t.exec=exec;function getExecOutput(e,t,s){var r,o;return A(this,void 0,void 0,(function*(){let n="";let A="";const a=new i.StringDecoder("utf8");const c=new i.StringDecoder("utf8");const l=(r=s===null||s===void 0?void 0:s.listeners)===null||r===void 0?void 0:r.stdout;const u=(o=s===null||s===void 0?void 0:s.listeners)===null||o===void 0?void 0:o.stderr;const stdErrListener=e=>{A+=c.write(e);if(u){u(e)}};const stdOutListener=e=>{n+=a.write(e);if(l){l(e)}};const p=Object.assign(Object.assign({},s===null||s===void 0?void 0:s.listeners),{stdout:stdOutListener,stderr:stdErrListener});const d=yield exec(e,t,Object.assign(Object.assign({},s),{listeners:p}));n+=a.end();A+=c.end();return{exitCode:d,stdout:n,stderr:A}}))}t.getExecOutput=getExecOutput},6681:function(e,t,s){var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[s]}})}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var s in e)if(s!=="default"&&Object.hasOwnProperty.call(e,s))r(t,e,s);o(t,e);return t};var A=this&&this.__awaiter||function(e,t,s,r){function adopt(e){return e instanceof s?e:new s((function(t){t(e)}))}return new(s||(s=Promise))((function(s,o){function fulfilled(e){try{step(r.next(e))}catch(e){o(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){o(e)}}function step(e){e.done?s(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.argStringToArray=t.ToolRunner=void 0;const i=n(s(2037));const a=n(s(2361));const c=n(s(2081));const l=n(s(1017));const u=n(s(7128));const p=n(s(3189));const d=s(9512);const g=process.platform==="win32";class ToolRunner extends a.EventEmitter{constructor(e,t,s){super();if(!e){throw new Error("Parameter 'toolPath' cannot be null or empty.")}this.toolPath=e;this.args=t||[];this.options=s||{}}_debug(e){if(this.options.listeners&&this.options.listeners.debug){this.options.listeners.debug(e)}}_getCommandString(e,t){const s=this._getSpawnFileName();const r=this._getSpawnArgs(e);let o=t?"":"[command]";if(g){if(this._isCmdFile()){o+=s;for(const e of r){o+=` ${e}`}}else if(e.windowsVerbatimArguments){o+=`"${s}"`;for(const e of r){o+=` ${e}`}}else{o+=this._windowsQuoteCmdArg(s);for(const e of r){o+=` ${this._windowsQuoteCmdArg(e)}`}}}else{o+=s;for(const e of r){o+=` ${e}`}}return o}_processLineBuffer(e,t,s){try{let r=t+e.toString();let o=r.indexOf(i.EOL);while(o>-1){const e=r.substring(0,o);s(e);r=r.substring(o+i.EOL.length);o=r.indexOf(i.EOL)}return r}catch(e){this._debug(`error processing line. Failed with error ${e}`);return""}}_getSpawnFileName(){if(g){if(this._isCmdFile()){return process.env["COMSPEC"]||"cmd.exe"}}return this.toolPath}_getSpawnArgs(e){if(g){if(this._isCmdFile()){let t=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(const s of this.args){t+=" ";t+=e.windowsVerbatimArguments?s:this._windowsQuoteCmdArg(s)}t+='"';return[t]}}return this.args}_endsWith(e,t){return e.endsWith(t)}_isCmdFile(){const e=this.toolPath.toUpperCase();return this._endsWith(e,".CMD")||this._endsWith(e,".BAT")}_windowsQuoteCmdArg(e){if(!this._isCmdFile()){return this._uvQuoteCmdArg(e)}if(!e){return'""'}const t=[" ","\t","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'];let s=false;for(const r of e){if(t.some((e=>e===r))){s=true;break}}if(!s){return e}let r='"';let o=true;for(let t=e.length;t>0;t--){r+=e[t-1];if(o&&e[t-1]==="\\"){r+="\\"}else if(e[t-1]==='"'){o=true;r+='"'}else{o=false}}r+='"';return r.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e){return'""'}if(!e.includes(" ")&&!e.includes("\t")&&!e.includes('"')){return e}if(!e.includes('"')&&!e.includes("\\")){return`"${e}"`}let t='"';let s=true;for(let r=e.length;r>0;r--){t+=e[r-1];if(s&&e[r-1]==="\\"){t+="\\"}else if(e[r-1]==='"'){s=true;t+="\\"}else{s=false}}t+='"';return t.split("").reverse().join("")}_cloneExecOptions(e){e=e||{};const t={cwd:e.cwd||process.cwd(),env:e.env||process.env,silent:e.silent||false,windowsVerbatimArguments:e.windowsVerbatimArguments||false,failOnStdErr:e.failOnStdErr||false,ignoreReturnCode:e.ignoreReturnCode||false,delay:e.delay||1e4};t.outStream=e.outStream||process.stdout;t.errStream=e.errStream||process.stderr;return t}_getSpawnOptions(e,t){e=e||{};const s={};s.cwd=e.cwd;s.env=e.env;s["windowsVerbatimArguments"]=e.windowsVerbatimArguments||this._isCmdFile();if(e.windowsVerbatimArguments){s.argv0=`"${t}"`}return s}exec(){return A(this,void 0,void 0,(function*(){if(!p.isRooted(this.toolPath)&&(this.toolPath.includes("/")||g&&this.toolPath.includes("\\"))){this.toolPath=l.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)}this.toolPath=yield u.which(this.toolPath,true);return new Promise(((e,t)=>A(this,void 0,void 0,(function*(){this._debug(`exec tool: ${this.toolPath}`);this._debug("arguments:");for(const e of this.args){this._debug(` ${e}`)}const s=this._cloneExecOptions(this.options);if(!s.silent&&s.outStream){s.outStream.write(this._getCommandString(s)+i.EOL)}const r=new ExecState(s,this.toolPath);r.on("debug",(e=>{this._debug(e)}));if(this.options.cwd&&!(yield p.exists(this.options.cwd))){return t(new Error(`The cwd: ${this.options.cwd} does not exist!`))}const o=this._getSpawnFileName();const n=c.spawn(o,this._getSpawnArgs(s),this._getSpawnOptions(this.options,o));let A="";if(n.stdout){n.stdout.on("data",(e=>{if(this.options.listeners&&this.options.listeners.stdout){this.options.listeners.stdout(e)}if(!s.silent&&s.outStream){s.outStream.write(e)}A=this._processLineBuffer(e,A,(e=>{if(this.options.listeners&&this.options.listeners.stdline){this.options.listeners.stdline(e)}}))}))}let a="";if(n.stderr){n.stderr.on("data",(e=>{r.processStderr=true;if(this.options.listeners&&this.options.listeners.stderr){this.options.listeners.stderr(e)}if(!s.silent&&s.errStream&&s.outStream){const t=s.failOnStdErr?s.errStream:s.outStream;t.write(e)}a=this._processLineBuffer(e,a,(e=>{if(this.options.listeners&&this.options.listeners.errline){this.options.listeners.errline(e)}}))}))}n.on("error",(e=>{r.processError=e.message;r.processExited=true;r.processClosed=true;r.CheckComplete()}));n.on("exit",(e=>{r.processExitCode=e;r.processExited=true;this._debug(`Exit code ${e} received from tool '${this.toolPath}'`);r.CheckComplete()}));n.on("close",(e=>{r.processExitCode=e;r.processExited=true;r.processClosed=true;this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);r.CheckComplete()}));r.on("done",((s,r)=>{if(A.length>0){this.emit("stdline",A)}if(a.length>0){this.emit("errline",a)}n.removeAllListeners();if(s){t(s)}else{e(r)}}));if(this.options.input){if(!n.stdin){throw new Error("child process missing stdin")}n.stdin.end(this.options.input)}}))))}))}}t.ToolRunner=ToolRunner;function argStringToArray(e){const t=[];let s=false;let r=false;let o="";function append(e){if(r&&e!=='"'){o+="\\"}o+=e;r=false}for(let n=0;n0){t.push(o);o=""}continue}append(A)}if(o.length>0){t.push(o.trim())}return t}t.argStringToArray=argStringToArray;class ExecState extends a.EventEmitter{constructor(e,t){super();this.processClosed=false;this.processError="";this.processExitCode=0;this.processExited=false;this.processStderr=false;this.delay=1e4;this.done=false;this.timeout=null;if(!t){throw new Error("toolPath must not be empty")}this.options=e;this.toolPath=t;if(e.delay){this.delay=e.delay}}CheckComplete(){if(this.done){return}if(this.processClosed){this._setResult()}else if(this.processExited){this.timeout=d.setTimeout(ExecState.HandleTimeout,this.delay,this)}}_debug(e){this.emit("debug",e)}_setResult(){let e;if(this.processExited){if(this.processError){e=new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`)}else if(this.processExitCode!==0&&!this.options.ignoreReturnCode){e=new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`)}else if(this.processStderr&&this.options.failOnStdErr){e=new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`)}}if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.done=true;this.emit("done",e,this.processExitCode)}static HandleTimeout(e){if(e.done){return}if(!e.processClosed&&e.processExited){const t=`The STDIO streams did not close within ${e.delay/1e3} seconds of the exit event from process '${e.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;e._debug(t)}e._setResult()}}},4450:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:true});t.Context=void 0;const r=s(7147);const o=s(2037);class Context{constructor(){var e,t,s;this.payload={};if(process.env.GITHUB_EVENT_PATH){if((0,r.existsSync)(process.env.GITHUB_EVENT_PATH)){this.payload=JSON.parse((0,r.readFileSync)(process.env.GITHUB_EVENT_PATH,{encoding:"utf8"}))}else{const e=process.env.GITHUB_EVENT_PATH;process.stdout.write(`GITHUB_EVENT_PATH ${e} does not exist${o.EOL}`)}}this.eventName=process.env.GITHUB_EVENT_NAME;this.sha=process.env.GITHUB_SHA;this.ref=process.env.GITHUB_REF;this.workflow=process.env.GITHUB_WORKFLOW;this.action=process.env.GITHUB_ACTION;this.actor=process.env.GITHUB_ACTOR;this.job=process.env.GITHUB_JOB;this.runNumber=parseInt(process.env.GITHUB_RUN_NUMBER,10);this.runId=parseInt(process.env.GITHUB_RUN_ID,10);this.apiUrl=(e=process.env.GITHUB_API_URL)!==null&&e!==void 0?e:`https://api.github.com`;this.serverUrl=(t=process.env.GITHUB_SERVER_URL)!==null&&t!==void 0?t:`https://github.com`;this.graphqlUrl=(s=process.env.GITHUB_GRAPHQL_URL)!==null&&s!==void 0?s:`https://api.github.com/graphql`}get issue(){const e=this.payload;return Object.assign(Object.assign({},this.repo),{number:(e.issue||e.pull_request||e).number})}get repo(){if(process.env.GITHUB_REPOSITORY){const[e,t]=process.env.GITHUB_REPOSITORY.split("/");return{owner:e,repo:t}}if(this.payload.repository){return{owner:this.payload.repository.owner.login,repo:this.payload.repository.name}}throw new Error("context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'")}}t.Context=Context},7131:function(e,t,s){var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;var o=Object.getOwnPropertyDescriptor(t,s);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[s]}}}Object.defineProperty(e,r,o)}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var s in e)if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s))r(t,e,s);o(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.getOctokit=t.context=void 0;const A=n(s(4450));const i=s(7830);t.context=new A.Context;function getOctokit(e,t,...s){const r=i.GitHub.plugin(...s);return new r((0,i.getOctokitOptions)(e,t))}t.getOctokit=getOctokit},2138:function(e,t,s){var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;var o=Object.getOwnPropertyDescriptor(t,s);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[s]}}}Object.defineProperty(e,r,o)}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var s in e)if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s))r(t,e,s);o(t,e);return t};var A=this&&this.__awaiter||function(e,t,s,r){function adopt(e){return e instanceof s?e:new s((function(t){t(e)}))}return new(s||(s=Promise))((function(s,o){function fulfilled(e){try{step(r.next(e))}catch(e){o(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){o(e)}}function step(e){e.done?s(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.getApiBaseUrl=t.getProxyFetch=t.getProxyAgentDispatcher=t.getProxyAgent=t.getAuthString=void 0;const i=n(s(6302));const a=s(7485);function getAuthString(e,t){if(!e&&!t.auth){throw new Error("Parameter token or opts.auth is required")}else if(e&&t.auth){throw new Error("Parameters token and opts.auth may not both be specified")}return typeof t.auth==="string"?t.auth:`token ${e}`}t.getAuthString=getAuthString;function getProxyAgent(e){const t=new i.HttpClient;return t.getAgent(e)}t.getProxyAgent=getProxyAgent;function getProxyAgentDispatcher(e){const t=new i.HttpClient;return t.getAgentDispatcher(e)}t.getProxyAgentDispatcher=getProxyAgentDispatcher;function getProxyFetch(e){const t=getProxyAgentDispatcher(e);const proxyFetch=(e,s)=>A(this,void 0,void 0,(function*(){return(0,a.fetch)(e,Object.assign(Object.assign({},s),{dispatcher:t}))}));return proxyFetch}t.getProxyFetch=getProxyFetch;function getApiBaseUrl(){return process.env["GITHUB_API_URL"]||"https://api.github.com"}t.getApiBaseUrl=getApiBaseUrl},7830:function(e,t,s){var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;var o=Object.getOwnPropertyDescriptor(t,s);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[s]}}}Object.defineProperty(e,r,o)}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var s in e)if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s))r(t,e,s);o(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.getOctokitOptions=t.GitHub=t.defaults=t.context=void 0;const A=n(s(4450));const i=n(s(2138));const a=s(6889);const c=s(157);const l=s(510);t.context=new A.Context;const u=i.getApiBaseUrl();t.defaults={baseUrl:u,request:{agent:i.getProxyAgent(u),fetch:i.getProxyFetch(u)}};t.GitHub=a.Octokit.plugin(c.restEndpointMethods,l.paginateRest).defaults(t.defaults);function getOctokitOptions(e,t){const s=Object.assign({},t||{});const r=i.getAuthString(e,s);if(r){s.auth=r}return s}t.getOctokitOptions=getOctokitOptions},9457:function(e,t){var s=this&&this.__awaiter||function(e,t,s,r){function adopt(e){return e instanceof s?e:new s((function(t){t(e)}))}return new(s||(s=Promise))((function(s,o){function fulfilled(e){try{step(r.next(e))}catch(e){o(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){o(e)}}function step(e){e.done?s(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.PersonalAccessTokenCredentialHandler=t.BearerCredentialHandler=t.BasicCredentialHandler=void 0;class BasicCredentialHandler{constructor(e,t){this.username=e;this.password=t}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return s(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}t.BasicCredentialHandler=BasicCredentialHandler;class BearerCredentialHandler{constructor(e){this.token=e}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Bearer ${this.token}`}canHandleAuthentication(){return false}handleAuthentication(){return s(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}t.BearerCredentialHandler=BearerCredentialHandler;class PersonalAccessTokenCredentialHandler{constructor(e){this.token=e}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return s(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}t.PersonalAccessTokenCredentialHandler=PersonalAccessTokenCredentialHandler},6302:function(e,t,s){var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;var o=Object.getOwnPropertyDescriptor(t,s);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[s]}}}Object.defineProperty(e,r,o)}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var s in e)if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s))r(t,e,s);o(t,e);return t};var A=this&&this.__awaiter||function(e,t,s,r){function adopt(e){return e instanceof s?e:new s((function(t){t(e)}))}return new(s||(s=Promise))((function(s,o){function fulfilled(e){try{step(r.next(e))}catch(e){o(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){o(e)}}function step(e){e.done?s(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.HttpClient=t.isHttps=t.HttpClientResponse=t.HttpClientError=t.getProxyUrl=t.MediaTypes=t.Headers=t.HttpCodes=void 0;const i=n(s(3685));const a=n(s(5687));const c=n(s(844));const l=n(s(8578));const u=s(7485);var p;(function(e){e[e["OK"]=200]="OK";e[e["MultipleChoices"]=300]="MultipleChoices";e[e["MovedPermanently"]=301]="MovedPermanently";e[e["ResourceMoved"]=302]="ResourceMoved";e[e["SeeOther"]=303]="SeeOther";e[e["NotModified"]=304]="NotModified";e[e["UseProxy"]=305]="UseProxy";e[e["SwitchProxy"]=306]="SwitchProxy";e[e["TemporaryRedirect"]=307]="TemporaryRedirect";e[e["PermanentRedirect"]=308]="PermanentRedirect";e[e["BadRequest"]=400]="BadRequest";e[e["Unauthorized"]=401]="Unauthorized";e[e["PaymentRequired"]=402]="PaymentRequired";e[e["Forbidden"]=403]="Forbidden";e[e["NotFound"]=404]="NotFound";e[e["MethodNotAllowed"]=405]="MethodNotAllowed";e[e["NotAcceptable"]=406]="NotAcceptable";e[e["ProxyAuthenticationRequired"]=407]="ProxyAuthenticationRequired";e[e["RequestTimeout"]=408]="RequestTimeout";e[e["Conflict"]=409]="Conflict";e[e["Gone"]=410]="Gone";e[e["TooManyRequests"]=429]="TooManyRequests";e[e["InternalServerError"]=500]="InternalServerError";e[e["NotImplemented"]=501]="NotImplemented";e[e["BadGateway"]=502]="BadGateway";e[e["ServiceUnavailable"]=503]="ServiceUnavailable";e[e["GatewayTimeout"]=504]="GatewayTimeout"})(p||(t.HttpCodes=p={}));var d;(function(e){e["Accept"]="accept";e["ContentType"]="content-type"})(d||(t.Headers=d={}));var g;(function(e){e["ApplicationJson"]="application/json"})(g||(t.MediaTypes=g={}));function getProxyUrl(e){const t=c.getProxyUrl(new URL(e));return t?t.href:""}t.getProxyUrl=getProxyUrl;const h=[p.MovedPermanently,p.ResourceMoved,p.SeeOther,p.TemporaryRedirect,p.PermanentRedirect];const E=[p.BadGateway,p.ServiceUnavailable,p.GatewayTimeout];const C=["OPTIONS","GET","DELETE","HEAD"];const m=10;const Q=5;class HttpClientError extends Error{constructor(e,t){super(e);this.name="HttpClientError";this.statusCode=t;Object.setPrototypeOf(this,HttpClientError.prototype)}}t.HttpClientError=HttpClientError;class HttpClientResponse{constructor(e){this.message=e}readBody(){return A(this,void 0,void 0,(function*(){return new Promise((e=>A(this,void 0,void 0,(function*(){let t=Buffer.alloc(0);this.message.on("data",(e=>{t=Buffer.concat([t,e])}));this.message.on("end",(()=>{e(t.toString())}))}))))}))}readBodyBuffer(){return A(this,void 0,void 0,(function*(){return new Promise((e=>A(this,void 0,void 0,(function*(){const t=[];this.message.on("data",(e=>{t.push(e)}));this.message.on("end",(()=>{e(Buffer.concat(t))}))}))))}))}}t.HttpClientResponse=HttpClientResponse;function isHttps(e){const t=new URL(e);return t.protocol==="https:"}t.isHttps=isHttps;class HttpClient{constructor(e,t,s){this._ignoreSslError=false;this._allowRedirects=true;this._allowRedirectDowngrade=false;this._maxRedirects=50;this._allowRetries=false;this._maxRetries=1;this._keepAlive=false;this._disposed=false;this.userAgent=e;this.handlers=t||[];this.requestOptions=s;if(s){if(s.ignoreSslError!=null){this._ignoreSslError=s.ignoreSslError}this._socketTimeout=s.socketTimeout;if(s.allowRedirects!=null){this._allowRedirects=s.allowRedirects}if(s.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=s.allowRedirectDowngrade}if(s.maxRedirects!=null){this._maxRedirects=Math.max(s.maxRedirects,0)}if(s.keepAlive!=null){this._keepAlive=s.keepAlive}if(s.allowRetries!=null){this._allowRetries=s.allowRetries}if(s.maxRetries!=null){this._maxRetries=s.maxRetries}}}options(e,t){return A(this,void 0,void 0,(function*(){return this.request("OPTIONS",e,null,t||{})}))}get(e,t){return A(this,void 0,void 0,(function*(){return this.request("GET",e,null,t||{})}))}del(e,t){return A(this,void 0,void 0,(function*(){return this.request("DELETE",e,null,t||{})}))}post(e,t,s){return A(this,void 0,void 0,(function*(){return this.request("POST",e,t,s||{})}))}patch(e,t,s){return A(this,void 0,void 0,(function*(){return this.request("PATCH",e,t,s||{})}))}put(e,t,s){return A(this,void 0,void 0,(function*(){return this.request("PUT",e,t,s||{})}))}head(e,t){return A(this,void 0,void 0,(function*(){return this.request("HEAD",e,null,t||{})}))}sendStream(e,t,s,r){return A(this,void 0,void 0,(function*(){return this.request(e,t,s,r)}))}getJson(e,t={}){return A(this,void 0,void 0,(function*(){t[d.Accept]=this._getExistingOrDefaultHeader(t,d.Accept,g.ApplicationJson);const s=yield this.get(e,t);return this._processResponse(s,this.requestOptions)}))}postJson(e,t,s={}){return A(this,void 0,void 0,(function*(){const r=JSON.stringify(t,null,2);s[d.Accept]=this._getExistingOrDefaultHeader(s,d.Accept,g.ApplicationJson);s[d.ContentType]=this._getExistingOrDefaultHeader(s,d.ContentType,g.ApplicationJson);const o=yield this.post(e,r,s);return this._processResponse(o,this.requestOptions)}))}putJson(e,t,s={}){return A(this,void 0,void 0,(function*(){const r=JSON.stringify(t,null,2);s[d.Accept]=this._getExistingOrDefaultHeader(s,d.Accept,g.ApplicationJson);s[d.ContentType]=this._getExistingOrDefaultHeader(s,d.ContentType,g.ApplicationJson);const o=yield this.put(e,r,s);return this._processResponse(o,this.requestOptions)}))}patchJson(e,t,s={}){return A(this,void 0,void 0,(function*(){const r=JSON.stringify(t,null,2);s[d.Accept]=this._getExistingOrDefaultHeader(s,d.Accept,g.ApplicationJson);s[d.ContentType]=this._getExistingOrDefaultHeader(s,d.ContentType,g.ApplicationJson);const o=yield this.patch(e,r,s);return this._processResponse(o,this.requestOptions)}))}request(e,t,s,r){return A(this,void 0,void 0,(function*(){if(this._disposed){throw new Error("Client has already been disposed.")}const o=new URL(t);let n=this._prepareRequest(e,o,r);const A=this._allowRetries&&C.includes(e)?this._maxRetries+1:1;let i=0;let a;do{a=yield this.requestRaw(n,s);if(a&&a.message&&a.message.statusCode===p.Unauthorized){let e;for(const t of this.handlers){if(t.canHandleAuthentication(a)){e=t;break}}if(e){return e.handleAuthentication(this,n,s)}else{return a}}let t=this._maxRedirects;while(a.message.statusCode&&h.includes(a.message.statusCode)&&this._allowRedirects&&t>0){const A=a.message.headers["location"];if(!A){break}const i=new URL(A);if(o.protocol==="https:"&&o.protocol!==i.protocol&&!this._allowRedirectDowngrade){throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.")}yield a.readBody();if(i.hostname!==o.hostname){for(const e in r){if(e.toLowerCase()==="authorization"){delete r[e]}}}n=this._prepareRequest(e,i,r);a=yield this.requestRaw(n,s);t--}if(!a.message.statusCode||!E.includes(a.message.statusCode)){return a}i+=1;if(i{function callbackForResult(e,t){if(e){r(e)}else if(!t){r(new Error("Unknown error"))}else{s(t)}}this.requestRawWithCallback(e,t,callbackForResult)}))}))}requestRawWithCallback(e,t,s){if(typeof t==="string"){if(!e.options.headers){e.options.headers={}}e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8")}let r=false;function handleResult(e,t){if(!r){r=true;s(e,t)}}const o=e.httpModule.request(e.options,(e=>{const t=new HttpClientResponse(e);handleResult(undefined,t)}));let n;o.on("socket",(e=>{n=e}));o.setTimeout(this._socketTimeout||3*6e4,(()=>{if(n){n.end()}handleResult(new Error(`Request timeout: ${e.options.path}`))}));o.on("error",(function(e){handleResult(e)}));if(t&&typeof t==="string"){o.write(t,"utf8")}if(t&&typeof t!=="string"){t.on("close",(function(){o.end()}));t.pipe(o)}else{o.end()}}getAgent(e){const t=new URL(e);return this._getAgent(t)}getAgentDispatcher(e){const t=new URL(e);const s=c.getProxyUrl(t);const r=s&&s.hostname;if(!r){return}return this._getProxyAgentDispatcher(t,s)}_prepareRequest(e,t,s){const r={};r.parsedUrl=t;const o=r.parsedUrl.protocol==="https:";r.httpModule=o?a:i;const n=o?443:80;r.options={};r.options.host=r.parsedUrl.hostname;r.options.port=r.parsedUrl.port?parseInt(r.parsedUrl.port):n;r.options.path=(r.parsedUrl.pathname||"")+(r.parsedUrl.search||"");r.options.method=e;r.options.headers=this._mergeHeaders(s);if(this.userAgent!=null){r.options.headers["user-agent"]=this.userAgent}r.options.agent=this._getAgent(r.parsedUrl);if(this.handlers){for(const e of this.handlers){e.prepareRequest(r.options)}}return r}_mergeHeaders(e){if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(e||{}))}return lowercaseKeys(e||{})}_getExistingOrDefaultHeader(e,t,s){let r;if(this.requestOptions&&this.requestOptions.headers){r=lowercaseKeys(this.requestOptions.headers)[t]}return e[t]||r||s}_getAgent(e){let t;const s=c.getProxyUrl(e);const r=s&&s.hostname;if(this._keepAlive&&r){t=this._proxyAgent}if(this._keepAlive&&!r){t=this._agent}if(t){return t}const o=e.protocol==="https:";let n=100;if(this.requestOptions){n=this.requestOptions.maxSockets||i.globalAgent.maxSockets}if(s&&s.hostname){const e={maxSockets:n,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(s.username||s.password)&&{proxyAuth:`${s.username}:${s.password}`}),{host:s.hostname,port:s.port})};let r;const A=s.protocol==="https:";if(o){r=A?l.httpsOverHttps:l.httpsOverHttp}else{r=A?l.httpOverHttps:l.httpOverHttp}t=r(e);this._proxyAgent=t}if(this._keepAlive&&!t){const e={keepAlive:this._keepAlive,maxSockets:n};t=o?new a.Agent(e):new i.Agent(e);this._agent=t}if(!t){t=o?a.globalAgent:i.globalAgent}if(o&&this._ignoreSslError){t.options=Object.assign(t.options||{},{rejectUnauthorized:false})}return t}_getProxyAgentDispatcher(e,t){let s;if(this._keepAlive){s=this._proxyAgentDispatcher}if(s){return s}const r=e.protocol==="https:";s=new u.ProxyAgent(Object.assign({uri:t.href,pipelining:!this._keepAlive?0:1},(t.username||t.password)&&{token:`${t.username}:${t.password}`}));this._proxyAgentDispatcher=s;if(r&&this._ignoreSslError){s.options=Object.assign(s.options.requestTls||{},{rejectUnauthorized:false})}return s}_performExponentialBackoff(e){return A(this,void 0,void 0,(function*(){e=Math.min(m,e);const t=Q*Math.pow(2,e);return new Promise((e=>setTimeout((()=>e()),t)))}))}_processResponse(e,t){return A(this,void 0,void 0,(function*(){return new Promise(((s,r)=>A(this,void 0,void 0,(function*(){const o=e.message.statusCode||0;const n={statusCode:o,result:null,headers:{}};if(o===p.NotFound){s(n)}function dateTimeDeserializer(e,t){if(typeof t==="string"){const e=new Date(t);if(!isNaN(e.valueOf())){return e}}return t}let A;let i;try{i=yield e.readBody();if(i&&i.length>0){if(t&&t.deserializeDates){A=JSON.parse(i,dateTimeDeserializer)}else{A=JSON.parse(i)}n.result=A}n.headers=e.message.headers}catch(e){}if(o>299){let e;if(A&&A.message){e=A.message}else if(i&&i.length>0){e=i}else{e=`Failed request: (${o})`}const t=new HttpClientError(e,o);t.result=n.result;r(t)}else{s(n)}}))))}))}}t.HttpClient=HttpClient;const lowercaseKeys=e=>Object.keys(e).reduce(((t,s)=>(t[s.toLowerCase()]=e[s],t)),{})},844:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.checkBypass=t.getProxyUrl=void 0;function getProxyUrl(e){const t=e.protocol==="https:";if(checkBypass(e)){return undefined}const s=(()=>{if(t){return process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{return process.env["http_proxy"]||process.env["HTTP_PROXY"]}})();if(s){try{return new URL(s)}catch(e){if(!s.startsWith("http://")&&!s.startsWith("https://"))return new URL(`http://${s}`)}}else{return undefined}}t.getProxyUrl=getProxyUrl;function checkBypass(e){if(!e.hostname){return false}const t=e.hostname;if(isLoopbackAddress(t)){return true}const s=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!s){return false}let r;if(e.port){r=Number(e.port)}else if(e.protocol==="http:"){r=80}else if(e.protocol==="https:"){r=443}const o=[e.hostname.toUpperCase()];if(typeof r==="number"){o.push(`${o[0]}:${r}`)}for(const e of s.split(",").map((e=>e.trim().toUpperCase())).filter((e=>e))){if(e==="*"||o.some((t=>t===e||t.endsWith(`.${e}`)||e.startsWith(".")&&t.endsWith(`${e}`)))){return true}}return false}t.checkBypass=checkBypass;function isLoopbackAddress(e){const t=e.toLowerCase();return t==="localhost"||t.startsWith("127.")||t.startsWith("[::1]")||t.startsWith("[0:0:0:0:0:0:0:1]")}},3189:function(e,t,s){var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[s]}})}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var s in e)if(s!=="default"&&Object.hasOwnProperty.call(e,s))r(t,e,s);o(t,e);return t};var A=this&&this.__awaiter||function(e,t,s,r){function adopt(e){return e instanceof s?e:new s((function(t){t(e)}))}return new(s||(s=Promise))((function(s,o){function fulfilled(e){try{step(r.next(e))}catch(e){o(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){o(e)}}function step(e){e.done?s(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())}))};var i;Object.defineProperty(t,"__esModule",{value:true});t.getCmdPath=t.tryGetExecutablePath=t.isRooted=t.isDirectory=t.exists=t.READONLY=t.UV_FS_O_EXLOCK=t.IS_WINDOWS=t.unlink=t.symlink=t.stat=t.rmdir=t.rm=t.rename=t.readlink=t.readdir=t.open=t.mkdir=t.lstat=t.copyFile=t.chmod=void 0;const a=n(s(7147));const c=n(s(1017));i=a.promises,t.chmod=i.chmod,t.copyFile=i.copyFile,t.lstat=i.lstat,t.mkdir=i.mkdir,t.open=i.open,t.readdir=i.readdir,t.readlink=i.readlink,t.rename=i.rename,t.rm=i.rm,t.rmdir=i.rmdir,t.stat=i.stat,t.symlink=i.symlink,t.unlink=i.unlink;t.IS_WINDOWS=process.platform==="win32";t.UV_FS_O_EXLOCK=268435456;t.READONLY=a.constants.O_RDONLY;function exists(e){return A(this,void 0,void 0,(function*(){try{yield t.stat(e)}catch(e){if(e.code==="ENOENT"){return false}throw e}return true}))}t.exists=exists;function isDirectory(e,s=false){return A(this,void 0,void 0,(function*(){const r=s?yield t.stat(e):yield t.lstat(e);return r.isDirectory()}))}t.isDirectory=isDirectory;function isRooted(e){e=normalizeSeparators(e);if(!e){throw new Error('isRooted() parameter "p" cannot be empty')}if(t.IS_WINDOWS){return e.startsWith("\\")||/^[A-Z]:/i.test(e)}return e.startsWith("/")}t.isRooted=isRooted;function tryGetExecutablePath(e,s){return A(this,void 0,void 0,(function*(){let r=undefined;try{r=yield t.stat(e)}catch(t){if(t.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}}if(r&&r.isFile()){if(t.IS_WINDOWS){const t=c.extname(e).toUpperCase();if(s.some((e=>e.toUpperCase()===t))){return e}}else{if(isUnixExecutable(r)){return e}}}const o=e;for(const n of s){e=o+n;r=undefined;try{r=yield t.stat(e)}catch(t){if(t.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}}if(r&&r.isFile()){if(t.IS_WINDOWS){try{const s=c.dirname(e);const r=c.basename(e).toUpperCase();for(const o of yield t.readdir(s)){if(r===o.toUpperCase()){e=c.join(s,o);break}}}catch(t){console.log(`Unexpected error attempting to determine the actual case of the file '${e}': ${t}`)}return e}else{if(isUnixExecutable(r)){return e}}}}return""}))}t.tryGetExecutablePath=tryGetExecutablePath;function normalizeSeparators(e){e=e||"";if(t.IS_WINDOWS){e=e.replace(/\//g,"\\");return e.replace(/\\\\+/g,"\\")}return e.replace(/\/\/+/g,"/")}function isUnixExecutable(e){return(e.mode&1)>0||(e.mode&8)>0&&e.gid===process.getgid()||(e.mode&64)>0&&e.uid===process.getuid()}function getCmdPath(){var e;return(e=process.env["COMSPEC"])!==null&&e!==void 0?e:`cmd.exe`}t.getCmdPath=getCmdPath},7128:function(e,t,s){var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[s]}})}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var s in e)if(s!=="default"&&Object.hasOwnProperty.call(e,s))r(t,e,s);o(t,e);return t};var A=this&&this.__awaiter||function(e,t,s,r){function adopt(e){return e instanceof s?e:new s((function(t){t(e)}))}return new(s||(s=Promise))((function(s,o){function fulfilled(e){try{step(r.next(e))}catch(e){o(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){o(e)}}function step(e){e.done?s(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.findInPath=t.which=t.mkdirP=t.rmRF=t.mv=t.cp=void 0;const i=s(9491);const a=n(s(1017));const c=n(s(3189));function cp(e,t,s={}){return A(this,void 0,void 0,(function*(){const{force:r,recursive:o,copySourceDirectory:n}=readCopyOptions(s);const A=(yield c.exists(t))?yield c.stat(t):null;if(A&&A.isFile()&&!r){return}const i=A&&A.isDirectory()&&n?a.join(t,a.basename(e)):t;if(!(yield c.exists(e))){throw new Error(`no such file or directory: ${e}`)}const l=yield c.stat(e);if(l.isDirectory()){if(!o){throw new Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`)}else{yield cpDirRecursive(e,i,0,r)}}else{if(a.relative(e,i)===""){throw new Error(`'${i}' and '${e}' are the same file`)}yield copyFile(e,i,r)}}))}t.cp=cp;function mv(e,t,s={}){return A(this,void 0,void 0,(function*(){if(yield c.exists(t)){let r=true;if(yield c.isDirectory(t)){t=a.join(t,a.basename(e));r=yield c.exists(t)}if(r){if(s.force==null||s.force){yield rmRF(t)}else{throw new Error("Destination already exists")}}}yield mkdirP(a.dirname(t));yield c.rename(e,t)}))}t.mv=mv;function rmRF(e){return A(this,void 0,void 0,(function*(){if(c.IS_WINDOWS){if(/[*"<>|]/.test(e)){throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows')}}try{yield c.rm(e,{force:true,maxRetries:3,recursive:true,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}}))}t.rmRF=rmRF;function mkdirP(e){return A(this,void 0,void 0,(function*(){i.ok(e,"a path argument must be provided");yield c.mkdir(e,{recursive:true})}))}t.mkdirP=mkdirP;function which(e,t){return A(this,void 0,void 0,(function*(){if(!e){throw new Error("parameter 'tool' is required")}if(t){const t=yield which(e,false);if(!t){if(c.IS_WINDOWS){throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`)}else{throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`)}}return t}const s=yield findInPath(e);if(s&&s.length>0){return s[0]}return""}))}t.which=which;function findInPath(e){return A(this,void 0,void 0,(function*(){if(!e){throw new Error("parameter 'tool' is required")}const t=[];if(c.IS_WINDOWS&&process.env["PATHEXT"]){for(const e of process.env["PATHEXT"].split(a.delimiter)){if(e){t.push(e)}}}if(c.isRooted(e)){const s=yield c.tryGetExecutablePath(e,t);if(s){return[s]}return[]}if(e.includes(a.sep)){return[]}const s=[];if(process.env.PATH){for(const e of process.env.PATH.split(a.delimiter)){if(e){s.push(e)}}}const r=[];for(const o of s){const s=yield c.tryGetExecutablePath(a.join(o,e),t);if(s){r.push(s)}}return r}))}t.findInPath=findInPath;function readCopyOptions(e){const t=e.force==null?true:e.force;const s=Boolean(e.recursive);const r=e.copySourceDirectory==null?true:Boolean(e.copySourceDirectory);return{force:t,recursive:s,copySourceDirectory:r}}function cpDirRecursive(e,t,s,r){return A(this,void 0,void 0,(function*(){if(s>=255)return;s++;yield mkdirP(t);const o=yield c.readdir(e);for(const n of o){const o=`${e}/${n}`;const A=`${t}/${n}`;const i=yield c.lstat(o);if(i.isDirectory()){yield cpDirRecursive(o,A,s,r)}else{yield copyFile(o,A,r)}}yield c.chmod(t,(yield c.stat(e)).mode)}))}function copyFile(e,t,s){return A(this,void 0,void 0,(function*(){if((yield c.lstat(e)).isSymbolicLink()){try{yield c.lstat(t);yield c.unlink(t)}catch(e){if(e.code==="EPERM"){yield c.chmod(t,"0666");yield c.unlink(t)}}const s=yield c.readlink(e);yield c.symlink(s,t,c.IS_WINDOWS?"junction":null)}else if(!(yield c.exists(t))||s){yield c.copyFile(e,t)}}))}},7714:e=>{var t=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var __export=(e,s)=>{for(var r in s)t(e,r,{get:s[r],enumerable:true})};var __copyProps=(e,n,A,i)=>{if(n&&typeof n==="object"||typeof n==="function"){for(let a of r(n))if(!o.call(e,a)&&a!==A)t(e,a,{get:()=>n[a],enumerable:!(i=s(n,a))||i.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var n={};__export(n,{createTokenAuth:()=>c});e.exports=__toCommonJS(n);var A=/^v1\./;var i=/^ghs_/;var a=/^ghu_/;async function auth(e){const t=e.split(/\./).length===3;const s=A.test(e)||i.test(e);const r=a.test(e);const o=t?"app":s?"installation":r?"user-to-server":"oauth";return{type:"token",token:e,tokenType:o}}function withAuthorizationPrefix(e){if(e.split(/\./).length===3){return`bearer ${e}`}return`token ${e}`}async function hook(e,t,s,r){const o=t.endpoint.merge(s,r);o.headers.authorization=withAuthorizationPrefix(e);return t(o)}var c=function createTokenAuth2(e){if(!e){throw new Error("[@octokit/auth-token] No token passed to createTokenAuth")}if(typeof e!=="string"){throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string")}e=e.replace(/^(token|bearer) +/i,"");return Object.assign(auth.bind(null,e),{hook:hook.bind(null,e)})};0&&0},6889:(e,t,s)=>{var r=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var A=Object.prototype.hasOwnProperty;var __export=(e,t)=>{for(var s in t)r(e,s,{get:t[s],enumerable:true})};var __copyProps=(e,t,s,i)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let a of n(t))if(!A.call(e,a)&&a!==s)r(e,a,{get:()=>t[a],enumerable:!(i=o(t,a))||i.enumerable})}return e};var __toCommonJS=e=>__copyProps(r({},"__esModule",{value:true}),e);var i={};__export(i,{Octokit:()=>C});e.exports=__toCommonJS(i);var a=s(5938);var c=s(2934);var l=s(3788);var u=s(5901);var p=s(7714);var d="5.0.2";var noop=()=>{};var g=console.warn.bind(console);var h=console.error.bind(console);var E=`octokit-core.js/${d} ${(0,a.getUserAgent)()}`;var C=class{static{this.VERSION=d}static defaults(e){const t=class extends(this){constructor(...t){const s=t[0]||{};if(typeof e==="function"){super(e(s));return}super(Object.assign({},e,s,s.userAgent&&e.userAgent?{userAgent:`${s.userAgent} ${e.userAgent}`}:null))}};return t}static{this.plugins=[]}static plugin(...e){const t=this.plugins;const s=class extends(this){static{this.plugins=t.concat(e.filter((e=>!t.includes(e))))}};return s}constructor(e={}){const t=new c.Collection;const s={baseUrl:l.request.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},e.request,{hook:t.bind(null,"request")}),mediaType:{previews:[],format:""}};s.headers["user-agent"]=e.userAgent?`${e.userAgent} ${E}`:E;if(e.baseUrl){s.baseUrl=e.baseUrl}if(e.previews){s.mediaType.previews=e.previews}if(e.timeZone){s.headers["time-zone"]=e.timeZone}this.request=l.request.defaults(s);this.graphql=(0,u.withCustomRequest)(this.request).defaults(s);this.log=Object.assign({debug:noop,info:noop,warn:g,error:h},e.log);this.hook=t;if(!e.authStrategy){if(!e.auth){this.auth=async()=>({type:"unauthenticated"})}else{const s=(0,p.createTokenAuth)(e.auth);t.wrap("request",s.hook);this.auth=s}}else{const{authStrategy:s,...r}=e;const o=s(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:r},e.auth));t.wrap("request",o.hook);this.auth=o}const r=this.constructor;for(let t=0;t{var r=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var A=Object.prototype.hasOwnProperty;var __export=(e,t)=>{for(var s in t)r(e,s,{get:t[s],enumerable:true})};var __copyProps=(e,t,s,i)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let a of n(t))if(!A.call(e,a)&&a!==s)r(e,a,{get:()=>t[a],enumerable:!(i=o(t,a))||i.enumerable})}return e};var __toCommonJS=e=>__copyProps(r({},"__esModule",{value:true}),e);var i={};__export(i,{endpoint:()=>d});e.exports=__toCommonJS(i);var a=s(5938);var c="9.0.4";var l=`octokit-endpoint.js/${c} ${(0,a.getUserAgent)()}`;var u={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":l},mediaType:{format:""}};function lowercaseKeys(e){if(!e){return{}}return Object.keys(e).reduce(((t,s)=>{t[s.toLowerCase()]=e[s];return t}),{})}function isPlainObject(e){if(typeof e!=="object"||e===null)return false;if(Object.prototype.toString.call(e)!=="[object Object]")return false;const t=Object.getPrototypeOf(e);if(t===null)return true;const s=Object.prototype.hasOwnProperty.call(t,"constructor")&&t.constructor;return typeof s==="function"&&s instanceof s&&Function.prototype.call(s)===Function.prototype.call(e)}function mergeDeep(e,t){const s=Object.assign({},e);Object.keys(t).forEach((r=>{if(isPlainObject(t[r])){if(!(r in e))Object.assign(s,{[r]:t[r]});else s[r]=mergeDeep(e[r],t[r])}else{Object.assign(s,{[r]:t[r]})}}));return s}function removeUndefinedProperties(e){for(const t in e){if(e[t]===void 0){delete e[t]}}return e}function merge(e,t,s){if(typeof t==="string"){let[e,r]=t.split(" ");s=Object.assign(r?{method:e,url:r}:{url:e},s)}else{s=Object.assign({},t)}s.headers=lowercaseKeys(s.headers);removeUndefinedProperties(s);removeUndefinedProperties(s.headers);const r=mergeDeep(e||{},s);if(s.url==="/graphql"){if(e&&e.mediaType.previews?.length){r.mediaType.previews=e.mediaType.previews.filter((e=>!r.mediaType.previews.includes(e))).concat(r.mediaType.previews)}r.mediaType.previews=(r.mediaType.previews||[]).map((e=>e.replace(/-preview/,"")))}return r}function addQueryParameters(e,t){const s=/\?/.test(e)?"&":"?";const r=Object.keys(t);if(r.length===0){return e}return e+s+r.map((e=>{if(e==="q"){return"q="+t.q.split("+").map(encodeURIComponent).join("+")}return`${e}=${encodeURIComponent(t[e])}`})).join("&")}var p=/\{[^}]+\}/g;function removeNonChars(e){return e.replace(/^\W+|\W+$/g,"").split(/,/)}function extractUrlVariableNames(e){const t=e.match(p);if(!t){return[]}return t.map(removeNonChars).reduce(((e,t)=>e.concat(t)),[])}function omit(e,t){const s={__proto__:null};for(const r of Object.keys(e)){if(t.indexOf(r)===-1){s[r]=e[r]}}return s}function encodeReserved(e){return e.split(/(%[0-9A-Fa-f]{2})/g).map((function(e){if(!/%[0-9A-Fa-f]/.test(e)){e=encodeURI(e).replace(/%5B/g,"[").replace(/%5D/g,"]")}return e})).join("")}function encodeUnreserved(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function encodeValue(e,t,s){t=e==="+"||e==="#"?encodeReserved(t):encodeUnreserved(t);if(s){return encodeUnreserved(s)+"="+t}else{return t}}function isDefined(e){return e!==void 0&&e!==null}function isKeyOperator(e){return e===";"||e==="&"||e==="?"}function getValues(e,t,s,r){var o=e[s],n=[];if(isDefined(o)&&o!==""){if(typeof o==="string"||typeof o==="number"||typeof o==="boolean"){o=o.toString();if(r&&r!=="*"){o=o.substring(0,parseInt(r,10))}n.push(encodeValue(t,o,isKeyOperator(t)?s:""))}else{if(r==="*"){if(Array.isArray(o)){o.filter(isDefined).forEach((function(e){n.push(encodeValue(t,e,isKeyOperator(t)?s:""))}))}else{Object.keys(o).forEach((function(e){if(isDefined(o[e])){n.push(encodeValue(t,o[e],e))}}))}}else{const e=[];if(Array.isArray(o)){o.filter(isDefined).forEach((function(s){e.push(encodeValue(t,s))}))}else{Object.keys(o).forEach((function(s){if(isDefined(o[s])){e.push(encodeUnreserved(s));e.push(encodeValue(t,o[s].toString()))}}))}if(isKeyOperator(t)){n.push(encodeUnreserved(s)+"="+e.join(","))}else if(e.length!==0){n.push(e.join(","))}}}}else{if(t===";"){if(isDefined(o)){n.push(encodeUnreserved(s))}}else if(o===""&&(t==="&"||t==="?")){n.push(encodeUnreserved(s)+"=")}else if(o===""){n.push("")}}return n}function parseUrl(e){return{expand:expand.bind(null,e)}}function expand(e,t){var s=["+","#",".","/",";","?","&"];e=e.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,(function(e,r,o){if(r){let e="";const o=[];if(s.indexOf(r.charAt(0))!==-1){e=r.charAt(0);r=r.substr(1)}r.split(/,/g).forEach((function(s){var r=/([^:\*]*)(?::(\d+)|(\*))?/.exec(s);o.push(getValues(t,e,r[1],r[2]||r[3]))}));if(e&&e!=="+"){var n=",";if(e==="?"){n="&"}else if(e!=="#"){n=e}return(o.length!==0?e:"")+o.join(n)}else{return o.join(",")}}else{return encodeReserved(o)}}));if(e==="/"){return e}else{return e.replace(/\/$/,"")}}function parse(e){let t=e.method.toUpperCase();let s=(e.url||"/").replace(/:([a-z]\w+)/g,"{$1}");let r=Object.assign({},e.headers);let o;let n=omit(e,["method","baseUrl","url","headers","request","mediaType"]);const A=extractUrlVariableNames(s);s=parseUrl(s).expand(n);if(!/^http/.test(s)){s=e.baseUrl+s}const i=Object.keys(e).filter((e=>A.includes(e))).concat("baseUrl");const a=omit(n,i);const c=/application\/octet-stream/i.test(r.accept);if(!c){if(e.mediaType.format){r.accept=r.accept.split(/,/).map((t=>t.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${e.mediaType.format}`))).join(",")}if(s.endsWith("/graphql")){if(e.mediaType.previews?.length){const t=r.accept.match(/[\w-]+(?=-preview)/g)||[];r.accept=t.concat(e.mediaType.previews).map((t=>{const s=e.mediaType.format?`.${e.mediaType.format}`:"+json";return`application/vnd.github.${t}-preview${s}`})).join(",")}}}if(["GET","HEAD"].includes(t)){s=addQueryParameters(s,a)}else{if("data"in a){o=a.data}else{if(Object.keys(a).length){o=a}}}if(!r["content-type"]&&typeof o!=="undefined"){r["content-type"]="application/json; charset=utf-8"}if(["PATCH","PUT"].includes(t)&&typeof o==="undefined"){o=""}return Object.assign({method:t,url:s,headers:r},typeof o!=="undefined"?{body:o}:null,e.request?{request:e.request}:null)}function endpointWithDefaults(e,t,s){return parse(merge(e,t,s))}function withDefaults(e,t){const s=merge(e,t);const r=endpointWithDefaults.bind(null,s);return Object.assign(r,{DEFAULTS:s,defaults:withDefaults.bind(null,s),merge:merge.bind(null,s),parse:parse})}var d=withDefaults(null,u);0&&0},5901:(e,t,s)=>{var r=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var A=Object.prototype.hasOwnProperty;var __export=(e,t)=>{for(var s in t)r(e,s,{get:t[s],enumerable:true})};var __copyProps=(e,t,s,i)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let a of n(t))if(!A.call(e,a)&&a!==s)r(e,a,{get:()=>t[a],enumerable:!(i=o(t,a))||i.enumerable})}return e};var __toCommonJS=e=>__copyProps(r({},"__esModule",{value:true}),e);var i={};__export(i,{GraphqlResponseError:()=>d,graphql:()=>C,withCustomRequest:()=>withCustomRequest});e.exports=__toCommonJS(i);var a=s(3788);var c=s(5938);var l="7.0.2";var u=s(3788);var p=s(3788);function _buildMessageForResponseErrors(e){return`Request failed due to following response errors:\n`+e.errors.map((e=>` - ${e.message}`)).join("\n")}var d=class extends Error{constructor(e,t,s){super(_buildMessageForResponseErrors(s));this.request=e;this.headers=t;this.response=s;this.name="GraphqlResponseError";this.errors=s.errors;this.data=s.data;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}};var g=["method","baseUrl","url","headers","request","query","mediaType"];var h=["query","method","url"];var E=/\/api\/v3\/?$/;function graphql(e,t,s){if(s){if(typeof t==="string"&&"query"in s){return Promise.reject(new Error(`[@octokit/graphql] "query" cannot be used as variable name`))}for(const e in s){if(!h.includes(e))continue;return Promise.reject(new Error(`[@octokit/graphql] "${e}" cannot be used as variable name`))}}const r=typeof t==="string"?Object.assign({query:t},s):t;const o=Object.keys(r).reduce(((e,t)=>{if(g.includes(t)){e[t]=r[t];return e}if(!e.variables){e.variables={}}e.variables[t]=r[t];return e}),{});const n=r.baseUrl||e.endpoint.DEFAULTS.baseUrl;if(E.test(n)){o.url=n.replace(E,"/api/graphql")}return e(o).then((e=>{if(e.data.errors){const t={};for(const s of Object.keys(e.headers)){t[s]=e.headers[s]}throw new d(o,t,e.data)}return e.data.data}))}function withDefaults(e,t){const s=e.defaults(t);const newApi=(e,t)=>graphql(s,e,t);return Object.assign(newApi,{defaults:withDefaults.bind(null,s),endpoint:s.endpoint})}var C=withDefaults(a.request,{headers:{"user-agent":`octokit-graphql.js/${l} ${(0,c.getUserAgent)()}`},method:"POST",url:"/graphql"});function withCustomRequest(e){return withDefaults(e,{method:"POST",url:"/graphql"})}0&&0},510:e=>{var t=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var __export=(e,s)=>{for(var r in s)t(e,r,{get:s[r],enumerable:true})};var __copyProps=(e,n,A,i)=>{if(n&&typeof n==="object"||typeof n==="function"){for(let a of r(n))if(!o.call(e,a)&&a!==A)t(e,a,{get:()=>n[a],enumerable:!(i=s(n,a))||i.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var n={};__export(n,{composePaginateRest:()=>i,isPaginatingEndpoint:()=>isPaginatingEndpoint,paginateRest:()=>paginateRest,paginatingEndpoints:()=>a});e.exports=__toCommonJS(n);var A="9.1.5";function normalizePaginatedListResponse(e){if(!e.data){return{...e,data:[]}}const t="total_count"in e.data&&!("url"in e.data);if(!t)return e;const s=e.data.incomplete_results;const r=e.data.repository_selection;const o=e.data.total_count;delete e.data.incomplete_results;delete e.data.repository_selection;delete e.data.total_count;const n=Object.keys(e.data)[0];const A=e.data[n];e.data=A;if(typeof s!=="undefined"){e.data.incomplete_results=s}if(typeof r!=="undefined"){e.data.repository_selection=r}e.data.total_count=o;return e}function iterator(e,t,s){const r=typeof t==="function"?t.endpoint(s):e.request.endpoint(t,s);const o=typeof t==="function"?t:e.request;const n=r.method;const A=r.headers;let i=r.url;return{[Symbol.asyncIterator]:()=>({async next(){if(!i)return{done:true};try{const e=await o({method:n,url:i,headers:A});const t=normalizePaginatedListResponse(e);i=((t.headers.link||"").match(/<([^>]+)>;\s*rel="next"/)||[])[1];return{value:t}}catch(e){if(e.status!==409)throw e;i="";return{value:{status:200,headers:{},data:[]}}}}})}}function paginate(e,t,s,r){if(typeof s==="function"){r=s;s=void 0}return gather(e,[],iterator(e,t,s)[Symbol.asyncIterator](),r)}function gather(e,t,s,r){return s.next().then((o=>{if(o.done){return t}let n=false;function done(){n=true}t=t.concat(r?r(o.value,done):o.value.data);if(n){return t}return gather(e,t,s,r)}))}var i=Object.assign(paginate,{iterator:iterator});var a=["GET /advisories","GET /app/hook/deliveries","GET /app/installation-requests","GET /app/installations","GET /assignments/{assignment_id}/accepted_assignments","GET /classrooms","GET /classrooms/{classroom_id}/assignments","GET /enterprises/{enterprise}/dependabot/alerts","GET /enterprises/{enterprise}/secret-scanning/alerts","GET /events","GET /gists","GET /gists/public","GET /gists/starred","GET /gists/{gist_id}/comments","GET /gists/{gist_id}/commits","GET /gists/{gist_id}/forks","GET /installation/repositories","GET /issues","GET /licenses","GET /marketplace_listing/plans","GET /marketplace_listing/plans/{plan_id}/accounts","GET /marketplace_listing/stubbed/plans","GET /marketplace_listing/stubbed/plans/{plan_id}/accounts","GET /networks/{owner}/{repo}/events","GET /notifications","GET /organizations","GET /orgs/{org}/actions/cache/usage-by-repository","GET /orgs/{org}/actions/permissions/repositories","GET /orgs/{org}/actions/runners","GET /orgs/{org}/actions/secrets","GET /orgs/{org}/actions/secrets/{secret_name}/repositories","GET /orgs/{org}/actions/variables","GET /orgs/{org}/actions/variables/{name}/repositories","GET /orgs/{org}/blocks","GET /orgs/{org}/code-scanning/alerts","GET /orgs/{org}/codespaces","GET /orgs/{org}/codespaces/secrets","GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories","GET /orgs/{org}/copilot/billing/seats","GET /orgs/{org}/dependabot/alerts","GET /orgs/{org}/dependabot/secrets","GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories","GET /orgs/{org}/events","GET /orgs/{org}/failed_invitations","GET /orgs/{org}/hooks","GET /orgs/{org}/hooks/{hook_id}/deliveries","GET /orgs/{org}/installations","GET /orgs/{org}/invitations","GET /orgs/{org}/invitations/{invitation_id}/teams","GET /orgs/{org}/issues","GET /orgs/{org}/members","GET /orgs/{org}/members/{username}/codespaces","GET /orgs/{org}/migrations","GET /orgs/{org}/migrations/{migration_id}/repositories","GET /orgs/{org}/outside_collaborators","GET /orgs/{org}/packages","GET /orgs/{org}/packages/{package_type}/{package_name}/versions","GET /orgs/{org}/personal-access-token-requests","GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories","GET /orgs/{org}/personal-access-tokens","GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories","GET /orgs/{org}/projects","GET /orgs/{org}/properties/values","GET /orgs/{org}/public_members","GET /orgs/{org}/repos","GET /orgs/{org}/rulesets","GET /orgs/{org}/rulesets/rule-suites","GET /orgs/{org}/secret-scanning/alerts","GET /orgs/{org}/security-advisories","GET /orgs/{org}/teams","GET /orgs/{org}/teams/{team_slug}/discussions","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions","GET /orgs/{org}/teams/{team_slug}/invitations","GET /orgs/{org}/teams/{team_slug}/members","GET /orgs/{org}/teams/{team_slug}/projects","GET /orgs/{org}/teams/{team_slug}/repos","GET /orgs/{org}/teams/{team_slug}/teams","GET /projects/columns/{column_id}/cards","GET /projects/{project_id}/collaborators","GET /projects/{project_id}/columns","GET /repos/{owner}/{repo}/actions/artifacts","GET /repos/{owner}/{repo}/actions/caches","GET /repos/{owner}/{repo}/actions/organization-secrets","GET /repos/{owner}/{repo}/actions/organization-variables","GET /repos/{owner}/{repo}/actions/runners","GET /repos/{owner}/{repo}/actions/runs","GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts","GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs","GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs","GET /repos/{owner}/{repo}/actions/secrets","GET /repos/{owner}/{repo}/actions/variables","GET /repos/{owner}/{repo}/actions/workflows","GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs","GET /repos/{owner}/{repo}/activity","GET /repos/{owner}/{repo}/assignees","GET /repos/{owner}/{repo}/branches","GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations","GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs","GET /repos/{owner}/{repo}/code-scanning/alerts","GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances","GET /repos/{owner}/{repo}/code-scanning/analyses","GET /repos/{owner}/{repo}/codespaces","GET /repos/{owner}/{repo}/codespaces/devcontainers","GET /repos/{owner}/{repo}/codespaces/secrets","GET /repos/{owner}/{repo}/collaborators","GET /repos/{owner}/{repo}/comments","GET /repos/{owner}/{repo}/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/commits","GET /repos/{owner}/{repo}/commits/{commit_sha}/comments","GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls","GET /repos/{owner}/{repo}/commits/{ref}/check-runs","GET /repos/{owner}/{repo}/commits/{ref}/check-suites","GET /repos/{owner}/{repo}/commits/{ref}/status","GET /repos/{owner}/{repo}/commits/{ref}/statuses","GET /repos/{owner}/{repo}/contributors","GET /repos/{owner}/{repo}/dependabot/alerts","GET /repos/{owner}/{repo}/dependabot/secrets","GET /repos/{owner}/{repo}/deployments","GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses","GET /repos/{owner}/{repo}/environments","GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies","GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps","GET /repos/{owner}/{repo}/events","GET /repos/{owner}/{repo}/forks","GET /repos/{owner}/{repo}/hooks","GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries","GET /repos/{owner}/{repo}/invitations","GET /repos/{owner}/{repo}/issues","GET /repos/{owner}/{repo}/issues/comments","GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/issues/events","GET /repos/{owner}/{repo}/issues/{issue_number}/comments","GET /repos/{owner}/{repo}/issues/{issue_number}/events","GET /repos/{owner}/{repo}/issues/{issue_number}/labels","GET /repos/{owner}/{repo}/issues/{issue_number}/reactions","GET /repos/{owner}/{repo}/issues/{issue_number}/timeline","GET /repos/{owner}/{repo}/keys","GET /repos/{owner}/{repo}/labels","GET /repos/{owner}/{repo}/milestones","GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels","GET /repos/{owner}/{repo}/notifications","GET /repos/{owner}/{repo}/pages/builds","GET /repos/{owner}/{repo}/projects","GET /repos/{owner}/{repo}/pulls","GET /repos/{owner}/{repo}/pulls/comments","GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/pulls/{pull_number}/comments","GET /repos/{owner}/{repo}/pulls/{pull_number}/commits","GET /repos/{owner}/{repo}/pulls/{pull_number}/files","GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews","GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments","GET /repos/{owner}/{repo}/releases","GET /repos/{owner}/{repo}/releases/{release_id}/assets","GET /repos/{owner}/{repo}/releases/{release_id}/reactions","GET /repos/{owner}/{repo}/rules/branches/{branch}","GET /repos/{owner}/{repo}/rulesets","GET /repos/{owner}/{repo}/rulesets/rule-suites","GET /repos/{owner}/{repo}/secret-scanning/alerts","GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations","GET /repos/{owner}/{repo}/security-advisories","GET /repos/{owner}/{repo}/stargazers","GET /repos/{owner}/{repo}/subscribers","GET /repos/{owner}/{repo}/tags","GET /repos/{owner}/{repo}/teams","GET /repos/{owner}/{repo}/topics","GET /repositories","GET /repositories/{repository_id}/environments/{environment_name}/secrets","GET /repositories/{repository_id}/environments/{environment_name}/variables","GET /search/code","GET /search/commits","GET /search/issues","GET /search/labels","GET /search/repositories","GET /search/topics","GET /search/users","GET /teams/{team_id}/discussions","GET /teams/{team_id}/discussions/{discussion_number}/comments","GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions","GET /teams/{team_id}/discussions/{discussion_number}/reactions","GET /teams/{team_id}/invitations","GET /teams/{team_id}/members","GET /teams/{team_id}/projects","GET /teams/{team_id}/repos","GET /teams/{team_id}/teams","GET /user/blocks","GET /user/codespaces","GET /user/codespaces/secrets","GET /user/emails","GET /user/followers","GET /user/following","GET /user/gpg_keys","GET /user/installations","GET /user/installations/{installation_id}/repositories","GET /user/issues","GET /user/keys","GET /user/marketplace_purchases","GET /user/marketplace_purchases/stubbed","GET /user/memberships/orgs","GET /user/migrations","GET /user/migrations/{migration_id}/repositories","GET /user/orgs","GET /user/packages","GET /user/packages/{package_type}/{package_name}/versions","GET /user/public_emails","GET /user/repos","GET /user/repository_invitations","GET /user/social_accounts","GET /user/ssh_signing_keys","GET /user/starred","GET /user/subscriptions","GET /user/teams","GET /users","GET /users/{username}/events","GET /users/{username}/events/orgs/{org}","GET /users/{username}/events/public","GET /users/{username}/followers","GET /users/{username}/following","GET /users/{username}/gists","GET /users/{username}/gpg_keys","GET /users/{username}/keys","GET /users/{username}/orgs","GET /users/{username}/packages","GET /users/{username}/projects","GET /users/{username}/received_events","GET /users/{username}/received_events/public","GET /users/{username}/repos","GET /users/{username}/social_accounts","GET /users/{username}/ssh_signing_keys","GET /users/{username}/starred","GET /users/{username}/subscriptions"];function isPaginatingEndpoint(e){if(typeof e==="string"){return a.includes(e)}else{return false}}function paginateRest(e){return{paginate:Object.assign(paginate.bind(null,e),{iterator:iterator.bind(null,e)})}}paginateRest.VERSION=A;0&&0},157:e=>{var t=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var __export=(e,s)=>{for(var r in s)t(e,r,{get:s[r],enumerable:true})};var __copyProps=(e,n,A,i)=>{if(n&&typeof n==="object"||typeof n==="function"){for(let a of r(n))if(!o.call(e,a)&&a!==A)t(e,a,{get:()=>n[a],enumerable:!(i=s(n,a))||i.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var n={};__export(n,{legacyRestEndpointMethods:()=>legacyRestEndpointMethods,restEndpointMethods:()=>restEndpointMethods});e.exports=__toCommonJS(n);var A="10.2.0";var i={actions:{addCustomLabelsToSelfHostedRunnerForOrg:["POST /orgs/{org}/actions/runners/{runner_id}/labels"],addCustomLabelsToSelfHostedRunnerForRepo:["POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],approveWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve"],cancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"],createEnvironmentVariable:["POST /repositories/{repository_id}/environments/{environment_name}/variables"],createOrUpdateEnvironmentSecret:["PUT /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}"],createOrgVariable:["POST /orgs/{org}/actions/variables"],createRegistrationTokenForOrg:["POST /orgs/{org}/actions/runners/registration-token"],createRegistrationTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/registration-token"],createRemoveTokenForOrg:["POST /orgs/{org}/actions/runners/remove-token"],createRemoveTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/remove-token"],createRepoVariable:["POST /repos/{owner}/{repo}/actions/variables"],createWorkflowDispatch:["POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches"],deleteActionsCacheById:["DELETE /repos/{owner}/{repo}/actions/caches/{cache_id}"],deleteActionsCacheByKey:["DELETE /repos/{owner}/{repo}/actions/caches{?key,ref}"],deleteArtifact:["DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],deleteEnvironmentSecret:["DELETE /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],deleteEnvironmentVariable:["DELETE /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],deleteOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}"],deleteOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}"],deleteRepoVariable:["DELETE /repos/{owner}/{repo}/actions/variables/{name}"],deleteSelfHostedRunnerFromOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}"],deleteSelfHostedRunnerFromRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}"],deleteWorkflowRun:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}"],deleteWorkflowRunLogs:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],disableSelectedRepositoryGithubActionsOrganization:["DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}"],disableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable"],downloadArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}"],downloadJobLogsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs"],downloadWorkflowRunAttemptLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs"],downloadWorkflowRunLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],enableSelectedRepositoryGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories/{repository_id}"],enableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable"],forceCancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel"],generateRunnerJitconfigForOrg:["POST /orgs/{org}/actions/runners/generate-jitconfig"],generateRunnerJitconfigForRepo:["POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig"],getActionsCacheList:["GET /repos/{owner}/{repo}/actions/caches"],getActionsCacheUsage:["GET /repos/{owner}/{repo}/actions/cache/usage"],getActionsCacheUsageByRepoForOrg:["GET /orgs/{org}/actions/cache/usage-by-repository"],getActionsCacheUsageForOrg:["GET /orgs/{org}/actions/cache/usage"],getAllowedActionsOrganization:["GET /orgs/{org}/actions/permissions/selected-actions"],getAllowedActionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/selected-actions"],getArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],getEnvironmentPublicKey:["GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key"],getEnvironmentSecret:["GET /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],getEnvironmentVariable:["GET /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],getGithubActionsDefaultWorkflowPermissionsOrganization:["GET /orgs/{org}/actions/permissions/workflow"],getGithubActionsDefaultWorkflowPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/workflow"],getGithubActionsPermissionsOrganization:["GET /orgs/{org}/actions/permissions"],getGithubActionsPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions"],getJobForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"],getOrgPublicKey:["GET /orgs/{org}/actions/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}"],getOrgVariable:["GET /orgs/{org}/actions/variables/{name}"],getPendingDeploymentsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],getRepoPermissions:["GET /repos/{owner}/{repo}/actions/permissions",{},{renamed:["actions","getGithubActionsPermissionsRepository"]}],getRepoPublicKey:["GET /repos/{owner}/{repo}/actions/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"],getRepoVariable:["GET /repos/{owner}/{repo}/actions/variables/{name}"],getReviewsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals"],getSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}"],getSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}"],getWorkflow:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"],getWorkflowAccessToRepository:["GET /repos/{owner}/{repo}/actions/permissions/access"],getWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}"],getWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}"],getWorkflowRunUsage:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing"],getWorkflowUsage:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing"],listArtifactsForRepo:["GET /repos/{owner}/{repo}/actions/artifacts"],listEnvironmentSecrets:["GET /repositories/{repository_id}/environments/{environment_name}/secrets"],listEnvironmentVariables:["GET /repositories/{repository_id}/environments/{environment_name}/variables"],listJobsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"],listJobsForWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs"],listLabelsForSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}/labels"],listLabelsForSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],listOrgSecrets:["GET /orgs/{org}/actions/secrets"],listOrgVariables:["GET /orgs/{org}/actions/variables"],listRepoOrganizationSecrets:["GET /repos/{owner}/{repo}/actions/organization-secrets"],listRepoOrganizationVariables:["GET /repos/{owner}/{repo}/actions/organization-variables"],listRepoSecrets:["GET /repos/{owner}/{repo}/actions/secrets"],listRepoVariables:["GET /repos/{owner}/{repo}/actions/variables"],listRepoWorkflows:["GET /repos/{owner}/{repo}/actions/workflows"],listRunnerApplicationsForOrg:["GET /orgs/{org}/actions/runners/downloads"],listRunnerApplicationsForRepo:["GET /repos/{owner}/{repo}/actions/runners/downloads"],listSelectedReposForOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}/repositories"],listSelectedReposForOrgVariable:["GET /orgs/{org}/actions/variables/{name}/repositories"],listSelectedRepositoriesEnabledGithubActionsOrganization:["GET /orgs/{org}/actions/permissions/repositories"],listSelfHostedRunnersForOrg:["GET /orgs/{org}/actions/runners"],listSelfHostedRunnersForRepo:["GET /repos/{owner}/{repo}/actions/runners"],listWorkflowRunArtifacts:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts"],listWorkflowRuns:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"],listWorkflowRunsForRepo:["GET /repos/{owner}/{repo}/actions/runs"],reRunJobForWorkflowRun:["POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun"],reRunWorkflow:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"],reRunWorkflowFailedJobs:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs"],removeAllCustomLabelsFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels"],removeAllCustomLabelsFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],removeCustomLabelFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels/{name}"],removeCustomLabelFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],reviewCustomGatesForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule"],reviewPendingDeploymentsForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],setAllowedActionsOrganization:["PUT /orgs/{org}/actions/permissions/selected-actions"],setAllowedActionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/selected-actions"],setCustomLabelsForSelfHostedRunnerForOrg:["PUT /orgs/{org}/actions/runners/{runner_id}/labels"],setCustomLabelsForSelfHostedRunnerForRepo:["PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],setGithubActionsDefaultWorkflowPermissionsOrganization:["PUT /orgs/{org}/actions/permissions/workflow"],setGithubActionsDefaultWorkflowPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/workflow"],setGithubActionsPermissionsOrganization:["PUT /orgs/{org}/actions/permissions"],setGithubActionsPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories"],setSelectedReposForOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories"],setSelectedRepositoriesEnabledGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories"],setWorkflowAccessToRepository:["PUT /repos/{owner}/{repo}/actions/permissions/access"],updateEnvironmentVariable:["PATCH /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],updateOrgVariable:["PATCH /orgs/{org}/actions/variables/{name}"],updateRepoVariable:["PATCH /repos/{owner}/{repo}/actions/variables/{name}"]},activity:{checkRepoIsStarredByAuthenticatedUser:["GET /user/starred/{owner}/{repo}"],deleteRepoSubscription:["DELETE /repos/{owner}/{repo}/subscription"],deleteThreadSubscription:["DELETE /notifications/threads/{thread_id}/subscription"],getFeeds:["GET /feeds"],getRepoSubscription:["GET /repos/{owner}/{repo}/subscription"],getThread:["GET /notifications/threads/{thread_id}"],getThreadSubscriptionForAuthenticatedUser:["GET /notifications/threads/{thread_id}/subscription"],listEventsForAuthenticatedUser:["GET /users/{username}/events"],listNotificationsForAuthenticatedUser:["GET /notifications"],listOrgEventsForAuthenticatedUser:["GET /users/{username}/events/orgs/{org}"],listPublicEvents:["GET /events"],listPublicEventsForRepoNetwork:["GET /networks/{owner}/{repo}/events"],listPublicEventsForUser:["GET /users/{username}/events/public"],listPublicOrgEvents:["GET /orgs/{org}/events"],listReceivedEventsForUser:["GET /users/{username}/received_events"],listReceivedPublicEventsForUser:["GET /users/{username}/received_events/public"],listRepoEvents:["GET /repos/{owner}/{repo}/events"],listRepoNotificationsForAuthenticatedUser:["GET /repos/{owner}/{repo}/notifications"],listReposStarredByAuthenticatedUser:["GET /user/starred"],listReposStarredByUser:["GET /users/{username}/starred"],listReposWatchedByUser:["GET /users/{username}/subscriptions"],listStargazersForRepo:["GET /repos/{owner}/{repo}/stargazers"],listWatchedReposForAuthenticatedUser:["GET /user/subscriptions"],listWatchersForRepo:["GET /repos/{owner}/{repo}/subscribers"],markNotificationsAsRead:["PUT /notifications"],markRepoNotificationsAsRead:["PUT /repos/{owner}/{repo}/notifications"],markThreadAsRead:["PATCH /notifications/threads/{thread_id}"],setRepoSubscription:["PUT /repos/{owner}/{repo}/subscription"],setThreadSubscription:["PUT /notifications/threads/{thread_id}/subscription"],starRepoForAuthenticatedUser:["PUT /user/starred/{owner}/{repo}"],unstarRepoForAuthenticatedUser:["DELETE /user/starred/{owner}/{repo}"]},apps:{addRepoToInstallation:["PUT /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","addRepoToInstallationForAuthenticatedUser"]}],addRepoToInstallationForAuthenticatedUser:["PUT /user/installations/{installation_id}/repositories/{repository_id}"],checkToken:["POST /applications/{client_id}/token"],createFromManifest:["POST /app-manifests/{code}/conversions"],createInstallationAccessToken:["POST /app/installations/{installation_id}/access_tokens"],deleteAuthorization:["DELETE /applications/{client_id}/grant"],deleteInstallation:["DELETE /app/installations/{installation_id}"],deleteToken:["DELETE /applications/{client_id}/token"],getAuthenticated:["GET /app"],getBySlug:["GET /apps/{app_slug}"],getInstallation:["GET /app/installations/{installation_id}"],getOrgInstallation:["GET /orgs/{org}/installation"],getRepoInstallation:["GET /repos/{owner}/{repo}/installation"],getSubscriptionPlanForAccount:["GET /marketplace_listing/accounts/{account_id}"],getSubscriptionPlanForAccountStubbed:["GET /marketplace_listing/stubbed/accounts/{account_id}"],getUserInstallation:["GET /users/{username}/installation"],getWebhookConfigForApp:["GET /app/hook/config"],getWebhookDelivery:["GET /app/hook/deliveries/{delivery_id}"],listAccountsForPlan:["GET /marketplace_listing/plans/{plan_id}/accounts"],listAccountsForPlanStubbed:["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"],listInstallationReposForAuthenticatedUser:["GET /user/installations/{installation_id}/repositories"],listInstallationRequestsForAuthenticatedApp:["GET /app/installation-requests"],listInstallations:["GET /app/installations"],listInstallationsForAuthenticatedUser:["GET /user/installations"],listPlans:["GET /marketplace_listing/plans"],listPlansStubbed:["GET /marketplace_listing/stubbed/plans"],listReposAccessibleToInstallation:["GET /installation/repositories"],listSubscriptionsForAuthenticatedUser:["GET /user/marketplace_purchases"],listSubscriptionsForAuthenticatedUserStubbed:["GET /user/marketplace_purchases/stubbed"],listWebhookDeliveries:["GET /app/hook/deliveries"],redeliverWebhookDelivery:["POST /app/hook/deliveries/{delivery_id}/attempts"],removeRepoFromInstallation:["DELETE /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","removeRepoFromInstallationForAuthenticatedUser"]}],removeRepoFromInstallationForAuthenticatedUser:["DELETE /user/installations/{installation_id}/repositories/{repository_id}"],resetToken:["PATCH /applications/{client_id}/token"],revokeInstallationAccessToken:["DELETE /installation/token"],scopeToken:["POST /applications/{client_id}/token/scoped"],suspendInstallation:["PUT /app/installations/{installation_id}/suspended"],unsuspendInstallation:["DELETE /app/installations/{installation_id}/suspended"],updateWebhookConfigForApp:["PATCH /app/hook/config"]},billing:{getGithubActionsBillingOrg:["GET /orgs/{org}/settings/billing/actions"],getGithubActionsBillingUser:["GET /users/{username}/settings/billing/actions"],getGithubPackagesBillingOrg:["GET /orgs/{org}/settings/billing/packages"],getGithubPackagesBillingUser:["GET /users/{username}/settings/billing/packages"],getSharedStorageBillingOrg:["GET /orgs/{org}/settings/billing/shared-storage"],getSharedStorageBillingUser:["GET /users/{username}/settings/billing/shared-storage"]},checks:{create:["POST /repos/{owner}/{repo}/check-runs"],createSuite:["POST /repos/{owner}/{repo}/check-suites"],get:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}"],getSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}"],listAnnotations:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations"],listForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-runs"],listForSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs"],listSuitesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"],rerequestRun:["POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest"],rerequestSuite:["POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest"],setSuitesPreferences:["PATCH /repos/{owner}/{repo}/check-suites/preferences"],update:["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}"]},codeScanning:{deleteAnalysis:["DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}"],getAlert:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}",{},{renamedParameters:{alert_id:"alert_number"}}],getAnalysis:["GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}"],getCodeqlDatabase:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}"],getDefaultSetup:["GET /repos/{owner}/{repo}/code-scanning/default-setup"],getSarif:["GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}"],listAlertInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances"],listAlertsForOrg:["GET /orgs/{org}/code-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/code-scanning/alerts"],listAlertsInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances",{},{renamed:["codeScanning","listAlertInstances"]}],listCodeqlDatabases:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases"],listRecentAnalyses:["GET /repos/{owner}/{repo}/code-scanning/analyses"],updateAlert:["PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}"],updateDefaultSetup:["PATCH /repos/{owner}/{repo}/code-scanning/default-setup"],uploadSarif:["POST /repos/{owner}/{repo}/code-scanning/sarifs"]},codesOfConduct:{getAllCodesOfConduct:["GET /codes_of_conduct"],getConductCode:["GET /codes_of_conduct/{key}"]},codespaces:{addRepositoryForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],checkPermissionsForDevcontainer:["GET /repos/{owner}/{repo}/codespaces/permissions_check"],codespaceMachinesForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/machines"],createForAuthenticatedUser:["POST /user/codespaces"],createOrUpdateOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],createOrUpdateSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}"],createWithPrForAuthenticatedUser:["POST /repos/{owner}/{repo}/pulls/{pull_number}/codespaces"],createWithRepoForAuthenticatedUser:["POST /repos/{owner}/{repo}/codespaces"],deleteForAuthenticatedUser:["DELETE /user/codespaces/{codespace_name}"],deleteFromOrganization:["DELETE /orgs/{org}/members/{username}/codespaces/{codespace_name}"],deleteOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],deleteSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}"],exportForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/exports"],getCodespacesForUserInOrg:["GET /orgs/{org}/members/{username}/codespaces"],getExportDetailsForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/exports/{export_id}"],getForAuthenticatedUser:["GET /user/codespaces/{codespace_name}"],getOrgPublicKey:["GET /orgs/{org}/codespaces/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}"],getPublicKeyForAuthenticatedUser:["GET /user/codespaces/secrets/public-key"],getRepoPublicKey:["GET /repos/{owner}/{repo}/codespaces/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],getSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}"],listDevcontainersInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/devcontainers"],listForAuthenticatedUser:["GET /user/codespaces"],listInOrganization:["GET /orgs/{org}/codespaces",{},{renamedParameters:{org_id:"org"}}],listInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces"],listOrgSecrets:["GET /orgs/{org}/codespaces/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/codespaces/secrets"],listRepositoriesForSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}/repositories"],listSecretsForAuthenticatedUser:["GET /user/codespaces/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],preFlightWithRepoForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/new"],publishForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/publish"],removeRepositoryForSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],repoMachinesForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/machines"],setRepositoriesForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],startForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/start"],stopForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/stop"],stopInOrganization:["POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop"],updateForAuthenticatedUser:["PATCH /user/codespaces/{codespace_name}"]},copilot:{addCopilotForBusinessSeatsForTeams:["POST /orgs/{org}/copilot/billing/selected_teams"],addCopilotForBusinessSeatsForUsers:["POST /orgs/{org}/copilot/billing/selected_users"],cancelCopilotSeatAssignmentForTeams:["DELETE /orgs/{org}/copilot/billing/selected_teams"],cancelCopilotSeatAssignmentForUsers:["DELETE /orgs/{org}/copilot/billing/selected_users"],getCopilotOrganizationDetails:["GET /orgs/{org}/copilot/billing"],getCopilotSeatDetailsForUser:["GET /orgs/{org}/members/{username}/copilot"],listCopilotSeats:["GET /orgs/{org}/copilot/billing/seats"]},dependabot:{addSelectedRepoToOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],deleteOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],getAlert:["GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"],getOrgPublicKey:["GET /orgs/{org}/dependabot/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}"],getRepoPublicKey:["GET /repos/{owner}/{repo}/dependabot/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/dependabot/alerts"],listAlertsForOrg:["GET /orgs/{org}/dependabot/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/dependabot/alerts"],listOrgSecrets:["GET /orgs/{org}/dependabot/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/dependabot/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],updateAlert:["PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"]},dependencyGraph:{createRepositorySnapshot:["POST /repos/{owner}/{repo}/dependency-graph/snapshots"],diffRange:["GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}"],exportSbom:["GET /repos/{owner}/{repo}/dependency-graph/sbom"]},emojis:{get:["GET /emojis"]},gists:{checkIsStarred:["GET /gists/{gist_id}/star"],create:["POST /gists"],createComment:["POST /gists/{gist_id}/comments"],delete:["DELETE /gists/{gist_id}"],deleteComment:["DELETE /gists/{gist_id}/comments/{comment_id}"],fork:["POST /gists/{gist_id}/forks"],get:["GET /gists/{gist_id}"],getComment:["GET /gists/{gist_id}/comments/{comment_id}"],getRevision:["GET /gists/{gist_id}/{sha}"],list:["GET /gists"],listComments:["GET /gists/{gist_id}/comments"],listCommits:["GET /gists/{gist_id}/commits"],listForUser:["GET /users/{username}/gists"],listForks:["GET /gists/{gist_id}/forks"],listPublic:["GET /gists/public"],listStarred:["GET /gists/starred"],star:["PUT /gists/{gist_id}/star"],unstar:["DELETE /gists/{gist_id}/star"],update:["PATCH /gists/{gist_id}"],updateComment:["PATCH /gists/{gist_id}/comments/{comment_id}"]},git:{createBlob:["POST /repos/{owner}/{repo}/git/blobs"],createCommit:["POST /repos/{owner}/{repo}/git/commits"],createRef:["POST /repos/{owner}/{repo}/git/refs"],createTag:["POST /repos/{owner}/{repo}/git/tags"],createTree:["POST /repos/{owner}/{repo}/git/trees"],deleteRef:["DELETE /repos/{owner}/{repo}/git/refs/{ref}"],getBlob:["GET /repos/{owner}/{repo}/git/blobs/{file_sha}"],getCommit:["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"],getRef:["GET /repos/{owner}/{repo}/git/ref/{ref}"],getTag:["GET /repos/{owner}/{repo}/git/tags/{tag_sha}"],getTree:["GET /repos/{owner}/{repo}/git/trees/{tree_sha}"],listMatchingRefs:["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"],updateRef:["PATCH /repos/{owner}/{repo}/git/refs/{ref}"]},gitignore:{getAllTemplates:["GET /gitignore/templates"],getTemplate:["GET /gitignore/templates/{name}"]},interactions:{getRestrictionsForAuthenticatedUser:["GET /user/interaction-limits"],getRestrictionsForOrg:["GET /orgs/{org}/interaction-limits"],getRestrictionsForRepo:["GET /repos/{owner}/{repo}/interaction-limits"],getRestrictionsForYourPublicRepos:["GET /user/interaction-limits",{},{renamed:["interactions","getRestrictionsForAuthenticatedUser"]}],removeRestrictionsForAuthenticatedUser:["DELETE /user/interaction-limits"],removeRestrictionsForOrg:["DELETE /orgs/{org}/interaction-limits"],removeRestrictionsForRepo:["DELETE /repos/{owner}/{repo}/interaction-limits"],removeRestrictionsForYourPublicRepos:["DELETE /user/interaction-limits",{},{renamed:["interactions","removeRestrictionsForAuthenticatedUser"]}],setRestrictionsForAuthenticatedUser:["PUT /user/interaction-limits"],setRestrictionsForOrg:["PUT /orgs/{org}/interaction-limits"],setRestrictionsForRepo:["PUT /repos/{owner}/{repo}/interaction-limits"],setRestrictionsForYourPublicRepos:["PUT /user/interaction-limits",{},{renamed:["interactions","setRestrictionsForAuthenticatedUser"]}]},issues:{addAssignees:["POST /repos/{owner}/{repo}/issues/{issue_number}/assignees"],addLabels:["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"],checkUserCanBeAssigned:["GET /repos/{owner}/{repo}/assignees/{assignee}"],checkUserCanBeAssignedToIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee}"],create:["POST /repos/{owner}/{repo}/issues"],createComment:["POST /repos/{owner}/{repo}/issues/{issue_number}/comments"],createLabel:["POST /repos/{owner}/{repo}/labels"],createMilestone:["POST /repos/{owner}/{repo}/milestones"],deleteComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}"],deleteLabel:["DELETE /repos/{owner}/{repo}/labels/{name}"],deleteMilestone:["DELETE /repos/{owner}/{repo}/milestones/{milestone_number}"],get:["GET /repos/{owner}/{repo}/issues/{issue_number}"],getComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"],getEvent:["GET /repos/{owner}/{repo}/issues/events/{event_id}"],getLabel:["GET /repos/{owner}/{repo}/labels/{name}"],getMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}"],list:["GET /issues"],listAssignees:["GET /repos/{owner}/{repo}/assignees"],listComments:["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"],listCommentsForRepo:["GET /repos/{owner}/{repo}/issues/comments"],listEvents:["GET /repos/{owner}/{repo}/issues/{issue_number}/events"],listEventsForRepo:["GET /repos/{owner}/{repo}/issues/events"],listEventsForTimeline:["GET /repos/{owner}/{repo}/issues/{issue_number}/timeline"],listForAuthenticatedUser:["GET /user/issues"],listForOrg:["GET /orgs/{org}/issues"],listForRepo:["GET /repos/{owner}/{repo}/issues"],listLabelsForMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels"],listLabelsForRepo:["GET /repos/{owner}/{repo}/labels"],listLabelsOnIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/labels"],listMilestones:["GET /repos/{owner}/{repo}/milestones"],lock:["PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"],removeAllLabels:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels"],removeAssignees:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees"],removeLabel:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}"],setLabels:["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels"],unlock:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock"],update:["PATCH /repos/{owner}/{repo}/issues/{issue_number}"],updateComment:["PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}"],updateLabel:["PATCH /repos/{owner}/{repo}/labels/{name}"],updateMilestone:["PATCH /repos/{owner}/{repo}/milestones/{milestone_number}"]},licenses:{get:["GET /licenses/{license}"],getAllCommonlyUsed:["GET /licenses"],getForRepo:["GET /repos/{owner}/{repo}/license"]},markdown:{render:["POST /markdown"],renderRaw:["POST /markdown/raw",{headers:{"content-type":"text/plain; charset=utf-8"}}]},meta:{get:["GET /meta"],getAllVersions:["GET /versions"],getOctocat:["GET /octocat"],getZen:["GET /zen"],root:["GET /"]},migrations:{cancelImport:["DELETE /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.cancelImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#cancel-an-import"}],deleteArchiveForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/archive"],deleteArchiveForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/archive"],downloadArchiveForOrg:["GET /orgs/{org}/migrations/{migration_id}/archive"],getArchiveForAuthenticatedUser:["GET /user/migrations/{migration_id}/archive"],getCommitAuthors:["GET /repos/{owner}/{repo}/import/authors",{},{deprecated:"octokit.rest.migrations.getCommitAuthors() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-commit-authors"}],getImportStatus:["GET /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.getImportStatus() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-an-import-status"}],getLargeFiles:["GET /repos/{owner}/{repo}/import/large_files",{},{deprecated:"octokit.rest.migrations.getLargeFiles() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-large-files"}],getStatusForAuthenticatedUser:["GET /user/migrations/{migration_id}"],getStatusForOrg:["GET /orgs/{org}/migrations/{migration_id}"],listForAuthenticatedUser:["GET /user/migrations"],listForOrg:["GET /orgs/{org}/migrations"],listReposForAuthenticatedUser:["GET /user/migrations/{migration_id}/repositories"],listReposForOrg:["GET /orgs/{org}/migrations/{migration_id}/repositories"],listReposForUser:["GET /user/migrations/{migration_id}/repositories",{},{renamed:["migrations","listReposForAuthenticatedUser"]}],mapCommitAuthor:["PATCH /repos/{owner}/{repo}/import/authors/{author_id}",{},{deprecated:"octokit.rest.migrations.mapCommitAuthor() is deprecated, see https://docs.github.com/rest/migrations/source-imports#map-a-commit-author"}],setLfsPreference:["PATCH /repos/{owner}/{repo}/import/lfs",{},{deprecated:"octokit.rest.migrations.setLfsPreference() is deprecated, see https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference"}],startForAuthenticatedUser:["POST /user/migrations"],startForOrg:["POST /orgs/{org}/migrations"],startImport:["PUT /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.startImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#start-an-import"}],unlockRepoForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock"],unlockRepoForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock"],updateImport:["PATCH /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.updateImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#update-an-import"}]},orgs:{addSecurityManagerTeam:["PUT /orgs/{org}/security-managers/teams/{team_slug}"],blockUser:["PUT /orgs/{org}/blocks/{username}"],cancelInvitation:["DELETE /orgs/{org}/invitations/{invitation_id}"],checkBlockedUser:["GET /orgs/{org}/blocks/{username}"],checkMembershipForUser:["GET /orgs/{org}/members/{username}"],checkPublicMembershipForUser:["GET /orgs/{org}/public_members/{username}"],convertMemberToOutsideCollaborator:["PUT /orgs/{org}/outside_collaborators/{username}"],createInvitation:["POST /orgs/{org}/invitations"],createOrUpdateCustomProperties:["PATCH /orgs/{org}/properties/schema"],createOrUpdateCustomPropertiesValuesForRepos:["PATCH /orgs/{org}/properties/values"],createOrUpdateCustomProperty:["PUT /orgs/{org}/properties/schema/{custom_property_name}"],createWebhook:["POST /orgs/{org}/hooks"],delete:["DELETE /orgs/{org}"],deleteWebhook:["DELETE /orgs/{org}/hooks/{hook_id}"],enableOrDisableSecurityProductOnAllOrgRepos:["POST /orgs/{org}/{security_product}/{enablement}"],get:["GET /orgs/{org}"],getAllCustomProperties:["GET /orgs/{org}/properties/schema"],getCustomProperty:["GET /orgs/{org}/properties/schema/{custom_property_name}"],getMembershipForAuthenticatedUser:["GET /user/memberships/orgs/{org}"],getMembershipForUser:["GET /orgs/{org}/memberships/{username}"],getWebhook:["GET /orgs/{org}/hooks/{hook_id}"],getWebhookConfigForOrg:["GET /orgs/{org}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}"],list:["GET /organizations"],listAppInstallations:["GET /orgs/{org}/installations"],listBlockedUsers:["GET /orgs/{org}/blocks"],listCustomPropertiesValuesForRepos:["GET /orgs/{org}/properties/values"],listFailedInvitations:["GET /orgs/{org}/failed_invitations"],listForAuthenticatedUser:["GET /user/orgs"],listForUser:["GET /users/{username}/orgs"],listInvitationTeams:["GET /orgs/{org}/invitations/{invitation_id}/teams"],listMembers:["GET /orgs/{org}/members"],listMembershipsForAuthenticatedUser:["GET /user/memberships/orgs"],listOutsideCollaborators:["GET /orgs/{org}/outside_collaborators"],listPatGrantRepositories:["GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories"],listPatGrantRequestRepositories:["GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories"],listPatGrantRequests:["GET /orgs/{org}/personal-access-token-requests"],listPatGrants:["GET /orgs/{org}/personal-access-tokens"],listPendingInvitations:["GET /orgs/{org}/invitations"],listPublicMembers:["GET /orgs/{org}/public_members"],listSecurityManagerTeams:["GET /orgs/{org}/security-managers"],listWebhookDeliveries:["GET /orgs/{org}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /orgs/{org}/hooks"],pingWebhook:["POST /orgs/{org}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeCustomProperty:["DELETE /orgs/{org}/properties/schema/{custom_property_name}"],removeMember:["DELETE /orgs/{org}/members/{username}"],removeMembershipForUser:["DELETE /orgs/{org}/memberships/{username}"],removeOutsideCollaborator:["DELETE /orgs/{org}/outside_collaborators/{username}"],removePublicMembershipForAuthenticatedUser:["DELETE /orgs/{org}/public_members/{username}"],removeSecurityManagerTeam:["DELETE /orgs/{org}/security-managers/teams/{team_slug}"],reviewPatGrantRequest:["POST /orgs/{org}/personal-access-token-requests/{pat_request_id}"],reviewPatGrantRequestsInBulk:["POST /orgs/{org}/personal-access-token-requests"],setMembershipForUser:["PUT /orgs/{org}/memberships/{username}"],setPublicMembershipForAuthenticatedUser:["PUT /orgs/{org}/public_members/{username}"],unblockUser:["DELETE /orgs/{org}/blocks/{username}"],update:["PATCH /orgs/{org}"],updateMembershipForAuthenticatedUser:["PATCH /user/memberships/orgs/{org}"],updatePatAccess:["POST /orgs/{org}/personal-access-tokens/{pat_id}"],updatePatAccesses:["POST /orgs/{org}/personal-access-tokens"],updateWebhook:["PATCH /orgs/{org}/hooks/{hook_id}"],updateWebhookConfigForOrg:["PATCH /orgs/{org}/hooks/{hook_id}/config"]},packages:{deletePackageForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}"],deletePackageForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}"],deletePackageForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}"],deletePackageVersionForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getAllPackageVersionsForAPackageOwnedByAnOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByOrg"]}],getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByAuthenticatedUser"]}],getAllPackageVersionsForPackageOwnedByAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions"],getPackageForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}"],getPackageForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}"],getPackageForUser:["GET /users/{username}/packages/{package_type}/{package_name}"],getPackageVersionForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],listDockerMigrationConflictingPackagesForAuthenticatedUser:["GET /user/docker/conflicts"],listDockerMigrationConflictingPackagesForOrganization:["GET /orgs/{org}/docker/conflicts"],listDockerMigrationConflictingPackagesForUser:["GET /users/{username}/docker/conflicts"],listPackagesForAuthenticatedUser:["GET /user/packages"],listPackagesForOrganization:["GET /orgs/{org}/packages"],listPackagesForUser:["GET /users/{username}/packages"],restorePackageForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForUser:["POST /users/{username}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageVersionForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForUser:["POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"]},projects:{addCollaborator:["PUT /projects/{project_id}/collaborators/{username}"],createCard:["POST /projects/columns/{column_id}/cards"],createColumn:["POST /projects/{project_id}/columns"],createForAuthenticatedUser:["POST /user/projects"],createForOrg:["POST /orgs/{org}/projects"],createForRepo:["POST /repos/{owner}/{repo}/projects"],delete:["DELETE /projects/{project_id}"],deleteCard:["DELETE /projects/columns/cards/{card_id}"],deleteColumn:["DELETE /projects/columns/{column_id}"],get:["GET /projects/{project_id}"],getCard:["GET /projects/columns/cards/{card_id}"],getColumn:["GET /projects/columns/{column_id}"],getPermissionForUser:["GET /projects/{project_id}/collaborators/{username}/permission"],listCards:["GET /projects/columns/{column_id}/cards"],listCollaborators:["GET /projects/{project_id}/collaborators"],listColumns:["GET /projects/{project_id}/columns"],listForOrg:["GET /orgs/{org}/projects"],listForRepo:["GET /repos/{owner}/{repo}/projects"],listForUser:["GET /users/{username}/projects"],moveCard:["POST /projects/columns/cards/{card_id}/moves"],moveColumn:["POST /projects/columns/{column_id}/moves"],removeCollaborator:["DELETE /projects/{project_id}/collaborators/{username}"],update:["PATCH /projects/{project_id}"],updateCard:["PATCH /projects/columns/cards/{card_id}"],updateColumn:["PATCH /projects/columns/{column_id}"]},pulls:{checkIfMerged:["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"],create:["POST /repos/{owner}/{repo}/pulls"],createReplyForReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies"],createReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],createReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments"],deletePendingReview:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],deleteReviewComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}"],dismissReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals"],get:["GET /repos/{owner}/{repo}/pulls/{pull_number}"],getReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],getReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}"],list:["GET /repos/{owner}/{repo}/pulls"],listCommentsForReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments"],listCommits:["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"],listFiles:["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"],listRequestedReviewers:["GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],listReviewComments:["GET /repos/{owner}/{repo}/pulls/{pull_number}/comments"],listReviewCommentsForRepo:["GET /repos/{owner}/{repo}/pulls/comments"],listReviews:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],merge:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"],removeRequestedReviewers:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],requestReviewers:["POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],submitReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events"],update:["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"],updateBranch:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch"],updateReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],updateReviewComment:["PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}"]},rateLimit:{get:["GET /rate_limit"]},reactions:{createForCommitComment:["POST /repos/{owner}/{repo}/comments/{comment_id}/reactions"],createForIssue:["POST /repos/{owner}/{repo}/issues/{issue_number}/reactions"],createForIssueComment:["POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],createForPullRequestReviewComment:["POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],createForRelease:["POST /repos/{owner}/{repo}/releases/{release_id}/reactions"],createForTeamDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],createForTeamDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"],deleteForCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}"],deleteForIssue:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}"],deleteForIssueComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}"],deleteForPullRequestComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}"],deleteForRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}"],deleteForTeamDiscussion:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}"],deleteForTeamDiscussionComment:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}"],listForCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions"],listForIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions"],listForIssueComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],listForPullRequestReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],listForRelease:["GET /repos/{owner}/{repo}/releases/{release_id}/reactions"],listForTeamDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],listForTeamDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"]},repos:{acceptInvitation:["PATCH /user/repository_invitations/{invitation_id}",{},{renamed:["repos","acceptInvitationForAuthenticatedUser"]}],acceptInvitationForAuthenticatedUser:["PATCH /user/repository_invitations/{invitation_id}"],addAppAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],addCollaborator:["PUT /repos/{owner}/{repo}/collaborators/{username}"],addStatusCheckContexts:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],addTeamAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],addUserAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],checkAutomatedSecurityFixes:["GET /repos/{owner}/{repo}/automated-security-fixes"],checkCollaborator:["GET /repos/{owner}/{repo}/collaborators/{username}"],checkVulnerabilityAlerts:["GET /repos/{owner}/{repo}/vulnerability-alerts"],codeownersErrors:["GET /repos/{owner}/{repo}/codeowners/errors"],compareCommits:["GET /repos/{owner}/{repo}/compare/{base}...{head}"],compareCommitsWithBasehead:["GET /repos/{owner}/{repo}/compare/{basehead}"],createAutolink:["POST /repos/{owner}/{repo}/autolinks"],createCommitComment:["POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"],createCommitSignatureProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],createCommitStatus:["POST /repos/{owner}/{repo}/statuses/{sha}"],createDeployKey:["POST /repos/{owner}/{repo}/keys"],createDeployment:["POST /repos/{owner}/{repo}/deployments"],createDeploymentBranchPolicy:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],createDeploymentProtectionRule:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],createDeploymentStatus:["POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],createDispatchEvent:["POST /repos/{owner}/{repo}/dispatches"],createForAuthenticatedUser:["POST /user/repos"],createFork:["POST /repos/{owner}/{repo}/forks"],createInOrg:["POST /orgs/{org}/repos"],createOrUpdateEnvironment:["PUT /repos/{owner}/{repo}/environments/{environment_name}"],createOrUpdateFileContents:["PUT /repos/{owner}/{repo}/contents/{path}"],createOrgRuleset:["POST /orgs/{org}/rulesets"],createPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployment"],createPagesSite:["POST /repos/{owner}/{repo}/pages"],createRelease:["POST /repos/{owner}/{repo}/releases"],createRepoRuleset:["POST /repos/{owner}/{repo}/rulesets"],createTagProtection:["POST /repos/{owner}/{repo}/tags/protection"],createUsingTemplate:["POST /repos/{template_owner}/{template_repo}/generate"],createWebhook:["POST /repos/{owner}/{repo}/hooks"],declineInvitation:["DELETE /user/repository_invitations/{invitation_id}",{},{renamed:["repos","declineInvitationForAuthenticatedUser"]}],declineInvitationForAuthenticatedUser:["DELETE /user/repository_invitations/{invitation_id}"],delete:["DELETE /repos/{owner}/{repo}"],deleteAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],deleteAdminBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],deleteAnEnvironment:["DELETE /repos/{owner}/{repo}/environments/{environment_name}"],deleteAutolink:["DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}"],deleteBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection"],deleteCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}"],deleteCommitSignatureProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],deleteDeployKey:["DELETE /repos/{owner}/{repo}/keys/{key_id}"],deleteDeployment:["DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"],deleteDeploymentBranchPolicy:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],deleteFile:["DELETE /repos/{owner}/{repo}/contents/{path}"],deleteInvitation:["DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"],deleteOrgRuleset:["DELETE /orgs/{org}/rulesets/{ruleset_id}"],deletePagesSite:["DELETE /repos/{owner}/{repo}/pages"],deletePullRequestReviewProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],deleteRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}"],deleteReleaseAsset:["DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}"],deleteRepoRuleset:["DELETE /repos/{owner}/{repo}/rulesets/{ruleset_id}"],deleteTagProtection:["DELETE /repos/{owner}/{repo}/tags/protection/{tag_protection_id}"],deleteWebhook:["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"],disableAutomatedSecurityFixes:["DELETE /repos/{owner}/{repo}/automated-security-fixes"],disableDeploymentProtectionRule:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],disablePrivateVulnerabilityReporting:["DELETE /repos/{owner}/{repo}/private-vulnerability-reporting"],disableVulnerabilityAlerts:["DELETE /repos/{owner}/{repo}/vulnerability-alerts"],downloadArchive:["GET /repos/{owner}/{repo}/zipball/{ref}",{},{renamed:["repos","downloadZipballArchive"]}],downloadTarballArchive:["GET /repos/{owner}/{repo}/tarball/{ref}"],downloadZipballArchive:["GET /repos/{owner}/{repo}/zipball/{ref}"],enableAutomatedSecurityFixes:["PUT /repos/{owner}/{repo}/automated-security-fixes"],enablePrivateVulnerabilityReporting:["PUT /repos/{owner}/{repo}/private-vulnerability-reporting"],enableVulnerabilityAlerts:["PUT /repos/{owner}/{repo}/vulnerability-alerts"],generateReleaseNotes:["POST /repos/{owner}/{repo}/releases/generate-notes"],get:["GET /repos/{owner}/{repo}"],getAccessRestrictions:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],getAdminBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],getAllDeploymentProtectionRules:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],getAllEnvironments:["GET /repos/{owner}/{repo}/environments"],getAllStatusCheckContexts:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"],getAllTopics:["GET /repos/{owner}/{repo}/topics"],getAppsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"],getAutolink:["GET /repos/{owner}/{repo}/autolinks/{autolink_id}"],getBranch:["GET /repos/{owner}/{repo}/branches/{branch}"],getBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection"],getBranchRules:["GET /repos/{owner}/{repo}/rules/branches/{branch}"],getClones:["GET /repos/{owner}/{repo}/traffic/clones"],getCodeFrequencyStats:["GET /repos/{owner}/{repo}/stats/code_frequency"],getCollaboratorPermissionLevel:["GET /repos/{owner}/{repo}/collaborators/{username}/permission"],getCombinedStatusForRef:["GET /repos/{owner}/{repo}/commits/{ref}/status"],getCommit:["GET /repos/{owner}/{repo}/commits/{ref}"],getCommitActivityStats:["GET /repos/{owner}/{repo}/stats/commit_activity"],getCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}"],getCommitSignatureProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],getCommunityProfileMetrics:["GET /repos/{owner}/{repo}/community/profile"],getContent:["GET /repos/{owner}/{repo}/contents/{path}"],getContributorsStats:["GET /repos/{owner}/{repo}/stats/contributors"],getCustomDeploymentProtectionRule:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],getCustomPropertiesValues:["GET /repos/{owner}/{repo}/properties/values"],getDeployKey:["GET /repos/{owner}/{repo}/keys/{key_id}"],getDeployment:["GET /repos/{owner}/{repo}/deployments/{deployment_id}"],getDeploymentBranchPolicy:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],getDeploymentStatus:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}"],getEnvironment:["GET /repos/{owner}/{repo}/environments/{environment_name}"],getLatestPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/latest"],getLatestRelease:["GET /repos/{owner}/{repo}/releases/latest"],getOrgRuleSuite:["GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id}"],getOrgRuleSuites:["GET /orgs/{org}/rulesets/rule-suites"],getOrgRuleset:["GET /orgs/{org}/rulesets/{ruleset_id}"],getOrgRulesets:["GET /orgs/{org}/rulesets"],getPages:["GET /repos/{owner}/{repo}/pages"],getPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/{build_id}"],getPagesHealthCheck:["GET /repos/{owner}/{repo}/pages/health"],getParticipationStats:["GET /repos/{owner}/{repo}/stats/participation"],getPullRequestReviewProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],getPunchCardStats:["GET /repos/{owner}/{repo}/stats/punch_card"],getReadme:["GET /repos/{owner}/{repo}/readme"],getReadmeInDirectory:["GET /repos/{owner}/{repo}/readme/{dir}"],getRelease:["GET /repos/{owner}/{repo}/releases/{release_id}"],getReleaseAsset:["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"],getReleaseByTag:["GET /repos/{owner}/{repo}/releases/tags/{tag}"],getRepoRuleSuite:["GET /repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id}"],getRepoRuleSuites:["GET /repos/{owner}/{repo}/rulesets/rule-suites"],getRepoRuleset:["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"],getRepoRulesets:["GET /repos/{owner}/{repo}/rulesets"],getStatusChecksProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],getTeamsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams"],getTopPaths:["GET /repos/{owner}/{repo}/traffic/popular/paths"],getTopReferrers:["GET /repos/{owner}/{repo}/traffic/popular/referrers"],getUsersWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users"],getViews:["GET /repos/{owner}/{repo}/traffic/views"],getWebhook:["GET /repos/{owner}/{repo}/hooks/{hook_id}"],getWebhookConfigForRepo:["GET /repos/{owner}/{repo}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}"],listActivities:["GET /repos/{owner}/{repo}/activity"],listAutolinks:["GET /repos/{owner}/{repo}/autolinks"],listBranches:["GET /repos/{owner}/{repo}/branches"],listBranchesForHeadCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head"],listCollaborators:["GET /repos/{owner}/{repo}/collaborators"],listCommentsForCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/comments"],listCommitCommentsForRepo:["GET /repos/{owner}/{repo}/comments"],listCommitStatusesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/statuses"],listCommits:["GET /repos/{owner}/{repo}/commits"],listContributors:["GET /repos/{owner}/{repo}/contributors"],listCustomDeploymentRuleIntegrations:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps"],listDeployKeys:["GET /repos/{owner}/{repo}/keys"],listDeploymentBranchPolicies:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],listDeploymentStatuses:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],listDeployments:["GET /repos/{owner}/{repo}/deployments"],listForAuthenticatedUser:["GET /user/repos"],listForOrg:["GET /orgs/{org}/repos"],listForUser:["GET /users/{username}/repos"],listForks:["GET /repos/{owner}/{repo}/forks"],listInvitations:["GET /repos/{owner}/{repo}/invitations"],listInvitationsForAuthenticatedUser:["GET /user/repository_invitations"],listLanguages:["GET /repos/{owner}/{repo}/languages"],listPagesBuilds:["GET /repos/{owner}/{repo}/pages/builds"],listPublic:["GET /repositories"],listPullRequestsAssociatedWithCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls"],listReleaseAssets:["GET /repos/{owner}/{repo}/releases/{release_id}/assets"],listReleases:["GET /repos/{owner}/{repo}/releases"],listTagProtection:["GET /repos/{owner}/{repo}/tags/protection"],listTags:["GET /repos/{owner}/{repo}/tags"],listTeams:["GET /repos/{owner}/{repo}/teams"],listWebhookDeliveries:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /repos/{owner}/{repo}/hooks"],merge:["POST /repos/{owner}/{repo}/merges"],mergeUpstream:["POST /repos/{owner}/{repo}/merge-upstream"],pingWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeAppAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],removeCollaborator:["DELETE /repos/{owner}/{repo}/collaborators/{username}"],removeStatusCheckContexts:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],removeStatusCheckProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],removeTeamAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],removeUserAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],renameBranch:["POST /repos/{owner}/{repo}/branches/{branch}/rename"],replaceAllTopics:["PUT /repos/{owner}/{repo}/topics"],requestPagesBuild:["POST /repos/{owner}/{repo}/pages/builds"],setAdminBranchProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],setAppAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],setStatusCheckContexts:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],setTeamAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],setUserAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],testPushWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests"],transfer:["POST /repos/{owner}/{repo}/transfer"],update:["PATCH /repos/{owner}/{repo}"],updateBranchProtection:["PUT /repos/{owner}/{repo}/branches/{branch}/protection"],updateCommitComment:["PATCH /repos/{owner}/{repo}/comments/{comment_id}"],updateDeploymentBranchPolicy:["PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],updateInformationAboutPagesSite:["PUT /repos/{owner}/{repo}/pages"],updateInvitation:["PATCH /repos/{owner}/{repo}/invitations/{invitation_id}"],updateOrgRuleset:["PUT /orgs/{org}/rulesets/{ruleset_id}"],updatePullRequestReviewProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],updateRelease:["PATCH /repos/{owner}/{repo}/releases/{release_id}"],updateReleaseAsset:["PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}"],updateRepoRuleset:["PUT /repos/{owner}/{repo}/rulesets/{ruleset_id}"],updateStatusCheckPotection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks",{},{renamed:["repos","updateStatusCheckProtection"]}],updateStatusCheckProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],updateWebhook:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"],updateWebhookConfigForRepo:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config"],uploadReleaseAsset:["POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}",{baseUrl:"https://uploads.github.com"}]},search:{code:["GET /search/code"],commits:["GET /search/commits"],issuesAndPullRequests:["GET /search/issues"],labels:["GET /search/labels"],repos:["GET /search/repositories"],topics:["GET /search/topics"],users:["GET /search/users"]},secretScanning:{getAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/secret-scanning/alerts"],listAlertsForOrg:["GET /orgs/{org}/secret-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/secret-scanning/alerts"],listLocationsForAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations"],updateAlert:["PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"]},securityAdvisories:{createPrivateVulnerabilityReport:["POST /repos/{owner}/{repo}/security-advisories/reports"],createRepositoryAdvisory:["POST /repos/{owner}/{repo}/security-advisories"],createRepositoryAdvisoryCveRequest:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve"],getGlobalAdvisory:["GET /advisories/{ghsa_id}"],getRepositoryAdvisory:["GET /repos/{owner}/{repo}/security-advisories/{ghsa_id}"],listGlobalAdvisories:["GET /advisories"],listOrgRepositoryAdvisories:["GET /orgs/{org}/security-advisories"],listRepositoryAdvisories:["GET /repos/{owner}/{repo}/security-advisories"],updateRepositoryAdvisory:["PATCH /repos/{owner}/{repo}/security-advisories/{ghsa_id}"]},teams:{addOrUpdateMembershipForUserInOrg:["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"],addOrUpdateProjectPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}"],addOrUpdateRepoPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],checkPermissionsForProjectInOrg:["GET /orgs/{org}/teams/{team_slug}/projects/{project_id}"],checkPermissionsForRepoInOrg:["GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],create:["POST /orgs/{org}/teams"],createDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],createDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions"],deleteDiscussionCommentInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],deleteDiscussionInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],deleteInOrg:["DELETE /orgs/{org}/teams/{team_slug}"],getByName:["GET /orgs/{org}/teams/{team_slug}"],getDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],getDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],getMembershipForUserInOrg:["GET /orgs/{org}/teams/{team_slug}/memberships/{username}"],list:["GET /orgs/{org}/teams"],listChildInOrg:["GET /orgs/{org}/teams/{team_slug}/teams"],listDiscussionCommentsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],listDiscussionsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions"],listForAuthenticatedUser:["GET /user/teams"],listMembersInOrg:["GET /orgs/{org}/teams/{team_slug}/members"],listPendingInvitationsInOrg:["GET /orgs/{org}/teams/{team_slug}/invitations"],listProjectsInOrg:["GET /orgs/{org}/teams/{team_slug}/projects"],listReposInOrg:["GET /orgs/{org}/teams/{team_slug}/repos"],removeMembershipForUserInOrg:["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"],removeProjectInOrg:["DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}"],removeRepoInOrg:["DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],updateDiscussionCommentInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],updateDiscussionInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],updateInOrg:["PATCH /orgs/{org}/teams/{team_slug}"]},users:{addEmailForAuthenticated:["POST /user/emails",{},{renamed:["users","addEmailForAuthenticatedUser"]}],addEmailForAuthenticatedUser:["POST /user/emails"],addSocialAccountForAuthenticatedUser:["POST /user/social_accounts"],block:["PUT /user/blocks/{username}"],checkBlocked:["GET /user/blocks/{username}"],checkFollowingForUser:["GET /users/{username}/following/{target_user}"],checkPersonIsFollowedByAuthenticated:["GET /user/following/{username}"],createGpgKeyForAuthenticated:["POST /user/gpg_keys",{},{renamed:["users","createGpgKeyForAuthenticatedUser"]}],createGpgKeyForAuthenticatedUser:["POST /user/gpg_keys"],createPublicSshKeyForAuthenticated:["POST /user/keys",{},{renamed:["users","createPublicSshKeyForAuthenticatedUser"]}],createPublicSshKeyForAuthenticatedUser:["POST /user/keys"],createSshSigningKeyForAuthenticatedUser:["POST /user/ssh_signing_keys"],deleteEmailForAuthenticated:["DELETE /user/emails",{},{renamed:["users","deleteEmailForAuthenticatedUser"]}],deleteEmailForAuthenticatedUser:["DELETE /user/emails"],deleteGpgKeyForAuthenticated:["DELETE /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","deleteGpgKeyForAuthenticatedUser"]}],deleteGpgKeyForAuthenticatedUser:["DELETE /user/gpg_keys/{gpg_key_id}"],deletePublicSshKeyForAuthenticated:["DELETE /user/keys/{key_id}",{},{renamed:["users","deletePublicSshKeyForAuthenticatedUser"]}],deletePublicSshKeyForAuthenticatedUser:["DELETE /user/keys/{key_id}"],deleteSocialAccountForAuthenticatedUser:["DELETE /user/social_accounts"],deleteSshSigningKeyForAuthenticatedUser:["DELETE /user/ssh_signing_keys/{ssh_signing_key_id}"],follow:["PUT /user/following/{username}"],getAuthenticated:["GET /user"],getByUsername:["GET /users/{username}"],getContextForUser:["GET /users/{username}/hovercard"],getGpgKeyForAuthenticated:["GET /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","getGpgKeyForAuthenticatedUser"]}],getGpgKeyForAuthenticatedUser:["GET /user/gpg_keys/{gpg_key_id}"],getPublicSshKeyForAuthenticated:["GET /user/keys/{key_id}",{},{renamed:["users","getPublicSshKeyForAuthenticatedUser"]}],getPublicSshKeyForAuthenticatedUser:["GET /user/keys/{key_id}"],getSshSigningKeyForAuthenticatedUser:["GET /user/ssh_signing_keys/{ssh_signing_key_id}"],list:["GET /users"],listBlockedByAuthenticated:["GET /user/blocks",{},{renamed:["users","listBlockedByAuthenticatedUser"]}],listBlockedByAuthenticatedUser:["GET /user/blocks"],listEmailsForAuthenticated:["GET /user/emails",{},{renamed:["users","listEmailsForAuthenticatedUser"]}],listEmailsForAuthenticatedUser:["GET /user/emails"],listFollowedByAuthenticated:["GET /user/following",{},{renamed:["users","listFollowedByAuthenticatedUser"]}],listFollowedByAuthenticatedUser:["GET /user/following"],listFollowersForAuthenticatedUser:["GET /user/followers"],listFollowersForUser:["GET /users/{username}/followers"],listFollowingForUser:["GET /users/{username}/following"],listGpgKeysForAuthenticated:["GET /user/gpg_keys",{},{renamed:["users","listGpgKeysForAuthenticatedUser"]}],listGpgKeysForAuthenticatedUser:["GET /user/gpg_keys"],listGpgKeysForUser:["GET /users/{username}/gpg_keys"],listPublicEmailsForAuthenticated:["GET /user/public_emails",{},{renamed:["users","listPublicEmailsForAuthenticatedUser"]}],listPublicEmailsForAuthenticatedUser:["GET /user/public_emails"],listPublicKeysForUser:["GET /users/{username}/keys"],listPublicSshKeysForAuthenticated:["GET /user/keys",{},{renamed:["users","listPublicSshKeysForAuthenticatedUser"]}],listPublicSshKeysForAuthenticatedUser:["GET /user/keys"],listSocialAccountsForAuthenticatedUser:["GET /user/social_accounts"],listSocialAccountsForUser:["GET /users/{username}/social_accounts"],listSshSigningKeysForAuthenticatedUser:["GET /user/ssh_signing_keys"],listSshSigningKeysForUser:["GET /users/{username}/ssh_signing_keys"],setPrimaryEmailVisibilityForAuthenticated:["PATCH /user/email/visibility",{},{renamed:["users","setPrimaryEmailVisibilityForAuthenticatedUser"]}],setPrimaryEmailVisibilityForAuthenticatedUser:["PATCH /user/email/visibility"],unblock:["DELETE /user/blocks/{username}"],unfollow:["DELETE /user/following/{username}"],updateAuthenticated:["PATCH /user"]}};var a=i;var c=new Map;for(const[e,t]of Object.entries(a)){for(const[s,r]of Object.entries(t)){const[t,o,n]=r;const[A,i]=t.split(/ /);const a=Object.assign({method:A,url:i},o);if(!c.has(e)){c.set(e,new Map)}c.get(e).set(s,{scope:e,methodName:s,endpointDefaults:a,decorations:n})}}var l={has({scope:e},t){return c.get(e).has(t)},getOwnPropertyDescriptor(e,t){return{value:this.get(e,t),configurable:true,writable:true,enumerable:true}},defineProperty(e,t,s){Object.defineProperty(e.cache,t,s);return true},deleteProperty(e,t){delete e.cache[t];return true},ownKeys({scope:e}){return[...c.get(e).keys()]},set(e,t,s){return e.cache[t]=s},get({octokit:e,scope:t,cache:s},r){if(s[r]){return s[r]}const o=c.get(t).get(r);if(!o){return void 0}const{endpointDefaults:n,decorations:A}=o;if(A){s[r]=decorate(e,t,r,n,A)}else{s[r]=e.request.defaults(n)}return s[r]}};function endpointsToMethods(e){const t={};for(const s of c.keys()){t[s]=new Proxy({octokit:e,scope:s,cache:{}},l)}return t}function decorate(e,t,s,r,o){const n=e.request.defaults(r);function withDecorations(...r){let A=n.endpoint.merge(...r);if(o.mapToData){A=Object.assign({},A,{data:A[o.mapToData],[o.mapToData]:void 0});return n(A)}if(o.renamed){const[r,n]=o.renamed;e.log.warn(`octokit.${t}.${s}() has been renamed to octokit.${r}.${n}()`)}if(o.deprecated){e.log.warn(o.deprecated)}if(o.renamedParameters){const A=n.endpoint.merge(...r);for(const[r,n]of Object.entries(o.renamedParameters)){if(r in A){e.log.warn(`"${r}" parameter is deprecated for "octokit.${t}.${s}()". Use "${n}" instead`);if(!(n in A)){A[n]=A[r]}delete A[r]}}return n(A)}return n(...r)}return Object.assign(withDecorations,n)}function restEndpointMethods(e){const t=endpointsToMethods(e);return{rest:t}}restEndpointMethods.VERSION=A;function legacyRestEndpointMethods(e){const t=endpointsToMethods(e);return{...t,rest:t}}legacyRestEndpointMethods.VERSION=A;0&&0},6473:(e,t,s)=>{var r=Object.create;var o=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var A=Object.getOwnPropertyNames;var i=Object.getPrototypeOf;var a=Object.prototype.hasOwnProperty;var __export=(e,t)=>{for(var s in t)o(e,s,{get:t[s],enumerable:true})};var __copyProps=(e,t,s,r)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let i of A(t))if(!a.call(e,i)&&i!==s)o(e,i,{get:()=>t[i],enumerable:!(r=n(t,i))||r.enumerable})}return e};var __toESM=(e,t,s)=>(s=e!=null?r(i(e)):{},__copyProps(t||!e||!e.__esModule?o(s,"default",{value:e,enumerable:true}):s,e));var __toCommonJS=e=>__copyProps(o({},"__esModule",{value:true}),e);var c={};__export(c,{RequestError:()=>g});e.exports=__toCommonJS(c);var l=s(5820);var u=__toESM(s(3069));var p=(0,u.default)((e=>console.warn(e)));var d=(0,u.default)((e=>console.warn(e)));var g=class extends Error{constructor(e,t,s){super(e);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="HttpError";this.status=t;let r;if("headers"in s&&typeof s.headers!=="undefined"){r=s.headers}if("response"in s){this.response=s.response;r=s.response.headers}const o=Object.assign({},s.request);if(s.request.headers.authorization){o.headers=Object.assign({},s.request.headers,{authorization:s.request.headers.authorization.replace(/ .*$/," [REDACTED]")})}o.url=o.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]");this.request=o;Object.defineProperty(this,"code",{get(){p(new l.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`."));return t}});Object.defineProperty(this,"headers",{get(){d(new l.Deprecation("[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`."));return r||{}}})}};0&&0},3788:(e,t,s)=>{var r=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var A=Object.prototype.hasOwnProperty;var __export=(e,t)=>{for(var s in t)r(e,s,{get:t[s],enumerable:true})};var __copyProps=(e,t,s,i)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let a of n(t))if(!A.call(e,a)&&a!==s)r(e,a,{get:()=>t[a],enumerable:!(i=o(t,a))||i.enumerable})}return e};var __toCommonJS=e=>__copyProps(r({},"__esModule",{value:true}),e);var i={};__export(i,{request:()=>p});e.exports=__toCommonJS(i);var a=s(7747);var c=s(5938);var l="8.1.6";function isPlainObject(e){if(typeof e!=="object"||e===null)return false;if(Object.prototype.toString.call(e)!=="[object Object]")return false;const t=Object.getPrototypeOf(e);if(t===null)return true;const s=Object.prototype.hasOwnProperty.call(t,"constructor")&&t.constructor;return typeof s==="function"&&s instanceof s&&Function.prototype.call(s)===Function.prototype.call(e)}var u=s(6473);function getBufferResponse(e){return e.arrayBuffer()}function fetchWrapper(e){var t,s,r;const o=e.request&&e.request.log?e.request.log:console;const n=((t=e.request)==null?void 0:t.parseSuccessResponseBody)!==false;if(isPlainObject(e.body)||Array.isArray(e.body)){e.body=JSON.stringify(e.body)}let A={};let i;let a;let{fetch:c}=globalThis;if((s=e.request)==null?void 0:s.fetch){c=e.request.fetch}if(!c){throw new Error("fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing")}return c(e.url,{method:e.method,body:e.body,headers:e.headers,signal:(r=e.request)==null?void 0:r.signal,...e.body&&{duplex:"half"}}).then((async t=>{a=t.url;i=t.status;for(const e of t.headers){A[e[0]]=e[1]}if("deprecation"in A){const t=A.link&&A.link.match(/<([^>]+)>; rel="deprecation"/);const s=t&&t.pop();o.warn(`[@octokit/request] "${e.method} ${e.url}" is deprecated. It is scheduled to be removed on ${A.sunset}${s?`. See ${s}`:""}`)}if(i===204||i===205){return}if(e.method==="HEAD"){if(i<400){return}throw new u.RequestError(t.statusText,i,{response:{url:a,status:i,headers:A,data:void 0},request:e})}if(i===304){throw new u.RequestError("Not modified",i,{response:{url:a,status:i,headers:A,data:await getResponseData(t)},request:e})}if(i>=400){const s=await getResponseData(t);const r=new u.RequestError(toErrorMessage(s),i,{response:{url:a,status:i,headers:A,data:s},request:e});throw r}return n?await getResponseData(t):t.body})).then((e=>({status:i,url:a,headers:A,data:e}))).catch((t=>{if(t instanceof u.RequestError)throw t;else if(t.name==="AbortError")throw t;let s=t.message;if(t.name==="TypeError"&&"cause"in t){if(t.cause instanceof Error){s=t.cause.message}else if(typeof t.cause==="string"){s=t.cause}}throw new u.RequestError(s,500,{request:e})}))}async function getResponseData(e){const t=e.headers.get("content-type");if(/application\/json/.test(t)){return e.json().catch((()=>e.text())).catch((()=>""))}if(!t||/^text\/|charset=utf-8$/.test(t)){return e.text()}return getBufferResponse(e)}function toErrorMessage(e){if(typeof e==="string")return e;if("message"in e){if(Array.isArray(e.errors)){return`${e.message}: ${e.errors.map(JSON.stringify).join(", ")}`}return e.message}return`Unknown error: ${JSON.stringify(e)}`}function withDefaults(e,t){const s=e.defaults(t);const newApi=function(e,t){const r=s.merge(e,t);if(!r.request||!r.request.hook){return fetchWrapper(s.parse(r))}const request2=(e,t)=>fetchWrapper(s.parse(s.merge(e,t)));Object.assign(request2,{endpoint:s,defaults:withDefaults.bind(null,s)});return r.request.hook(request2,r)};return Object.assign(newApi,{endpoint:s,defaults:withDefaults.bind(null,s)})}var p=withDefaults(a.endpoint,{headers:{"user-agent":`octokit-request.js/${l} ${(0,c.getUserAgent)()}`}});0&&0},5806:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.ConsoleLogger=t.LogLevel=void 0;var s;(function(e){e["ERROR"]="error";e["WARN"]="warn";e["INFO"]="info";e["DEBUG"]="debug"})(s=t.LogLevel||(t.LogLevel={}));class ConsoleLogger{constructor(){this.level=s.INFO;this.name=""}getLevel(){return this.level}setLevel(e){this.level=e}setName(e){this.name=e}debug(...e){if(ConsoleLogger.isMoreOrEqualSevere(s.DEBUG,this.level)){console.debug(ConsoleLogger.labels.get(s.DEBUG),this.name,...e)}}info(...e){if(ConsoleLogger.isMoreOrEqualSevere(s.INFO,this.level)){console.info(ConsoleLogger.labels.get(s.INFO),this.name,...e)}}warn(...e){if(ConsoleLogger.isMoreOrEqualSevere(s.WARN,this.level)){console.warn(ConsoleLogger.labels.get(s.WARN),this.name,...e)}}error(...e){if(ConsoleLogger.isMoreOrEqualSevere(s.ERROR,this.level)){console.error(ConsoleLogger.labels.get(s.ERROR),this.name,...e)}}static isMoreOrEqualSevere(e,t){return ConsoleLogger.severity[e]>=ConsoleLogger.severity[t]}}t.ConsoleLogger=ConsoleLogger;ConsoleLogger.labels=(()=>{const e=Object.entries(s);const t=e.map((([e,t])=>[t,`[${e}] `]));return new Map(t)})();ConsoleLogger.severity={[s.ERROR]:400,[s.WARN]:300,[s.INFO]:200,[s.DEBUG]:100}},39:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true})},357:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true})},5160:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true})},2278:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true})},2014:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true})},3703:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true})},3542:function(e,t,s){var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;var o=Object.getOwnPropertyDescriptor(t,s);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[s]}}}Object.defineProperty(e,r,o)}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var o=this&&this.__exportStar||function(e,t){for(var s in e)if(s!=="default"&&!Object.prototype.hasOwnProperty.call(t,s))r(t,e,s)};Object.defineProperty(t,"__esModule",{value:true});o(s(2014),t);o(s(3703),t);o(s(6746),t);o(s(3836),t);o(s(9586),t);o(s(357),t);o(s(5160),t);o(s(39),t);o(s(2278),t)},3836:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true})},6746:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true})},9586:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true})},7683:function(e,t,s){var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;var o=Object.getOwnPropertyDescriptor(t,s);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[s]}}}Object.defineProperty(e,r,o)}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var s in e)if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s))r(t,e,s);o(t,e);return t};var A=this&&this.__awaiter||function(e,t,s,r){function adopt(e){return e instanceof s?e:new s((function(t){t(e)}))}return new(s||(s=Promise))((function(s,o){function fulfilled(e){try{step(r.next(e))}catch(e){o(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){o(e)}}function step(e){e.done?s(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())}))};var i=this&&this.__await||function(e){return this instanceof i?(this.v=e,this):new i(e)};var a=this&&this.__asyncGenerator||function(e,t,s){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=s.apply(e,t||[]),o,n=[];return o={},verb("next"),verb("throw"),verb("return",awaitReturn),o[Symbol.asyncIterator]=function(){return this},o;function awaitReturn(e){return function(t){return Promise.resolve(t).then(e,reject)}}function verb(e,t){if(r[e]){o[e]=function(t){return new Promise((function(s,r){n.push([e,t,s,r])>1||resume(e,t)}))};if(t)o[e]=t(o[e])}}function resume(e,t){try{step(r[e](t))}catch(e){settle(n[0][3],e)}}function step(e){e.value instanceof i?Promise.resolve(e.value.v).then(fulfill,reject):settle(n[0][2],e)}function fulfill(e){resume("next",e)}function reject(e){resume("throw",e)}function settle(e,t){if(e(t),n.shift(),n.length)resume(n[0][0],n[0][1])}};var c=this&&this.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],s;return t?t.call(e):(e=typeof __values==="function"?__values(e):e[Symbol.iterator](),s={},verb("next"),verb("throw"),verb("return"),s[Symbol.asyncIterator]=function(){return this},s);function verb(t){s[t]=e[t]&&function(s){return new Promise((function(r,o){s=e[t](s),settle(r,o,s.done,s.value)}))}}function settle(e,t,s,r){Promise.resolve(r).then((function(t){e({value:t,done:s})}),t)}};var l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.buildThreadTsWarningMessage=t.WebClient=t.WebClientEvent=void 0;const u=s(1017);const p=s(3477);const d=s(3837);const g=l(s(9796));const h=l(s(7848));const E=l(s(4551));const C=l(s(6082));const m=l(s(5335));const Q=l(s(5062));const B=n(s(9005));const I=s(7402);const b=s(1803);const y=l(s(6717));const w=s(5678);const v=s(8437);const R=s(730);const k=s(855);const D=["delete","common","get","put","head","post","link","patch","purge","unlink","options"];const x="Untitled";const F=200;const noopPageReducer=()=>undefined;var S;(function(e){e["RATE_LIMITED"]="rate_limited"})(S||(t.WebClientEvent=S={}));class WebClient extends R.Methods{constructor(e,{slackApiUrl:t="https://slack.com/api/",logger:s=undefined,logLevel:r=undefined,maxRequestConcurrency:o=100,retryConfig:n=k.tenRetriesInAboutThirtyMinutes,agent:A=undefined,tls:i=undefined,timeout:a=0,rejectRateLimitedCalls:c=false,headers:l={},teamId:u=undefined,attachOriginalToWebAPIRequestError:p=true}={}){super();this.token=e;this.slackApiUrl=t;this.retryConfig=n;this.requestQueue=new Q.default({concurrency:o});this.tlsConfig=i!==undefined?i:{};this.rejectRateLimitedCalls=c;this.teamId=u;this.attachOriginalToWebAPIRequestError=p;if(typeof s!=="undefined"){this.logger=s;if(typeof r!=="undefined"){this.logger.debug("The logLevel given to WebClient was ignored as you also gave logger")}}else{this.logger=(0,v.getLogger)(WebClient.loggerName,r!==null&&r!==void 0?r:v.LogLevel.INFO,s)}if(this.token&&!l.Authorization)l.Authorization=`Bearer ${this.token}`;this.axios=h.default.create({timeout:a,baseURL:t,headers:(0,C.default)()?l:Object.assign({"User-Agent":(0,w.getUserAgent)()},l),httpAgent:A,httpsAgent:A,transformRequest:[this.serializeApiCallOptions.bind(this)],validateStatus:()=>true,maxRedirects:0,proxy:false});delete this.axios.defaults.headers.post["Content-Type"];this.logger.debug("initialized")}apiCall(e,t={}){return A(this,void 0,void 0,(function*(){this.logger.debug(`apiCall('${e}') start`);warnDeprecations(e,this.logger);warnIfFallbackIsMissing(e,this.logger,t);warnIfThreadTsIsNotString(e,this.logger,t);if(typeof t==="string"||typeof t==="number"||typeof t==="boolean"){throw new TypeError(`Expected an options argument but instead received a ${typeof t}`)}(0,b.warnIfNotUsingFilesUploadV2)(e,this.logger);if(e==="files.uploadV2")return this.filesUploadV2(t);const s={};if(t.token)s.Authorization=`Bearer ${t.token}`;const r=yield this.makeRequest(e,Object.assign({team_id:this.teamId},t),s);const o=yield this.buildResult(r);this.logger.debug(`http request result: ${JSON.stringify(o)}`);if(o.response_metadata!==undefined&&o.response_metadata.warnings!==undefined){o.response_metadata.warnings.forEach(this.logger.warn.bind(this.logger))}if(o.response_metadata!==undefined&&o.response_metadata.messages!==undefined){o.response_metadata.messages.forEach((e=>{const t=/\[ERROR\](.*)/;const s=/\[WARN\](.*)/;if(t.test(e)){const s=e.match(t);if(s!=null){this.logger.error(s[1].trim())}}else if(s.test(e)){const t=e.match(s);if(t!=null){this.logger.warn(t[1].trim())}}}))}if(!o.ok&&r.headers["content-type"]!=="application/gzip"){throw(0,I.platformErrorFromResult)(o)}else if("ok"in o&&o.ok===false){throw(0,I.platformErrorFromResult)(o)}this.logger.debug(`apiCall('${e}') end`);return o}))}paginate(e,t,s,r){const o=(()=>{if(t!==undefined&&typeof t.limit==="number"){const{limit:e}=t;delete t.limit;return e}return F})();function generatePages(){return a(this,arguments,(function*generatePages_1(){let s;let r={limit:o};if(t!==undefined&&t.cursor!==undefined){r.cursor=t.cursor}while(s===undefined||r!==undefined){s=yield i(this.apiCall(e,Object.assign(t!==undefined?t:{},r)));yield yield i(s);r=paginationOptionsForNextPage(s,o)}}))}if(s===undefined){return generatePages.call(this)}const n=r!==undefined?r:noopPageReducer;let l=0;return(()=>A(this,void 0,void 0,(function*(){var e,t,r,o;const A=generatePages.call(this);const i=yield A.next(undefined);const a=i.value;let u=n(undefined,a,l);l+=1;if(s(a)){return u}try{for(var p=true,d=c(A),g;g=yield d.next(),e=g.done,!e;p=true){o=g.value;p=false;const e=o;u=n(u,e,l);if(s(e)){return u}l+=1}}catch(e){t={error:e}}finally{try{if(!p&&!e&&(r=d.return))yield r.call(d)}finally{if(t)throw t.error}}return u})))()}filesUploadV2(e){return A(this,void 0,void 0,(function*(){this.logger.debug("files.uploadV2() start");const t=yield this.getAllFileUploads(e);const s=yield this.fetchAllUploadURLExternal(t);s.forEach(((e,s)=>{t[s].upload_url=e.upload_url;t[s].file_id=e.file_id}));yield this.postFileUploadsToExternalURL(t,e);const r=yield this.completeFileUploads(t);return{ok:true,files:r}}))}fetchAllUploadURLExternal(e){return A(this,void 0,void 0,(function*(){return Promise.all(e.map((e=>{const t={filename:e.filename,length:e.length,alt_text:e.alt_text,snippet_type:e.snippet_type};if("token"in e){t.token=e.token}return this.files.getUploadURLExternal(t)})))}))}completeFileUploads(e){return A(this,void 0,void 0,(function*(){const t=Object.values((0,b.getAllFileUploadsToComplete)(e));return Promise.all(t.map((e=>this.files.completeUploadExternal(e))))}))}postFileUploadsToExternalURL(e,t){return A(this,void 0,void 0,(function*(){return Promise.all(e.map((e=>A(this,void 0,void 0,(function*(){const{upload_url:s,file_id:r,filename:o,data:n}=e;const A=n;if(s){const e={};if(t.token)e.Authorization=`Bearer ${t.token}`;const n=yield this.makeRequest(s,{body:A},e);if(n.status!==200){return Promise.reject(Error(`Failed to upload file (id:${r}, filename: ${o})`))}const i={ok:true,body:n.data};return Promise.resolve(i)}return Promise.reject(Error(`No upload url found for file (id: ${r}, filename: ${o}`))})))))}))}getAllFileUploads(e){return A(this,void 0,void 0,(function*(){let t=[];if("file"in e||"content"in e){t.push(yield(0,b.getFileUploadJob)(e,this.logger))}if("file_uploads"in e){t=t.concat(yield(0,b.getMultipleFileUploadJobs)(e,this.logger))}return t}))}makeRequest(e,t,s={}){return A(this,void 0,void 0,(function*(){const task=()=>this.requestQueue.add((()=>A(this,void 0,void 0,(function*(){const r=e.startsWith("https"||0)?e:`${this.axios.getUri()+e}`;try{const o=Object.assign({headers:s},this.tlsConfig);if(e.endsWith("admin.analytics.getFile")){o.responseType="arraybuffer"}if(e.endsWith("apps.event.authorizations.list")){delete t.token}this.logger.debug(`http request url: ${r}`);this.logger.debug(`http request body: ${JSON.stringify(redact(t))}`);let n=Object.keys(this.axios.defaults.headers).reduce(((e,t)=>{if(!D.includes(t)){e[t]=this.axios.defaults.headers[t]}return e}),{});n=Object.assign(Object.assign(Object.assign({},this.axios.defaults.headers.common),n),s);this.logger.debug(`http request headers: ${JSON.stringify(redact(n))}`);const A=yield this.axios.post(e,t,o);this.logger.debug("http response received");if(A.status===429){const s=parseRetryHeaders(A);if(s!==undefined){this.emit(S.RATE_LIMITED,s,{url:e,body:t});if(this.rejectRateLimitedCalls){throw new B.AbortError((0,I.rateLimitedErrorWithDelay)(s))}this.logger.info(`API Call failed due to rate limiting. Will retry in ${s} seconds.`);this.requestQueue.pause();yield(0,y.default)(s*1e3);this.requestQueue.start();throw new Error(`A rate limit was exceeded (url: ${e}, retry-after: ${s})`)}else{throw new B.AbortError(new Error(`Retry header did not contain a valid timeout (url: ${e}, retry-after header: ${A.headers["retry-after"]})`))}}if(A.status!==200){throw(0,I.httpErrorFromResponse)(A)}return A}catch(e){const t=e;this.logger.warn("http request failed",t.message);if(t.request){throw(0,I.requestErrorWithOriginal)(t,this.attachOriginalToWebAPIRequestError)}throw e}}))));return(0,B.default)(task,this.retryConfig)}))}serializeApiCallOptions(e,t){let s=false;const r=Object.entries(e).map((([e,t])=>{if(t===undefined||t===null){return[]}let r=t;if(Buffer.isBuffer(t)||(0,m.default)(t)){s=true}else if(typeof t!=="string"&&typeof t!=="number"&&typeof t!=="boolean"){r=JSON.stringify(t)}return[e,r]}));if(s){this.logger.debug("Request arguments contain binary data");const e=r.reduce(((e,[t,s])=>{if(Buffer.isBuffer(s)||(0,m.default)(s)){const r={};r.filename=(()=>{const e=s;if(typeof e.name==="string"){return(0,u.basename)(e.name)}if(typeof e.path==="string"){return(0,u.basename)(e.path)}return x})();e.append(t,s,r)}else if(t!==undefined&&s!==undefined){e.append(t,s)}return e}),new E.default);if(t){Object.entries(e.getHeaders()).forEach((([e,s])=>{t[e]=s}))}return e}if(t)t["Content-Type"]="application/x-www-form-urlencoded";const o={};return(0,p.stringify)(r.reduce(((e,[t,s])=>{if(t!==undefined&&s!==undefined){e[t]=s}return e}),o))}buildResult(e){return A(this,void 0,void 0,(function*(){let{data:t}=e;const s=e.headers["content-type"]==="application/gzip";if(s){try{const e=yield new Promise(((e,s)=>{g.default.unzip(t,((t,r)=>{if(t){return s(t)}return e(r.toString().split("\n"))}))})).then((e=>e)).catch((e=>{throw e}));const s=[];if(Array.isArray(e)){e.forEach((e=>{if(e&&e.length>0){s.push(JSON.parse(e))}}))}t={file_data:s}}catch(e){t={ok:false,error:e}}}else if(!s&&e.request.path==="/api/admin.analytics.getFile"){t=JSON.parse((new d.TextDecoder).decode(t))}if(typeof t==="string"){try{t=JSON.parse(t)}catch(e){t={ok:false,error:t}}}if(t.response_metadata===undefined){t.response_metadata={}}if(e.headers["x-oauth-scopes"]!==undefined){t.response_metadata.scopes=e.headers["x-oauth-scopes"].trim().split(/\s*,\s*/)}if(e.headers["x-accepted-oauth-scopes"]!==undefined){t.response_metadata.acceptedScopes=e.headers["x-accepted-oauth-scopes"].trim().split(/\s*,\s*/)}const r=parseRetryHeaders(e);if(r!==undefined){t.response_metadata.retryAfter=r}return t}))}}t.WebClient=WebClient;WebClient.loggerName="WebClient";t["default"]=WebClient;function paginationOptionsForNextPage(e,t){if(e!==undefined&&e.response_metadata!==undefined&&e.response_metadata.next_cursor!==undefined&&e.response_metadata.next_cursor!==""){return{limit:t,cursor:e.response_metadata.next_cursor}}return undefined}function parseRetryHeaders(e){if(e.headers["retry-after"]!==undefined){const t=parseInt(e.headers["retry-after"],10);if(!Number.isNaN(t)){return t}}return undefined}function warnDeprecations(e,t){const s=["workflows."];const r=s.some((t=>{const s=new RegExp(`^${t}`);return s.test(e)}));if(r){t.warn(`${e} is deprecated. Please check on https://api.slack.com/methods for an alternative.`)}}function warnIfFallbackIsMissing(e,t,s){const r=["chat.postEphemeral","chat.postMessage","chat.scheduleMessage"];const o=r.includes(e);const hasAttachments=e=>Array.isArray(e.attachments)&&e.attachments.length;const missingAttachmentFallbackDetected=e=>Array.isArray(e.attachments)&&e.attachments.some((e=>!e.fallback||e.fallback.trim()===""));const isEmptyText=e=>e.text===undefined||e.text===null||e.text==="";const buildMissingTextWarning=()=>`The top-level \`text\` argument is missing in the request payload for a ${e} call - `+"It's a best practice to always provide a `text` argument when posting a message. "+"The `text` is used in places where the content cannot be rendered such as: "+"system push notifications, assistive technology such as screen readers, etc.";const buildMissingFallbackWarning=()=>`Additionally, the attachment-level \`fallback\` argument is missing in the request payload for a ${e} call - `+"To avoid this warning, it is recommended to always provide a top-level `text` argument when posting a message. "+"Alternatively, you can provide an attachment-level `fallback` argument, though this is now considered a legacy field (see https://api.slack.com/reference/messaging/attachments#legacy_fields for more details).";if(o&&typeof s==="object"){if(hasAttachments(s)){if(missingAttachmentFallbackDetected(s)&&isEmptyText(s)){t.warn(buildMissingTextWarning());t.warn(buildMissingFallbackWarning())}}else if(isEmptyText(s)){t.warn(buildMissingTextWarning())}}}function warnIfThreadTsIsNotString(e,t,s){const r=["chat.postEphemeral","chat.postMessage","chat.scheduleMessage","files.upload"];const o=r.includes(e);if(o&&(s===null||s===void 0?void 0:s.thread_ts)!==undefined&&typeof(s===null||s===void 0?void 0:s.thread_ts)!=="string"){t.warn(buildThreadTsWarningMessage(e))}}function buildThreadTsWarningMessage(e){return`The given thread_ts value in the request payload for a ${e} call is a float value. We highly recommend using a string value instead.`}t.buildThreadTsWarningMessage=buildThreadTsWarningMessage;function redact(e){const t=Object.entries(e).map((([e,t])=>{if(t===undefined||t===null){return[]}let s=t;if(e.match(/.*token.*/)!==null||e.match(/[Aa]uthorization/)){s="[[REDACTED]]"}if(Buffer.isBuffer(t)||(0,m.default)(t)){s="[[BINARY VALUE OMITTED]]"}else if(typeof t!=="string"&&typeof t!=="number"&&typeof t!=="boolean"){s=JSON.stringify(t)}return[e,s]}));const s={};return t.reduce(((e,[t,s])=>{if(t!==undefined&&s!==undefined){e[t]=s}return e}),s)}},7402:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.rateLimitedErrorWithDelay=t.platformErrorFromResult=t.httpErrorFromResponse=t.requestErrorWithOriginal=t.errorWithCode=t.ErrorCode=void 0;var s;(function(e){e["RequestError"]="slack_webapi_request_error";e["HTTPError"]="slack_webapi_http_error";e["PlatformError"]="slack_webapi_platform_error";e["RateLimitedError"]="slack_webapi_rate_limited_error";e["FileUploadInvalidArgumentsError"]="slack_webapi_file_upload_invalid_args_error";e["FileUploadReadFileDataError"]="slack_webapi_file_upload_read_file_data_error"})(s||(t.ErrorCode=s={}));function errorWithCode(e,t){const s=e;s.code=t;return s}t.errorWithCode=errorWithCode;function requestErrorWithOriginal(e,t){const r=errorWithCode(new Error(`A request error occurred: ${e.message}`),s.RequestError);if(t){r.original=e}return r}t.requestErrorWithOriginal=requestErrorWithOriginal;function httpErrorFromResponse(e){const t=errorWithCode(new Error(`An HTTP protocol error occurred: statusCode = ${e.status}`),s.HTTPError);t.statusCode=e.status;t.statusMessage=e.statusText;const r={};Object.keys(e.headers).forEach((t=>{if(t&&e.headers[t]){r[t]=e.headers[t]}}));t.headers=r;t.body=e.data;return t}t.httpErrorFromResponse=httpErrorFromResponse;function platformErrorFromResult(e){const t=errorWithCode(new Error(`An API error occurred: ${e.error}`),s.PlatformError);t.data=e;return t}t.platformErrorFromResult=platformErrorFromResult;function rateLimitedErrorWithDelay(e){const t=errorWithCode(new Error(`A rate-limit has been reached, you may retry this request in ${e} seconds`),s.RateLimitedError);t.retryAfter=e;return t}t.rateLimitedErrorWithDelay=rateLimitedErrorWithDelay},1803:function(e,t,s){var r=this&&this.__awaiter||function(e,t,s,r){function adopt(e){return e instanceof s?e:new s((function(t){t(e)}))}return new(s||(s=Promise))((function(s,o){function fulfilled(e){try{step(r.next(e))}catch(e){o(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){o(e)}}function step(e){e.done?s(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.buildInvalidFilesUploadParamError=t.buildMultipleChannelsErrorMsg=t.buildChannelsWarning=t.buildFilesUploadMissingMessage=t.buildGeneralFilesUploadWarning=t.buildLegacyMethodWarning=t.buildMissingExtensionWarning=t.buildMissingFileNameWarning=t.buildLegacyFileTypeWarning=t.buildFileSizeErrorMsg=t.buildMissingFileIdError=t.warnIfLegacyFileType=t.warnIfMissingOrInvalidFileNameAndDefault=t.errorIfInvalidOrMissingFileData=t.errorIfChannelsCsv=t.warnIfChannels=t.warnIfNotUsingFilesUploadV2=t.getAllFileUploadsToComplete=t.getFileDataAsStream=t.getFileDataLength=t.getFileData=t.getMultipleFileUploadJobs=t.getFileUploadJob=void 0;const o=s(7147);const n=s(2781);const A=s(7402);function getFileUploadJob(e,t){var s,o,n,i;return r(this,void 0,void 0,(function*(){warnIfLegacyFileType(e,t);warnIfChannels(e,t);errorIfChannelsCsv(e);const r=warnIfMissingOrInvalidFileNameAndDefault(e,t);const a=yield getFileData(e);const c=getFileDataLength(a);const l={alt_text:e.alt_text,channel_id:(s=e.channels)!==null&&s!==void 0?s:e.channel_id,filename:(o=e.filename)!==null&&o!==void 0?o:r,initial_comment:e.initial_comment,snippet_type:e.snippet_type,title:(n=e.title)!==null&&n!==void 0?n:(i=e.filename)!==null&&i!==void 0?i:r,data:a,length:c};if("thread_ts"in e){l.thread_ts=e.thread_ts}if("token"in e){l.token=e.token}if("content"in e){return Object.assign({content:e.content},l)}if("file"in e){return Object.assign({file:e.file},l)}throw(0,A.errorWithCode)(new Error("Either a file or content field is required for valid file upload. You must supply one"),A.ErrorCode.FileUploadInvalidArgumentsError)}))}t.getFileUploadJob=getFileUploadJob;function getMultipleFileUploadJobs(e,t){return r(this,void 0,void 0,(function*(){if("file_uploads"in e){return Promise.all(e.file_uploads.map((s=>{const{channel_id:r,channels:o,initial_comment:n,thread_ts:i}=s;if(r||o||n||i){throw(0,A.errorWithCode)(new Error(buildInvalidFilesUploadParamError()),A.ErrorCode.FileUploadInvalidArgumentsError)}const a=Object.assign(Object.assign({},s),{channels:e.channels,channel_id:e.channel_id,initial_comment:e.initial_comment});if("thread_ts"in e){a.thread_ts=e.thread_ts}if("token"in e){a.token=e.token}if("content"in s){return getFileUploadJob(Object.assign({content:s.content},a),t)}if("file"in s){return getFileUploadJob(Object.assign({file:s.file},a),t)}throw(0,A.errorWithCode)(new Error("Either a file or content field is required for valid file upload. You must supply one"),A.ErrorCode.FileUploadInvalidArgumentsError)})))}throw new Error(buildFilesUploadMissingMessage())}))}t.getMultipleFileUploadJobs=getMultipleFileUploadJobs;function getFileData(e){return r(this,void 0,void 0,(function*(){errorIfInvalidOrMissingFileData(e);if("file"in e){const{file:t}=e;if(Buffer.isBuffer(t))return t;if(typeof t==="string"){try{const e=(0,o.readFileSync)(t);return e}catch(e){throw(0,A.errorWithCode)(new Error(`Unable to resolve file data for ${t}. Please supply a filepath string, or binary data Buffer or String directly.`),A.ErrorCode.FileUploadInvalidArgumentsError)}}const s=yield getFileDataAsStream(t);if(s)return s}if("content"in e)return Buffer.from(e.content);throw(0,A.errorWithCode)(new Error("There was an issue getting the file data for the file or content supplied"),A.ErrorCode.FileUploadReadFileDataError)}))}t.getFileData=getFileData;function getFileDataLength(e){if(e){return Buffer.byteLength(e,"utf8")}throw(0,A.errorWithCode)(new Error(buildFileSizeErrorMsg()),A.ErrorCode.FileUploadReadFileDataError)}t.getFileDataLength=getFileDataLength;function getFileDataAsStream(e){return r(this,void 0,void 0,(function*(){const t=[];return new Promise(((s,r)=>{e.on("readable",(()=>{let s;while((s=e.read())!==null){t.push(s)}}));e.on("end",(()=>{if(t.length>0){const e=Buffer.concat(t);s(e)}else{r(Error("No data in supplied file"))}}))}))}))}t.getFileDataAsStream=getFileDataAsStream;function getAllFileUploadsToComplete(e){const t={};e.forEach((e=>{const{channel_id:s,thread_ts:r,initial_comment:o,file_id:n,title:A}=e;if(n){const i=`:::${s}:::${r}:::${o}`;if(!Object.prototype.hasOwnProperty.call(t,i)){t[i]={files:[{id:n,title:A}],channel_id:s,initial_comment:o};if(r){t[i].thread_ts=e.thread_ts}if("token"in e){t[i].token=e.token}}else{t[i].files.push({id:n,title:A})}}else{throw new Error(buildMissingFileIdError())}}));return t}t.getAllFileUploadsToComplete=getAllFileUploadsToComplete;function warnIfNotUsingFilesUploadV2(e,t){const s=["files.upload"];const r=s.includes(e);if(e==="files.upload")t.warn(buildLegacyMethodWarning(e));if(r)t.info(buildGeneralFilesUploadWarning())}t.warnIfNotUsingFilesUploadV2=warnIfNotUsingFilesUploadV2;function warnIfChannels(e,t){if(e.channels)t.warn(buildChannelsWarning())}t.warnIfChannels=warnIfChannels;function errorIfChannelsCsv(e){const t=e.channels?e.channels.split(","):[];if(t.length>1){throw(0,A.errorWithCode)(new Error(buildMultipleChannelsErrorMsg()),A.ErrorCode.FileUploadInvalidArgumentsError)}}t.errorIfChannelsCsv=errorIfChannelsCsv;function errorIfInvalidOrMissingFileData(e){const t="file"in e;const s="content"in e;if(!(t||s)||t&&s){throw(0,A.errorWithCode)(new Error("Either a file or content field is required for valid file upload. You cannot supply both"),A.ErrorCode.FileUploadInvalidArgumentsError)}if("file"in e){const{file:t}=e;if(t&&!(typeof t==="string"||Buffer.isBuffer(t)||t instanceof n.Readable)){throw(0,A.errorWithCode)(new Error("file must be a valid string path, buffer or Readable"),A.ErrorCode.FileUploadInvalidArgumentsError)}}if("content"in e&&e.content&&typeof e.content!=="string"){throw(0,A.errorWithCode)(new Error("content must be a string"),A.ErrorCode.FileUploadInvalidArgumentsError)}}t.errorIfInvalidOrMissingFileData=errorIfInvalidOrMissingFileData;function warnIfMissingOrInvalidFileNameAndDefault(e,t){var s;const r="txt";const o=`file.${(s=e.filetype)!==null&&s!==void 0?s:r}`;const{filename:n}=e;if(!n){t.warn(buildMissingFileNameWarning());return o}if(n.split(".").length<2){t.warn(buildMissingExtensionWarning(n))}return n}t.warnIfMissingOrInvalidFileNameAndDefault=warnIfMissingOrInvalidFileNameAndDefault;function warnIfLegacyFileType(e,t){if(e.filetype){t.warn(buildLegacyFileTypeWarning())}}t.warnIfLegacyFileType=warnIfLegacyFileType;function buildMissingFileIdError(){return"Missing required file id for file upload completion"}t.buildMissingFileIdError=buildMissingFileIdError;function buildFileSizeErrorMsg(){return"There was an issue calculating the size of your file"}t.buildFileSizeErrorMsg=buildFileSizeErrorMsg;function buildLegacyFileTypeWarning(){return"filetype is no longer a supported field in files.uploadV2."+" \nPlease remove this field. To indicate file type, please do so via the required filename property"+" using the appropriate file extension, e.g. image.png, text.txt"}t.buildLegacyFileTypeWarning=buildLegacyFileTypeWarning;function buildMissingFileNameWarning(){return"filename is a required field for files.uploadV2. \n For backwards compatibility and ease of migration, "+"defaulting the filename. For best experience and consistent unfurl behavior, you"+" should set the filename property with correct file extension, e.g. image.png, text.txt"}t.buildMissingFileNameWarning=buildMissingFileNameWarning;function buildMissingExtensionWarning(e){return`filename supplied '${e}' may be missing a proper extension. Missing extenions may result in unexpected unfurl behavior when shared`}t.buildMissingExtensionWarning=buildMissingExtensionWarning;function buildLegacyMethodWarning(e){return`${e} may cause some issues like timeouts for relatively large files.`}t.buildLegacyMethodWarning=buildLegacyMethodWarning;function buildGeneralFilesUploadWarning(){return"Our latest recommendation is to use client.files.uploadV2() method, "+"which is mostly compatible and much stabler, instead."}t.buildGeneralFilesUploadWarning=buildGeneralFilesUploadWarning;function buildFilesUploadMissingMessage(){return"Something went wrong with processing file_uploads"}t.buildFilesUploadMissingMessage=buildFilesUploadMissingMessage;function buildChannelsWarning(){return"Although the 'channels' parameter is still supported for smoother migration from legacy files.upload, "+"we recommend using the new channel_id parameter with a single str value instead (e.g. 'C12345')."}t.buildChannelsWarning=buildChannelsWarning;function buildMultipleChannelsErrorMsg(){return"Sharing files with multiple channels is no longer supported in v2. Share files in each channel separately instead."}t.buildMultipleChannelsErrorMsg=buildMultipleChannelsErrorMsg;function buildInvalidFilesUploadParamError(){return"You may supply file_uploads only for a single channel, comment, thread respectively. "+"Therefore, please supply any channel_id, initial_comment, thread_ts in the top-layer."}t.buildInvalidFilesUploadParamError=buildInvalidFilesUploadParamError},6717:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});function delay(e){return new Promise((t=>{setTimeout(t,e)}))}t["default"]=delay},764:function(e,t,s){var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;var o=Object.getOwnPropertyDescriptor(t,s);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[s]}}}Object.defineProperty(e,r,o)}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var o=this&&this.__exportStar||function(e,t){for(var s in e)if(s!=="default"&&!Object.prototype.hasOwnProperty.call(t,s))r(t,e,s)};var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.addAppMetadata=t.retryPolicies=t.ErrorCode=t.LogLevel=t.WebClientEvent=t.WebClient=void 0;var A=s(7683);Object.defineProperty(t,"WebClient",{enumerable:true,get:function(){return A.WebClient}});Object.defineProperty(t,"WebClientEvent",{enumerable:true,get:function(){return A.WebClientEvent}});var i=s(8437);Object.defineProperty(t,"LogLevel",{enumerable:true,get:function(){return i.LogLevel}});var a=s(7402);Object.defineProperty(t,"ErrorCode",{enumerable:true,get:function(){return a.ErrorCode}});var c=s(855);Object.defineProperty(t,"retryPolicies",{enumerable:true,get:function(){return n(c).default}});var l=s(5678);Object.defineProperty(t,"addAppMetadata",{enumerable:true,get:function(){return l.addAppMetadata}});o(s(730),t);o(s(7753),t);o(s(857),t)},5678:function(e,t,s){var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;var o=Object.getOwnPropertyDescriptor(t,s);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[s]}}}Object.defineProperty(e,r,o)}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var s in e)if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s))r(t,e,s);o(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.getUserAgent=t.addAppMetadata=void 0;const A=n(s(2037));const i=s(1017);const a=s(7865);function replaceSlashes(e){return e.replace("/",":")}const c=`${replaceSlashes(a.name)}/${a.version} `+`${(0,i.basename)(process.title)}/${process.version.replace("v","")} `+`${A.platform()}/${A.release()}`;const l={};function addAppMetadata({name:e,version:t}){l[replaceSlashes(e)]=t}t.addAppMetadata=addAppMetadata;function getUserAgent(){const e=Object.entries(l).map((([e,t])=>`${e}/${t}`)).join(" ");return(e.length>0?`${e} `:"")+c}t.getUserAgent=getUserAgent},8437:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:true});t.getLogger=t.LogLevel=void 0;const r=s(5806);var o=s(5806);Object.defineProperty(t,"LogLevel",{enumerable:true,get:function(){return o.LogLevel}});let n=0;function getLogger(e,t,s){const o=n;n+=1;const A=(()=>{if(s!==undefined){return s}return new r.ConsoleLogger})();A.setName(`web-api:${e}:${o}`);if(t!==undefined){A.setLevel(t)}return A}t.getLogger=getLogger},730:function(e,t,s){var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;var o=Object.getOwnPropertyDescriptor(t,s);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[s]}}}Object.defineProperty(e,r,o)}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var o=this&&this.__exportStar||function(e,t){for(var s in e)if(s!=="default"&&!Object.prototype.hasOwnProperty.call(t,s))r(t,e,s)};Object.defineProperty(t,"__esModule",{value:true});t.Methods=void 0;const n=s(5123);const A=s(7683);function bindApiCall(e,t){return e.apiCall.bind(e,t)}function bindFilesUploadV2(e){return e.filesUploadV2.bind(e)}class Methods extends n.EventEmitter{constructor(){super();this.admin={analytics:{getFile:bindApiCall(this,"admin.analytics.getFile")},apps:{activities:{list:bindApiCall(this,"admin.apps.activities.list")},approve:bindApiCall(this,"admin.apps.approve"),approved:{list:bindApiCall(this,"admin.apps.approved.list")},clearResolution:bindApiCall(this,"admin.apps.clearResolution"),config:{lookup:bindApiCall(this,"admin.apps.config.lookup"),set:bindApiCall(this,"admin.apps.config.set")},requests:{cancel:bindApiCall(this,"admin.apps.requests.cancel"),list:bindApiCall(this,"admin.apps.requests.list")},restrict:bindApiCall(this,"admin.apps.restrict"),restricted:{list:bindApiCall(this,"admin.apps.restricted.list")},uninstall:bindApiCall(this,"admin.apps.uninstall")},auth:{policy:{assignEntities:bindApiCall(this,"admin.auth.policy.assignEntities"),getEntities:bindApiCall(this,"admin.auth.policy.getEntities"),removeEntities:bindApiCall(this,"admin.auth.policy.removeEntities")}},barriers:{create:bindApiCall(this,"admin.barriers.create"),delete:bindApiCall(this,"admin.barriers.delete"),list:bindApiCall(this,"admin.barriers.list"),update:bindApiCall(this,"admin.barriers.update")},conversations:{archive:bindApiCall(this,"admin.conversations.archive"),bulkArchive:bindApiCall(this,"admin.conversations.bulkArchive"),bulkDelete:bindApiCall(this,"admin.conversations.bulkDelete"),bulkMove:bindApiCall(this,"admin.conversations.bulkMove"),convertToPrivate:bindApiCall(this,"admin.conversations.convertToPrivate"),convertToPublic:bindApiCall(this,"admin.conversations.convertToPublic"),create:bindApiCall(this,"admin.conversations.create"),delete:bindApiCall(this,"admin.conversations.delete"),disconnectShared:bindApiCall(this,"admin.conversations.disconnectShared"),ekm:{listOriginalConnectedChannelInfo:bindApiCall(this,"admin.conversations.ekm.listOriginalConnectedChannelInfo")},getConversationPrefs:bindApiCall(this,"admin.conversations.getConversationPrefs"),getCustomRetention:bindApiCall(this,"admin.conversations.getCustomRetention"),getTeams:bindApiCall(this,"admin.conversations.getTeams"),invite:bindApiCall(this,"admin.conversations.invite"),lookup:bindApiCall(this,"admin.conversations.lookup"),removeCustomRetention:bindApiCall(this,"admin.conversations.removeCustomRetention"),rename:bindApiCall(this,"admin.conversations.rename"),restrictAccess:{addGroup:bindApiCall(this,"admin.conversations.restrictAccess.addGroup"),listGroups:bindApiCall(this,"admin.conversations.restrictAccess.listGroups"),removeGroup:bindApiCall(this,"admin.conversations.restrictAccess.removeGroup")},search:bindApiCall(this,"admin.conversations.search"),setConversationPrefs:bindApiCall(this,"admin.conversations.setConversationPrefs"),setCustomRetention:bindApiCall(this,"admin.conversations.setCustomRetention"),setTeams:bindApiCall(this,"admin.conversations.setTeams"),unarchive:bindApiCall(this,"admin.conversations.unarchive")},emoji:{add:bindApiCall(this,"admin.emoji.add"),addAlias:bindApiCall(this,"admin.emoji.addAlias"),list:bindApiCall(this,"admin.emoji.list"),remove:bindApiCall(this,"admin.emoji.remove"),rename:bindApiCall(this,"admin.emoji.rename")},functions:{list:bindApiCall(this,"admin.functions.list"),permissions:{lookup:bindApiCall(this,"admin.functions.permissions.lookup"),set:bindApiCall(this,"admin.functions.permissions.set")}},inviteRequests:{approve:bindApiCall(this,"admin.inviteRequests.approve"),approved:{list:bindApiCall(this,"admin.inviteRequests.approved.list")},denied:{list:bindApiCall(this,"admin.inviteRequests.denied.list")},deny:bindApiCall(this,"admin.inviteRequests.deny"),list:bindApiCall(this,"admin.inviteRequests.list")},roles:{addAssignments:bindApiCall(this,"admin.roles.addAssignments"),listAssignments:bindApiCall(this,"admin.roles.listAssignments"),removeAssignments:bindApiCall(this,"admin.roles.removeAssignments")},teams:{admins:{list:bindApiCall(this,"admin.teams.admins.list")},create:bindApiCall(this,"admin.teams.create"),list:bindApiCall(this,"admin.teams.list"),owners:{list:bindApiCall(this,"admin.teams.owners.list")},settings:{info:bindApiCall(this,"admin.teams.settings.info"),setDefaultChannels:bindApiCall(this,"admin.teams.settings.setDefaultChannels"),setDescription:bindApiCall(this,"admin.teams.settings.setDescription"),setDiscoverability:bindApiCall(this,"admin.teams.settings.setDiscoverability"),setIcon:bindApiCall(this,"admin.teams.settings.setIcon"),setName:bindApiCall(this,"admin.teams.settings.setName")}},usergroups:{addChannels:bindApiCall(this,"admin.usergroups.addChannels"),addTeams:bindApiCall(this,"admin.usergroups.addTeams"),listChannels:bindApiCall(this,"admin.usergroups.listChannels"),removeChannels:bindApiCall(this,"admin.usergroups.removeChannels")},users:{assign:bindApiCall(this,"admin.users.assign"),invite:bindApiCall(this,"admin.users.invite"),list:bindApiCall(this,"admin.users.list"),remove:bindApiCall(this,"admin.users.remove"),session:{clearSettings:bindApiCall(this,"admin.users.session.clearSettings"),getSettings:bindApiCall(this,"admin.users.session.getSettings"),invalidate:bindApiCall(this,"admin.users.session.invalidate"),list:bindApiCall(this,"admin.users.session.list"),reset:bindApiCall(this,"admin.users.session.reset"),resetBulk:bindApiCall(this,"admin.users.session.resetBulk"),setSettings:bindApiCall(this,"admin.users.session.setSettings")},setAdmin:bindApiCall(this,"admin.users.setAdmin"),setExpiration:bindApiCall(this,"admin.users.setExpiration"),setOwner:bindApiCall(this,"admin.users.setOwner"),setRegular:bindApiCall(this,"admin.users.setRegular"),unsupportedVersions:{export:bindApiCall(this,"admin.users.unsupportedVersions.export")}},workflows:{collaborators:{add:bindApiCall(this,"admin.workflows.collaborators.add"),remove:bindApiCall(this,"admin.workflows.collaborators.remove")},permissions:{lookup:bindApiCall(this,"admin.workflows.permissions.lookup")},search:bindApiCall(this,"admin.workflows.search"),unpublish:bindApiCall(this,"admin.workflows.unpublish")}};this.api={test:bindApiCall(this,"api.test")};this.apps={connections:{open:bindApiCall(this,"apps.connections.open")},event:{authorizations:{list:bindApiCall(this,"apps.event.authorizations.list")}},manifest:{create:bindApiCall(this,"apps.manifest.create"),delete:bindApiCall(this,"apps.manifest.delete"),export:bindApiCall(this,"apps.manifest.export"),update:bindApiCall(this,"apps.manifest.update"),validate:bindApiCall(this,"apps.manifest.validate")},uninstall:bindApiCall(this,"apps.uninstall")};this.auth={revoke:bindApiCall(this,"auth.revoke"),teams:{list:bindApiCall(this,"auth.teams.list")},test:bindApiCall(this,"auth.test")};this.bookmarks={add:bindApiCall(this,"bookmarks.add"),edit:bindApiCall(this,"bookmarks.edit"),list:bindApiCall(this,"bookmarks.list"),remove:bindApiCall(this,"bookmarks.remove")};this.bots={info:bindApiCall(this,"bots.info")};this.calls={add:bindApiCall(this,"calls.add"),end:bindApiCall(this,"calls.end"),info:bindApiCall(this,"calls.info"),update:bindApiCall(this,"calls.update"),participants:{add:bindApiCall(this,"calls.participants.add"),remove:bindApiCall(this,"calls.participants.remove")}};this.canvases={access:{delete:bindApiCall(this,"canvases.access.delete"),set:bindApiCall(this,"canvases.access.set")},create:bindApiCall(this,"canvases.create"),delete:bindApiCall(this,"canvases.delete"),edit:bindApiCall(this,"canvases.edit"),sections:{lookup:bindApiCall(this,"canvases.sections.lookup")}};this.chat={delete:bindApiCall(this,"chat.delete"),deleteScheduledMessage:bindApiCall(this,"chat.deleteScheduledMessage"),getPermalink:bindApiCall(this,"chat.getPermalink"),meMessage:bindApiCall(this,"chat.meMessage"),postEphemeral:bindApiCall(this,"chat.postEphemeral"),postMessage:bindApiCall(this,"chat.postMessage"),scheduleMessage:bindApiCall(this,"chat.scheduleMessage"),scheduledMessages:{list:bindApiCall(this,"chat.scheduledMessages.list")},unfurl:bindApiCall(this,"chat.unfurl"),update:bindApiCall(this,"chat.update")};this.conversations={acceptSharedInvite:bindApiCall(this,"conversations.acceptSharedInvite"),approveSharedInvite:bindApiCall(this,"conversations.approveSharedInvite"),archive:bindApiCall(this,"conversations.archive"),canvases:{create:bindApiCall(this,"conversations.canvases.create")},close:bindApiCall(this,"conversations.close"),create:bindApiCall(this,"conversations.create"),declineSharedInvite:bindApiCall(this,"conversations.declineSharedInvite"),externalInvitePermissions:{set:bindApiCall(this,"conversations.externalInvitePermissions.set")},history:bindApiCall(this,"conversations.history"),info:bindApiCall(this,"conversations.info"),invite:bindApiCall(this,"conversations.invite"),inviteShared:bindApiCall(this,"conversations.inviteShared"),join:bindApiCall(this,"conversations.join"),kick:bindApiCall(this,"conversations.kick"),leave:bindApiCall(this,"conversations.leave"),list:bindApiCall(this,"conversations.list"),listConnectInvites:bindApiCall(this,"conversations.listConnectInvites"),mark:bindApiCall(this,"conversations.mark"),members:bindApiCall(this,"conversations.members"),open:bindApiCall(this,"conversations.open"),rename:bindApiCall(this,"conversations.rename"),replies:bindApiCall(this,"conversations.replies"),setPurpose:bindApiCall(this,"conversations.setPurpose"),setTopic:bindApiCall(this,"conversations.setTopic"),unarchive:bindApiCall(this,"conversations.unarchive")};this.dialog={open:bindApiCall(this,"dialog.open")};this.dnd={endDnd:bindApiCall(this,"dnd.endDnd"),endSnooze:bindApiCall(this,"dnd.endSnooze"),info:bindApiCall(this,"dnd.info"),setSnooze:bindApiCall(this,"dnd.setSnooze"),teamInfo:bindApiCall(this,"dnd.teamInfo")};this.emoji={list:bindApiCall(this,"emoji.list")};this.files={completeUploadExternal:bindApiCall(this,"files.completeUploadExternal"),delete:bindApiCall(this,"files.delete"),getUploadURLExternal:bindApiCall(this,"files.getUploadURLExternal"),info:bindApiCall(this,"files.info"),list:bindApiCall(this,"files.list"),revokePublicURL:bindApiCall(this,"files.revokePublicURL"),sharedPublicURL:bindApiCall(this,"files.sharedPublicURL"),upload:bindApiCall(this,"files.upload"),uploadV2:bindFilesUploadV2(this),comments:{delete:bindApiCall(this,"files.comments.delete")},remote:{add:bindApiCall(this,"files.remote.add"),info:bindApiCall(this,"files.remote.info"),list:bindApiCall(this,"files.remote.list"),remove:bindApiCall(this,"files.remote.remove"),share:bindApiCall(this,"files.remote.share"),update:bindApiCall(this,"files.remote.update")}};this.functions={completeError:bindApiCall(this,"functions.completeError"),completeSuccess:bindApiCall(this,"functions.completeSuccess")};this.migration={exchange:bindApiCall(this,"migration.exchange")};this.oauth={access:bindApiCall(this,"oauth.access"),v2:{access:bindApiCall(this,"oauth.v2.access"),exchange:bindApiCall(this,"oauth.v2.exchange")}};this.openid={connect:{token:bindApiCall(this,"openid.connect.token"),userInfo:bindApiCall(this,"openid.connect.userInfo")}};this.pins={add:bindApiCall(this,"pins.add"),list:bindApiCall(this,"pins.list"),remove:bindApiCall(this,"pins.remove")};this.reactions={add:bindApiCall(this,"reactions.add"),get:bindApiCall(this,"reactions.get"),list:bindApiCall(this,"reactions.list"),remove:bindApiCall(this,"reactions.remove")};this.reminders={add:bindApiCall(this,"reminders.add"),complete:bindApiCall(this,"reminders.complete"),delete:bindApiCall(this,"reminders.delete"),info:bindApiCall(this,"reminders.info"),list:bindApiCall(this,"reminders.list")};this.rtm={connect:bindApiCall(this,"rtm.connect"),start:bindApiCall(this,"rtm.start")};this.search={all:bindApiCall(this,"search.all"),files:bindApiCall(this,"search.files"),messages:bindApiCall(this,"search.messages")};this.team={accessLogs:bindApiCall(this,"team.accessLogs"),billableInfo:bindApiCall(this,"team.billableInfo"),billing:{info:bindApiCall(this,"team.billing.info")},externalTeams:{disconnect:bindApiCall(this,"team.externalTeams.disconnect"),list:bindApiCall(this,"team.externalTeams.list")},info:bindApiCall(this,"team.info"),integrationLogs:bindApiCall(this,"team.integrationLogs"),preferences:{list:bindApiCall(this,"team.preferences.list")},profile:{get:bindApiCall(this,"team.profile.get")}};this.tooling={tokens:{rotate:bindApiCall(this,"tooling.tokens.rotate")}};this.usergroups={create:bindApiCall(this,"usergroups.create"),disable:bindApiCall(this,"usergroups.disable"),enable:bindApiCall(this,"usergroups.enable"),list:bindApiCall(this,"usergroups.list"),update:bindApiCall(this,"usergroups.update"),users:{list:bindApiCall(this,"usergroups.users.list"),update:bindApiCall(this,"usergroups.users.update")}};this.users={conversations:bindApiCall(this,"users.conversations"),deletePhoto:bindApiCall(this,"users.deletePhoto"),discoverableContacts:{lookup:bindApiCall(this,"users.discoverableContacts.lookup")},getPresence:bindApiCall(this,"users.getPresence"),identity:bindApiCall(this,"users.identity"),info:bindApiCall(this,"users.info"),list:bindApiCall(this,"users.list"),lookupByEmail:bindApiCall(this,"users.lookupByEmail"),setPhoto:bindApiCall(this,"users.setPhoto"),setPresence:bindApiCall(this,"users.setPresence"),profile:{get:bindApiCall(this,"users.profile.get"),set:bindApiCall(this,"users.profile.set")}};this.views={open:bindApiCall(this,"views.open"),publish:bindApiCall(this,"views.publish"),push:bindApiCall(this,"views.push"),update:bindApiCall(this,"views.update")};this.stars={add:bindApiCall(this,"stars.add"),list:bindApiCall(this,"stars.list"),remove:bindApiCall(this,"stars.remove")};this.workflows={stepCompleted:bindApiCall(this,"workflows.stepCompleted"),stepFailed:bindApiCall(this,"workflows.stepFailed"),updateStep:bindApiCall(this,"workflows.updateStep")};if(new.target!==A.WebClient&&!(new.target.prototype instanceof A.WebClient)){throw new Error("Attempt to inherit from WebClient methods without inheriting from WebClient")}}}t.Methods=Methods;o(s(3542),t)},855:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.rapidRetryPolicy=t.fiveRetriesInFiveMinutes=t.tenRetriesInAboutThirtyMinutes=void 0;t.tenRetriesInAboutThirtyMinutes={retries:10,factor:1.96821,randomize:true};t.fiveRetriesInFiveMinutes={retries:5,factor:3.86};t.rapidRetryPolicy={minTimeout:0,maxTimeout:1};const s={tenRetriesInAboutThirtyMinutes:t.tenRetriesInAboutThirtyMinutes,fiveRetriesInFiveMinutes:t.fiveRetriesInFiveMinutes,rapidRetryPolicy:t.rapidRetryPolicy};t["default"]=s},7753:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true})},857:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true})},1772:(e,t,s)=>{e.exports={parallel:s(6280),serial:s(9515),serialOrdered:s(6500)}},2580:e=>{e.exports=abort;function abort(e){Object.keys(e.jobs).forEach(clean.bind(e));e.jobs={}}function clean(e){if(typeof this.jobs[e]=="function"){this.jobs[e]()}}},767:(e,t,s)=>{var r=s(1631);e.exports=async;function async(e){var t=false;r((function(){t=true}));return function async_callback(s,o){if(t){e(s,o)}else{r((function nextTick_callback(){e(s,o)}))}}}},1631:e=>{e.exports=defer;function defer(e){var t=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;if(t){t(e)}else{setTimeout(e,0)}}},3185:(e,t,s)=>{var r=s(767),o=s(2580);e.exports=iterate;function iterate(e,t,s,r){var n=s["keyedList"]?s["keyedList"][s.index]:s.index;s.jobs[n]=runJob(t,n,e[n],(function(e,t){if(!(n in s.jobs)){return}delete s.jobs[n];if(e){o(s)}else{s.results[n]=t}r(e,s.results)}))}function runJob(e,t,s,o){var n;if(e.length==2){n=e(s,r(o))}else{n=e(s,t,r(o))}return n}},4240:e=>{e.exports=state;function state(e,t){var s=!Array.isArray(e),r={index:0,keyedList:s||t?Object.keys(e):null,jobs:{},results:s?{}:[],size:s?Object.keys(e).length:e.length};if(t){r.keyedList.sort(s?t:function(s,r){return t(e[s],e[r])})}return r}},4504:(e,t,s)=>{var r=s(2580),o=s(767);e.exports=terminator;function terminator(e){if(!Object.keys(this.jobs).length){return}this.index=this.size;r(this);o(e)(null,this.results)}},6280:(e,t,s)=>{var r=s(3185),o=s(4240),n=s(4504);e.exports=parallel;function parallel(e,t,s){var A=o(e);while(A.index<(A["keyedList"]||e).length){r(e,t,A,(function(e,t){if(e){s(e,t);return}if(Object.keys(A.jobs).length===0){s(null,A.results);return}}));A.index++}return n.bind(A,s)}},9515:(e,t,s)=>{var r=s(6500);e.exports=serial;function serial(e,t,s){return r(e,t,null,s)}},6500:(e,t,s)=>{var r=s(3185),o=s(4240),n=s(4504);e.exports=serialOrdered;e.exports.ascending=ascending;e.exports.descending=descending;function serialOrdered(e,t,s,A){var i=o(e,s);r(e,t,i,(function iteratorHandler(s,o){if(s){A(s,o);return}i.index++;if(i.index<(i["keyedList"]||e).length){r(e,t,i,iteratorHandler);return}A(null,i.results)}));return n.bind(i,A)}function ascending(e,t){return et?1:0}function descending(e,t){return-1*ascending(e,t)}},2934:(e,t,s)=>{var r=s(6604);var o=s(1437);var n=s(6583);var A=Function.bind;var i=A.bind(A);function bindApi(e,t,s){var r=i(n,null).apply(null,s?[t,s]:[t]);e.api={remove:r};e.remove=r;["before","error","after","wrap"].forEach((function(r){var n=s?[t,r,s]:[t,r];e[r]=e.api[r]=i(o,null).apply(null,n)}))}function HookSingular(){var e="h";var t={registry:{}};var s=r.bind(null,t,e);bindApi(s,t,e);return s}function HookCollection(){var e={registry:{}};var t=r.bind(null,e);bindApi(t,e);return t}var a=false;function Hook(){if(!a){console.warn('[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4');a=true}return HookCollection()}Hook.Singular=HookSingular.bind();Hook.Collection=HookCollection.bind();e.exports=Hook;e.exports.Hook=Hook;e.exports.Singular=Hook.Singular;e.exports.Collection=Hook.Collection},1437:e=>{e.exports=addHook;function addHook(e,t,s,r){var o=r;if(!e.registry[s]){e.registry[s]=[]}if(t==="before"){r=function(e,t){return Promise.resolve().then(o.bind(null,t)).then(e.bind(null,t))}}if(t==="after"){r=function(e,t){var s;return Promise.resolve().then(e.bind(null,t)).then((function(e){s=e;return o(s,t)})).then((function(){return s}))}}if(t==="error"){r=function(e,t){return Promise.resolve().then(e.bind(null,t)).catch((function(e){return o(e,t)}))}}e.registry[s].push({hook:r,orig:o})}},6604:e=>{e.exports=register;function register(e,t,s,r){if(typeof s!=="function"){throw new Error("method for before hook must be a function")}if(!r){r={}}if(Array.isArray(t)){return t.reverse().reduce((function(t,s){return register.bind(null,e,s,t,r)}),s)()}return Promise.resolve().then((function(){if(!e.registry[t]){return s(r)}return e.registry[t].reduce((function(e,t){return t.hook.bind(null,e,r)}),s)()}))}},6583:e=>{e.exports=removeHook;function removeHook(e,t,s){if(!e.registry[t]){return}var r=e.registry[t].map((function(e){return e.orig})).indexOf(s);if(r===-1){return}e.registry[t].splice(r,1)}},2932:(e,t,s)=>{var r=s(3837);var o=s(2781).Stream;var n=s(4874);e.exports=CombinedStream;function CombinedStream(){this.writable=false;this.readable=true;this.dataSize=0;this.maxDataSize=2*1024*1024;this.pauseStreams=true;this._released=false;this._streams=[];this._currentStream=null;this._insideLoop=false;this._pendingNext=false}r.inherits(CombinedStream,o);CombinedStream.create=function(e){var t=new this;e=e||{};for(var s in e){t[s]=e[s]}return t};CombinedStream.isStreamLike=function(e){return typeof e!=="function"&&typeof e!=="string"&&typeof e!=="boolean"&&typeof e!=="number"&&!Buffer.isBuffer(e)};CombinedStream.prototype.append=function(e){var t=CombinedStream.isStreamLike(e);if(t){if(!(e instanceof n)){var s=n.create(e,{maxDataSize:Infinity,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this));e=s}this._handleErrors(e);if(this.pauseStreams){e.pause()}}this._streams.push(e);return this};CombinedStream.prototype.pipe=function(e,t){o.prototype.pipe.call(this,e,t);this.resume();return e};CombinedStream.prototype._getNext=function(){this._currentStream=null;if(this._insideLoop){this._pendingNext=true;return}this._insideLoop=true;try{do{this._pendingNext=false;this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=false}};CombinedStream.prototype._realGetNext=function(){var e=this._streams.shift();if(typeof e=="undefined"){this.end();return}if(typeof e!=="function"){this._pipeNext(e);return}var t=e;t(function(e){var t=CombinedStream.isStreamLike(e);if(t){e.on("data",this._checkDataSize.bind(this));this._handleErrors(e)}this._pipeNext(e)}.bind(this))};CombinedStream.prototype._pipeNext=function(e){this._currentStream=e;var t=CombinedStream.isStreamLike(e);if(t){e.on("end",this._getNext.bind(this));e.pipe(this,{end:false});return}var s=e;this.write(s);this._getNext()};CombinedStream.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))};CombinedStream.prototype.write=function(e){this.emit("data",e)};CombinedStream.prototype.pause=function(){if(!this.pauseStreams){return}if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function")this._currentStream.pause();this.emit("pause")};CombinedStream.prototype.resume=function(){if(!this._released){this._released=true;this.writable=true;this._getNext()}if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function")this._currentStream.resume();this.emit("resume")};CombinedStream.prototype.end=function(){this._reset();this.emit("end")};CombinedStream.prototype.destroy=function(){this._reset();this.emit("close")};CombinedStream.prototype._reset=function(){this.writable=false;this._streams=[];this._currentStream=null};CombinedStream.prototype._checkDataSize=function(){this._updateDataSize();if(this.dataSize<=this.maxDataSize){return}var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))};CombinedStream.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach((function(t){if(!t.dataSize){return}e.dataSize+=t.dataSize}));if(this._currentStream&&this._currentStream.dataSize){this.dataSize+=this._currentStream.dataSize}};CombinedStream.prototype._emitError=function(e){this._reset();this.emit("error",e)}},4874:(e,t,s)=>{var r=s(2781).Stream;var o=s(3837);e.exports=DelayedStream;function DelayedStream(){this.source=null;this.dataSize=0;this.maxDataSize=1024*1024;this.pauseStream=true;this._maxDataSizeExceeded=false;this._released=false;this._bufferedEvents=[]}o.inherits(DelayedStream,r);DelayedStream.create=function(e,t){var s=new this;t=t||{};for(var r in t){s[r]=t[r]}s.source=e;var o=e.emit;e.emit=function(){s._handleEmit(arguments);return o.apply(e,arguments)};e.on("error",(function(){}));if(s.pauseStream){e.pause()}return s};Object.defineProperty(DelayedStream.prototype,"readable",{configurable:true,enumerable:true,get:function(){return this.source.readable}});DelayedStream.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};DelayedStream.prototype.resume=function(){if(!this._released){this.release()}this.source.resume()};DelayedStream.prototype.pause=function(){this.source.pause()};DelayedStream.prototype.release=function(){this._released=true;this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this));this._bufferedEvents=[]};DelayedStream.prototype.pipe=function(){var e=r.prototype.pipe.apply(this,arguments);this.resume();return e};DelayedStream.prototype._handleEmit=function(e){if(this._released){this.emit.apply(this,e);return}if(e[0]==="data"){this.dataSize+=e[1].length;this._checkIfMaxDataSizeExceeded()}this._bufferedEvents.push(e)};DelayedStream.prototype._checkIfMaxDataSizeExceeded=function(){if(this._maxDataSizeExceeded){return}if(this.dataSize<=this.maxDataSize){return}this._maxDataSizeExceeded=true;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}},5820:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});class Deprecation extends Error{constructor(e){super(e);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="Deprecation"}}t.Deprecation=Deprecation},2171:e=>{var t=Object.prototype.hasOwnProperty,s="~";function Events(){}if(Object.create){Events.prototype=Object.create(null);if(!(new Events).__proto__)s=false}function EE(e,t,s){this.fn=e;this.context=t;this.once=s||false}function addListener(e,t,r,o,n){if(typeof r!=="function"){throw new TypeError("The listener must be a function")}var A=new EE(r,o||e,n),i=s?s+t:t;if(!e._events[i])e._events[i]=A,e._eventsCount++;else if(!e._events[i].fn)e._events[i].push(A);else e._events[i]=[e._events[i],A];return e}function clearEvent(e,t){if(--e._eventsCount===0)e._events=new Events;else delete e._events[t]}function EventEmitter(){this._events=new Events;this._eventsCount=0}EventEmitter.prototype.eventNames=function eventNames(){var e=[],r,o;if(this._eventsCount===0)return e;for(o in r=this._events){if(t.call(r,o))e.push(s?o.slice(1):o)}if(Object.getOwnPropertySymbols){return e.concat(Object.getOwnPropertySymbols(r))}return e};EventEmitter.prototype.listeners=function listeners(e){var t=s?s+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var o=0,n=r.length,A=new Array(n);o{var t=Object.prototype.hasOwnProperty,s="~";function Events(){}if(Object.create){Events.prototype=Object.create(null);if(!(new Events).__proto__)s=false}function EE(e,t,s){this.fn=e;this.context=t;this.once=s||false}function addListener(e,t,r,o,n){if(typeof r!=="function"){throw new TypeError("The listener must be a function")}var A=new EE(r,o||e,n),i=s?s+t:t;if(!e._events[i])e._events[i]=A,e._eventsCount++;else if(!e._events[i].fn)e._events[i].push(A);else e._events[i]=[e._events[i],A];return e}function clearEvent(e,t){if(--e._eventsCount===0)e._events=new Events;else delete e._events[t]}function EventEmitter(){this._events=new Events;this._eventsCount=0}EventEmitter.prototype.eventNames=function eventNames(){var e=[],r,o;if(this._eventsCount===0)return e;for(o in r=this._events){if(t.call(r,o))e.push(s?o.slice(1):o)}if(Object.getOwnPropertySymbols){return e.concat(Object.getOwnPropertySymbols(r))}return e};EventEmitter.prototype.listeners=function listeners(e){var t=s?s+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var o=0,n=r.length,A=new Array(n);o{var r;e.exports=function(){if(!r){try{r=s(6959)("follow-redirects")}catch(e){}if(typeof r!=="function"){r=function(){}}}r.apply(null,arguments)}},7098:(e,t,s)=>{var r=s(7310);var o=r.URL;var n=s(3685);var A=s(5687);var i=s(2781).Writable;var a=s(9491);var c=s(2764);var l=false;try{a(new o)}catch(e){l=e.code==="ERR_INVALID_URL"}var u=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"];var p=["abort","aborted","connect","error","socket","timeout"];var d=Object.create(null);p.forEach((function(e){d[e]=function(t,s,r){this._redirectable.emit(e,t,s,r)}}));var g=createErrorType("ERR_INVALID_URL","Invalid URL",TypeError);var h=createErrorType("ERR_FR_REDIRECTION_FAILURE","Redirected request failed");var E=createErrorType("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",h);var C=createErrorType("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit");var m=createErrorType("ERR_STREAM_WRITE_AFTER_END","write after end");var Q=i.prototype.destroy||noop;function RedirectableRequest(e,t){i.call(this);this._sanitizeOptions(e);this._options=e;this._ended=false;this._ending=false;this._redirectCount=0;this._redirects=[];this._requestBodyLength=0;this._requestBodyBuffers=[];if(t){this.on("response",t)}var s=this;this._onNativeResponse=function(e){try{s._processResponse(e)}catch(e){s.emit("error",e instanceof h?e:new h({cause:e}))}};this._performRequest()}RedirectableRequest.prototype=Object.create(i.prototype);RedirectableRequest.prototype.abort=function(){destroyRequest(this._currentRequest);this._currentRequest.abort();this.emit("abort")};RedirectableRequest.prototype.destroy=function(e){destroyRequest(this._currentRequest,e);Q.call(this,e);return this};RedirectableRequest.prototype.write=function(e,t,s){if(this._ending){throw new m}if(!isString(e)&&!isBuffer(e)){throw new TypeError("data should be a string, Buffer or Uint8Array")}if(isFunction(t)){s=t;t=null}if(e.length===0){if(s){s()}return}if(this._requestBodyLength+e.length<=this._options.maxBodyLength){this._requestBodyLength+=e.length;this._requestBodyBuffers.push({data:e,encoding:t});this._currentRequest.write(e,t,s)}else{this.emit("error",new C);this.abort()}};RedirectableRequest.prototype.end=function(e,t,s){if(isFunction(e)){s=e;e=t=null}else if(isFunction(t)){s=t;t=null}if(!e){this._ended=this._ending=true;this._currentRequest.end(null,null,s)}else{var r=this;var o=this._currentRequest;this.write(e,t,(function(){r._ended=true;o.end(null,null,s)}));this._ending=true}};RedirectableRequest.prototype.setHeader=function(e,t){this._options.headers[e]=t;this._currentRequest.setHeader(e,t)};RedirectableRequest.prototype.removeHeader=function(e){delete this._options.headers[e];this._currentRequest.removeHeader(e)};RedirectableRequest.prototype.setTimeout=function(e,t){var s=this;function destroyOnTimeout(t){t.setTimeout(e);t.removeListener("timeout",t.destroy);t.addListener("timeout",t.destroy)}function startTimer(t){if(s._timeout){clearTimeout(s._timeout)}s._timeout=setTimeout((function(){s.emit("timeout");clearTimer()}),e);destroyOnTimeout(t)}function clearTimer(){if(s._timeout){clearTimeout(s._timeout);s._timeout=null}s.removeListener("abort",clearTimer);s.removeListener("error",clearTimer);s.removeListener("response",clearTimer);s.removeListener("close",clearTimer);if(t){s.removeListener("timeout",t)}if(!s.socket){s._currentRequest.removeListener("socket",startTimer)}}if(t){this.on("timeout",t)}if(this.socket){startTimer(this.socket)}else{this._currentRequest.once("socket",startTimer)}this.on("socket",destroyOnTimeout);this.on("abort",clearTimer);this.on("error",clearTimer);this.on("response",clearTimer);this.on("close",clearTimer);return this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){RedirectableRequest.prototype[e]=function(t,s){return this._currentRequest[e](t,s)}}));["aborted","connection","socket"].forEach((function(e){Object.defineProperty(RedirectableRequest.prototype,e,{get:function(){return this._currentRequest[e]}})}));RedirectableRequest.prototype._sanitizeOptions=function(e){if(!e.headers){e.headers={}}if(e.host){if(!e.hostname){e.hostname=e.host}delete e.host}if(!e.pathname&&e.path){var t=e.path.indexOf("?");if(t<0){e.pathname=e.path}else{e.pathname=e.path.substring(0,t);e.search=e.path.substring(t)}}};RedirectableRequest.prototype._performRequest=function(){var e=this._options.protocol;var t=this._options.nativeProtocols[e];if(!t){throw new TypeError("Unsupported protocol "+e)}if(this._options.agents){var s=e.slice(0,-1);this._options.agent=this._options.agents[s]}var o=this._currentRequest=t.request(this._options,this._onNativeResponse);o._redirectable=this;for(var n of p){o.on(n,d[n])}this._currentUrl=/^\//.test(this._options.path)?r.format(this._options):this._options.path;if(this._isRedirect){var A=0;var i=this;var a=this._requestBodyBuffers;(function writeNext(e){if(o===i._currentRequest){if(e){i.emit("error",e)}else if(A=400){e.responseUrl=this._currentUrl;e.redirects=this._redirects;this.emit("response",e);this._requestBodyBuffers=[];return}destroyRequest(this._currentRequest);e.destroy();if(++this._redirectCount>this._options.maxRedirects){throw new E}var o;var n=this._options.beforeRedirect;if(n){o=Object.assign({Host:e.req.getHeader("host")},this._options.headers)}var A=this._options.method;if((t===301||t===302)&&this._options.method==="POST"||t===303&&!/^(?:GET|HEAD)$/.test(this._options.method)){this._options.method="GET";this._requestBodyBuffers=[];removeMatchingHeaders(/^content-/i,this._options.headers)}var i=removeMatchingHeaders(/^host$/i,this._options.headers);var a=parseUrl(this._currentUrl);var l=i||a.host;var u=/^\w+:/.test(s)?this._currentUrl:r.format(Object.assign(a,{host:l}));var p=resolveUrl(s,u);c("redirecting to",p.href);this._isRedirect=true;spreadUrlObject(p,this._options);if(p.protocol!==a.protocol&&p.protocol!=="https:"||p.host!==l&&!isSubdomain(p.host,l)){removeMatchingHeaders(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers)}if(isFunction(n)){var d={headers:e.headers,statusCode:t};var g={url:u,method:A,headers:o};n(this._options,d,g);this._sanitizeOptions(this._options)}this._performRequest()};function wrap(e){var t={maxRedirects:21,maxBodyLength:10*1024*1024};var s={};Object.keys(e).forEach((function(r){var o=r+":";var n=s[o]=e[r];var A=t[r]=Object.create(n);function request(e,r,n){if(isURL(e)){e=spreadUrlObject(e)}else if(isString(e)){e=spreadUrlObject(parseUrl(e))}else{n=r;r=validateUrl(e);e={protocol:o}}if(isFunction(r)){n=r;r=null}r=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,r);r.nativeProtocols=s;if(!isString(r.host)&&!isString(r.hostname)){r.hostname="::1"}a.equal(r.protocol,o,"protocol mismatch");c("options",r);return new RedirectableRequest(r,n)}function get(e,t,s){var r=A.request(e,t,s);r.end();return r}Object.defineProperties(A,{request:{value:request,configurable:true,enumerable:true,writable:true},get:{value:get,configurable:true,enumerable:true,writable:true}})}));return t}function noop(){}function parseUrl(e){var t;if(l){t=new o(e)}else{t=validateUrl(r.parse(e));if(!isString(t.protocol)){throw new g({input:e})}}return t}function resolveUrl(e,t){return l?new o(e,t):parseUrl(r.resolve(t,e))}function validateUrl(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname)){throw new g({input:e.href||e})}if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host)){throw new g({input:e.href||e})}return e}function spreadUrlObject(e,t){var s=t||{};for(var r of u){s[r]=e[r]}if(s.hostname.startsWith("[")){s.hostname=s.hostname.slice(1,-1)}if(s.port!==""){s.port=Number(s.port)}s.path=s.search?s.pathname+s.search:s.pathname;return s}function removeMatchingHeaders(e,t){var s;for(var r in t){if(e.test(r)){s=t[r];delete t[r]}}return s===null||typeof s==="undefined"?undefined:String(s).trim()}function createErrorType(e,t,s){function CustomError(s){Error.captureStackTrace(this,this.constructor);Object.assign(this,s||{});this.code=e;this.message=this.cause?t+": "+this.cause.message:t}CustomError.prototype=new(s||Error);Object.defineProperties(CustomError.prototype,{constructor:{value:CustomError,enumerable:false},name:{value:"Error ["+e+"]",enumerable:false}});return CustomError}function destroyRequest(e,t){for(var s of p){e.removeListener(s,d[s])}e.on("error",noop);e.destroy(t)}function isSubdomain(e,t){a(isString(e)&&isString(t));var s=e.length-t.length-1;return s>0&&e[s]==="."&&e.endsWith(t)}function isString(e){return typeof e==="string"||e instanceof String}function isFunction(e){return typeof e==="function"}function isBuffer(e){return typeof e==="object"&&"length"in e}function isURL(e){return o&&e instanceof o}e.exports=wrap({http:n,https:A});e.exports.wrap=wrap},4551:(e,t,s)=>{var r=s(2932);var o=s(3837);var n=s(1017);var A=s(3685);var i=s(5687);var a=s(7310).parse;var c=s(7147);var l=s(2781).Stream;var u=s(588);var p=s(1772);var d=s(8243);e.exports=FormData;o.inherits(FormData,r);function FormData(e){if(!(this instanceof FormData)){return new FormData(e)}this._overheadLength=0;this._valueLength=0;this._valuesToMeasure=[];r.call(this);e=e||{};for(var t in e){this[t]=e[t]}}FormData.LINE_BREAK="\r\n";FormData.DEFAULT_CONTENT_TYPE="application/octet-stream";FormData.prototype.append=function(e,t,s){s=s||{};if(typeof s=="string"){s={filename:s}}var n=r.prototype.append.bind(this);if(typeof t=="number"){t=""+t}if(o.isArray(t)){this._error(new Error("Arrays are not supported."));return}var A=this._multiPartHeader(e,t,s);var i=this._multiPartFooter();n(A);n(t);n(i);this._trackLength(A,t,s)};FormData.prototype._trackLength=function(e,t,s){var r=0;if(s.knownLength!=null){r+=+s.knownLength}else if(Buffer.isBuffer(t)){r=t.length}else if(typeof t==="string"){r=Buffer.byteLength(t)}this._valueLength+=r;this._overheadLength+=Buffer.byteLength(e)+FormData.LINE_BREAK.length;if(!t||!t.path&&!(t.readable&&t.hasOwnProperty("httpVersion"))&&!(t instanceof l)){return}if(!s.knownLength){this._valuesToMeasure.push(t)}};FormData.prototype._lengthRetriever=function(e,t){if(e.hasOwnProperty("fd")){if(e.end!=undefined&&e.end!=Infinity&&e.start!=undefined){t(null,e.end+1-(e.start?e.start:0))}else{c.stat(e.path,(function(s,r){var o;if(s){t(s);return}o=r.size-(e.start?e.start:0);t(null,o)}))}}else if(e.hasOwnProperty("httpVersion")){t(null,+e.headers["content-length"])}else if(e.hasOwnProperty("httpModule")){e.on("response",(function(s){e.pause();t(null,+s.headers["content-length"])}));e.resume()}else{t("Unknown stream")}};FormData.prototype._multiPartHeader=function(e,t,s){if(typeof s.header=="string"){return s.header}var r=this._getContentDisposition(t,s);var o=this._getContentType(t,s);var n="";var A={"Content-Disposition":["form-data",'name="'+e+'"'].concat(r||[]),"Content-Type":[].concat(o||[])};if(typeof s.header=="object"){d(A,s.header)}var i;for(var a in A){if(!A.hasOwnProperty(a))continue;i=A[a];if(i==null){continue}if(!Array.isArray(i)){i=[i]}if(i.length){n+=a+": "+i.join("; ")+FormData.LINE_BREAK}}return"--"+this.getBoundary()+FormData.LINE_BREAK+n+FormData.LINE_BREAK};FormData.prototype._getContentDisposition=function(e,t){var s,r;if(typeof t.filepath==="string"){s=n.normalize(t.filepath).replace(/\\/g,"/")}else if(t.filename||e.name||e.path){s=n.basename(t.filename||e.name||e.path)}else if(e.readable&&e.hasOwnProperty("httpVersion")){s=n.basename(e.client._httpMessage.path||"")}if(s){r='filename="'+s+'"'}return r};FormData.prototype._getContentType=function(e,t){var s=t.contentType;if(!s&&e.name){s=u.lookup(e.name)}if(!s&&e.path){s=u.lookup(e.path)}if(!s&&e.readable&&e.hasOwnProperty("httpVersion")){s=e.headers["content-type"]}if(!s&&(t.filepath||t.filename)){s=u.lookup(t.filepath||t.filename)}if(!s&&typeof e=="object"){s=FormData.DEFAULT_CONTENT_TYPE}return s};FormData.prototype._multiPartFooter=function(){return function(e){var t=FormData.LINE_BREAK;var s=this._streams.length===0;if(s){t+=this._lastBoundary()}e(t)}.bind(this)};FormData.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+FormData.LINE_BREAK};FormData.prototype.getHeaders=function(e){var t;var s={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e){if(e.hasOwnProperty(t)){s[t.toLowerCase()]=e[t]}}return s};FormData.prototype.setBoundary=function(e){this._boundary=e};FormData.prototype.getBoundary=function(){if(!this._boundary){this._generateBoundary()}return this._boundary};FormData.prototype.getBuffer=function(){var e=new Buffer.alloc(0);var t=this.getBoundary();for(var s=0,r=this._streams.length;s{e.exports=function(e,t){Object.keys(t).forEach((function(s){e[s]=e[s]||t[s]}));return e}},6082:e=>{function isElectron(){if(typeof window!=="undefined"&&typeof window.process==="object"&&window.process.type==="renderer"){return true}if(typeof process!=="undefined"&&typeof process.versions==="object"&&!!process.versions.electron){return true}if(typeof navigator==="object"&&typeof navigator.userAgent==="string"&&navigator.userAgent.indexOf("Electron")>=0){return true}return false}e.exports=isElectron},5335:e=>{const isStream=e=>e!==null&&typeof e==="object"&&typeof e.pipe==="function";isStream.writable=e=>isStream(e)&&e.writable!==false&&typeof e._write==="function"&&typeof e._writableState==="object";isStream.readable=e=>isStream(e)&&e.readable!==false&&typeof e._read==="function"&&typeof e._readableState==="object";isStream.duplex=e=>isStream.writable(e)&&isStream.readable(e);isStream.transform=e=>isStream.duplex(e)&&typeof e._transform==="function";e.exports=isStream},3182:(e,t,s)=>{ -/*! - * mime-db - * Copyright(c) 2014 Jonathan Ong - * Copyright(c) 2015-2022 Douglas Christopher Wilson - * MIT Licensed - */ -e.exports=s(6450)},588:(e,t,s)=>{ -/*! - * mime-types - * Copyright(c) 2014 Jonathan Ong - * Copyright(c) 2015 Douglas Christopher Wilson - * MIT Licensed - */ -var r=s(3182);var o=s(1017).extname;var n=/^\s*([^;\s]*)(?:;|\s|$)/;var A=/^text\//i;t.charset=charset;t.charsets={lookup:charset};t.contentType=contentType;t.extension=extension;t.extensions=Object.create(null);t.lookup=lookup;t.types=Object.create(null);populateMaps(t.extensions,t.types);function charset(e){if(!e||typeof e!=="string"){return false}var t=n.exec(e);var s=t&&r[t[1].toLowerCase()];if(s&&s.charset){return s.charset}if(t&&A.test(t[1])){return"UTF-8"}return false}function contentType(e){if(!e||typeof e!=="string"){return false}var s=e.indexOf("/")===-1?t.lookup(e):e;if(!s){return false}if(s.indexOf("charset")===-1){var r=t.charset(s);if(r)s+="; charset="+r.toLowerCase()}return s}function extension(e){if(!e||typeof e!=="string"){return false}var s=n.exec(e);var r=s&&t.extensions[s[1].toLowerCase()];if(!r||!r.length){return false}return r[0]}function lookup(e){if(!e||typeof e!=="string"){return false}var s=o("x."+e).toLowerCase().substr(1);if(!s){return false}return t.types[s]||false}function populateMaps(e,t){var s=["nginx","apache",undefined,"iana"];Object.keys(r).forEach((function forEachMimeType(o){var n=r[o];var A=n.extensions;if(!A||!A.length){return}e[o]=A;for(var i=0;il||c===l&&t[a].substr(0,12)==="application/")){continue}}t[a]=o}}))}},3069:(e,t,s)=>{var r=s(7212);e.exports=r(once);e.exports.strict=r(onceStrict);once.proto=once((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return once(this)},configurable:true});Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return onceStrict(this)},configurable:true})}));function once(e){var f=function(){if(f.called)return f.value;f.called=true;return f.value=e.apply(this,arguments)};f.called=false;return f}function onceStrict(e){var f=function(){if(f.called)throw new Error(f.onceError);f.called=true;return f.value=e.apply(this,arguments)};var t=e.name||"Function wrapped with `once`";f.onceError=t+" shouldn't be called more than once";f.called=false;return f}},7574:e=>{e.exports=(e,t)=>{t=t||(()=>{});return e.then((e=>new Promise((e=>{e(t())})).then((()=>e))),(e=>new Promise((e=>{e(t())})).then((()=>{throw e}))))}},5062:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:true});const r=s(2171);const o=s(2013);const n=s(8663);const empty=()=>{};const A=new o.TimeoutError;class PQueue extends r{constructor(e){var t,s,r,o;super();this._intervalCount=0;this._intervalEnd=0;this._pendingCount=0;this._resolveEmpty=empty;this._resolveIdle=empty;e=Object.assign({carryoverConcurrencyCount:false,intervalCap:Infinity,interval:0,concurrency:Infinity,autoStart:true,queueClass:n.default},e);if(!(typeof e.intervalCap==="number"&&e.intervalCap>=1)){throw new TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${(s=(t=e.intervalCap)===null||t===void 0?void 0:t.toString())!==null&&s!==void 0?s:""}\` (${typeof e.intervalCap})`)}if(e.interval===undefined||!(Number.isFinite(e.interval)&&e.interval>=0)){throw new TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${(o=(r=e.interval)===null||r===void 0?void 0:r.toString())!==null&&o!==void 0?o:""}\` (${typeof e.interval})`)}this._carryoverConcurrencyCount=e.carryoverConcurrencyCount;this._isIntervalIgnored=e.intervalCap===Infinity||e.interval===0;this._intervalCap=e.intervalCap;this._interval=e.interval;this._queue=new e.queueClass;this._queueClass=e.queueClass;this.concurrency=e.concurrency;this._timeout=e.timeout;this._throwOnTimeout=e.throwOnTimeout===true;this._isPaused=e.autoStart===false}get _doesIntervalAllowAnother(){return this._isIntervalIgnored||this._intervalCount{this._onResumeInterval()}),t)}return true}}return false}_tryToStartAnother(){if(this._queue.size===0){if(this._intervalId){clearInterval(this._intervalId)}this._intervalId=undefined;this._resolvePromises();return false}if(!this._isPaused){const e=!this._isIntervalPaused();if(this._doesIntervalAllowAnother&&this._doesConcurrentAllowAnother){const t=this._queue.dequeue();if(!t){return false}this.emit("active");t();if(e){this._initializeIntervalIfNeeded()}return true}}return false}_initializeIntervalIfNeeded(){if(this._isIntervalIgnored||this._intervalId!==undefined){return}this._intervalId=setInterval((()=>{this._onInterval()}),this._interval);this._intervalEnd=Date.now()+this._interval}_onInterval(){if(this._intervalCount===0&&this._pendingCount===0&&this._intervalId){clearInterval(this._intervalId);this._intervalId=undefined}this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0;this._processQueue()}_processQueue(){while(this._tryToStartAnother()){}}get concurrency(){return this._concurrency}set concurrency(e){if(!(typeof e==="number"&&e>=1)){throw new TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${e}\` (${typeof e})`)}this._concurrency=e;this._processQueue()}async add(e,t={}){return new Promise(((s,r)=>{const run=async()=>{this._pendingCount++;this._intervalCount++;try{const n=this._timeout===undefined&&t.timeout===undefined?e():o.default(Promise.resolve(e()),t.timeout===undefined?this._timeout:t.timeout,(()=>{if(t.throwOnTimeout===undefined?this._throwOnTimeout:t.throwOnTimeout){r(A)}return undefined}));s(await n)}catch(e){r(e)}this._next()};this._queue.enqueue(run,t);this._tryToStartAnother();this.emit("add")}))}async addAll(e,t){return Promise.all(e.map((async e=>this.add(e,t))))}start(){if(!this._isPaused){return this}this._isPaused=false;this._processQueue();return this}pause(){this._isPaused=true}clear(){this._queue=new this._queueClass}async onEmpty(){if(this._queue.size===0){return}return new Promise((e=>{const t=this._resolveEmpty;this._resolveEmpty=()=>{t();e()}}))}async onIdle(){if(this._pendingCount===0&&this._queue.size===0){return}return new Promise((e=>{const t=this._resolveIdle;this._resolveIdle=()=>{t();e()}}))}get size(){return this._queue.size}sizeBy(e){return this._queue.filter(e).length}get pending(){return this._pendingCount}get isPaused(){return this._isPaused}get timeout(){return this._timeout}set timeout(e){this._timeout=e}}t["default"]=PQueue},7904:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});function lowerBound(e,t,s){let r=0;let o=e.length;while(o>0){const n=o/2|0;let A=r+n;if(s(e[A],t)<=0){r=++A;o-=n+1}else{o=n}}return r}t["default"]=lowerBound},8663:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:true});const r=s(7904);class PriorityQueue{constructor(){this._queue=[]}enqueue(e,t){t=Object.assign({priority:0},t);const s={priority:t.priority,run:e};if(this.size&&this._queue[this.size-1].priority>=t.priority){this._queue.push(s);return}const o=r.default(this._queue,s,((e,t)=>t.priority-e.priority));this._queue.splice(o,0,s)}dequeue(){const e=this._queue.shift();return e===null||e===void 0?void 0:e.run}filter(e){return this._queue.filter((t=>t.priority===e.priority)).map((e=>e.run))}get size(){return this._queue.length}}t["default"]=PriorityQueue},9005:(e,t,s)=>{const r=s(5560);const o=["Failed to fetch","NetworkError when attempting to fetch resource.","The Internet connection appears to be offline.","Network request failed"];class AbortError extends Error{constructor(e){super();if(e instanceof Error){this.originalError=e;({message:e}=e)}else{this.originalError=new Error(e);this.originalError.stack=this.stack}this.name="AbortError";this.message=e}}const decorateErrorWithCounts=(e,t,s)=>{const r=s.retries-(t-1);e.attemptNumber=t;e.retriesLeft=r;return e};const isNetworkError=e=>o.includes(e);const pRetry=(e,t)=>new Promise(((s,o)=>{t={onFailedAttempt:()=>{},retries:10,...t};const n=r.operation(t);n.attempt((async r=>{try{s(await e(r))}catch(e){if(!(e instanceof Error)){o(new TypeError(`Non-error was thrown: "${e}". You should only throw errors.`));return}if(e instanceof AbortError){n.stop();o(e.originalError)}else if(e instanceof TypeError&&!isNetworkError(e.message)){n.stop();o(e)}else{decorateErrorWithCounts(e,r,t);try{await t.onFailedAttempt(e)}catch(e){o(e);return}if(!n.retry(e)){o(n.mainError())}}}}))}));e.exports=pRetry;e.exports["default"]=pRetry;e.exports.AbortError=AbortError},2013:(e,t,s)=>{const r=s(7574);class TimeoutError extends Error{constructor(e){super(e);this.name="TimeoutError"}}const pTimeout=(e,t,s)=>new Promise(((o,n)=>{if(typeof t!=="number"||t<0){throw new TypeError("Expected `milliseconds` to be a positive number")}if(t===Infinity){o(e);return}const A=setTimeout((()=>{if(typeof s==="function"){try{o(s())}catch(e){n(e)}return}const r=typeof s==="string"?s:`Promise timed out after ${t} milliseconds`;const A=s instanceof Error?s:new TimeoutError(r);if(typeof e.cancel==="function"){e.cancel()}n(A)}),t);r(e.then(o,n),(()=>{clearTimeout(A)}))}));e.exports=pTimeout;e.exports["default"]=pTimeout;e.exports.TimeoutError=TimeoutError},490:(e,t,s)=>{var r=s(7310).parse;var o={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443};var n=String.prototype.endsWith||function(e){return e.length<=this.length&&this.indexOf(e,this.length-e.length)!==-1};function getProxyForUrl(e){var t=typeof e==="string"?r(e):e||{};var s=t.protocol;var n=t.host;var A=t.port;if(typeof n!=="string"||!n||typeof s!=="string"){return""}s=s.split(":",1)[0];n=n.replace(/:\d*$/,"");A=parseInt(A)||o[s]||0;if(!shouldProxy(n,A)){return""}var i=getEnv("npm_config_"+s+"_proxy")||getEnv(s+"_proxy")||getEnv("npm_config_proxy")||getEnv("all_proxy");if(i&&i.indexOf("://")===-1){i=s+"://"+i}return i}function shouldProxy(e,t){var s=(getEnv("npm_config_no_proxy")||getEnv("no_proxy")).toLowerCase();if(!s){return true}if(s==="*"){return false}return s.split(/[,\s]/).every((function(s){if(!s){return true}var r=s.match(/^(.+):(\d+)$/);var o=r?r[1]:s;var A=r?parseInt(r[2]):0;if(A&&A!==t){return true}if(!/^[.*]/.test(o)){return e!==o}if(o.charAt(0)==="*"){o=o.slice(1)}return!n.call(e,o)}))}function getEnv(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}t.getProxyForUrl=getProxyForUrl},5560:(e,t,s)=>{e.exports=s(5312)},5312:(e,t,s)=>{var r=s(9689);t.operation=function(e){var s=t.timeouts(e);return new r(s,{forever:e&&(e.forever||e.retries===Infinity),unref:e&&e.unref,maxRetryTime:e&&e.maxRetryTime})};t.timeouts=function(e){if(e instanceof Array){return[].concat(e)}var t={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:Infinity,randomize:false};for(var s in e){t[s]=e[s]}if(t.minTimeout>t.maxTimeout){throw new Error("minTimeout is greater than maxTimeout")}var r=[];for(var o=0;o{function RetryOperation(e,t){if(typeof t==="boolean"){t={forever:t}}this._originalTimeouts=JSON.parse(JSON.stringify(e));this._timeouts=e;this._options=t||{};this._maxRetryTime=t&&t.maxRetryTime||Infinity;this._fn=null;this._errors=[];this._attempts=1;this._operationTimeout=null;this._operationTimeoutCb=null;this._timeout=null;this._operationStart=null;this._timer=null;if(this._options.forever){this._cachedTimeouts=this._timeouts.slice(0)}}e.exports=RetryOperation;RetryOperation.prototype.reset=function(){this._attempts=1;this._timeouts=this._originalTimeouts.slice(0)};RetryOperation.prototype.stop=function(){if(this._timeout){clearTimeout(this._timeout)}if(this._timer){clearTimeout(this._timer)}this._timeouts=[];this._cachedTimeouts=null};RetryOperation.prototype.retry=function(e){if(this._timeout){clearTimeout(this._timeout)}if(!e){return false}var t=(new Date).getTime();if(e&&t-this._operationStart>=this._maxRetryTime){this._errors.push(e);this._errors.unshift(new Error("RetryOperation timeout occurred"));return false}this._errors.push(e);var s=this._timeouts.shift();if(s===undefined){if(this._cachedTimeouts){this._errors.splice(0,this._errors.length-1);s=this._cachedTimeouts.slice(-1)}else{return false}}var r=this;this._timer=setTimeout((function(){r._attempts++;if(r._operationTimeoutCb){r._timeout=setTimeout((function(){r._operationTimeoutCb(r._attempts)}),r._operationTimeout);if(r._options.unref){r._timeout.unref()}}r._fn(r._attempts)}),s);if(this._options.unref){this._timer.unref()}return true};RetryOperation.prototype.attempt=function(e,t){this._fn=e;if(t){if(t.timeout){this._operationTimeout=t.timeout}if(t.cb){this._operationTimeoutCb=t.cb}}var s=this;if(this._operationTimeoutCb){this._timeout=setTimeout((function(){s._operationTimeoutCb()}),s._operationTimeout)}this._operationStart=(new Date).getTime();this._fn(this._attempts)};RetryOperation.prototype.try=function(e){console.log("Using RetryOperation.try() is deprecated");this.attempt(e)};RetryOperation.prototype.start=function(e){console.log("Using RetryOperation.start() is deprecated");this.attempt(e)};RetryOperation.prototype.start=RetryOperation.prototype.try;RetryOperation.prototype.errors=function(){return this._errors};RetryOperation.prototype.attempts=function(){return this._attempts};RetryOperation.prototype.mainError=function(){if(this._errors.length===0){return null}var e={};var t=null;var s=0;for(var r=0;r=s){t=o;s=A}}return t}},8578:(e,t,s)=>{e.exports=s(2805)},2805:(e,t,s)=>{var r=s(1808);var o=s(4404);var n=s(3685);var A=s(5687);var i=s(2361);var a=s(9491);var c=s(3837);t.httpOverHttp=httpOverHttp;t.httpsOverHttp=httpsOverHttp;t.httpOverHttps=httpOverHttps;t.httpsOverHttps=httpsOverHttps;function httpOverHttp(e){var t=new TunnelingAgent(e);t.request=n.request;return t}function httpsOverHttp(e){var t=new TunnelingAgent(e);t.request=n.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function httpOverHttps(e){var t=new TunnelingAgent(e);t.request=A.request;return t}function httpsOverHttps(e){var t=new TunnelingAgent(e);t.request=A.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function TunnelingAgent(e){var t=this;t.options=e||{};t.proxyOptions=t.options.proxy||{};t.maxSockets=t.options.maxSockets||n.Agent.defaultMaxSockets;t.requests=[];t.sockets=[];t.on("free",(function onFree(e,s,r,o){var n=toOptions(s,r,o);for(var A=0,i=t.requests.length;A=this.maxSockets){o.requests.push(n);return}o.createSocket(n,(function(t){t.on("free",onFree);t.on("close",onCloseOrRemove);t.on("agentRemove",onCloseOrRemove);e.onSocket(t);function onFree(){o.emit("free",t,n)}function onCloseOrRemove(e){o.removeSocket(t);t.removeListener("free",onFree);t.removeListener("close",onCloseOrRemove);t.removeListener("agentRemove",onCloseOrRemove)}}))};TunnelingAgent.prototype.createSocket=function createSocket(e,t){var s=this;var r={};s.sockets.push(r);var o=mergeOptions({},s.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:false,headers:{host:e.host+":"+e.port}});if(e.localAddress){o.localAddress=e.localAddress}if(o.proxyAuth){o.headers=o.headers||{};o.headers["Proxy-Authorization"]="Basic "+new Buffer(o.proxyAuth).toString("base64")}l("making CONNECT request");var n=s.request(o);n.useChunkedEncodingByDefault=false;n.once("response",onResponse);n.once("upgrade",onUpgrade);n.once("connect",onConnect);n.once("error",onError);n.end();function onResponse(e){e.upgrade=true}function onUpgrade(e,t,s){process.nextTick((function(){onConnect(e,t,s)}))}function onConnect(o,A,i){n.removeAllListeners();A.removeAllListeners();if(o.statusCode!==200){l("tunneling socket could not be established, statusCode=%d",o.statusCode);A.destroy();var a=new Error("tunneling socket could not be established, "+"statusCode="+o.statusCode);a.code="ECONNRESET";e.request.emit("error",a);s.removeSocket(r);return}if(i.length>0){l("got illegal response body from proxy");A.destroy();var a=new Error("got illegal response body from proxy");a.code="ECONNRESET";e.request.emit("error",a);s.removeSocket(r);return}l("tunneling connection has established");s.sockets[s.sockets.indexOf(r)]=A;return t(A)}function onError(t){n.removeAllListeners();l("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var o=new Error("tunneling socket could not be established, "+"cause="+t.message);o.code="ECONNRESET";e.request.emit("error",o);s.removeSocket(r)}};TunnelingAgent.prototype.removeSocket=function removeSocket(e){var t=this.sockets.indexOf(e);if(t===-1){return}this.sockets.splice(t,1);var s=this.requests.shift();if(s){this.createSocket(s,(function(e){s.request.onSocket(e)}))}};function createSecureSocket(e,t){var s=this;TunnelingAgent.prototype.createSocket.call(s,e,(function(r){var n=e.request.getHeader("host");var A=mergeOptions({},s.options,{socket:r,servername:n?n.replace(/:.*$/,""):e.host});var i=o.connect(0,A);s.sockets[s.sockets.indexOf(r)]=i;t(i)}))}function toOptions(e,t,s){if(typeof e==="string"){return{host:e,port:t,localAddress:s}}return e}function mergeOptions(e){for(var t=1,s=arguments.length;t{const r=s(1735);const o=s(8648);const n=s(2366);const A=s(780);const i=s(6318);const a=s(8840);const c=s(7497);const{InvalidArgumentError:l}=n;const u=s(6499);const p=s(9218);const d=s(1287);const g=s(6004);const h=s(7220);const E=s(2703);const C=s(9498);const m=s(8984);const{getGlobalDispatcher:Q,setGlobalDispatcher:B}=s(2899);const I=s(253);const b=s(292);const y=s(3167);let w;try{s(6113);w=true}catch{w=false}Object.assign(o.prototype,u);e.exports.Dispatcher=o;e.exports.Client=r;e.exports.Pool=A;e.exports.BalancedPool=i;e.exports.Agent=a;e.exports.ProxyAgent=C;e.exports.RetryHandler=m;e.exports.DecoratorHandler=I;e.exports.RedirectHandler=b;e.exports.createRedirectInterceptor=y;e.exports.buildConnector=p;e.exports.errors=n;function makeDispatcher(e){return(t,s,r)=>{if(typeof s==="function"){r=s;s=null}if(!t||typeof t!=="string"&&typeof t!=="object"&&!(t instanceof URL)){throw new l("invalid url")}if(s!=null&&typeof s!=="object"){throw new l("invalid opts")}if(s&&s.path!=null){if(typeof s.path!=="string"){throw new l("invalid opts.path")}let e=s.path;if(!s.path.startsWith("/")){e=`/${e}`}t=new URL(c.parseOrigin(t).origin+e)}else{if(!s){s=typeof t==="object"?t:{}}t=c.parseURL(t)}const{agent:o,dispatcher:n=Q()}=s;if(o){throw new l("unsupported opts.agent. Did you mean opts.client?")}return e.call(n,{...s,origin:t.origin,path:t.search?`${t.pathname}${t.search}`:t.pathname,method:s.method||(s.body?"PUT":"GET")},r)}}e.exports.setGlobalDispatcher=B;e.exports.getGlobalDispatcher=Q;if(c.nodeMajor>16||c.nodeMajor===16&&c.nodeMinor>=8){let t=null;e.exports.fetch=async function fetch(e){if(!t){t=s(8802).fetch}try{return await t(...arguments)}catch(e){if(typeof e==="object"){Error.captureStackTrace(e,this)}throw e}};e.exports.Headers=s(1855).Headers;e.exports.Response=s(3950).Response;e.exports.Request=s(6453).Request;e.exports.FormData=s(9425).FormData;e.exports.File=s(5506).File;e.exports.FileReader=s(929).FileReader;const{setGlobalOrigin:r,getGlobalOrigin:o}=s(7011);e.exports.setGlobalOrigin=r;e.exports.getGlobalOrigin=o;const{CacheStorage:n}=s(4082);const{kConstruct:A}=s(6648);e.exports.caches=new n(A)}if(c.nodeMajor>=16){const{deleteCookie:t,getCookies:r,getSetCookies:o,setCookie:n}=s(9738);e.exports.deleteCookie=t;e.exports.getCookies=r;e.exports.getSetCookies=o;e.exports.setCookie=n;const{parseMIMEType:A,serializeAMimeType:i}=s(5958);e.exports.parseMIMEType=A;e.exports.serializeAMimeType=i}if(c.nodeMajor>=18&&w){const{WebSocket:t}=s(1986);e.exports.WebSocket=t}e.exports.request=makeDispatcher(u.request);e.exports.stream=makeDispatcher(u.stream);e.exports.pipeline=makeDispatcher(u.pipeline);e.exports.connect=makeDispatcher(u.connect);e.exports.upgrade=makeDispatcher(u.upgrade);e.exports.MockClient=d;e.exports.MockPool=h;e.exports.MockAgent=g;e.exports.mockErrors=E},8840:(e,t,s)=>{const{InvalidArgumentError:r}=s(2366);const{kClients:o,kRunning:n,kClose:A,kDestroy:i,kDispatch:a,kInterceptors:c}=s(3932);const l=s(8757);const u=s(780);const p=s(1735);const d=s(7497);const g=s(3167);const{WeakRef:h,FinalizationRegistry:E}=s(5285)();const C=Symbol("onConnect");const m=Symbol("onDisconnect");const Q=Symbol("onConnectionError");const B=Symbol("maxRedirections");const I=Symbol("onDrain");const b=Symbol("factory");const y=Symbol("finalizer");const w=Symbol("options");function defaultFactory(e,t){return t&&t.connections===1?new p(e,t):new u(e,t)}class Agent extends l{constructor({factory:e=defaultFactory,maxRedirections:t=0,connect:s,...n}={}){super();if(typeof e!=="function"){throw new r("factory must be a function.")}if(s!=null&&typeof s!=="function"&&typeof s!=="object"){throw new r("connect must be a function or an object")}if(!Number.isInteger(t)||t<0){throw new r("maxRedirections must be a positive number")}if(s&&typeof s!=="function"){s={...s}}this[c]=n.interceptors&&n.interceptors.Agent&&Array.isArray(n.interceptors.Agent)?n.interceptors.Agent:[g({maxRedirections:t})];this[w]={...d.deepClone(n),connect:s};this[w].interceptors=n.interceptors?{...n.interceptors}:undefined;this[B]=t;this[b]=e;this[o]=new Map;this[y]=new E((e=>{const t=this[o].get(e);if(t!==undefined&&t.deref()===undefined){this[o].delete(e)}}));const A=this;this[I]=(e,t)=>{A.emit("drain",e,[A,...t])};this[C]=(e,t)=>{A.emit("connect",e,[A,...t])};this[m]=(e,t,s)=>{A.emit("disconnect",e,[A,...t],s)};this[Q]=(e,t,s)=>{A.emit("connectionError",e,[A,...t],s)}}get[n](){let e=0;for(const t of this[o].values()){const s=t.deref();if(s){e+=s[n]}}return e}[a](e,t){let s;if(e.origin&&(typeof e.origin==="string"||e.origin instanceof URL)){s=String(e.origin)}else{throw new r("opts.origin must be a non-empty string or URL.")}const n=this[o].get(s);let A=n?n.deref():null;if(!A){A=this[b](e.origin,this[w]).on("drain",this[I]).on("connect",this[C]).on("disconnect",this[m]).on("connectionError",this[Q]);this[o].set(s,new h(A));this[y].register(A,s)}return A.dispatch(e,t)}async[A](){const e=[];for(const t of this[o].values()){const s=t.deref();if(s){e.push(s.close())}}await Promise.all(e)}async[i](e){const t=[];for(const s of this[o].values()){const r=s.deref();if(r){t.push(r.destroy(e))}}await Promise.all(t)}}e.exports=Agent},8949:(e,t,s)=>{const{addAbortListener:r}=s(7497);const{RequestAbortedError:o}=s(2366);const n=Symbol("kListener");const A=Symbol("kSignal");function abort(e){if(e.abort){e.abort()}else{e.onError(new o)}}function addSignal(e,t){e[A]=null;e[n]=null;if(!t){return}if(t.aborted){abort(e);return}e[A]=t;e[n]=()=>{abort(e)};r(e[A],e[n])}function removeSignal(e){if(!e[A]){return}if("removeEventListener"in e[A]){e[A].removeEventListener("abort",e[n])}else{e[A].removeListener("abort",e[n])}e[A]=null;e[n]=null}e.exports={addSignal:addSignal,removeSignal:removeSignal}},6589:(e,t,s)=>{const{AsyncResource:r}=s(852);const{InvalidArgumentError:o,RequestAbortedError:n,SocketError:A}=s(2366);const i=s(7497);const{addSignal:a,removeSignal:c}=s(8949);class ConnectHandler extends r{constructor(e,t){if(!e||typeof e!=="object"){throw new o("invalid opts")}if(typeof t!=="function"){throw new o("invalid callback")}const{signal:s,opaque:r,responseHeaders:n}=e;if(s&&typeof s.on!=="function"&&typeof s.addEventListener!=="function"){throw new o("signal must be an EventEmitter or EventTarget")}super("UNDICI_CONNECT");this.opaque=r||null;this.responseHeaders=n||null;this.callback=t;this.abort=null;a(this,s)}onConnect(e,t){if(!this.callback){throw new n}this.abort=e;this.context=t}onHeaders(){throw new A("bad connect",null)}onUpgrade(e,t,s){const{callback:r,opaque:o,context:n}=this;c(this);this.callback=null;let A=t;if(A!=null){A=this.responseHeaders==="raw"?i.parseRawHeaders(t):i.parseHeaders(t)}this.runInAsyncScope(r,null,null,{statusCode:e,headers:A,socket:s,opaque:o,context:n})}onError(e){const{callback:t,opaque:s}=this;c(this);if(t){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(t,null,e,{opaque:s})}))}}}function connect(e,t){if(t===undefined){return new Promise(((t,s)=>{connect.call(this,e,((e,r)=>e?s(e):t(r)))}))}try{const s=new ConnectHandler(e,t);this.dispatch({...e,method:"CONNECT"},s)}catch(s){if(typeof t!=="function"){throw s}const r=e&&e.opaque;queueMicrotask((()=>t(s,{opaque:r})))}}e.exports=connect},6970:(e,t,s)=>{const{Readable:r,Duplex:o,PassThrough:n}=s(2781);const{InvalidArgumentError:A,InvalidReturnValueError:i,RequestAbortedError:a}=s(2366);const c=s(7497);const{AsyncResource:l}=s(852);const{addSignal:u,removeSignal:p}=s(8949);const d=s(9491);const g=Symbol("resume");class PipelineRequest extends r{constructor(){super({autoDestroy:true});this[g]=null}_read(){const{[g]:e}=this;if(e){this[g]=null;e()}}_destroy(e,t){this._read();t(e)}}class PipelineResponse extends r{constructor(e){super({autoDestroy:true});this[g]=e}_read(){this[g]()}_destroy(e,t){if(!e&&!this._readableState.endEmitted){e=new a}t(e)}}class PipelineHandler extends l{constructor(e,t){if(!e||typeof e!=="object"){throw new A("invalid opts")}if(typeof t!=="function"){throw new A("invalid handler")}const{signal:s,method:r,opaque:n,onInfo:i,responseHeaders:l}=e;if(s&&typeof s.on!=="function"&&typeof s.addEventListener!=="function"){throw new A("signal must be an EventEmitter or EventTarget")}if(r==="CONNECT"){throw new A("invalid method")}if(i&&typeof i!=="function"){throw new A("invalid onInfo callback")}super("UNDICI_PIPELINE");this.opaque=n||null;this.responseHeaders=l||null;this.handler=t;this.abort=null;this.context=null;this.onInfo=i||null;this.req=(new PipelineRequest).on("error",c.nop);this.ret=new o({readableObjectMode:e.objectMode,autoDestroy:true,read:()=>{const{body:e}=this;if(e&&e.resume){e.resume()}},write:(e,t,s)=>{const{req:r}=this;if(r.push(e,t)||r._readableState.destroyed){s()}else{r[g]=s}},destroy:(e,t)=>{const{body:s,req:r,res:o,ret:n,abort:A}=this;if(!e&&!n._readableState.endEmitted){e=new a}if(A&&e){A()}c.destroy(s,e);c.destroy(r,e);c.destroy(o,e);p(this);t(e)}}).on("prefinish",(()=>{const{req:e}=this;e.push(null)}));this.res=null;u(this,s)}onConnect(e,t){const{ret:s,res:r}=this;d(!r,"pipeline cannot be retried");if(s.destroyed){throw new a}this.abort=e;this.context=t}onHeaders(e,t,s){const{opaque:r,handler:o,context:n}=this;if(e<200){if(this.onInfo){const s=this.responseHeaders==="raw"?c.parseRawHeaders(t):c.parseHeaders(t);this.onInfo({statusCode:e,headers:s})}return}this.res=new PipelineResponse(s);let A;try{this.handler=null;const s=this.responseHeaders==="raw"?c.parseRawHeaders(t):c.parseHeaders(t);A=this.runInAsyncScope(o,null,{statusCode:e,headers:s,opaque:r,body:this.res,context:n})}catch(e){this.res.on("error",c.nop);throw e}if(!A||typeof A.on!=="function"){throw new i("expected Readable")}A.on("data",(e=>{const{ret:t,body:s}=this;if(!t.push(e)&&s.pause){s.pause()}})).on("error",(e=>{const{ret:t}=this;c.destroy(t,e)})).on("end",(()=>{const{ret:e}=this;e.push(null)})).on("close",(()=>{const{ret:e}=this;if(!e._readableState.ended){c.destroy(e,new a)}}));this.body=A}onData(e){const{res:t}=this;return t.push(e)}onComplete(e){const{res:t}=this;t.push(null)}onError(e){const{ret:t}=this;this.handler=null;c.destroy(t,e)}}function pipeline(e,t){try{const s=new PipelineHandler(e,t);this.dispatch({...e,body:s.req},s);return s.ret}catch(e){return(new n).destroy(e)}}e.exports=pipeline},8859:(e,t,s)=>{const r=s(2086);const{InvalidArgumentError:o,RequestAbortedError:n}=s(2366);const A=s(7497);const{getResolveErrorBodyCallback:i}=s(6017);const{AsyncResource:a}=s(852);const{addSignal:c,removeSignal:l}=s(8949);class RequestHandler extends a{constructor(e,t){if(!e||typeof e!=="object"){throw new o("invalid opts")}const{signal:s,method:r,opaque:n,body:i,onInfo:a,responseHeaders:l,throwOnError:u,highWaterMark:p}=e;try{if(typeof t!=="function"){throw new o("invalid callback")}if(p&&(typeof p!=="number"||p<0)){throw new o("invalid highWaterMark")}if(s&&typeof s.on!=="function"&&typeof s.addEventListener!=="function"){throw new o("signal must be an EventEmitter or EventTarget")}if(r==="CONNECT"){throw new o("invalid method")}if(a&&typeof a!=="function"){throw new o("invalid onInfo callback")}super("UNDICI_REQUEST")}catch(e){if(A.isStream(i)){A.destroy(i.on("error",A.nop),e)}throw e}this.responseHeaders=l||null;this.opaque=n||null;this.callback=t;this.res=null;this.abort=null;this.body=i;this.trailers={};this.context=null;this.onInfo=a||null;this.throwOnError=u;this.highWaterMark=p;if(A.isStream(i)){i.on("error",(e=>{this.onError(e)}))}c(this,s)}onConnect(e,t){if(!this.callback){throw new n}this.abort=e;this.context=t}onHeaders(e,t,s,o){const{callback:n,opaque:a,abort:c,context:l,responseHeaders:u,highWaterMark:p}=this;const d=u==="raw"?A.parseRawHeaders(t):A.parseHeaders(t);if(e<200){if(this.onInfo){this.onInfo({statusCode:e,headers:d})}return}const g=u==="raw"?A.parseHeaders(t):d;const h=g["content-type"];const E=new r({resume:s,abort:c,contentType:h,highWaterMark:p});this.callback=null;this.res=E;if(n!==null){if(this.throwOnError&&e>=400){this.runInAsyncScope(i,null,{callback:n,body:E,contentType:h,statusCode:e,statusMessage:o,headers:d})}else{this.runInAsyncScope(n,null,null,{statusCode:e,headers:d,trailers:this.trailers,opaque:a,body:E,context:l})}}}onData(e){const{res:t}=this;return t.push(e)}onComplete(e){const{res:t}=this;l(this);A.parseHeaders(e,this.trailers);t.push(null)}onError(e){const{res:t,callback:s,body:r,opaque:o}=this;l(this);if(s){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(s,null,e,{opaque:o})}))}if(t){this.res=null;queueMicrotask((()=>{A.destroy(t,e)}))}if(r){this.body=null;A.destroy(r,e)}}}function request(e,t){if(t===undefined){return new Promise(((t,s)=>{request.call(this,e,((e,r)=>e?s(e):t(r)))}))}try{this.dispatch(e,new RequestHandler(e,t))}catch(s){if(typeof t!=="function"){throw s}const r=e&&e.opaque;queueMicrotask((()=>t(s,{opaque:r})))}}e.exports=request;e.exports.RequestHandler=RequestHandler},4336:(e,t,s)=>{const{finished:r,PassThrough:o}=s(2781);const{InvalidArgumentError:n,InvalidReturnValueError:A,RequestAbortedError:i}=s(2366);const a=s(7497);const{getResolveErrorBodyCallback:c}=s(6017);const{AsyncResource:l}=s(852);const{addSignal:u,removeSignal:p}=s(8949);class StreamHandler extends l{constructor(e,t,s){if(!e||typeof e!=="object"){throw new n("invalid opts")}const{signal:r,method:o,opaque:A,body:i,onInfo:c,responseHeaders:l,throwOnError:p}=e;try{if(typeof s!=="function"){throw new n("invalid callback")}if(typeof t!=="function"){throw new n("invalid factory")}if(r&&typeof r.on!=="function"&&typeof r.addEventListener!=="function"){throw new n("signal must be an EventEmitter or EventTarget")}if(o==="CONNECT"){throw new n("invalid method")}if(c&&typeof c!=="function"){throw new n("invalid onInfo callback")}super("UNDICI_STREAM")}catch(e){if(a.isStream(i)){a.destroy(i.on("error",a.nop),e)}throw e}this.responseHeaders=l||null;this.opaque=A||null;this.factory=t;this.callback=s;this.res=null;this.abort=null;this.context=null;this.trailers=null;this.body=i;this.onInfo=c||null;this.throwOnError=p||false;if(a.isStream(i)){i.on("error",(e=>{this.onError(e)}))}u(this,r)}onConnect(e,t){if(!this.callback){throw new i}this.abort=e;this.context=t}onHeaders(e,t,s,n){const{factory:i,opaque:l,context:u,callback:p,responseHeaders:d}=this;const g=d==="raw"?a.parseRawHeaders(t):a.parseHeaders(t);if(e<200){if(this.onInfo){this.onInfo({statusCode:e,headers:g})}return}this.factory=null;let h;if(this.throwOnError&&e>=400){const s=d==="raw"?a.parseHeaders(t):g;const r=s["content-type"];h=new o;this.callback=null;this.runInAsyncScope(c,null,{callback:p,body:h,contentType:r,statusCode:e,statusMessage:n,headers:g})}else{if(i===null){return}h=this.runInAsyncScope(i,null,{statusCode:e,headers:g,opaque:l,context:u});if(!h||typeof h.write!=="function"||typeof h.end!=="function"||typeof h.on!=="function"){throw new A("expected Writable")}r(h,{readable:false},(e=>{const{callback:t,res:s,opaque:r,trailers:o,abort:n}=this;this.res=null;if(e||!s.readable){a.destroy(s,e)}this.callback=null;this.runInAsyncScope(t,null,e||null,{opaque:r,trailers:o});if(e){n()}}))}h.on("drain",s);this.res=h;const E=h.writableNeedDrain!==undefined?h.writableNeedDrain:h._writableState&&h._writableState.needDrain;return E!==true}onData(e){const{res:t}=this;return t?t.write(e):true}onComplete(e){const{res:t}=this;p(this);if(!t){return}this.trailers=a.parseHeaders(e);t.end()}onError(e){const{res:t,callback:s,opaque:r,body:o}=this;p(this);this.factory=null;if(t){this.res=null;a.destroy(t,e)}else if(s){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(s,null,e,{opaque:r})}))}if(o){this.body=null;a.destroy(o,e)}}}function stream(e,t,s){if(s===undefined){return new Promise(((s,r)=>{stream.call(this,e,t,((e,t)=>e?r(e):s(t)))}))}try{this.dispatch(e,new StreamHandler(e,t,s))}catch(t){if(typeof s!=="function"){throw t}const r=e&&e.opaque;queueMicrotask((()=>s(t,{opaque:r})))}}e.exports=stream},6458:(e,t,s)=>{const{InvalidArgumentError:r,RequestAbortedError:o,SocketError:n}=s(2366);const{AsyncResource:A}=s(852);const i=s(7497);const{addSignal:a,removeSignal:c}=s(8949);const l=s(9491);class UpgradeHandler extends A{constructor(e,t){if(!e||typeof e!=="object"){throw new r("invalid opts")}if(typeof t!=="function"){throw new r("invalid callback")}const{signal:s,opaque:o,responseHeaders:n}=e;if(s&&typeof s.on!=="function"&&typeof s.addEventListener!=="function"){throw new r("signal must be an EventEmitter or EventTarget")}super("UNDICI_UPGRADE");this.responseHeaders=n||null;this.opaque=o||null;this.callback=t;this.abort=null;this.context=null;a(this,s)}onConnect(e,t){if(!this.callback){throw new o}this.abort=e;this.context=null}onHeaders(){throw new n("bad upgrade",null)}onUpgrade(e,t,s){const{callback:r,opaque:o,context:n}=this;l.strictEqual(e,101);c(this);this.callback=null;const A=this.responseHeaders==="raw"?i.parseRawHeaders(t):i.parseHeaders(t);this.runInAsyncScope(r,null,null,{headers:A,socket:s,opaque:o,context:n})}onError(e){const{callback:t,opaque:s}=this;c(this);if(t){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(t,null,e,{opaque:s})}))}}}function upgrade(e,t){if(t===undefined){return new Promise(((t,s)=>{upgrade.call(this,e,((e,r)=>e?s(e):t(r)))}))}try{const s=new UpgradeHandler(e,t);this.dispatch({...e,method:e.method||"GET",upgrade:e.protocol||"Websocket"},s)}catch(s){if(typeof t!=="function"){throw s}const r=e&&e.opaque;queueMicrotask((()=>t(s,{opaque:r})))}}e.exports=upgrade},6499:(e,t,s)=>{e.exports.request=s(8859);e.exports.stream=s(4336);e.exports.pipeline=s(6970);e.exports.upgrade=s(6458);e.exports.connect=s(6589)},2086:(e,t,s)=>{const r=s(9491);const{Readable:o}=s(2781);const{RequestAbortedError:n,NotSupportedError:A,InvalidArgumentError:i}=s(2366);const a=s(7497);const{ReadableStreamFrom:c,toUSVString:l}=s(7497);let u;const p=Symbol("kConsume");const d=Symbol("kReading");const g=Symbol("kBody");const h=Symbol("abort");const E=Symbol("kContentType");const noop=()=>{};e.exports=class BodyReadable extends o{constructor({resume:e,abort:t,contentType:s="",highWaterMark:r=64*1024}){super({autoDestroy:true,read:e,highWaterMark:r});this._readableState.dataEmitted=false;this[h]=t;this[p]=null;this[g]=null;this[E]=s;this[d]=false}destroy(e){if(this.destroyed){return this}if(!e&&!this._readableState.endEmitted){e=new n}if(e){this[h]()}return super.destroy(e)}emit(e,...t){if(e==="data"){this._readableState.dataEmitted=true}else if(e==="error"){this._readableState.errorEmitted=true}return super.emit(e,...t)}on(e,...t){if(e==="data"||e==="readable"){this[d]=true}return super.on(e,...t)}addListener(e,...t){return this.on(e,...t)}off(e,...t){const s=super.off(e,...t);if(e==="data"||e==="readable"){this[d]=this.listenerCount("data")>0||this.listenerCount("readable")>0}return s}removeListener(e,...t){return this.off(e,...t)}push(e){if(this[p]&&e!==null&&this.readableLength===0){consumePush(this[p],e);return this[d]?super.push(e):true}return super.push(e)}async text(){return consume(this,"text")}async json(){return consume(this,"json")}async blob(){return consume(this,"blob")}async arrayBuffer(){return consume(this,"arrayBuffer")}async formData(){throw new A}get bodyUsed(){return a.isDisturbed(this)}get body(){if(!this[g]){this[g]=c(this);if(this[p]){this[g].getReader();r(this[g].locked)}}return this[g]}dump(e){let t=e&&Number.isFinite(e.limit)?e.limit:262144;const s=e&&e.signal;if(s){try{if(typeof s!=="object"||!("aborted"in s)){throw new i("signal must be an AbortSignal")}a.throwIfAborted(s)}catch(e){return Promise.reject(e)}}if(this.closed){return Promise.resolve(null)}return new Promise(((e,r)=>{const o=s?a.addAbortListener(s,(()=>{this.destroy()})):noop;this.on("close",(function(){o();if(s&&s.aborted){r(s.reason||Object.assign(new Error("The operation was aborted"),{name:"AbortError"}))}else{e(null)}})).on("error",noop).on("data",(function(e){t-=e.length;if(t<=0){this.destroy()}})).resume()}))}};function isLocked(e){return e[g]&&e[g].locked===true||e[p]}function isUnusable(e){return a.isDisturbed(e)||isLocked(e)}async function consume(e,t){if(isUnusable(e)){throw new TypeError("unusable")}r(!e[p]);return new Promise(((s,r)=>{e[p]={type:t,stream:e,resolve:s,reject:r,length:0,body:[]};e.on("error",(function(e){consumeFinish(this[p],e)})).on("close",(function(){if(this[p].body!==null){consumeFinish(this[p],new n)}}));process.nextTick(consumeStart,e[p])}))}function consumeStart(e){if(e.body===null){return}const{_readableState:t}=e.stream;for(const s of t.buffer){consumePush(e,s)}if(t.endEmitted){consumeEnd(this[p])}else{e.stream.on("end",(function(){consumeEnd(this[p])}))}e.stream.resume();while(e.stream.read()!=null){}}function consumeEnd(e){const{type:t,body:r,resolve:o,stream:n,length:A}=e;try{if(t==="text"){o(l(Buffer.concat(r)))}else if(t==="json"){o(JSON.parse(Buffer.concat(r)))}else if(t==="arrayBuffer"){const e=new Uint8Array(A);let t=0;for(const s of r){e.set(s,t);t+=s.byteLength}o(e.buffer)}else if(t==="blob"){if(!u){u=s(4300).Blob}o(new u(r,{type:n[E]}))}consumeFinish(e)}catch(e){n.destroy(e)}}function consumePush(e,t){e.length+=t.length;e.body.push(t)}function consumeFinish(e,t){if(e.body===null){return}if(t){e.reject(t)}else{e.resolve()}e.type=null;e.stream=null;e.resolve=null;e.reject=null;e.length=0;e.body=null}},6017:(e,t,s)=>{const r=s(9491);const{ResponseStatusCodeError:o}=s(2366);const{toUSVString:n}=s(7497);async function getResolveErrorBodyCallback({callback:e,body:t,contentType:s,statusCode:A,statusMessage:i,headers:a}){r(t);let c=[];let l=0;for await(const e of t){c.push(e);l+=e.length;if(l>128*1024){c=null;break}}if(A===204||!s||!c){process.nextTick(e,new o(`Response status code ${A}${i?`: ${i}`:""}`,A,a));return}try{if(s.startsWith("application/json")){const t=JSON.parse(n(Buffer.concat(c)));process.nextTick(e,new o(`Response status code ${A}${i?`: ${i}`:""}`,A,a,t));return}if(s.startsWith("text/")){const t=n(Buffer.concat(c));process.nextTick(e,new o(`Response status code ${A}${i?`: ${i}`:""}`,A,a,t));return}}catch(e){}process.nextTick(e,new o(`Response status code ${A}${i?`: ${i}`:""}`,A,a))}e.exports={getResolveErrorBodyCallback:getResolveErrorBodyCallback}},6318:(e,t,s)=>{const{BalancedPoolMissingUpstreamError:r,InvalidArgumentError:o}=s(2366);const{PoolBase:n,kClients:A,kNeedDrain:i,kAddClient:a,kRemoveClient:c,kGetDispatcher:l}=s(4414);const u=s(780);const{kUrl:p,kInterceptors:d}=s(3932);const{parseOrigin:g}=s(7497);const h=Symbol("factory");const E=Symbol("options");const C=Symbol("kGreatestCommonDivisor");const m=Symbol("kCurrentWeight");const Q=Symbol("kIndex");const B=Symbol("kWeight");const I=Symbol("kMaxWeightPerServer");const b=Symbol("kErrorPenalty");function getGreatestCommonDivisor(e,t){if(t===0)return e;return getGreatestCommonDivisor(t,e%t)}function defaultFactory(e,t){return new u(e,t)}class BalancedPool extends n{constructor(e=[],{factory:t=defaultFactory,...s}={}){super();this[E]=s;this[Q]=-1;this[m]=0;this[I]=this[E].maxWeightPerServer||100;this[b]=this[E].errorPenalty||15;if(!Array.isArray(e)){e=[e]}if(typeof t!=="function"){throw new o("factory must be a function.")}this[d]=s.interceptors&&s.interceptors.BalancedPool&&Array.isArray(s.interceptors.BalancedPool)?s.interceptors.BalancedPool:[];this[h]=t;for(const t of e){this.addUpstream(t)}this._updateBalancedPoolStats()}addUpstream(e){const t=g(e).origin;if(this[A].find((e=>e[p].origin===t&&e.closed!==true&&e.destroyed!==true))){return this}const s=this[h](t,Object.assign({},this[E]));this[a](s);s.on("connect",(()=>{s[B]=Math.min(this[I],s[B]+this[b])}));s.on("connectionError",(()=>{s[B]=Math.max(1,s[B]-this[b]);this._updateBalancedPoolStats()}));s.on("disconnect",((...e)=>{const t=e[2];if(t&&t.code==="UND_ERR_SOCKET"){s[B]=Math.max(1,s[B]-this[b]);this._updateBalancedPoolStats()}}));for(const e of this[A]){e[B]=this[I]}this._updateBalancedPoolStats();return this}_updateBalancedPoolStats(){this[C]=this[A].map((e=>e[B])).reduce(getGreatestCommonDivisor,0)}removeUpstream(e){const t=g(e).origin;const s=this[A].find((e=>e[p].origin===t&&e.closed!==true&&e.destroyed!==true));if(s){this[c](s)}return this}get upstreams(){return this[A].filter((e=>e.closed!==true&&e.destroyed!==true)).map((e=>e[p].origin))}[l](){if(this[A].length===0){throw new r}const e=this[A].find((e=>!e[i]&&e.closed!==true&&e.destroyed!==true));if(!e){return}const t=this[A].map((e=>e[i])).reduce(((e,t)=>e&&t),true);if(t){return}let s=0;let o=this[A].findIndex((e=>!e[i]));while(s++this[A][o][B]&&!e[i]){o=this[Q]}if(this[Q]===0){this[m]=this[m]-this[C];if(this[m]<=0){this[m]=this[I]}}if(e[B]>=this[m]&&!e[i]){return e}}this[m]=this[A][o][B];this[Q]=o;return this[A][o]}}e.exports=BalancedPool},2028:(e,t,s)=>{const{kConstruct:r}=s(6648);const{urlEquals:o,fieldValues:n}=s(3651);const{kEnumerableProperty:A,isDisturbed:i}=s(7497);const{kHeadersList:a}=s(3932);const{webidl:c}=s(9111);const{Response:l,cloneResponse:u}=s(3950);const{Request:p}=s(6453);const{kState:d,kHeaders:g,kGuard:h,kRealm:E}=s(5376);const{fetching:C}=s(8802);const{urlIsHttpHttpsScheme:m,createDeferredPromise:Q,readAllBytes:B}=s(5496);const I=s(9491);const{getGlobalDispatcher:b}=s(2899);class Cache{#e;constructor(){if(arguments[0]!==r){c.illegalConstructor()}this.#e=arguments[1]}async match(e,t={}){c.brandCheck(this,Cache);c.argumentLengthCheck(arguments,1,{header:"Cache.match"});e=c.converters.RequestInfo(e);t=c.converters.CacheQueryOptions(t);const s=await this.matchAll(e,t);if(s.length===0){return}return s[0]}async matchAll(e=undefined,t={}){c.brandCheck(this,Cache);if(e!==undefined)e=c.converters.RequestInfo(e);t=c.converters.CacheQueryOptions(t);let s=null;if(e!==undefined){if(e instanceof p){s=e[d];if(s.method!=="GET"&&!t.ignoreMethod){return[]}}else if(typeof e==="string"){s=new p(e)[d]}}const r=[];if(e===undefined){for(const e of this.#e){r.push(e[1])}}else{const e=this.#t(s,t);for(const t of e){r.push(t[1])}}const o=[];for(const e of r){const t=new l(e.body?.source??null);const s=t[d].body;t[d]=e;t[d].body=s;t[g][a]=e.headersList;t[g][h]="immutable";o.push(t)}return Object.freeze(o)}async add(e){c.brandCheck(this,Cache);c.argumentLengthCheck(arguments,1,{header:"Cache.add"});e=c.converters.RequestInfo(e);const t=[e];const s=this.addAll(t);return await s}async addAll(e){c.brandCheck(this,Cache);c.argumentLengthCheck(arguments,1,{header:"Cache.addAll"});e=c.converters["sequence"](e);const t=[];const s=[];for(const t of e){if(typeof t==="string"){continue}const e=t[d];if(!m(e.url)||e.method!=="GET"){throw c.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme when method is not GET."})}}const r=[];for(const o of e){const e=new p(o)[d];if(!m(e.url)){throw c.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme."})}e.initiator="fetch";e.destination="subresource";s.push(e);const A=Q();r.push(C({request:e,dispatcher:b(),processResponse(e){if(e.type==="error"||e.status===206||e.status<200||e.status>299){A.reject(c.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}))}else if(e.headersList.contains("vary")){const t=n(e.headersList.get("vary"));for(const e of t){if(e==="*"){A.reject(c.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(const e of r){e.abort()}return}}}},processResponseEndOfBody(e){if(e.aborted){A.reject(new DOMException("aborted","AbortError"));return}A.resolve(e)}}));t.push(A.promise)}const o=Promise.all(t);const A=await o;const i=[];let a=0;for(const e of A){const t={type:"put",request:s[a],response:e};i.push(t);a++}const l=Q();let u=null;try{this.#s(i)}catch(e){u=e}queueMicrotask((()=>{if(u===null){l.resolve(undefined)}else{l.reject(u)}}));return l.promise}async put(e,t){c.brandCheck(this,Cache);c.argumentLengthCheck(arguments,2,{header:"Cache.put"});e=c.converters.RequestInfo(e);t=c.converters.Response(t);let s=null;if(e instanceof p){s=e[d]}else{s=new p(e)[d]}if(!m(s.url)||s.method!=="GET"){throw c.errors.exception({header:"Cache.put",message:"Expected an http/s scheme when method is not GET"})}const r=t[d];if(r.status===206){throw c.errors.exception({header:"Cache.put",message:"Got 206 status"})}if(r.headersList.contains("vary")){const e=n(r.headersList.get("vary"));for(const t of e){if(t==="*"){throw c.errors.exception({header:"Cache.put",message:"Got * vary field value"})}}}if(r.body&&(i(r.body.stream)||r.body.stream.locked)){throw c.errors.exception({header:"Cache.put",message:"Response body is locked or disturbed"})}const o=u(r);const A=Q();if(r.body!=null){const e=r.body.stream;const t=e.getReader();B(t).then(A.resolve,A.reject)}else{A.resolve(undefined)}const a=[];const l={type:"put",request:s,response:o};a.push(l);const g=await A.promise;if(o.body!=null){o.body.source=g}const h=Q();let E=null;try{this.#s(a)}catch(e){E=e}queueMicrotask((()=>{if(E===null){h.resolve()}else{h.reject(E)}}));return h.promise}async delete(e,t={}){c.brandCheck(this,Cache);c.argumentLengthCheck(arguments,1,{header:"Cache.delete"});e=c.converters.RequestInfo(e);t=c.converters.CacheQueryOptions(t);let s=null;if(e instanceof p){s=e[d];if(s.method!=="GET"&&!t.ignoreMethod){return false}}else{I(typeof e==="string");s=new p(e)[d]}const r=[];const o={type:"delete",request:s,options:t};r.push(o);const n=Q();let A=null;let i;try{i=this.#s(r)}catch(e){A=e}queueMicrotask((()=>{if(A===null){n.resolve(!!i?.length)}else{n.reject(A)}}));return n.promise}async keys(e=undefined,t={}){c.brandCheck(this,Cache);if(e!==undefined)e=c.converters.RequestInfo(e);t=c.converters.CacheQueryOptions(t);let s=null;if(e!==undefined){if(e instanceof p){s=e[d];if(s.method!=="GET"&&!t.ignoreMethod){return[]}}else if(typeof e==="string"){s=new p(e)[d]}}const r=Q();const o=[];if(e===undefined){for(const e of this.#e){o.push(e[0])}}else{const e=this.#t(s,t);for(const t of e){o.push(t[0])}}queueMicrotask((()=>{const e=[];for(const t of o){const s=new p("https://a");s[d]=t;s[g][a]=t.headersList;s[g][h]="immutable";s[E]=t.client;e.push(s)}r.resolve(Object.freeze(e))}));return r.promise}#s(e){const t=this.#e;const s=[...t];const r=[];const o=[];try{for(const s of e){if(s.type!=="delete"&&s.type!=="put"){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'})}if(s.type==="delete"&&s.response!=null){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"})}if(this.#t(s.request,s.options,r).length){throw new DOMException("???","InvalidStateError")}let e;if(s.type==="delete"){e=this.#t(s.request,s.options);if(e.length===0){return[]}for(const s of e){const e=t.indexOf(s);I(e!==-1);t.splice(e,1)}}else if(s.type==="put"){if(s.response==null){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"})}const o=s.request;if(!m(o.url)){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"})}if(o.method!=="GET"){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"})}if(s.options!=null){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"})}e=this.#t(s.request);for(const s of e){const e=t.indexOf(s);I(e!==-1);t.splice(e,1)}t.push([s.request,s.response]);r.push([s.request,s.response])}o.push([s.request,s.response])}return o}catch(e){this.#e.length=0;this.#e=s;throw e}}#t(e,t,s){const r=[];const o=s??this.#e;for(const s of o){const[o,n]=s;if(this.#r(e,o,n,t)){r.push(s)}}return r}#r(e,t,s=null,r){const A=new URL(e.url);const i=new URL(t.url);if(r?.ignoreSearch){i.search="";A.search=""}if(!o(A,i,true)){return false}if(s==null||r?.ignoreVary||!s.headersList.contains("vary")){return true}const a=n(s.headersList.get("vary"));for(const s of a){if(s==="*"){return false}const r=t.headersList.get(s);const o=e.headersList.get(s);if(r!==o){return false}}return true}}Object.defineProperties(Cache.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:true},match:A,matchAll:A,add:A,addAll:A,put:A,delete:A,keys:A});const y=[{key:"ignoreSearch",converter:c.converters.boolean,defaultValue:false},{key:"ignoreMethod",converter:c.converters.boolean,defaultValue:false},{key:"ignoreVary",converter:c.converters.boolean,defaultValue:false}];c.converters.CacheQueryOptions=c.dictionaryConverter(y);c.converters.MultiCacheQueryOptions=c.dictionaryConverter([...y,{key:"cacheName",converter:c.converters.DOMString}]);c.converters.Response=c.interfaceConverter(l);c.converters["sequence"]=c.sequenceConverter(c.converters.RequestInfo);e.exports={Cache:Cache}},4082:(e,t,s)=>{const{kConstruct:r}=s(6648);const{Cache:o}=s(2028);const{webidl:n}=s(9111);const{kEnumerableProperty:A}=s(7497);class CacheStorage{#o=new Map;constructor(){if(arguments[0]!==r){n.illegalConstructor()}}async match(e,t={}){n.brandCheck(this,CacheStorage);n.argumentLengthCheck(arguments,1,{header:"CacheStorage.match"});e=n.converters.RequestInfo(e);t=n.converters.MultiCacheQueryOptions(t);if(t.cacheName!=null){if(this.#o.has(t.cacheName)){const s=this.#o.get(t.cacheName);const n=new o(r,s);return await n.match(e,t)}}else{for(const s of this.#o.values()){const n=new o(r,s);const A=await n.match(e,t);if(A!==undefined){return A}}}}async has(e){n.brandCheck(this,CacheStorage);n.argumentLengthCheck(arguments,1,{header:"CacheStorage.has"});e=n.converters.DOMString(e);return this.#o.has(e)}async open(e){n.brandCheck(this,CacheStorage);n.argumentLengthCheck(arguments,1,{header:"CacheStorage.open"});e=n.converters.DOMString(e);if(this.#o.has(e)){const t=this.#o.get(e);return new o(r,t)}const t=[];this.#o.set(e,t);return new o(r,t)}async delete(e){n.brandCheck(this,CacheStorage);n.argumentLengthCheck(arguments,1,{header:"CacheStorage.delete"});e=n.converters.DOMString(e);return this.#o.delete(e)}async keys(){n.brandCheck(this,CacheStorage);const e=this.#o.keys();return[...e]}}Object.defineProperties(CacheStorage.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:true},match:A,has:A,open:A,delete:A,keys:A});e.exports={CacheStorage:CacheStorage}},6648:(e,t,s)=>{e.exports={kConstruct:s(3932).kConstruct}},3651:(e,t,s)=>{const r=s(9491);const{URLSerializer:o}=s(5958);const{isValidHeaderName:n}=s(5496);function urlEquals(e,t,s=false){const r=o(e,s);const n=o(t,s);return r===n}function fieldValues(e){r(e!==null);const t=[];for(let s of e.split(",")){s=s.trim();if(!s.length){continue}else if(!n(s)){continue}t.push(s)}return t}e.exports={urlEquals:urlEquals,fieldValues:fieldValues}},1735:(e,t,s)=>{const r=s(9491);const o=s(1808);const n=s(3685);const{pipeline:A}=s(2781);const i=s(7497);const a=s(2882);const c=s(2896);const l=s(8757);const{RequestContentLengthMismatchError:u,ResponseContentLengthMismatchError:p,InvalidArgumentError:d,RequestAbortedError:g,HeadersTimeoutError:h,HeadersOverflowError:E,SocketError:C,InformationalError:m,BodyTimeoutError:Q,HTTPParserError:B,ResponseExceededMaxSizeError:I,ClientDestroyedError:b}=s(2366);const y=s(9218);const{kUrl:w,kReset:v,kServerName:R,kClient:k,kBusy:D,kParser:x,kConnect:F,kBlocking:S,kResuming:T,kRunning:N,kPending:U,kSize:L,kWriting:_,kQueue:M,kConnected:G,kConnecting:O,kNeedDrain:P,kNoRef:H,kKeepAliveDefaultTimeout:Y,kHostHeader:J,kPendingIdx:V,kRunningIdx:q,kError:W,kPipelining:j,kSocket:z,kKeepAliveTimeoutValue:K,kMaxHeadersSize:X,kKeepAliveMaxTimeout:Z,kKeepAliveTimeoutThreshold:$,kHeadersTimeout:ee,kBodyTimeout:te,kStrictContentLength:se,kConnector:re,kMaxRedirections:oe,kMaxRequests:ne,kCounter:Ae,kClose:ie,kDestroy:ae,kDispatch:ce,kInterceptors:le,kLocalAddress:ue,kMaxResponseSize:pe,kHTTPConnVersion:de,kHost:ge,kHTTP2Session:he,kHTTP2SessionState:Ee,kHTTP2BuildRequest:fe,kHTTP2CopyHeaders:Ce,kHTTP1BuildRequest:me}=s(3932);let Qe;try{Qe=s(5158)}catch{Qe={constants:{}}}const{constants:{HTTP2_HEADER_AUTHORITY:Be,HTTP2_HEADER_METHOD:Ie,HTTP2_HEADER_PATH:be,HTTP2_HEADER_SCHEME:ye,HTTP2_HEADER_CONTENT_LENGTH:we,HTTP2_HEADER_EXPECT:ve,HTTP2_HEADER_STATUS:Re}}=Qe;let ke=false;const De=Buffer[Symbol.species];const xe=Symbol("kClosedResolve");const Fe={};try{const e=s(7643);Fe.sendHeaders=e.channel("undici:client:sendHeaders");Fe.beforeConnect=e.channel("undici:client:beforeConnect");Fe.connectError=e.channel("undici:client:connectError");Fe.connected=e.channel("undici:client:connected")}catch{Fe.sendHeaders={hasSubscribers:false};Fe.beforeConnect={hasSubscribers:false};Fe.connectError={hasSubscribers:false};Fe.connected={hasSubscribers:false}}class Client extends l{constructor(e,{interceptors:t,maxHeaderSize:s,headersTimeout:r,socketTimeout:A,requestTimeout:a,connectTimeout:c,bodyTimeout:l,idleTimeout:u,keepAlive:p,keepAliveTimeout:g,maxKeepAliveTimeout:h,keepAliveMaxTimeout:E,keepAliveTimeoutThreshold:C,socketPath:m,pipelining:Q,tls:B,strictContentLength:I,maxCachedSessions:b,maxRedirections:v,connect:k,maxRequestsPerClient:D,localAddress:x,maxResponseSize:F,autoSelectFamily:S,autoSelectFamilyAttemptTimeout:N,allowH2:U,maxConcurrentStreams:L}={}){super();if(p!==undefined){throw new d("unsupported keepAlive, use pipelining=0 instead")}if(A!==undefined){throw new d("unsupported socketTimeout, use headersTimeout & bodyTimeout instead")}if(a!==undefined){throw new d("unsupported requestTimeout, use headersTimeout & bodyTimeout instead")}if(u!==undefined){throw new d("unsupported idleTimeout, use keepAliveTimeout instead")}if(h!==undefined){throw new d("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead")}if(s!=null&&!Number.isFinite(s)){throw new d("invalid maxHeaderSize")}if(m!=null&&typeof m!=="string"){throw new d("invalid socketPath")}if(c!=null&&(!Number.isFinite(c)||c<0)){throw new d("invalid connectTimeout")}if(g!=null&&(!Number.isFinite(g)||g<=0)){throw new d("invalid keepAliveTimeout")}if(E!=null&&(!Number.isFinite(E)||E<=0)){throw new d("invalid keepAliveMaxTimeout")}if(C!=null&&!Number.isFinite(C)){throw new d("invalid keepAliveTimeoutThreshold")}if(r!=null&&(!Number.isInteger(r)||r<0)){throw new d("headersTimeout must be a positive integer or zero")}if(l!=null&&(!Number.isInteger(l)||l<0)){throw new d("bodyTimeout must be a positive integer or zero")}if(k!=null&&typeof k!=="function"&&typeof k!=="object"){throw new d("connect must be a function or an object")}if(v!=null&&(!Number.isInteger(v)||v<0)){throw new d("maxRedirections must be a positive number")}if(D!=null&&(!Number.isInteger(D)||D<0)){throw new d("maxRequestsPerClient must be a positive number")}if(x!=null&&(typeof x!=="string"||o.isIP(x)===0)){throw new d("localAddress must be valid string IP address")}if(F!=null&&(!Number.isInteger(F)||F<-1)){throw new d("maxResponseSize must be a positive number")}if(N!=null&&(!Number.isInteger(N)||N<-1)){throw new d("autoSelectFamilyAttemptTimeout must be a positive number")}if(U!=null&&typeof U!=="boolean"){throw new d("allowH2 must be a valid boolean value")}if(L!=null&&(typeof L!=="number"||L<1)){throw new d("maxConcurrentStreams must be a possitive integer, greater than 0")}if(typeof k!=="function"){k=y({...B,maxCachedSessions:b,allowH2:U,socketPath:m,timeout:c,...i.nodeHasAutoSelectFamily&&S?{autoSelectFamily:S,autoSelectFamilyAttemptTimeout:N}:undefined,...k})}this[le]=t&&t.Client&&Array.isArray(t.Client)?t.Client:[Te({maxRedirections:v})];this[w]=i.parseOrigin(e);this[re]=k;this[z]=null;this[j]=Q!=null?Q:1;this[X]=s||n.maxHeaderSize;this[Y]=g==null?4e3:g;this[Z]=E==null?6e5:E;this[$]=C==null?1e3:C;this[K]=this[Y];this[R]=null;this[ue]=x!=null?x:null;this[T]=0;this[P]=0;this[J]=`host: ${this[w].hostname}${this[w].port?`:${this[w].port}`:""}\r\n`;this[te]=l!=null?l:3e5;this[ee]=r!=null?r:3e5;this[se]=I==null?true:I;this[oe]=v;this[ne]=D;this[xe]=null;this[pe]=F>-1?F:-1;this[de]="h1";this[he]=null;this[Ee]=!U?null:{openStreams:0,maxConcurrentStreams:L!=null?L:100};this[ge]=`${this[w].hostname}${this[w].port?`:${this[w].port}`:""}`;this[M]=[];this[q]=0;this[V]=0}get pipelining(){return this[j]}set pipelining(e){this[j]=e;resume(this,true)}get[U](){return this[M].length-this[V]}get[N](){return this[V]-this[q]}get[L](){return this[M].length-this[q]}get[G](){return!!this[z]&&!this[O]&&!this[z].destroyed}get[D](){const e=this[z];return e&&(e[v]||e[_]||e[S])||this[L]>=(this[j]||1)||this[U]>0}[F](e){connect(this);this.once("connect",e)}[ce](e,t){const s=e.origin||this[w].origin;const r=this[de]==="h2"?c[fe](s,e,t):c[me](s,e,t);this[M].push(r);if(this[T]){}else if(i.bodyLength(r.body)==null&&i.isIterable(r.body)){this[T]=1;process.nextTick(resume,this)}else{resume(this,true)}if(this[T]&&this[P]!==2&&this[D]){this[P]=2}return this[P]<2}async[ie](){return new Promise((e=>{if(!this[L]){e(null)}else{this[xe]=e}}))}async[ae](e){return new Promise((t=>{const s=this[M].splice(this[V]);for(let t=0;t{if(this[xe]){this[xe]();this[xe]=null}t()};if(this[he]!=null){i.destroy(this[he],e);this[he]=null;this[Ee]=null}if(!this[z]){queueMicrotask(callback)}else{i.destroy(this[z].on("close",callback),e)}resume(this)}))}}function onHttp2SessionError(e){r(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID");this[z][W]=e;onError(this[k],e)}function onHttp2FrameError(e,t,s){const r=new m(`HTTP/2: "frameError" received - type ${e}, code ${t}`);if(s===0){this[z][W]=r;onError(this[k],r)}}function onHttp2SessionEnd(){i.destroy(this,new C("other side closed"));i.destroy(this[z],new C("other side closed"))}function onHTTP2GoAway(e){const t=this[k];const s=new m(`HTTP/2: "GOAWAY" frame received with code ${e}`);t[z]=null;t[he]=null;if(t.destroyed){r(this[U]===0);const e=t[M].splice(t[q]);for(let t=0;t0){const e=t[M][t[q]];t[M][t[q]++]=null;errorRequest(t,e,s)}t[V]=t[q];r(t[N]===0);t.emit("disconnect",t[w],[t],s);resume(t)}const Se=s(5749);const Te=s(3167);const Ne=Buffer.alloc(0);async function lazyllhttp(){const e=process.env.JEST_WORKER_ID?s(9827):undefined;let t;try{t=await WebAssembly.compile(Buffer.from(s(7785),"base64"))}catch(r){t=await WebAssembly.compile(Buffer.from(e||s(9827),"base64"))}return await WebAssembly.instantiate(t,{env:{wasm_on_url:(e,t,s)=>0,wasm_on_status:(e,t,s)=>{r.strictEqual(_e.ptr,e);const o=t-Oe+Me.byteOffset;return _e.onStatus(new De(Me.buffer,o,s))||0},wasm_on_message_begin:e=>{r.strictEqual(_e.ptr,e);return _e.onMessageBegin()||0},wasm_on_header_field:(e,t,s)=>{r.strictEqual(_e.ptr,e);const o=t-Oe+Me.byteOffset;return _e.onHeaderField(new De(Me.buffer,o,s))||0},wasm_on_header_value:(e,t,s)=>{r.strictEqual(_e.ptr,e);const o=t-Oe+Me.byteOffset;return _e.onHeaderValue(new De(Me.buffer,o,s))||0},wasm_on_headers_complete:(e,t,s,o)=>{r.strictEqual(_e.ptr,e);return _e.onHeadersComplete(t,Boolean(s),Boolean(o))||0},wasm_on_body:(e,t,s)=>{r.strictEqual(_e.ptr,e);const o=t-Oe+Me.byteOffset;return _e.onBody(new De(Me.buffer,o,s))||0},wasm_on_message_complete:e=>{r.strictEqual(_e.ptr,e);return _e.onMessageComplete()||0}}})}let Ue=null;let Le=lazyllhttp();Le.catch();let _e=null;let Me=null;let Ge=0;let Oe=null;const Pe=1;const He=2;const Ye=3;class Parser{constructor(e,t,{exports:s}){r(Number.isFinite(e[X])&&e[X]>0);this.llhttp=s;this.ptr=this.llhttp.llhttp_alloc(Se.TYPE.RESPONSE);this.client=e;this.socket=t;this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.statusCode=null;this.statusText="";this.upgrade=false;this.headers=[];this.headersSize=0;this.headersMaxSize=e[X];this.shouldKeepAlive=false;this.paused=false;this.resume=this.resume.bind(this);this.bytesRead=0;this.keepAlive="";this.contentLength="";this.connection="";this.maxResponseSize=e[pe]}setTimeout(e,t){this.timeoutType=t;if(e!==this.timeoutValue){a.clearTimeout(this.timeout);if(e){this.timeout=a.setTimeout(onParserTimeout,e,this);if(this.timeout.unref){this.timeout.unref()}}else{this.timeout=null}this.timeoutValue=e}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}}resume(){if(this.socket.destroyed||!this.paused){return}r(this.ptr!=null);r(_e==null);this.llhttp.llhttp_resume(this.ptr);r(this.timeoutType===He);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}this.paused=false;this.execute(this.socket.read()||Ne);this.readMore()}readMore(){while(!this.paused&&this.ptr){const e=this.socket.read();if(e===null){break}this.execute(e)}}execute(e){r(this.ptr!=null);r(_e==null);r(!this.paused);const{socket:t,llhttp:s}=this;if(e.length>Ge){if(Oe){s.free(Oe)}Ge=Math.ceil(e.length/4096)*4096;Oe=s.malloc(Ge)}new Uint8Array(s.memory.buffer,Oe,Ge).set(e);try{let r;try{Me=e;_e=this;r=s.llhttp_execute(this.ptr,Oe,e.length)}catch(e){throw e}finally{_e=null;Me=null}const o=s.llhttp_get_error_pos(this.ptr)-Oe;if(r===Se.ERROR.PAUSED_UPGRADE){this.onUpgrade(e.slice(o))}else if(r===Se.ERROR.PAUSED){this.paused=true;t.unshift(e.slice(o))}else if(r!==Se.ERROR.OK){const t=s.llhttp_get_error_reason(this.ptr);let n="";if(t){const e=new Uint8Array(s.memory.buffer,t).indexOf(0);n="Response does not match the HTTP/1.1 protocol ("+Buffer.from(s.memory.buffer,t,e).toString()+")"}throw new B(n,Se.ERROR[r],e.slice(o))}}catch(e){i.destroy(t,e)}}destroy(){r(this.ptr!=null);r(_e==null);this.llhttp.llhttp_free(this.ptr);this.ptr=null;a.clearTimeout(this.timeout);this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.paused=false}onStatus(e){this.statusText=e.toString()}onMessageBegin(){const{socket:e,client:t}=this;if(e.destroyed){return-1}const s=t[M][t[q]];if(!s){return-1}}onHeaderField(e){const t=this.headers.length;if((t&1)===0){this.headers.push(e)}else{this.headers[t-1]=Buffer.concat([this.headers[t-1],e])}this.trackHeader(e.length)}onHeaderValue(e){let t=this.headers.length;if((t&1)===1){this.headers.push(e);t+=1}else{this.headers[t-1]=Buffer.concat([this.headers[t-1],e])}const s=this.headers[t-2];if(s.length===10&&s.toString().toLowerCase()==="keep-alive"){this.keepAlive+=e.toString()}else if(s.length===10&&s.toString().toLowerCase()==="connection"){this.connection+=e.toString()}else if(s.length===14&&s.toString().toLowerCase()==="content-length"){this.contentLength+=e.toString()}this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e;if(this.headersSize>=this.headersMaxSize){i.destroy(this.socket,new E)}}onUpgrade(e){const{upgrade:t,client:s,socket:o,headers:n,statusCode:A}=this;r(t);const a=s[M][s[q]];r(a);r(!o.destroyed);r(o===s[z]);r(!this.paused);r(a.upgrade||a.method==="CONNECT");this.statusCode=null;this.statusText="";this.shouldKeepAlive=null;r(this.headers.length%2===0);this.headers=[];this.headersSize=0;o.unshift(e);o[x].destroy();o[x]=null;o[k]=null;o[W]=null;o.removeListener("error",onSocketError).removeListener("readable",onSocketReadable).removeListener("end",onSocketEnd).removeListener("close",onSocketClose);s[z]=null;s[M][s[q]++]=null;s.emit("disconnect",s[w],[s],new m("upgrade"));try{a.onUpgrade(A,n,o)}catch(e){i.destroy(o,e)}resume(s)}onHeadersComplete(e,t,s){const{client:o,socket:n,headers:A,statusText:a}=this;if(n.destroyed){return-1}const c=o[M][o[q]];if(!c){return-1}r(!this.upgrade);r(this.statusCode<200);if(e===100){i.destroy(n,new C("bad response",i.getSocketInfo(n)));return-1}if(t&&!c.upgrade){i.destroy(n,new C("bad upgrade",i.getSocketInfo(n)));return-1}r.strictEqual(this.timeoutType,Pe);this.statusCode=e;this.shouldKeepAlive=s||c.method==="HEAD"&&!n[v]&&this.connection.toLowerCase()==="keep-alive";if(this.statusCode>=200){const e=c.bodyTimeout!=null?c.bodyTimeout:o[te];this.setTimeout(e,He)}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}if(c.method==="CONNECT"){r(o[N]===1);this.upgrade=true;return 2}if(t){r(o[N]===1);this.upgrade=true;return 2}r(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(this.shouldKeepAlive&&o[j]){const e=this.keepAlive?i.parseKeepAliveTimeout(this.keepAlive):null;if(e!=null){const t=Math.min(e-o[$],o[Z]);if(t<=0){n[v]=true}else{o[K]=t}}else{o[K]=o[Y]}}else{n[v]=true}const l=c.onHeaders(e,A,this.resume,a)===false;if(c.aborted){return-1}if(c.method==="HEAD"){return 1}if(e<200){return 1}if(n[S]){n[S]=false;resume(o)}return l?Se.ERROR.PAUSED:0}onBody(e){const{client:t,socket:s,statusCode:o,maxResponseSize:n}=this;if(s.destroyed){return-1}const A=t[M][t[q]];r(A);r.strictEqual(this.timeoutType,He);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}r(o>=200);if(n>-1&&this.bytesRead+e.length>n){i.destroy(s,new I);return-1}this.bytesRead+=e.length;if(A.onData(e)===false){return Se.ERROR.PAUSED}}onMessageComplete(){const{client:e,socket:t,statusCode:s,upgrade:o,headers:n,contentLength:A,bytesRead:a,shouldKeepAlive:c}=this;if(t.destroyed&&(!s||c)){return-1}if(o){return}const l=e[M][e[q]];r(l);r(s>=100);this.statusCode=null;this.statusText="";this.bytesRead=0;this.contentLength="";this.keepAlive="";this.connection="";r(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(s<200){return}if(l.method!=="HEAD"&&A&&a!==parseInt(A,10)){i.destroy(t,new p);return-1}l.onComplete(n);e[M][e[q]++]=null;if(t[_]){r.strictEqual(e[N],0);i.destroy(t,new m("reset"));return Se.ERROR.PAUSED}else if(!c){i.destroy(t,new m("reset"));return Se.ERROR.PAUSED}else if(t[v]&&e[N]===0){i.destroy(t,new m("reset"));return Se.ERROR.PAUSED}else if(e[j]===1){setImmediate(resume,e)}else{resume(e)}}}function onParserTimeout(e){const{socket:t,timeoutType:s,client:o}=e;if(s===Pe){if(!t[_]||t.writableNeedDrain||o[N]>1){r(!e.paused,"cannot be paused while waiting for headers");i.destroy(t,new h)}}else if(s===He){if(!e.paused){i.destroy(t,new Q)}}else if(s===Ye){r(o[N]===0&&o[K]);i.destroy(t,new m("socket idle timeout"))}}function onSocketReadable(){const{[x]:e}=this;if(e){e.readMore()}}function onSocketError(e){const{[k]:t,[x]:s}=this;r(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID");if(t[de]!=="h2"){if(e.code==="ECONNRESET"&&s.statusCode&&!s.shouldKeepAlive){s.onMessageComplete();return}}this[W]=e;onError(this[k],e)}function onError(e,t){if(e[N]===0&&t.code!=="UND_ERR_INFO"&&t.code!=="UND_ERR_SOCKET"){r(e[V]===e[q]);const s=e[M].splice(e[q]);for(let r=0;r0&&s.code!=="UND_ERR_INFO"){const t=e[M][e[q]];e[M][e[q]++]=null;errorRequest(e,t,s)}e[V]=e[q];r(e[N]===0);e.emit("disconnect",e[w],[e],s);resume(e)}async function connect(e){r(!e[O]);r(!e[z]);let{host:t,hostname:s,protocol:n,port:A}=e[w];if(s[0]==="["){const e=s.indexOf("]");r(e!==-1);const t=s.substring(1,e);r(o.isIP(t));s=t}e[O]=true;if(Fe.beforeConnect.hasSubscribers){Fe.beforeConnect.publish({connectParams:{host:t,hostname:s,protocol:n,port:A,servername:e[R],localAddress:e[ue]},connector:e[re]})}try{const o=await new Promise(((r,o)=>{e[re]({host:t,hostname:s,protocol:n,port:A,servername:e[R],localAddress:e[ue]},((e,t)=>{if(e){o(e)}else{r(t)}}))}));if(e.destroyed){i.destroy(o.on("error",(()=>{})),new b);return}e[O]=false;r(o);const a=o.alpnProtocol==="h2";if(a){if(!ke){ke=true;process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"})}const t=Qe.connect(e[w],{createConnection:()=>o,peerMaxConcurrentStreams:e[Ee].maxConcurrentStreams});e[de]="h2";t[k]=e;t[z]=o;t.on("error",onHttp2SessionError);t.on("frameError",onHttp2FrameError);t.on("end",onHttp2SessionEnd);t.on("goaway",onHTTP2GoAway);t.on("close",onSocketClose);t.unref();e[he]=t;o[he]=t}else{if(!Ue){Ue=await Le;Le=null}o[H]=false;o[_]=false;o[v]=false;o[S]=false;o[x]=new Parser(e,o,Ue)}o[Ae]=0;o[ne]=e[ne];o[k]=e;o[W]=null;o.on("error",onSocketError).on("readable",onSocketReadable).on("end",onSocketEnd).on("close",onSocketClose);e[z]=o;if(Fe.connected.hasSubscribers){Fe.connected.publish({connectParams:{host:t,hostname:s,protocol:n,port:A,servername:e[R],localAddress:e[ue]},connector:e[re],socket:o})}e.emit("connect",e[w],[e])}catch(o){if(e.destroyed){return}e[O]=false;if(Fe.connectError.hasSubscribers){Fe.connectError.publish({connectParams:{host:t,hostname:s,protocol:n,port:A,servername:e[R],localAddress:e[ue]},connector:e[re],error:o})}if(o.code==="ERR_TLS_CERT_ALTNAME_INVALID"){r(e[N]===0);while(e[U]>0&&e[M][e[V]].servername===e[R]){const t=e[M][e[V]++];errorRequest(e,t,o)}}else{onError(e,o)}e.emit("connectionError",e[w],[e],o)}resume(e)}function emitDrain(e){e[P]=0;e.emit("drain",e[w],[e])}function resume(e,t){if(e[T]===2){return}e[T]=2;_resume(e,t);e[T]=0;if(e[q]>256){e[M].splice(0,e[q]);e[V]-=e[q];e[q]=0}}function _resume(e,t){while(true){if(e.destroyed){r(e[U]===0);return}if(e[xe]&&!e[L]){e[xe]();e[xe]=null;return}const s=e[z];if(s&&!s.destroyed&&s.alpnProtocol!=="h2"){if(e[L]===0){if(!s[H]&&s.unref){s.unref();s[H]=true}}else if(s[H]&&s.ref){s.ref();s[H]=false}if(e[L]===0){if(s[x].timeoutType!==Ye){s[x].setTimeout(e[K],Ye)}}else if(e[N]>0&&s[x].statusCode<200){if(s[x].timeoutType!==Pe){const t=e[M][e[q]];const r=t.headersTimeout!=null?t.headersTimeout:e[ee];s[x].setTimeout(r,Pe)}}}if(e[D]){e[P]=2}else if(e[P]===2){if(t){e[P]=1;process.nextTick(emitDrain,e)}else{emitDrain(e)}continue}if(e[U]===0){return}if(e[N]>=(e[j]||1)){return}const o=e[M][e[V]];if(e[w].protocol==="https:"&&e[R]!==o.servername){if(e[N]>0){return}e[R]=o.servername;if(s&&s.servername!==o.servername){i.destroy(s,new m("servername changed"));return}}if(e[O]){return}if(!s&&!e[he]){connect(e);return}if(s.destroyed||s[_]||s[v]||s[S]){return}if(e[N]>0&&!o.idempotent){return}if(e[N]>0&&(o.upgrade||o.method==="CONNECT")){return}if(e[N]>0&&i.bodyLength(o.body)!==0&&(i.isStream(o.body)||i.isAsyncIterable(o.body))){return}if(!o.aborted&&write(e,o)){e[V]++}else{e[M].splice(e[V],1)}}}function shouldSendContentLength(e){return e!=="GET"&&e!=="HEAD"&&e!=="OPTIONS"&&e!=="TRACE"&&e!=="CONNECT"}function write(e,t){if(e[de]==="h2"){writeH2(e,e[he],t);return}const{body:s,method:o,path:n,host:A,upgrade:a,headers:c,blocking:l,reset:p}=t;const d=o==="PUT"||o==="POST"||o==="PATCH";if(s&&typeof s.read==="function"){s.read(0)}const h=i.bodyLength(s);let E=h;if(E===null){E=t.contentLength}if(E===0&&!d){E=null}if(shouldSendContentLength(o)&&E>0&&t.contentLength!==null&&t.contentLength!==E){if(e[se]){errorRequest(e,t,new u);return false}process.emitWarning(new u)}const C=e[z];try{t.onConnect((s=>{if(t.aborted||t.completed){return}errorRequest(e,t,s||new g);i.destroy(C,new m("aborted"))}))}catch(s){errorRequest(e,t,s)}if(t.aborted){return false}if(o==="HEAD"){C[v]=true}if(a||o==="CONNECT"){C[v]=true}if(p!=null){C[v]=p}if(e[ne]&&C[Ae]++>=e[ne]){C[v]=true}if(l){C[S]=true}let Q=`${o} ${n} HTTP/1.1\r\n`;if(typeof A==="string"){Q+=`host: ${A}\r\n`}else{Q+=e[J]}if(a){Q+=`connection: upgrade\r\nupgrade: ${a}\r\n`}else if(e[j]&&!C[v]){Q+="connection: keep-alive\r\n"}else{Q+="connection: close\r\n"}if(c){Q+=c}if(Fe.sendHeaders.hasSubscribers){Fe.sendHeaders.publish({request:t,headers:Q,socket:C})}if(!s||h===0){if(E===0){C.write(`${Q}content-length: 0\r\n\r\n`,"latin1")}else{r(E===null,"no body must not have content length");C.write(`${Q}\r\n`,"latin1")}t.onRequestSent()}else if(i.isBuffer(s)){r(E===s.byteLength,"buffer body must have content length");C.cork();C.write(`${Q}content-length: ${E}\r\n\r\n`,"latin1");C.write(s);C.uncork();t.onBodySent(s);t.onRequestSent();if(!d){C[v]=true}}else if(i.isBlobLike(s)){if(typeof s.stream==="function"){writeIterable({body:s.stream(),client:e,request:t,socket:C,contentLength:E,header:Q,expectsPayload:d})}else{writeBlob({body:s,client:e,request:t,socket:C,contentLength:E,header:Q,expectsPayload:d})}}else if(i.isStream(s)){writeStream({body:s,client:e,request:t,socket:C,contentLength:E,header:Q,expectsPayload:d})}else if(i.isIterable(s)){writeIterable({body:s,client:e,request:t,socket:C,contentLength:E,header:Q,expectsPayload:d})}else{r(false)}return true}function writeH2(e,t,s){const{body:o,method:n,path:A,host:a,upgrade:l,expectContinue:p,signal:d,headers:h}=s;let E;if(typeof h==="string")E=c[Ce](h.trim());else E=h;if(l){errorRequest(e,s,new Error("Upgrade not supported for H2"));return false}try{s.onConnect((t=>{if(s.aborted||s.completed){return}errorRequest(e,s,t||new g)}))}catch(t){errorRequest(e,s,t)}if(s.aborted){return false}let C;const Q=e[Ee];E[Be]=a||e[ge];E[Ie]=n;if(n==="CONNECT"){t.ref();C=t.request(E,{endStream:false,signal:d});if(C.id&&!C.pending){s.onUpgrade(null,null,C);++Q.openStreams}else{C.once("ready",(()=>{s.onUpgrade(null,null,C);++Q.openStreams}))}C.once("close",(()=>{Q.openStreams-=1;if(Q.openStreams===0)t.unref()}));return true}E[be]=A;E[ye]="https";const B=n==="PUT"||n==="POST"||n==="PATCH";if(o&&typeof o.read==="function"){o.read(0)}let I=i.bodyLength(o);if(I==null){I=s.contentLength}if(I===0||!B){I=null}if(shouldSendContentLength(n)&&I>0&&s.contentLength!=null&&s.contentLength!==I){if(e[se]){errorRequest(e,s,new u);return false}process.emitWarning(new u)}if(I!=null){r(o,"no body must not have content length");E[we]=`${I}`}t.ref();const b=n==="GET"||n==="HEAD";if(p){E[ve]="100-continue";C=t.request(E,{endStream:b,signal:d});C.once("continue",writeBodyH2)}else{C=t.request(E,{endStream:b,signal:d});writeBodyH2()}++Q.openStreams;C.once("response",(e=>{const{[Re]:t,...r}=e;if(s.onHeaders(Number(t),r,C.resume.bind(C),"")===false){C.pause()}}));C.once("end",(()=>{s.onComplete([])}));C.on("data",(e=>{if(s.onData(e)===false){C.pause()}}));C.once("close",(()=>{Q.openStreams-=1;if(Q.openStreams===0){t.unref()}}));C.once("error",(function(t){if(e[he]&&!e[he].destroyed&&!this.closed&&!this.destroyed){Q.streams-=1;i.destroy(C,t)}}));C.once("frameError",((t,r)=>{const o=new m(`HTTP/2: "frameError" received - type ${t}, code ${r}`);errorRequest(e,s,o);if(e[he]&&!e[he].destroyed&&!this.closed&&!this.destroyed){Q.streams-=1;i.destroy(C,o)}}));return true;function writeBodyH2(){if(!o){s.onRequestSent()}else if(i.isBuffer(o)){r(I===o.byteLength,"buffer body must have content length");C.cork();C.write(o);C.uncork();C.end();s.onBodySent(o);s.onRequestSent()}else if(i.isBlobLike(o)){if(typeof o.stream==="function"){writeIterable({client:e,request:s,contentLength:I,h2stream:C,expectsPayload:B,body:o.stream(),socket:e[z],header:""})}else{writeBlob({body:o,client:e,request:s,contentLength:I,expectsPayload:B,h2stream:C,header:"",socket:e[z]})}}else if(i.isStream(o)){writeStream({body:o,client:e,request:s,contentLength:I,expectsPayload:B,socket:e[z],h2stream:C,header:""})}else if(i.isIterable(o)){writeIterable({body:o,client:e,request:s,contentLength:I,expectsPayload:B,header:"",h2stream:C,socket:e[z]})}else{r(false)}}}function writeStream({h2stream:e,body:t,client:s,request:o,socket:n,contentLength:a,header:c,expectsPayload:l}){r(a!==0||s[N]===0,"stream body cannot be pipelined");if(s[de]==="h2"){const d=A(t,e,(s=>{if(s){i.destroy(t,s);i.destroy(e,s)}else{o.onRequestSent()}}));d.on("data",onPipeData);d.once("end",(()=>{d.removeListener("data",onPipeData);i.destroy(d)}));function onPipeData(e){o.onBodySent(e)}return}let u=false;const p=new AsyncWriter({socket:n,request:o,contentLength:a,client:s,expectsPayload:l,header:c});const onData=function(e){if(u){return}try{if(!p.write(e)&&this.pause){this.pause()}}catch(e){i.destroy(this,e)}};const onDrain=function(){if(u){return}if(t.resume){t.resume()}};const onAbort=function(){if(u){return}const e=new g;queueMicrotask((()=>onFinished(e)))};const onFinished=function(e){if(u){return}u=true;r(n.destroyed||n[_]&&s[N]<=1);n.off("drain",onDrain).off("error",onFinished);t.removeListener("data",onData).removeListener("end",onFinished).removeListener("error",onFinished).removeListener("close",onAbort);if(!e){try{p.end()}catch(t){e=t}}p.destroy(e);if(e&&(e.code!=="UND_ERR_INFO"||e.message!=="reset")){i.destroy(t,e)}else{i.destroy(t)}};t.on("data",onData).on("end",onFinished).on("error",onFinished).on("close",onAbort);if(t.resume){t.resume()}n.on("drain",onDrain).on("error",onFinished)}async function writeBlob({h2stream:e,body:t,client:s,request:o,socket:n,contentLength:A,header:a,expectsPayload:c}){r(A===t.size,"blob body must have content length");const l=s[de]==="h2";try{if(A!=null&&A!==t.size){throw new u}const r=Buffer.from(await t.arrayBuffer());if(l){e.cork();e.write(r);e.uncork()}else{n.cork();n.write(`${a}content-length: ${A}\r\n\r\n`,"latin1");n.write(r);n.uncork()}o.onBodySent(r);o.onRequestSent();if(!c){n[v]=true}resume(s)}catch(t){i.destroy(l?e:n,t)}}async function writeIterable({h2stream:e,body:t,client:s,request:o,socket:n,contentLength:A,header:i,expectsPayload:a}){r(A!==0||s[N]===0,"iterator body cannot be pipelined");let c=null;function onDrain(){if(c){const e=c;c=null;e()}}const waitForDrain=()=>new Promise(((e,t)=>{r(c===null);if(n[W]){t(n[W])}else{c=e}}));if(s[de]==="h2"){e.on("close",onDrain).on("drain",onDrain);try{for await(const s of t){if(n[W]){throw n[W]}const t=e.write(s);o.onBodySent(s);if(!t){await waitForDrain()}}}catch(t){e.destroy(t)}finally{o.onRequestSent();e.end();e.off("close",onDrain).off("drain",onDrain)}return}n.on("close",onDrain).on("drain",onDrain);const l=new AsyncWriter({socket:n,request:o,contentLength:A,client:s,expectsPayload:a,header:i});try{for await(const e of t){if(n[W]){throw n[W]}if(!l.write(e)){await waitForDrain()}}l.end()}catch(e){l.destroy(e)}finally{n.off("close",onDrain).off("drain",onDrain)}}class AsyncWriter{constructor({socket:e,request:t,contentLength:s,client:r,expectsPayload:o,header:n}){this.socket=e;this.request=t;this.contentLength=s;this.client=r;this.bytesWritten=0;this.expectsPayload=o;this.header=n;e[_]=true}write(e){const{socket:t,request:s,contentLength:r,client:o,bytesWritten:n,expectsPayload:A,header:i}=this;if(t[W]){throw t[W]}if(t.destroyed){return false}const a=Buffer.byteLength(e);if(!a){return true}if(r!==null&&n+a>r){if(o[se]){throw new u}process.emitWarning(new u)}t.cork();if(n===0){if(!A){t[v]=true}if(r===null){t.write(`${i}transfer-encoding: chunked\r\n`,"latin1")}else{t.write(`${i}content-length: ${r}\r\n\r\n`,"latin1")}}if(r===null){t.write(`\r\n${a.toString(16)}\r\n`,"latin1")}this.bytesWritten+=a;const c=t.write(e);t.uncork();s.onBodySent(e);if(!c){if(t[x].timeout&&t[x].timeoutType===Pe){if(t[x].timeout.refresh){t[x].timeout.refresh()}}}return c}end(){const{socket:e,contentLength:t,client:s,bytesWritten:r,expectsPayload:o,header:n,request:A}=this;A.onRequestSent();e[_]=false;if(e[W]){throw e[W]}if(e.destroyed){return}if(r===0){if(o){e.write(`${n}content-length: 0\r\n\r\n`,"latin1")}else{e.write(`${n}\r\n`,"latin1")}}else if(t===null){e.write("\r\n0\r\n\r\n","latin1")}if(t!==null&&r!==t){if(s[se]){throw new u}else{process.emitWarning(new u)}}if(e[x].timeout&&e[x].timeoutType===Pe){if(e[x].timeout.refresh){e[x].timeout.refresh()}}resume(s)}destroy(e){const{socket:t,client:s}=this;t[_]=false;if(e){r(s[N]<=1,"pipeline should only contain this request");i.destroy(t,e)}}}function errorRequest(e,t,s){try{t.onError(s);r(t.aborted)}catch(s){e.emit("error",s)}}e.exports=Client},5285:(e,t,s)=>{const{kConnected:r,kSize:o}=s(3932);class CompatWeakRef{constructor(e){this.value=e}deref(){return this.value[r]===0&&this.value[o]===0?undefined:this.value}}class CompatFinalizer{constructor(e){this.finalizer=e}register(e,t){if(e.on){e.on("disconnect",(()=>{if(e[r]===0&&e[o]===0){this.finalizer(t)}}))}}}e.exports=function(){if(process.env.NODE_V8_COVERAGE){return{WeakRef:CompatWeakRef,FinalizationRegistry:CompatFinalizer}}return{WeakRef:global.WeakRef||CompatWeakRef,FinalizationRegistry:global.FinalizationRegistry||CompatFinalizer}}},3598:e=>{const t=1024;const s=4096;e.exports={maxAttributeValueSize:t,maxNameValuePairSize:s}},9738:(e,t,s)=>{const{parseSetCookie:r}=s(8367);const{stringify:o,getHeadersList:n}=s(7576);const{webidl:A}=s(9111);const{Headers:i}=s(1855);function getCookies(e){A.argumentLengthCheck(arguments,1,{header:"getCookies"});A.brandCheck(e,i,{strict:false});const t=e.get("cookie");const s={};if(!t){return s}for(const e of t.split(";")){const[t,...r]=e.split("=");s[t.trim()]=r.join("=")}return s}function deleteCookie(e,t,s){A.argumentLengthCheck(arguments,2,{header:"deleteCookie"});A.brandCheck(e,i,{strict:false});t=A.converters.DOMString(t);s=A.converters.DeleteCookieAttributes(s);setCookie(e,{name:t,value:"",expires:new Date(0),...s})}function getSetCookies(e){A.argumentLengthCheck(arguments,1,{header:"getSetCookies"});A.brandCheck(e,i,{strict:false});const t=n(e).cookies;if(!t){return[]}return t.map((e=>r(Array.isArray(e)?e[1]:e)))}function setCookie(e,t){A.argumentLengthCheck(arguments,2,{header:"setCookie"});A.brandCheck(e,i,{strict:false});t=A.converters.Cookie(t);const s=o(t);if(s){e.append("Set-Cookie",o(t))}}A.converters.DeleteCookieAttributes=A.dictionaryConverter([{converter:A.nullableConverter(A.converters.DOMString),key:"path",defaultValue:null},{converter:A.nullableConverter(A.converters.DOMString),key:"domain",defaultValue:null}]);A.converters.Cookie=A.dictionaryConverter([{converter:A.converters.DOMString,key:"name"},{converter:A.converters.DOMString,key:"value"},{converter:A.nullableConverter((e=>{if(typeof e==="number"){return A.converters["unsigned long long"](e)}return new Date(e)})),key:"expires",defaultValue:null},{converter:A.nullableConverter(A.converters["long long"]),key:"maxAge",defaultValue:null},{converter:A.nullableConverter(A.converters.DOMString),key:"domain",defaultValue:null},{converter:A.nullableConverter(A.converters.DOMString),key:"path",defaultValue:null},{converter:A.nullableConverter(A.converters.boolean),key:"secure",defaultValue:null},{converter:A.nullableConverter(A.converters.boolean),key:"httpOnly",defaultValue:null},{converter:A.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:A.sequenceConverter(A.converters.DOMString),key:"unparsed",defaultValue:[]}]);e.exports={getCookies:getCookies,deleteCookie:deleteCookie,getSetCookies:getSetCookies,setCookie:setCookie}},8367:(e,t,s)=>{const{maxNameValuePairSize:r,maxAttributeValueSize:o}=s(3598);const{isCTLExcludingHtab:n}=s(7576);const{collectASequenceOfCodePointsFast:A}=s(5958);const i=s(9491);function parseSetCookie(e){if(n(e)){return null}let t="";let s="";let o="";let i="";if(e.includes(";")){const r={position:0};t=A(";",e,r);s=e.slice(r.position)}else{t=e}if(!t.includes("=")){i=t}else{const e={position:0};o=A("=",t,e);i=t.slice(e.position+1)}o=o.trim();i=i.trim();if(o.length+i.length>r){return null}return{name:o,value:i,...parseUnparsedAttributes(s)}}function parseUnparsedAttributes(e,t={}){if(e.length===0){return t}i(e[0]===";");e=e.slice(1);let s="";if(e.includes(";")){s=A(";",e,{position:0});e=e.slice(s.length)}else{s=e;e=""}let r="";let n="";if(s.includes("=")){const e={position:0};r=A("=",s,e);n=s.slice(e.position+1)}else{r=s}r=r.trim();n=n.trim();if(n.length>o){return parseUnparsedAttributes(e,t)}const a=r.toLowerCase();if(a==="expires"){const e=new Date(n);t.expires=e}else if(a==="max-age"){const s=n.charCodeAt(0);if((s<48||s>57)&&n[0]!=="-"){return parseUnparsedAttributes(e,t)}if(!/^\d+$/.test(n)){return parseUnparsedAttributes(e,t)}const r=Number(n);t.maxAge=r}else if(a==="domain"){let e=n;if(e[0]==="."){e=e.slice(1)}e=e.toLowerCase();t.domain=e}else if(a==="path"){let e="";if(n.length===0||n[0]!=="/"){e="/"}else{e=n}t.path=e}else if(a==="secure"){t.secure=true}else if(a==="httponly"){t.httpOnly=true}else if(a==="samesite"){let e="Default";const s=n.toLowerCase();if(s.includes("none")){e="None"}if(s.includes("strict")){e="Strict"}if(s.includes("lax")){e="Lax"}t.sameSite=e}else{t.unparsed??=[];t.unparsed.push(`${r}=${n}`)}return parseUnparsedAttributes(e,t)}e.exports={parseSetCookie:parseSetCookie,parseUnparsedAttributes:parseUnparsedAttributes}},7576:(e,t,s)=>{const r=s(9491);const{kHeadersList:o}=s(3932);function isCTLExcludingHtab(e){if(e.length===0){return false}for(const t of e){const e=t.charCodeAt(0);if(e>=0||e<=8||(e>=10||e<=31)||e===127){return false}}}function validateCookieName(e){for(const t of e){const e=t.charCodeAt(0);if(e<=32||e>127||t==="("||t===")"||t===">"||t==="<"||t==="@"||t===","||t===";"||t===":"||t==="\\"||t==='"'||t==="/"||t==="["||t==="]"||t==="?"||t==="="||t==="{"||t==="}"){throw new Error("Invalid cookie name")}}}function validateCookieValue(e){for(const t of e){const e=t.charCodeAt(0);if(e<33||e===34||e===44||e===59||e===92||e>126){throw new Error("Invalid header value")}}}function validateCookiePath(e){for(const t of e){const e=t.charCodeAt(0);if(e<33||t===";"){throw new Error("Invalid cookie path")}}}function validateCookieDomain(e){if(e.startsWith("-")||e.endsWith(".")||e.endsWith("-")){throw new Error("Invalid cookie domain")}}function toIMFDate(e){if(typeof e==="number"){e=new Date(e)}const t=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];const s=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];const r=t[e.getUTCDay()];const o=e.getUTCDate().toString().padStart(2,"0");const n=s[e.getUTCMonth()];const A=e.getUTCFullYear();const i=e.getUTCHours().toString().padStart(2,"0");const a=e.getUTCMinutes().toString().padStart(2,"0");const c=e.getUTCSeconds().toString().padStart(2,"0");return`${r}, ${o} ${n} ${A} ${i}:${a}:${c} GMT`}function validateCookieMaxAge(e){if(e<0){throw new Error("Invalid cookie max-age")}}function stringify(e){if(e.name.length===0){return null}validateCookieName(e.name);validateCookieValue(e.value);const t=[`${e.name}=${e.value}`];if(e.name.startsWith("__Secure-")){e.secure=true}if(e.name.startsWith("__Host-")){e.secure=true;e.domain=null;e.path="/"}if(e.secure){t.push("Secure")}if(e.httpOnly){t.push("HttpOnly")}if(typeof e.maxAge==="number"){validateCookieMaxAge(e.maxAge);t.push(`Max-Age=${e.maxAge}`)}if(e.domain){validateCookieDomain(e.domain);t.push(`Domain=${e.domain}`)}if(e.path){validateCookiePath(e.path);t.push(`Path=${e.path}`)}if(e.expires&&e.expires.toString()!=="Invalid Date"){t.push(`Expires=${toIMFDate(e.expires)}`)}if(e.sameSite){t.push(`SameSite=${e.sameSite}`)}for(const s of e.unparsed){if(!s.includes("=")){throw new Error("Invalid unparsed")}const[e,...r]=s.split("=");t.push(`${e.trim()}=${r.join("=")}`)}return t.join("; ")}let n;function getHeadersList(e){if(e[o]){return e[o]}if(!n){n=Object.getOwnPropertySymbols(e).find((e=>e.description==="headers list"));r(n,"Headers cannot be parsed")}const t=e[n];r(t);return t}e.exports={isCTLExcludingHtab:isCTLExcludingHtab,stringify:stringify,getHeadersList:getHeadersList}},9218:(e,t,s)=>{const r=s(1808);const o=s(9491);const n=s(7497);const{InvalidArgumentError:A,ConnectTimeoutError:i}=s(2366);let a;let c;if(global.FinalizationRegistry&&!process.env.NODE_V8_COVERAGE){c=class WeakSessionCache{constructor(e){this._maxCachedSessions=e;this._sessionCache=new Map;this._sessionRegistry=new global.FinalizationRegistry((e=>{if(this._sessionCache.size=this._maxCachedSessions){const{value:e}=this._sessionCache.keys().next();this._sessionCache.delete(e)}this._sessionCache.set(e,t)}}}function buildConnector({allowH2:e,maxCachedSessions:t,socketPath:i,timeout:l,...u}){if(t!=null&&(!Number.isInteger(t)||t<0)){throw new A("maxCachedSessions must be a positive integer or zero")}const p={path:i,...u};const d=new c(t==null?100:t);l=l==null?1e4:l;e=e!=null?e:false;return function connect({hostname:t,host:A,protocol:i,port:c,servername:u,localAddress:g,httpSocket:h},E){let C;if(i==="https:"){if(!a){a=s(4404)}u=u||p.servername||n.getServerName(A)||null;const r=u||t;const i=d.get(r)||null;o(r);C=a.connect({highWaterMark:16384,...p,servername:u,session:i,localAddress:g,ALPNProtocols:e?["http/1.1","h2"]:["http/1.1"],socket:h,port:c||443,host:t});C.on("session",(function(e){d.set(r,e)}))}else{o(!h,"httpSocket can only be sent on TLS update");C=r.connect({highWaterMark:64*1024,...p,localAddress:g,port:c||80,host:t})}if(p.keepAlive==null||p.keepAlive){const e=p.keepAliveInitialDelay===undefined?6e4:p.keepAliveInitialDelay;C.setKeepAlive(true,e)}const m=setupTimeout((()=>onConnectTimeout(C)),l);C.setNoDelay(true).once(i==="https:"?"secureConnect":"connect",(function(){m();if(E){const e=E;E=null;e(null,this)}})).on("error",(function(e){m();if(E){const t=E;E=null;t(e)}}));return C}}function setupTimeout(e,t){if(!t){return()=>{}}let s=null;let r=null;const o=setTimeout((()=>{s=setImmediate((()=>{if(process.platform==="win32"){r=setImmediate((()=>e()))}else{e()}}))}),t);return()=>{clearTimeout(o);clearImmediate(s);clearImmediate(r)}}function onConnectTimeout(e){n.destroy(e,new i)}e.exports=buildConnector},2366:e=>{class UndiciError extends Error{constructor(e){super(e);this.name="UndiciError";this.code="UND_ERR"}}class ConnectTimeoutError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ConnectTimeoutError);this.name="ConnectTimeoutError";this.message=e||"Connect Timeout Error";this.code="UND_ERR_CONNECT_TIMEOUT"}}class HeadersTimeoutError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,HeadersTimeoutError);this.name="HeadersTimeoutError";this.message=e||"Headers Timeout Error";this.code="UND_ERR_HEADERS_TIMEOUT"}}class HeadersOverflowError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,HeadersOverflowError);this.name="HeadersOverflowError";this.message=e||"Headers Overflow Error";this.code="UND_ERR_HEADERS_OVERFLOW"}}class BodyTimeoutError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,BodyTimeoutError);this.name="BodyTimeoutError";this.message=e||"Body Timeout Error";this.code="UND_ERR_BODY_TIMEOUT"}}class ResponseStatusCodeError extends UndiciError{constructor(e,t,s,r){super(e);Error.captureStackTrace(this,ResponseStatusCodeError);this.name="ResponseStatusCodeError";this.message=e||"Response Status Code Error";this.code="UND_ERR_RESPONSE_STATUS_CODE";this.body=r;this.status=t;this.statusCode=t;this.headers=s}}class InvalidArgumentError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,InvalidArgumentError);this.name="InvalidArgumentError";this.message=e||"Invalid Argument Error";this.code="UND_ERR_INVALID_ARG"}}class InvalidReturnValueError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,InvalidReturnValueError);this.name="InvalidReturnValueError";this.message=e||"Invalid Return Value Error";this.code="UND_ERR_INVALID_RETURN_VALUE"}}class RequestAbortedError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,RequestAbortedError);this.name="AbortError";this.message=e||"Request aborted";this.code="UND_ERR_ABORTED"}}class InformationalError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,InformationalError);this.name="InformationalError";this.message=e||"Request information";this.code="UND_ERR_INFO"}}class RequestContentLengthMismatchError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,RequestContentLengthMismatchError);this.name="RequestContentLengthMismatchError";this.message=e||"Request body length does not match content-length header";this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}}class ResponseContentLengthMismatchError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ResponseContentLengthMismatchError);this.name="ResponseContentLengthMismatchError";this.message=e||"Response body length does not match content-length header";this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}}class ClientDestroyedError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ClientDestroyedError);this.name="ClientDestroyedError";this.message=e||"The client is destroyed";this.code="UND_ERR_DESTROYED"}}class ClientClosedError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ClientClosedError);this.name="ClientClosedError";this.message=e||"The client is closed";this.code="UND_ERR_CLOSED"}}class SocketError extends UndiciError{constructor(e,t){super(e);Error.captureStackTrace(this,SocketError);this.name="SocketError";this.message=e||"Socket error";this.code="UND_ERR_SOCKET";this.socket=t}}class NotSupportedError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,NotSupportedError);this.name="NotSupportedError";this.message=e||"Not supported error";this.code="UND_ERR_NOT_SUPPORTED"}}class BalancedPoolMissingUpstreamError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,NotSupportedError);this.name="MissingUpstreamError";this.message=e||"No upstream has been added to the BalancedPool";this.code="UND_ERR_BPL_MISSING_UPSTREAM"}}class HTTPParserError extends Error{constructor(e,t,s){super(e);Error.captureStackTrace(this,HTTPParserError);this.name="HTTPParserError";this.code=t?`HPE_${t}`:undefined;this.data=s?s.toString():undefined}}class ResponseExceededMaxSizeError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ResponseExceededMaxSizeError);this.name="ResponseExceededMaxSizeError";this.message=e||"Response content exceeded max size";this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}}class RequestRetryError extends UndiciError{constructor(e,t,{headers:s,data:r}){super(e);Error.captureStackTrace(this,RequestRetryError);this.name="RequestRetryError";this.message=e||"Request retry error";this.code="UND_ERR_REQ_RETRY";this.statusCode=t;this.data=r;this.headers=s}}e.exports={HTTPParserError:HTTPParserError,UndiciError:UndiciError,HeadersTimeoutError:HeadersTimeoutError,HeadersOverflowError:HeadersOverflowError,BodyTimeoutError:BodyTimeoutError,RequestContentLengthMismatchError:RequestContentLengthMismatchError,ConnectTimeoutError:ConnectTimeoutError,ResponseStatusCodeError:ResponseStatusCodeError,InvalidArgumentError:InvalidArgumentError,InvalidReturnValueError:InvalidReturnValueError,RequestAbortedError:RequestAbortedError,ClientDestroyedError:ClientDestroyedError,ClientClosedError:ClientClosedError,InformationalError:InformationalError,SocketError:SocketError,NotSupportedError:NotSupportedError,ResponseContentLengthMismatchError:ResponseContentLengthMismatchError,BalancedPoolMissingUpstreamError:BalancedPoolMissingUpstreamError,ResponseExceededMaxSizeError:ResponseExceededMaxSizeError,RequestRetryError:RequestRetryError}},2896:(e,t,s)=>{const{InvalidArgumentError:r,NotSupportedError:o}=s(2366);const n=s(9491);const{kHTTP2BuildRequest:A,kHTTP2CopyHeaders:i,kHTTP1BuildRequest:a}=s(3932);const c=s(7497);const l=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/;const u=/[^\t\x20-\x7e\x80-\xff]/;const p=/[^\u0021-\u00ff]/;const d=Symbol("handler");const g={};let h;try{const e=s(7643);g.create=e.channel("undici:request:create");g.bodySent=e.channel("undici:request:bodySent");g.headers=e.channel("undici:request:headers");g.trailers=e.channel("undici:request:trailers");g.error=e.channel("undici:request:error")}catch{g.create={hasSubscribers:false};g.bodySent={hasSubscribers:false};g.headers={hasSubscribers:false};g.trailers={hasSubscribers:false};g.error={hasSubscribers:false}}class Request{constructor(e,{path:t,method:o,body:n,headers:A,query:i,idempotent:a,blocking:u,upgrade:E,headersTimeout:C,bodyTimeout:m,reset:Q,throwOnError:B,expectContinue:I},b){if(typeof t!=="string"){throw new r("path must be a string")}else if(t[0]!=="/"&&!(t.startsWith("http://")||t.startsWith("https://"))&&o!=="CONNECT"){throw new r("path must be an absolute URL or start with a slash")}else if(p.exec(t)!==null){throw new r("invalid request path")}if(typeof o!=="string"){throw new r("method must be a string")}else if(l.exec(o)===null){throw new r("invalid request method")}if(E&&typeof E!=="string"){throw new r("upgrade must be a string")}if(C!=null&&(!Number.isFinite(C)||C<0)){throw new r("invalid headersTimeout")}if(m!=null&&(!Number.isFinite(m)||m<0)){throw new r("invalid bodyTimeout")}if(Q!=null&&typeof Q!=="boolean"){throw new r("invalid reset")}if(I!=null&&typeof I!=="boolean"){throw new r("invalid expectContinue")}this.headersTimeout=C;this.bodyTimeout=m;this.throwOnError=B===true;this.method=o;this.abort=null;if(n==null){this.body=null}else if(c.isStream(n)){this.body=n;const e=this.body._readableState;if(!e||!e.autoDestroy){this.endHandler=function autoDestroy(){c.destroy(this)};this.body.on("end",this.endHandler)}this.errorHandler=e=>{if(this.abort){this.abort(e)}else{this.error=e}};this.body.on("error",this.errorHandler)}else if(c.isBuffer(n)){this.body=n.byteLength?n:null}else if(ArrayBuffer.isView(n)){this.body=n.buffer.byteLength?Buffer.from(n.buffer,n.byteOffset,n.byteLength):null}else if(n instanceof ArrayBuffer){this.body=n.byteLength?Buffer.from(n):null}else if(typeof n==="string"){this.body=n.length?Buffer.from(n):null}else if(c.isFormDataLike(n)||c.isIterable(n)||c.isBlobLike(n)){this.body=n}else{throw new r("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable")}this.completed=false;this.aborted=false;this.upgrade=E||null;this.path=i?c.buildURL(t,i):t;this.origin=e;this.idempotent=a==null?o==="HEAD"||o==="GET":a;this.blocking=u==null?false:u;this.reset=Q==null?null:Q;this.host=null;this.contentLength=null;this.contentType=null;this.headers="";this.expectContinue=I!=null?I:false;if(Array.isArray(A)){if(A.length%2!==0){throw new r("headers array must be even")}for(let e=0;e{e.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kHeadersList:Symbol("headers list"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kInterceptors:Symbol("dispatch interceptors"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kHTTP2BuildRequest:Symbol("http2 build request"),kHTTP1BuildRequest:Symbol("http1 build request"),kHTTP2CopyHeaders:Symbol("http2 copy headers"),kHTTPConnVersion:Symbol("http connection version"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable")}},7497:(e,t,s)=>{const r=s(9491);const{kDestroyed:o,kBodyUsed:n}=s(3932);const{IncomingMessage:A}=s(3685);const i=s(2781);const a=s(1808);const{InvalidArgumentError:c}=s(2366);const{Blob:l}=s(4300);const u=s(3837);const{stringify:p}=s(3477);const[d,g]=process.versions.node.split(".").map((e=>Number(e)));function nop(){}function isStream(e){return e&&typeof e==="object"&&typeof e.pipe==="function"&&typeof e.on==="function"}function isBlobLike(e){return l&&e instanceof l||e&&typeof e==="object"&&(typeof e.stream==="function"||typeof e.arrayBuffer==="function")&&/^(Blob|File)$/.test(e[Symbol.toStringTag])}function buildURL(e,t){if(e.includes("?")||e.includes("#")){throw new Error('Query params cannot be passed when url already contains "?" or "#".')}const s=p(t);if(s){e+="?"+s}return e}function parseURL(e){if(typeof e==="string"){e=new URL(e);if(!/^https?:/.test(e.origin||e.protocol)){throw new c("Invalid URL protocol: the URL must start with `http:` or `https:`.")}return e}if(!e||typeof e!=="object"){throw new c("Invalid URL: The URL argument must be a non-null object.")}if(!/^https?:/.test(e.origin||e.protocol)){throw new c("Invalid URL protocol: the URL must start with `http:` or `https:`.")}if(!(e instanceof URL)){if(e.port!=null&&e.port!==""&&!Number.isFinite(parseInt(e.port))){throw new c("Invalid URL: port must be a valid integer or a string representation of an integer.")}if(e.path!=null&&typeof e.path!=="string"){throw new c("Invalid URL path: the path must be a string or null/undefined.")}if(e.pathname!=null&&typeof e.pathname!=="string"){throw new c("Invalid URL pathname: the pathname must be a string or null/undefined.")}if(e.hostname!=null&&typeof e.hostname!=="string"){throw new c("Invalid URL hostname: the hostname must be a string or null/undefined.")}if(e.origin!=null&&typeof e.origin!=="string"){throw new c("Invalid URL origin: the origin must be a string or null/undefined.")}const t=e.port!=null?e.port:e.protocol==="https:"?443:80;let s=e.origin!=null?e.origin:`${e.protocol}//${e.hostname}:${t}`;let r=e.path!=null?e.path:`${e.pathname||""}${e.search||""}`;if(s.endsWith("/")){s=s.substring(0,s.length-1)}if(r&&!r.startsWith("/")){r=`/${r}`}e=new URL(s+r)}return e}function parseOrigin(e){e=parseURL(e);if(e.pathname!=="/"||e.search||e.hash){throw new c("invalid url")}return e}function getHostname(e){if(e[0]==="["){const t=e.indexOf("]");r(t!==-1);return e.substring(1,t)}const t=e.indexOf(":");if(t===-1)return e;return e.substring(0,t)}function getServerName(e){if(!e){return null}r.strictEqual(typeof e,"string");const t=getHostname(e);if(a.isIP(t)){return""}return t}function deepClone(e){return JSON.parse(JSON.stringify(e))}function isAsyncIterable(e){return!!(e!=null&&typeof e[Symbol.asyncIterator]==="function")}function isIterable(e){return!!(e!=null&&(typeof e[Symbol.iterator]==="function"||typeof e[Symbol.asyncIterator]==="function"))}function bodyLength(e){if(e==null){return 0}else if(isStream(e)){const t=e._readableState;return t&&t.objectMode===false&&t.ended===true&&Number.isFinite(t.length)?t.length:null}else if(isBlobLike(e)){return e.size!=null?e.size:null}else if(isBuffer(e)){return e.byteLength}return null}function isDestroyed(e){return!e||!!(e.destroyed||e[o])}function isReadableAborted(e){const t=e&&e._readableState;return isDestroyed(e)&&t&&!t.endEmitted}function destroy(e,t){if(e==null||!isStream(e)||isDestroyed(e)){return}if(typeof e.destroy==="function"){if(Object.getPrototypeOf(e).constructor===A){e.socket=null}e.destroy(t)}else if(t){process.nextTick(((e,t)=>{e.emit("error",t)}),e,t)}if(e.destroyed!==true){e[o]=true}}const h=/timeout=(\d+)/;function parseKeepAliveTimeout(e){const t=e.toString().match(h);return t?parseInt(t[1],10)*1e3:null}function parseHeaders(e,t={}){if(!Array.isArray(e))return e;for(let s=0;se.toString("utf8")))}else{t[r]=e[s+1].toString("utf8")}}else{if(!Array.isArray(o)){o=[o];t[r]=o}o.push(e[s+1].toString("utf8"))}}if("content-length"in t&&"content-disposition"in t){t["content-disposition"]=Buffer.from(t["content-disposition"]).toString("latin1")}return t}function parseRawHeaders(e){const t=[];let s=false;let r=-1;for(let o=0;o{e.close()}))}else{const t=Buffer.isBuffer(r)?r:Buffer.from(r);e.enqueue(new Uint8Array(t))}return e.desiredSize>0},async cancel(e){await t.return()}},0)}function isFormDataLike(e){return e&&typeof e==="object"&&typeof e.append==="function"&&typeof e.delete==="function"&&typeof e.get==="function"&&typeof e.getAll==="function"&&typeof e.has==="function"&&typeof e.set==="function"&&e[Symbol.toStringTag]==="FormData"}function throwIfAborted(e){if(!e){return}if(typeof e.throwIfAborted==="function"){e.throwIfAborted()}else{if(e.aborted){const e=new Error("The operation was aborted");e.name="AbortError";throw e}}}function addAbortListener(e,t){if("addEventListener"in e){e.addEventListener("abort",t,{once:true});return()=>e.removeEventListener("abort",t)}e.addListener("abort",t);return()=>e.removeListener("abort",t)}const C=!!String.prototype.toWellFormed;function toUSVString(e){if(C){return`${e}`.toWellFormed()}else if(u.toUSVString){return u.toUSVString(e)}return`${e}`}function parseRangeHeader(e){if(e==null||e==="")return{start:0,end:null,size:null};const t=e?e.match(/^bytes (\d+)-(\d+)\/(\d+)?$/):null;return t?{start:parseInt(t[1]),end:t[2]?parseInt(t[2]):null,size:t[3]?parseInt(t[3]):null}:null}const m=Object.create(null);m.enumerable=true;e.exports={kEnumerableProperty:m,nop:nop,isDisturbed:isDisturbed,isErrored:isErrored,isReadable:isReadable,toUSVString:toUSVString,isReadableAborted:isReadableAborted,isBlobLike:isBlobLike,parseOrigin:parseOrigin,parseURL:parseURL,getServerName:getServerName,isStream:isStream,isIterable:isIterable,isAsyncIterable:isAsyncIterable,isDestroyed:isDestroyed,parseRawHeaders:parseRawHeaders,parseHeaders:parseHeaders,parseKeepAliveTimeout:parseKeepAliveTimeout,destroy:destroy,bodyLength:bodyLength,deepClone:deepClone,ReadableStreamFrom:ReadableStreamFrom,isBuffer:isBuffer,validateHandler:validateHandler,getSocketInfo:getSocketInfo,isFormDataLike:isFormDataLike,buildURL:buildURL,throwIfAborted:throwIfAborted,addAbortListener:addAbortListener,parseRangeHeader:parseRangeHeader,nodeMajor:d,nodeMinor:g,nodeHasAutoSelectFamily:d>18||d===18&&g>=13,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"]}},8757:(e,t,s)=>{const r=s(8648);const{ClientDestroyedError:o,ClientClosedError:n,InvalidArgumentError:A}=s(2366);const{kDestroy:i,kClose:a,kDispatch:c,kInterceptors:l}=s(3932);const u=Symbol("destroyed");const p=Symbol("closed");const d=Symbol("onDestroyed");const g=Symbol("onClosed");const h=Symbol("Intercepted Dispatch");class DispatcherBase extends r{constructor(){super();this[u]=false;this[d]=null;this[p]=false;this[g]=[]}get destroyed(){return this[u]}get closed(){return this[p]}get interceptors(){return this[l]}set interceptors(e){if(e){for(let t=e.length-1;t>=0;t--){const e=this[l][t];if(typeof e!=="function"){throw new A("interceptor must be an function")}}}this[l]=e}close(e){if(e===undefined){return new Promise(((e,t)=>{this.close(((s,r)=>s?t(s):e(r)))}))}if(typeof e!=="function"){throw new A("invalid callback")}if(this[u]){queueMicrotask((()=>e(new o,null)));return}if(this[p]){if(this[g]){this[g].push(e)}else{queueMicrotask((()=>e(null,null)))}return}this[p]=true;this[g].push(e);const onClosed=()=>{const e=this[g];this[g]=null;for(let t=0;tthis.destroy())).then((()=>{queueMicrotask(onClosed)}))}destroy(e,t){if(typeof e==="function"){t=e;e=null}if(t===undefined){return new Promise(((t,s)=>{this.destroy(e,((e,r)=>e?s(e):t(r)))}))}if(typeof t!=="function"){throw new A("invalid callback")}if(this[u]){if(this[d]){this[d].push(t)}else{queueMicrotask((()=>t(null,null)))}return}if(!e){e=new o}this[u]=true;this[d]=this[d]||[];this[d].push(t);const onDestroyed=()=>{const e=this[d];this[d]=null;for(let t=0;t{queueMicrotask(onDestroyed)}))}[h](e,t){if(!this[l]||this[l].length===0){this[h]=this[c];return this[c](e,t)}let s=this[c].bind(this);for(let e=this[l].length-1;e>=0;e--){s=this[l][e](s)}this[h]=s;return s(e,t)}dispatch(e,t){if(!t||typeof t!=="object"){throw new A("handler must be an object")}try{if(!e||typeof e!=="object"){throw new A("opts must be an object.")}if(this[u]||this[d]){throw new o}if(this[p]){throw new n}return this[h](e,t)}catch(e){if(typeof t.onError!=="function"){throw new A("invalid onError method")}t.onError(e);return false}}}e.exports=DispatcherBase},8648:(e,t,s)=>{const r=s(2361);class Dispatcher extends r{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}}e.exports=Dispatcher},1226:(e,t,s)=>{const r=s(7455);const o=s(7497);const{ReadableStreamFrom:n,isBlobLike:A,isReadableStreamLike:i,readableStreamClose:a,createDeferredPromise:c,fullyReadBody:l}=s(5496);const{FormData:u}=s(9425);const{kState:p}=s(5376);const{webidl:d}=s(9111);const{DOMException:g,structuredClone:h}=s(7533);const{Blob:E,File:C}=s(4300);const{kBodyUsed:m}=s(3932);const Q=s(9491);const{isErrored:B}=s(7497);const{isUint8Array:I,isArrayBuffer:b}=s(9830);const{File:y}=s(5506);const{parseMIMEType:w,serializeAMimeType:v}=s(5958);let R=globalThis.ReadableStream;const k=C??y;const D=new TextEncoder;const x=new TextDecoder;function extractBody(e,t=false){if(!R){R=s(5356).ReadableStream}let r=null;if(e instanceof R){r=e}else if(A(e)){r=e.stream()}else{r=new R({async pull(e){e.enqueue(typeof l==="string"?D.encode(l):l);queueMicrotask((()=>a(e)))},start(){},type:undefined})}Q(i(r));let c=null;let l=null;let u=null;let p=null;if(typeof e==="string"){l=e;p="text/plain;charset=UTF-8"}else if(e instanceof URLSearchParams){l=e.toString();p="application/x-www-form-urlencoded;charset=UTF-8"}else if(b(e)){l=new Uint8Array(e.slice())}else if(ArrayBuffer.isView(e)){l=new Uint8Array(e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength))}else if(o.isFormDataLike(e)){const t=`----formdata-undici-0${`${Math.floor(Math.random()*1e11)}`.padStart(11,"0")}`;const s=`--${t}\r\nContent-Disposition: form-data` -/*! formdata-polyfill. MIT License. Jimmy Wärting */;const escape=e=>e.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=e=>e.replace(/\r?\n|\r/g,"\r\n");const r=[];const o=new Uint8Array([13,10]);u=0;let n=false;for(const[t,A]of e){if(typeof A==="string"){const e=D.encode(s+`; name="${escape(normalizeLinefeeds(t))}"`+`\r\n\r\n${normalizeLinefeeds(A)}\r\n`);r.push(e);u+=e.byteLength}else{const e=D.encode(`${s}; name="${escape(normalizeLinefeeds(t))}"`+(A.name?`; filename="${escape(A.name)}"`:"")+"\r\n"+`Content-Type: ${A.type||"application/octet-stream"}\r\n\r\n`);r.push(e,A,o);if(typeof A.size==="number"){u+=e.byteLength+A.size+o.byteLength}else{n=true}}}const A=D.encode(`--${t}--`);r.push(A);u+=A.byteLength;if(n){u=null}l=e;c=async function*(){for(const e of r){if(e.stream){yield*e.stream()}else{yield e}}};p="multipart/form-data; boundary="+t}else if(A(e)){l=e;u=e.size;if(e.type){p=e.type}}else if(typeof e[Symbol.asyncIterator]==="function"){if(t){throw new TypeError("keepalive")}if(o.isDisturbed(e)||e.locked){throw new TypeError("Response body object should not be disturbed or locked")}r=e instanceof R?e:n(e)}if(typeof l==="string"||o.isBuffer(l)){u=Buffer.byteLength(l)}if(c!=null){let t;r=new R({async start(){t=c(e)[Symbol.asyncIterator]()},async pull(e){const{value:s,done:o}=await t.next();if(o){queueMicrotask((()=>{e.close()}))}else{if(!B(r)){e.enqueue(new Uint8Array(s))}}return e.desiredSize>0},async cancel(e){await t.return()},type:undefined})}const d={stream:r,source:l,length:u};return[d,p]}function safelyExtractBody(e,t=false){if(!R){R=s(5356).ReadableStream}if(e instanceof R){Q(!o.isDisturbed(e),"The body has already been consumed.");Q(!e.locked,"The stream is locked.")}return extractBody(e,t)}function cloneBody(e){const[t,s]=e.stream.tee();const r=h(s,{transfer:[s]});const[,o]=r.tee();e.stream=t;return{stream:o,length:e.length,source:e.source}}async function*consumeBody(e){if(e){if(I(e)){yield e}else{const t=e.stream;if(o.isDisturbed(t)){throw new TypeError("The body has already been consumed.")}if(t.locked){throw new TypeError("The stream is locked.")}t[m]=true;yield*t}}}function throwIfAborted(e){if(e.aborted){throw new g("The operation was aborted.","AbortError")}}function bodyMixinMethods(e){const t={blob(){return specConsumeBody(this,(e=>{let t=bodyMimeType(this);if(t==="failure"){t=""}else if(t){t=v(t)}return new E([e],{type:t})}),e)},arrayBuffer(){return specConsumeBody(this,(e=>new Uint8Array(e).buffer),e)},text(){return specConsumeBody(this,utf8DecodeBytes,e)},json(){return specConsumeBody(this,parseJSONFromBytes,e)},async formData(){d.brandCheck(this,e);throwIfAborted(this[p]);const t=this.headers.get("Content-Type");if(/multipart\/form-data/.test(t)){const e={};for(const[t,s]of this.headers)e[t.toLowerCase()]=s;const t=new u;let s;try{s=new r({headers:e,preservePath:true})}catch(e){throw new g(`${e}`,"AbortError")}s.on("field",((e,s)=>{t.append(e,s)}));s.on("file",((e,s,r,o,n)=>{const A=[];if(o==="base64"||o.toLowerCase()==="base64"){let o="";s.on("data",(e=>{o+=e.toString().replace(/[\r\n]/gm,"");const t=o.length-o.length%4;A.push(Buffer.from(o.slice(0,t),"base64"));o=o.slice(t)}));s.on("end",(()=>{A.push(Buffer.from(o,"base64"));t.append(e,new k(A,r,{type:n}))}))}else{s.on("data",(e=>{A.push(e)}));s.on("end",(()=>{t.append(e,new k(A,r,{type:n}))}))}}));const o=new Promise(((e,t)=>{s.on("finish",e);s.on("error",(e=>t(new TypeError(e))))}));if(this.body!==null)for await(const e of consumeBody(this[p].body))s.write(e);s.end();await o;return t}else if(/application\/x-www-form-urlencoded/.test(t)){let e;try{let t="";const s=new TextDecoder("utf-8",{ignoreBOM:true});for await(const e of consumeBody(this[p].body)){if(!I(e)){throw new TypeError("Expected Uint8Array chunk")}t+=s.decode(e,{stream:true})}t+=s.decode();e=new URLSearchParams(t)}catch(e){throw Object.assign(new TypeError,{cause:e})}const t=new u;for(const[s,r]of e){t.append(s,r)}return t}else{await Promise.resolve();throwIfAborted(this[p]);throw d.errors.exception({header:`${e.name}.formData`,message:"Could not parse content as FormData."})}}};return t}function mixinBody(e){Object.assign(e.prototype,bodyMixinMethods(e))}async function specConsumeBody(e,t,s){d.brandCheck(e,s);throwIfAborted(e[p]);if(bodyUnusable(e[p].body)){throw new TypeError("Body is unusable")}const r=c();const errorSteps=e=>r.reject(e);const successSteps=e=>{try{r.resolve(t(e))}catch(e){errorSteps(e)}};if(e[p].body==null){successSteps(new Uint8Array);return r.promise}await l(e[p].body,successSteps,errorSteps);return r.promise}function bodyUnusable(e){return e!=null&&(e.stream.locked||o.isDisturbed(e.stream))}function utf8DecodeBytes(e){if(e.length===0){return""}if(e[0]===239&&e[1]===187&&e[2]===191){e=e.subarray(3)}const t=x.decode(e);return t}function parseJSONFromBytes(e){return JSON.parse(utf8DecodeBytes(e))}function bodyMimeType(e){const{headersList:t}=e[p];const s=t.get("content-type");if(s===null){return"failure"}return w(s)}e.exports={extractBody:extractBody,safelyExtractBody:safelyExtractBody,cloneBody:cloneBody,mixinBody:mixinBody}},7533:(e,t,s)=>{const{MessageChannel:r,receiveMessageOnPort:o}=s(1267);const n=["GET","HEAD","POST"];const A=new Set(n);const i=[101,204,205,304];const a=[301,302,303,307,308];const c=new Set(a);const l=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","5060","5061","6000","6566","6665","6666","6667","6668","6669","6697","10080"];const u=new Set(l);const p=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"];const d=new Set(p);const g=["follow","manual","error"];const h=["GET","HEAD","OPTIONS","TRACE"];const E=new Set(h);const C=["navigate","same-origin","no-cors","cors"];const m=["omit","same-origin","include"];const Q=["default","no-store","reload","no-cache","force-cache","only-if-cached"];const B=["content-encoding","content-language","content-location","content-type","content-length"];const I=["half"];const b=["CONNECT","TRACE","TRACK"];const y=new Set(b);const w=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""];const v=new Set(w);const R=globalThis.DOMException??(()=>{try{atob("~")}catch(e){return Object.getPrototypeOf(e).constructor}})();let k;const D=globalThis.structuredClone??function structuredClone(e,t=undefined){if(arguments.length===0){throw new TypeError("missing argument")}if(!k){k=new r}k.port1.unref();k.port2.unref();k.port1.postMessage(e,t?.transfer);return o(k.port2).message};e.exports={DOMException:R,structuredClone:D,subresource:w,forbiddenMethods:b,requestBodyHeader:B,referrerPolicy:p,requestRedirect:g,requestMode:C,requestCredentials:m,requestCache:Q,redirectStatus:a,corsSafeListedMethods:n,nullBodyStatus:i,safeMethods:h,badPorts:l,requestDuplex:I,subresourceSet:v,badPortsSet:u,redirectStatusSet:c,corsSafeListedMethodsSet:A,safeMethodsSet:E,forbiddenMethodsSet:y,referrerPolicySet:d}},5958:(e,t,s)=>{const r=s(9491);const{atob:o}=s(4300);const{isomorphicDecode:n}=s(5496);const A=new TextEncoder;const i=/^[!#$%&'*+-.^_|~A-Za-z0-9]+$/;const a=/(\u000A|\u000D|\u0009|\u0020)/;const c=/[\u0009|\u0020-\u007E|\u0080-\u00FF]/;function dataURLProcessor(e){r(e.protocol==="data:");let t=URLSerializer(e,true);t=t.slice(5);const s={position:0};let o=collectASequenceOfCodePointsFast(",",t,s);const A=o.length;o=removeASCIIWhitespace(o,true,true);if(s.position>=t.length){return"failure"}s.position++;const i=t.slice(A+1);let a=stringPercentDecode(i);if(/;(\u0020){0,}base64$/i.test(o)){const e=n(a);a=forgivingBase64(e);if(a==="failure"){return"failure"}o=o.slice(0,-6);o=o.replace(/(\u0020)+$/,"");o=o.slice(0,-1)}if(o.startsWith(";")){o="text/plain"+o}let c=parseMIMEType(o);if(c==="failure"){c=parseMIMEType("text/plain;charset=US-ASCII")}return{mimeType:c,body:a}}function URLSerializer(e,t=false){if(!t){return e.href}const s=e.href;const r=e.hash.length;return r===0?s:s.substring(0,s.length-r)}function collectASequenceOfCodePoints(e,t,s){let r="";while(s.positione.length){return"failure"}t.position++;let r=collectASequenceOfCodePointsFast(";",e,t);r=removeHTTPWhitespace(r,false,true);if(r.length===0||!i.test(r)){return"failure"}const o=s.toLowerCase();const n=r.toLowerCase();const A={type:o,subtype:n,parameters:new Map,essence:`${o}/${n}`};while(t.positiona.test(e)),e,t);let s=collectASequenceOfCodePoints((e=>e!==";"&&e!=="="),e,t);s=s.toLowerCase();if(t.positione.length){break}let r=null;if(e[t.position]==='"'){r=collectAnHTTPQuotedString(e,t,true);collectASequenceOfCodePointsFast(";",e,t)}else{r=collectASequenceOfCodePointsFast(";",e,t);r=removeHTTPWhitespace(r,false,true);if(r.length===0){continue}}if(s.length!==0&&i.test(s)&&(r.length===0||c.test(r))&&!A.parameters.has(s)){A.parameters.set(s,r)}}return A}function forgivingBase64(e){e=e.replace(/[\u0009\u000A\u000C\u000D\u0020]/g,"");if(e.length%4===0){e=e.replace(/=?=$/,"")}if(e.length%4===1){return"failure"}if(/[^+/0-9A-Za-z]/.test(e)){return"failure"}const t=o(e);const s=new Uint8Array(t.length);for(let e=0;ee!=='"'&&e!=="\\"),e,t);if(t.position>=e.length){break}const s=e[t.position];t.position++;if(s==="\\"){if(t.position>=e.length){n+="\\";break}n+=e[t.position];t.position++}else{r(s==='"');break}}if(s){return n}return e.slice(o,t.position)}function serializeAMimeType(e){r(e!=="failure");const{parameters:t,essence:s}=e;let o=s;for(let[e,s]of t.entries()){o+=";";o+=e;o+="=";if(!i.test(s)){s=s.replace(/(\\|")/g,"\\$1");s='"'+s;s+='"'}o+=s}return o}function isHTTPWhiteSpace(e){return e==="\r"||e==="\n"||e==="\t"||e===" "}function removeHTTPWhitespace(e,t=true,s=true){let r=0;let o=e.length-1;if(t){for(;r0&&isHTTPWhiteSpace(e[o]);o--);}return e.slice(r,o+1)}function isASCIIWhitespace(e){return e==="\r"||e==="\n"||e==="\t"||e==="\f"||e===" "}function removeASCIIWhitespace(e,t=true,s=true){let r=0;let o=e.length-1;if(t){for(;r0&&isASCIIWhitespace(e[o]);o--);}return e.slice(r,o+1)}e.exports={dataURLProcessor:dataURLProcessor,URLSerializer:URLSerializer,collectASequenceOfCodePoints:collectASequenceOfCodePoints,collectASequenceOfCodePointsFast:collectASequenceOfCodePointsFast,stringPercentDecode:stringPercentDecode,parseMIMEType:parseMIMEType,collectAnHTTPQuotedString:collectAnHTTPQuotedString,serializeAMimeType:serializeAMimeType}},5506:(e,t,s)=>{const{Blob:r,File:o}=s(4300);const{types:n}=s(3837);const{kState:A}=s(5376);const{isBlobLike:i}=s(5496);const{webidl:a}=s(9111);const{parseMIMEType:c,serializeAMimeType:l}=s(5958);const{kEnumerableProperty:u}=s(7497);const p=new TextEncoder;class File extends r{constructor(e,t,s={}){a.argumentLengthCheck(arguments,2,{header:"File constructor"});e=a.converters["sequence"](e);t=a.converters.USVString(t);s=a.converters.FilePropertyBag(s);const r=t;let o=s.type;let n;e:{if(o){o=c(o);if(o==="failure"){o="";break e}o=l(o).toLowerCase()}n=s.lastModified}super(processBlobParts(e,s),{type:o});this[A]={name:r,lastModified:n,type:o}}get name(){a.brandCheck(this,File);return this[A].name}get lastModified(){a.brandCheck(this,File);return this[A].lastModified}get type(){a.brandCheck(this,File);return this[A].type}}class FileLike{constructor(e,t,s={}){const r=t;const o=s.type;const n=s.lastModified??Date.now();this[A]={blobLike:e,name:r,type:o,lastModified:n}}stream(...e){a.brandCheck(this,FileLike);return this[A].blobLike.stream(...e)}arrayBuffer(...e){a.brandCheck(this,FileLike);return this[A].blobLike.arrayBuffer(...e)}slice(...e){a.brandCheck(this,FileLike);return this[A].blobLike.slice(...e)}text(...e){a.brandCheck(this,FileLike);return this[A].blobLike.text(...e)}get size(){a.brandCheck(this,FileLike);return this[A].blobLike.size}get type(){a.brandCheck(this,FileLike);return this[A].blobLike.type}get name(){a.brandCheck(this,FileLike);return this[A].name}get lastModified(){a.brandCheck(this,FileLike);return this[A].lastModified}get[Symbol.toStringTag](){return"File"}}Object.defineProperties(File.prototype,{[Symbol.toStringTag]:{value:"File",configurable:true},name:u,lastModified:u});a.converters.Blob=a.interfaceConverter(r);a.converters.BlobPart=function(e,t){if(a.util.Type(e)==="Object"){if(i(e)){return a.converters.Blob(e,{strict:false})}if(ArrayBuffer.isView(e)||n.isAnyArrayBuffer(e)){return a.converters.BufferSource(e,t)}}return a.converters.USVString(e,t)};a.converters["sequence"]=a.sequenceConverter(a.converters.BlobPart);a.converters.FilePropertyBag=a.dictionaryConverter([{key:"lastModified",converter:a.converters["long long"],get defaultValue(){return Date.now()}},{key:"type",converter:a.converters.DOMString,defaultValue:""},{key:"endings",converter:e=>{e=a.converters.DOMString(e);e=e.toLowerCase();if(e!=="native"){e="transparent"}return e},defaultValue:"transparent"}]);function processBlobParts(e,t){const s=[];for(const r of e){if(typeof r==="string"){let e=r;if(t.endings==="native"){e=convertLineEndingsNative(e)}s.push(p.encode(e))}else if(n.isAnyArrayBuffer(r)||n.isTypedArray(r)){if(!r.buffer){s.push(new Uint8Array(r))}else{s.push(new Uint8Array(r.buffer,r.byteOffset,r.byteLength))}}else if(i(r)){s.push(r)}}return s}function convertLineEndingsNative(e){let t="\n";if(process.platform==="win32"){t="\r\n"}return e.replace(/\r?\n/g,t)}function isFileLike(e){return o&&e instanceof o||e instanceof File||e&&(typeof e.stream==="function"||typeof e.arrayBuffer==="function")&&e[Symbol.toStringTag]==="File"}e.exports={File:File,FileLike:FileLike,isFileLike:isFileLike}},9425:(e,t,s)=>{const{isBlobLike:r,toUSVString:o,makeIterator:n}=s(5496);const{kState:A}=s(5376);const{File:i,FileLike:a,isFileLike:c}=s(5506);const{webidl:l}=s(9111);const{Blob:u,File:p}=s(4300);const d=p??i;class FormData{constructor(e){if(e!==undefined){throw l.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}this[A]=[]}append(e,t,s=undefined){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,2,{header:"FormData.append"});if(arguments.length===3&&!r(t)){throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'")}e=l.converters.USVString(e);t=r(t)?l.converters.Blob(t,{strict:false}):l.converters.USVString(t);s=arguments.length===3?l.converters.USVString(s):undefined;const o=makeEntry(e,t,s);this[A].push(o)}delete(e){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,1,{header:"FormData.delete"});e=l.converters.USVString(e);this[A]=this[A].filter((t=>t.name!==e))}get(e){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,1,{header:"FormData.get"});e=l.converters.USVString(e);const t=this[A].findIndex((t=>t.name===e));if(t===-1){return null}return this[A][t].value}getAll(e){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,1,{header:"FormData.getAll"});e=l.converters.USVString(e);return this[A].filter((t=>t.name===e)).map((e=>e.value))}has(e){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,1,{header:"FormData.has"});e=l.converters.USVString(e);return this[A].findIndex((t=>t.name===e))!==-1}set(e,t,s=undefined){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,2,{header:"FormData.set"});if(arguments.length===3&&!r(t)){throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'")}e=l.converters.USVString(e);t=r(t)?l.converters.Blob(t,{strict:false}):l.converters.USVString(t);s=arguments.length===3?o(s):undefined;const n=makeEntry(e,t,s);const i=this[A].findIndex((t=>t.name===e));if(i!==-1){this[A]=[...this[A].slice(0,i),n,...this[A].slice(i+1).filter((t=>t.name!==e))]}else{this[A].push(n)}}entries(){l.brandCheck(this,FormData);return n((()=>this[A].map((e=>[e.name,e.value]))),"FormData","key+value")}keys(){l.brandCheck(this,FormData);return n((()=>this[A].map((e=>[e.name,e.value]))),"FormData","key")}values(){l.brandCheck(this,FormData);return n((()=>this[A].map((e=>[e.name,e.value]))),"FormData","value")}forEach(e,t=globalThis){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,1,{header:"FormData.forEach"});if(typeof e!=="function"){throw new TypeError("Failed to execute 'forEach' on 'FormData': parameter 1 is not of type 'Function'.")}for(const[s,r]of this){e.apply(t,[r,s,this])}}}FormData.prototype[Symbol.iterator]=FormData.prototype.entries;Object.defineProperties(FormData.prototype,{[Symbol.toStringTag]:{value:"FormData",configurable:true}});function makeEntry(e,t,s){e=Buffer.from(e).toString("utf8");if(typeof t==="string"){t=Buffer.from(t).toString("utf8")}else{if(!c(t)){t=t instanceof u?new d([t],"blob",{type:t.type}):new a(t,"blob",{type:t.type})}if(s!==undefined){const e={type:t.type,lastModified:t.lastModified};t=p&&t instanceof p||t instanceof i?new d([t],s,e):new a(t,s,e)}}return{name:e,value:t}}e.exports={FormData:FormData}},7011:e=>{const t=Symbol.for("undici.globalOrigin.1");function getGlobalOrigin(){return globalThis[t]}function setGlobalOrigin(e){if(e===undefined){Object.defineProperty(globalThis,t,{value:undefined,writable:true,enumerable:false,configurable:false});return}const s=new URL(e);if(s.protocol!=="http:"&&s.protocol!=="https:"){throw new TypeError(`Only http & https urls are allowed, received ${s.protocol}`)}Object.defineProperty(globalThis,t,{value:s,writable:true,enumerable:false,configurable:false})}e.exports={getGlobalOrigin:getGlobalOrigin,setGlobalOrigin:setGlobalOrigin}},1855:(e,t,s)=>{const{kHeadersList:r,kConstruct:o}=s(3932);const{kGuard:n}=s(5376);const{kEnumerableProperty:A}=s(7497);const{makeIterator:i,isValidHeaderName:a,isValidHeaderValue:c}=s(5496);const{webidl:l}=s(9111);const u=s(9491);const p=Symbol("headers map");const d=Symbol("headers map sorted");function isHTTPWhiteSpaceCharCode(e){return e===10||e===13||e===9||e===32}function headerValueNormalize(e){let t=0;let s=e.length;while(s>t&&isHTTPWhiteSpaceCharCode(e.charCodeAt(s-1)))--s;while(s>t&&isHTTPWhiteSpaceCharCode(e.charCodeAt(t)))++t;return t===0&&s===e.length?e:e.substring(t,s)}function fill(e,t){if(Array.isArray(t)){for(let s=0;s>","record"]})}}function appendHeader(e,t,s){s=headerValueNormalize(s);if(!a(t)){throw l.errors.invalidArgument({prefix:"Headers.append",value:t,type:"header name"})}else if(!c(s)){throw l.errors.invalidArgument({prefix:"Headers.append",value:s,type:"header value"})}if(e[n]==="immutable"){throw new TypeError("immutable")}else if(e[n]==="request-no-cors"){}return e[r].append(t,s)}class HeadersList{cookies=null;constructor(e){if(e instanceof HeadersList){this[p]=new Map(e[p]);this[d]=e[d];this.cookies=e.cookies===null?null:[...e.cookies]}else{this[p]=new Map(e);this[d]=null}}contains(e){e=e.toLowerCase();return this[p].has(e)}clear(){this[p].clear();this[d]=null;this.cookies=null}append(e,t){this[d]=null;const s=e.toLowerCase();const r=this[p].get(s);if(r){const e=s==="cookie"?"; ":", ";this[p].set(s,{name:r.name,value:`${r.value}${e}${t}`})}else{this[p].set(s,{name:e,value:t})}if(s==="set-cookie"){this.cookies??=[];this.cookies.push(t)}}set(e,t){this[d]=null;const s=e.toLowerCase();if(s==="set-cookie"){this.cookies=[t]}this[p].set(s,{name:e,value:t})}delete(e){this[d]=null;e=e.toLowerCase();if(e==="set-cookie"){this.cookies=null}this[p].delete(e)}get(e){const t=this[p].get(e.toLowerCase());return t===undefined?null:t.value}*[Symbol.iterator](){for(const[e,{value:t}]of this[p]){yield[e,t]}}get entries(){const e={};if(this[p].size){for(const{name:t,value:s}of this[p].values()){e[t]=s}}return e}}class Headers{constructor(e=undefined){if(e===o){return}this[r]=new HeadersList;this[n]="none";if(e!==undefined){e=l.converters.HeadersInit(e);fill(this,e)}}append(e,t){l.brandCheck(this,Headers);l.argumentLengthCheck(arguments,2,{header:"Headers.append"});e=l.converters.ByteString(e);t=l.converters.ByteString(t);return appendHeader(this,e,t)}delete(e){l.brandCheck(this,Headers);l.argumentLengthCheck(arguments,1,{header:"Headers.delete"});e=l.converters.ByteString(e);if(!a(e)){throw l.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"})}if(this[n]==="immutable"){throw new TypeError("immutable")}else if(this[n]==="request-no-cors"){}if(!this[r].contains(e)){return}this[r].delete(e)}get(e){l.brandCheck(this,Headers);l.argumentLengthCheck(arguments,1,{header:"Headers.get"});e=l.converters.ByteString(e);if(!a(e)){throw l.errors.invalidArgument({prefix:"Headers.get",value:e,type:"header name"})}return this[r].get(e)}has(e){l.brandCheck(this,Headers);l.argumentLengthCheck(arguments,1,{header:"Headers.has"});e=l.converters.ByteString(e);if(!a(e)){throw l.errors.invalidArgument({prefix:"Headers.has",value:e,type:"header name"})}return this[r].contains(e)}set(e,t){l.brandCheck(this,Headers);l.argumentLengthCheck(arguments,2,{header:"Headers.set"});e=l.converters.ByteString(e);t=l.converters.ByteString(t);t=headerValueNormalize(t);if(!a(e)){throw l.errors.invalidArgument({prefix:"Headers.set",value:e,type:"header name"})}else if(!c(t)){throw l.errors.invalidArgument({prefix:"Headers.set",value:t,type:"header value"})}if(this[n]==="immutable"){throw new TypeError("immutable")}else if(this[n]==="request-no-cors"){}this[r].set(e,t)}getSetCookie(){l.brandCheck(this,Headers);const e=this[r].cookies;if(e){return[...e]}return[]}get[d](){if(this[r][d]){return this[r][d]}const e=[];const t=[...this[r]].sort(((e,t)=>e[0]e),"Headers","key")}return i((()=>[...this[d].values()]),"Headers","key")}values(){l.brandCheck(this,Headers);if(this[n]==="immutable"){const e=this[d];return i((()=>e),"Headers","value")}return i((()=>[...this[d].values()]),"Headers","value")}entries(){l.brandCheck(this,Headers);if(this[n]==="immutable"){const e=this[d];return i((()=>e),"Headers","key+value")}return i((()=>[...this[d].values()]),"Headers","key+value")}forEach(e,t=globalThis){l.brandCheck(this,Headers);l.argumentLengthCheck(arguments,1,{header:"Headers.forEach"});if(typeof e!=="function"){throw new TypeError("Failed to execute 'forEach' on 'Headers': parameter 1 is not of type 'Function'.")}for(const[s,r]of this){e.apply(t,[r,s,this])}}[Symbol.for("nodejs.util.inspect.custom")](){l.brandCheck(this,Headers);return this[r]}}Headers.prototype[Symbol.iterator]=Headers.prototype.entries;Object.defineProperties(Headers.prototype,{append:A,delete:A,get:A,has:A,set:A,getSetCookie:A,keys:A,values:A,entries:A,forEach:A,[Symbol.iterator]:{enumerable:false},[Symbol.toStringTag]:{value:"Headers",configurable:true}});l.converters.HeadersInit=function(e){if(l.util.Type(e)==="Object"){if(e[Symbol.iterator]){return l.converters["sequence>"](e)}return l.converters["record"](e)}throw l.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})};e.exports={fill:fill,Headers:Headers,HeadersList:HeadersList}},8802:(e,t,s)=>{const{Response:r,makeNetworkError:o,makeAppropriateNetworkError:n,filterResponse:A,makeResponse:i}=s(3950);const{Headers:a}=s(1855);const{Request:c,makeRequest:l}=s(6453);const u=s(9796);const{bytesMatch:p,makePolicyContainer:d,clonePolicyContainer:g,requestBadPort:h,TAOCheck:E,appendRequestOriginHeader:C,responseLocationURL:m,requestCurrentURL:Q,setRequestReferrerPolicyOnRedirect:B,tryUpgradeRequestToAPotentiallyTrustworthyURL:I,createOpaqueTimingInfo:b,appendFetchMetadata:y,corsCheck:w,crossOriginResourcePolicyCheck:v,determineRequestsReferrer:R,coarsenedSharedCurrentTime:k,createDeferredPromise:D,isBlobLike:x,sameOrigin:F,isCancelled:S,isAborted:T,isErrorLike:N,fullyReadBody:U,readableStreamClose:L,isomorphicEncode:_,urlIsLocal:M,urlIsHttpHttpsScheme:G,urlHasHttpsScheme:O}=s(5496);const{kState:P,kHeaders:H,kGuard:Y,kRealm:J}=s(5376);const V=s(9491);const{safelyExtractBody:q}=s(1226);const{redirectStatusSet:W,nullBodyStatus:j,safeMethodsSet:z,requestBodyHeader:K,subresourceSet:X,DOMException:Z}=s(7533);const{kHeadersList:$}=s(3932);const ee=s(2361);const{Readable:te,pipeline:se}=s(2781);const{addAbortListener:re,isErrored:oe,isReadable:ne,nodeMajor:Ae,nodeMinor:ie}=s(7497);const{dataURLProcessor:ae,serializeAMimeType:ce}=s(5958);const{TransformStream:le}=s(5356);const{getGlobalDispatcher:ue}=s(2899);const{webidl:pe}=s(9111);const{STATUS_CODES:de}=s(3685);const ge=["GET","HEAD"];let he;let Ee=globalThis.ReadableStream;class Fetch extends ee{constructor(e){super();this.dispatcher=e;this.connection=null;this.dump=false;this.state="ongoing";this.setMaxListeners(21)}terminate(e){if(this.state!=="ongoing"){return}this.state="terminated";this.connection?.destroy(e);this.emit("terminated",e)}abort(e){if(this.state!=="ongoing"){return}this.state="aborted";if(!e){e=new Z("The operation was aborted.","AbortError")}this.serializedAbortReason=e;this.connection?.destroy(e);this.emit("terminated",e)}}function fetch(e,t={}){pe.argumentLengthCheck(arguments,1,{header:"globalThis.fetch"});const s=D();let o;try{o=new c(e,t)}catch(e){s.reject(e);return s.promise}const n=o[P];if(o.signal.aborted){abortFetch(s,n,null,o.signal.reason);return s.promise}const A=n.client.globalObject;if(A?.constructor?.name==="ServiceWorkerGlobalScope"){n.serviceWorkers="none"}let i=null;const a=null;let l=false;let u=null;re(o.signal,(()=>{l=true;V(u!=null);u.abort(o.signal.reason);abortFetch(s,n,i,o.signal.reason)}));const handleFetchDone=e=>finalizeAndReportTiming(e,"fetch");const processResponse=e=>{if(l){return Promise.resolve()}if(e.aborted){abortFetch(s,n,i,u.serializedAbortReason);return Promise.resolve()}if(e.type==="error"){s.reject(Object.assign(new TypeError("fetch failed"),{cause:e.error}));return Promise.resolve()}i=new r;i[P]=e;i[J]=a;i[H][$]=e.headersList;i[H][Y]="immutable";i[H][J]=a;s.resolve(i)};u=fetching({request:n,processResponseEndOfBody:handleFetchDone,processResponse:processResponse,dispatcher:t.dispatcher??ue()});return s.promise}function finalizeAndReportTiming(e,t="other"){if(e.type==="error"&&e.aborted){return}if(!e.urlList?.length){return}const s=e.urlList[0];let r=e.timingInfo;let o=e.cacheState;if(!G(s)){return}if(r===null){return}if(!e.timingAllowPassed){r=b({startTime:r.startTime});o=""}r.endTime=k();e.timingInfo=r;markResourceTiming(r,s,t,globalThis,o)}function markResourceTiming(e,t,s,r,o){if(Ae>18||Ae===18&&ie>=2){performance.markResourceTiming(e,t.href,s,r,o)}}function abortFetch(e,t,s,r){if(!r){r=new Z("The operation was aborted.","AbortError")}e.reject(r);if(t.body!=null&&ne(t.body?.stream)){t.body.stream.cancel(r).catch((e=>{if(e.code==="ERR_INVALID_STATE"){return}throw e}))}if(s==null){return}const o=s[P];if(o.body!=null&&ne(o.body?.stream)){o.body.stream.cancel(r).catch((e=>{if(e.code==="ERR_INVALID_STATE"){return}throw e}))}}function fetching({request:e,processRequestBodyChunkLength:t,processRequestEndOfBody:s,processResponse:r,processResponseEndOfBody:o,processResponseConsumeBody:n,useParallelQueue:A=false,dispatcher:i}){let a=null;let c=false;if(e.client!=null){a=e.client.globalObject;c=e.client.crossOriginIsolatedCapability}const l=k(c);const u=b({startTime:l});const p={controller:new Fetch(i),request:e,timingInfo:u,processRequestBodyChunkLength:t,processRequestEndOfBody:s,processResponse:r,processResponseConsumeBody:n,processResponseEndOfBody:o,taskDestination:a,crossOriginIsolatedCapability:c};V(!e.body||e.body.stream);if(e.window==="client"){e.window=e.client?.globalObject?.constructor?.name==="Window"?e.client:"no-window"}if(e.origin==="client"){e.origin=e.client?.origin}if(e.policyContainer==="client"){if(e.client!=null){e.policyContainer=g(e.client.policyContainer)}else{e.policyContainer=d()}}if(!e.headersList.contains("accept")){const t="*/*";e.headersList.append("accept",t)}if(!e.headersList.contains("accept-language")){e.headersList.append("accept-language","*")}if(e.priority===null){}if(X.has(e.destination)){}mainFetch(p).catch((e=>{p.controller.terminate(e)}));return p.controller}async function mainFetch(e,t=false){const s=e.request;let r=null;if(s.localURLsOnly&&!M(Q(s))){r=o("local URLs only")}I(s);if(h(s)==="blocked"){r=o("bad port")}if(s.referrerPolicy===""){s.referrerPolicy=s.policyContainer.referrerPolicy}if(s.referrer!=="no-referrer"){s.referrer=R(s)}if(r===null){r=await(async()=>{const t=Q(s);if(F(t,s.url)&&s.responseTainting==="basic"||t.protocol==="data:"||(s.mode==="navigate"||s.mode==="websocket")){s.responseTainting="basic";return await schemeFetch(e)}if(s.mode==="same-origin"){return o('request mode cannot be "same-origin"')}if(s.mode==="no-cors"){if(s.redirect!=="follow"){return o('redirect mode cannot be "follow" for "no-cors" request')}s.responseTainting="opaque";return await schemeFetch(e)}if(!G(Q(s))){return o("URL scheme must be a HTTP(S) scheme")}s.responseTainting="cors";return await httpFetch(e)})()}if(t){return r}if(r.status!==0&&!r.internalResponse){if(s.responseTainting==="cors"){}if(s.responseTainting==="basic"){r=A(r,"basic")}else if(s.responseTainting==="cors"){r=A(r,"cors")}else if(s.responseTainting==="opaque"){r=A(r,"opaque")}else{V(false)}}let n=r.status===0?r:r.internalResponse;if(n.urlList.length===0){n.urlList.push(...s.urlList)}if(!s.timingAllowFailed){r.timingAllowPassed=true}if(r.type==="opaque"&&n.status===206&&n.rangeRequested&&!s.headers.contains("range")){r=n=o()}if(r.status!==0&&(s.method==="HEAD"||s.method==="CONNECT"||j.includes(n.status))){n.body=null;e.controller.dump=true}if(s.integrity){const processBodyError=t=>fetchFinale(e,o(t));if(s.responseTainting==="opaque"||r.body==null){processBodyError(r.error);return}const processBody=t=>{if(!p(t,s.integrity)){processBodyError("integrity mismatch");return}r.body=q(t)[0];fetchFinale(e,r)};await U(r.body,processBody,processBodyError)}else{fetchFinale(e,r)}}function schemeFetch(e){if(S(e)&&e.request.redirectCount===0){return Promise.resolve(n(e))}const{request:t}=e;const{protocol:r}=Q(t);switch(r){case"about:":{return Promise.resolve(o("about scheme is not supported"))}case"blob:":{if(!he){he=s(4300).resolveObjectURL}const e=Q(t);if(e.search.length!==0){return Promise.resolve(o("NetworkError when attempting to fetch resource."))}const r=he(e.toString());if(t.method!=="GET"||!x(r)){return Promise.resolve(o("invalid method"))}const n=q(r);const A=n[0];const a=_(`${A.length}`);const c=n[1]??"";const l=i({statusText:"OK",headersList:[["content-length",{name:"Content-Length",value:a}],["content-type",{name:"Content-Type",value:c}]]});l.body=A;return Promise.resolve(l)}case"data:":{const e=Q(t);const s=ae(e);if(s==="failure"){return Promise.resolve(o("failed to fetch the data URL"))}const r=ce(s.mimeType);return Promise.resolve(i({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:r}]],body:q(s.body)[0]}))}case"file:":{return Promise.resolve(o("not implemented... yet..."))}case"http:":case"https:":{return httpFetch(e).catch((e=>o(e)))}default:{return Promise.resolve(o("unknown scheme"))}}}function finalizeResponse(e,t){e.request.done=true;if(e.processResponseDone!=null){queueMicrotask((()=>e.processResponseDone(t)))}}function fetchFinale(e,t){if(t.type==="error"){t.urlList=[e.request.urlList[0]];t.timingInfo=b({startTime:e.timingInfo.startTime})}const processResponseEndOfBody=()=>{e.request.done=true;if(e.processResponseEndOfBody!=null){queueMicrotask((()=>e.processResponseEndOfBody(t)))}};if(e.processResponse!=null){queueMicrotask((()=>e.processResponse(t)))}if(t.body==null){processResponseEndOfBody()}else{const identityTransformAlgorithm=(e,t)=>{t.enqueue(e)};const e=new le({start(){},transform:identityTransformAlgorithm,flush:processResponseEndOfBody},{size(){return 1}},{size(){return 1}});t.body={stream:t.body.stream.pipeThrough(e)}}if(e.processResponseConsumeBody!=null){const processBody=s=>e.processResponseConsumeBody(t,s);const processBodyError=s=>e.processResponseConsumeBody(t,s);if(t.body==null){queueMicrotask((()=>processBody(null)))}else{return U(t.body,processBody,processBodyError)}return Promise.resolve()}}async function httpFetch(e){const t=e.request;let s=null;let r=null;const n=e.timingInfo;if(t.serviceWorkers==="all"){}if(s===null){if(t.redirect==="follow"){t.serviceWorkers="none"}r=s=await httpNetworkOrCacheFetch(e);if(t.responseTainting==="cors"&&w(t,s)==="failure"){return o("cors failure")}if(E(t,s)==="failure"){t.timingAllowFailed=true}}if((t.responseTainting==="opaque"||s.type==="opaque")&&v(t.origin,t.client,t.destination,r)==="blocked"){return o("blocked")}if(W.has(r.status)){if(t.redirect!=="manual"){e.controller.connection.destroy()}if(t.redirect==="error"){s=o("unexpected redirect")}else if(t.redirect==="manual"){s=r}else if(t.redirect==="follow"){s=await httpRedirectFetch(e,s)}else{V(false)}}s.timingInfo=n;return s}function httpRedirectFetch(e,t){const s=e.request;const r=t.internalResponse?t.internalResponse:t;let n;try{n=m(r,Q(s).hash);if(n==null){return t}}catch(e){return Promise.resolve(o(e))}if(!G(n)){return Promise.resolve(o("URL scheme must be a HTTP(S) scheme"))}if(s.redirectCount===20){return Promise.resolve(o("redirect count exceeded"))}s.redirectCount+=1;if(s.mode==="cors"&&(n.username||n.password)&&!F(s,n)){return Promise.resolve(o('cross origin not allowed for request mode "cors"'))}if(s.responseTainting==="cors"&&(n.username||n.password)){return Promise.resolve(o('URL cannot contain credentials for request mode "cors"'))}if(r.status!==303&&s.body!=null&&s.body.source==null){return Promise.resolve(o())}if([301,302].includes(r.status)&&s.method==="POST"||r.status===303&&!ge.includes(s.method)){s.method="GET";s.body=null;for(const e of K){s.headersList.delete(e)}}if(!F(Q(s),n)){s.headersList.delete("authorization");s.headersList.delete("cookie");s.headersList.delete("host")}if(s.body!=null){V(s.body.source!=null);s.body=q(s.body.source)[0]}const A=e.timingInfo;A.redirectEndTime=A.postRedirectStartTime=k(e.crossOriginIsolatedCapability);if(A.redirectStartTime===0){A.redirectStartTime=A.startTime}s.urlList.push(n);B(s,r);return mainFetch(e,true)}async function httpNetworkOrCacheFetch(e,t=false,s=false){const r=e.request;let A=null;let i=null;let a=null;const c=null;const u=false;if(r.window==="no-window"&&r.redirect==="error"){A=e;i=r}else{i=l(r);A={...e};A.request=i}const p=r.credentials==="include"||r.credentials==="same-origin"&&r.responseTainting==="basic";const d=i.body?i.body.length:null;let g=null;if(i.body==null&&["POST","PUT"].includes(i.method)){g="0"}if(d!=null){g=_(`${d}`)}if(g!=null){i.headersList.append("content-length",g)}if(d!=null&&i.keepalive){}if(i.referrer instanceof URL){i.headersList.append("referer",_(i.referrer.href))}C(i);y(i);if(!i.headersList.contains("user-agent")){i.headersList.append("user-agent",typeof esbuildDetection==="undefined"?"undici":"node")}if(i.cache==="default"&&(i.headersList.contains("if-modified-since")||i.headersList.contains("if-none-match")||i.headersList.contains("if-unmodified-since")||i.headersList.contains("if-match")||i.headersList.contains("if-range"))){i.cache="no-store"}if(i.cache==="no-cache"&&!i.preventNoCacheCacheControlHeaderModification&&!i.headersList.contains("cache-control")){i.headersList.append("cache-control","max-age=0")}if(i.cache==="no-store"||i.cache==="reload"){if(!i.headersList.contains("pragma")){i.headersList.append("pragma","no-cache")}if(!i.headersList.contains("cache-control")){i.headersList.append("cache-control","no-cache")}}if(i.headersList.contains("range")){i.headersList.append("accept-encoding","identity")}if(!i.headersList.contains("accept-encoding")){if(O(Q(i))){i.headersList.append("accept-encoding","br, gzip, deflate")}else{i.headersList.append("accept-encoding","gzip, deflate")}}i.headersList.delete("host");if(p){}if(c==null){i.cache="no-store"}if(i.mode!=="no-store"&&i.mode!=="reload"){}if(a==null){if(i.mode==="only-if-cached"){return o("only if cached")}const e=await httpNetworkFetch(A,p,s);if(!z.has(i.method)&&e.status>=200&&e.status<=399){}if(u&&e.status===304){}if(a==null){a=e}}a.urlList=[...i.urlList];if(i.headersList.contains("range")){a.rangeRequested=true}a.requestIncludesCredentials=p;if(a.status===407){if(r.window==="no-window"){return o()}if(S(e)){return n(e)}return o("proxy authentication required")}if(a.status===421&&!s&&(r.body==null||r.body.source!=null)){if(S(e)){return n(e)}e.controller.connection.destroy();a=await httpNetworkOrCacheFetch(e,t,true)}if(t){}return a}async function httpNetworkFetch(e,t=false,r=false){V(!e.controller.connection||e.controller.connection.destroyed);e.controller.connection={abort:null,destroyed:false,destroy(e){if(!this.destroyed){this.destroyed=true;this.abort?.(e??new Z("The operation was aborted.","AbortError"))}}};const A=e.request;let c=null;const l=e.timingInfo;const p=null;if(p==null){A.cache="no-store"}const d=r?"yes":"no";if(A.mode==="websocket"){}else{}let g=null;if(A.body==null&&e.processRequestEndOfBody){queueMicrotask((()=>e.processRequestEndOfBody()))}else if(A.body!=null){const processBodyChunk=async function*(t){if(S(e)){return}yield t;e.processRequestBodyChunkLength?.(t.byteLength)};const processEndOfBody=()=>{if(S(e)){return}if(e.processRequestEndOfBody){e.processRequestEndOfBody()}};const processBodyError=t=>{if(S(e)){return}if(t.name==="AbortError"){e.controller.abort()}else{e.controller.terminate(t)}};g=async function*(){try{for await(const e of A.body.stream){yield*processBodyChunk(e)}processEndOfBody()}catch(e){processBodyError(e)}}()}try{const{body:t,status:s,statusText:r,headersList:o,socket:n}=await dispatch({body:g});if(n){c=i({status:s,statusText:r,headersList:o,socket:n})}else{const n=t[Symbol.asyncIterator]();e.controller.next=()=>n.next();c=i({status:s,statusText:r,headersList:o})}}catch(t){if(t.name==="AbortError"){e.controller.connection.destroy();return n(e,t)}return o(t)}const pullAlgorithm=()=>{e.controller.resume()};const cancelAlgorithm=t=>{e.controller.abort(t)};if(!Ee){Ee=s(5356).ReadableStream}const h=new Ee({async start(t){e.controller.controller=t},async pull(e){await pullAlgorithm(e)},async cancel(e){await cancelAlgorithm(e)}},{highWaterMark:0,size(){return 1}});c.body={stream:h};e.controller.on("terminated",onAborted);e.controller.resume=async()=>{while(true){let t;let s;try{const{done:s,value:r}=await e.controller.next();if(T(e)){break}t=s?undefined:r}catch(r){if(e.controller.ended&&!l.encodedBodySize){t=undefined}else{t=r;s=true}}if(t===undefined){L(e.controller.controller);finalizeResponse(e,c);return}l.decodedBodySize+=t?.byteLength??0;if(s){e.controller.terminate(t);return}e.controller.controller.enqueue(new Uint8Array(t));if(oe(h)){e.controller.terminate();return}if(!e.controller.controller.desiredSize){return}}};function onAborted(t){if(T(e)){c.aborted=true;if(ne(h)){e.controller.controller.error(e.controller.serializedAbortReason)}}else{if(ne(h)){e.controller.controller.error(new TypeError("terminated",{cause:N(t)?t:undefined}))}}e.controller.connection.destroy()}return c;async function dispatch({body:t}){const s=Q(A);const r=e.controller.dispatcher;return new Promise(((o,n)=>r.dispatch({path:s.pathname+s.search,origin:s.origin,method:A.method,body:e.controller.dispatcher.isMockActive?A.body&&(A.body.source||A.body.stream):t,headers:A.headersList.entries,maxRedirections:0,upgrade:A.mode==="websocket"?"websocket":undefined},{body:null,abort:null,onConnect(t){const{connection:s}=e.controller;if(s.destroyed){t(new Z("The operation was aborted.","AbortError"))}else{e.controller.on("terminated",t);this.abort=s.abort=t}},onHeaders(e,t,s,r){if(e<200){return}let n=[];let i="";const c=new a;if(Array.isArray(t)){for(let e=0;ee.trim()))}else if(s.toLowerCase()==="location"){i=r}c[$].append(s,r)}}else{const e=Object.keys(t);for(const s of e){const e=t[s];if(s.toLowerCase()==="content-encoding"){n=e.toLowerCase().split(",").map((e=>e.trim())).reverse()}else if(s.toLowerCase()==="location"){i=e}c[$].append(s,e)}}this.body=new te({read:s});const l=[];const p=A.redirect==="follow"&&i&&W.has(e);if(A.method!=="HEAD"&&A.method!=="CONNECT"&&!j.includes(e)&&!p){for(const e of n){if(e==="x-gzip"||e==="gzip"){l.push(u.createGunzip({flush:u.constants.Z_SYNC_FLUSH,finishFlush:u.constants.Z_SYNC_FLUSH}))}else if(e==="deflate"){l.push(u.createInflate())}else if(e==="br"){l.push(u.createBrotliDecompress())}else{l.length=0;break}}}o({status:e,statusText:r,headersList:c[$],body:l.length?se(this.body,...l,(()=>{})):this.body.on("error",(()=>{}))});return true},onData(t){if(e.controller.dump){return}const s=t;l.encodedBodySize+=s.byteLength;return this.body.push(s)},onComplete(){if(this.abort){e.controller.off("terminated",this.abort)}e.controller.ended=true;this.body.push(null)},onError(t){if(this.abort){e.controller.off("terminated",this.abort)}this.body?.destroy(t);e.controller.terminate(t);n(t)},onUpgrade(e,t,s){if(e!==101){return}const r=new a;for(let e=0;e{const{extractBody:r,mixinBody:o,cloneBody:n}=s(1226);const{Headers:A,fill:i,HeadersList:a}=s(1855);const{FinalizationRegistry:c}=s(5285)();const l=s(7497);const{isValidHTTPToken:u,sameOrigin:p,normalizeMethod:d,makePolicyContainer:g,normalizeMethodRecord:h}=s(5496);const{forbiddenMethodsSet:E,corsSafeListedMethodsSet:C,referrerPolicy:m,requestRedirect:Q,requestMode:B,requestCredentials:I,requestCache:b,requestDuplex:y}=s(7533);const{kEnumerableProperty:w}=l;const{kHeaders:v,kSignal:R,kState:k,kGuard:D,kRealm:x}=s(5376);const{webidl:F}=s(9111);const{getGlobalOrigin:S}=s(7011);const{URLSerializer:T}=s(5958);const{kHeadersList:N,kConstruct:U}=s(3932);const L=s(9491);const{getMaxListeners:_,setMaxListeners:M,getEventListeners:G,defaultMaxListeners:O}=s(2361);let P=globalThis.TransformStream;const H=Symbol("abortController");const Y=new c((({signal:e,abort:t})=>{e.removeEventListener("abort",t)}));class Request{constructor(e,t={}){if(e===U){return}F.argumentLengthCheck(arguments,1,{header:"Request constructor"});e=F.converters.RequestInfo(e);t=F.converters.RequestInit(t);this[x]={settingsObject:{baseUrl:S(),get origin(){return this.baseUrl?.origin},policyContainer:g()}};let o=null;let n=null;const c=this[x].settingsObject.baseUrl;let m=null;if(typeof e==="string"){let t;try{t=new URL(e,c)}catch(t){throw new TypeError("Failed to parse URL from "+e,{cause:t})}if(t.username||t.password){throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+e)}o=makeRequest({urlList:[t]});n="cors"}else{L(e instanceof Request);o=e[k];m=e[R]}const Q=this[x].settingsObject.origin;let B="client";if(o.window?.constructor?.name==="EnvironmentSettingsObject"&&p(o.window,Q)){B=o.window}if(t.window!=null){throw new TypeError(`'window' option '${B}' must be null`)}if("window"in t){B="no-window"}o=makeRequest({method:o.method,headersList:o.headersList,unsafeRequest:o.unsafeRequest,client:this[x].settingsObject,window:B,priority:o.priority,origin:o.origin,referrer:o.referrer,referrerPolicy:o.referrerPolicy,mode:o.mode,credentials:o.credentials,cache:o.cache,redirect:o.redirect,integrity:o.integrity,keepalive:o.keepalive,reloadNavigation:o.reloadNavigation,historyNavigation:o.historyNavigation,urlList:[...o.urlList]});const I=Object.keys(t).length!==0;if(I){if(o.mode==="navigate"){o.mode="same-origin"}o.reloadNavigation=false;o.historyNavigation=false;o.origin="client";o.referrer="client";o.referrerPolicy="";o.url=o.urlList[o.urlList.length-1];o.urlList=[o.url]}if(t.referrer!==undefined){const e=t.referrer;if(e===""){o.referrer="no-referrer"}else{let t;try{t=new URL(e,c)}catch(t){throw new TypeError(`Referrer "${e}" is not a valid URL.`,{cause:t})}if(t.protocol==="about:"&&t.hostname==="client"||Q&&!p(t,this[x].settingsObject.baseUrl)){o.referrer="client"}else{o.referrer=t}}}if(t.referrerPolicy!==undefined){o.referrerPolicy=t.referrerPolicy}let b;if(t.mode!==undefined){b=t.mode}else{b=n}if(b==="navigate"){throw F.errors.exception({header:"Request constructor",message:"invalid request mode navigate."})}if(b!=null){o.mode=b}if(t.credentials!==undefined){o.credentials=t.credentials}if(t.cache!==undefined){o.cache=t.cache}if(o.cache==="only-if-cached"&&o.mode!=="same-origin"){throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode")}if(t.redirect!==undefined){o.redirect=t.redirect}if(t.integrity!=null){o.integrity=String(t.integrity)}if(t.keepalive!==undefined){o.keepalive=Boolean(t.keepalive)}if(t.method!==undefined){let e=t.method;if(!u(e)){throw new TypeError(`'${e}' is not a valid HTTP method.`)}if(E.has(e.toUpperCase())){throw new TypeError(`'${e}' HTTP method is unsupported.`)}e=h[e]??d(e);o.method=e}if(t.signal!==undefined){m=t.signal}this[k]=o;const y=new AbortController;this[R]=y.signal;this[R][x]=this[x];if(m!=null){if(!m||typeof m.aborted!=="boolean"||typeof m.addEventListener!=="function"){throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.")}if(m.aborted){y.abort(m.reason)}else{this[H]=y;const e=new WeakRef(y);const abort=function(){const t=e.deref();if(t!==undefined){t.abort(this.reason)}};try{if(typeof _==="function"&&_(m)===O){M(100,m)}else if(G(m,"abort").length>=O){M(100,m)}}catch{}l.addAbortListener(m,abort);Y.register(y,{signal:m,abort:abort})}}this[v]=new A(U);this[v][N]=o.headersList;this[v][D]="request";this[v][x]=this[x];if(b==="no-cors"){if(!C.has(o.method)){throw new TypeError(`'${o.method} is unsupported in no-cors mode.`)}this[v][D]="request-no-cors"}if(I){const e=this[v][N];const s=t.headers!==undefined?t.headers:new a(e);e.clear();if(s instanceof a){for(const[t,r]of s){e.append(t,r)}e.cookies=s.cookies}else{i(this[v],s)}}const w=e instanceof Request?e[k].body:null;if((t.body!=null||w!=null)&&(o.method==="GET"||o.method==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body.")}let T=null;if(t.body!=null){const[e,s]=r(t.body,o.keepalive);T=e;if(s&&!this[v][N].contains("content-type")){this[v].append("content-type",s)}}const J=T??w;if(J!=null&&J.source==null){if(T!=null&&t.duplex==null){throw new TypeError("RequestInit: duplex option is required when sending a body.")}if(o.mode!=="same-origin"&&o.mode!=="cors"){throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"')}o.useCORSPreflightFlag=true}let V=J;if(T==null&&w!=null){if(l.isDisturbed(w.stream)||w.stream.locked){throw new TypeError("Cannot construct a Request with a Request object that has already been used.")}if(!P){P=s(5356).TransformStream}const e=new P;w.stream.pipeThrough(e);V={source:w.source,length:w.length,stream:e.readable}}this[k].body=V}get method(){F.brandCheck(this,Request);return this[k].method}get url(){F.brandCheck(this,Request);return T(this[k].url)}get headers(){F.brandCheck(this,Request);return this[v]}get destination(){F.brandCheck(this,Request);return this[k].destination}get referrer(){F.brandCheck(this,Request);if(this[k].referrer==="no-referrer"){return""}if(this[k].referrer==="client"){return"about:client"}return this[k].referrer.toString()}get referrerPolicy(){F.brandCheck(this,Request);return this[k].referrerPolicy}get mode(){F.brandCheck(this,Request);return this[k].mode}get credentials(){return this[k].credentials}get cache(){F.brandCheck(this,Request);return this[k].cache}get redirect(){F.brandCheck(this,Request);return this[k].redirect}get integrity(){F.brandCheck(this,Request);return this[k].integrity}get keepalive(){F.brandCheck(this,Request);return this[k].keepalive}get isReloadNavigation(){F.brandCheck(this,Request);return this[k].reloadNavigation}get isHistoryNavigation(){F.brandCheck(this,Request);return this[k].historyNavigation}get signal(){F.brandCheck(this,Request);return this[R]}get body(){F.brandCheck(this,Request);return this[k].body?this[k].body.stream:null}get bodyUsed(){F.brandCheck(this,Request);return!!this[k].body&&l.isDisturbed(this[k].body.stream)}get duplex(){F.brandCheck(this,Request);return"half"}clone(){F.brandCheck(this,Request);if(this.bodyUsed||this.body?.locked){throw new TypeError("unusable")}const e=cloneRequest(this[k]);const t=new Request(U);t[k]=e;t[x]=this[x];t[v]=new A(U);t[v][N]=e.headersList;t[v][D]=this[v][D];t[v][x]=this[v][x];const s=new AbortController;if(this.signal.aborted){s.abort(this.signal.reason)}else{l.addAbortListener(this.signal,(()=>{s.abort(this.signal.reason)}))}t[R]=s.signal;return t}}o(Request);function makeRequest(e){const t={method:"GET",localURLsOnly:false,unsafeRequest:false,body:null,client:null,reservedClient:null,replacesClientId:"",window:"client",keepalive:false,serviceWorkers:"all",initiator:"",destination:"",priority:null,origin:"client",policyContainer:"client",referrer:"client",referrerPolicy:"",mode:"no-cors",useCORSPreflightFlag:false,credentials:"same-origin",useCredentials:false,cache:"default",redirect:"follow",integrity:"",cryptoGraphicsNonceMetadata:"",parserMetadata:"",reloadNavigation:false,historyNavigation:false,userActivation:false,taintedOrigin:false,redirectCount:0,responseTainting:"basic",preventNoCacheCacheControlHeaderModification:false,done:false,timingAllowFailed:false,...e,headersList:e.headersList?new a(e.headersList):new a};t.url=t.urlList[0];return t}function cloneRequest(e){const t=makeRequest({...e,body:null});if(e.body!=null){t.body=n(e.body)}return t}Object.defineProperties(Request.prototype,{method:w,url:w,headers:w,redirect:w,clone:w,signal:w,duplex:w,destination:w,body:w,bodyUsed:w,isHistoryNavigation:w,isReloadNavigation:w,keepalive:w,integrity:w,cache:w,credentials:w,attribute:w,referrerPolicy:w,referrer:w,mode:w,[Symbol.toStringTag]:{value:"Request",configurable:true}});F.converters.Request=F.interfaceConverter(Request);F.converters.RequestInfo=function(e){if(typeof e==="string"){return F.converters.USVString(e)}if(e instanceof Request){return F.converters.Request(e)}return F.converters.USVString(e)};F.converters.AbortSignal=F.interfaceConverter(AbortSignal);F.converters.RequestInit=F.dictionaryConverter([{key:"method",converter:F.converters.ByteString},{key:"headers",converter:F.converters.HeadersInit},{key:"body",converter:F.nullableConverter(F.converters.BodyInit)},{key:"referrer",converter:F.converters.USVString},{key:"referrerPolicy",converter:F.converters.DOMString,allowedValues:m},{key:"mode",converter:F.converters.DOMString,allowedValues:B},{key:"credentials",converter:F.converters.DOMString,allowedValues:I},{key:"cache",converter:F.converters.DOMString,allowedValues:b},{key:"redirect",converter:F.converters.DOMString,allowedValues:Q},{key:"integrity",converter:F.converters.DOMString},{key:"keepalive",converter:F.converters.boolean},{key:"signal",converter:F.nullableConverter((e=>F.converters.AbortSignal(e,{strict:false})))},{key:"window",converter:F.converters.any},{key:"duplex",converter:F.converters.DOMString,allowedValues:y}]);e.exports={Request:Request,makeRequest:makeRequest}},3950:(e,t,s)=>{const{Headers:r,HeadersList:o,fill:n}=s(1855);const{extractBody:A,cloneBody:i,mixinBody:a}=s(1226);const c=s(7497);const{kEnumerableProperty:l}=c;const{isValidReasonPhrase:u,isCancelled:p,isAborted:d,isBlobLike:g,serializeJavascriptValueToJSONString:h,isErrorLike:E,isomorphicEncode:C}=s(5496);const{redirectStatusSet:m,nullBodyStatus:Q,DOMException:B}=s(7533);const{kState:I,kHeaders:b,kGuard:y,kRealm:w}=s(5376);const{webidl:v}=s(9111);const{FormData:R}=s(9425);const{getGlobalOrigin:k}=s(7011);const{URLSerializer:D}=s(5958);const{kHeadersList:x,kConstruct:F}=s(3932);const S=s(9491);const{types:T}=s(3837);const N=globalThis.ReadableStream||s(5356).ReadableStream;const U=new TextEncoder("utf-8");class Response{static error(){const e={settingsObject:{}};const t=new Response;t[I]=makeNetworkError();t[w]=e;t[b][x]=t[I].headersList;t[b][y]="immutable";t[b][w]=e;return t}static json(e,t={}){v.argumentLengthCheck(arguments,1,{header:"Response.json"});if(t!==null){t=v.converters.ResponseInit(t)}const s=U.encode(h(e));const r=A(s);const o={settingsObject:{}};const n=new Response;n[w]=o;n[b][y]="response";n[b][w]=o;initializeResponse(n,t,{body:r[0],type:"application/json"});return n}static redirect(e,t=302){const s={settingsObject:{}};v.argumentLengthCheck(arguments,1,{header:"Response.redirect"});e=v.converters.USVString(e);t=v.converters["unsigned short"](t);let r;try{r=new URL(e,k())}catch(t){throw Object.assign(new TypeError("Failed to parse URL from "+e),{cause:t})}if(!m.has(t)){throw new RangeError("Invalid status code "+t)}const o=new Response;o[w]=s;o[b][y]="immutable";o[b][w]=s;o[I].status=t;const n=C(D(r));o[I].headersList.append("location",n);return o}constructor(e=null,t={}){if(e!==null){e=v.converters.BodyInit(e)}t=v.converters.ResponseInit(t);this[w]={settingsObject:{}};this[I]=makeResponse({});this[b]=new r(F);this[b][y]="response";this[b][x]=this[I].headersList;this[b][w]=this[w];let s=null;if(e!=null){const[t,r]=A(e);s={body:t,type:r}}initializeResponse(this,t,s)}get type(){v.brandCheck(this,Response);return this[I].type}get url(){v.brandCheck(this,Response);const e=this[I].urlList;const t=e[e.length-1]??null;if(t===null){return""}return D(t,true)}get redirected(){v.brandCheck(this,Response);return this[I].urlList.length>1}get status(){v.brandCheck(this,Response);return this[I].status}get ok(){v.brandCheck(this,Response);return this[I].status>=200&&this[I].status<=299}get statusText(){v.brandCheck(this,Response);return this[I].statusText}get headers(){v.brandCheck(this,Response);return this[b]}get body(){v.brandCheck(this,Response);return this[I].body?this[I].body.stream:null}get bodyUsed(){v.brandCheck(this,Response);return!!this[I].body&&c.isDisturbed(this[I].body.stream)}clone(){v.brandCheck(this,Response);if(this.bodyUsed||this.body&&this.body.locked){throw v.errors.exception({header:"Response.clone",message:"Body has already been consumed."})}const e=cloneResponse(this[I]);const t=new Response;t[I]=e;t[w]=this[w];t[b][x]=e.headersList;t[b][y]=this[b][y];t[b][w]=this[b][w];return t}}a(Response);Object.defineProperties(Response.prototype,{type:l,url:l,status:l,ok:l,redirected:l,statusText:l,headers:l,clone:l,body:l,bodyUsed:l,[Symbol.toStringTag]:{value:"Response",configurable:true}});Object.defineProperties(Response,{json:l,redirect:l,error:l});function cloneResponse(e){if(e.internalResponse){return filterResponse(cloneResponse(e.internalResponse),e.type)}const t=makeResponse({...e,body:null});if(e.body!=null){t.body=i(e.body)}return t}function makeResponse(e){return{aborted:false,rangeRequested:false,timingAllowPassed:false,requestIncludesCredentials:false,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...e,headersList:e.headersList?new o(e.headersList):new o,urlList:e.urlList?[...e.urlList]:[]}}function makeNetworkError(e){const t=E(e);return makeResponse({type:"error",status:0,error:t?e:new Error(e?String(e):e),aborted:e&&e.name==="AbortError"})}function makeFilteredResponse(e,t){t={internalResponse:e,...t};return new Proxy(e,{get(e,s){return s in t?t[s]:e[s]},set(e,s,r){S(!(s in t));e[s]=r;return true}})}function filterResponse(e,t){if(t==="basic"){return makeFilteredResponse(e,{type:"basic",headersList:e.headersList})}else if(t==="cors"){return makeFilteredResponse(e,{type:"cors",headersList:e.headersList})}else if(t==="opaque"){return makeFilteredResponse(e,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null})}else if(t==="opaqueredirect"){return makeFilteredResponse(e,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null})}else{S(false)}}function makeAppropriateNetworkError(e,t=null){S(p(e));return d(e)?makeNetworkError(Object.assign(new B("The operation was aborted.","AbortError"),{cause:t})):makeNetworkError(Object.assign(new B("Request was cancelled."),{cause:t}))}function initializeResponse(e,t,s){if(t.status!==null&&(t.status<200||t.status>599)){throw new RangeError('init["status"] must be in the range of 200 to 599, inclusive.')}if("statusText"in t&&t.statusText!=null){if(!u(String(t.statusText))){throw new TypeError("Invalid statusText")}}if("status"in t&&t.status!=null){e[I].status=t.status}if("statusText"in t&&t.statusText!=null){e[I].statusText=t.statusText}if("headers"in t&&t.headers!=null){n(e[b],t.headers)}if(s){if(Q.includes(e.status)){throw v.errors.exception({header:"Response constructor",message:"Invalid response status code "+e.status})}e[I].body=s.body;if(s.type!=null&&!e[I].headersList.contains("Content-Type")){e[I].headersList.append("content-type",s.type)}}}v.converters.ReadableStream=v.interfaceConverter(N);v.converters.FormData=v.interfaceConverter(R);v.converters.URLSearchParams=v.interfaceConverter(URLSearchParams);v.converters.XMLHttpRequestBodyInit=function(e){if(typeof e==="string"){return v.converters.USVString(e)}if(g(e)){return v.converters.Blob(e,{strict:false})}if(T.isArrayBuffer(e)||T.isTypedArray(e)||T.isDataView(e)){return v.converters.BufferSource(e)}if(c.isFormDataLike(e)){return v.converters.FormData(e,{strict:false})}if(e instanceof URLSearchParams){return v.converters.URLSearchParams(e)}return v.converters.DOMString(e)};v.converters.BodyInit=function(e){if(e instanceof N){return v.converters.ReadableStream(e)}if(e?.[Symbol.asyncIterator]){return e}return v.converters.XMLHttpRequestBodyInit(e)};v.converters.ResponseInit=v.dictionaryConverter([{key:"status",converter:v.converters["unsigned short"],defaultValue:200},{key:"statusText",converter:v.converters.ByteString,defaultValue:""},{key:"headers",converter:v.converters.HeadersInit}]);e.exports={makeNetworkError:makeNetworkError,makeResponse:makeResponse,makeAppropriateNetworkError:makeAppropriateNetworkError,filterResponse:filterResponse,Response:Response,cloneResponse:cloneResponse}},5376:e=>{e.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kGuard:Symbol("guard"),kRealm:Symbol("realm")}},5496:(e,t,s)=>{const{redirectStatusSet:r,referrerPolicySet:o,badPortsSet:n}=s(7533);const{getGlobalOrigin:A}=s(7011);const{performance:i}=s(4074);const{isBlobLike:a,toUSVString:c,ReadableStreamFrom:l}=s(7497);const u=s(9491);const{isUint8Array:p}=s(9830);let d;try{d=s(6113)}catch{}function responseURL(e){const t=e.urlList;const s=t.length;return s===0?null:t[s-1].toString()}function responseLocationURL(e,t){if(!r.has(e.status)){return null}let s=e.headersList.get("location");if(s!==null&&isValidHeaderValue(s)){s=new URL(s,responseURL(e))}if(s&&!s.hash){s.hash=t}return s}function requestCurrentURL(e){return e.urlList[e.urlList.length-1]}function requestBadPort(e){const t=requestCurrentURL(e);if(urlIsHttpHttpsScheme(t)&&n.has(t.port)){return"blocked"}return"allowed"}function isErrorLike(e){return e instanceof Error||(e?.constructor?.name==="Error"||e?.constructor?.name==="DOMException")}function isValidReasonPhrase(e){for(let t=0;t=32&&s<=126||s>=128&&s<=255)){return false}}return true}function isTokenCharCode(e){switch(e){case 34:case 40:case 41:case 44:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 123:case 125:return false;default:return e>=33&&e<=126}}function isValidHTTPToken(e){if(e.length===0){return false}for(let t=0;t0){for(let e=r.length;e!==0;e--){const t=r[e-1].trim();if(o.has(t)){n=t;break}}}if(n!==""){e.referrerPolicy=n}}function crossOriginResourcePolicyCheck(){return"allowed"}function corsCheck(){return"success"}function TAOCheck(){return"success"}function appendFetchMetadata(e){let t=null;t=e.mode;e.headersList.set("sec-fetch-mode",t)}function appendRequestOriginHeader(e){let t=e.origin;if(e.responseTainting==="cors"||e.mode==="websocket"){if(t){e.headersList.append("origin",t)}}else if(e.method!=="GET"&&e.method!=="HEAD"){switch(e.referrerPolicy){case"no-referrer":t=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":if(e.origin&&urlHasHttpsScheme(e.origin)&&!urlHasHttpsScheme(requestCurrentURL(e))){t=null}break;case"same-origin":if(!sameOrigin(e,requestCurrentURL(e))){t=null}break;default:}if(t){e.headersList.append("origin",t)}}}function coarsenedSharedCurrentTime(e){return i.now()}function createOpaqueTimingInfo(e){return{startTime:e.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:e.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}}function makePolicyContainer(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function clonePolicyContainer(e){return{referrerPolicy:e.referrerPolicy}}function determineRequestsReferrer(e){const t=e.referrerPolicy;u(t);let s=null;if(e.referrer==="client"){const e=A();if(!e||e.origin==="null"){return"no-referrer"}s=new URL(e)}else if(e.referrer instanceof URL){s=e.referrer}let r=stripURLForReferrer(s);const o=stripURLForReferrer(s,true);if(r.toString().length>4096){r=o}const n=sameOrigin(e,r);const i=isURLPotentiallyTrustworthy(r)&&!isURLPotentiallyTrustworthy(e.url);switch(t){case"origin":return o!=null?o:stripURLForReferrer(s,true);case"unsafe-url":return r;case"same-origin":return n?o:"no-referrer";case"origin-when-cross-origin":return n?r:o;case"strict-origin-when-cross-origin":{const t=requestCurrentURL(e);if(sameOrigin(r,t)){return r}if(isURLPotentiallyTrustworthy(r)&&!isURLPotentiallyTrustworthy(t)){return"no-referrer"}return o}case"strict-origin":case"no-referrer-when-downgrade":default:return i?"no-referrer":o}}function stripURLForReferrer(e,t){u(e instanceof URL);if(e.protocol==="file:"||e.protocol==="about:"||e.protocol==="blank:"){return"no-referrer"}e.username="";e.password="";e.hash="";if(t){e.pathname="";e.search=""}return e}function isURLPotentiallyTrustworthy(e){if(!(e instanceof URL)){return false}if(e.href==="about:blank"||e.href==="about:srcdoc"){return true}if(e.protocol==="data:")return true;if(e.protocol==="file:")return true;return isOriginPotentiallyTrustworthy(e.origin);function isOriginPotentiallyTrustworthy(e){if(e==null||e==="null")return false;const t=new URL(e);if(t.protocol==="https:"||t.protocol==="wss:"){return true}if(/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(t.hostname)||(t.hostname==="localhost"||t.hostname.includes("localhost."))||t.hostname.endsWith(".localhost")){return true}return false}}function bytesMatch(e,t){if(d===undefined){return true}const s=parseMetadata(t);if(s==="no metadata"){return true}if(s.length===0){return true}const r=s.sort(((e,t)=>t.algo.localeCompare(e.algo)));const o=r[0].algo;const n=r.filter((e=>e.algo===o));for(const t of n){const s=t.algo;let r=t.hash;if(r.endsWith("==")){r=r.slice(0,-2)}let o=d.createHash(s).update(e).digest("base64");if(o.endsWith("==")){o=o.slice(0,-2)}if(o===r){return true}let n=d.createHash(s).update(e).digest("base64url");if(n.endsWith("==")){n=n.slice(0,-2)}if(n===r){return true}}return false}const g=/((?sha256|sha384|sha512)-(?[A-z0-9+/]{1}.*={0,2}))( +[\x21-\x7e]?)?/i;function parseMetadata(e){const t=[];let s=true;const r=d.getHashes();for(const o of e.split(" ")){s=false;const e=g.exec(o);if(e===null||e.groups===undefined){continue}const n=e.groups.algo;if(r.includes(n.toLowerCase())){t.push(e.groups)}}if(s===true){return"no metadata"}return t}function tryUpgradeRequestToAPotentiallyTrustworthyURL(e){}function sameOrigin(e,t){if(e.origin===t.origin&&e.origin==="null"){return true}if(e.protocol===t.protocol&&e.hostname===t.hostname&&e.port===t.port){return true}return false}function createDeferredPromise(){let e;let t;const s=new Promise(((s,r)=>{e=s;t=r}));return{promise:s,resolve:e,reject:t}}function isAborted(e){return e.controller.state==="aborted"}function isCancelled(e){return e.controller.state==="aborted"||e.controller.state==="terminated"}const h={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT"};Object.setPrototypeOf(h,null);function normalizeMethod(e){return h[e.toLowerCase()]??e}function serializeJavascriptValueToJSONString(e){const t=JSON.stringify(e);if(t===undefined){throw new TypeError("Value is not JSON serializable")}u(typeof t==="string");return t}const E=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function makeIterator(e,t,s){const r={index:0,kind:s,target:e};const o={next(){if(Object.getPrototypeOf(this)!==o){throw new TypeError(`'next' called on an object that does not implement interface ${t} Iterator.`)}const{index:e,kind:s,target:n}=r;const A=n();const i=A.length;if(e>=i){return{value:undefined,done:true}}const a=A[e];r.index=e+1;return iteratorResult(a,s)},[Symbol.toStringTag]:`${t} Iterator`};Object.setPrototypeOf(o,E);return Object.setPrototypeOf({},o)}function iteratorResult(e,t){let s;switch(t){case"key":{s=e[0];break}case"value":{s=e[1];break}case"key+value":{s=e;break}}return{value:s,done:false}}async function fullyReadBody(e,t,s){const r=t;const o=s;let n;try{n=e.stream.getReader()}catch(e){o(e);return}try{const e=await readAllBytes(n);r(e)}catch(e){o(e)}}let C=globalThis.ReadableStream;function isReadableStreamLike(e){if(!C){C=s(5356).ReadableStream}return e instanceof C||e[Symbol.toStringTag]==="ReadableStream"&&typeof e.tee==="function"}const m=65535;function isomorphicDecode(e){if(e.lengthe+String.fromCharCode(t)),"")}function readableStreamClose(e){try{e.close()}catch(e){if(!e.message.includes("Controller is already closed")){throw e}}}function isomorphicEncode(e){for(let t=0;tObject.prototype.hasOwnProperty.call(e,t));e.exports={isAborted:isAborted,isCancelled:isCancelled,createDeferredPromise:createDeferredPromise,ReadableStreamFrom:l,toUSVString:c,tryUpgradeRequestToAPotentiallyTrustworthyURL:tryUpgradeRequestToAPotentiallyTrustworthyURL,coarsenedSharedCurrentTime:coarsenedSharedCurrentTime,determineRequestsReferrer:determineRequestsReferrer,makePolicyContainer:makePolicyContainer,clonePolicyContainer:clonePolicyContainer,appendFetchMetadata:appendFetchMetadata,appendRequestOriginHeader:appendRequestOriginHeader,TAOCheck:TAOCheck,corsCheck:corsCheck,crossOriginResourcePolicyCheck:crossOriginResourcePolicyCheck,createOpaqueTimingInfo:createOpaqueTimingInfo,setRequestReferrerPolicyOnRedirect:setRequestReferrerPolicyOnRedirect,isValidHTTPToken:isValidHTTPToken,requestBadPort:requestBadPort,requestCurrentURL:requestCurrentURL,responseURL:responseURL,responseLocationURL:responseLocationURL,isBlobLike:a,isURLPotentiallyTrustworthy:isURLPotentiallyTrustworthy,isValidReasonPhrase:isValidReasonPhrase,sameOrigin:sameOrigin,normalizeMethod:normalizeMethod,serializeJavascriptValueToJSONString:serializeJavascriptValueToJSONString,makeIterator:makeIterator,isValidHeaderName:isValidHeaderName,isValidHeaderValue:isValidHeaderValue,hasOwn:Q,isErrorLike:isErrorLike,fullyReadBody:fullyReadBody,bytesMatch:bytesMatch,isReadableStreamLike:isReadableStreamLike,readableStreamClose:readableStreamClose,isomorphicEncode:isomorphicEncode,isomorphicDecode:isomorphicDecode,urlIsLocal:urlIsLocal,urlHasHttpsScheme:urlHasHttpsScheme,urlIsHttpHttpsScheme:urlIsHttpHttpsScheme,readAllBytes:readAllBytes,normalizeMethodRecord:h}},9111:(e,t,s)=>{const{types:r}=s(3837);const{hasOwn:o,toUSVString:n}=s(5496);const A={};A.converters={};A.util={};A.errors={};A.errors.exception=function(e){return new TypeError(`${e.header}: ${e.message}`)};A.errors.conversionFailed=function(e){const t=e.types.length===1?"":" one of";const s=`${e.argument} could not be converted to`+`${t}: ${e.types.join(", ")}.`;return A.errors.exception({header:e.prefix,message:s})};A.errors.invalidArgument=function(e){return A.errors.exception({header:e.prefix,message:`"${e.value}" is an invalid ${e.type}.`})};A.brandCheck=function(e,t,s=undefined){if(s?.strict!==false&&!(e instanceof t)){throw new TypeError("Illegal invocation")}else{return e?.[Symbol.toStringTag]===t.prototype[Symbol.toStringTag]}};A.argumentLengthCheck=function({length:e},t,s){if(eo){throw A.errors.exception({header:"Integer conversion",message:`Value must be between ${n}-${o}, got ${i}.`})}return i}if(!Number.isNaN(i)&&r.clamp===true){i=Math.min(Math.max(i,n),o);if(Math.floor(i)%2===0){i=Math.floor(i)}else{i=Math.ceil(i)}return i}if(Number.isNaN(i)||i===0&&Object.is(0,i)||i===Number.POSITIVE_INFINITY||i===Number.NEGATIVE_INFINITY){return 0}i=A.util.IntegerPart(i);i=i%Math.pow(2,t);if(s==="signed"&&i>=Math.pow(2,t)-1){return i-Math.pow(2,t)}return i};A.util.IntegerPart=function(e){const t=Math.floor(Math.abs(e));if(e<0){return-1*t}return t};A.sequenceConverter=function(e){return t=>{if(A.util.Type(t)!=="Object"){throw A.errors.exception({header:"Sequence",message:`Value of type ${A.util.Type(t)} is not an Object.`})}const s=t?.[Symbol.iterator]?.();const r=[];if(s===undefined||typeof s.next!=="function"){throw A.errors.exception({header:"Sequence",message:"Object is not an iterator."})}while(true){const{done:t,value:o}=s.next();if(t){break}r.push(e(o))}return r}};A.recordConverter=function(e,t){return s=>{if(A.util.Type(s)!=="Object"){throw A.errors.exception({header:"Record",message:`Value of type ${A.util.Type(s)} is not an Object.`})}const o={};if(!r.isProxy(s)){const r=Object.keys(s);for(const n of r){const r=e(n);const A=t(s[n]);o[r]=A}return o}const n=Reflect.ownKeys(s);for(const r of n){const n=Reflect.getOwnPropertyDescriptor(s,r);if(n?.enumerable){const n=e(r);const A=t(s[r]);o[n]=A}}return o}};A.interfaceConverter=function(e){return(t,s={})=>{if(s.strict!==false&&!(t instanceof e)){throw A.errors.exception({header:e.name,message:`Expected ${t} to be an instance of ${e.name}.`})}return t}};A.dictionaryConverter=function(e){return t=>{const s=A.util.Type(t);const r={};if(s==="Null"||s==="Undefined"){return r}else if(s!=="Object"){throw A.errors.exception({header:"Dictionary",message:`Expected ${t} to be one of: Null, Undefined, Object.`})}for(const s of e){const{key:e,defaultValue:n,required:i,converter:a}=s;if(i===true){if(!o(t,e)){throw A.errors.exception({header:"Dictionary",message:`Missing required key "${e}".`})}}let c=t[e];const l=o(s,"defaultValue");if(l&&c!==null){c=c??n}if(i||l||c!==undefined){c=a(c);if(s.allowedValues&&!s.allowedValues.includes(c)){throw A.errors.exception({header:"Dictionary",message:`${c} is not an accepted type. Expected one of ${s.allowedValues.join(", ")}.`})}r[e]=c}}return r}};A.nullableConverter=function(e){return t=>{if(t===null){return t}return e(t)}};A.converters.DOMString=function(e,t={}){if(e===null&&t.legacyNullToEmptyString){return""}if(typeof e==="symbol"){throw new TypeError("Could not convert argument of type symbol to string.")}return String(e)};A.converters.ByteString=function(e){const t=A.converters.DOMString(e);for(let e=0;e255){throw new TypeError("Cannot convert argument to a ByteString because the character at "+`index ${e} has a value of ${t.charCodeAt(e)} which is greater than 255.`)}}return t};A.converters.USVString=n;A.converters.boolean=function(e){const t=Boolean(e);return t};A.converters.any=function(e){return e};A.converters["long long"]=function(e){const t=A.util.ConvertToInt(e,64,"signed");return t};A.converters["unsigned long long"]=function(e){const t=A.util.ConvertToInt(e,64,"unsigned");return t};A.converters["unsigned long"]=function(e){const t=A.util.ConvertToInt(e,32,"unsigned");return t};A.converters["unsigned short"]=function(e,t){const s=A.util.ConvertToInt(e,16,"unsigned",t);return s};A.converters.ArrayBuffer=function(e,t={}){if(A.util.Type(e)!=="Object"||!r.isAnyArrayBuffer(e)){throw A.errors.conversionFailed({prefix:`${e}`,argument:`${e}`,types:["ArrayBuffer"]})}if(t.allowShared===false&&r.isSharedArrayBuffer(e)){throw A.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return e};A.converters.TypedArray=function(e,t,s={}){if(A.util.Type(e)!=="Object"||!r.isTypedArray(e)||e.constructor.name!==t.name){throw A.errors.conversionFailed({prefix:`${t.name}`,argument:`${e}`,types:[t.name]})}if(s.allowShared===false&&r.isSharedArrayBuffer(e.buffer)){throw A.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return e};A.converters.DataView=function(e,t={}){if(A.util.Type(e)!=="Object"||!r.isDataView(e)){throw A.errors.exception({header:"DataView",message:"Object is not a DataView."})}if(t.allowShared===false&&r.isSharedArrayBuffer(e.buffer)){throw A.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return e};A.converters.BufferSource=function(e,t={}){if(r.isAnyArrayBuffer(e)){return A.converters.ArrayBuffer(e,t)}if(r.isTypedArray(e)){return A.converters.TypedArray(e,e.constructor)}if(r.isDataView(e)){return A.converters.DataView(e,t)}throw new TypeError(`Could not convert ${e} to a BufferSource.`)};A.converters["sequence"]=A.sequenceConverter(A.converters.ByteString);A.converters["sequence>"]=A.sequenceConverter(A.converters["sequence"]);A.converters["record"]=A.recordConverter(A.converters.ByteString,A.converters.ByteString);e.exports={webidl:A}},3532:e=>{function getEncoding(e){if(!e){return"failure"}switch(e.trim().toLowerCase()){case"unicode-1-1-utf-8":case"unicode11utf8":case"unicode20utf8":case"utf-8":case"utf8":case"x-unicode20utf8":return"UTF-8";case"866":case"cp866":case"csibm866":case"ibm866":return"IBM866";case"csisolatin2":case"iso-8859-2":case"iso-ir-101":case"iso8859-2":case"iso88592":case"iso_8859-2":case"iso_8859-2:1987":case"l2":case"latin2":return"ISO-8859-2";case"csisolatin3":case"iso-8859-3":case"iso-ir-109":case"iso8859-3":case"iso88593":case"iso_8859-3":case"iso_8859-3:1988":case"l3":case"latin3":return"ISO-8859-3";case"csisolatin4":case"iso-8859-4":case"iso-ir-110":case"iso8859-4":case"iso88594":case"iso_8859-4":case"iso_8859-4:1988":case"l4":case"latin4":return"ISO-8859-4";case"csisolatincyrillic":case"cyrillic":case"iso-8859-5":case"iso-ir-144":case"iso8859-5":case"iso88595":case"iso_8859-5":case"iso_8859-5:1988":return"ISO-8859-5";case"arabic":case"asmo-708":case"csiso88596e":case"csiso88596i":case"csisolatinarabic":case"ecma-114":case"iso-8859-6":case"iso-8859-6-e":case"iso-8859-6-i":case"iso-ir-127":case"iso8859-6":case"iso88596":case"iso_8859-6":case"iso_8859-6:1987":return"ISO-8859-6";case"csisolatingreek":case"ecma-118":case"elot_928":case"greek":case"greek8":case"iso-8859-7":case"iso-ir-126":case"iso8859-7":case"iso88597":case"iso_8859-7":case"iso_8859-7:1987":case"sun_eu_greek":return"ISO-8859-7";case"csiso88598e":case"csisolatinhebrew":case"hebrew":case"iso-8859-8":case"iso-8859-8-e":case"iso-ir-138":case"iso8859-8":case"iso88598":case"iso_8859-8":case"iso_8859-8:1988":case"visual":return"ISO-8859-8";case"csiso88598i":case"iso-8859-8-i":case"logical":return"ISO-8859-8-I";case"csisolatin6":case"iso-8859-10":case"iso-ir-157":case"iso8859-10":case"iso885910":case"l6":case"latin6":return"ISO-8859-10";case"iso-8859-13":case"iso8859-13":case"iso885913":return"ISO-8859-13";case"iso-8859-14":case"iso8859-14":case"iso885914":return"ISO-8859-14";case"csisolatin9":case"iso-8859-15":case"iso8859-15":case"iso885915":case"iso_8859-15":case"l9":return"ISO-8859-15";case"iso-8859-16":return"ISO-8859-16";case"cskoi8r":case"koi":case"koi8":case"koi8-r":case"koi8_r":return"KOI8-R";case"koi8-ru":case"koi8-u":return"KOI8-U";case"csmacintosh":case"mac":case"macintosh":case"x-mac-roman":return"macintosh";case"iso-8859-11":case"iso8859-11":case"iso885911":case"tis-620":case"windows-874":return"windows-874";case"cp1250":case"windows-1250":case"x-cp1250":return"windows-1250";case"cp1251":case"windows-1251":case"x-cp1251":return"windows-1251";case"ansi_x3.4-1968":case"ascii":case"cp1252":case"cp819":case"csisolatin1":case"ibm819":case"iso-8859-1":case"iso-ir-100":case"iso8859-1":case"iso88591":case"iso_8859-1":case"iso_8859-1:1987":case"l1":case"latin1":case"us-ascii":case"windows-1252":case"x-cp1252":return"windows-1252";case"cp1253":case"windows-1253":case"x-cp1253":return"windows-1253";case"cp1254":case"csisolatin5":case"iso-8859-9":case"iso-ir-148":case"iso8859-9":case"iso88599":case"iso_8859-9":case"iso_8859-9:1989":case"l5":case"latin5":case"windows-1254":case"x-cp1254":return"windows-1254";case"cp1255":case"windows-1255":case"x-cp1255":return"windows-1255";case"cp1256":case"windows-1256":case"x-cp1256":return"windows-1256";case"cp1257":case"windows-1257":case"x-cp1257":return"windows-1257";case"cp1258":case"windows-1258":case"x-cp1258":return"windows-1258";case"x-mac-cyrillic":case"x-mac-ukrainian":return"x-mac-cyrillic";case"chinese":case"csgb2312":case"csiso58gb231280":case"gb2312":case"gb_2312":case"gb_2312-80":case"gbk":case"iso-ir-58":case"x-gbk":return"GBK";case"gb18030":return"gb18030";case"big5":case"big5-hkscs":case"cn-big5":case"csbig5":case"x-x-big5":return"Big5";case"cseucpkdfmtjapanese":case"euc-jp":case"x-euc-jp":return"EUC-JP";case"csiso2022jp":case"iso-2022-jp":return"ISO-2022-JP";case"csshiftjis":case"ms932":case"ms_kanji":case"shift-jis":case"shift_jis":case"sjis":case"windows-31j":case"x-sjis":return"Shift_JIS";case"cseuckr":case"csksc56011987":case"euc-kr":case"iso-ir-149":case"korean":case"ks_c_5601-1987":case"ks_c_5601-1989":case"ksc5601":case"ksc_5601":case"windows-949":return"EUC-KR";case"csiso2022kr":case"hz-gb-2312":case"iso-2022-cn":case"iso-2022-cn-ext":case"iso-2022-kr":case"replacement":return"replacement";case"unicodefffe":case"utf-16be":return"UTF-16BE";case"csunicode":case"iso-10646-ucs-2":case"ucs-2":case"unicode":case"unicodefeff":case"utf-16":case"utf-16le":return"UTF-16LE";case"x-user-defined":return"x-user-defined";default:return"failure"}}e.exports={getEncoding:getEncoding}},929:(e,t,s)=>{const{staticPropertyDescriptors:r,readOperation:o,fireAProgressEvent:n}=s(4157);const{kState:A,kError:i,kResult:a,kEvents:c,kAborted:l}=s(9103);const{webidl:u}=s(9111);const{kEnumerableProperty:p}=s(7497);class FileReader extends EventTarget{constructor(){super();this[A]="empty";this[a]=null;this[i]=null;this[c]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){u.brandCheck(this,FileReader);u.argumentLengthCheck(arguments,1,{header:"FileReader.readAsArrayBuffer"});e=u.converters.Blob(e,{strict:false});o(this,e,"ArrayBuffer")}readAsBinaryString(e){u.brandCheck(this,FileReader);u.argumentLengthCheck(arguments,1,{header:"FileReader.readAsBinaryString"});e=u.converters.Blob(e,{strict:false});o(this,e,"BinaryString")}readAsText(e,t=undefined){u.brandCheck(this,FileReader);u.argumentLengthCheck(arguments,1,{header:"FileReader.readAsText"});e=u.converters.Blob(e,{strict:false});if(t!==undefined){t=u.converters.DOMString(t)}o(this,e,"Text",t)}readAsDataURL(e){u.brandCheck(this,FileReader);u.argumentLengthCheck(arguments,1,{header:"FileReader.readAsDataURL"});e=u.converters.Blob(e,{strict:false});o(this,e,"DataURL")}abort(){if(this[A]==="empty"||this[A]==="done"){this[a]=null;return}if(this[A]==="loading"){this[A]="done";this[a]=null}this[l]=true;n("abort",this);if(this[A]!=="loading"){n("loadend",this)}}get readyState(){u.brandCheck(this,FileReader);switch(this[A]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){u.brandCheck(this,FileReader);return this[a]}get error(){u.brandCheck(this,FileReader);return this[i]}get onloadend(){u.brandCheck(this,FileReader);return this[c].loadend}set onloadend(e){u.brandCheck(this,FileReader);if(this[c].loadend){this.removeEventListener("loadend",this[c].loadend)}if(typeof e==="function"){this[c].loadend=e;this.addEventListener("loadend",e)}else{this[c].loadend=null}}get onerror(){u.brandCheck(this,FileReader);return this[c].error}set onerror(e){u.brandCheck(this,FileReader);if(this[c].error){this.removeEventListener("error",this[c].error)}if(typeof e==="function"){this[c].error=e;this.addEventListener("error",e)}else{this[c].error=null}}get onloadstart(){u.brandCheck(this,FileReader);return this[c].loadstart}set onloadstart(e){u.brandCheck(this,FileReader);if(this[c].loadstart){this.removeEventListener("loadstart",this[c].loadstart)}if(typeof e==="function"){this[c].loadstart=e;this.addEventListener("loadstart",e)}else{this[c].loadstart=null}}get onprogress(){u.brandCheck(this,FileReader);return this[c].progress}set onprogress(e){u.brandCheck(this,FileReader);if(this[c].progress){this.removeEventListener("progress",this[c].progress)}if(typeof e==="function"){this[c].progress=e;this.addEventListener("progress",e)}else{this[c].progress=null}}get onload(){u.brandCheck(this,FileReader);return this[c].load}set onload(e){u.brandCheck(this,FileReader);if(this[c].load){this.removeEventListener("load",this[c].load)}if(typeof e==="function"){this[c].load=e;this.addEventListener("load",e)}else{this[c].load=null}}get onabort(){u.brandCheck(this,FileReader);return this[c].abort}set onabort(e){u.brandCheck(this,FileReader);if(this[c].abort){this.removeEventListener("abort",this[c].abort)}if(typeof e==="function"){this[c].abort=e;this.addEventListener("abort",e)}else{this[c].abort=null}}}FileReader.EMPTY=FileReader.prototype.EMPTY=0;FileReader.LOADING=FileReader.prototype.LOADING=1;FileReader.DONE=FileReader.prototype.DONE=2;Object.defineProperties(FileReader.prototype,{EMPTY:r,LOADING:r,DONE:r,readAsArrayBuffer:p,readAsBinaryString:p,readAsText:p,readAsDataURL:p,abort:p,readyState:p,result:p,error:p,onloadstart:p,onprogress:p,onload:p,onabort:p,onerror:p,onloadend:p,[Symbol.toStringTag]:{value:"FileReader",writable:false,enumerable:false,configurable:true}});Object.defineProperties(FileReader,{EMPTY:r,LOADING:r,DONE:r});e.exports={FileReader:FileReader}},9094:(e,t,s)=>{const{webidl:r}=s(9111);const o=Symbol("ProgressEvent state");class ProgressEvent extends Event{constructor(e,t={}){e=r.converters.DOMString(e);t=r.converters.ProgressEventInit(t??{});super(e,t);this[o]={lengthComputable:t.lengthComputable,loaded:t.loaded,total:t.total}}get lengthComputable(){r.brandCheck(this,ProgressEvent);return this[o].lengthComputable}get loaded(){r.brandCheck(this,ProgressEvent);return this[o].loaded}get total(){r.brandCheck(this,ProgressEvent);return this[o].total}}r.converters.ProgressEventInit=r.dictionaryConverter([{key:"lengthComputable",converter:r.converters.boolean,defaultValue:false},{key:"loaded",converter:r.converters["unsigned long long"],defaultValue:0},{key:"total",converter:r.converters["unsigned long long"],defaultValue:0},{key:"bubbles",converter:r.converters.boolean,defaultValue:false},{key:"cancelable",converter:r.converters.boolean,defaultValue:false},{key:"composed",converter:r.converters.boolean,defaultValue:false}]);e.exports={ProgressEvent:ProgressEvent}},9103:e=>{e.exports={kState:Symbol("FileReader state"),kResult:Symbol("FileReader result"),kError:Symbol("FileReader error"),kLastProgressEventFired:Symbol("FileReader last progress event fired timestamp"),kEvents:Symbol("FileReader events"),kAborted:Symbol("FileReader aborted")}},4157:(e,t,s)=>{const{kState:r,kError:o,kResult:n,kAborted:A,kLastProgressEventFired:i}=s(9103);const{ProgressEvent:a}=s(9094);const{getEncoding:c}=s(3532);const{DOMException:l}=s(7533);const{serializeAMimeType:u,parseMIMEType:p}=s(5958);const{types:d}=s(3837);const{StringDecoder:g}=s(1576);const{btoa:h}=s(4300);const E={enumerable:true,writable:false,configurable:false};function readOperation(e,t,s,a){if(e[r]==="loading"){throw new l("Invalid state","InvalidStateError")}e[r]="loading";e[n]=null;e[o]=null;const c=t.stream();const u=c.getReader();const p=[];let g=u.read();let h=true;(async()=>{while(!e[A]){try{const{done:c,value:l}=await g;if(h&&!e[A]){queueMicrotask((()=>{fireAProgressEvent("loadstart",e)}))}h=false;if(!c&&d.isUint8Array(l)){p.push(l);if((e[i]===undefined||Date.now()-e[i]>=50)&&!e[A]){e[i]=Date.now();queueMicrotask((()=>{fireAProgressEvent("progress",e)}))}g=u.read()}else if(c){queueMicrotask((()=>{e[r]="done";try{const r=packageData(p,s,t.type,a);if(e[A]){return}e[n]=r;fireAProgressEvent("load",e)}catch(t){e[o]=t;fireAProgressEvent("error",e)}if(e[r]!=="loading"){fireAProgressEvent("loadend",e)}}));break}}catch(t){if(e[A]){return}queueMicrotask((()=>{e[r]="done";e[o]=t;fireAProgressEvent("error",e);if(e[r]!=="loading"){fireAProgressEvent("loadend",e)}}));break}}})()}function fireAProgressEvent(e,t){const s=new a(e,{bubbles:false,cancelable:false});t.dispatchEvent(s)}function packageData(e,t,s,r){switch(t){case"DataURL":{let t="data:";const r=p(s||"application/octet-stream");if(r!=="failure"){t+=u(r)}t+=";base64,";const o=new g("latin1");for(const s of e){t+=h(o.write(s))}t+=h(o.end());return t}case"Text":{let t="failure";if(r){t=c(r)}if(t==="failure"&&s){const e=p(s);if(e!=="failure"){t=c(e.parameters.get("charset"))}}if(t==="failure"){t="UTF-8"}return decode(e,t)}case"ArrayBuffer":{const t=combineByteSequences(e);return t.buffer}case"BinaryString":{let t="";const s=new g("latin1");for(const r of e){t+=s.write(r)}t+=s.end();return t}}}function decode(e,t){const s=combineByteSequences(e);const r=BOMSniffing(s);let o=0;if(r!==null){t=r;o=r==="UTF-8"?3:2}const n=s.slice(o);return new TextDecoder(t).decode(n)}function BOMSniffing(e){const[t,s,r]=e;if(t===239&&s===187&&r===191){return"UTF-8"}else if(t===254&&s===255){return"UTF-16BE"}else if(t===255&&s===254){return"UTF-16LE"}return null}function combineByteSequences(e){const t=e.reduce(((e,t)=>e+t.byteLength),0);let s=0;return e.reduce(((e,t)=>{e.set(t,s);s+=t.byteLength;return e}),new Uint8Array(t))}e.exports={staticPropertyDescriptors:E,readOperation:readOperation,fireAProgressEvent:fireAProgressEvent}},2899:(e,t,s)=>{const r=Symbol.for("undici.globalDispatcher.1");const{InvalidArgumentError:o}=s(2366);const n=s(8840);if(getGlobalDispatcher()===undefined){setGlobalDispatcher(new n)}function setGlobalDispatcher(e){if(!e||typeof e.dispatch!=="function"){throw new o("Argument agent must implement Agent")}Object.defineProperty(globalThis,r,{value:e,writable:true,enumerable:false,configurable:false})}function getGlobalDispatcher(){return globalThis[r]}e.exports={setGlobalDispatcher:setGlobalDispatcher,getGlobalDispatcher:getGlobalDispatcher}},253:e=>{e.exports=class DecoratorHandler{constructor(e){this.handler=e}onConnect(...e){return this.handler.onConnect(...e)}onError(...e){return this.handler.onError(...e)}onUpgrade(...e){return this.handler.onUpgrade(...e)}onHeaders(...e){return this.handler.onHeaders(...e)}onData(...e){return this.handler.onData(...e)}onComplete(...e){return this.handler.onComplete(...e)}onBodySent(...e){return this.handler.onBodySent(...e)}}},292:(e,t,s)=>{const r=s(7497);const{kBodyUsed:o}=s(3932);const n=s(9491);const{InvalidArgumentError:A}=s(2366);const i=s(2361);const a=[300,301,302,303,307,308];const c=Symbol("body");class BodyAsyncIterable{constructor(e){this[c]=e;this[o]=false}async*[Symbol.asyncIterator](){n(!this[o],"disturbed");this[o]=true;yield*this[c]}}class RedirectHandler{constructor(e,t,s,a){if(t!=null&&(!Number.isInteger(t)||t<0)){throw new A("maxRedirections must be a positive number")}r.validateHandler(a,s.method,s.upgrade);this.dispatch=e;this.location=null;this.abort=null;this.opts={...s,maxRedirections:0};this.maxRedirections=t;this.handler=a;this.history=[];if(r.isStream(this.opts.body)){if(r.bodyLength(this.opts.body)===0){this.opts.body.on("data",(function(){n(false)}))}if(typeof this.opts.body.readableDidRead!=="boolean"){this.opts.body[o]=false;i.prototype.on.call(this.opts.body,"data",(function(){this[o]=true}))}}else if(this.opts.body&&typeof this.opts.body.pipeTo==="function"){this.opts.body=new BodyAsyncIterable(this.opts.body)}else if(this.opts.body&&typeof this.opts.body!=="string"&&!ArrayBuffer.isView(this.opts.body)&&r.isIterable(this.opts.body)){this.opts.body=new BodyAsyncIterable(this.opts.body)}}onConnect(e){this.abort=e;this.handler.onConnect(e,{history:this.history})}onUpgrade(e,t,s){this.handler.onUpgrade(e,t,s)}onError(e){this.handler.onError(e)}onHeaders(e,t,s,o){this.location=this.history.length>=this.maxRedirections||r.isDisturbed(this.opts.body)?null:parseLocation(e,t);if(this.opts.origin){this.history.push(new URL(this.opts.path,this.opts.origin))}if(!this.location){return this.handler.onHeaders(e,t,s,o)}const{origin:n,pathname:A,search:i}=r.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin)));const a=i?`${A}${i}`:A;this.opts.headers=cleanRequestHeaders(this.opts.headers,e===303,this.opts.origin!==n);this.opts.path=a;this.opts.origin=n;this.opts.maxRedirections=0;this.opts.query=null;if(e===303&&this.opts.method!=="HEAD"){this.opts.method="GET";this.opts.body=null}}onData(e){if(this.location){}else{return this.handler.onData(e)}}onComplete(e){if(this.location){this.location=null;this.abort=null;this.dispatch(this.opts,this)}else{this.handler.onComplete(e)}}onBodySent(e){if(this.handler.onBodySent){this.handler.onBodySent(e)}}}function parseLocation(e,t){if(a.indexOf(e)===-1){return null}for(let e=0;e{const r=s(9491);const{kRetryHandlerDefaultRetry:o}=s(3932);const{RequestRetryError:n}=s(2366);const{isDisturbed:A,parseHeaders:i,parseRangeHeader:a}=s(7497);function calculateRetryAfterHeader(e){const t=Date.now();const s=new Date(e).getTime()-t;return s}class RetryHandler{constructor(e,t){const{retryOptions:s,...r}=e;const{retry:n,maxRetries:A,maxTimeout:i,minTimeout:a,timeoutFactor:c,methods:l,errorCodes:u,retryAfter:p,statusCodes:d}=s??{};this.dispatch=t.dispatch;this.handler=t.handler;this.opts=r;this.abort=null;this.aborted=false;this.retryOpts={retry:n??RetryHandler[o],retryAfter:p??true,maxTimeout:i??30*1e3,timeout:a??500,timeoutFactor:c??2,maxRetries:A??5,methods:l??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:d??[500,502,503,504,429],errorCodes:u??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE"]};this.retryCount=0;this.start=0;this.end=null;this.etag=null;this.resume=null;this.handler.onConnect((e=>{this.aborted=true;if(this.abort){this.abort(e)}else{this.reason=e}}))}onRequestSent(){if(this.handler.onRequestSent){this.handler.onRequestSent()}}onUpgrade(e,t,s){if(this.handler.onUpgrade){this.handler.onUpgrade(e,t,s)}}onConnect(e){if(this.aborted){e(this.reason)}else{this.abort=e}}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[o](e,{state:t,opts:s},r){const{statusCode:o,code:n,headers:A}=e;const{method:i,retryOptions:a}=s;const{maxRetries:c,timeout:l,maxTimeout:u,timeoutFactor:p,statusCodes:d,errorCodes:g,methods:h}=a;let{counter:E,currentTimeout:C}=t;C=C!=null&&C>0?C:l;if(n&&n!=="UND_ERR_REQ_RETRY"&&n!=="UND_ERR_SOCKET"&&!g.includes(n)){r(e);return}if(Array.isArray(h)&&!h.includes(i)){r(e);return}if(o!=null&&Array.isArray(d)&&!d.includes(o)){r(e);return}if(E>c){r(e);return}let m=A!=null&&A["retry-after"];if(m){m=Number(m);m=isNaN(m)?calculateRetryAfterHeader(m):m*1e3}const Q=m>0?Math.min(m,u):Math.min(C*p**E,u);t.currentTimeout=Q;setTimeout((()=>r(null)),Q)}onHeaders(e,t,s,o){const A=i(t);this.retryCount+=1;if(e>=300){this.abort(new n("Request failed",e,{headers:A,count:this.retryCount}));return false}if(this.resume!=null){this.resume=null;if(e!==206){return true}const t=a(A["content-range"]);if(!t){this.abort(new n("Content-Range mismatch",e,{headers:A,count:this.retryCount}));return false}if(this.etag!=null&&this.etag!==A.etag){this.abort(new n("ETag mismatch",e,{headers:A,count:this.retryCount}));return false}const{start:o,size:i,end:c=i}=t;r(this.start===o,"content-range mismatch");r(this.end==null||this.end===c,"content-range mismatch");this.resume=s;return true}if(this.end==null){if(e===206){const n=a(A["content-range"]);if(n==null){return this.handler.onHeaders(e,t,s,o)}const{start:i,size:c,end:l=c}=n;r(i!=null&&Number.isFinite(i)&&this.start!==i,"content-range mismatch");r(Number.isFinite(i));r(l!=null&&Number.isFinite(l)&&this.end!==l,"invalid content-length");this.start=i;this.end=l}if(this.end==null){const e=A["content-length"];this.end=e!=null?Number(e):null}r(Number.isFinite(this.start));r(this.end==null||Number.isFinite(this.end),"invalid content-length");this.resume=s;this.etag=A.etag!=null?A.etag:null;return this.handler.onHeaders(e,t,s,o)}const c=new n("Request failed",e,{headers:A,count:this.retryCount});this.abort(c);return false}onData(e){this.start+=e.length;return this.handler.onData(e)}onComplete(e){this.retryCount=0;return this.handler.onComplete(e)}onError(e){if(this.aborted||A(this.opts.body)){return this.handler.onError(e)}this.retryOpts.retry(e,{state:{counter:this.retryCount++,currentTimeout:this.retryAfter},opts:{retryOptions:this.retryOpts,...this.opts}},onRetry.bind(this));function onRetry(e){if(e!=null||this.aborted||A(this.opts.body)){return this.handler.onError(e)}if(this.start!==0){this.opts={...this.opts,headers:{...this.opts.headers,range:`bytes=${this.start}-${this.end??""}`}}}try{this.dispatch(this.opts,this)}catch(e){this.handler.onError(e)}}}}e.exports=RetryHandler},3167:(e,t,s)=>{const r=s(292);function createRedirectInterceptor({maxRedirections:e}){return t=>function Intercept(s,o){const{maxRedirections:n=e}=s;if(!n){return t(s,o)}const A=new r(t,n,s,o);s={...s,maxRedirections:0};return t(s,A)}}e.exports=createRedirectInterceptor},5749:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:true});t.SPECIAL_HEADERS=t.HEADER_STATE=t.MINOR=t.MAJOR=t.CONNECTION_TOKEN_CHARS=t.HEADER_CHARS=t.TOKEN=t.STRICT_TOKEN=t.HEX=t.URL_CHAR=t.STRICT_URL_CHAR=t.USERINFO_CHARS=t.MARK=t.ALPHANUM=t.NUM=t.HEX_MAP=t.NUM_MAP=t.ALPHA=t.FINISH=t.H_METHOD_MAP=t.METHOD_MAP=t.METHODS_RTSP=t.METHODS_ICE=t.METHODS_HTTP=t.METHODS=t.LENIENT_FLAGS=t.FLAGS=t.TYPE=t.ERROR=void 0;const r=s(4778);var o;(function(e){e[e["OK"]=0]="OK";e[e["INTERNAL"]=1]="INTERNAL";e[e["STRICT"]=2]="STRICT";e[e["LF_EXPECTED"]=3]="LF_EXPECTED";e[e["UNEXPECTED_CONTENT_LENGTH"]=4]="UNEXPECTED_CONTENT_LENGTH";e[e["CLOSED_CONNECTION"]=5]="CLOSED_CONNECTION";e[e["INVALID_METHOD"]=6]="INVALID_METHOD";e[e["INVALID_URL"]=7]="INVALID_URL";e[e["INVALID_CONSTANT"]=8]="INVALID_CONSTANT";e[e["INVALID_VERSION"]=9]="INVALID_VERSION";e[e["INVALID_HEADER_TOKEN"]=10]="INVALID_HEADER_TOKEN";e[e["INVALID_CONTENT_LENGTH"]=11]="INVALID_CONTENT_LENGTH";e[e["INVALID_CHUNK_SIZE"]=12]="INVALID_CHUNK_SIZE";e[e["INVALID_STATUS"]=13]="INVALID_STATUS";e[e["INVALID_EOF_STATE"]=14]="INVALID_EOF_STATE";e[e["INVALID_TRANSFER_ENCODING"]=15]="INVALID_TRANSFER_ENCODING";e[e["CB_MESSAGE_BEGIN"]=16]="CB_MESSAGE_BEGIN";e[e["CB_HEADERS_COMPLETE"]=17]="CB_HEADERS_COMPLETE";e[e["CB_MESSAGE_COMPLETE"]=18]="CB_MESSAGE_COMPLETE";e[e["CB_CHUNK_HEADER"]=19]="CB_CHUNK_HEADER";e[e["CB_CHUNK_COMPLETE"]=20]="CB_CHUNK_COMPLETE";e[e["PAUSED"]=21]="PAUSED";e[e["PAUSED_UPGRADE"]=22]="PAUSED_UPGRADE";e[e["PAUSED_H2_UPGRADE"]=23]="PAUSED_H2_UPGRADE";e[e["USER"]=24]="USER"})(o=t.ERROR||(t.ERROR={}));var n;(function(e){e[e["BOTH"]=0]="BOTH";e[e["REQUEST"]=1]="REQUEST";e[e["RESPONSE"]=2]="RESPONSE"})(n=t.TYPE||(t.TYPE={}));var A;(function(e){e[e["CONNECTION_KEEP_ALIVE"]=1]="CONNECTION_KEEP_ALIVE";e[e["CONNECTION_CLOSE"]=2]="CONNECTION_CLOSE";e[e["CONNECTION_UPGRADE"]=4]="CONNECTION_UPGRADE";e[e["CHUNKED"]=8]="CHUNKED";e[e["UPGRADE"]=16]="UPGRADE";e[e["CONTENT_LENGTH"]=32]="CONTENT_LENGTH";e[e["SKIPBODY"]=64]="SKIPBODY";e[e["TRAILING"]=128]="TRAILING";e[e["TRANSFER_ENCODING"]=512]="TRANSFER_ENCODING"})(A=t.FLAGS||(t.FLAGS={}));var i;(function(e){e[e["HEADERS"]=1]="HEADERS";e[e["CHUNKED_LENGTH"]=2]="CHUNKED_LENGTH";e[e["KEEP_ALIVE"]=4]="KEEP_ALIVE"})(i=t.LENIENT_FLAGS||(t.LENIENT_FLAGS={}));var a;(function(e){e[e["DELETE"]=0]="DELETE";e[e["GET"]=1]="GET";e[e["HEAD"]=2]="HEAD";e[e["POST"]=3]="POST";e[e["PUT"]=4]="PUT";e[e["CONNECT"]=5]="CONNECT";e[e["OPTIONS"]=6]="OPTIONS";e[e["TRACE"]=7]="TRACE";e[e["COPY"]=8]="COPY";e[e["LOCK"]=9]="LOCK";e[e["MKCOL"]=10]="MKCOL";e[e["MOVE"]=11]="MOVE";e[e["PROPFIND"]=12]="PROPFIND";e[e["PROPPATCH"]=13]="PROPPATCH";e[e["SEARCH"]=14]="SEARCH";e[e["UNLOCK"]=15]="UNLOCK";e[e["BIND"]=16]="BIND";e[e["REBIND"]=17]="REBIND";e[e["UNBIND"]=18]="UNBIND";e[e["ACL"]=19]="ACL";e[e["REPORT"]=20]="REPORT";e[e["MKACTIVITY"]=21]="MKACTIVITY";e[e["CHECKOUT"]=22]="CHECKOUT";e[e["MERGE"]=23]="MERGE";e[e["M-SEARCH"]=24]="M-SEARCH";e[e["NOTIFY"]=25]="NOTIFY";e[e["SUBSCRIBE"]=26]="SUBSCRIBE";e[e["UNSUBSCRIBE"]=27]="UNSUBSCRIBE";e[e["PATCH"]=28]="PATCH";e[e["PURGE"]=29]="PURGE";e[e["MKCALENDAR"]=30]="MKCALENDAR";e[e["LINK"]=31]="LINK";e[e["UNLINK"]=32]="UNLINK";e[e["SOURCE"]=33]="SOURCE";e[e["PRI"]=34]="PRI";e[e["DESCRIBE"]=35]="DESCRIBE";e[e["ANNOUNCE"]=36]="ANNOUNCE";e[e["SETUP"]=37]="SETUP";e[e["PLAY"]=38]="PLAY";e[e["PAUSE"]=39]="PAUSE";e[e["TEARDOWN"]=40]="TEARDOWN";e[e["GET_PARAMETER"]=41]="GET_PARAMETER";e[e["SET_PARAMETER"]=42]="SET_PARAMETER";e[e["REDIRECT"]=43]="REDIRECT";e[e["RECORD"]=44]="RECORD";e[e["FLUSH"]=45]="FLUSH"})(a=t.METHODS||(t.METHODS={}));t.METHODS_HTTP=[a.DELETE,a.GET,a.HEAD,a.POST,a.PUT,a.CONNECT,a.OPTIONS,a.TRACE,a.COPY,a.LOCK,a.MKCOL,a.MOVE,a.PROPFIND,a.PROPPATCH,a.SEARCH,a.UNLOCK,a.BIND,a.REBIND,a.UNBIND,a.ACL,a.REPORT,a.MKACTIVITY,a.CHECKOUT,a.MERGE,a["M-SEARCH"],a.NOTIFY,a.SUBSCRIBE,a.UNSUBSCRIBE,a.PATCH,a.PURGE,a.MKCALENDAR,a.LINK,a.UNLINK,a.PRI,a.SOURCE];t.METHODS_ICE=[a.SOURCE];t.METHODS_RTSP=[a.OPTIONS,a.DESCRIBE,a.ANNOUNCE,a.SETUP,a.PLAY,a.PAUSE,a.TEARDOWN,a.GET_PARAMETER,a.SET_PARAMETER,a.REDIRECT,a.RECORD,a.FLUSH,a.GET,a.POST];t.METHOD_MAP=r.enumToMap(a);t.H_METHOD_MAP={};Object.keys(t.METHOD_MAP).forEach((e=>{if(/^H/.test(e)){t.H_METHOD_MAP[e]=t.METHOD_MAP[e]}}));var c;(function(e){e[e["SAFE"]=0]="SAFE";e[e["SAFE_WITH_CB"]=1]="SAFE_WITH_CB";e[e["UNSAFE"]=2]="UNSAFE"})(c=t.FINISH||(t.FINISH={}));t.ALPHA=[];for(let e="A".charCodeAt(0);e<="Z".charCodeAt(0);e++){t.ALPHA.push(String.fromCharCode(e));t.ALPHA.push(String.fromCharCode(e+32))}t.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};t.HEX_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15};t.NUM=["0","1","2","3","4","5","6","7","8","9"];t.ALPHANUM=t.ALPHA.concat(t.NUM);t.MARK=["-","_",".","!","~","*","'","(",")"];t.USERINFO_CHARS=t.ALPHANUM.concat(t.MARK).concat(["%",";",":","&","=","+","$",","]);t.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(t.ALPHANUM);t.URL_CHAR=t.STRICT_URL_CHAR.concat(["\t","\f"]);for(let e=128;e<=255;e++){t.URL_CHAR.push(e)}t.HEX=t.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);t.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(t.ALPHANUM);t.TOKEN=t.STRICT_TOKEN.concat([" "]);t.HEADER_CHARS=["\t"];for(let e=32;e<=255;e++){if(e!==127){t.HEADER_CHARS.push(e)}}t.CONNECTION_TOKEN_CHARS=t.HEADER_CHARS.filter((e=>e!==44));t.MAJOR=t.NUM_MAP;t.MINOR=t.MAJOR;var l;(function(e){e[e["GENERAL"]=0]="GENERAL";e[e["CONNECTION"]=1]="CONNECTION";e[e["CONTENT_LENGTH"]=2]="CONTENT_LENGTH";e[e["TRANSFER_ENCODING"]=3]="TRANSFER_ENCODING";e[e["UPGRADE"]=4]="UPGRADE";e[e["CONNECTION_KEEP_ALIVE"]=5]="CONNECTION_KEEP_ALIVE";e[e["CONNECTION_CLOSE"]=6]="CONNECTION_CLOSE";e[e["CONNECTION_UPGRADE"]=7]="CONNECTION_UPGRADE";e[e["TRANSFER_ENCODING_CHUNKED"]=8]="TRANSFER_ENCODING_CHUNKED"})(l=t.HEADER_STATE||(t.HEADER_STATE={}));t.SPECIAL_HEADERS={connection:l.CONNECTION,"content-length":l.CONTENT_LENGTH,"proxy-connection":l.CONNECTION,"transfer-encoding":l.TRANSFER_ENCODING,upgrade:l.UPGRADE}},9827:e=>{e.exports="AGFzbQEAAAABMAhgAX8Bf2ADf39/AX9gBH9/f38Bf2AAAGADf39/AGABfwBgAn9/AGAGf39/f39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQACA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9o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XRfbGVuaWVudF9rZWVwX2FsaXZlACQkbGxodHRwX3NldF9sZW5pZW50X3RyYW5zZmVyX2VuY29kaW5nACUYbGxodHRwX21lc3NhZ2VfbmVlZHNfZW9mAD8JFwEAQQELEQECAwQFCwYHNTk3MS8tJyspCsLgAkUCAAsIABCIgICAAAsZACAAEMKAgIAAGiAAIAI2AjggACABOgAoCxwAIAAgAC8BMiAALQAuIAAQwYCAgAAQgICAgAALKgEBf0HAABDGgICAACIBEMKAgIAAGiABQYCIgIAANgI4IAEgADoAKCABCwoAIAAQyICAgAALBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LRQEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABDCgICAABogACAENgI4IAAgAzoAKCAAIAI6AC0gACABNgIYCxEAIAAgASABIAJqEMOAgIAACxAAIABBAEHcABDMgICAABoLZwEBf0EAIQECQCAAKAIMDQACQAJAAkACQCAALQAvDgMBAAMCCyAAKAI4IgFFDQAgASgCLCIBRQ0AIAAgARGAgICAAAAiAQ0DC0EADwsQyoCAgAAACyAAQcOWgIAANgIQQQ4hAQsgAQseAAJAIAAoAgwNACAAQdGbgIAANgIQIABBFTYCDAsLFgACQCAAKAIMQRVHDQAgAEEANgIMCwsWAAJAIAAoAgxBFkcNACAAQQA2AgwLCwcAIAAoAgwLBwAgACgCEAsJACAAIAE2AhALBwAgACgCFAsiAAJAIABBJEkNABDKgICAAAALIABBAnRBoLOAgABqKAIACyIAAkAgAEEuSQ0AEMqAgIAAAAsgAEECdEGwtICAAGooAgAL7gsBAX9B66iAgAAhAQJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ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0BDAILQQAhAyAALwEwIgRBAXFFDQELQQEhAyAALQAoQQFGDQAgAC8BMkH//wNxIgVBnH9qQeQASQ0AIAVBzAFGDQAgBUGwAkYNACAEQcAAcQ0AQQAhAyAEQYgEcUGABEYNACAEQShxQQBHIQMLIABBADsBMCAAQQA6AC8gAwuZAQECfwJAAkACQCAALQAqRQ0AIAAtACtFDQBBACEBIAAvATAiAkECcUUNAQwCC0EAIQEgAC8BMCICQQFxRQ0BC0EBIQEgAC0AKEEBRg0AIAAvATJB//8DcSIAQZx/akHkAEkNACAAQcwBRg0AIABBsAJGDQAgAkHAAHENAEEAIQEgAkGIBHFBgARGDQAgAkEocUEARyEBCyABC1kAIABBGGpCADcDACAAQgA3AwAgAEE4akIANwMAIABBMGpCADcDACAAQShqQgA3AwAgAEEgakIANwMAIABBEGpCADcDACAAQQhqQgA3AwAgAEHdATYCHEEAC3sBAX8CQCAAKAIMIgMNAAJAIAAoAgRFDQAgACABNgIECwJAIAAgASACEMSAgIAAIgMNACAAKAIMDwsgACADNgIcQQAhAyAAKAIEIgFFDQAgACABIAIgACgCCBGBgICAAAAiAUUNACAAIAI2AhQgACABNgIMIAEhAwsgAwvk8wEDDn8DfgR/I4CAgIAAQRBrIgMkgICAgAAgASEEIAEhBSABIQYgASEHIAEhCCABIQkgASEKIAEhCyABIQwgASENIAEhDiABIQ8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJA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kACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAQDscBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxweHyAhIyUoP0BBREVGR0hJSktMTU9QUVJT3gNXWVtcXWBiZWZnaGlqa2xtb3BxcnN0dXZ3eHl6e3x9foABggGFAYYBhwGJAYsBjAGNAY4BjwGQAZEBlAGVAZYBlwGYAZkBmgGbAZwBnQGeAZ8BoAGhAaIBowGkAaUBpgGnAagBqQGqAasBrAGtAa4BrwGwAbEBsgGzAbQBtQG2AbcBuAG5AboBuwG8Ab0BvgG/AcABwQHCAcMBxAHFAcYBxwHIAckBygHL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AAQdMANgIcIAAgATYCFCAAIBA2AgxBACEQDLEBCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxRCyAAQeUANgIcIAAgATYCFCAAIBA2AgxBACEQDLABCyAAQQA2AhwgACABNgIUIABBxoqAgAA2AhAgAEEHNgIMQQAhEAyvAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMSQsgAEHSADYCHCAAIAE2AhQgACAQNgIMQQAhEAyuAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMSQsgAEHTADYCHCAAIAE2AhQgACAQNgIMQQAhEAytAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMTQsgAEHlADYCHCAAIAE2AhQgACAQNgIMQQAhEAysAQsgAEEANgIcIAAgATYCFCAAQdyIgIAANgIQIABBBzYCDEEAIRAMqwELIBBBP0cNASABQQFqIQELQQUhEAyQAQtBACEQIABBADYCHCAAIAE2AhQgAEH9koCAADYCECAAQQc2AgwMqAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMpwELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMpgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEYLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMpQELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0gA2AhwgACAUNgIUIAAgATYCDEEAIRAMpAELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0wA2AhwgACAUNgIUIAAgATYCDEEAIRAMowELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDEMLIABB5QA2AhwgACAUNgIUIAAgATYCD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ogAf0LAwAgAEEgaiAB/QsDACAAQd0BNgIcQQALewEBfwJAIAAoAgwiAw0AAkAgACgCBEUNACAAIAE2AgQLAkAgACABIAIQxICAgAAiAw0AIAAoAgwPCyAAIAM2AhxBACEDIAAoAgQiAUUNACAAIAEgAiAAKAIIEYGAgIAAACIBRQ0AIAAgAjYCFCAAIAE2AgwgASEDCyADC+TzAQMOfwN+BH8jgICAgABBEGsiAySAgICAACABIQQgASEFIAEhBiABIQcgASEIIAEhCSABIQogASELIAEhDCABIQ0gASEOIAEhDwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAAKAIcIhBBf2oO3QHaAQHZAQIDBAUGBwgJCgsMDQ7YAQ8Q1wEREtYBExQVFhcYGRob4AHfARwdHtUBHyAhIiMkJdQBJicoKSorLNMB0gEtLtEB0AEvMDEyMzQ1Njc4OTo7PD0+P0BBQkNERUbbAUdISUrPAc4BS80BTMwBTU5PUFFSU1RVVldYWVpbXF1eX2BhYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ent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SC0GzASEQDBELQbIBIRAMEAtBtAEhEAwPC0G1ASEQDA4LQbYBIRAMDQtBtwEhEAwMC0G4ASEQDAsLQbkBIRAMCgtBugEhEAwJC0G7ASEQDAgLQcYBIRAMBwtBvAEhEAwGC0G9ASEQDAULQb4BIRAMBAtBvwEhEAwDC0HAASEQDAILQcIBIRAMAQtBwQEhEAsDQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJA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EiASACEMCAgIAAQQFHDeYBIABCADcDIAznAQsgACABIgEgAhC0gICAACIQDecBIAEhAQz1AgsCQCABIgEgAkcNAEEGIRAM8AMLIAAgAUEBaiIBIAIQu4CAgAAiEA3oASABIQEMMQsgAEIANwMgQRIhEAzVAwsgASIQIAJHDStBHSEQDO0DCwJAIAEiASACRg0AIAFBAWohAUEQIRAM1AMLQQchEAzsAwsgAEIAIAApAyAiESACIAEiEGutIhJ9IhMgEyARVhs3AyAgESASViIURQ3lAUEIIRAM6wMLAkAgASIBIAJGDQAgAEGJgICAADYCCCAAIAE2AgQgASEBQRQhEAzSAwtBCSEQDOoDCyABIQEgACkDIFAN5AEgASEBDPICCwJAIAEiASACRw0AQQshEAzpAwsgACABQQFqIgEgAhC2gICAACIQDeUBIAEhAQzyAgsgACABIgEgAhC4gICAACIQDeUBIAEhAQzyAgsgACABIgEgAhC4gICAACIQDeYBIAEhAQwNCyAAIAEiASACELqAgIAAIhAN5wEgASEBDPACCwJAIAEiASACRw0AQQ8hEAzlAwsgAS0AACIQQTtGDQggEEENRw3oASABQQFqIQEM7wILIAAgASIBIAIQuoCAgAAiEA3oASABIQEM8gILA0ACQCABLQAAQfC1gIAAai0AACIQQQFGDQAgEEECRw3rASAAKAIEIRAgAEEANgIEIAAgECABQQFqIgEQuYCAgAAiEA3qASABIQEM9AILIAFBAWoiASACRw0AC0ESIRAM4gMLIAAgASIBIAIQuoCAgAAiEA3pASABIQEMCgsgASIBIAJHDQZBGyEQDOADCwJAIAEiASACRw0AQRYhEAzgAwsgAEGKgICAADYCCCAAIAE2AgQgACABIAIQuICAgAAiEA3qASABIQFBICEQDMYDCwJAIAEiASACRg0AA0ACQCABLQAAQfC3gIAAai0AACIQQQJGDQACQCAQQX9qDgTlAewBAOsB7AELIAFBAWohAUEIIRAMyAMLIAFBAWoiASACRw0AC0EVIRAM3wMLQRUhEAzeAwsDQAJAIAEtAABB8LmAgABqLQAAIhBBAkYNACAQQX9qDgTeAewB4AHrAewBCyABQ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AgAEEANgIcIAAgATYCFCAAQZCzgIAANgIQIABBCDYCDAy3AQsgAEEANgIAIBdBAWohAQJAIAAtAClBIUcNACABIQEMVgsgAEEANgIcIAAgATYCFCAAQZuKgIAANgIQIABBCDYCDEEAIRAMtgELIABBADYCACAXQQFqIQECQCAALQApIhBBXWpBC08NACABIQEMVQsCQCAQQQZLDQBBASAQdEHKAHFFDQAgASEBDFULQQAhECAAQQA2AhwgACABNgIUIABB94mAgAA2AhAgAEEINgIMDLUBCyAQQRVGDXEgAEEANgIcIAAgATYCFCAAQbmNgIAANgIQIABBGjYCDEEAIRAMtAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFQLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMswELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMsgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMsQELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFELIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMsAELIABBADYCHCAAIAE2AhQgAEHGioCAADYCECAAQQc2AgxBACEQDK8BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxJCyAAQdIANgIcIAAgATYCFCAAIBA2AgxBACEQDK4BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxJCyAAQdMANgIcIAAgATYCFCAAIBA2AgxBACEQDK0BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxNCyAAQeUANgIcIAAgATYCFCAAIBA2AgxBACEQDKwBCyAAQQA2AhwgACABNgIUIABB3IiAgAA2AhAgAEEHNgIMQQAhEAyrAQsgEEE/Rw0BIAFBAWohAQtBBSEQDJABC0EAIRAgAEEANgIcIAAgATYCFCAAQf2SgIAANgIQIABBBzYCDAyoAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMQgsgAEHSADYCHCAAIAE2AhQgACAQNgIMQQAhEAynAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMQgsgAEHTADYCHCAAIAE2AhQgACAQNgIMQQAhEAymAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMRgsgAEHlADYCHCAAIAE2AhQgACAQNgIMQQAhEAylAQsgACgCBCEBIABBADYCBAJAIAAgASAUEKeAgIAAIgENACAUIQEMPwsgAEHSADYCHCAAIBQ2AhQgACABNgIMQQAhEAykAQsgACgCBCEBIABBADYCBAJAIAAgASAUEKeAgIAAIgENACAUIQEMPwsgAEHTADYCHCAAIBQ2AhQgACABNgIMQQAhEAyjAQsgACgCBCEBIABBADYCBAJAIAAgASAUEKeAgIAAIgENACAUIQEMQwsgAEHlADYCHCAAIBQ2AhQgACABNgIMQQAhEAyiAQsgAEEANgIcIAAgFDYCFCAAQcOPgIAANgIQIABBBzYCDEEAIRAMoQELIABBADYCHCAAIAE2AhQgAEHDj4CAADYCECAAQQc2AgxBACEQDKABC0EAIRAgAEEANgIcIAAgFDYCFCAAQYycgIAANgIQIABBBzYCDAyfAQsgAEEANgIcIAAgFDYCFCAAQYycgIAANgIQIABBBzYCDEEAIRAMngELIABBADYCHCAAIBQ2AhQgAEH+kYCAADYCECAAQQc2AgxBACEQDJ0BCyAAQQA2AhwgACABNgIUIABBjpuAgAA2AhAgAEEGNgIMQQAhEAycAQsgEEEVRg1XIABBADYCHCAAIAE2AhQgAEHMjoCAADYCECAAQSA2AgxBACEQDJsBCyAAQQA2AgAgEEEBaiEBQSQhEAsgACAQOgApIAAoAgQhECAAQQA2AgQgACAQIAEQq4CAgAAiEA1UIAEhAQw+CyAAQQA2AgALQQAhECAAQQA2AhwgACAENgIUIABB8ZuAgAA2AhAg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]=r}}));return t}t.enumToMap=enumToMap},6004:(e,t,s)=>{const{kClients:r}=s(3932);const o=s(8840);const{kAgent:n,kMockAgentSet:A,kMockAgentGet:i,kDispatches:a,kIsMockActive:c,kNetConnect:l,kGetNetConnect:u,kOptions:p,kFactory:d}=s(4745);const g=s(1287);const h=s(7220);const{matchValue:E,buildMockOptions:C}=s(9700);const{InvalidArgumentError:m,UndiciError:Q}=s(2366);const B=s(8648);const I=s(5024);const b=s(5464);class FakeWeakRef{constructor(e){this.value=e}deref(){return this.value}}class MockAgent extends B{constructor(e){super(e);this[l]=true;this[c]=true;if(e&&e.agent&&typeof e.agent.dispatch!=="function"){throw new m("Argument opts.agent must implement Agent")}const t=e&&e.agent?e.agent:new o(e);this[n]=t;this[r]=t[r];this[p]=C(e)}get(e){let t=this[i](e);if(!t){t=this[d](e);this[A](e,t)}return t}dispatch(e,t){this.get(e.origin);return this[n].dispatch(e,t)}async close(){await this[n].close();this[r].clear()}deactivate(){this[c]=false}activate(){this[c]=true}enableNetConnect(e){if(typeof e==="string"||typeof e==="function"||e instanceof RegExp){if(Array.isArray(this[l])){this[l].push(e)}else{this[l]=[e]}}else if(typeof e==="undefined"){this[l]=true}else{throw new m("Unsupported matcher. Must be one of String|Function|RegExp.")}}disableNetConnect(){this[l]=false}get isMockActive(){return this[c]}[A](e,t){this[r].set(e,new FakeWeakRef(t))}[d](e){const t=Object.assign({agent:this},this[p]);return this[p]&&this[p].connections===1?new g(e,t):new h(e,t)}[i](e){const t=this[r].get(e);if(t){return t.deref()}if(typeof e!=="string"){const t=this[d]("http://localhost:9999");this[A](e,t);return t}for(const[t,s]of Array.from(this[r])){const r=s.deref();if(r&&typeof t!=="string"&&E(t,e)){const t=this[d](e);this[A](e,t);t[a]=r[a];return t}}}[u](){return this[l]}pendingInterceptors(){const e=this[r];return Array.from(e.entries()).flatMap((([e,t])=>t.deref()[a].map((t=>({...t,origin:e}))))).filter((({pending:e})=>e))}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new b}={}){const t=this.pendingInterceptors();if(t.length===0){return}const s=new I("interceptor","interceptors").pluralize(t.length);throw new Q(`\n${s.count} ${s.noun} ${s.is} pending:\n\n${e.format(t)}\n`.trim())}}e.exports=MockAgent},1287:(e,t,s)=>{const{promisify:r}=s(3837);const o=s(1735);const{buildMockDispatch:n}=s(9700);const{kDispatches:A,kMockAgent:i,kClose:a,kOriginalClose:c,kOrigin:l,kOriginalDispatch:u,kConnected:p}=s(4745);const{MockInterceptor:d}=s(7857);const g=s(3932);const{InvalidArgumentError:h}=s(2366);class MockClient extends o{constructor(e,t){super(e,t);if(!t||!t.agent||typeof t.agent.dispatch!=="function"){throw new h("Argument opts.agent must implement Agent")}this[i]=t.agent;this[l]=e;this[A]=[];this[p]=1;this[u]=this.dispatch;this[c]=this.close.bind(this);this.dispatch=n.call(this);this.close=this[a]}get[g.kConnected](){return this[p]}intercept(e){return new d(e,this[A])}async[a](){await r(this[c])();this[p]=0;this[i][g.kClients].delete(this[l])}}e.exports=MockClient},2703:(e,t,s)=>{const{UndiciError:r}=s(2366);class MockNotMatchedError extends r{constructor(e){super(e);Error.captureStackTrace(this,MockNotMatchedError);this.name="MockNotMatchedError";this.message=e||"The request does not match any registered mock dispatches";this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}}e.exports={MockNotMatchedError:MockNotMatchedError}},7857:(e,t,s)=>{const{getResponseData:r,buildKey:o,addMockDispatch:n}=s(9700);const{kDispatches:A,kDispatchKey:i,kDefaultHeaders:a,kDefaultTrailers:c,kContentLength:l,kMockDispatch:u}=s(4745);const{InvalidArgumentError:p}=s(2366);const{buildURL:d}=s(7497);class MockScope{constructor(e){this[u]=e}delay(e){if(typeof e!=="number"||!Number.isInteger(e)||e<=0){throw new p("waitInMs must be a valid integer > 0")}this[u].delay=e;return this}persist(){this[u].persist=true;return this}times(e){if(typeof e!=="number"||!Number.isInteger(e)||e<=0){throw new p("repeatTimes must be a valid integer > 0")}this[u].times=e;return this}}class MockInterceptor{constructor(e,t){if(typeof e!=="object"){throw new p("opts must be an object")}if(typeof e.path==="undefined"){throw new p("opts.path must be defined")}if(typeof e.method==="undefined"){e.method="GET"}if(typeof e.path==="string"){if(e.query){e.path=d(e.path,e.query)}else{const t=new URL(e.path,"data://");e.path=t.pathname+t.search}}if(typeof e.method==="string"){e.method=e.method.toUpperCase()}this[i]=o(e);this[A]=t;this[a]={};this[c]={};this[l]=false}createMockScopeDispatchData(e,t,s={}){const o=r(t);const n=this[l]?{"content-length":o.length}:{};const A={...this[a],...n,...s.headers};const i={...this[c],...s.trailers};return{statusCode:e,data:t,headers:A,trailers:i}}validateReplyParameters(e,t,s){if(typeof e==="undefined"){throw new p("statusCode must be defined")}if(typeof t==="undefined"){throw new p("data must be defined")}if(typeof s!=="object"){throw new p("responseOptions must be an object")}}reply(e){if(typeof e==="function"){const wrappedDefaultsCallback=t=>{const s=e(t);if(typeof s!=="object"){throw new p("reply options callback must return an object")}const{statusCode:r,data:o="",responseOptions:n={}}=s;this.validateReplyParameters(r,o,n);return{...this.createMockScopeDispatchData(r,o,n)}};const t=n(this[A],this[i],wrappedDefaultsCallback);return new MockScope(t)}const[t,s="",r={}]=[...arguments];this.validateReplyParameters(t,s,r);const o=this.createMockScopeDispatchData(t,s,r);const a=n(this[A],this[i],o);return new MockScope(a)}replyWithError(e){if(typeof e==="undefined"){throw new p("error must be defined")}const t=n(this[A],this[i],{error:e});return new MockScope(t)}defaultReplyHeaders(e){if(typeof e==="undefined"){throw new p("headers must be defined")}this[a]=e;return this}defaultReplyTrailers(e){if(typeof e==="undefined"){throw new p("trailers must be defined")}this[c]=e;return this}replyContentLength(){this[l]=true;return this}}e.exports.MockInterceptor=MockInterceptor;e.exports.MockScope=MockScope},7220:(e,t,s)=>{const{promisify:r}=s(3837);const o=s(780);const{buildMockDispatch:n}=s(9700);const{kDispatches:A,kMockAgent:i,kClose:a,kOriginalClose:c,kOrigin:l,kOriginalDispatch:u,kConnected:p}=s(4745);const{MockInterceptor:d}=s(7857);const g=s(3932);const{InvalidArgumentError:h}=s(2366);class MockPool extends o{constructor(e,t){super(e,t);if(!t||!t.agent||typeof t.agent.dispatch!=="function"){throw new h("Argument opts.agent must implement Agent")}this[i]=t.agent;this[l]=e;this[A]=[];this[p]=1;this[u]=this.dispatch;this[c]=this.close.bind(this);this.dispatch=n.call(this);this.close=this[a]}get[g.kConnected](){return this[p]}intercept(e){return new d(e,this[A])}async[a](){await r(this[c])();this[p]=0;this[i][g.kClients].delete(this[l])}}e.exports=MockPool},4745:e=>{e.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected")}},9700:(e,t,s)=>{const{MockNotMatchedError:r}=s(2703);const{kDispatches:o,kMockAgent:n,kOriginalDispatch:A,kOrigin:i,kGetNetConnect:a}=s(4745);const{buildURL:c,nop:l}=s(7497);const{STATUS_CODES:u}=s(3685);const{types:{isPromise:p}}=s(3837);function matchValue(e,t){if(typeof e==="string"){return e===t}if(e instanceof RegExp){return e.test(t)}if(typeof e==="function"){return e(t)===true}return false}function lowerCaseEntries(e){return Object.fromEntries(Object.entries(e).map((([e,t])=>[e.toLocaleLowerCase(),t])))}function getHeaderByName(e,t){if(Array.isArray(e)){for(let s=0;s!e)).filter((({path:e})=>matchValue(safeUrl(e),o)));if(n.length===0){throw new r(`Mock dispatch not matched for path '${o}'`)}n=n.filter((({method:e})=>matchValue(e,t.method)));if(n.length===0){throw new r(`Mock dispatch not matched for method '${t.method}'`)}n=n.filter((({body:e})=>typeof e!=="undefined"?matchValue(e,t.body):true));if(n.length===0){throw new r(`Mock dispatch not matched for body '${t.body}'`)}n=n.filter((e=>matchHeaders(e,t.headers)));if(n.length===0){throw new r(`Mock dispatch not matched for headers '${typeof t.headers==="object"?JSON.stringify(t.headers):t.headers}'`)}return n[0]}function addMockDispatch(e,t,s){const r={timesInvoked:0,times:1,persist:false,consumed:false};const o=typeof s==="function"?{callback:s}:{...s};const n={...r,...t,pending:true,data:{error:null,...o}};e.push(n);return n}function deleteMockDispatch(e,t){const s=e.findIndex((e=>{if(!e.consumed){return false}return matchKey(e,t)}));if(s!==-1){e.splice(s,1)}}function buildKey(e){const{path:t,method:s,body:r,headers:o,query:n}=e;return{path:t,method:s,body:r,headers:o,query:n}}function generateKeyValues(e){return Object.entries(e).reduce(((e,[t,s])=>[...e,Buffer.from(`${t}`),Array.isArray(s)?s.map((e=>Buffer.from(`${e}`))):Buffer.from(`${s}`)]),[])}function getStatusText(e){return u[e]||"unknown"}async function getResponse(e){const t=[];for await(const s of e){t.push(s)}return Buffer.concat(t).toString("utf8")}function mockDispatch(e,t){const s=buildKey(e);const r=getMockDispatch(this[o],s);r.timesInvoked++;if(r.data.callback){r.data={...r.data,...r.data.callback(e)}}const{data:{statusCode:n,data:A,headers:i,trailers:a,error:c},delay:u,persist:d}=r;const{timesInvoked:g,times:h}=r;r.consumed=!d&&g>=h;r.pending=g0){setTimeout((()=>{handleReply(this[o])}),u)}else{handleReply(this[o])}function handleReply(r,o=A){const c=Array.isArray(e.headers)?buildHeadersFromArray(e.headers):e.headers;const u=typeof o==="function"?o({...e,headers:c}):o;if(p(u)){u.then((e=>handleReply(r,e)));return}const d=getResponseData(u);const g=generateKeyValues(i);const h=generateKeyValues(a);t.abort=l;t.onHeaders(n,g,resume,getStatusText(n));t.onData(Buffer.from(d));t.onComplete(h);deleteMockDispatch(r,s)}function resume(){}return true}function buildMockDispatch(){const e=this[n];const t=this[i];const s=this[A];return function dispatch(o,n){if(e.isMockActive){try{mockDispatch.call(this,o,n)}catch(A){if(A instanceof r){const i=e[a]();if(i===false){throw new r(`${A.message}: subsequent request to origin ${t} was not allowed (net.connect disabled)`)}if(checkNetConnect(i,t)){s.call(this,o,n)}else{throw new r(`${A.message}: subsequent request to origin ${t} was not allowed (net.connect is not enabled for this origin)`)}}else{throw A}}}else{s.call(this,o,n)}}}function checkNetConnect(e,t){const s=new URL(t);if(e===true){return true}else if(Array.isArray(e)&&e.some((e=>matchValue(e,s.host)))){return true}return false}function buildMockOptions(e){if(e){const{agent:t,...s}=e;return s}}e.exports={getResponseData:getResponseData,getMockDispatch:getMockDispatch,addMockDispatch:addMockDispatch,deleteMockDispatch:deleteMockDispatch,buildKey:buildKey,generateKeyValues:generateKeyValues,matchValue:matchValue,getResponse:getResponse,getStatusText:getStatusText,mockDispatch:mockDispatch,buildMockDispatch:buildMockDispatch,checkNetConnect:checkNetConnect,buildMockOptions:buildMockOptions,getHeaderByName:getHeaderByName}},5464:(e,t,s)=>{const{Transform:r}=s(2781);const{Console:o}=s(6206);e.exports=class PendingInterceptorsFormatter{constructor({disableColors:e}={}){this.transform=new r({transform(e,t,s){s(null,e)}});this.logger=new o({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){const t=e.map((({method:e,path:t,data:{statusCode:s},persist:r,times:o,timesInvoked:n,origin:A})=>({Method:e,Origin:A,Path:t,"Status code":s,Persistent:r?"✅":"❌",Invocations:n,Remaining:r?Infinity:o-n})));this.logger.table(t);return this.transform.read().toString()}}},5024:e=>{const t={pronoun:"it",is:"is",was:"was",this:"this"};const s={pronoun:"they",is:"are",was:"were",this:"these"};e.exports=class Pluralizer{constructor(e,t){this.singular=e;this.plural=t}pluralize(e){const r=e===1;const o=r?t:s;const n=r?this.singular:this.plural;return{...o,count:e,noun:n}}}},4629:e=>{const t=2048;const s=t-1;class FixedCircularBuffer{constructor(){this.bottom=0;this.top=0;this.list=new Array(t);this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&s)===this.bottom}push(e){this.list[this.top]=e;this.top=this.top+1&s}shift(){const e=this.list[this.bottom];if(e===undefined)return null;this.list[this.bottom]=undefined;this.bottom=this.bottom+1&s;return e}}e.exports=class FixedQueue{constructor(){this.head=this.tail=new FixedCircularBuffer}isEmpty(){return this.head.isEmpty()}push(e){if(this.head.isFull()){this.head=this.head.next=new FixedCircularBuffer}this.head.push(e)}shift(){const e=this.tail;const t=e.shift();if(e.isEmpty()&&e.next!==null){this.tail=e.next}return t}}},4414:(e,t,s)=>{const r=s(8757);const o=s(4629);const{kConnected:n,kSize:A,kRunning:i,kPending:a,kQueued:c,kBusy:l,kFree:u,kUrl:p,kClose:d,kDestroy:g,kDispatch:h}=s(3932);const E=s(47);const C=Symbol("clients");const m=Symbol("needDrain");const Q=Symbol("queue");const B=Symbol("closed resolve");const I=Symbol("onDrain");const b=Symbol("onConnect");const y=Symbol("onDisconnect");const w=Symbol("onConnectionError");const v=Symbol("get dispatcher");const R=Symbol("add client");const k=Symbol("remove client");const D=Symbol("stats");class PoolBase extends r{constructor(){super();this[Q]=new o;this[C]=[];this[c]=0;const e=this;this[I]=function onDrain(t,s){const r=e[Q];let o=false;while(!o){const t=r.shift();if(!t){break}e[c]--;o=!this.dispatch(t.opts,t.handler)}this[m]=o;if(!this[m]&&e[m]){e[m]=false;e.emit("drain",t,[e,...s])}if(e[B]&&r.isEmpty()){Promise.all(e[C].map((e=>e.close()))).then(e[B])}};this[b]=(t,s)=>{e.emit("connect",t,[e,...s])};this[y]=(t,s,r)=>{e.emit("disconnect",t,[e,...s],r)};this[w]=(t,s,r)=>{e.emit("connectionError",t,[e,...s],r)};this[D]=new E(this)}get[l](){return this[m]}get[n](){return this[C].filter((e=>e[n])).length}get[u](){return this[C].filter((e=>e[n]&&!e[m])).length}get[a](){let e=this[c];for(const{[a]:t}of this[C]){e+=t}return e}get[i](){let e=0;for(const{[i]:t}of this[C]){e+=t}return e}get[A](){let e=this[c];for(const{[A]:t}of this[C]){e+=t}return e}get stats(){return this[D]}async[d](){if(this[Q].isEmpty()){return Promise.all(this[C].map((e=>e.close())))}else{return new Promise((e=>{this[B]=e}))}}async[g](e){while(true){const t=this[Q].shift();if(!t){break}t.handler.onError(e)}return Promise.all(this[C].map((t=>t.destroy(e))))}[h](e,t){const s=this[v]();if(!s){this[m]=true;this[Q].push({opts:e,handler:t});this[c]++}else if(!s.dispatch(e,t)){s[m]=true;this[m]=!this[v]()}return!this[m]}[R](e){e.on("drain",this[I]).on("connect",this[b]).on("disconnect",this[y]).on("connectionError",this[w]);this[C].push(e);if(this[m]){process.nextTick((()=>{if(this[m]){this[I](e[p],[this,e])}}))}return this}[k](e){e.close((()=>{const t=this[C].indexOf(e);if(t!==-1){this[C].splice(t,1)}}));this[m]=this[C].some((e=>!e[m]&&e.closed!==true&&e.destroyed!==true))}}e.exports={PoolBase:PoolBase,kClients:C,kNeedDrain:m,kAddClient:R,kRemoveClient:k,kGetDispatcher:v}},47:(e,t,s)=>{const{kFree:r,kConnected:o,kPending:n,kQueued:A,kRunning:i,kSize:a}=s(3932);const c=Symbol("pool");class PoolStats{constructor(e){this[c]=e}get connected(){return this[c][o]}get free(){return this[c][r]}get pending(){return this[c][n]}get queued(){return this[c][A]}get running(){return this[c][i]}get size(){return this[c][a]}}e.exports=PoolStats},780:(e,t,s)=>{const{PoolBase:r,kClients:o,kNeedDrain:n,kAddClient:A,kGetDispatcher:i}=s(4414);const a=s(1735);const{InvalidArgumentError:c}=s(2366);const l=s(7497);const{kUrl:u,kInterceptors:p}=s(3932);const d=s(9218);const g=Symbol("options");const h=Symbol("connections");const E=Symbol("factory");function defaultFactory(e,t){return new a(e,t)}class Pool extends r{constructor(e,{connections:t,factory:s=defaultFactory,connect:r,connectTimeout:o,tls:n,maxCachedSessions:A,socketPath:i,autoSelectFamily:a,autoSelectFamilyAttemptTimeout:C,allowH2:m,...Q}={}){super();if(t!=null&&(!Number.isFinite(t)||t<0)){throw new c("invalid connections")}if(typeof s!=="function"){throw new c("factory must be a function.")}if(r!=null&&typeof r!=="function"&&typeof r!=="object"){throw new c("connect must be a function or an object")}if(typeof r!=="function"){r=d({...n,maxCachedSessions:A,allowH2:m,socketPath:i,timeout:o,...l.nodeHasAutoSelectFamily&&a?{autoSelectFamily:a,autoSelectFamilyAttemptTimeout:C}:undefined,...r})}this[p]=Q.interceptors&&Q.interceptors.Pool&&Array.isArray(Q.interceptors.Pool)?Q.interceptors.Pool:[];this[h]=t||null;this[u]=l.parseOrigin(e);this[g]={...l.deepClone(Q),connect:r,allowH2:m};this[g].interceptors=Q.interceptors?{...Q.interceptors}:undefined;this[E]=s}[i](){let e=this[o].find((e=>!e[n]));if(e){return e}if(!this[h]||this[o].length{const{kProxy:r,kClose:o,kDestroy:n,kInterceptors:A}=s(3932);const{URL:i}=s(7310);const a=s(8840);const c=s(780);const l=s(8757);const{InvalidArgumentError:u,RequestAbortedError:p}=s(2366);const d=s(9218);const g=Symbol("proxy agent");const h=Symbol("proxy client");const E=Symbol("proxy headers");const C=Symbol("request tls settings");const m=Symbol("proxy tls settings");const Q=Symbol("connect endpoint function");function defaultProtocolPort(e){return e==="https:"?443:80}function buildProxyOptions(e){if(typeof e==="string"){e={uri:e}}if(!e||!e.uri){throw new u("Proxy opts.uri is mandatory")}return{uri:e.uri,protocol:e.protocol||"https"}}function defaultFactory(e,t){return new c(e,t)}class ProxyAgent extends l{constructor(e){super(e);this[r]=buildProxyOptions(e);this[g]=new a(e);this[A]=e.interceptors&&e.interceptors.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[];if(typeof e==="string"){e={uri:e}}if(!e||!e.uri){throw new u("Proxy opts.uri is mandatory")}const{clientFactory:t=defaultFactory}=e;if(typeof t!=="function"){throw new u("Proxy opts.clientFactory must be a function.")}this[C]=e.requestTls;this[m]=e.proxyTls;this[E]=e.headers||{};const s=new i(e.uri);const{origin:o,port:n,host:c,username:l,password:B}=s;if(e.auth&&e.token){throw new u("opts.auth cannot be used in combination with opts.token")}else if(e.auth){this[E]["proxy-authorization"]=`Basic ${e.auth}`}else if(e.token){this[E]["proxy-authorization"]=e.token}else if(l&&B){this[E]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(l)}:${decodeURIComponent(B)}`).toString("base64")}`}const I=d({...e.proxyTls});this[Q]=d({...e.requestTls});this[h]=t(s,{connect:I});this[g]=new a({...e,connect:async(e,t)=>{let s=e.host;if(!e.port){s+=`:${defaultProtocolPort(e.protocol)}`}try{const{socket:r,statusCode:A}=await this[h].connect({origin:o,port:n,path:s,signal:e.signal,headers:{...this[E],host:c}});if(A!==200){r.on("error",(()=>{})).destroy();t(new p(`Proxy response (${A}) !== 200 when HTTP Tunneling`))}if(e.protocol!=="https:"){t(null,r);return}let i;if(this[C]){i=this[C].servername}else{i=e.servername}this[Q]({...e,servername:i,httpSocket:r},t)}catch(e){t(e)}}})}dispatch(e,t){const{host:s}=new i(e.origin);const r=buildHeaders(e.headers);throwIfProxyAuthIsSent(r);return this[g].dispatch({...e,headers:{...r,host:s}},t)}async[o](){await this[g].close();await this[h].close()}async[n](){await this[g].destroy();await this[h].destroy()}}function buildHeaders(e){if(Array.isArray(e)){const t={};for(let s=0;se.toLowerCase()==="proxy-authorization"));if(t){throw new u("Proxy-Authorization should be sent in ProxyAgent constructor")}}e.exports=ProxyAgent},2882:e=>{let t=Date.now();let s;const r=[];function onTimeout(){t=Date.now();let e=r.length;let s=0;while(s0&&t>=o.state){o.state=-1;o.callback(o.opaque)}if(o.state===-1){o.state=-2;if(s!==e-1){r[s]=r.pop()}else{r.pop()}e-=1}else{s+=1}}if(r.length>0){refreshTimeout()}}function refreshTimeout(){if(s&&s.refresh){s.refresh()}else{clearTimeout(s);s=setTimeout(onTimeout,1e3);if(s.unref){s.unref()}}}class Timeout{constructor(e,t,s){this.callback=e;this.delay=t;this.opaque=s;this.state=-2;this.refresh()}refresh(){if(this.state===-2){r.push(this);if(!s||r.length===1){refreshTimeout()}}this.state=0}clear(){this.state=-1}}e.exports={setTimeout(e,t,s){return t<1e3?setTimeout(e,t,s):new Timeout(e,t,s)},clearTimeout(e){if(e instanceof Timeout){e.clear()}else{clearTimeout(e)}}}},250:(e,t,s)=>{const r=s(7643);const{uid:o,states:n}=s(6487);const{kReadyState:A,kSentClose:i,kByteParser:a,kReceivedClose:c}=s(7380);const{fireEvent:l,failWebsocketConnection:u}=s(5714);const{CloseEvent:p}=s(1879);const{makeRequest:d}=s(6453);const{fetching:g}=s(8802);const{Headers:h}=s(1855);const{getGlobalDispatcher:E}=s(2899);const{kHeadersList:C}=s(3932);const m={};m.open=r.channel("undici:websocket:open");m.close=r.channel("undici:websocket:close");m.socketError=r.channel("undici:websocket:socket_error");let Q;try{Q=s(6113)}catch{}function establishWebSocketConnection(e,t,s,r,n){const A=e;A.protocol=e.protocol==="ws:"?"http:":"https:";const i=d({urlList:[A],serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(n.headers){const e=new h(n.headers)[C];i.headersList=e}const a=Q.randomBytes(16).toString("base64");i.headersList.append("sec-websocket-key",a);i.headersList.append("sec-websocket-version","13");for(const e of t){i.headersList.append("sec-websocket-protocol",e)}const c="";const l=g({request:i,useParallelQueue:true,dispatcher:n.dispatcher??E(),processResponse(e){if(e.type==="error"||e.status!==101){u(s,"Received network error or non-101 status code.");return}if(t.length!==0&&!e.headersList.get("Sec-WebSocket-Protocol")){u(s,"Server did not respond with sent protocols.");return}if(e.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){u(s,'Server did not set Upgrade header to "websocket".');return}if(e.headersList.get("Connection")?.toLowerCase()!=="upgrade"){u(s,'Server did not set Connection header to "upgrade".');return}const n=e.headersList.get("Sec-WebSocket-Accept");const A=Q.createHash("sha1").update(a+o).digest("base64");if(n!==A){u(s,"Incorrect hash received in Sec-WebSocket-Accept header.");return}const l=e.headersList.get("Sec-WebSocket-Extensions");if(l!==null&&l!==c){u(s,"Received different permessage-deflate than the one set.");return}const p=e.headersList.get("Sec-WebSocket-Protocol");if(p!==null&&p!==i.headersList.get("Sec-WebSocket-Protocol")){u(s,"Protocol was not set in the opening handshake.");return}e.socket.on("data",onSocketData);e.socket.on("close",onSocketClose);e.socket.on("error",onSocketError);if(m.open.hasSubscribers){m.open.publish({address:e.socket.address(),protocol:p,extensions:l})}r(e)}});return l}function onSocketData(e){if(!this.ws[a].write(e)){this.pause()}}function onSocketClose(){const{ws:e}=this;const t=e[i]&&e[c];let s=1005;let r="";const o=e[a].closingInfo;if(o){s=o.code??1005;r=o.reason}else if(!e[i]){s=1006}e[A]=n.CLOSED;l("close",e,p,{wasClean:t,code:s,reason:r});if(m.close.hasSubscribers){m.close.publish({websocket:e,code:s,reason:r})}}function onSocketError(e){const{ws:t}=this;t[A]=n.CLOSING;if(m.socketError.hasSubscribers){m.socketError.publish(e)}this.destroy()}e.exports={establishWebSocketConnection:establishWebSocketConnection}},6487:e=>{const t="258EAFA5-E914-47DA-95CA-C5AB0DC85B11";const s={enumerable:true,writable:false,configurable:false};const r={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3};const o={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10};const n=2**16-1;const A={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4};const i=Buffer.allocUnsafe(0);e.exports={uid:t,staticPropertyDescriptors:s,states:r,opcodes:o,maxUnsigned16Bit:n,parserStates:A,emptyBuffer:i}},1879:(e,t,s)=>{const{webidl:r}=s(9111);const{kEnumerableProperty:o}=s(7497);const{MessagePort:n}=s(1267);class MessageEvent extends Event{#n;constructor(e,t={}){r.argumentLengthCheck(arguments,1,{header:"MessageEvent constructor"});e=r.converters.DOMString(e);t=r.converters.MessageEventInit(t);super(e,t);this.#n=t}get data(){r.brandCheck(this,MessageEvent);return this.#n.data}get origin(){r.brandCheck(this,MessageEvent);return this.#n.origin}get lastEventId(){r.brandCheck(this,MessageEvent);return this.#n.lastEventId}get source(){r.brandCheck(this,MessageEvent);return this.#n.source}get ports(){r.brandCheck(this,MessageEvent);if(!Object.isFrozen(this.#n.ports)){Object.freeze(this.#n.ports)}return this.#n.ports}initMessageEvent(e,t=false,s=false,o=null,n="",A="",i=null,a=[]){r.brandCheck(this,MessageEvent);r.argumentLengthCheck(arguments,1,{header:"MessageEvent.initMessageEvent"});return new MessageEvent(e,{bubbles:t,cancelable:s,data:o,origin:n,lastEventId:A,source:i,ports:a})}}class CloseEvent extends Event{#n;constructor(e,t={}){r.argumentLengthCheck(arguments,1,{header:"CloseEvent constructor"});e=r.converters.DOMString(e);t=r.converters.CloseEventInit(t);super(e,t);this.#n=t}get wasClean(){r.brandCheck(this,CloseEvent);return this.#n.wasClean}get code(){r.brandCheck(this,CloseEvent);return this.#n.code}get reason(){r.brandCheck(this,CloseEvent);return this.#n.reason}}class ErrorEvent extends Event{#n;constructor(e,t){r.argumentLengthCheck(arguments,1,{header:"ErrorEvent constructor"});super(e,t);e=r.converters.DOMString(e);t=r.converters.ErrorEventInit(t??{});this.#n=t}get message(){r.brandCheck(this,ErrorEvent);return this.#n.message}get filename(){r.brandCheck(this,ErrorEvent);return this.#n.filename}get lineno(){r.brandCheck(this,ErrorEvent);return this.#n.lineno}get colno(){r.brandCheck(this,ErrorEvent);return this.#n.colno}get error(){r.brandCheck(this,ErrorEvent);return this.#n.error}}Object.defineProperties(MessageEvent.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:true},data:o,origin:o,lastEventId:o,source:o,ports:o,initMessageEvent:o});Object.defineProperties(CloseEvent.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:true},reason:o,code:o,wasClean:o});Object.defineProperties(ErrorEvent.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:true},message:o,filename:o,lineno:o,colno:o,error:o});r.converters.MessagePort=r.interfaceConverter(n);r.converters["sequence"]=r.sequenceConverter(r.converters.MessagePort);const A=[{key:"bubbles",converter:r.converters.boolean,defaultValue:false},{key:"cancelable",converter:r.converters.boolean,defaultValue:false},{key:"composed",converter:r.converters.boolean,defaultValue:false}];r.converters.MessageEventInit=r.dictionaryConverter([...A,{key:"data",converter:r.converters.any,defaultValue:null},{key:"origin",converter:r.converters.USVString,defaultValue:""},{key:"lastEventId",converter:r.converters.DOMString,defaultValue:""},{key:"source",converter:r.nullableConverter(r.converters.MessagePort),defaultValue:null},{key:"ports",converter:r.converters["sequence"],get defaultValue(){return[]}}]);r.converters.CloseEventInit=r.dictionaryConverter([...A,{key:"wasClean",converter:r.converters.boolean,defaultValue:false},{key:"code",converter:r.converters["unsigned short"],defaultValue:0},{key:"reason",converter:r.converters.USVString,defaultValue:""}]);r.converters.ErrorEventInit=r.dictionaryConverter([...A,{key:"message",converter:r.converters.DOMString,defaultValue:""},{key:"filename",converter:r.converters.USVString,defaultValue:""},{key:"lineno",converter:r.converters["unsigned long"],defaultValue:0},{key:"colno",converter:r.converters["unsigned long"],defaultValue:0},{key:"error",converter:r.converters.any}]);e.exports={MessageEvent:MessageEvent,CloseEvent:CloseEvent,ErrorEvent:ErrorEvent}},6771:(e,t,s)=>{const{maxUnsigned16Bit:r}=s(6487);let o;try{o=s(6113)}catch{}class WebsocketFrameSend{constructor(e){this.frameData=e;this.maskKey=o.randomBytes(4)}createFrame(e){const t=this.frameData?.byteLength??0;let s=t;let o=6;if(t>r){o+=8;s=127}else if(t>125){o+=2;s=126}const n=Buffer.allocUnsafe(t+o);n[0]=n[1]=0;n[0]|=128;n[0]=(n[0]&240)+e; -/*! ws. MIT License. Einar Otto Stangvik */n[o-4]=this.maskKey[0];n[o-3]=this.maskKey[1];n[o-2]=this.maskKey[2];n[o-1]=this.maskKey[3];n[1]=s;if(s===126){n.writeUInt16BE(t,2)}else if(s===127){n[2]=n[3]=0;n.writeUIntBE(t,4,6)}n[1]|=128;for(let e=0;e{const{Writable:r}=s(2781);const o=s(7643);const{parserStates:n,opcodes:A,states:i,emptyBuffer:a}=s(6487);const{kReadyState:c,kSentClose:l,kResponse:u,kReceivedClose:p}=s(7380);const{isValidStatusCode:d,failWebsocketConnection:g,websocketMessageReceived:h}=s(5714);const{WebsocketFrameSend:E}=s(6771);const C={};C.ping=o.channel("undici:websocket:ping");C.pong=o.channel("undici:websocket:pong");class ByteParser extends r{#A=[];#i=0;#a=n.INFO;#c={};#l=[];constructor(e){super();this.ws=e}_write(e,t,s){this.#A.push(e);this.#i+=e.length;this.run(s)}run(e){while(true){if(this.#a===n.INFO){if(this.#i<2){return e()}const t=this.consume(2);this.#c.fin=(t[0]&128)!==0;this.#c.opcode=t[0]&15;this.#c.originalOpcode??=this.#c.opcode;this.#c.fragmented=!this.#c.fin&&this.#c.opcode!==A.CONTINUATION;if(this.#c.fragmented&&this.#c.opcode!==A.BINARY&&this.#c.opcode!==A.TEXT){g(this.ws,"Invalid frame type was fragmented.");return}const s=t[1]&127;if(s<=125){this.#c.payloadLength=s;this.#a=n.READ_DATA}else if(s===126){this.#a=n.PAYLOADLENGTH_16}else if(s===127){this.#a=n.PAYLOADLENGTH_64}if(this.#c.fragmented&&s>125){g(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#c.opcode===A.PING||this.#c.opcode===A.PONG||this.#c.opcode===A.CLOSE)&&s>125){g(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#c.opcode===A.CLOSE){if(s===1){g(this.ws,"Received close frame with a 1-byte body.");return}const e=this.consume(s);this.#c.closeInfo=this.parseCloseBody(false,e);if(!this.ws[l]){const e=Buffer.allocUnsafe(2);e.writeUInt16BE(this.#c.closeInfo.code,0);const t=new E(e);this.ws[u].socket.write(t.createFrame(A.CLOSE),(e=>{if(!e){this.ws[l]=true}}))}this.ws[c]=i.CLOSING;this.ws[p]=true;this.end();return}else if(this.#c.opcode===A.PING){const t=this.consume(s);if(!this.ws[p]){const e=new E(t);this.ws[u].socket.write(e.createFrame(A.PONG));if(C.ping.hasSubscribers){C.ping.publish({payload:t})}}this.#a=n.INFO;if(this.#i>0){continue}else{e();return}}else if(this.#c.opcode===A.PONG){const t=this.consume(s);if(C.pong.hasSubscribers){C.pong.publish({payload:t})}if(this.#i>0){continue}else{e();return}}}else if(this.#a===n.PAYLOADLENGTH_16){if(this.#i<2){return e()}const t=this.consume(2);this.#c.payloadLength=t.readUInt16BE(0);this.#a=n.READ_DATA}else if(this.#a===n.PAYLOADLENGTH_64){if(this.#i<8){return e()}const t=this.consume(8);const s=t.readUInt32BE(0);if(s>2**31-1){g(this.ws,"Received payload length > 2^31 bytes.");return}const r=t.readUInt32BE(4);this.#c.payloadLength=(s<<8)+r;this.#a=n.READ_DATA}else if(this.#a===n.READ_DATA){if(this.#i=this.#c.payloadLength){const e=this.consume(this.#c.payloadLength);this.#l.push(e);if(!this.#c.fragmented||this.#c.fin&&this.#c.opcode===A.CONTINUATION){const e=Buffer.concat(this.#l);h(this.ws,this.#c.originalOpcode,e);this.#c={};this.#l.length=0}this.#a=n.INFO}}if(this.#i>0){continue}else{e();break}}}consume(e){if(e>this.#i){return null}else if(e===0){return a}if(this.#A[0].length===e){this.#i-=this.#A[0].length;return this.#A.shift()}const t=Buffer.allocUnsafe(e);let s=0;while(s!==e){const r=this.#A[0];const{length:o}=r;if(o+s===e){t.set(this.#A.shift(),s);break}else if(o+s>e){t.set(r.subarray(0,e-s),s);this.#A[0]=r.subarray(e-s);break}else{t.set(this.#A.shift(),s);s+=r.length}}this.#i-=e;return t}parseCloseBody(e,t){let s;if(t.length>=2){s=t.readUInt16BE(0)}if(e){if(!d(s)){return null}return{code:s}}let r=t.subarray(2);if(r[0]===239&&r[1]===187&&r[2]===191){r=r.subarray(3)}if(s!==undefined&&!d(s)){return null}try{r=new TextDecoder("utf-8",{fatal:true}).decode(r)}catch{return null}return{code:s,reason:r}}get closingInfo(){return this.#c.closeInfo}}e.exports={ByteParser:ByteParser}},7380:e=>{e.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},5714:(e,t,s)=>{const{kReadyState:r,kController:o,kResponse:n,kBinaryType:A,kWebSocketURL:i}=s(7380);const{states:a,opcodes:c}=s(6487);const{MessageEvent:l,ErrorEvent:u}=s(1879);function isEstablished(e){return e[r]===a.OPEN}function isClosing(e){return e[r]===a.CLOSING}function isClosed(e){return e[r]===a.CLOSED}function fireEvent(e,t,s=Event,r){const o=new s(e,r);t.dispatchEvent(o)}function websocketMessageReceived(e,t,s){if(e[r]!==a.OPEN){return}let o;if(t===c.TEXT){try{o=new TextDecoder("utf-8",{fatal:true}).decode(s)}catch{failWebsocketConnection(e,"Received invalid UTF-8 in text frame.");return}}else if(t===c.BINARY){if(e[A]==="blob"){o=new Blob([s])}else{o=new Uint8Array(s).buffer}}fireEvent("message",e,l,{origin:e[i].origin,data:o})}function isValidSubprotocol(e){if(e.length===0){return false}for(const t of e){const e=t.charCodeAt(0);if(e<33||e>126||t==="("||t===")"||t==="<"||t===">"||t==="@"||t===","||t===";"||t===":"||t==="\\"||t==='"'||t==="/"||t==="["||t==="]"||t==="?"||t==="="||t==="{"||t==="}"||e===32||e===9){return false}}return true}function isValidStatusCode(e){if(e>=1e3&&e<1015){return e!==1004&&e!==1005&&e!==1006}return e>=3e3&&e<=4999}function failWebsocketConnection(e,t){const{[o]:s,[n]:r}=e;s.abort();if(r?.socket&&!r.socket.destroyed){r.socket.destroy()}if(t){fireEvent("error",e,u,{error:new Error(t)})}}e.exports={isEstablished:isEstablished,isClosing:isClosing,isClosed:isClosed,fireEvent:fireEvent,isValidSubprotocol:isValidSubprotocol,isValidStatusCode:isValidStatusCode,failWebsocketConnection:failWebsocketConnection,websocketMessageReceived:websocketMessageReceived}},1986:(e,t,s)=>{const{webidl:r}=s(9111);const{DOMException:o}=s(7533);const{URLSerializer:n}=s(5958);const{getGlobalOrigin:A}=s(7011);const{staticPropertyDescriptors:i,states:a,opcodes:c,emptyBuffer:l}=s(6487);const{kWebSocketURL:u,kReadyState:p,kController:d,kBinaryType:g,kResponse:h,kSentClose:E,kByteParser:C}=s(7380);const{isEstablished:m,isClosing:Q,isValidSubprotocol:B,failWebsocketConnection:I,fireEvent:b}=s(5714);const{establishWebSocketConnection:y}=s(250);const{WebsocketFrameSend:w}=s(6771);const{ByteParser:v}=s(5379);const{kEnumerableProperty:R,isBlobLike:k}=s(7497);const{getGlobalDispatcher:D}=s(2899);const{types:x}=s(3837);let F=false;class WebSocket extends EventTarget{#u={open:null,error:null,close:null,message:null};#p=0;#d="";#g="";constructor(e,t=[]){super();r.argumentLengthCheck(arguments,1,{header:"WebSocket constructor"});if(!F){F=true;process.emitWarning("WebSockets are experimental, expect them to change at any time.",{code:"UNDICI-WS"})}const s=r.converters["DOMString or sequence or WebSocketInit"](t);e=r.converters.USVString(e);t=s.protocols;const n=A();let i;try{i=new URL(e,n)}catch(e){throw new o(e,"SyntaxError")}if(i.protocol==="http:"){i.protocol="ws:"}else if(i.protocol==="https:"){i.protocol="wss:"}if(i.protocol!=="ws:"&&i.protocol!=="wss:"){throw new o(`Expected a ws: or wss: protocol, got ${i.protocol}`,"SyntaxError")}if(i.hash||i.href.endsWith("#")){throw new o("Got fragment","SyntaxError")}if(typeof t==="string"){t=[t]}if(t.length!==new Set(t.map((e=>e.toLowerCase()))).size){throw new o("Invalid Sec-WebSocket-Protocol value","SyntaxError")}if(t.length>0&&!t.every((e=>B(e)))){throw new o("Invalid Sec-WebSocket-Protocol value","SyntaxError")}this[u]=new URL(i.href);this[d]=y(i,t,this,(e=>this.#h(e)),s);this[p]=WebSocket.CONNECTING;this[g]="blob"}close(e=undefined,t=undefined){r.brandCheck(this,WebSocket);if(e!==undefined){e=r.converters["unsigned short"](e,{clamp:true})}if(t!==undefined){t=r.converters.USVString(t)}if(e!==undefined){if(e!==1e3&&(e<3e3||e>4999)){throw new o("invalid code","InvalidAccessError")}}let s=0;if(t!==undefined){s=Buffer.byteLength(t);if(s>123){throw new o(`Reason must be less than 123 bytes; received ${s}`,"SyntaxError")}}if(this[p]===WebSocket.CLOSING||this[p]===WebSocket.CLOSED){}else if(!m(this)){I(this,"Connection was closed before it was established.");this[p]=WebSocket.CLOSING}else if(!Q(this)){const r=new w;if(e!==undefined&&t===undefined){r.frameData=Buffer.allocUnsafe(2);r.frameData.writeUInt16BE(e,0)}else if(e!==undefined&&t!==undefined){r.frameData=Buffer.allocUnsafe(2+s);r.frameData.writeUInt16BE(e,0);r.frameData.write(t,2,"utf-8")}else{r.frameData=l}const o=this[h].socket;o.write(r.createFrame(c.CLOSE),(e=>{if(!e){this[E]=true}}));this[p]=a.CLOSING}else{this[p]=WebSocket.CLOSING}}send(e){r.brandCheck(this,WebSocket);r.argumentLengthCheck(arguments,1,{header:"WebSocket.send"});e=r.converters.WebSocketSendData(e);if(this[p]===WebSocket.CONNECTING){throw new o("Sent before connected.","InvalidStateError")}if(!m(this)||Q(this)){return}const t=this[h].socket;if(typeof e==="string"){const s=Buffer.from(e);const r=new w(s);const o=r.createFrame(c.TEXT);this.#p+=s.byteLength;t.write(o,(()=>{this.#p-=s.byteLength}))}else if(x.isArrayBuffer(e)){const s=Buffer.from(e);const r=new w(s);const o=r.createFrame(c.BINARY);this.#p+=s.byteLength;t.write(o,(()=>{this.#p-=s.byteLength}))}else if(ArrayBuffer.isView(e)){const s=Buffer.from(e,e.byteOffset,e.byteLength);const r=new w(s);const o=r.createFrame(c.BINARY);this.#p+=s.byteLength;t.write(o,(()=>{this.#p-=s.byteLength}))}else if(k(e)){const s=new w;e.arrayBuffer().then((e=>{const r=Buffer.from(e);s.frameData=r;const o=s.createFrame(c.BINARY);this.#p+=r.byteLength;t.write(o,(()=>{this.#p-=r.byteLength}))}))}}get readyState(){r.brandCheck(this,WebSocket);return this[p]}get bufferedAmount(){r.brandCheck(this,WebSocket);return this.#p}get url(){r.brandCheck(this,WebSocket);return n(this[u])}get extensions(){r.brandCheck(this,WebSocket);return this.#g}get protocol(){r.brandCheck(this,WebSocket);return this.#d}get onopen(){r.brandCheck(this,WebSocket);return this.#u.open}set onopen(e){r.brandCheck(this,WebSocket);if(this.#u.open){this.removeEventListener("open",this.#u.open)}if(typeof e==="function"){this.#u.open=e;this.addEventListener("open",e)}else{this.#u.open=null}}get onerror(){r.brandCheck(this,WebSocket);return this.#u.error}set onerror(e){r.brandCheck(this,WebSocket);if(this.#u.error){this.removeEventListener("error",this.#u.error)}if(typeof e==="function"){this.#u.error=e;this.addEventListener("error",e)}else{this.#u.error=null}}get onclose(){r.brandCheck(this,WebSocket);return this.#u.close}set onclose(e){r.brandCheck(this,WebSocket);if(this.#u.close){this.removeEventListener("close",this.#u.close)}if(typeof e==="function"){this.#u.close=e;this.addEventListener("close",e)}else{this.#u.close=null}}get onmessage(){r.brandCheck(this,WebSocket);return this.#u.message}set onmessage(e){r.brandCheck(this,WebSocket);if(this.#u.message){this.removeEventListener("message",this.#u.message)}if(typeof e==="function"){this.#u.message=e;this.addEventListener("message",e)}else{this.#u.message=null}}get binaryType(){r.brandCheck(this,WebSocket);return this[g]}set binaryType(e){r.brandCheck(this,WebSocket);if(e!=="blob"&&e!=="arraybuffer"){this[g]="blob"}else{this[g]=e}}#h(e){this[h]=e;const t=new v(this);t.on("drain",(function onParserDrain(){this.ws[h].socket.resume()}));e.socket.ws=this;this[C]=t;this[p]=a.OPEN;const s=e.headersList.get("sec-websocket-extensions");if(s!==null){this.#g=s}const r=e.headersList.get("sec-websocket-protocol");if(r!==null){this.#d=r}b("open",this)}}WebSocket.CONNECTING=WebSocket.prototype.CONNECTING=a.CONNECTING;WebSocket.OPEN=WebSocket.prototype.OPEN=a.OPEN;WebSocket.CLOSING=WebSocket.prototype.CLOSING=a.CLOSING;WebSocket.CLOSED=WebSocket.prototype.CLOSED=a.CLOSED;Object.defineProperties(WebSocket.prototype,{CONNECTING:i,OPEN:i,CLOSING:i,CLOSED:i,url:R,readyState:R,bufferedAmount:R,onopen:R,onerror:R,onclose:R,close:R,onmessage:R,binaryType:R,send:R,extensions:R,protocol:R,[Symbol.toStringTag]:{value:"WebSocket",writable:false,enumerable:false,configurable:true}});Object.defineProperties(WebSocket,{CONNECTING:i,OPEN:i,CLOSING:i,CLOSED:i});r.converters["sequence"]=r.sequenceConverter(r.converters.DOMString);r.converters["DOMString or sequence"]=function(e){if(r.util.Type(e)==="Object"&&Symbol.iterator in e){return r.converters["sequence"](e)}return r.converters.DOMString(e)};r.converters.WebSocketInit=r.dictionaryConverter([{key:"protocols",converter:r.converters["DOMString or sequence"],get defaultValue(){return[]}},{key:"dispatcher",converter:e=>e,get defaultValue(){return D()}},{key:"headers",converter:r.nullableConverter(r.converters.HeadersInit)}]);r.converters["DOMString or sequence or WebSocketInit"]=function(e){if(r.util.Type(e)==="Object"&&!(Symbol.iterator in e)){return r.converters.WebSocketInit(e)}return{protocols:r.converters["DOMString or sequence"](e)}};r.converters.WebSocketSendData=function(e){if(r.util.Type(e)==="Object"){if(k(e)){return r.converters.Blob(e,{strict:false})}if(ArrayBuffer.isView(e)||x.isAnyArrayBuffer(e)){return r.converters.BufferSource(e)}}return r.converters.USVString(e)};e.exports={WebSocket:WebSocket}},5938:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});function getUserAgent(){if(typeof navigator==="object"&&"userAgent"in navigator){return navigator.userAgent}if(typeof process==="object"&&"version"in process){return`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`}return""}t.getUserAgent=getUserAgent},3872:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"v1",{enumerable:true,get:function(){return r.default}});Object.defineProperty(t,"v3",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"v4",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"v5",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"NIL",{enumerable:true,get:function(){return i.default}});Object.defineProperty(t,"version",{enumerable:true,get:function(){return a.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"stringify",{enumerable:true,get:function(){return l.default}});Object.defineProperty(t,"parse",{enumerable:true,get:function(){return u.default}});var r=_interopRequireDefault(s(5596));var o=_interopRequireDefault(s(2427));var n=_interopRequireDefault(s(6007));var A=_interopRequireDefault(s(398));var i=_interopRequireDefault(s(1623));var a=_interopRequireDefault(s(8818));var c=_interopRequireDefault(s(5629));var l=_interopRequireDefault(s(7016));var u=_interopRequireDefault(s(1158));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},3828:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r=_interopRequireDefault(s(6113));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function md5(e){if(Array.isArray(e)){e=Buffer.from(e)}else if(typeof e==="string"){e=Buffer.from(e,"utf8")}return r.default.createHash("md5").update(e).digest()}var o=md5;t["default"]=o},1623:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s="00000000-0000-0000-0000-000000000000";t["default"]=s},1158:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r=_interopRequireDefault(s(5629));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function parse(e){if(!(0,r.default)(e)){throw TypeError("Invalid UUID")}let t;const s=new Uint8Array(16);s[0]=(t=parseInt(e.slice(0,8),16))>>>24;s[1]=t>>>16&255;s[2]=t>>>8&255;s[3]=t&255;s[4]=(t=parseInt(e.slice(9,13),16))>>>8;s[5]=t&255;s[6]=(t=parseInt(e.slice(14,18),16))>>>8;s[7]=t&255;s[8]=(t=parseInt(e.slice(19,23),16))>>>8;s[9]=t&255;s[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255;s[11]=t/4294967296&255;s[12]=t>>>24&255;s[13]=t>>>16&255;s[14]=t>>>8&255;s[15]=t&255;return s}var o=parse;t["default"]=o},3607:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;t["default"]=s},1260:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=rng;var r=_interopRequireDefault(s(6113));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const o=new Uint8Array(256);let n=o.length;function rng(){if(n>o.length-16){r.default.randomFillSync(o);n=0}return o.slice(n,n+=16)}},7615:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r=_interopRequireDefault(s(6113));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function sha1(e){if(Array.isArray(e)){e=Buffer.from(e)}else if(typeof e==="string"){e=Buffer.from(e,"utf8")}return r.default.createHash("sha1").update(e).digest()}var o=sha1;t["default"]=o},7016:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r=_interopRequireDefault(s(5629));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const o=[];for(let e=0;e<256;++e){o.push((e+256).toString(16).substr(1))}function stringify(e,t=0){const s=(o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]).toLowerCase();if(!(0,r.default)(s)){throw TypeError("Stringified UUID is invalid")}return s}var n=stringify;t["default"]=n},5596:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r=_interopRequireDefault(s(1260));var o=_interopRequireDefault(s(7016));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}let n;let A;let i=0;let a=0;function v1(e,t,s){let c=t&&s||0;const l=t||new Array(16);e=e||{};let u=e.node||n;let p=e.clockseq!==undefined?e.clockseq:A;if(u==null||p==null){const t=e.random||(e.rng||r.default)();if(u==null){u=n=[t[0]|1,t[1],t[2],t[3],t[4],t[5]]}if(p==null){p=A=(t[6]<<8|t[7])&16383}}let d=e.msecs!==undefined?e.msecs:Date.now();let g=e.nsecs!==undefined?e.nsecs:a+1;const h=d-i+(g-a)/1e4;if(h<0&&e.clockseq===undefined){p=p+1&16383}if((h<0||d>i)&&e.nsecs===undefined){g=0}if(g>=1e4){throw new Error("uuid.v1(): Can't create more than 10M uuids/sec")}i=d;a=g;A=p;d+=122192928e5;const E=((d&268435455)*1e4+g)%4294967296;l[c++]=E>>>24&255;l[c++]=E>>>16&255;l[c++]=E>>>8&255;l[c++]=E&255;const C=d/4294967296*1e4&268435455;l[c++]=C>>>8&255;l[c++]=C&255;l[c++]=C>>>24&15|16;l[c++]=C>>>16&255;l[c++]=p>>>8|128;l[c++]=p&255;for(let e=0;e<6;++e){l[c+e]=u[e]}return t||(0,o.default)(l)}var c=v1;t["default"]=c},2427:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r=_interopRequireDefault(s(6901));var o=_interopRequireDefault(s(3828));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const n=(0,r.default)("v3",48,o.default);var A=n;t["default"]=A},6901:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=_default;t.URL=t.DNS=void 0;var r=_interopRequireDefault(s(7016));var o=_interopRequireDefault(s(1158));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function stringToBytes(e){e=unescape(encodeURIComponent(e));const t=[];for(let s=0;s{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r=_interopRequireDefault(s(1260));var o=_interopRequireDefault(s(7016));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function v4(e,t,s){e=e||{};const n=e.random||(e.rng||r.default)();n[6]=n[6]&15|64;n[8]=n[8]&63|128;if(t){s=s||0;for(let e=0;e<16;++e){t[s+e]=n[e]}return t}return(0,o.default)(n)}var n=v4;t["default"]=n},398:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r=_interopRequireDefault(s(6901));var o=_interopRequireDefault(s(7615));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const n=(0,r.default)("v5",80,o.default);var A=n;t["default"]=A},5629:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r=_interopRequireDefault(s(3607));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function validate(e){return typeof e==="string"&&r.default.test(e)}var o=validate;t["default"]=o},8818:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r=_interopRequireDefault(s(5629));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function version(e){if(!(0,r.default)(e)){throw TypeError("Invalid UUID")}return parseInt(e.substr(14,1),16)}var o=version;t["default"]=o},7212:e=>{e.exports=wrappy;function wrappy(e,t){if(e&&t)return wrappy(e)(t);if(typeof e!=="function")throw new TypeError("need wrapper function");Object.keys(e).forEach((function(t){wrapper[t]=e[t]}));return wrapper;function wrapper(){var t=new Array(arguments.length);for(var s=0;s{module.exports=eval("require")("debug")},9491:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("assert")},852:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("async_hooks")},4300:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("buffer")},2081:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("child_process")},6206:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("console")},6113:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("crypto")},7643:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("diagnostics_channel")},2361:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("events")},7147:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("fs")},3685:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("http")},5158:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("http2")},5687:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("https")},1808:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("net")},5673:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:events")},4492:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:stream")},7261:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:util")},2037:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("os")},1017:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("path")},4074:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("perf_hooks")},3477:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("querystring")},2781:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("stream")},5356:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("stream/web")},1576:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("string_decoder")},9512:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("timers")},4404:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("tls")},7310:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("url")},3837:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("util")},9830:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("util/types")},1267:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("worker_threads")},9796:e=>{e.exports=__WEBPACK_EXTERNAL_createRequire(import.meta.url)("zlib")},1089:(e,t,s)=>{const r=s(4492).Writable;const o=s(7261).inherits;const n=s(9306);const A=s(5575);const i=s(2010);const a=45;const c=Buffer.from("-");const l=Buffer.from("\r\n");const EMPTY_FN=function(){};function Dicer(e){if(!(this instanceof Dicer)){return new Dicer(e)}r.call(this,e);if(!e||!e.headerFirst&&typeof e.boundary!=="string"){throw new TypeError("Boundary required")}if(typeof e.boundary==="string"){this.setBoundary(e.boundary)}else{this._bparser=undefined}this._headerFirst=e.headerFirst;this._dashes=0;this._parts=0;this._finished=false;this._realFinish=false;this._isPreamble=true;this._justMatched=false;this._firstWrite=true;this._inHeader=true;this._part=undefined;this._cb=undefined;this._ignoreData=false;this._partOpts={highWaterMark:e.partHwm};this._pause=false;const t=this;this._hparser=new i(e);this._hparser.on("header",(function(e){t._inHeader=false;t._part.emit("header",e)}))}o(Dicer,r);Dicer.prototype.emit=function(e){if(e==="finish"&&!this._realFinish){if(!this._finished){const e=this;process.nextTick((function(){e.emit("error",new Error("Unexpected end of multipart data"));if(e._part&&!e._ignoreData){const t=e._isPreamble?"Preamble":"Part";e._part.emit("error",new Error(t+" terminated early due to unexpected end of multipart data"));e._part.push(null);process.nextTick((function(){e._realFinish=true;e.emit("finish");e._realFinish=false}));return}e._realFinish=true;e.emit("finish");e._realFinish=false}))}}else{r.prototype.emit.apply(this,arguments)}};Dicer.prototype._write=function(e,t,s){if(!this._hparser&&!this._bparser){return s()}if(this._headerFirst&&this._isPreamble){if(!this._part){this._part=new A(this._partOpts);if(this._events.preamble){this.emit("preamble",this._part)}else{this._ignore()}}const t=this._hparser.push(e);if(!this._inHeader&&t!==undefined&&t{const r=s(5673).EventEmitter;const o=s(7261).inherits;const n=s(7845);const A=s(9306);const i=Buffer.from("\r\n\r\n");const a=/\r\n/g;const c=/^([^:]+):[ \t]?([\x00-\xFF]+)?$/;function HeaderParser(e){r.call(this);e=e||{};const t=this;this.nread=0;this.maxed=false;this.npairs=0;this.maxHeaderPairs=n(e,"maxHeaderPairs",2e3);this.maxHeaderSize=n(e,"maxHeaderSize",80*1024);this.buffer="";this.header={};this.finished=false;this.ss=new A(i);this.ss.on("info",(function(e,s,r,o){if(s&&!t.maxed){if(t.nread+o-r>=t.maxHeaderSize){o=t.maxHeaderSize-t.nread+r;t.nread=t.maxHeaderSize;t.maxed=true}else{t.nread+=o-r}t.buffer+=s.toString("binary",r,o)}if(e){t._finish()}}))}o(HeaderParser,r);HeaderParser.prototype.push=function(e){const t=this.ss.push(e);if(this.finished){return t}};HeaderParser.prototype.reset=function(){this.finished=false;this.buffer="";this.header={};this.ss.reset()};HeaderParser.prototype._finish=function(){if(this.buffer){this._parseHeader()}this.ss.matches=this.ss.maxMatches;const e=this.header;this.header={};this.buffer="";this.finished=true;this.nread=this.npairs=0;this.maxed=false;this.emit("header",e)};HeaderParser.prototype._parseHeader=function(){if(this.npairs===this.maxHeaderPairs){return}const e=this.buffer.split(a);const t=e.length;let s,r;for(var o=0;o{const r=s(7261).inherits;const o=s(4492).Readable;function PartStream(e){o.call(this,e)}r(PartStream,o);PartStream.prototype._read=function(e){};e.exports=PartStream},9306:(e,t,s)=>{const r=s(5673).EventEmitter;const o=s(7261).inherits;function SBMH(e){if(typeof e==="string"){e=Buffer.from(e)}if(!Buffer.isBuffer(e)){throw new TypeError("The needle has to be a String or a Buffer.")}const t=e.length;if(t===0){throw new Error("The needle cannot be an empty String/Buffer.")}if(t>256){throw new Error("The needle cannot have a length bigger than 256.")}this.maxMatches=Infinity;this.matches=0;this._occ=new Array(256).fill(t);this._lookbehind_size=0;this._needle=e;this._bufpos=0;this._lookbehind=Buffer.alloc(t);for(var s=0;s=0){this.emit("info",false,this._lookbehind,0,this._lookbehind_size);this._lookbehind_size=0}else{const s=this._lookbehind_size+n;if(s>0){this.emit("info",false,this._lookbehind,0,s)}this._lookbehind.copy(this._lookbehind,0,s,this._lookbehind_size-s);this._lookbehind_size-=s;e.copy(this._lookbehind,this._lookbehind_size);this._lookbehind_size+=t;this._bufpos=t;return t}}n+=(n>=0)*this._bufpos;if(e.indexOf(s,n)!==-1){n=e.indexOf(s,n);++this.matches;if(n>0){this.emit("info",true,e,this._bufpos,n)}else{this.emit("info",true)}return this._bufpos=n+r}else{n=t-r}while(n0){this.emit("info",false,e,this._bufpos,n{const r=s(4492).Writable;const{inherits:o}=s(7261);const n=s(1089);const A=s(6541);const i=s(9933);const a=s(8696);function Busboy(e){if(!(this instanceof Busboy)){return new Busboy(e)}if(typeof e!=="object"){throw new TypeError("Busboy expected an options-Object.")}if(typeof e.headers!=="object"){throw new TypeError("Busboy expected an options-Object with headers-attribute.")}if(typeof e.headers["content-type"]!=="string"){throw new TypeError("Missing Content-Type-header.")}const{headers:t,...s}=e;this.opts={autoDestroy:false,...s};r.call(this,this.opts);this._done=false;this._parser=this.getParserByHeaders(t);this._finished=false}o(Busboy,r);Busboy.prototype.emit=function(e){if(e==="finish"){if(!this._done){this._parser?.end();return}else if(this._finished){return}this._finished=true}r.prototype.emit.apply(this,arguments)};Busboy.prototype.getParserByHeaders=function(e){const t=a(e["content-type"]);const s={defCharset:this.opts.defCharset,fileHwm:this.opts.fileHwm,headers:e,highWaterMark:this.opts.highWaterMark,isPartAFile:this.opts.isPartAFile,limits:this.opts.limits,parsedConType:t,preservePath:this.opts.preservePath};if(A.detect.test(t[0])){return new A(this,s)}if(i.detect.test(t[0])){return new i(this,s)}throw new Error("Unsupported Content-Type.")};Busboy.prototype._write=function(e,t,s){this._parser.write(e,s)};e.exports=Busboy;e.exports["default"]=Busboy;e.exports.Busboy=Busboy;e.exports.Dicer=n},6541:(e,t,s)=>{const{Readable:r}=s(4492);const{inherits:o}=s(7261);const n=s(1089);const A=s(8696);const i=s(9999);const a=s(1602);const c=s(7845);const l=/^boundary$/i;const u=/^form-data$/i;const p=/^charset$/i;const d=/^filename$/i;const g=/^name$/i;Multipart.detect=/^multipart\/form-data/i;function Multipart(e,t){let s;let r;const o=this;let h;const E=t.limits;const C=t.isPartAFile||((e,t,s)=>t==="application/octet-stream"||s!==undefined);const m=t.parsedConType||[];const Q=t.defCharset||"utf8";const B=t.preservePath;const I={highWaterMark:t.fileHwm};for(s=0,r=m.length;sR){o.parser.removeListener("part",onPart);o.parser.on("part",skipPart);e.hitPartsLimit=true;e.emit("partsLimit");return skipPart(t)}if(N){const e=N;e.emit("end");e.removeAllListeners("end")}t.on("header",(function(n){let c;let l;let h;let E;let m;let R;let k=0;if(n["content-type"]){h=A(n["content-type"][0]);if(h[0]){c=h[0].toLowerCase();for(s=0,r=h.length;sy){const r=y-k+e.length;if(r>0){s.push(e.slice(0,r))}s.truncated=true;s.bytesRead=y;t.removeAllListeners("data");s.emit("limit");return}else if(!s.push(e)){o._pause=true}s.bytesRead=k};U=function(){T=undefined;s.push(null)}}else{if(F===v){if(!e.hitFieldsLimit){e.hitFieldsLimit=true;e.emit("fieldsLimit")}return skipPart(t)}++F;++S;let s="";let r=false;N=t;D=function(e){if((k+=e.length)>b){const o=b-(k-e.length);s+=e.toString("binary",0,o);r=true;t.removeAllListeners("data")}else{s+=e.toString("binary")}};U=function(){N=undefined;if(s.length){s=i(s,"binary",E)}e.emit("field",l,s,false,r,m,c);--S;checkFinished()}}t._readableState.sync=false;t.on("data",D);t.on("end",U)})).on("error",(function(e){if(T){T.emit("error",e)}}))})).on("error",(function(t){e.emit("error",t)})).on("finish",(function(){U=true;checkFinished()}))}Multipart.prototype.write=function(e,t){const s=this.parser.write(e);if(s&&!this._pause){t()}else{this._needDrain=!s;this._cb=t}};Multipart.prototype.end=function(){const e=this;if(e.parser.writable){e.parser.end()}else if(!e._boy._done){process.nextTick((function(){e._boy._done=true;e._boy.emit("finish")}))}};function skipPart(e){e.resume()}function FileStream(e){r.call(this,e);this.bytesRead=0;this.truncated=false}o(FileStream,r);FileStream.prototype._read=function(e){};e.exports=Multipart},9933:(e,t,s)=>{const r=s(2017);const o=s(9999);const n=s(7845);const A=/^charset$/i;UrlEncoded.detect=/^application\/x-www-form-urlencoded/i;function UrlEncoded(e,t){const s=t.limits;const o=t.parsedConType;this.boy=e;this.fieldSizeLimit=n(s,"fieldSize",1*1024*1024);this.fieldNameSizeLimit=n(s,"fieldNameSize",100);this.fieldsLimit=n(s,"fields",Infinity);let i;for(var a=0,c=o.length;aA){this._key+=this.decoder.write(e.toString("binary",A,s))}this._state="val";this._hitLimit=false;this._checkingBytes=true;this._val="";this._bytesVal=0;this._valTrunc=false;this.decoder.reset();A=s+1}else if(r!==undefined){++this._fields;let s;const n=this._keyTrunc;if(r>A){s=this._key+=this.decoder.write(e.toString("binary",A,r))}else{s=this._key}this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();if(s.length){this.boy.emit("field",o(s,"binary",this.charset),"",n,false)}A=r+1;if(this._fields===this.fieldsLimit){return t()}}else if(this._hitLimit){if(n>A){this._key+=this.decoder.write(e.toString("binary",A,n))}A=n;if((this._bytesKey=this._key.length)===this.fieldNameSizeLimit){this._checkingBytes=false;this._keyTrunc=true}}else{if(AA){this._val+=this.decoder.write(e.toString("binary",A,r))}this.boy.emit("field",o(this._key,"binary",this.charset),o(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc);this._state="key";this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();A=r+1;if(this._fields===this.fieldsLimit){return t()}}else if(this._hitLimit){if(n>A){this._val+=this.decoder.write(e.toString("binary",A,n))}A=n;if(this._val===""&&this.fieldSizeLimit===0||(this._bytesVal=this._val.length)===this.fieldSizeLimit){this._checkingBytes=false;this._valTrunc=true}}else{if(A0){this.boy.emit("field",o(this._key,"binary",this.charset),"",this._keyTrunc,false)}else if(this._state==="val"){this.boy.emit("field",o(this._key,"binary",this.charset),o(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc)}this.boy._done=true;this.boy.emit("finish")};e.exports=UrlEncoded},2017:e=>{const t=/\+/g;const s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];function Decoder(){this.buffer=undefined}Decoder.prototype.write=function(e){e=e.replace(t," ");let r="";let o=0;let n=0;const A=e.length;for(;on){r+=e.substring(n,o);n=o}this.buffer="";++n}}if(n{e.exports=function basename(e){if(typeof e!=="string"){return""}for(var t=e.length-1;t>=0;--t){switch(e.charCodeAt(t)){case 47:case 92:e=e.slice(t+1);return e===".."||e==="."?"":e}}return e===".."||e==="."?"":e}},9999:function(e){const t=new TextDecoder("utf-8");const s=new Map([["utf-8",t],["utf8",t]]);function getDecoder(e){let t;while(true){switch(e){case"utf-8":case"utf8":return r.utf8;case"latin1":case"ascii":case"us-ascii":case"iso-8859-1":case"iso8859-1":case"iso88591":case"iso_8859-1":case"windows-1252":case"iso_8859-1:1987":case"cp1252":case"x-cp1252":return r.latin1;case"utf16le":case"utf-16le":case"ucs2":case"ucs-2":return r.utf16le;case"base64":return r.base64;default:if(t===undefined){t=true;e=e.toLowerCase();continue}return r.other.bind(e)}}}const r={utf8:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){e=Buffer.from(e,t)}return e.utf8Slice(0,e.length)},latin1:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){return e}return e.latin1Slice(0,e.length)},utf16le:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){e=Buffer.from(e,t)}return e.ucs2Slice(0,e.length)},base64:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){e=Buffer.from(e,t)}return e.base64Slice(0,e.length)},other:(e,t)=>{if(e.length===0){return""}if(typeof e==="string"){e=Buffer.from(e,t)}if(s.has(this.toString())){try{return s.get(this).decode(e)}catch(e){}}return typeof e==="string"?e:e.toString()}};function decodeText(e,t,s){if(e){return getDecoder(s)(e,t)}return e}e.exports=decodeText},7845:e=>{e.exports=function getLimit(e,t,s){if(!e||e[t]===undefined||e[t]===null){return s}if(typeof e[t]!=="number"||isNaN(e[t])){throw new TypeError("Limit "+t+" is not a valid number")}return e[t]}},8696:(e,t,s)=>{const r=s(9999);const o=/%[a-fA-F0-9][a-fA-F0-9]/g;const n={"%00":"\0","%01":"","%02":"","%03":"","%04":"","%05":"","%06":"","%07":"","%08":"\b","%09":"\t","%0a":"\n","%0A":"\n","%0b":"\v","%0B":"\v","%0c":"\f","%0C":"\f","%0d":"\r","%0D":"\r","%0e":"","%0E":"","%0f":"","%0F":"","%10":"","%11":"","%12":"","%13":"","%14":"","%15":"","%16":"","%17":"","%18":"","%19":"","%1a":"","%1A":"","%1b":"","%1B":"","%1c":"","%1C":"","%1d":"","%1D":"","%1e":"","%1E":"","%1f":"","%1F":"","%20":" ","%21":"!","%22":'"',"%23":"#","%24":"$","%25":"%","%26":"&","%27":"'","%28":"(","%29":")","%2a":"*","%2A":"*","%2b":"+","%2B":"+","%2c":",","%2C":",","%2d":"-","%2D":"-","%2e":".","%2E":".","%2f":"/","%2F":"/","%30":"0","%31":"1","%32":"2","%33":"3","%34":"4","%35":"5","%36":"6","%37":"7","%38":"8","%39":"9","%3a":":","%3A":":","%3b":";","%3B":";","%3c":"<","%3C":"<","%3d":"=","%3D":"=","%3e":">","%3E":">","%3f":"?","%3F":"?","%40":"@","%41":"A","%42":"B","%43":"C","%44":"D","%45":"E","%46":"F","%47":"G","%48":"H","%49":"I","%4a":"J","%4A":"J","%4b":"K","%4B":"K","%4c":"L","%4C":"L","%4d":"M","%4D":"M","%4e":"N","%4E":"N","%4f":"O","%4F":"O","%50":"P","%51":"Q","%52":"R","%53":"S","%54":"T","%55":"U","%56":"V","%57":"W","%58":"X","%59":"Y","%5a":"Z","%5A":"Z","%5b":"[","%5B":"[","%5c":"\\","%5C":"\\","%5d":"]","%5D":"]","%5e":"^","%5E":"^","%5f":"_","%5F":"_","%60":"`","%61":"a","%62":"b","%63":"c","%64":"d","%65":"e","%66":"f","%67":"g","%68":"h","%69":"i","%6a":"j","%6A":"j","%6b":"k","%6B":"k","%6c":"l","%6C":"l","%6d":"m","%6D":"m","%6e":"n","%6E":"n","%6f":"o","%6F":"o","%70":"p","%71":"q","%72":"r","%73":"s","%74":"t","%75":"u","%76":"v","%77":"w","%78":"x","%79":"y","%7a":"z","%7A":"z","%7b":"{","%7B":"{","%7c":"|","%7C":"|","%7d":"}","%7D":"}","%7e":"~","%7E":"~","%7f":"","%7F":"","%80":"€","%81":"","%82":"‚","%83":"ƒ","%84":"„","%85":"…","%86":"†","%87":"‡","%88":"ˆ","%89":"‰","%8a":"Š","%8A":"Š","%8b":"‹","%8B":"‹","%8c":"Œ","%8C":"Œ","%8d":"","%8D":"","%8e":"Ž","%8E":"Ž","%8f":"","%8F":"","%90":"","%91":"‘","%92":"’","%93":"“","%94":"”","%95":"•","%96":"–","%97":"—","%98":"˜","%99":"™","%9a":"š","%9A":"š","%9b":"›","%9B":"›","%9c":"œ","%9C":"œ","%9d":"","%9D":"","%9e":"ž","%9E":"ž","%9f":"Ÿ","%9F":"Ÿ","%a0":" ","%A0":" ","%a1":"¡","%A1":"¡","%a2":"¢","%A2":"¢","%a3":"£","%A3":"£","%a4":"¤","%A4":"¤","%a5":"¥","%A5":"¥","%a6":"¦","%A6":"¦","%a7":"§","%A7":"§","%a8":"¨","%A8":"¨","%a9":"©","%A9":"©","%aa":"ª","%Aa":"ª","%aA":"ª","%AA":"ª","%ab":"«","%Ab":"«","%aB":"«","%AB":"«","%ac":"¬","%Ac":"¬","%aC":"¬","%AC":"¬","%ad":"­","%Ad":"­","%aD":"­","%AD":"­","%ae":"®","%Ae":"®","%aE":"®","%AE":"®","%af":"¯","%Af":"¯","%aF":"¯","%AF":"¯","%b0":"°","%B0":"°","%b1":"±","%B1":"±","%b2":"²","%B2":"²","%b3":"³","%B3":"³","%b4":"´","%B4":"´","%b5":"µ","%B5":"µ","%b6":"¶","%B6":"¶","%b7":"·","%B7":"·","%b8":"¸","%B8":"¸","%b9":"¹","%B9":"¹","%ba":"º","%Ba":"º","%bA":"º","%BA":"º","%bb":"»","%Bb":"»","%bB":"»","%BB":"»","%bc":"¼","%Bc":"¼","%bC":"¼","%BC":"¼","%bd":"½","%Bd":"½","%bD":"½","%BD":"½","%be":"¾","%Be":"¾","%bE":"¾","%BE":"¾","%bf":"¿","%Bf":"¿","%bF":"¿","%BF":"¿","%c0":"À","%C0":"À","%c1":"Á","%C1":"Á","%c2":"Â","%C2":"Â","%c3":"Ã","%C3":"Ã","%c4":"Ä","%C4":"Ä","%c5":"Å","%C5":"Å","%c6":"Æ","%C6":"Æ","%c7":"Ç","%C7":"Ç","%c8":"È","%C8":"È","%c9":"É","%C9":"É","%ca":"Ê","%Ca":"Ê","%cA":"Ê","%CA":"Ê","%cb":"Ë","%Cb":"Ë","%cB":"Ë","%CB":"Ë","%cc":"Ì","%Cc":"Ì","%cC":"Ì","%CC":"Ì","%cd":"Í","%Cd":"Í","%cD":"Í","%CD":"Í","%ce":"Î","%Ce":"Î","%cE":"Î","%CE":"Î","%cf":"Ï","%Cf":"Ï","%cF":"Ï","%CF":"Ï","%d0":"Ð","%D0":"Ð","%d1":"Ñ","%D1":"Ñ","%d2":"Ò","%D2":"Ò","%d3":"Ó","%D3":"Ó","%d4":"Ô","%D4":"Ô","%d5":"Õ","%D5":"Õ","%d6":"Ö","%D6":"Ö","%d7":"×","%D7":"×","%d8":"Ø","%D8":"Ø","%d9":"Ù","%D9":"Ù","%da":"Ú","%Da":"Ú","%dA":"Ú","%DA":"Ú","%db":"Û","%Db":"Û","%dB":"Û","%DB":"Û","%dc":"Ü","%Dc":"Ü","%dC":"Ü","%DC":"Ü","%dd":"Ý","%Dd":"Ý","%dD":"Ý","%DD":"Ý","%de":"Þ","%De":"Þ","%dE":"Þ","%DE":"Þ","%df":"ß","%Df":"ß","%dF":"ß","%DF":"ß","%e0":"à","%E0":"à","%e1":"á","%E1":"á","%e2":"â","%E2":"â","%e3":"ã","%E3":"ã","%e4":"ä","%E4":"ä","%e5":"å","%E5":"å","%e6":"æ","%E6":"æ","%e7":"ç","%E7":"ç","%e8":"è","%E8":"è","%e9":"é","%E9":"é","%ea":"ê","%Ea":"ê","%eA":"ê","%EA":"ê","%eb":"ë","%Eb":"ë","%eB":"ë","%EB":"ë","%ec":"ì","%Ec":"ì","%eC":"ì","%EC":"ì","%ed":"í","%Ed":"í","%eD":"í","%ED":"í","%ee":"î","%Ee":"î","%eE":"î","%EE":"î","%ef":"ï","%Ef":"ï","%eF":"ï","%EF":"ï","%f0":"ð","%F0":"ð","%f1":"ñ","%F1":"ñ","%f2":"ò","%F2":"ò","%f3":"ó","%F3":"ó","%f4":"ô","%F4":"ô","%f5":"õ","%F5":"õ","%f6":"ö","%F6":"ö","%f7":"÷","%F7":"÷","%f8":"ø","%F8":"ø","%f9":"ù","%F9":"ù","%fa":"ú","%Fa":"ú","%fA":"ú","%FA":"ú","%fb":"û","%Fb":"û","%fB":"û","%FB":"û","%fc":"ü","%Fc":"ü","%fC":"ü","%FC":"ü","%fd":"ý","%Fd":"ý","%fD":"ý","%FD":"ý","%fe":"þ","%Fe":"þ","%fE":"þ","%FE":"þ","%ff":"ÿ","%Ff":"ÿ","%fF":"ÿ","%FF":"ÿ"};function encodedReplacer(e){return n[e]}const A=0;const i=1;const a=2;const c=3;function parseParams(e){const t=[];let s=A;let n="";let l=false;let u=false;let p=0;let d="";const g=e.length;for(var h=0;h{const r=s(4551);const o=s(7310);const n=s(490);const A=s(3685);const i=s(5687);const a=s(3837);const c=s(7098);const l=s(9796);const u=s(2781);const p=s(2361);function _interopDefaultLegacy(e){return e&&typeof e==="object"&&"default"in e?e:{default:e}}const d=_interopDefaultLegacy(r);const g=_interopDefaultLegacy(o);const h=_interopDefaultLegacy(A);const E=_interopDefaultLegacy(i);const C=_interopDefaultLegacy(a);const m=_interopDefaultLegacy(c);const Q=_interopDefaultLegacy(l);const B=_interopDefaultLegacy(u);function bind(e,t){return function wrap(){return e.apply(t,arguments)}}const{toString:I}=Object.prototype;const{getPrototypeOf:b}=Object;const y=(e=>t=>{const s=I.call(t);return e[s]||(e[s]=s.slice(8,-1).toLowerCase())})(Object.create(null));const kindOfTest=e=>{e=e.toLowerCase();return t=>y(t)===e};const typeOfTest=e=>t=>typeof t===e;const{isArray:w}=Array;const v=typeOfTest("undefined");function isBuffer(e){return e!==null&&!v(e)&&e.constructor!==null&&!v(e.constructor)&&D(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const R=kindOfTest("ArrayBuffer");function isArrayBufferView(e){let t;if(typeof ArrayBuffer!=="undefined"&&ArrayBuffer.isView){t=ArrayBuffer.isView(e)}else{t=e&&e.buffer&&R(e.buffer)}return t}const k=typeOfTest("string");const D=typeOfTest("function");const x=typeOfTest("number");const isObject=e=>e!==null&&typeof e==="object";const isBoolean=e=>e===true||e===false;const isPlainObject=e=>{if(y(e)!=="object"){return false}const t=b(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)};const F=kindOfTest("Date");const S=kindOfTest("File");const T=kindOfTest("Blob");const N=kindOfTest("FileList");const isStream=e=>isObject(e)&&D(e.pipe);const isFormData=e=>{let t;return e&&(typeof FormData==="function"&&e instanceof FormData||D(e.append)&&((t=y(e))==="formdata"||t==="object"&&D(e.toString)&&e.toString()==="[object FormData]"))};const U=kindOfTest("URLSearchParams");const[L,_,M,G]=["ReadableStream","Request","Response","Headers"].map(kindOfTest);const trim=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach(e,t,{allOwnKeys:s=false}={}){if(e===null||typeof e==="undefined"){return}let r;let o;if(typeof e!=="object"){e=[e]}if(w(e)){for(r=0,o=e.length;r0){o=s[r];if(t===o.toLowerCase()){return o}}return null}const O=(()=>{if(typeof globalThis!=="undefined")return globalThis;return typeof self!=="undefined"?self:typeof window!=="undefined"?window:global})();const isContextDefined=e=>!v(e)&&e!==O;function merge(){const{caseless:e}=isContextDefined(this)&&this||{};const t={};const assignValue=(s,r)=>{const o=e&&findKey(t,r)||r;if(isPlainObject(t[o])&&isPlainObject(s)){t[o]=merge(t[o],s)}else if(isPlainObject(s)){t[o]=merge({},s)}else if(w(s)){t[o]=s.slice()}else{t[o]=s}};for(let e=0,t=arguments.length;e{forEach(t,((t,r)=>{if(s&&D(t)){e[r]=bind(t,s)}else{e[r]=t}}),{allOwnKeys:r});return e};const stripBOM=e=>{if(e.charCodeAt(0)===65279){e=e.slice(1)}return e};const inherits=(e,t,s,r)=>{e.prototype=Object.create(t.prototype,r);e.prototype.constructor=e;Object.defineProperty(e,"super",{value:t.prototype});s&&Object.assign(e.prototype,s)};const toFlatObject=(e,t,s,r)=>{let o;let n;let A;const i={};t=t||{};if(e==null)return t;do{o=Object.getOwnPropertyNames(e);n=o.length;while(n-- >0){A=o[n];if((!r||r(A,e,t))&&!i[A]){t[A]=e[A];i[A]=true}}e=s!==false&&b(e)}while(e&&(!s||s(e,t))&&e!==Object.prototype);return t};const endsWith=(e,t,s)=>{e=String(e);if(s===undefined||s>e.length){s=e.length}s-=t.length;const r=e.indexOf(t,s);return r!==-1&&r===s};const toArray=e=>{if(!e)return null;if(w(e))return e;let t=e.length;if(!x(t))return null;const s=new Array(t);while(t-- >0){s[t]=e[t]}return s};const P=(e=>t=>e&&t instanceof e)(typeof Uint8Array!=="undefined"&&b(Uint8Array));const forEachEntry=(e,t)=>{const s=e&&e[Symbol.iterator];const r=s.call(e);let o;while((o=r.next())&&!o.done){const s=o.value;t.call(e,s[0],s[1])}};const matchAll=(e,t)=>{let s;const r=[];while((s=e.exec(t))!==null){r.push(s)}return r};const H=kindOfTest("HTMLFormElement");const toCamelCase=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function replacer(e,t,s){return t.toUpperCase()+s}));const Y=(({hasOwnProperty:e})=>(t,s)=>e.call(t,s))(Object.prototype);const J=kindOfTest("RegExp");const reduceDescriptors=(e,t)=>{const s=Object.getOwnPropertyDescriptors(e);const r={};forEach(s,((s,o)=>{let n;if((n=t(s,o,e))!==false){r[o]=n||s}}));Object.defineProperties(e,r)};const freezeMethods=e=>{reduceDescriptors(e,((t,s)=>{if(D(e)&&["arguments","caller","callee"].indexOf(s)!==-1){return false}const r=e[s];if(!D(r))return;t.enumerable=false;if("writable"in t){t.writable=false;return}if(!t.set){t.set=()=>{throw Error("Can not rewrite read-only method '"+s+"'")}}}))};const toObjectSet=(e,t)=>{const s={};const define=e=>{e.forEach((e=>{s[e]=true}))};w(e)?define(e):define(String(e).split(t));return s};const noop=()=>{};const toFiniteNumber=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;const V="abcdefghijklmnopqrstuvwxyz";const q="0123456789";const W={DIGIT:q,ALPHA:V,ALPHA_DIGIT:V+V.toUpperCase()+q};const generateString=(e=16,t=W.ALPHA_DIGIT)=>{let s="";const{length:r}=t;while(e--){s+=t[Math.random()*r|0]}return s};function isSpecCompliantForm(e){return!!(e&&D(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const toJSONObject=e=>{const t=new Array(10);const visit=(e,s)=>{if(isObject(e)){if(t.indexOf(e)>=0){return}if(!("toJSON"in e)){t[s]=e;const r=w(e)?[]:{};forEach(e,((e,t)=>{const o=visit(e,s+1);!v(o)&&(r[t]=o)}));t[s]=undefined;return r}}return e};return visit(e,0)};const j=kindOfTest("AsyncFunction");const isThenable=e=>e&&(isObject(e)||D(e))&&D(e.then)&&D(e.catch);const z=((e,t)=>{if(e){return setImmediate}return t?((e,t)=>{O.addEventListener("message",(({source:s,data:r})=>{if(s===O&&r===e){t.length&&t.shift()()}}),false);return s=>{t.push(s);O.postMessage(e,"*")}})(`axios@${Math.random()}`,[]):e=>setTimeout(e)})(typeof setImmediate==="function",D(O.postMessage));const K=typeof queueMicrotask!=="undefined"?queueMicrotask.bind(O):typeof process!=="undefined"&&process.nextTick||z;const X={isArray:w,isArrayBuffer:R,isBuffer:isBuffer,isFormData:isFormData,isArrayBufferView:isArrayBufferView,isString:k,isNumber:x,isBoolean:isBoolean,isObject:isObject,isPlainObject:isPlainObject,isReadableStream:L,isRequest:_,isResponse:M,isHeaders:G,isUndefined:v,isDate:F,isFile:S,isBlob:T,isRegExp:J,isFunction:D,isStream:isStream,isURLSearchParams:U,isTypedArray:P,isFileList:N,forEach:forEach,merge:merge,extend:extend,trim:trim,stripBOM:stripBOM,inherits:inherits,toFlatObject:toFlatObject,kindOf:y,kindOfTest:kindOfTest,endsWith:endsWith,toArray:toArray,forEachEntry:forEachEntry,matchAll:matchAll,isHTMLForm:H,hasOwnProperty:Y,hasOwnProp:Y,reduceDescriptors:reduceDescriptors,freezeMethods:freezeMethods,toObjectSet:toObjectSet,toCamelCase:toCamelCase,noop:noop,toFiniteNumber:toFiniteNumber,findKey:findKey,global:O,isContextDefined:isContextDefined,ALPHABET:W,generateString:generateString,isSpecCompliantForm:isSpecCompliantForm,toJSONObject:toJSONObject,isAsyncFn:j,isThenable:isThenable,setImmediate:z,asap:K};function AxiosError(e,t,s,r,o){Error.call(this);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}else{this.stack=(new Error).stack}this.message=e;this.name="AxiosError";t&&(this.code=t);s&&(this.config=s);r&&(this.request=r);o&&(this.response=o)}X.inherits(AxiosError,Error,{toJSON:function toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:X.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Z=AxiosError.prototype;const $={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{$[e]={value:e}}));Object.defineProperties(AxiosError,$);Object.defineProperty(Z,"isAxiosError",{value:true});AxiosError.from=(e,t,s,r,o,n)=>{const A=Object.create(Z);X.toFlatObject(e,A,(function filter(e){return e!==Error.prototype}),(e=>e!=="isAxiosError"));AxiosError.call(A,e.message,t,s,r,o);A.cause=e;A.name=e.name;n&&Object.assign(A,n);return A};function isVisitable(e){return X.isPlainObject(e)||X.isArray(e)}function removeBrackets(e){return X.endsWith(e,"[]")?e.slice(0,-2):e}function renderKey(e,t,s){if(!e)return t;return e.concat(t).map((function each(e,t){e=removeBrackets(e);return!s&&t?"["+e+"]":e})).join(s?".":"")}function isFlatArray(e){return X.isArray(e)&&!e.some(isVisitable)}const ee=X.toFlatObject(X,{},null,(function filter(e){return/^is[A-Z]/.test(e)}));function toFormData(e,t,s){if(!X.isObject(e)){throw new TypeError("target must be an object")}t=t||new(d["default"]||FormData);s=X.toFlatObject(s,{metaTokens:true,dots:false,indexes:false},false,(function defined(e,t){return!X.isUndefined(t[e])}));const r=s.metaTokens;const o=s.visitor||defaultVisitor;const n=s.dots;const A=s.indexes;const i=s.Blob||typeof Blob!=="undefined"&&Blob;const a=i&&X.isSpecCompliantForm(t);if(!X.isFunction(o)){throw new TypeError("visitor must be a function")}function convertValue(e){if(e===null)return"";if(X.isDate(e)){return e.toISOString()}if(!a&&X.isBlob(e)){throw new AxiosError("Blob is not supported. Use a Buffer instead.")}if(X.isArrayBuffer(e)||X.isTypedArray(e)){return a&&typeof Blob==="function"?new Blob([e]):Buffer.from(e)}return e}function defaultVisitor(e,s,o){let i=e;if(e&&!o&&typeof e==="object"){if(X.endsWith(s,"{}")){s=r?s:s.slice(0,-2);e=JSON.stringify(e)}else if(X.isArray(e)&&isFlatArray(e)||(X.isFileList(e)||X.endsWith(s,"[]"))&&(i=X.toArray(e))){s=removeBrackets(s);i.forEach((function each(e,r){!(X.isUndefined(e)||e===null)&&t.append(A===true?renderKey([s],r,n):A===null?s:s+"[]",convertValue(e))}));return false}}if(isVisitable(e)){return true}t.append(renderKey(o,s,n),convertValue(e));return false}const c=[];const l=Object.assign(ee,{defaultVisitor:defaultVisitor,convertValue:convertValue,isVisitable:isVisitable});function build(e,s){if(X.isUndefined(e))return;if(c.indexOf(e)!==-1){throw Error("Circular reference detected in "+s.join("."))}c.push(e);X.forEach(e,(function each(e,r){const n=!(X.isUndefined(e)||e===null)&&o.call(t,e,X.isString(r)?r.trim():r,s,l);if(n===true){build(e,s?s.concat(r):[r])}}));c.pop()}if(!X.isObject(e)){throw new TypeError("data must be an object")}build(e);return t}function encode$1(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function replacer(e){return t[e]}))}function AxiosURLSearchParams(e,t){this._pairs=[];e&&toFormData(e,this,t)}const te=AxiosURLSearchParams.prototype;te.append=function append(e,t){this._pairs.push([e,t])};te.toString=function toString(e){const t=e?function(t){return e.call(this,t,encode$1)}:encode$1;return this._pairs.map((function each(e){return t(e[0])+"="+t(e[1])}),"").join("&")};function encode(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function buildURL(e,t,s){if(!t){return e}const r=s&&s.encode||encode;const o=s&&s.serialize;let n;if(o){n=o(t,s)}else{n=X.isURLSearchParams(t)?t.toString():new AxiosURLSearchParams(t,s).toString(r)}if(n){const t=e.indexOf("#");if(t!==-1){e=e.slice(0,t)}e+=(e.indexOf("?")===-1?"?":"&")+n}return e}class InterceptorManager{constructor(){this.handlers=[]}use(e,t,s){this.handlers.push({fulfilled:e,rejected:t,synchronous:s?s.synchronous:false,runWhen:s?s.runWhen:null});return this.handlers.length-1}eject(e){if(this.handlers[e]){this.handlers[e]=null}}clear(){if(this.handlers){this.handlers=[]}}forEach(e){X.forEach(this.handlers,(function forEachHandler(t){if(t!==null){e(t)}}))}}const se=InterceptorManager;const re={silentJSONParsing:true,forcedJSONParsing:true,clarifyTimeoutError:false};const oe=g["default"].URLSearchParams;const ne={isNode:true,classes:{URLSearchParams:oe,FormData:d["default"],Blob:typeof Blob!=="undefined"&&Blob||null},protocols:["http","https","file","data"]};const Ae=typeof window!=="undefined"&&typeof document!=="undefined";const ie=(e=>Ae&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator!=="undefined"&&navigator.product);const ae=(()=>typeof WorkerGlobalScope!=="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function")();const ce=Ae&&window.location.href||"http://localhost";const le=Object.freeze({__proto__:null,hasBrowserEnv:Ae,hasStandardBrowserWebWorkerEnv:ae,hasStandardBrowserEnv:ie,origin:ce});const ue={...le,...ne};function toURLEncodedForm(e,t){return toFormData(e,new ue.classes.URLSearchParams,Object.assign({visitor:function(e,t,s,r){if(ue.isNode&&X.isBuffer(e)){this.append(t,e.toString("base64"));return false}return r.defaultVisitor.apply(this,arguments)}},t))}function parsePropPath(e){return X.matchAll(/\w+|\[(\w*)]/g,e).map((e=>e[0]==="[]"?"":e[1]||e[0]))}function arrayToObject(e){const t={};const s=Object.keys(e);let r;const o=s.length;let n;for(r=0;r=e.length;o=!o&&X.isArray(s)?s.length:o;if(A){if(X.hasOwnProp(s,o)){s[o]=[s[o],t]}else{s[o]=t}return!n}if(!s[o]||!X.isObject(s[o])){s[o]=[]}const i=buildPath(e,t,s[o],r);if(i&&X.isArray(s[o])){s[o]=arrayToObject(s[o])}return!n}if(X.isFormData(e)&&X.isFunction(e.entries)){const t={};X.forEachEntry(e,((e,s)=>{buildPath(parsePropPath(e),s,t,0)}));return t}return null}function stringifySafely(e,t,s){if(X.isString(e)){try{(t||JSON.parse)(e);return X.trim(e)}catch(e){if(e.name!=="SyntaxError"){throw e}}}return(s||JSON.stringify)(e)}const pe={transitional:re,adapter:["xhr","http","fetch"],transformRequest:[function transformRequest(e,t){const s=t.getContentType()||"";const r=s.indexOf("application/json")>-1;const o=X.isObject(e);if(o&&X.isHTMLForm(e)){e=new FormData(e)}const n=X.isFormData(e);if(n){return r?JSON.stringify(formDataToJSON(e)):e}if(X.isArrayBuffer(e)||X.isBuffer(e)||X.isStream(e)||X.isFile(e)||X.isBlob(e)||X.isReadableStream(e)){return e}if(X.isArrayBufferView(e)){return e.buffer}if(X.isURLSearchParams(e)){t.setContentType("application/x-www-form-urlencoded;charset=utf-8",false);return e.toString()}let A;if(o){if(s.indexOf("application/x-www-form-urlencoded")>-1){return toURLEncodedForm(e,this.formSerializer).toString()}if((A=X.isFileList(e))||s.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return toFormData(A?{"files[]":e}:e,t&&new t,this.formSerializer)}}if(o||r){t.setContentType("application/json",false);return stringifySafely(e)}return e}],transformResponse:[function transformResponse(e){const t=this.transitional||pe.transitional;const s=t&&t.forcedJSONParsing;const r=this.responseType==="json";if(X.isResponse(e)||X.isReadableStream(e)){return e}if(e&&X.isString(e)&&(s&&!this.responseType||r)){const s=t&&t.silentJSONParsing;const o=!s&&r;try{return JSON.parse(e)}catch(e){if(o){if(e.name==="SyntaxError"){throw AxiosError.from(e,AxiosError.ERR_BAD_RESPONSE,this,null,this.response)}throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ue.classes.FormData,Blob:ue.classes.Blob},validateStatus:function validateStatus(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":undefined}}};X.forEach(["delete","get","head","post","put","patch"],(e=>{pe.headers[e]={}}));const de=pe;const ge=X.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const parseHeaders=e=>{const t={};let s;let r;let o;e&&e.split("\n").forEach((function parser(e){o=e.indexOf(":");s=e.substring(0,o).trim().toLowerCase();r=e.substring(o+1).trim();if(!s||t[s]&&ge[s]){return}if(s==="set-cookie"){if(t[s]){t[s].push(r)}else{t[s]=[r]}}else{t[s]=t[s]?t[s]+", "+r:r}}));return t};const he=Symbol("internals");function normalizeHeader(e){return e&&String(e).trim().toLowerCase()}function normalizeValue(e){if(e===false||e==null){return e}return X.isArray(e)?e.map(normalizeValue):String(e)}function parseTokens(e){const t=Object.create(null);const s=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;while(r=s.exec(e)){t[r[1]]=r[2]}return t}const isValidHeaderName=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function matchHeaderValue(e,t,s,r,o){if(X.isFunction(r)){return r.call(this,t,s)}if(o){t=s}if(!X.isString(t))return;if(X.isString(r)){return t.indexOf(r)!==-1}if(X.isRegExp(r)){return r.test(t)}}function formatHeader(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,s)=>t.toUpperCase()+s))}function buildAccessors(e,t){const s=X.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+s,{value:function(e,s,o){return this[r].call(this,t,e,s,o)},configurable:true})}))}class AxiosHeaders{constructor(e){e&&this.set(e)}set(e,t,s){const r=this;function setHeader(e,t,s){const o=normalizeHeader(t);if(!o){throw new Error("header name must be a non-empty string")}const n=X.findKey(r,o);if(!n||r[n]===undefined||s===true||s===undefined&&r[n]!==false){r[n||t]=normalizeValue(e)}}const setHeaders=(e,t)=>X.forEach(e,((e,s)=>setHeader(e,s,t)));if(X.isPlainObject(e)||e instanceof this.constructor){setHeaders(e,t)}else if(X.isString(e)&&(e=e.trim())&&!isValidHeaderName(e)){setHeaders(parseHeaders(e),t)}else if(X.isHeaders(e)){for(const[t,r]of e.entries()){setHeader(r,t,s)}}else{e!=null&&setHeader(t,e,s)}return this}get(e,t){e=normalizeHeader(e);if(e){const s=X.findKey(this,e);if(s){const e=this[s];if(!t){return e}if(t===true){return parseTokens(e)}if(X.isFunction(t)){return t.call(this,e,s)}if(X.isRegExp(t)){return t.exec(e)}throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){e=normalizeHeader(e);if(e){const s=X.findKey(this,e);return!!(s&&this[s]!==undefined&&(!t||matchHeaderValue(this,this[s],s,t)))}return false}delete(e,t){const s=this;let r=false;function deleteHeader(e){e=normalizeHeader(e);if(e){const o=X.findKey(s,e);if(o&&(!t||matchHeaderValue(s,s[o],o,t))){delete s[o];r=true}}}if(X.isArray(e)){e.forEach(deleteHeader)}else{deleteHeader(e)}return r}clear(e){const t=Object.keys(this);let s=t.length;let r=false;while(s--){const o=t[s];if(!e||matchHeaderValue(this,this[o],o,e,true)){delete this[o];r=true}}return r}normalize(e){const t=this;const s={};X.forEach(this,((r,o)=>{const n=X.findKey(s,o);if(n){t[n]=normalizeValue(r);delete t[o];return}const A=e?formatHeader(o):String(o).trim();if(A!==o){delete t[o]}t[A]=normalizeValue(r);s[A]=true}));return this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);X.forEach(this,((s,r)=>{s!=null&&s!==false&&(t[r]=e&&X.isArray(s)?s.join(", "):s)}));return t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const s=new this(e);t.forEach((e=>s.set(e)));return s}static accessor(e){const t=this[he]=this[he]={accessors:{}};const s=t.accessors;const r=this.prototype;function defineAccessor(e){const t=normalizeHeader(e);if(!s[t]){buildAccessors(r,e);s[t]=true}}X.isArray(e)?e.forEach(defineAccessor):defineAccessor(e);return this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);X.reduceDescriptors(AxiosHeaders.prototype,(({value:e},t)=>{let s=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[s]=e}}}));X.freezeMethods(AxiosHeaders);const Ee=AxiosHeaders;function transformData(e,t){const s=this||de;const r=t||s;const o=Ee.from(r.headers);let n=r.data;X.forEach(e,(function transform(e){n=e.call(s,n,o.normalize(),t?t.status:undefined)}));o.normalize();return n}function isCancel(e){return!!(e&&e.__CANCEL__)}function CanceledError(e,t,s){AxiosError.call(this,e==null?"canceled":e,AxiosError.ERR_CANCELED,t,s);this.name="CanceledError"}X.inherits(CanceledError,AxiosError,{__CANCEL__:true});function settle(e,t,s){const r=s.config.validateStatus;if(!s.status||!r||r(s.status)){e(s)}else{t(new AxiosError("Request failed with status code "+s.status,[AxiosError.ERR_BAD_REQUEST,AxiosError.ERR_BAD_RESPONSE][Math.floor(s.status/100)-4],s.config,s.request,s))}}function isAbsoluteURL(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function combineURLs(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function buildFullPath(e,t){if(e&&!isAbsoluteURL(t)){return combineURLs(e,t)}return t}const fe="1.7.4";function parseProtocol(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const Ce=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;function fromDataURI(e,t,s){const r=s&&s.Blob||ue.classes.Blob;const o=parseProtocol(e);if(t===undefined&&r){t=true}if(o==="data"){e=o.length?e.slice(o.length+1):e;const s=Ce.exec(e);if(!s){throw new AxiosError("Invalid URL",AxiosError.ERR_INVALID_URL)}const n=s[1];const A=s[2];const i=s[3];const a=Buffer.from(decodeURIComponent(i),A?"base64":"utf8");if(t){if(!r){throw new AxiosError("Blob is not supported",AxiosError.ERR_NOT_SUPPORT)}return new r([a],{type:n})}return a}throw new AxiosError("Unsupported protocol "+o,AxiosError.ERR_NOT_SUPPORT)}const me=Symbol("internals");class AxiosTransformStream extends B["default"].Transform{constructor(e){e=X.toFlatObject(e,{maxRate:0,chunkSize:64*1024,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,((e,t)=>!X.isUndefined(t[e])));super({readableHighWaterMark:e.chunkSize});const t=this[me]={timeWindow:e.timeWindow,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:false,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",(e=>{if(e==="progress"){if(!t.isCaptured){t.isCaptured=true}}}))}_read(e){const t=this[me];if(t.onReadCallback){t.onReadCallback()}return super._read(e)}_transform(e,t,s){const r=this[me];const o=r.maxRate;const n=this.readableHighWaterMark;const A=r.timeWindow;const i=1e3/A;const a=o/i;const c=r.minChunkSize!==false?Math.max(r.minChunkSize,a*.01):0;const pushChunk=(e,t)=>{const s=Buffer.byteLength(e);r.bytesSeen+=s;r.bytes+=s;r.isCaptured&&this.emit("progress",r.bytesSeen);if(this.push(e)){process.nextTick(t)}else{r.onReadCallback=()=>{r.onReadCallback=null;process.nextTick(t)}}};const transformChunk=(e,t)=>{const s=Buffer.byteLength(e);let i=null;let l=n;let u;let p=0;if(o){const e=Date.now();if(!r.ts||(p=e-r.ts)>=A){r.ts=e;u=a-r.bytes;r.bytes=u<0?-u:0;p=0}u=a-r.bytes}if(o){if(u<=0){return setTimeout((()=>{t(null,e)}),A-p)}if(ul&&s-l>c){i=e.subarray(l);e=e.subarray(0,l)}pushChunk(e,i?()=>{process.nextTick(t,null,i)}:t)};transformChunk(e,(function transformNextChunk(e,t){if(e){return s(e)}if(t){transformChunk(t,transformNextChunk)}else{s(null)}}))}}const Qe=AxiosTransformStream;const{asyncIterator:Be}=Symbol;const readBlob=async function*(e){if(e.stream){yield*e.stream()}else if(e.arrayBuffer){yield await e.arrayBuffer()}else if(e[Be]){yield*e[Be]()}else{yield e}};const Ie=readBlob;const be=X.ALPHABET.ALPHA_DIGIT+"-_";const ye=new a.TextEncoder;const we="\r\n";const ve=ye.encode(we);const Re=2;class FormDataPart{constructor(e,t){const{escapeName:s}=this.constructor;const r=X.isString(t);let o=`Content-Disposition: form-data; name="${s(e)}"${!r&&t.name?`; filename="${s(t.name)}"`:""}${we}`;if(r){t=ye.encode(String(t).replace(/\r?\n|\r\n?/g,we))}else{o+=`Content-Type: ${t.type||"application/octet-stream"}${we}`}this.headers=ye.encode(o+we);this.contentLength=r?t.byteLength:t.size;this.size=this.headers.byteLength+this.contentLength+Re;this.name=e;this.value=t}async*encode(){yield this.headers;const{value:e}=this;if(X.isTypedArray(e)){yield e}else{yield*Ie(e)}yield ve}static escapeName(e){return String(e).replace(/[\r\n"]/g,(e=>({"\r":"%0D","\n":"%0A",'"':"%22"}[e])))}}const formDataToStream=(e,t,s)=>{const{tag:r="form-data-boundary",size:o=25,boundary:n=r+"-"+X.generateString(o,be)}=s||{};if(!X.isFormData(e)){throw TypeError("FormData instance required")}if(n.length<1||n.length>70){throw Error("boundary must be 10-70 characters long")}const A=ye.encode("--"+n+we);const i=ye.encode("--"+n+"--"+we+we);let a=i.byteLength;const c=Array.from(e.entries()).map((([e,t])=>{const s=new FormDataPart(e,t);a+=s.size;return s}));a+=A.byteLength*c.length;a=X.toFiniteNumber(a);const l={"Content-Type":`multipart/form-data; boundary=${n}`};if(Number.isFinite(a)){l["Content-Length"]=a}t&&t(l);return u.Readable.from(async function*(){for(const e of c){yield A;yield*e.encode()}yield i}())};const ke=formDataToStream;class ZlibHeaderTransformStream extends B["default"].Transform{__transform(e,t,s){this.push(e);s()}_transform(e,t,s){if(e.length!==0){this._transform=this.__transform;if(e[0]!==120){const e=Buffer.alloc(2);e[0]=120;e[1]=156;this.push(e,t)}}this.__transform(e,t,s)}}const De=ZlibHeaderTransformStream;const callbackify=(e,t)=>X.isAsyncFn(e)?function(...s){const r=s.pop();e.apply(this,s).then((e=>{try{t?r(null,...t(e)):r(null,e)}catch(e){r(e)}}),r)}:e;const xe=callbackify;function speedometer(e,t){e=e||10;const s=new Array(e);const r=new Array(e);let o=0;let n=0;let A;t=t!==undefined?t:1e3;return function push(i){const a=Date.now();const c=r[n];if(!A){A=a}s[o]=i;r[o]=a;let l=n;let u=0;while(l!==o){u+=s[l++];l=l%e}o=(o+1)%e;if(o===n){n=(n+1)%e}if(a-A{s=r;o=null;if(n){clearTimeout(n);n=null}e.apply(null,t)};const throttled=(...e)=>{const t=Date.now();const A=t-s;if(A>=r){invoke(e,t)}else{o=e;if(!n){n=setTimeout((()=>{n=null;invoke(o)}),r-A)}}};const flush=()=>o&&invoke(o);return[throttled,flush]}const progressEventReducer=(e,t,s=3)=>{let r=0;const o=speedometer(50,250);return throttle((s=>{const n=s.loaded;const A=s.lengthComputable?s.total:undefined;const i=n-r;const a=o(i);const c=n<=A;r=n;const l={loaded:n,total:A,progress:A?n/A:undefined,bytes:i,rate:a?a:undefined,estimated:a&&A&&c?(A-n)/a:undefined,event:s,lengthComputable:A!=null,[t?"download":"upload"]:true};e(l)}),s)};const progressEventDecorator=(e,t)=>{const s=e!=null;return[r=>t[0]({lengthComputable:s,total:e,loaded:r}),t[1]]};const asyncDecorator=e=>(...t)=>X.asap((()=>e(...t)));const Fe={flush:Q["default"].constants.Z_SYNC_FLUSH,finishFlush:Q["default"].constants.Z_SYNC_FLUSH};const Se={flush:Q["default"].constants.BROTLI_OPERATION_FLUSH,finishFlush:Q["default"].constants.BROTLI_OPERATION_FLUSH};const Te=X.isFunction(Q["default"].createBrotliDecompress);const{http:Ne,https:Ue}=m["default"];const Le=/https:?/;const _e=ue.protocols.map((e=>e+":"));const flushOnFinish=(e,[t,s])=>{e.on("end",s).on("error",s);return t};function dispatchBeforeRedirect(e,t){if(e.beforeRedirects.proxy){e.beforeRedirects.proxy(e)}if(e.beforeRedirects.config){e.beforeRedirects.config(e,t)}}function setProxy(e,t,s){let r=t;if(!r&&r!==false){const e=n.getProxyForUrl(s);if(e){r=new URL(e)}}if(r){if(r.username){r.auth=(r.username||"")+":"+(r.password||"")}if(r.auth){if(r.auth.username||r.auth.password){r.auth=(r.auth.username||"")+":"+(r.auth.password||"")}const t=Buffer.from(r.auth,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+t}e.headers.host=e.hostname+(e.port?":"+e.port:"");const t=r.hostname||r.host;e.hostname=t;e.host=t;e.port=r.port;e.path=s;if(r.protocol){e.protocol=r.protocol.includes(":")?r.protocol:`${r.protocol}:`}}e.beforeRedirects.proxy=function beforeRedirect(e){setProxy(e,t,e.href)}}const Me=typeof process!=="undefined"&&X.kindOf(process)==="process";const wrapAsync=e=>new Promise(((t,s)=>{let r;let o;const done=(e,t)=>{if(o)return;o=true;r&&r(e,t)};const _resolve=e=>{done(e);t(e)};const _reject=e=>{done(e,true);s(e)};e(_resolve,_reject,(e=>r=e)).catch(_reject)}));const resolveFamily=({address:e,family:t})=>{if(!X.isString(e)){throw TypeError("address must be a string")}return{address:e,family:t||(e.indexOf(".")<0?6:4)}};const buildAddressEntry=(e,t)=>resolveFamily(X.isObject(e)?e:{address:e,family:t});const Ge=Me&&function httpAdapter(e){return wrapAsync((async function dispatchHttpRequest(t,s,r){let{data:o,lookup:n,family:A}=e;const{responseType:i,responseEncoding:a}=e;const c=e.method.toUpperCase();let l;let u=false;let d;if(n){const e=xe(n,(e=>X.isArray(e)?e:[e]));n=(t,s,r)=>{e(t,s,((e,t,o)=>{if(e){return r(e)}const n=X.isArray(t)?t.map((e=>buildAddressEntry(e))):[buildAddressEntry(t,o)];s.all?r(e,n):r(e,n[0].address,n[0].family)}))}}const g=new p.EventEmitter;const onFinished=()=>{if(e.cancelToken){e.cancelToken.unsubscribe(abort)}if(e.signal){e.signal.removeEventListener("abort",abort)}g.removeAllListeners()};r(((e,t)=>{l=true;if(t){u=true;onFinished()}}));function abort(t){g.emit("abort",!t||t.type?new CanceledError(null,e,d):t)}g.once("abort",s);if(e.cancelToken||e.signal){e.cancelToken&&e.cancelToken.subscribe(abort);if(e.signal){e.signal.aborted?abort():e.signal.addEventListener("abort",abort)}}const m=buildFullPath(e.baseURL,e.url);const I=new URL(m,X.hasBrowserEnv?ue.origin:undefined);const b=I.protocol||_e[0];if(b==="data:"){let r;if(c!=="GET"){return settle(t,s,{status:405,statusText:"method not allowed",headers:{},config:e})}try{r=fromDataURI(e.url,i==="blob",{Blob:e.env&&e.env.Blob})}catch(t){throw AxiosError.from(t,AxiosError.ERR_BAD_REQUEST,e)}if(i==="text"){r=r.toString(a);if(!a||a==="utf8"){r=X.stripBOM(r)}}else if(i==="stream"){r=B["default"].Readable.from(r)}return settle(t,s,{data:r,status:200,statusText:"OK",headers:new Ee,config:e})}if(_e.indexOf(b)===-1){return s(new AxiosError("Unsupported protocol "+b,AxiosError.ERR_BAD_REQUEST,e))}const y=Ee.from(e.headers).normalize();y.set("User-Agent","axios/"+fe,false);const{onUploadProgress:w,onDownloadProgress:v}=e;const R=e.maxRate;let k=undefined;let D=undefined;if(X.isSpecCompliantForm(o)){const e=y.getContentType(/boundary=([-_\w\d]{10,70})/i);o=ke(o,(e=>{y.set(e)}),{tag:`axios-${fe}-boundary`,boundary:e&&e[1]||undefined})}else if(X.isFormData(o)&&X.isFunction(o.getHeaders)){y.set(o.getHeaders());if(!y.hasContentLength()){try{const e=await C["default"].promisify(o.getLength).call(o);Number.isFinite(e)&&e>=0&&y.setContentLength(e)}catch(e){}}}else if(X.isBlob(o)){o.size&&y.setContentType(o.type||"application/octet-stream");y.setContentLength(o.size||0);o=B["default"].Readable.from(Ie(o))}else if(o&&!X.isStream(o)){if(Buffer.isBuffer(o));else if(X.isArrayBuffer(o)){o=Buffer.from(new Uint8Array(o))}else if(X.isString(o)){o=Buffer.from(o,"utf-8")}else{return s(new AxiosError("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",AxiosError.ERR_BAD_REQUEST,e))}y.setContentLength(o.length,false);if(e.maxBodyLength>-1&&o.length>e.maxBodyLength){return s(new AxiosError("Request body larger than maxBodyLength limit",AxiosError.ERR_BAD_REQUEST,e))}}const x=X.toFiniteNumber(y.getContentLength());if(X.isArray(R)){k=R[0];D=R[1]}else{k=D=R}if(o&&(w||k)){if(!X.isStream(o)){o=B["default"].Readable.from(o,{objectMode:false})}o=B["default"].pipeline([o,new Qe({maxRate:X.toFiniteNumber(k)})],X.noop);w&&o.on("progress",flushOnFinish(o,progressEventDecorator(x,progressEventReducer(asyncDecorator(w),false,3))))}let F=undefined;if(e.auth){const t=e.auth.username||"";const s=e.auth.password||"";F=t+":"+s}if(!F&&I.username){const e=I.username;const t=I.password;F=e+":"+t}F&&y.delete("authorization");let S;try{S=buildURL(I.pathname+I.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(t){const r=new Error(t.message);r.config=e;r.url=e.url;r.exists=true;return s(r)}y.set("Accept-Encoding","gzip, compress, deflate"+(Te?", br":""),false);const T={path:S,method:c,headers:y.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:F,protocol:b,family:A,beforeRedirect:dispatchBeforeRedirect,beforeRedirects:{}};!X.isUndefined(n)&&(T.lookup=n);if(e.socketPath){T.socketPath=e.socketPath}else{T.hostname=I.hostname;T.port=I.port;setProxy(T,e.proxy,b+"//"+I.hostname+(I.port?":"+I.port:"")+T.path)}let N;const U=Le.test(T.protocol);T.agent=U?e.httpsAgent:e.httpAgent;if(e.transport){N=e.transport}else if(e.maxRedirects===0){N=U?E["default"]:h["default"]}else{if(e.maxRedirects){T.maxRedirects=e.maxRedirects}if(e.beforeRedirect){T.beforeRedirects.config=e.beforeRedirect}N=U?Ue:Ne}if(e.maxBodyLength>-1){T.maxBodyLength=e.maxBodyLength}else{T.maxBodyLength=Infinity}if(e.insecureHTTPParser){T.insecureHTTPParser=e.insecureHTTPParser}d=N.request(T,(function handleResponse(r){if(d.destroyed)return;const o=[r];const n=+r.headers["content-length"];if(v||D){const e=new Qe({maxRate:X.toFiniteNumber(D)});v&&e.on("progress",flushOnFinish(e,progressEventDecorator(n,progressEventReducer(asyncDecorator(v),true,3))));o.push(e)}let A=r;const l=r.req||d;if(e.decompress!==false&&r.headers["content-encoding"]){if(c==="HEAD"||r.statusCode===204){delete r.headers["content-encoding"]}switch((r.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":o.push(Q["default"].createUnzip(Fe));delete r.headers["content-encoding"];break;case"deflate":o.push(new De);o.push(Q["default"].createUnzip(Fe));delete r.headers["content-encoding"];break;case"br":if(Te){o.push(Q["default"].createBrotliDecompress(Se));delete r.headers["content-encoding"]}}}A=o.length>1?B["default"].pipeline(o,X.noop):o[0];const p=B["default"].finished(A,(()=>{p();onFinished()}));const h={status:r.statusCode,statusText:r.statusMessage,headers:new Ee(r.headers),config:e,request:l};if(i==="stream"){h.data=A;settle(t,s,h)}else{const r=[];let o=0;A.on("data",(function handleStreamData(t){r.push(t);o+=t.length;if(e.maxContentLength>-1&&o>e.maxContentLength){u=true;A.destroy();s(new AxiosError("maxContentLength size of "+e.maxContentLength+" exceeded",AxiosError.ERR_BAD_RESPONSE,e,l))}}));A.on("aborted",(function handlerStreamAborted(){if(u){return}const t=new AxiosError("maxContentLength size of "+e.maxContentLength+" exceeded",AxiosError.ERR_BAD_RESPONSE,e,l);A.destroy(t);s(t)}));A.on("error",(function handleStreamError(t){if(d.destroyed)return;s(AxiosError.from(t,null,e,l))}));A.on("end",(function handleStreamEnd(){try{let e=r.length===1?r[0]:Buffer.concat(r);if(i!=="arraybuffer"){e=e.toString(a);if(!a||a==="utf8"){e=X.stripBOM(e)}}h.data=e}catch(t){return s(AxiosError.from(t,null,e,h.request,h))}settle(t,s,h)}))}g.once("abort",(e=>{if(!A.destroyed){A.emit("error",e);A.destroy()}}))}));g.once("abort",(e=>{s(e);d.destroy(e)}));d.on("error",(function handleRequestError(t){s(AxiosError.from(t,null,e,d))}));d.on("socket",(function handleRequestSocket(e){e.setKeepAlive(true,1e3*60)}));if(e.timeout){const t=parseInt(e.timeout,10);if(Number.isNaN(t)){s(new AxiosError("error trying to parse `config.timeout` to int",AxiosError.ERR_BAD_OPTION_VALUE,e,d));return}d.setTimeout(t,(function handleRequestTimeout(){if(l)return;let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const r=e.transitional||re;if(e.timeoutErrorMessage){t=e.timeoutErrorMessage}s(new AxiosError(t,r.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,e,d));abort()}))}if(X.isStream(o)){let t=false;let s=false;o.on("end",(()=>{t=true}));o.once("error",(e=>{s=true;d.destroy(e)}));o.on("close",(()=>{if(!t&&!s){abort(new CanceledError("Request stream has been aborted",e,d))}}));o.pipe(d)}else{d.end(o)}}))};const Oe=ue.hasStandardBrowserEnv?function standardBrowserEnv(){const e=/(msie|trident)/i.test(navigator.userAgent);const t=document.createElement("a");let s;function resolveURL(s){let r=s;if(e){t.setAttribute("href",r);r=t.href}t.setAttribute("href",r);return{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}s=resolveURL(window.location.href);return function isURLSameOrigin(e){const t=X.isString(e)?resolveURL(e):e;return t.protocol===s.protocol&&t.host===s.host}}():function nonStandardBrowserEnv(){return function isURLSameOrigin(){return true}}();const Pe=ue.hasStandardBrowserEnv?{write(e,t,s,r,o,n){const A=[e+"="+encodeURIComponent(t)];X.isNumber(s)&&A.push("expires="+new Date(s).toGMTString());X.isString(r)&&A.push("path="+r);X.isString(o)&&A.push("domain="+o);n===true&&A.push("secure");document.cookie=A.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};const headersToObject=e=>e instanceof Ee?{...e}:e;function mergeConfig(e,t){t=t||{};const s={};function getMergedValue(e,t,s){if(X.isPlainObject(e)&&X.isPlainObject(t)){return X.merge.call({caseless:s},e,t)}else if(X.isPlainObject(t)){return X.merge({},t)}else if(X.isArray(t)){return t.slice()}return t}function mergeDeepProperties(e,t,s){if(!X.isUndefined(t)){return getMergedValue(e,t,s)}else if(!X.isUndefined(e)){return getMergedValue(undefined,e,s)}}function valueFromConfig2(e,t){if(!X.isUndefined(t)){return getMergedValue(undefined,t)}}function defaultToConfig2(e,t){if(!X.isUndefined(t)){return getMergedValue(undefined,t)}else if(!X.isUndefined(e)){return getMergedValue(undefined,e)}}function mergeDirectKeys(s,r,o){if(o in t){return getMergedValue(s,r)}else if(o in e){return getMergedValue(undefined,s)}}const r={url:valueFromConfig2,method:valueFromConfig2,data:valueFromConfig2,baseURL:defaultToConfig2,transformRequest:defaultToConfig2,transformResponse:defaultToConfig2,paramsSerializer:defaultToConfig2,timeout:defaultToConfig2,timeoutMessage:defaultToConfig2,withCredentials:defaultToConfig2,withXSRFToken:defaultToConfig2,adapter:defaultToConfig2,responseType:defaultToConfig2,xsrfCookieName:defaultToConfig2,xsrfHeaderName:defaultToConfig2,onUploadProgress:defaultToConfig2,onDownloadProgress:defaultToConfig2,decompress:defaultToConfig2,maxContentLength:defaultToConfig2,maxBodyLength:defaultToConfig2,beforeRedirect:defaultToConfig2,transport:defaultToConfig2,httpAgent:defaultToConfig2,httpsAgent:defaultToConfig2,cancelToken:defaultToConfig2,socketPath:defaultToConfig2,responseEncoding:defaultToConfig2,validateStatus:mergeDirectKeys,headers:(e,t)=>mergeDeepProperties(headersToObject(e),headersToObject(t),true)};X.forEach(Object.keys(Object.assign({},e,t)),(function computeConfigValue(o){const n=r[o]||mergeDeepProperties;const A=n(e[o],t[o],o);X.isUndefined(A)&&n!==mergeDirectKeys||(s[o]=A)}));return s}const resolveConfig=e=>{const t=mergeConfig({},e);let{data:s,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:n,headers:A,auth:i}=t;t.headers=A=Ee.from(A);t.url=buildURL(buildFullPath(t.baseURL,t.url),e.params,e.paramsSerializer);if(i){A.set("Authorization","Basic "+btoa((i.username||"")+":"+(i.password?unescape(encodeURIComponent(i.password)):"")))}let a;if(X.isFormData(s)){if(ue.hasStandardBrowserEnv||ue.hasStandardBrowserWebWorkerEnv){A.setContentType(undefined)}else if((a=A.getContentType())!==false){const[e,...t]=a?a.split(";").map((e=>e.trim())).filter(Boolean):[];A.setContentType([e||"multipart/form-data",...t].join("; "))}}if(ue.hasStandardBrowserEnv){r&&X.isFunction(r)&&(r=r(t));if(r||r!==false&&Oe(t.url)){const e=o&&n&&Pe.read(n);if(e){A.set(o,e)}}}return t};const He=typeof XMLHttpRequest!=="undefined";const Ye=He&&function(e){return new Promise((function dispatchXhrRequest(t,s){const r=resolveConfig(e);let o=r.data;const n=Ee.from(r.headers).normalize();let{responseType:A,onUploadProgress:i,onDownloadProgress:a}=r;let c;let l,u;let p,d;function done(){p&&p();d&&d();r.cancelToken&&r.cancelToken.unsubscribe(c);r.signal&&r.signal.removeEventListener("abort",c)}let g=new XMLHttpRequest;g.open(r.method.toUpperCase(),r.url,true);g.timeout=r.timeout;function onloadend(){if(!g){return}const r=Ee.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders());const o=!A||A==="text"||A==="json"?g.responseText:g.response;const n={data:o,status:g.status,statusText:g.statusText,headers:r,config:e,request:g};settle((function _resolve(e){t(e);done()}),(function _reject(e){s(e);done()}),n);g=null}if("onloadend"in g){g.onloadend=onloadend}else{g.onreadystatechange=function handleLoad(){if(!g||g.readyState!==4){return}if(g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)){return}setTimeout(onloadend)}}g.onabort=function handleAbort(){if(!g){return}s(new AxiosError("Request aborted",AxiosError.ECONNABORTED,e,g));g=null};g.onerror=function handleError(){s(new AxiosError("Network Error",AxiosError.ERR_NETWORK,e,g));g=null};g.ontimeout=function handleTimeout(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||re;if(r.timeoutErrorMessage){t=r.timeoutErrorMessage}s(new AxiosError(t,o.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,e,g));g=null};o===undefined&&n.setContentType(null);if("setRequestHeader"in g){X.forEach(n.toJSON(),(function setRequestHeader(e,t){g.setRequestHeader(t,e)}))}if(!X.isUndefined(r.withCredentials)){g.withCredentials=!!r.withCredentials}if(A&&A!=="json"){g.responseType=r.responseType}if(a){[u,d]=progressEventReducer(a,true);g.addEventListener("progress",u)}if(i&&g.upload){[l,p]=progressEventReducer(i);g.upload.addEventListener("progress",l);g.upload.addEventListener("loadend",p)}if(r.cancelToken||r.signal){c=t=>{if(!g){return}s(!t||t.type?new CanceledError(null,e,g):t);g.abort();g=null};r.cancelToken&&r.cancelToken.subscribe(c);if(r.signal){r.signal.aborted?c():r.signal.addEventListener("abort",c)}}const h=parseProtocol(r.url);if(h&&ue.protocols.indexOf(h)===-1){s(new AxiosError("Unsupported protocol "+h+":",AxiosError.ERR_BAD_REQUEST,e));return}g.send(o||null)}))};const composeSignals=(e,t)=>{let s=new AbortController;let r;const onabort=function(e){if(!r){r=true;unsubscribe();const t=e instanceof Error?e:this.reason;s.abort(t instanceof AxiosError?t:new CanceledError(t instanceof Error?t.message:t))}};let o=t&&setTimeout((()=>{onabort(new AxiosError(`timeout ${t} of ms exceeded`,AxiosError.ETIMEDOUT))}),t);const unsubscribe=()=>{if(e){o&&clearTimeout(o);o=null;e.forEach((e=>{e&&(e.removeEventListener?e.removeEventListener("abort",onabort):e.unsubscribe(onabort))}));e=null}};e.forEach((e=>e&&e.addEventListener&&e.addEventListener("abort",onabort)));const{signal:n}=s;n.unsubscribe=unsubscribe;return[n,()=>{o&&clearTimeout(o);o=null}]};const Je=composeSignals;const streamChunk=function*(e,t){let s=e.byteLength;if(!t||s{const n=readBytes(e,t,o);let A=0;let i;let _onFinish=e=>{if(!i){i=true;r&&r(e)}};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await n.next();if(t){_onFinish();e.close();return}let o=r.byteLength;if(s){let e=A+=o;s(e)}e.enqueue(new Uint8Array(r))}catch(e){_onFinish(e);throw e}},cancel(e){_onFinish(e);return n.return()}},{highWaterMark:2})};const Ve=typeof fetch==="function"&&typeof Request==="function"&&typeof Response==="function";const qe=Ve&&typeof ReadableStream==="function";const We=Ve&&(typeof TextEncoder==="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer()));const test=(e,...t)=>{try{return!!e(...t)}catch(e){return false}};const je=qe&&test((()=>{let e=false;const t=new Request(ue.origin,{body:new ReadableStream,method:"POST",get duplex(){e=true;return"half"}}).headers.has("Content-Type");return e&&!t}));const ze=64*1024;const Ke=qe&&test((()=>X.isReadableStream(new Response("").body)));const Xe={stream:Ke&&(e=>e.body)};Ve&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach((t=>{!Xe[t]&&(Xe[t]=X.isFunction(e[t])?e=>e[t]():(e,s)=>{throw new AxiosError(`Response type '${t}' is not supported`,AxiosError.ERR_NOT_SUPPORT,s)})}))})(new Response);const getBodyLength=async e=>{if(e==null){return 0}if(X.isBlob(e)){return e.size}if(X.isSpecCompliantForm(e)){return(await new Request(e).arrayBuffer()).byteLength}if(X.isArrayBufferView(e)||X.isArrayBuffer(e)){return e.byteLength}if(X.isURLSearchParams(e)){e=e+""}if(X.isString(e)){return(await We(e)).byteLength}};const resolveBodyLength=async(e,t)=>{const s=X.toFiniteNumber(e.getContentLength());return s==null?getBodyLength(t):s};const Ze=Ve&&(async e=>{let{url:t,method:s,data:r,signal:o,cancelToken:n,timeout:A,onDownloadProgress:i,onUploadProgress:a,responseType:c,headers:l,withCredentials:u="same-origin",fetchOptions:p}=resolveConfig(e);c=c?(c+"").toLowerCase():"text";let[d,g]=o||n||A?Je([o,n],A):[];let h,E;const onFinish=()=>{!h&&setTimeout((()=>{d&&d.unsubscribe()}));h=true};let C;try{if(a&&je&&s!=="get"&&s!=="head"&&(C=await resolveBodyLength(l,r))!==0){let e=new Request(t,{method:"POST",body:r,duplex:"half"});let s;if(X.isFormData(r)&&(s=e.headers.get("content-type"))){l.setContentType(s)}if(e.body){const[t,s]=progressEventDecorator(C,progressEventReducer(asyncDecorator(a)));r=trackStream(e.body,ze,t,s,We)}}if(!X.isString(u)){u=u?"include":"omit"}E=new Request(t,{...p,signal:d,method:s.toUpperCase(),headers:l.normalize().toJSON(),body:r,duplex:"half",credentials:u});let o=await fetch(E);const n=Ke&&(c==="stream"||c==="response");if(Ke&&(i||n)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=o[t]}));const t=X.toFiniteNumber(o.headers.get("content-length"));const[s,r]=i&&progressEventDecorator(t,progressEventReducer(asyncDecorator(i),true))||[];o=new Response(trackStream(o.body,ze,s,(()=>{r&&r();n&&onFinish()}),We),e)}c=c||"text";let A=await Xe[X.findKey(Xe,c)||"text"](o,e);!n&&onFinish();g&&g();return await new Promise(((t,s)=>{settle(t,s,{data:A,headers:Ee.from(o.headers),status:o.status,statusText:o.statusText,config:e,request:E})}))}catch(t){onFinish();if(t&&t.name==="TypeError"&&/fetch/i.test(t.message)){throw Object.assign(new AxiosError("Network Error",AxiosError.ERR_NETWORK,e,E),{cause:t.cause||t})}throw AxiosError.from(t,t&&t.code,e,E)}});const $e={http:Ge,xhr:Ye,fetch:Ze};X.forEach($e,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const renderReason=e=>`- ${e}`;const isResolvedHandle=e=>X.isFunction(e)||e===null||e===false;const et={getAdapter:e=>{e=X.isArray(e)?e:[e];const{length:t}=e;let s;let r;const o={};for(let n=0;n`adapter ${e} `+(t===false?"is not supported by the environment":"is not available in the build")));let s=t?e.length>1?"since :\n"+e.map(renderReason).join("\n"):" "+renderReason(e[0]):"as no adapter specified";throw new AxiosError(`There is no suitable adapter to dispatch the request `+s,"ERR_NOT_SUPPORT")}return r},adapters:$e};function throwIfCancellationRequested(e){if(e.cancelToken){e.cancelToken.throwIfRequested()}if(e.signal&&e.signal.aborted){throw new CanceledError(null,e)}}function dispatchRequest(e){throwIfCancellationRequested(e);e.headers=Ee.from(e.headers);e.data=transformData.call(e,e.transformRequest);if(["post","put","patch"].indexOf(e.method)!==-1){e.headers.setContentType("application/x-www-form-urlencoded",false)}const t=et.getAdapter(e.adapter||de.adapter);return t(e).then((function onAdapterResolution(t){throwIfCancellationRequested(e);t.data=transformData.call(e,e.transformResponse,t);t.headers=Ee.from(t.headers);return t}),(function onAdapterRejection(t){if(!isCancel(t)){throwIfCancellationRequested(e);if(t&&t.response){t.response.data=transformData.call(e,e.transformResponse,t.response);t.response.headers=Ee.from(t.response.headers)}}return Promise.reject(t)}))}const tt={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{tt[e]=function validator(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}}));const st={};tt.transitional=function transitional(e,t,s){function formatMessage(e,t){return"[Axios v"+fe+"] Transitional option '"+e+"'"+t+(s?". "+s:"")}return(s,r,o)=>{if(e===false){throw new AxiosError(formatMessage(r," has been removed"+(t?" in "+t:"")),AxiosError.ERR_DEPRECATED)}if(t&&!st[r]){st[r]=true;console.warn(formatMessage(r," has been deprecated since v"+t+" and will be removed in the near future"))}return e?e(s,r,o):true}};function assertOptions(e,t,s){if(typeof e!=="object"){throw new AxiosError("options must be an object",AxiosError.ERR_BAD_OPTION_VALUE)}const r=Object.keys(e);let o=r.length;while(o-- >0){const n=r[o];const A=t[n];if(A){const t=e[n];const s=t===undefined||A(t,n,e);if(s!==true){throw new AxiosError("option "+n+" must be "+s,AxiosError.ERR_BAD_OPTION_VALUE)}continue}if(s!==true){throw new AxiosError("Unknown option "+n,AxiosError.ERR_BAD_OPTION)}}}const rt={assertOptions:assertOptions,validators:tt};const ot=rt.validators;class Axios{constructor(e){this.defaults=e;this.interceptors={request:new se,response:new se}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=new Error;const s=t.stack?t.stack.replace(/^.+\n/,""):"";try{if(!e.stack){e.stack=s}else if(s&&!String(e.stack).endsWith(s.replace(/^.+\n.+\n/,""))){e.stack+="\n"+s}}catch(e){}}throw e}}_request(e,t){if(typeof e==="string"){t=t||{};t.url=e}else{t=e||{}}t=mergeConfig(this.defaults,t);const{transitional:s,paramsSerializer:r,headers:o}=t;if(s!==undefined){rt.assertOptions(s,{silentJSONParsing:ot.transitional(ot.boolean),forcedJSONParsing:ot.transitional(ot.boolean),clarifyTimeoutError:ot.transitional(ot.boolean)},false)}if(r!=null){if(X.isFunction(r)){t.paramsSerializer={serialize:r}}else{rt.assertOptions(r,{encode:ot.function,serialize:ot.function},true)}}t.method=(t.method||this.defaults.method||"get").toLowerCase();let n=o&&X.merge(o.common,o[t.method]);o&&X.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]}));t.headers=Ee.concat(n,o);const A=[];let i=true;this.interceptors.request.forEach((function unshiftRequestInterceptors(e){if(typeof e.runWhen==="function"&&e.runWhen(t)===false){return}i=i&&e.synchronous;A.unshift(e.fulfilled,e.rejected)}));const a=[];this.interceptors.response.forEach((function pushResponseInterceptors(e){a.push(e.fulfilled,e.rejected)}));let c;let l=0;let u;if(!i){const e=[dispatchRequest.bind(this),undefined];e.unshift.apply(e,A);e.push.apply(e,a);u=e.length;c=Promise.resolve(t);while(l{if(!s._listeners)return;let t=s._listeners.length;while(t-- >0){s._listeners[t](e)}s._listeners=null}));this.promise.then=e=>{let t;const r=new Promise((e=>{s.subscribe(e);t=e})).then(e);r.cancel=function reject(){s.unsubscribe(t)};return r};e((function cancel(e,r,o){if(s.reason){return}s.reason=new CanceledError(e,r,o);t(s.reason)}))}throwIfRequested(){if(this.reason){throw this.reason}}subscribe(e){if(this.reason){e(this.reason);return}if(this._listeners){this._listeners.push(e)}else{this._listeners=[e]}}unsubscribe(e){if(!this._listeners){return}const t=this._listeners.indexOf(e);if(t!==-1){this._listeners.splice(t,1)}}static source(){let e;const t=new CancelToken((function executor(t){e=t}));return{token:t,cancel:e}}}const At=CancelToken;function spread(e){return function wrap(t){return e.apply(null,t)}}function isAxiosError(e){return X.isObject(e)&&e.isAxiosError===true}const it={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(it).forEach((([e,t])=>{it[t]=e}));const at=it;function createInstance(e){const t=new nt(e);const s=bind(nt.prototype.request,t);X.extend(s,nt.prototype,t,{allOwnKeys:true});X.extend(s,t,null,{allOwnKeys:true});s.create=function create(t){return createInstance(mergeConfig(e,t))};return s}const ct=createInstance(de);ct.Axios=nt;ct.CanceledError=CanceledError;ct.CancelToken=At;ct.isCancel=isCancel;ct.VERSION=fe;ct.toFormData=toFormData;ct.AxiosError=AxiosError;ct.Cancel=ct.CanceledError;ct.all=function all(e){return Promise.all(e)};ct.spread=spread;ct.isAxiosError=isAxiosError;ct.mergeConfig=mergeConfig;ct.AxiosHeaders=Ee;ct.formToJSON=e=>formDataToJSON(X.isHTMLForm(e)?new FormData(e):e);ct.getAdapter=et.getAdapter;ct.HttpStatusCode=at;ct.default=ct;e.exports=ct},7865:e=>{e.exports=JSON.parse('{"name":"@slack/web-api","version":"7.3.2","description":"Official library for using the Slack Platform\'s Web API","author":"Slack Technologies, LLC","license":"MIT","keywords":["slack","web-api","bot","client","http","api","proxy","rate-limiting","pagination"],"main":"dist/index.js","types":"./dist/index.d.ts","files":["dist/**/*"],"engines":{"node":">= 18","npm":">= 8.6.0"},"repository":"slackapi/node-slack-sdk","homepage":"https://slack.dev/node-slack-sdk/web-api","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/slackapi/node-slack-sdk/issues"},"scripts":{"prepare":"npm run build","build":"npm run build:clean && tsc","build:clean":"shx rm -rf ./dist ./coverage","lint":"eslint --fix --ext .ts src","mocha":"mocha --config .mocharc.json src/*.spec.js","test":"npm run lint && npm run test:types && npm run test:integration && npm run test:unit","test:integration":"npm run build && node test/integration/commonjs-project/index.js && node test/integration/esm-project/index.mjs && npm run test:integration:ts","test:integration:ts":"cd test/integration/ts-4.7-project && npm i && npm run build","test:unit":"npm run build && c8 npm run mocha","test:types":"tsd","ref-docs:model":"api-extractor run","watch":"npx nodemon --watch \'src\' --ext \'ts\' --exec npm run build"},"dependencies":{"@slack/logger":"^4.0.0","@slack/types":"^2.9.0","@types/node":">=18.0.0","@types/retry":"0.12.0","axios":"^1.6.5","eventemitter3":"^5.0.1","form-data":"^4.0.0","is-electron":"2.2.2","is-stream":"^2","p-queue":"^6","p-retry":"^4","retry":"^0.13.1"},"devDependencies":{"@microsoft/api-extractor":"^7","@tsconfig/recommended":"^1","@types/chai":"^4","@types/mocha":"^10","@types/sinon":"^17","@typescript-eslint/eslint-plugin":"^6","@typescript-eslint/parser":"^6","busboy":"^1","c8":"^9.1.0","chai":"^4","eslint":"^8","eslint-config-airbnb-base":"^15","eslint-config-airbnb-typescript":"^17","eslint-plugin-import":"^2","eslint-plugin-import-newlines":"^1.3.4","eslint-plugin-jsdoc":"^48","eslint-plugin-node":"^11","mocha":"^10","nock":"^13","shx":"^0.3.2","sinon":"^17","source-map-support":"^0.5.21","ts-node":"^10","tsd":"^0.30.0","typescript":"5.3.3"},"tsd":{"directory":"test/types"}}')},6450:e=>{e.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/3gpphal+json":{"source":"iana","compressible":true},"application/3gpphalforms+json":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/ace+cbor":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/at+jwt":{"source":"iana"},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/city+json":{"source":"iana","compressible":true},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true,"extensions":["cpl"]},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dash-patch+xml":{"source":"iana","compressible":true,"extensions":["mpp"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/express":{"source":"iana","extensions":["exp"]},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true,"extensions":["mpf"]},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/missing-blocks+cbor-seq":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true},"application/mrb-publish+xml":{"source":"iana","compressible":true},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/oauth-authz-req+jwt":{"source":"iana"},"application/oblivious-dns-message":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p21":{"source":"iana"},"application/p21+zip":{"source":"iana","compressible":false},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana","extensions":["asc"]},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sarif-external-properties+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spdx+json":{"source":"iana","compressible":true},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/token-introspection+jwt":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana","extensions":["trig"]},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.5gnas":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gtpc":{"source":"iana"},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.lpp":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ngap":{"source":"iana"},"application/vnd.3gpp.pfcp":{"source":"iana"},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.s1ap":{"source":"iana"},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.age":{"source":"iana","extensions":["age"]},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.arrow.file":{"source":"iana"},"application/vnd.apache.arrow.stream":{"source":"iana"},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.cryptomator.encrypted":{"source":"iana"},"application/vnd.cryptomator.vault":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.eclipse.ditto+json":{"source":"iana","compressible":true},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eu.kasparian.car+json":{"source":"iana","compressible":true},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.familysearch.gedcom+zip":{"source":"iana","compressible":false},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujifilm.fb.docuworks":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.container":{"source":"iana"},"application/vnd.fujifilm.fb.jfi+xml":{"source":"iana","compressible":true},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hl7cda+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hl7v2+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana","extensions":["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxar.archive.3tz+zip":{"source":"iana","compressible":false},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.nacamar.ybrid+json":{"source":"iana","compressible":true},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nebumind.line":{"source":"iana"},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.opentimestamps.ots":{"source":"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.resilient.logic":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.syft+json":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veritone.aion+json":{"source":"iana","compressible":true},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"source":"iana","compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true,"extensions":["wif"]},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-iwork-keynote-sffkey":{"extensions":["key"]},"application/x-iwork-numbers-sffnumbers":{"extensions":["numbers"]},"application/x-iwork-pages-sffpages":{"extensions":["pages"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana","extensions":["avci"]},"image/avcs":{"source":"iana","extensions":["avcs"]},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","compressible":true,"extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"compressible":true,"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/step":{"source":"iana"},"model/step+xml":{"source":"iana","compressible":true,"extensions":["stpx"]},"model/step+zip":{"source":"iana","compressible":false,"extensions":["stpz"]},"model/step-xml+zip":{"source":"iana","compressible":false,"extensions":["stpxz"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.pytha.pyox":{"source":"iana"},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.sap.vds":{"source":"iana","extensions":["vds"]},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"source":"iana","extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.familysearch.gedcom":{"source":"iana","extensions":["ged"]},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"compressible":true,"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/ffv1":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/jxsv":{"source":"iana"},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/vp9":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')}};var __webpack_module_cache__={};function __nccwpck_require__(e){var t=__webpack_module_cache__[e];if(t!==undefined){return t.exports}var s=__webpack_module_cache__[e]={exports:{}};var r=true;try{__webpack_modules__[e].call(s.exports,s,s.exports,__nccwpck_require__);r=false}finally{if(r)delete __webpack_module_cache__[e]}return s.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=new URL(".",import.meta.url).pathname.slice(import.meta.url.match(/^file:\/\/\/\w:/)?1:0,-1)+"/";var __webpack_exports__={};(()=>{var e=__nccwpck_require__(7131);var t=__nccwpck_require__(4237);var s=__nccwpck_require__(764);var r=__nccwpck_require__(4260);function formattedDate(e){const t=new Date(e);return t.toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"})}function ninetyDaysAgo(){const e=new Date;e.setDate(e.getDate()-90);return e.toISOString().split("T")[0]}async function getLatestCanaryVersion(){let e;try{const{stdout:t}=await getExecOutput("pnpm",["view","next","dist-tags","--json"]);const s=JSON.parse(t);e=s.canary||null}catch(e){setFailed(`Error fetching latest Next.js canary version, skipping update.`)}return e}async function getLatestVersion(){let e;try{const{stdout:t}=await getExecOutput("pnpm",["view","next","dist-tags","--json"]);const s=JSON.parse(t);e=s.latest||null}catch(e){setFailed(`Error fetching latest Next.js version, skipping update.`)}return e}function generateBlocks(e){let t="";let s=0;const r=[{type:"divider"}];e.forEach(((e,r)=>{if(e.reactions.total_count>1){t+=`${r+1}. [<${e.html_url}|#${e.number}>, ${e.reactions.total_count} reactions, ${formattedDate(e.created_at)}]: ${e.title}\n`;s++}}));r.unshift({type:"section",text:{type:"mrkdwn",text:`*A list of the top ${s} PRs sorted by the most reactions (> 1) over the last 90 days.*\n_Note: This :github2: will run every Monday at 10AM UTC (6AM EST)._`}});r.push({type:"section",text:{type:"mrkdwn",text:t}});return r}async function run(){try{if(!process.env.GITHUB_TOKEN)throw new TypeError("GITHUB_TOKEN not set");if(!process.env.SLACK_TOKEN)throw new TypeError("SLACK_TOKEN not set");const r=(0,e.getOctokit)(process.env.GITHUB_TOKEN);const o=new s.WebClient(process.env.SLACK_TOKEN);const{owner:n,repo:A}=e.context.repo;const{data:i}=await r.rest.search.issuesAndPullRequests({order:"desc",per_page:15,q:`repo:${n}/${A} -is:draft is:pr is:open created:>=${ninetyDaysAgo()}`,sort:"reactions"});if(i.items.length>0){await o.chat.postMessage({blocks:generateBlocks(i.items),channel:"#next-info",icon_emoji:":github:",username:"GitHub Notifier"});(0,t.info)(`Posted to Slack!`)}else{(0,t.info)(`No popular PRs`)}}catch(e){(0,t.setFailed)(e)}}run()})(); \ No newline at end of file diff --git a/.github/actions/next-repo-actions/dist/prs/licenses.txt b/.github/actions/next-repo-actions/dist/prs/licenses.txt index bf0f16ca30eae..f70b7995dc6cf 100644 --- a/.github/actions/next-repo-actions/dist/prs/licenses.txt +++ b/.github/actions/next-repo-actions/dist/prs/licenses.txt @@ -596,6 +596,30 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +debug +MIT +(The MIT License) + +Copyright (c) 2014-2017 TJ Holowaychuk +Copyright (c) 2018-2021 Josh Junon + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software +and associated documentation files (the 'Software'), to deal in the Software without restriction, +including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial +portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT +LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + + delayed-stream MIT Copyright (c) 2011 Debuggable Limited @@ -800,6 +824,31 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +ms +MIT +The MIT License (MIT) + +Copyright (c) 2016 Zeit, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + nextjs-project The MIT License (MIT) @@ -956,6 +1005,31 @@ Felix Geisendörfer (felix@debuggable.com) THE SOFTWARE. +slack-block-builder +MIT +MIT License + +Copyright (c) 2020 Ray East + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + tunnel MIT The MIT License (MIT) diff --git a/.github/actions/next-repo-actions/package.json b/.github/actions/next-repo-actions/package.json index 37272c3825445..822d26841489e 100644 --- a/.github/actions/next-repo-actions/package.json +++ b/.github/actions/next-repo-actions/package.json @@ -5,7 +5,7 @@ "build": "pnpm build-issues-by-version && pnpm build-issues && pnpm build-prs && pnpm build-feature-requests && pnpm build-bankrupt-issues && pnpm build-triage-issues-with-ai", "build-issues-by-version": "ncc build src/issues-by-version.ts -m -o dist/issues-by-version --license licenses.txt", "build-issues": "ncc build src/popular-issues.mjs -m -o dist/issues --license licenses.txt", - "build-prs": "ncc build src/popular-prs.mjs -m -o dist/prs --license licenses.txt", + "build-prs": "ncc build src/popular-prs.ts -m -o dist/prs --license licenses.txt", "build-feature-requests": "ncc build src/popular-feature-requests.mjs -m -o dist/feature-requests --license licenses.txt", "build-bankrupt-issues": "ncc build src/bankrupt-issues.ts -m -o dist/bankrupt --license licenses.txt", "build-triage-issues-with-ai": "ncc build src/triage-issues-with-ai.ts -m -o dist/triage-issues-with-ai --license licenses.txt" @@ -14,13 +14,13 @@ "@actions/core": "^1.10.1", "@actions/exec": "^1.1.1", "@actions/github": "6.0.0", - "@ai-sdk/openai": "^0.0.55", - "@slack/web-api": "^7.3.4", - "ai": "^3.3.26", + "@ai-sdk/openai": "^0.0.62", + "@slack/web-api": "^7.5.0", + "ai": "^3.4.2", "slack-block-builder": "^2.8.0", "zod": "^3.23.8" }, "devDependencies": { - "@vercel/ncc": "^0.38.1" + "@vercel/ncc": "^0.38.2" } } diff --git a/.github/actions/next-repo-actions/src/popular-prs.mjs b/.github/actions/next-repo-actions/src/popular-prs.mjs deleted file mode 100644 index a5836a6595fa5..0000000000000 --- a/.github/actions/next-repo-actions/src/popular-prs.mjs +++ /dev/null @@ -1,78 +0,0 @@ -// @ts-check -import { context, getOctokit } from '@actions/github' -import { setFailed, info } from '@actions/core' -import { WebClient } from '@slack/web-api' -import { formattedDate, ninetyDaysAgo } from '../lib/util.mjs' - -function generateBlocks(prs) { - let text = '' - let count = 0 - - const blocks = [ - { - type: 'divider', - }, - ] - - prs.forEach((pr, i) => { - if (pr.reactions.total_count > 1) { - text += `${i + 1}. [<${pr.html_url}|#${pr.number}>, ${ - pr.reactions.total_count - } reactions, ${formattedDate(pr.created_at)}]: ${pr.title}\n` - count++ - } - }) - - blocks.unshift({ - type: 'section', - text: { - type: 'mrkdwn', - text: `*A list of the top ${count} PRs sorted by the most reactions (> 1) over the last 90 days.*\n_Note: This :github2: will run every Monday at 10AM UTC (6AM EST)._`, - }, - }) - - blocks.push({ - type: 'section', - text: { - type: 'mrkdwn', - text: text, - }, - }) - - return blocks -} - -async function run() { - try { - if (!process.env.GITHUB_TOKEN) throw new TypeError('GITHUB_TOKEN not set') - if (!process.env.SLACK_TOKEN) throw new TypeError('SLACK_TOKEN not set') - - const octoClient = getOctokit(process.env.GITHUB_TOKEN) - const slackClient = new WebClient(process.env.SLACK_TOKEN) - - const { owner, repo } = context.repo - const { data } = await octoClient.rest.search.issuesAndPullRequests({ - order: 'desc', - per_page: 15, - q: `repo:${owner}/${repo} -is:draft is:pr is:open created:>=${ninetyDaysAgo()}`, - sort: 'reactions', - }) - - if (data.items.length > 0) { - await slackClient.chat.postMessage({ - blocks: generateBlocks(data.items), - channel: '#next-info', - icon_emoji: ':github:', - username: 'GitHub Notifier', - }) - - info(`Posted to Slack!`) - } else { - info(`No popular PRs`) - } - } catch (error) { - setFailed(error) - } -} - -run() diff --git a/.github/actions/next-repo-actions/src/popular-prs.ts b/.github/actions/next-repo-actions/src/popular-prs.ts new file mode 100644 index 0000000000000..088ac0f2125b9 --- /dev/null +++ b/.github/actions/next-repo-actions/src/popular-prs.ts @@ -0,0 +1,66 @@ +// @ts-check +import { setFailed, info } from '@actions/core' +import { context, getOctokit } from '@actions/github' +import { WebClient } from '@slack/web-api' +import { BlockCollection, Divider, Section } from 'slack-block-builder' +import { formattedDate, ninetyDaysAgo } from '../lib/util.mjs' + +async function run() { + try { + if (!process.env.GITHUB_TOKEN) throw new TypeError('GITHUB_TOKEN not set') + if (!process.env.SLACK_TOKEN) throw new TypeError('SLACK_TOKEN not set') + + const octoClient = getOctokit(process.env.GITHUB_TOKEN) + const slackClient = new WebClient(process.env.SLACK_TOKEN) + + const { owner, repo } = context.repo + + const { data: prs } = await octoClient.rest.search.issuesAndPullRequests({ + order: 'desc', + per_page: 15, + q: `repo:${owner}/${repo} -is:draft is:pr is:open created:>=${ninetyDaysAgo()}`, + sort: 'reactions', + }) + + if (prs.items.length > 0) { + let text = '' + let count = 0 + + prs.items.forEach((pr, i) => { + if (pr.reactions) { + if (pr.reactions.total_count > 1) { + text += `${i + 1}. [<${pr.html_url}|#${pr.number}>, ${ + pr.reactions.total_count + } reactions, ${formattedDate(pr.created_at)}]: ${pr.title}\n` + count++ + } + } + }) + + const blocks = BlockCollection([ + Section({ + text: `*A list of the top ${count} PRs sorted by the most reactions (> 1) over the last 90 days.*\n_Note: This :github2: will run every Monday at 10AM UTC (6AM EST)._`, + }), + Divider(), + Section({ + text, + }), + ]) + + await slackClient.chat.postMessage({ + blocks, + channel: '#next-info', + icon_emoji: ':github:', + username: 'GitHub Notifier', + }) + + info(`Posted to Slack!`) + } else { + info(`No popular PRs.`) + } + } catch (error) { + setFailed(error) + } +} + +run() diff --git a/.github/pnpm-lock.yaml b/.github/pnpm-lock.yaml index f8c4421971e29..f70394aaf4dd6 100644 --- a/.github/pnpm-lock.yaml +++ b/.github/pnpm-lock.yaml @@ -17,13 +17,13 @@ importers: devDependencies: '@types/node': specifier: ^18.11.0 - version: 22.5.3 + version: 22.6.1 '@vercel/ncc': specifier: 0.34.0 - version: 0.38.1 + version: 0.38.2 typescript: specifier: 5.1.6 - version: 5.5.4 + version: 5.6.2 actions/next-integration-stat: dependencies: @@ -48,13 +48,13 @@ importers: devDependencies: '@types/node': specifier: ^18.11.18 - version: 22.5.3 + version: 22.6.1 '@vercel/ncc': specifier: 0.34.0 - version: 0.38.1 + version: 0.38.2 typescript: specifier: ^4.4.4 - version: 5.5.4 + version: 5.6.2 actions/next-repo-actions: dependencies: @@ -68,14 +68,14 @@ importers: specifier: 6.0.0 version: 6.0.0 '@ai-sdk/openai': - specifier: ^0.0.55 - version: 0.0.55(zod@3.23.8) + specifier: ^0.0.62 + version: 0.0.62(zod@3.23.8) '@slack/web-api': - specifier: ^7.3.4 - version: 7.3.4 + specifier: ^7.5.0 + version: 7.5.0 ai: - specifier: ^3.3.26 - version: 3.3.26(react@18.3.1)(sswr@2.1.0(svelte@4.2.19))(svelte@4.2.19)(vue@3.5.1(typescript@5.5.4))(zod@3.23.8) + specifier: ^3.4.2 + version: 3.4.2(react@18.3.1)(sswr@2.1.0(svelte@4.2.19))(svelte@4.2.19)(vue@3.5.8(typescript@5.6.2))(zod@3.23.8) slack-block-builder: specifier: ^2.8.0 version: 2.8.0 @@ -84,8 +84,8 @@ importers: version: 3.23.8 devDependencies: '@vercel/ncc': - specifier: ^0.38.1 - version: 0.38.1 + specifier: ^0.38.2 + version: 0.38.2 actions/next-stats-action: dependencies: @@ -94,7 +94,7 @@ importers: version: 3.1.1 execa: specifier: 2.0.3 - version: 9.3.1 + version: 9.4.0 get-port: specifier: ^5.0.0 version: 7.1.0 @@ -125,7 +125,7 @@ importers: devDependencies: typescript: specifier: 5.1.6 - version: 5.5.4 + version: 5.6.2 actions/upload-turboyet-data: dependencies: @@ -135,7 +135,7 @@ importers: devDependencies: '@vercel/ncc': specifier: ^0.36.0 - version: 0.38.1 + version: 0.38.2 actions/validate-docs-links: dependencies: @@ -159,7 +159,7 @@ importers: version: 11.0.0 remark-rehype: specifier: 5.0.0 - version: 11.1.0 + version: 11.1.1 unified: specifier: 8.4.1 version: 11.0.5 @@ -172,10 +172,10 @@ importers: version: 2.0.0 '@vercel/ncc': specifier: 0.34.0 - version: 0.38.1 + version: 0.38.2 typescript: specifier: 5.1.6 - version: 5.5.4 + version: 5.6.2 packages: @@ -194,14 +194,14 @@ packages: '@actions/io@1.1.3': resolution: {integrity: sha512-wi9JjgKLYS7U/z8PPbco+PvTb/nRWjeoFlJ1Qer83k/3C5PHQi28hiVdeE2kHXmIL99mQFawx8qt/JPjZilJ8Q==} - '@ai-sdk/openai@0.0.55': - resolution: {integrity: sha512-mYKe5Zqgq+vTtVeyBNLw34TLsWL924q0V6w0x76OgV+tpcyO+MmIc/m6Ego393yRDol2V9BDjmTAfD5jiFv5jw==} + '@ai-sdk/openai@0.0.62': + resolution: {integrity: sha512-qNQmTgZXGS3xyd6XsDGEMLWV3Ag3uAVPJxHVkZLDZ7Dubmgs3Mp8iupkwZ7JhD7TIBx8yifyyBuE1dnE70v8Ig==} engines: {node: '>=18'} peerDependencies: zod: ^3.0.0 - '@ai-sdk/provider-utils@1.0.17': - resolution: {integrity: sha512-2VyeTH5DQ6AxqvwdyytKIeiZyYTyJffpufWjE67zM2sXMIHgYl7fivo8m5wVl6Cbf1dFPSGKq//C9s+lz+NHrQ==} + '@ai-sdk/provider-utils@1.0.19': + resolution: {integrity: sha512-p02Fq5Mnc8T6nwRBN1Iaou8YXvN1sDS6hbmJaD5UaRbXjizbh+8rpFS/o7jqAHTwf3uHCDitP3pnODyHdc/CDQ==} engines: {node: '>=18'} peerDependencies: zod: ^3.0.0 @@ -209,12 +209,12 @@ packages: zod: optional: true - '@ai-sdk/provider@0.0.22': - resolution: {integrity: sha512-smZ1/2jL/JSKnbhC6ama/PxI2D/psj+YAe0c0qpd5ComQCNFltg72VFf0rpUSFMmFuj1pCCNoBOCrvyl8HTZHQ==} + '@ai-sdk/provider@0.0.23': + resolution: {integrity: sha512-oAc49O5+xypVrKM7EUU5P/Y4DUL4JZUWVxhejoAVOTOl3WZUEWsMbP3QZR+TrimQIsS0WR/n9UuF6U0jPdp0tQ==} engines: {node: '>=18'} - '@ai-sdk/react@0.0.54': - resolution: {integrity: sha512-qpDTPbgP2B/RPS9E1IchSUuiOT2X8eY6q9/dT+YITa/9T4zxR1oTGyzR/bb29Eic301YbmfHVG/4x3Dv2nPELA==} + '@ai-sdk/react@0.0.60': + resolution: {integrity: sha512-FCOaAh7sxzUK07cXUTIvyjqrx1I2/8CQk6kcZMDSuec6iXcyPlExxfbDo6/7j7xYRqSQGKxou6rBThdHi6oEUg==} engines: {node: '>=18'} peerDependencies: react: ^18 || ^19 @@ -225,8 +225,8 @@ packages: zod: optional: true - '@ai-sdk/solid@0.0.43': - resolution: {integrity: sha512-7PlPLaeMAu97oOY2gjywvKZMYHF+GDfUxYNcuJ4AZ3/MRBatzs/U2r4ClT1iH8uMOcMg02RX6UKzP5SgnUBjVw==} + '@ai-sdk/solid@0.0.47': + resolution: {integrity: sha512-lVMxIxtuNqoo/TObSFGflEP2dUeJv7bfPQbS4jHTZGBNlyhgBRY2Xc19yNjA3QKRfvQNDVoQusqxn+18MiHJJQ==} engines: {node: '>=18'} peerDependencies: solid-js: ^1.7.7 @@ -234,8 +234,8 @@ packages: solid-js: optional: true - '@ai-sdk/svelte@0.0.45': - resolution: {integrity: sha512-w5Sdl0ArFIM3Fp8BbH4TUvlrS84WP/jN/wC1+fghMOXd7ceVO3Yhs9r71wTqndhgkLC7LAEX9Ll7ZEPfW9WBDA==} + '@ai-sdk/svelte@0.0.49': + resolution: {integrity: sha512-gV0MhaWxkatjf7uJrCAHO3bWrihokNUwGhuMCgyG+y53lwJKAYhR0zCoDRM2HnTJ89fdnx/PVe3R9fOWEVY5qA==} engines: {node: '>=18'} peerDependencies: svelte: ^3.0.0 || ^4.0.0 @@ -243,8 +243,8 @@ packages: svelte: optional: true - '@ai-sdk/ui-utils@0.0.40': - resolution: {integrity: sha512-f0eonPUBO13pIO8jA9IGux7IKMeqpvWK22GBr3tOoSRnO5Wg5GEpXZU1V0Po+unpeZHyEPahrWbj5JfXcyWCqw==} + '@ai-sdk/ui-utils@0.0.44': + resolution: {integrity: sha512-0qiyun/n5zqJzQs/WfQT86dZE5DiDhSHJc7b7ZGLYvNMztHkRQmak2zUCZP4IyGVZEicyEPQK6NEEpBgkmd3Dg==} engines: {node: '>=18'} peerDependencies: zod: ^3.0.0 @@ -252,8 +252,8 @@ packages: zod: optional: true - '@ai-sdk/vue@0.0.45': - resolution: {integrity: sha512-bqeoWZqk88TQmfoPgnFUKkrvhOIcOcSH5LMPgzZ8XwDqz5tHHrMHzpPfHCj7XyYn4ROTFK/2kKdC/ta6Ko0fMw==} + '@ai-sdk/vue@0.0.51': + resolution: {integrity: sha512-6RjuuRGf749EjnsfbETJpF0fmq6a1lF6qUUUnd/Q1Ojf0tX8fI4qwvNykbECZHWuIj42EqZ3HDuNNR9c8oG4rA==} engines: {node: '>=18'} peerDependencies: vue: ^3.3.4 @@ -354,10 +354,6 @@ packages: resolution: {integrity: sha512-3giAOQvZiH5F9bMlMiv8+GSPMeqg0dbaeo58/0SlA9sxSqZhnUtxzX9/2FzyhS9sWQf5S0GJE0AKBrFqjpeYcg==} engines: {node: '>=8.0.0'} - '@pkgjs/parseargs@0.11.0': - resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} - engines: {node: '>=14'} - '@sec-ant/readable-stream@0.4.1': resolution: {integrity: sha512-831qok9r2t8AlxLko40y2ebgSDhenenCatLVeW/uBtnHPyhHOvG0C7TvfgecV+wHzIm5KUICgzmVpWS+IMEAeg==} @@ -369,12 +365,12 @@ packages: resolution: {integrity: sha512-Wz7QYfPAlG/DR+DfABddUZeNgoeY7d1J39OCR2jR+v7VBsB8ezulDK5szTnDDPDwLH5IWhLvXIHlCFZV7MSKgA==} engines: {node: '>= 18', npm: '>= 8.6.0'} - '@slack/types@2.12.0': - resolution: {integrity: sha512-yFewzUomYZ2BYaGJidPuIgjoYj5wqPDmi7DLSaGIkf+rCi4YZ2Z3DaiYIbz7qb/PL2NmamWjCvB7e9ArI5HkKg==} + '@slack/types@2.14.0': + resolution: {integrity: sha512-n0EGm7ENQRxlXbgKSrQZL69grzg1gHLAVd+GlRVQJ1NSORo0FrApR7wql/gaKdu2n4TO83Sq/AmeUOqD60aXUA==} engines: {node: '>= 12.13.0', npm: '>= 6.12.0'} - '@slack/web-api@7.3.4': - resolution: {integrity: sha512-KwLK8dlz2lhr3NO7kbYQ7zgPTXPKrhq1JfQc0etJ0K8LSJhYYnf8GbVznvgDT/Uz1/pBXfFQnoXjrQIOKAdSuw==} + '@slack/web-api@7.5.0': + resolution: {integrity: sha512-e1aRwbdnTVz0uQownF8UoyrQFdSs3uXtkPYWCpcb3fW3KuTEGvmEtVzAvj9gqNSlgpWj0o6is7AdptQCELd/rQ==} engines: {node: '>= 18', npm: '>= 8.6.0'} '@types/debug@4.1.12': @@ -383,8 +379,8 @@ packages: '@types/diff-match-patch@1.0.36': resolution: {integrity: sha512-xFdR6tkm0MWvBfO8xXCSsinYxHcqkQUlcHeSpMC2ukzOb6lwQAfDmW+Qt0AvlGd8HpsS28qKsB+oPeJn9I39jg==} - '@types/estree@1.0.5': - resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} + '@types/estree@1.0.6': + resolution: {integrity: sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==} '@types/github-slugger@2.0.0': resolution: {integrity: sha512-z/FaJhjFPk5mtrsZWeqyvaJdcZKw6CVCTuynEMrcXtgyozN3yMrtL13xWv8uQV2bWtwSXkdiNM37HEKkEj9x1Q==} @@ -399,11 +395,8 @@ packages: '@types/ms@0.7.34': resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==} - '@types/node@22.5.0': - resolution: {integrity: sha512-DkFrJOe+rfdHTqqMg0bSNlGlQ85hSoh2TPzZyhHsXnMtligRWpxUySiyw8FY14ITt24HVCiQPWxS3KO/QlGmWg==} - - '@types/node@22.5.3': - resolution: {integrity: sha512-njripolh85IA9SQGTAqbmnNZTdxv7X/4OYGPz8tgy5JDr8MP+uDBa921GpYEoDDnwm0Hmn5ZPeJgiiSTPoOzkQ==} + '@types/node@22.6.1': + resolution: {integrity: sha512-V48tCfcKb/e6cVUigLAaJDAILdMP0fUW6BidkPK4GpGjXcfbnoHasCZDwz3N3yVt5we2RHm4XTQCpv0KJz9zqw==} '@types/retry@0.12.0': resolution: {integrity: sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA==} @@ -421,46 +414,46 @@ packages: resolution: {integrity: sha512-zdVrhbzZBYo5d1Hfn4bKtqCeKf0FuzW8rSHauzQVMUgv1+1JOwof2mWcBuI+YMJy8s0G0oqAUfQ7HgUDzb8EbA==} engines: {node: '>=14.6'} - '@vercel/ncc@0.38.1': - resolution: {integrity: sha512-IBBb+iI2NLu4VQn3Vwldyi2QwaXt5+hTyh58ggAMoCGE6DJmPvwL3KPBWcJl1m9LYPChBLE980Jw+CS4Wokqxw==} + '@vercel/ncc@0.38.2': + resolution: {integrity: sha512-3yel3jaxUg9pHBv4+KeC9qlbdZPug+UMtUOlhvpDYCMSgcNSrS2Hv1LoqMsOV7hf2lYscx+BESfJOIla1WsmMQ==} hasBin: true - '@vue/compiler-core@3.5.1': - resolution: {integrity: sha512-WdjF+NSgFYdWttHevHw5uaJFtKPalhmxhlu2uREj8cLP0uyKKIR60/JvSZNTp0x+NSd63iTiORQTx3+tt55NWQ==} + '@vue/compiler-core@3.5.8': + resolution: {integrity: sha512-Uzlxp91EPjfbpeO5KtC0KnXPkuTfGsNDeaKQJxQN718uz+RqDYarEf7UhQJGK+ZYloD2taUbHTI2J4WrUaZQNA==} - '@vue/compiler-dom@3.5.1': - resolution: {integrity: sha512-Ao23fB1lINo18HLCbJVApvzd9OQe8MgmQSgyY5+umbWj2w92w9KykVmJ4Iv2US5nak3ixc2B+7Km7JTNhQ8kSQ==} + '@vue/compiler-dom@3.5.8': + resolution: {integrity: sha512-GUNHWvoDSbSa5ZSHT9SnV5WkStWfzJwwTd6NMGzilOE/HM5j+9EB9zGXdtu/fCNEmctBqMs6C9SvVPpVPuk1Eg==} - '@vue/compiler-sfc@3.5.1': - resolution: {integrity: sha512-DFizMNH8eDglLhlfwJ0+ciBsztaYe3fY/zcZjrqL1ljXvUw/UpC84M1d7HpBTCW68SNqZyIxrs1XWmf+73Y65w==} + '@vue/compiler-sfc@3.5.8': + resolution: {integrity: sha512-taYpngQtSysrvO9GULaOSwcG5q821zCoIQBtQQSx7Uf7DxpR6CIHR90toPr9QfDD2mqHQPCSgoWBvJu0yV9zjg==} - '@vue/compiler-ssr@3.5.1': - resolution: {integrity: sha512-C1hpSHQgRM8bg+5XWWD7CkFaVpSn9wZHCLRd10AmxqrH17d4EMP6+XcZpwBOM7H1jeStU5naEapZZWX0kso1tQ==} + '@vue/compiler-ssr@3.5.8': + resolution: {integrity: sha512-W96PtryNsNG9u0ZnN5Q5j27Z/feGrFV6zy9q5tzJVyJaLiwYxvC0ek4IXClZygyhjm+XKM7WD9pdKi/wIRVC/Q==} - '@vue/reactivity@3.5.1': - resolution: {integrity: sha512-aFE1nMDfbG7V+U5vdOk/NXxH/WX78XuAfX59vWmCM7Ao4lieoc83RkzOAWun61sQXlzNZ4IgROovFBHg+Iz1+Q==} + '@vue/reactivity@3.5.8': + resolution: {integrity: sha512-mlgUyFHLCUZcAYkqvzYnlBRCh0t5ZQfLYit7nukn1GR96gc48Bp4B7OIcSfVSvlG1k3BPfD+p22gi1t2n9tsXg==} - '@vue/runtime-core@3.5.1': - resolution: {integrity: sha512-Ce92CCholNRHR3ZtzpRp/7CDGIPFxQ7ElXt9iH91ilK5eOrUv3Z582NWJesuM3aYX71BujVG5/4ypUxigGNxjA==} + '@vue/runtime-core@3.5.8': + resolution: {integrity: sha512-fJuPelh64agZ8vKkZgp5iCkPaEqFJsYzxLk9vSC0X3G8ppknclNDr61gDc45yBGTaN5Xqc1qZWU3/NoaBMHcjQ==} - '@vue/runtime-dom@3.5.1': - resolution: {integrity: sha512-B/fUJfBLp5PwE0EWNfBYnA4JUea8Yufb3wN8fN0/HzaqBdkiRHh4sFHOjWqIY8GS75gj//8VqeEqhcU6yUjIkA==} + '@vue/runtime-dom@3.5.8': + resolution: {integrity: sha512-DpAUz+PKjTZPUOB6zJgkxVI3GuYc2iWZiNeeHQUw53kdrparSTG6HeXUrYDjaam8dVsCdvQxDz6ZWxnyjccUjQ==} - '@vue/server-renderer@3.5.1': - resolution: {integrity: sha512-C5V/fjQTitgVaRNH5wCoHynaWysjZ+VH68drNsAvQYg4ArHsZUQNz0nHoEWRj41nzqkVn2RUlnWaEOTl2o1Ppg==} + '@vue/server-renderer@3.5.8': + resolution: {integrity: sha512-7AmC9/mEeV9mmXNVyUIm1a1AjUhyeeGNbkLh39J00E7iPeGks8OGRB5blJiMmvqSh8SkaS7jkLWSpXtxUCeagA==} peerDependencies: - vue: 3.5.1 + vue: 3.5.8 - '@vue/shared@3.5.1': - resolution: {integrity: sha512-NdcTRoO4KuW2RSFgpE2c+E/R/ZHaRzWPxAGxhmxZaaqLh6nYCXx7lc9a88ioqOCxCaV2SFJmujkxbUScW7dNsQ==} + '@vue/shared@3.5.8': + resolution: {integrity: sha512-mJleSWbAGySd2RJdX1RBtcrUBX6snyOc0qHpgk3lGi4l9/P/3ny3ELqFWqYdkXIwwNN/kdm8nD9ky8o6l/Lx2A==} acorn@8.12.1: resolution: {integrity: sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==} engines: {node: '>=0.4.0'} hasBin: true - ai@3.3.26: - resolution: {integrity: sha512-UOklRlYM7E/mr2WVtz3iluU4Ja68XYlMLEHL2mxggMcrnhN45E1seu2NXpjZsq1anyIkgBbHN14Lo0R4A9jt/A==} + ai@3.4.2: + resolution: {integrity: sha512-IwlmUGb72sgi++KvnjtbjJYByPzevmZNkjzpC/ZoZp8OgmxTqU4oO4oOhBAPof4WipEE+iiW0YPQGvM3JYZxHw==} engines: {node: '>=18'} peerDependencies: openai: ^4.42.0 @@ -499,8 +492,9 @@ packages: argparse@1.0.10: resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==} - aria-query@5.3.0: - resolution: {integrity: sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==} + aria-query@5.3.2: + resolution: {integrity: sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw==} + engines: {node: '>= 0.4'} async-sema@3.1.1: resolution: {integrity: sha512-tLRNUXati5MFePdAk8dw7Qt7DpxPB60ofAgn8WRhW6a2rcimZnYBP9oxHiv0OHy+Wz7kPMG+t4LGdt31+4EmGg==} @@ -508,8 +502,8 @@ packages: asynckit@0.4.0: resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} - axios@1.7.5: - resolution: {integrity: sha512-fZu86yCo+svH3uqJ/yTdQ0QHpQu5oL+/QE+QPSv6BZSkDAoky9vytxp7u5qk83OJFS3kEBcesWni9WTZAv3tSw==} + axios@1.7.7: + resolution: {integrity: sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==} axobject-query@4.1.0: resolution: {integrity: sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ==} @@ -572,8 +566,8 @@ packages: resolution: {integrity: sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==} engines: {node: '>= 12'} - debug@4.3.6: - resolution: {integrity: sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==} + debug@4.3.7: + resolution: {integrity: sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==} engines: {node: '>=6.0'} peerDependencies: supports-color: '*' @@ -638,8 +632,8 @@ packages: resolution: {integrity: sha512-v0eOBUbiaFojBu2s2NPBfYUoRR9GjcDNvCXVaqEf5vVfpIAh9f8RCo4vXTP8c63QRKCFwoLpMpTdPwwhEKVgzA==} engines: {node: '>=14.18'} - execa@9.3.1: - resolution: {integrity: sha512-gdhefCCNy/8tpH/2+ajP9IQc14vXchNdd0weyzSJEFURhRMGncQ+zKFxwjAufIewPEJm9BPOaJnvg2UtlH2gPQ==} + execa@9.4.0: + resolution: {integrity: sha512-yKHlle2YGxZE842MERVIplWwNH5VYmqqcPFgtnlU//K8gxuFFXu0pwd/CrfXTumFpeEiufsP7+opT/bPJa1yVw==} engines: {node: ^18.19.0 || >=20.5.0} extend-shallow@2.0.1: @@ -657,8 +651,8 @@ packages: resolution: {integrity: sha512-d+l3qxjSesT4V7v2fh+QnmFnUWv9lSpjarhShNTgBOfA0ttejbQUAlHLitbjkoRiDulW0OPoQPYIGhIC8ohejg==} engines: {node: '>=18'} - follow-redirects@1.15.6: - resolution: {integrity: sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==} + follow-redirects@1.15.9: + resolution: {integrity: sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==} engines: {node: '>=4.0'} peerDependencies: debug: '*' @@ -750,15 +744,15 @@ packages: resolution: {integrity: sha512-Dnz92NInDqYckGEUJv689RbRiTSEHCQ7wOVeALbkOz999YpqT46yMRIGtSNl2iCL1waAZSx40+h59NV/EwzV/A==} engines: {node: '>=18'} - is-unicode-supported@2.0.0: - resolution: {integrity: sha512-FRdAyx5lusK1iHG0TWpVtk9+1i+GjrzRffhDg4ovQ7mcidMQ6mj+MhKPmvh7Xwyv5gIS06ns49CA7Sqg7lC22Q==} + is-unicode-supported@2.1.0: + resolution: {integrity: sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==} engines: {node: '>=18'} isexe@2.0.0: resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} - jackspeak@4.0.1: - resolution: {integrity: sha512-cub8rahkh0Q/bw1+GxP7aeSe29hHHn2V4m29nnDlvCdlgU+3UGxkZp7Z53jLUdpX3jdTO0nJZUDl3xvbWc2Xog==} + jackspeak@4.0.2: + resolution: {integrity: sha512-bZsjR/iRjl1Nk1UkjGpAzLNfQtzuijhn2g+pbZb98HQ1Gk8vM9hfbxeMBP+M2/UUdwj0RqGG3mlvk2MsAqwvEw==} engines: {node: 20 || >=22} js-tokens@4.0.0: @@ -787,8 +781,8 @@ packages: resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==} hasBin: true - lru-cache@11.0.0: - resolution: {integrity: sha512-Qv32eSV1RSCfhY3fpPE2GNZ8jgM9X7rdAfemLWqTUxwiyIC4jJ6Sy0fZ8H+oLWevO6i4/bizg7c8d8i6bxrzbA==} + lru-cache@11.0.1: + resolution: {integrity: sha512-CgeuL5uom6j/ZVrg7G/+1IXqRY8JXX4Hghfy5YE0EhoYQWvndP1kufu58cmZLNIDKnRhZrXfdS9urVWx98AipQ==} engines: {node: 20 || >=22} magic-string@0.30.11: @@ -885,8 +879,8 @@ packages: resolution: {integrity: sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==} engines: {node: '>=16 || 14 >=14.17'} - ms@2.1.2: - resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} + ms@2.1.3: + resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} nanoid@3.3.6: resolution: {integrity: sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==} @@ -906,9 +900,9 @@ packages: resolution: {integrity: sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - npm-run-path@5.3.0: - resolution: {integrity: sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + npm-run-path@6.0.0: + resolution: {integrity: sha512-9qny7Z9DsQU8Ou39ERsPU4OZQlSTP47ShQzuKZ6PRXpYLtIFgl/DEBYEXKlvcEa+9tHVcK8CF81Y2V72qaZhWA==} + engines: {node: '>=18'} once@1.4.0: resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} @@ -957,8 +951,8 @@ packages: picocolors@1.1.0: resolution: {integrity: sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==} - postcss@8.4.45: - resolution: {integrity: sha512-7KTLTdzdZZYscUc65XmjFiB73vBhBfbPztCYdUNvlaso9PrzjzcmjqBPR0lNGkcVlcO4BjiO5rK/qNz+XAen1Q==} + postcss@8.4.47: + resolution: {integrity: sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==} engines: {node: ^10 || ^12 || >=14} prettier@3.3.3: @@ -990,8 +984,8 @@ packages: remark-parse@11.0.0: resolution: {integrity: sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA==} - remark-rehype@11.1.0: - resolution: {integrity: sha512-z3tJrAs2kIs1AqIIy6pzHmAHlF1hWQ+OdY4/hv+Wxe35EhyLKcajL33iUEn3ScxtFox9nUvRufR/Zre8Q08H/g==} + remark-rehype@11.1.1: + resolution: {integrity: sha512-g/osARvjkBXb6Wo0XvAeXQohVta8i84ACbenPpoSsxTOQH/Ae0/RGP4WZgnMH5pMLpsj4FG7OHmcIcXxpza8eQ==} retry@0.13.1: resolution: {integrity: sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==} @@ -1024,8 +1018,8 @@ packages: slack-block-builder@2.8.0: resolution: {integrity: sha512-iisM+j99iKRuQFVfdWo0FiszDAl3r8Snq704oZH6C0RbDqvoVQStiptt6Y7kc6RX/5hSAqTqjhgvZ/di8cvaIA==} - source-map-js@1.2.0: - resolution: {integrity: sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==} + source-map-js@1.2.1: + resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} engines: {node: '>=0.10.0'} space-separated-tokens@2.0.2: @@ -1094,8 +1088,8 @@ packages: resolution: {integrity: sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==} engines: {node: '>=0.6.11 <=0.7.0 || >=0.7.3'} - typescript@5.5.4: - resolution: {integrity: sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==} + typescript@5.6.2: + resolution: {integrity: sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==} engines: {node: '>=14.17'} hasBin: true @@ -1106,6 +1100,10 @@ packages: resolution: {integrity: sha512-wh1pHJHnUeQV5Xa8/kyQhO7WFa8M34l026L5P/+2TYiakvGy5Rdc8jWZVyG7ieht/0WgJLEd3kcU5gKx+6GC8w==} engines: {node: '>=14.0'} + unicorn-magic@0.3.0: + resolution: {integrity: sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA==} + engines: {node: '>=18'} + unified@11.0.5: resolution: {integrity: sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==} @@ -1145,8 +1143,8 @@ packages: vfile@6.0.3: resolution: {integrity: sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==} - vue@3.5.1: - resolution: {integrity: sha512-k4UNnbPOEskodSxMtv+B9GljdB0C9ubZDOmW6vnXVGIfMqmEsY2+ohasjGguhGkMkrcP/oOrbH0dSD41x5JQFw==} + vue@3.5.8: + resolution: {integrity: sha512-hvuvuCy51nP/1fSRvrrIqTLSvrSyz2Pq+KQ8S8SXCxTWVE0nMaOnSDnSOxV1eYmGfvK7mqiwvd1C59CEEz7dAQ==} peerDependencies: typescript: '*' peerDependenciesMeta: @@ -1216,68 +1214,68 @@ snapshots: '@actions/io@1.1.3': {} - '@ai-sdk/openai@0.0.55(zod@3.23.8)': + '@ai-sdk/openai@0.0.62(zod@3.23.8)': dependencies: - '@ai-sdk/provider': 0.0.22 - '@ai-sdk/provider-utils': 1.0.17(zod@3.23.8) + '@ai-sdk/provider': 0.0.23 + '@ai-sdk/provider-utils': 1.0.19(zod@3.23.8) zod: 3.23.8 - '@ai-sdk/provider-utils@1.0.17(zod@3.23.8)': + '@ai-sdk/provider-utils@1.0.19(zod@3.23.8)': dependencies: - '@ai-sdk/provider': 0.0.22 + '@ai-sdk/provider': 0.0.23 eventsource-parser: 1.1.2 nanoid: 3.3.6 secure-json-parse: 2.7.0 optionalDependencies: zod: 3.23.8 - '@ai-sdk/provider@0.0.22': + '@ai-sdk/provider@0.0.23': dependencies: json-schema: 0.4.0 - '@ai-sdk/react@0.0.54(react@18.3.1)(zod@3.23.8)': + '@ai-sdk/react@0.0.60(react@18.3.1)(zod@3.23.8)': dependencies: - '@ai-sdk/provider-utils': 1.0.17(zod@3.23.8) - '@ai-sdk/ui-utils': 0.0.40(zod@3.23.8) + '@ai-sdk/provider-utils': 1.0.19(zod@3.23.8) + '@ai-sdk/ui-utils': 0.0.44(zod@3.23.8) swr: 2.2.5(react@18.3.1) optionalDependencies: react: 18.3.1 zod: 3.23.8 - '@ai-sdk/solid@0.0.43(zod@3.23.8)': + '@ai-sdk/solid@0.0.47(zod@3.23.8)': dependencies: - '@ai-sdk/provider-utils': 1.0.17(zod@3.23.8) - '@ai-sdk/ui-utils': 0.0.40(zod@3.23.8) + '@ai-sdk/provider-utils': 1.0.19(zod@3.23.8) + '@ai-sdk/ui-utils': 0.0.44(zod@3.23.8) transitivePeerDependencies: - zod - '@ai-sdk/svelte@0.0.45(svelte@4.2.19)(zod@3.23.8)': + '@ai-sdk/svelte@0.0.49(svelte@4.2.19)(zod@3.23.8)': dependencies: - '@ai-sdk/provider-utils': 1.0.17(zod@3.23.8) - '@ai-sdk/ui-utils': 0.0.40(zod@3.23.8) + '@ai-sdk/provider-utils': 1.0.19(zod@3.23.8) + '@ai-sdk/ui-utils': 0.0.44(zod@3.23.8) sswr: 2.1.0(svelte@4.2.19) optionalDependencies: svelte: 4.2.19 transitivePeerDependencies: - zod - '@ai-sdk/ui-utils@0.0.40(zod@3.23.8)': + '@ai-sdk/ui-utils@0.0.44(zod@3.23.8)': dependencies: - '@ai-sdk/provider': 0.0.22 - '@ai-sdk/provider-utils': 1.0.17(zod@3.23.8) + '@ai-sdk/provider': 0.0.23 + '@ai-sdk/provider-utils': 1.0.19(zod@3.23.8) json-schema: 0.4.0 secure-json-parse: 2.7.0 zod-to-json-schema: 3.23.2(zod@3.23.8) optionalDependencies: zod: 3.23.8 - '@ai-sdk/vue@0.0.45(vue@3.5.1(typescript@5.5.4))(zod@3.23.8)': + '@ai-sdk/vue@0.0.51(vue@3.5.8(typescript@5.6.2))(zod@3.23.8)': dependencies: - '@ai-sdk/provider-utils': 1.0.17(zod@3.23.8) - '@ai-sdk/ui-utils': 0.0.40(zod@3.23.8) - swrv: 1.0.4(vue@3.5.1(typescript@5.5.4)) + '@ai-sdk/provider-utils': 1.0.19(zod@3.23.8) + '@ai-sdk/ui-utils': 0.0.44(zod@3.23.8) + swrv: 1.0.4(vue@3.5.8(typescript@5.6.2)) optionalDependencies: - vue: 3.5.1(typescript@5.5.4) + vue: 3.5.8(typescript@5.6.2) transitivePeerDependencies: - zod @@ -1382,26 +1380,23 @@ snapshots: '@opentelemetry/api@1.9.0': {} - '@pkgjs/parseargs@0.11.0': - optional: true - '@sec-ant/readable-stream@0.4.1': {} '@sindresorhus/merge-streams@4.0.0': {} '@slack/logger@4.0.0': dependencies: - '@types/node': 22.5.0 + '@types/node': 22.6.1 - '@slack/types@2.12.0': {} + '@slack/types@2.14.0': {} - '@slack/web-api@7.3.4': + '@slack/web-api@7.5.0': dependencies: '@slack/logger': 4.0.0 - '@slack/types': 2.12.0 - '@types/node': 22.5.0 + '@slack/types': 2.14.0 + '@types/node': 22.6.1 '@types/retry': 0.12.0 - axios: 1.7.5 + axios: 1.7.7 eventemitter3: 5.0.1 form-data: 4.0.0 is-electron: 2.2.2 @@ -1418,7 +1413,7 @@ snapshots: '@types/diff-match-patch@1.0.36': {} - '@types/estree@1.0.5': {} + '@types/estree@1.0.6': {} '@types/github-slugger@2.0.0': dependencies: @@ -1434,11 +1429,7 @@ snapshots: '@types/ms@0.7.34': {} - '@types/node@22.5.0': - dependencies: - undici-types: 6.19.8 - - '@types/node@22.5.3': + '@types/node@22.6.1': dependencies: undici-types: 6.19.8 @@ -1456,73 +1447,73 @@ snapshots: dependencies: '@upstash/redis': 1.34.0 - '@vercel/ncc@0.38.1': {} + '@vercel/ncc@0.38.2': {} - '@vue/compiler-core@3.5.1': + '@vue/compiler-core@3.5.8': dependencies: '@babel/parser': 7.25.6 - '@vue/shared': 3.5.1 + '@vue/shared': 3.5.8 entities: 4.5.0 estree-walker: 2.0.2 - source-map-js: 1.2.0 + source-map-js: 1.2.1 - '@vue/compiler-dom@3.5.1': + '@vue/compiler-dom@3.5.8': dependencies: - '@vue/compiler-core': 3.5.1 - '@vue/shared': 3.5.1 + '@vue/compiler-core': 3.5.8 + '@vue/shared': 3.5.8 - '@vue/compiler-sfc@3.5.1': + '@vue/compiler-sfc@3.5.8': dependencies: '@babel/parser': 7.25.6 - '@vue/compiler-core': 3.5.1 - '@vue/compiler-dom': 3.5.1 - '@vue/compiler-ssr': 3.5.1 - '@vue/shared': 3.5.1 + '@vue/compiler-core': 3.5.8 + '@vue/compiler-dom': 3.5.8 + '@vue/compiler-ssr': 3.5.8 + '@vue/shared': 3.5.8 estree-walker: 2.0.2 magic-string: 0.30.11 - postcss: 8.4.45 - source-map-js: 1.2.0 + postcss: 8.4.47 + source-map-js: 1.2.1 - '@vue/compiler-ssr@3.5.1': + '@vue/compiler-ssr@3.5.8': dependencies: - '@vue/compiler-dom': 3.5.1 - '@vue/shared': 3.5.1 + '@vue/compiler-dom': 3.5.8 + '@vue/shared': 3.5.8 - '@vue/reactivity@3.5.1': + '@vue/reactivity@3.5.8': dependencies: - '@vue/shared': 3.5.1 + '@vue/shared': 3.5.8 - '@vue/runtime-core@3.5.1': + '@vue/runtime-core@3.5.8': dependencies: - '@vue/reactivity': 3.5.1 - '@vue/shared': 3.5.1 + '@vue/reactivity': 3.5.8 + '@vue/shared': 3.5.8 - '@vue/runtime-dom@3.5.1': + '@vue/runtime-dom@3.5.8': dependencies: - '@vue/reactivity': 3.5.1 - '@vue/runtime-core': 3.5.1 - '@vue/shared': 3.5.1 + '@vue/reactivity': 3.5.8 + '@vue/runtime-core': 3.5.8 + '@vue/shared': 3.5.8 csstype: 3.1.3 - '@vue/server-renderer@3.5.1(vue@3.5.1(typescript@5.5.4))': + '@vue/server-renderer@3.5.8(vue@3.5.8(typescript@5.6.2))': dependencies: - '@vue/compiler-ssr': 3.5.1 - '@vue/shared': 3.5.1 - vue: 3.5.1(typescript@5.5.4) + '@vue/compiler-ssr': 3.5.8 + '@vue/shared': 3.5.8 + vue: 3.5.8(typescript@5.6.2) - '@vue/shared@3.5.1': {} + '@vue/shared@3.5.8': {} acorn@8.12.1: {} - ai@3.3.26(react@18.3.1)(sswr@2.1.0(svelte@4.2.19))(svelte@4.2.19)(vue@3.5.1(typescript@5.5.4))(zod@3.23.8): + ai@3.4.2(react@18.3.1)(sswr@2.1.0(svelte@4.2.19))(svelte@4.2.19)(vue@3.5.8(typescript@5.6.2))(zod@3.23.8): dependencies: - '@ai-sdk/provider': 0.0.22 - '@ai-sdk/provider-utils': 1.0.17(zod@3.23.8) - '@ai-sdk/react': 0.0.54(react@18.3.1)(zod@3.23.8) - '@ai-sdk/solid': 0.0.43(zod@3.23.8) - '@ai-sdk/svelte': 0.0.45(svelte@4.2.19)(zod@3.23.8) - '@ai-sdk/ui-utils': 0.0.40(zod@3.23.8) - '@ai-sdk/vue': 0.0.45(vue@3.5.1(typescript@5.5.4))(zod@3.23.8) + '@ai-sdk/provider': 0.0.23 + '@ai-sdk/provider-utils': 1.0.19(zod@3.23.8) + '@ai-sdk/react': 0.0.60(react@18.3.1)(zod@3.23.8) + '@ai-sdk/solid': 0.0.47(zod@3.23.8) + '@ai-sdk/svelte': 0.0.49(svelte@4.2.19)(zod@3.23.8) + '@ai-sdk/ui-utils': 0.0.44(zod@3.23.8) + '@ai-sdk/vue': 0.0.51(vue@3.5.8(typescript@5.6.2))(zod@3.23.8) '@opentelemetry/api': 1.9.0 eventsource-parser: 1.1.2 json-schema: 0.4.0 @@ -1553,17 +1544,15 @@ snapshots: dependencies: sprintf-js: 1.0.3 - aria-query@5.3.0: - dependencies: - dequal: 2.0.3 + aria-query@5.3.2: {} async-sema@3.1.1: {} asynckit@0.4.0: {} - axios@1.7.5: + axios@1.7.7: dependencies: - follow-redirects: 1.15.6 + follow-redirects: 1.15.9 form-data: 4.0.0 proxy-from-env: 1.1.0 transitivePeerDependencies: @@ -1590,7 +1579,7 @@ snapshots: code-red@1.0.4: dependencies: '@jridgewell/sourcemap-codec': 1.5.0 - '@types/estree': 1.0.5 + '@types/estree': 1.0.6 acorn: 8.12.1 estree-walker: 3.0.3 periscopic: 3.1.0 @@ -1618,15 +1607,15 @@ snapshots: css-tree@2.3.1: dependencies: mdn-data: 2.0.30 - source-map-js: 1.2.0 + source-map-js: 1.2.1 csstype@3.1.3: {} data-uri-to-buffer@4.0.1: {} - debug@4.3.6: + debug@4.3.7: dependencies: - ms: 2.1.2 + ms: 2.1.3 decode-named-character-reference@1.0.2: dependencies: @@ -1660,7 +1649,7 @@ snapshots: estree-walker@3.0.3: dependencies: - '@types/estree': 1.0.5 + '@types/estree': 1.0.6 eventemitter3@4.0.7: {} @@ -1668,7 +1657,7 @@ snapshots: eventsource-parser@1.1.2: {} - execa@9.3.1: + execa@9.4.0: dependencies: '@sindresorhus/merge-streams': 4.0.0 cross-spawn: 7.0.3 @@ -1677,7 +1666,7 @@ snapshots: human-signals: 8.0.0 is-plain-obj: 4.1.0 is-stream: 4.0.1 - npm-run-path: 5.3.0 + npm-run-path: 6.0.0 pretty-ms: 9.1.0 signal-exit: 4.1.0 strip-final-newline: 4.0.0 @@ -1696,9 +1685,9 @@ snapshots: figures@6.1.0: dependencies: - is-unicode-supported: 2.0.0 + is-unicode-supported: 2.1.0 - follow-redirects@1.15.6: {} + follow-redirects@1.15.9: {} foreground-child@3.3.0: dependencies: @@ -1727,7 +1716,7 @@ snapshots: glob@11.0.0: dependencies: foreground-child: 3.3.0 - jackspeak: 4.0.1 + jackspeak: 4.0.2 minimatch: 10.0.1 minipass: 7.1.2 package-json-from-dist: 1.0.0 @@ -1807,21 +1796,19 @@ snapshots: is-reference@3.0.2: dependencies: - '@types/estree': 1.0.5 + '@types/estree': 1.0.6 is-stream@2.0.1: {} is-stream@4.0.1: {} - is-unicode-supported@2.0.0: {} + is-unicode-supported@2.1.0: {} isexe@2.0.0: {} - jackspeak@4.0.1: + jackspeak@4.0.2: dependencies: '@isaacs/cliui': 8.0.2 - optionalDependencies: - '@pkgjs/parseargs': 0.11.0 js-tokens@4.0.0: {} @@ -1846,7 +1833,7 @@ snapshots: dependencies: js-tokens: 4.0.0 - lru-cache@11.0.0: {} + lru-cache@11.0.1: {} magic-string@0.30.11: dependencies: @@ -2001,7 +1988,7 @@ snapshots: micromark@4.0.0: dependencies: '@types/debug': 4.1.12 - debug: 4.3.6 + debug: 4.3.7 decode-named-character-reference: 1.0.2 devlop: 1.1.0 micromark-core-commonmark: 2.0.1 @@ -2032,7 +2019,7 @@ snapshots: minipass@7.1.2: {} - ms@2.1.2: {} + ms@2.1.3: {} nanoid@3.3.6: {} @@ -2046,9 +2033,10 @@ snapshots: fetch-blob: 3.2.0 formdata-polyfill: 4.0.10 - npm-run-path@5.3.0: + npm-run-path@6.0.0: dependencies: path-key: 4.0.0 + unicorn-magic: 0.3.0 once@1.4.0: dependencies: @@ -2084,22 +2072,22 @@ snapshots: path-scurry@2.0.0: dependencies: - lru-cache: 11.0.0 + lru-cache: 11.0.1 minipass: 7.1.2 periscopic@3.1.0: dependencies: - '@types/estree': 1.0.5 + '@types/estree': 1.0.6 estree-walker: 3.0.3 is-reference: 3.0.2 picocolors@1.1.0: {} - postcss@8.4.45: + postcss@8.4.47: dependencies: nanoid: 3.3.7 picocolors: 1.1.0 - source-map-js: 1.2.0 + source-map-js: 1.2.1 prettier@3.3.3: {} @@ -2132,7 +2120,7 @@ snapshots: transitivePeerDependencies: - supports-color - remark-rehype@11.1.0: + remark-rehype@11.1.1: dependencies: '@types/hast': 3.0.4 '@types/mdast': 4.0.4 @@ -2161,7 +2149,7 @@ snapshots: slack-block-builder@2.8.0: {} - source-map-js@1.2.0: {} + source-map-js@1.2.1: {} space-separated-tokens@2.0.2: {} @@ -2201,9 +2189,9 @@ snapshots: '@ampproject/remapping': 2.3.0 '@jridgewell/sourcemap-codec': 1.5.0 '@jridgewell/trace-mapping': 0.3.25 - '@types/estree': 1.0.5 + '@types/estree': 1.0.6 acorn: 8.12.1 - aria-query: 5.3.0 + aria-query: 5.3.2 axobject-query: 4.1.0 code-red: 1.0.4 css-tree: 2.3.1 @@ -2221,9 +2209,9 @@ snapshots: swrev@4.0.0: {} - swrv@1.0.4(vue@3.5.1(typescript@5.5.4)): + swrv@1.0.4(vue@3.5.8(typescript@5.6.2)): dependencies: - vue: 3.5.1(typescript@5.5.4) + vue: 3.5.8(typescript@5.6.2) to-fast-properties@2.0.0: {} @@ -2233,7 +2221,7 @@ snapshots: tunnel@0.0.6: {} - typescript@5.5.4: {} + typescript@5.6.2: {} undici-types@6.19.8: {} @@ -2241,6 +2229,8 @@ snapshots: dependencies: '@fastify/busboy': 2.1.0 + unicorn-magic@0.3.0: {} + unified@11.0.5: dependencies: '@types/unist': 3.0.3 @@ -2297,15 +2287,15 @@ snapshots: '@types/unist': 3.0.3 vfile-message: 4.0.2 - vue@3.5.1(typescript@5.5.4): + vue@3.5.8(typescript@5.6.2): dependencies: - '@vue/compiler-dom': 3.5.1 - '@vue/compiler-sfc': 3.5.1 - '@vue/runtime-dom': 3.5.1 - '@vue/server-renderer': 3.5.1(vue@3.5.1(typescript@5.5.4)) - '@vue/shared': 3.5.1 + '@vue/compiler-dom': 3.5.8 + '@vue/compiler-sfc': 3.5.8 + '@vue/runtime-dom': 3.5.8 + '@vue/server-renderer': 3.5.8(vue@3.5.8(typescript@5.6.2)) + '@vue/shared': 3.5.8 optionalDependencies: - typescript: 5.5.4 + typescript: 5.6.2 web-namespaces@2.0.1: {} diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 46c28490a56db..fa4019ab1d848 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -202,10 +202,12 @@ jobs: fail-fast: false matrix: group: [1/5, 2/5, 3/5, 4/5, 5/5] + # Empty value uses default + react: ['', '18.3.1'] uses: ./.github/workflows/build_reusable.yml with: - afterBuild: RUST_BACKTRACE=0 NEXT_EXTERNAL_TESTS_FILTERS="$(pwd)/test/turbopack-dev-tests-manifest.json" TURBOPACK=1 TURBOPACK_DEV=1 NEXT_E2E_TEST_TIMEOUT=240000 NEXT_TEST_MODE=dev node run-tests.js --test-pattern '^(test\/(development|e2e))/.*\.test\.(js|jsx|ts|tsx)$' --timings -g ${{ matrix.group }} -c ${TEST_CONCURRENCY} - stepName: 'test-turbopack-dev-${{ matrix.group }}' + afterBuild: RUST_BACKTRACE=0 NEXT_EXTERNAL_TESTS_FILTERS="$(pwd)/test/turbopack-dev-tests-manifest.json" TURBOPACK=1 TURBOPACK_DEV=1 NEXT_E2E_TEST_TIMEOUT=240000 NEXT_TEST_MODE=dev NEXT_TEST_REACT_VERSION="${{ matrix.react }}" node run-tests.js --test-pattern '^(test\/(development|e2e))/.*\.test\.(js|jsx|ts|tsx)$' --timings -g ${{ matrix.group }} -c ${TEST_CONCURRENCY} + stepName: 'test-turbopack-dev-react-${{ matrix.react }}-${{ matrix.group }}' secrets: inherit test-turbopack-integration: @@ -217,11 +219,13 @@ jobs: fail-fast: false matrix: group: [1/5, 2/5, 3/5, 4/5, 5/5] + # Empty value uses default + react: [''] uses: ./.github/workflows/build_reusable.yml with: nodeVersion: 18.18.2 - afterBuild: RUST_BACKTRACE=0 NEXT_EXTERNAL_TESTS_FILTERS="$(pwd)/test/turbopack-dev-tests-manifest.json" TURBOPACK=1 TURBOPACK_DEV=1 node run-tests.js --timings -g ${{ matrix.group }} -c ${TEST_CONCURRENCY} --type integration - stepName: 'test-turbopack-integration-${{ matrix.group }}' + afterBuild: RUST_BACKTRACE=0 NEXT_EXTERNAL_TESTS_FILTERS="$(pwd)/test/turbopack-dev-tests-manifest.json" TURBOPACK=1 TURBOPACK_DEV=1 NEXT_TEST_REACT_VERSION="${{ matrix.react }}" node run-tests.js --timings -g ${{ matrix.group }} -c ${TEST_CONCURRENCY} --type integration + stepName: 'test-turbopack-integration-react-${{ matrix.react }}-${{ matrix.group }}' secrets: inherit test-turbopack-production: @@ -233,11 +237,17 @@ jobs: fail-fast: false matrix: group: [1/5, 2/5, 3/5, 4/5, 5/5] + # Empty value uses default + # TODO: Run with React 18. + # Integration tests use the installed React version in next/package.json.include: + # We can't easily switch like we do for e2e tests. + # Skipping this dimensions until we can figure out a way to test multiple React versions. + react: ['', '18.3.1'] uses: ./.github/workflows/build_reusable.yml with: nodeVersion: 18.18.2 - afterBuild: RUST_BACKTRACE=0 NEXT_EXTERNAL_TESTS_FILTERS="$(pwd)/test/turbopack-build-tests-manifest.json" TURBOPACK=1 TURBOPACK_BUILD=1 NEXT_TEST_MODE=start node run-tests.js --timings -g ${{ matrix.group }} -c ${TEST_CONCURRENCY} --type production - stepName: 'test-turbopack-production-${{ matrix.group }}' + afterBuild: RUST_BACKTRACE=0 NEXT_EXTERNAL_TESTS_FILTERS="$(pwd)/test/turbopack-build-tests-manifest.json" TURBOPACK=1 TURBOPACK_BUILD=1 NEXT_TEST_MODE=start NEXT_TEST_REACT_VERSION="${{ matrix.react }}" node run-tests.js --timings -g ${{ matrix.group }} -c ${TEST_CONCURRENCY} --type production + stepName: 'test-turbopack-production-react-${{ matrix.react }}-${{ matrix.group }}' secrets: inherit test-turbopack-production-integration: @@ -362,10 +372,12 @@ jobs: fail-fast: false matrix: group: [1/4, 2/4, 3/4, 4/4] + # Empty value uses default + react: ['', '18.3.1'] uses: ./.github/workflows/build_reusable.yml with: - afterBuild: NEXT_TEST_MODE=dev node run-tests.js --timings -g ${{ matrix.group }} -c ${TEST_CONCURRENCY} --type development - stepName: 'test-dev-${{ matrix.group }}' + afterBuild: NEXT_TEST_MODE=dev NEXT_TEST_REACT_VERSION="${{ matrix.react }}" node run-tests.js --timings -g ${{ matrix.group }} -c ${TEST_CONCURRENCY} --type development + stepName: 'test-dev-react-${{ matrix.react }}-${{ matrix.group }}' secrets: inherit test-prod: @@ -377,10 +389,12 @@ jobs: fail-fast: false matrix: group: [1/5, 2/5, 3/5, 4/5, 5/5] + # Empty value uses default + react: ['', '18.3.1'] uses: ./.github/workflows/build_reusable.yml with: - afterBuild: NEXT_TEST_MODE=start node run-tests.js --timings -g ${{ matrix.group }} -c ${TEST_CONCURRENCY} --type production - stepName: 'test-prod-${{ matrix.group }}' + afterBuild: NEXT_TEST_MODE=start NEXT_TEST_REACT_VERSION="${{ matrix.react }}" node run-tests.js --timings -g ${{ matrix.group }} -c ${TEST_CONCURRENCY} --type production + stepName: 'test-prod-react-${{ matrix.react }}-${{ matrix.group }}' secrets: inherit test-integration: @@ -404,11 +418,17 @@ jobs: - 10/12 - 11/12 - 12/12 + # Empty value uses default + # TODO: Run with React 18. + # Integration tests use the installed React version in next/package.json.include: + # We can't easily switch like we do for e2e tests. + # Skipping this dimensions until we can figure out a way to test multiple React versions. + react: [''] uses: ./.github/workflows/build_reusable.yml with: nodeVersion: 18.18.2 - afterBuild: node run-tests.js --timings -g ${{ matrix.group }} -c ${TEST_CONCURRENCY} --type integration - stepName: 'test-integration-${{ matrix.group }}' + afterBuild: NEXT_TEST_REACT_VERSION="${{ matrix.react }}" node run-tests.js --timings -g ${{ matrix.group }} -c ${TEST_CONCURRENCY} --type integration + stepName: 'test-integration-${{ matrix.group }}-react-${{ matrix.react }}' secrets: inherit test-firefox-safari: diff --git a/.github/workflows/popular.yml b/.github/workflows/popular.yml index 1e063f5b10125..b97f2609306a9 100644 --- a/.github/workflows/popular.yml +++ b/.github/workflows/popular.yml @@ -17,7 +17,7 @@ jobs: run: node ./.github/actions/next-repo-actions/dist/issues/index.mjs continue-on-error: true - name: 'PRs: Send notification to Slack' - run: node ./.github/actions/next-repo-actions/dist/prs/index.mjs + run: node ./.github/actions/next-repo-actions/dist/prs/index.js continue-on-error: true - name: 'Feature requests: Send notification to Slack' run: node ./.github/actions/next-repo-actions/dist/feature-requests/index.mjs diff --git a/.vscode/settings.json b/.vscode/settings.json index 3d20fb8fd52b0..0f288b28648a1 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -57,13 +57,32 @@ "RUST_BACKTRACE": "0" }, "cSpell.words": [ + "codemod", + "codemods", + "Destructuring", + "buildtime", + "callsites", + "codemod", + "datastream", + "deduped", + "draftmode", "Entrypoints", + "jscodeshift", "napi", + "navigations", "nextjs", "opentelemetry", + "Preinit", "prerendered", + "prerendering", + "proxied", + "renderable", + "revalidates", + "subresource", + "thenables", "Threadsafe", "Turbopack", + "unproxied", "zipkin" ], "grammarly.selectors": [ diff --git a/crates/napi/src/app_structure.rs b/crates/napi/src/app_structure.rs deleted file mode 100644 index 26f77ec53a824..0000000000000 --- a/crates/napi/src/app_structure.rs +++ /dev/null @@ -1,440 +0,0 @@ -use std::{collections::HashMap, path::MAIN_SEPARATOR, sync::Arc}; - -use anyhow::{anyhow, Result}; -use indexmap::IndexMap; -use napi::{ - bindgen_prelude::External, - threadsafe_function::{ErrorStrategy, ThreadsafeFunction, ThreadsafeFunctionCallMode}, - JsFunction, -}; -use next_core::app_structure::{ - find_app_dir, get_entrypoints as get_entrypoints_impl, Components, Entrypoint, Entrypoints, - LoaderTree, MetadataItem, MetadataWithAltItem, -}; -use serde::{Deserialize, Serialize}; -use turbo_tasks::{ - debug::ValueDebugFormat, trace::TraceRawVcs, RcStr, ReadRef, TryJoinIterExt, TurboTasks, - ValueToString, Vc, -}; -use turbo_tasks_fs::{DiskFileSystem, FileSystem, FileSystemPath}; -use turbo_tasks_memory::MemoryBackend; -use turbopack_core::PROJECT_FILESYSTEM_NAME; - -use crate::register; - -#[turbo_tasks::function] -async fn project_fs(project_dir: RcStr, watching: bool) -> Result>> { - let disk_fs = DiskFileSystem::new(PROJECT_FILESYSTEM_NAME.into(), project_dir, vec![]); - if watching { - disk_fs.await?.start_watching_with_invalidation_reason()?; - } - Ok(Vc::upcast(disk_fs)) -} - -#[turbo_tasks::value] -#[serde(rename_all = "camelCase")] -struct LoaderTreeForJs { - segment: RcStr, - parallel_routes: IndexMap, - #[turbo_tasks(trace_ignore)] - components: ComponentsForJs, - #[turbo_tasks(trace_ignore)] - global_metadata: GlobalMetadataForJs, -} - -#[derive(PartialEq, Eq, Serialize, Deserialize, ValueDebugFormat, TraceRawVcs)] -#[serde(rename_all = "camelCase")] -enum EntrypointForJs { - AppPage { - loader_tree: ReadRef, - }, - AppRoute { - path: RcStr, - }, -} - -#[turbo_tasks::value(transparent)] -#[serde(rename_all = "camelCase")] -struct EntrypointsForJs(HashMap); - -#[turbo_tasks::value(transparent)] -struct OptionEntrypointsForJs(Option>); - -async fn fs_path_to_path( - project_path: Vc, - path: Vc, -) -> Result { - match project_path.await?.get_path_to(&*path.await?) { - None => Err(anyhow!( - "Path {} is not inside of the project path {}", - path.to_string().await?, - project_path.to_string().await? - )), - Some(p) => Ok(p.into()), - } -} - -#[derive(Default, Deserialize, Serialize, PartialEq, Eq, ValueDebugFormat)] -#[serde(rename_all = "camelCase")] -struct ComponentsForJs { - #[serde(skip_serializing_if = "Option::is_none")] - page: Option, - #[serde(skip_serializing_if = "Option::is_none")] - layout: Option, - #[serde(skip_serializing_if = "Option::is_none")] - error: Option, - #[serde(skip_serializing_if = "Option::is_none")] - loading: Option, - #[serde(skip_serializing_if = "Option::is_none")] - template: Option, - #[serde(skip_serializing_if = "Option::is_none", rename = "not-found")] - not_found: Option, - #[serde(skip_serializing_if = "Option::is_none")] - default: Option, - #[serde(skip_serializing_if = "Option::is_none")] - route: Option, - metadata: MetadataForJs, -} - -#[derive(Default, Deserialize, Serialize, PartialEq, Eq, ValueDebugFormat)] -#[serde(rename_all = "camelCase")] -struct MetadataForJs { - #[serde(skip_serializing_if = "Vec::is_empty")] - icon: Vec, - #[serde(skip_serializing_if = "Vec::is_empty")] - apple: Vec, - #[serde(skip_serializing_if = "Vec::is_empty")] - twitter: Vec, - #[serde(skip_serializing_if = "Vec::is_empty")] - open_graph: Vec, - #[serde(skip_serializing_if = "Option::is_none")] - sitemap: Option, -} - -#[derive(Default, Deserialize, Serialize, PartialEq, Eq, ValueDebugFormat)] -#[serde(rename_all = "camelCase")] -struct GlobalMetadataForJs { - #[serde(skip_serializing_if = "Option::is_none")] - favicon: Option, - #[serde(skip_serializing_if = "Option::is_none")] - robots: Option, - #[serde(skip_serializing_if = "Option::is_none")] - manifest: Option, -} - -#[derive(Deserialize, Serialize, PartialEq, Eq, ValueDebugFormat)] -#[serde(tag = "type", rename_all = "camelCase")] -enum MetadataWithAltItemForJs { - Static { - path: RcStr, - alt_path: Option, - }, - Dynamic { - path: RcStr, - }, -} - -#[derive(Deserialize, Serialize, PartialEq, Eq, ValueDebugFormat)] -#[serde(tag = "type", rename_all = "camelCase")] -enum MetadataItemForJs { - Static { path: RcStr }, - Dynamic { path: RcStr }, -} - -async fn prepare_components_for_js( - project_path: Vc, - components: &Components, -) -> Result { - let Components { - page, - layout, - error, - global_error: _, - loading, - template, - not_found, - default, - route, - metadata, - } = &components; - let mut result = ComponentsForJs::default(); - async fn add( - result: &mut Option, - project_path: Vc, - value: &Option>, - ) -> Result<()> { - if let Some(value) = value { - *result = Some(fs_path_to_path(project_path, *value).await?); - } - Ok::<_, anyhow::Error>(()) - } - add(&mut result.page, project_path, page).await?; - add(&mut result.layout, project_path, layout).await?; - add(&mut result.error, project_path, error).await?; - add(&mut result.loading, project_path, loading).await?; - add(&mut result.template, project_path, template).await?; - add(&mut result.not_found, project_path, not_found).await?; - add(&mut result.default, project_path, default).await?; - add(&mut result.route, project_path, route).await?; - - let meta = &mut result.metadata; - add_meta_vec(&mut meta.icon, project_path, metadata.icon.iter()).await?; - add_meta_vec(&mut meta.apple, project_path, metadata.apple.iter()).await?; - add_meta_vec(&mut meta.twitter, project_path, metadata.twitter.iter()).await?; - add_meta_vec( - &mut meta.open_graph, - project_path, - metadata.open_graph.iter(), - ) - .await?; - add_meta(&mut meta.sitemap, project_path, metadata.sitemap).await?; - Ok(result) -} - -async fn add_meta_vec<'a>( - meta: &mut Vec, - project_path: Vc, - value: impl Iterator, -) -> Result<()> { - let mut value = value.peekable(); - if value.peek().is_some() { - *meta = value - .map(|value| async move { - Ok(match value { - MetadataWithAltItem::Static { path, alt_path } => { - let path = fs_path_to_path(project_path, *path).await?; - let alt_path = if let Some(alt_path) = alt_path { - Some(fs_path_to_path(project_path, *alt_path).await?) - } else { - None - }; - MetadataWithAltItemForJs::Static { path, alt_path } - } - MetadataWithAltItem::Dynamic { path } => { - let path = fs_path_to_path(project_path, *path).await?; - MetadataWithAltItemForJs::Dynamic { path } - } - }) - }) - .try_join() - .await?; - } - - Ok(()) -} - -async fn add_meta<'a>( - meta: &mut Option, - project_path: Vc, - value: Option, -) -> Result<()> { - if value.is_some() { - *meta = match value { - Some(MetadataItem::Static { path }) => { - let path = fs_path_to_path(project_path, path).await?; - Some(MetadataItemForJs::Static { path }) - } - Some(MetadataItem::Dynamic { path }) => { - let path = fs_path_to_path(project_path, path).await?; - Some(MetadataItemForJs::Dynamic { path }) - } - None => None, - }; - } - - Ok(()) -} - -#[turbo_tasks::function] -async fn prepare_loader_tree_for_js( - project_path: Vc, - loader_tree: Vc, -) -> Result> { - let loader_tree = &*loader_tree.await?; - - Ok( - prepare_loader_tree_for_js_internal(project_path, loader_tree) - .await? - .cell(), - ) -} - -async fn prepare_loader_tree_for_js_internal( - project_path: Vc, - loader_tree: &LoaderTree, -) -> Result { - let LoaderTree { - page: _, - segment, - parallel_routes, - components, - global_metadata, - } = &loader_tree; - - let parallel_routes = parallel_routes - .iter() - .map(|(key, value)| async move { - Ok(( - key.clone(), - prepare_loader_tree_for_js_internal(project_path, value).await?, - )) - }) - .try_join() - .await? - .into_iter() - .collect(); - - let components = prepare_components_for_js(project_path, components).await?; - - let global_metadata = global_metadata.await?; - - let mut meta = GlobalMetadataForJs::default(); - add_meta(&mut meta.favicon, project_path, global_metadata.favicon).await?; - add_meta(&mut meta.manifest, project_path, global_metadata.manifest).await?; - add_meta(&mut meta.robots, project_path, global_metadata.robots).await?; - - Ok(LoaderTreeForJs { - segment: segment.clone(), - parallel_routes, - components, - global_metadata: meta, - }) -} - -#[turbo_tasks::function] -async fn prepare_entrypoints_for_js( - project_path: Vc, - entrypoints: Vc, -) -> Result> { - let entrypoints = entrypoints - .await? - .iter() - .map(|(key, value)| { - let key = key.to_string().into(); - async move { - let value = match *value { - Entrypoint::AppPage { loader_tree, .. } => EntrypointForJs::AppPage { - loader_tree: prepare_loader_tree_for_js(project_path, loader_tree).await?, - }, - Entrypoint::AppRoute { path, .. } => EntrypointForJs::AppRoute { - path: fs_path_to_path(project_path, path).await?, - }, - Entrypoint::AppMetadata { metadata, .. } => EntrypointForJs::AppRoute { - path: fs_path_to_path(project_path, metadata.into_path()).await?, - }, - }; - Ok((key, value)) - } - }) - .try_join() - .await? - .into_iter() - .collect(); - Ok(Vc::cell(entrypoints)) -} - -#[turbo_tasks::function] -async fn get_value( - root_dir: RcStr, - project_dir: RcStr, - page_extensions: Vec, - watching: bool, -) -> Result> { - let page_extensions = Vc::cell(page_extensions); - let fs = project_fs(root_dir.clone(), watching); - let project_relative = project_dir.strip_prefix(&*root_dir).unwrap(); - let project_relative = project_relative - .strip_prefix(MAIN_SEPARATOR) - .unwrap_or(project_relative) - .replace(MAIN_SEPARATOR, "/"); - let project_path = fs.root().join(project_relative.into()); - - let app_dir = find_app_dir(project_path); - - let result = if let Some(app_dir) = *app_dir.await? { - let entrypoints = get_entrypoints_impl(app_dir, page_extensions); - let entrypoints_for_js = prepare_entrypoints_for_js(project_path, entrypoints); - - Some(entrypoints_for_js) - } else { - None - }; - - Ok(Vc::cell(result)) -} - -#[napi] -pub fn stream_entrypoints( - turbo_tasks: External>>, - root_dir: String, - project_dir: String, - page_extensions: Vec, - func: JsFunction, -) -> napi::Result<()> { - register(); - let func: ThreadsafeFunction>, ErrorStrategy::CalleeHandled> = - func.create_threadsafe_function(0, |ctx| { - let value = ctx.value; - let value = serde_json::to_value(value)?; - Ok(vec![value]) - })?; - let root_dir = RcStr::from(root_dir); - let project_dir = RcStr::from(project_dir); - let page_extensions = Arc::new(page_extensions); - turbo_tasks.spawn_root_task(move || { - let func: ThreadsafeFunction>> = func.clone(); - let project_dir = project_dir.clone(); - let root_dir = root_dir.clone(); - let page_extensions: Arc> = page_extensions.clone(); - Box::pin(async move { - if let Some(entrypoints) = &*get_value( - root_dir.clone(), - project_dir.clone(), - page_extensions.iter().map(|s| s.as_str().into()).collect(), - true, - ) - .await? - { - func.call( - Ok(Some(entrypoints.await?)), - ThreadsafeFunctionCallMode::NonBlocking, - ); - } else { - func.call(Ok(None), ThreadsafeFunctionCallMode::NonBlocking); - } - - Ok::, _>(Default::default()) - }) - }); - Ok(()) -} - -#[napi] -pub async fn get_entrypoints( - turbo_tasks: External>>, - root_dir: String, - project_dir: String, - page_extensions: Vec, -) -> napi::Result { - register(); - let result = turbo_tasks - .run_once(async move { - let value = if let Some(entrypoints) = &*get_value( - root_dir.into(), - project_dir.into(), - page_extensions.iter().map(|s| s.as_str().into()).collect(), - false, - ) - .await? - { - Some(entrypoints.await?) - } else { - None - }; - - let value = serde_json::to_value(value)?; - Ok(value) - }) - .await?; - Ok(result) -} diff --git a/crates/napi/src/lib.rs b/crates/napi/src/lib.rs index c0bf1ffb4a8db..f0311809b3dad 100644 --- a/crates/napi/src/lib.rs +++ b/crates/napi/src/lib.rs @@ -47,8 +47,6 @@ use swc_core::{ common::{FilePathMapping, SourceMap}, }; -#[cfg(not(target_arch = "wasm32"))] -pub mod app_structure; #[cfg(not(target_arch = "wasm32"))] pub mod css; pub mod mdx; diff --git a/crates/napi/src/mdx.rs b/crates/napi/src/mdx.rs index b518d6c807775..4fcf76616685e 100644 --- a/crates/napi/src/mdx.rs +++ b/crates/napi/src/mdx.rs @@ -14,7 +14,7 @@ impl Task for MdxCompileTask { let options: Options = serde_json::from_slice(&self.option)?; compile(&self.input, &options) - .map_err(|err| napi::Error::new(Status::GenericFailure, format!("{:?}", err))) + .map_err(|err| napi::Error::new(Status::GenericFailure, err.to_string())) } fn resolve(&mut self, _env: Env, output: Self::Output) -> napi::Result { diff --git a/crates/napi/src/next_api/project.rs b/crates/napi/src/next_api/project.rs index cf80a01c723b6..8f170fa7ce722 100644 --- a/crates/napi/src/next_api/project.rs +++ b/crates/napi/src/next_api/project.rs @@ -256,7 +256,7 @@ pub struct ProjectInstance { exit_receiver: tokio::sync::Mutex>, } -#[napi(ts_return_type = "{ __napiType: \"Project\" }")] +#[napi(ts_return_type = "Promise<{ __napiType: \"Project\" }>")] pub async fn project_new( options: NapiProjectOptions, turbo_engine_options: NapiTurboEngineOptions, @@ -421,7 +421,7 @@ async fn benchmark_file_io(directory: Vc) -> Result, options: NapiPartialProjectOptions, @@ -439,7 +439,7 @@ pub async fn project_update( Ok(()) } -#[napi(ts_return_type = "{ __napiType: \"Project\" }")] +#[napi] pub async fn project_shutdown( #[napi(ts_arg_type = "{ __napiType: \"Project\" }")] project: External, ) { diff --git a/crates/napi/src/turbopack.rs b/crates/napi/src/turbopack.rs index 565ec53a29a6b..bff2f71c0b96a 100644 --- a/crates/napi/src/turbopack.rs +++ b/crates/napi/src/turbopack.rs @@ -208,8 +208,3 @@ impl From for RouteHas { } } } - -#[napi] -pub async fn experimental_turbo(_unused: Buffer) -> napi::Result<()> { - unimplemented!("__experimental_turbo is not yet implemented"); -} diff --git a/crates/next-api/src/app.rs b/crates/next-api/src/app.rs index 9f05b2740559e..15f9446b177a1 100644 --- a/crates/next-api/src/app.rs +++ b/crates/next-api/src/app.rs @@ -4,14 +4,15 @@ use next_core::{ all_assets_from_entries, app_segment_config::NextSegmentConfig, app_structure::{ - get_entrypoints, Entrypoint as AppEntrypoint, Entrypoints as AppEntrypoints, LoaderTree, - MetadataItem, + get_entrypoints, AppPageLoaderTree, Entrypoint as AppEntrypoint, + Entrypoints as AppEntrypoints, MetadataItem, }, get_edge_resolve_options_context, get_next_package, next_app::{ app_client_references_chunks::get_app_server_reference_modules, get_app_client_references_chunks, get_app_client_shared_chunk_group, get_app_page_entry, - get_app_route_entry, metadata::route::get_app_metadata_route_entry, AppEntry, AppPage, + get_app_route_entry, include_modules_module::IncludeModulesModule, + metadata::route::get_app_metadata_route_entry, AppEntry, AppPage, }, next_client::{ get_client_module_options_context, get_client_resolve_options_context, @@ -36,7 +37,9 @@ use next_core::{ }; use serde::{Deserialize, Serialize}; use tracing::Instrument; -use turbo_tasks::{trace::TraceRawVcs, Completion, RcStr, TryJoinIterExt, Value, Vc}; +use turbo_tasks::{ + trace::TraceRawVcs, Completion, RcStr, TryJoinIterExt, Value, ValueToString, Vc, +}; use turbo_tasks_env::{CustomProcessEnv, ProcessEnv}; use turbo_tasks_fs::{File, FileContent, FileSystemPath}; use turbopack::{ @@ -149,7 +152,7 @@ impl AppProject { } #[turbo_tasks::function] - async fn client_module_options_context(self: Vc) -> Result> { + fn client_module_options_context(self: Vc) -> Result> { Ok(get_client_module_options_context( self.project().project_path(), self.project().execution_context(), @@ -161,7 +164,7 @@ impl AppProject { } #[turbo_tasks::function] - async fn client_resolve_options_context(self: Vc) -> Result> { + fn client_resolve_options_context(self: Vc) -> Result> { Ok(get_client_resolve_options_context( self.project().project_path(), Value::new(self.client_ty()), @@ -177,13 +180,13 @@ impl AppProject { } #[turbo_tasks::function] - async fn client_transition(self: Vc) -> Result> { + fn client_transition(self: Vc) -> Result> { let module_context = self.client_module_context(); Ok(FullContextTransition::new(module_context)) } #[turbo_tasks::function] - async fn rsc_module_options_context(self: Vc) -> Result> { + fn rsc_module_options_context(self: Vc) -> Result> { Ok(get_server_module_options_context( self.project().project_path(), self.project().execution_context(), @@ -195,7 +198,7 @@ impl AppProject { } #[turbo_tasks::function] - async fn edge_rsc_module_options_context(self: Vc) -> Result> { + fn edge_rsc_module_options_context(self: Vc) -> Result> { Ok(get_server_module_options_context( self.project().project_path(), self.project().execution_context(), @@ -207,7 +210,7 @@ impl AppProject { } #[turbo_tasks::function] - async fn route_module_options_context(self: Vc) -> Result> { + fn route_module_options_context(self: Vc) -> Result> { Ok(get_server_module_options_context( self.project().project_path(), self.project().execution_context(), @@ -219,7 +222,7 @@ impl AppProject { } #[turbo_tasks::function] - async fn edge_route_module_options_context(self: Vc) -> Result> { + fn edge_route_module_options_context(self: Vc) -> Result> { Ok(get_server_module_options_context( self.project().project_path(), self.project().execution_context(), @@ -231,7 +234,7 @@ impl AppProject { } #[turbo_tasks::function] - async fn rsc_resolve_options_context(self: Vc) -> Result> { + fn rsc_resolve_options_context(self: Vc) -> Result> { Ok(get_server_resolve_options_context( self.project().project_path(), Value::new(self.rsc_ty()), @@ -242,7 +245,7 @@ impl AppProject { } #[turbo_tasks::function] - async fn edge_rsc_resolve_options_context(self: Vc) -> Result> { + fn edge_rsc_resolve_options_context(self: Vc) -> Result> { Ok(get_edge_resolve_options_context( self.project().project_path(), Value::new(self.rsc_ty()), @@ -253,7 +256,7 @@ impl AppProject { } #[turbo_tasks::function] - async fn route_resolve_options_context(self: Vc) -> Result> { + fn route_resolve_options_context(self: Vc) -> Result> { Ok(get_server_resolve_options_context( self.project().project_path(), Value::new(self.route_ty()), @@ -264,9 +267,7 @@ impl AppProject { } #[turbo_tasks::function] - async fn edge_route_resolve_options_context( - self: Vc, - ) -> Result> { + fn edge_route_resolve_options_context(self: Vc) -> Result> { Ok(get_edge_resolve_options_context( self.project().project_path(), Value::new(self.route_ty()), @@ -443,7 +444,7 @@ impl AppProject { } #[turbo_tasks::function] - async fn ssr_module_options_context(self: Vc) -> Result> { + fn ssr_module_options_context(self: Vc) -> Result> { Ok(get_server_module_options_context( self.project().project_path(), self.project().execution_context(), @@ -455,7 +456,7 @@ impl AppProject { } #[turbo_tasks::function] - async fn edge_ssr_module_options_context(self: Vc) -> Result> { + fn edge_ssr_module_options_context(self: Vc) -> Result> { Ok(get_server_module_options_context( self.project().project_path(), self.project().execution_context(), @@ -467,7 +468,7 @@ impl AppProject { } #[turbo_tasks::function] - async fn ssr_resolve_options_context(self: Vc) -> Result> { + fn ssr_resolve_options_context(self: Vc) -> Result> { Ok(get_server_resolve_options_context( self.project().project_path(), Value::new(self.ssr_ty()), @@ -478,7 +479,7 @@ impl AppProject { } #[turbo_tasks::function] - async fn edge_ssr_resolve_options_context(self: Vc) -> Result> { + fn edge_ssr_resolve_options_context(self: Vc) -> Result> { Ok(get_edge_resolve_options_context( self.project().project_path(), Value::new(self.ssr_ty()), @@ -529,7 +530,7 @@ impl AppProject { } #[turbo_tasks::function] - async fn runtime_entries(self: Vc) -> Result> { + fn runtime_entries(self: Vc) -> Result> { Ok(get_server_runtime_entries( Value::new(self.rsc_ty()), self.project().next_mode(), @@ -557,7 +558,7 @@ impl AppProject { } #[turbo_tasks::function] - async fn client_runtime_entries(self: Vc) -> Result> { + fn client_runtime_entries(self: Vc) -> Result> { Ok(get_client_runtime_entries( self.project().project_path(), Value::new(self.client_ty()), @@ -686,6 +687,11 @@ fn client_shared_chunks() -> Vc { Vc::cell("client_shared_chunks".into()) } +#[turbo_tasks::function] +fn server_utils_module() -> Vc { + Vc::cell("server-utils".into()) +} + #[derive(Copy, Clone, Serialize, Deserialize, PartialEq, Eq, Debug, TraceRawVcs)] enum AppPageEndpointType { Html, @@ -696,7 +702,7 @@ enum AppPageEndpointType { enum AppEndpointType { Page { ty: AppPageEndpointType, - loader_tree: Vc, + loader_tree: Vc, }, Route { path: Vc, @@ -717,7 +723,7 @@ struct AppEndpoint { #[turbo_tasks::value_impl] impl AppEndpoint { #[turbo_tasks::function] - fn app_page_entry(&self, loader_tree: Vc) -> Vc { + fn app_page_entry(&self, loader_tree: Vc) -> Vc { get_app_page_entry( self.app_project.rsc_module_context(), self.app_project.edge_rsc_module_context(), @@ -836,195 +842,199 @@ impl AppEndpoint { let client_chunking_context = this.app_project.project().client_chunking_context(); - let (app_server_reference_modules, client_dynamic_imports) = if process_client { - let client_shared_chunk_group = get_app_client_shared_chunk_group( - AssetIdent::from_path(this.app_project.project().project_path()) - .with_modifier(client_shared_chunks()), - this.app_project.client_runtime_entries(), - client_chunking_context, - ) - .await?; - - let mut client_shared_chunks_paths = vec![]; - for chunk in client_shared_chunk_group.assets.await?.iter().copied() { - client_assets.push(chunk); - - let chunk_path = chunk.ident().path().await?; - if chunk_path.extension_ref() == Some("js") { - if let Some(chunk_path) = client_relative_path_ref.get_path_to(&chunk_path) { - client_shared_chunks_paths.push(chunk_path.into()); - } - } - } - let client_shared_availability_info = client_shared_chunk_group.availability_info; + let (app_server_reference_modules, client_dynamic_imports, client_references) = + if process_client { + let client_shared_chunk_group = get_app_client_shared_chunk_group( + AssetIdent::from_path(this.app_project.project().project_path()) + .with_modifier(client_shared_chunks()), + this.app_project.client_runtime_entries(), + client_chunking_context, + ) + .await?; - let client_references = client_reference_graph(Vc::cell(vec![rsc_entry_asset])); - let client_reference_types = client_references.types(); + let mut client_shared_chunks_paths = vec![]; + for chunk in client_shared_chunk_group.assets.await?.iter().copied() { + client_assets.push(chunk); - let ssr_chunking_context = if process_ssr { - Some(match runtime { - NextRuntime::NodeJs => { - Vc::upcast(this.app_project.project().server_chunking_context(true)) + let chunk_path = chunk.ident().path().await?; + if chunk_path.extension_ref() == Some("js") { + if let Some(chunk_path) = client_relative_path_ref.get_path_to(&chunk_path) + { + client_shared_chunks_paths.push(chunk_path.into()); + } } - NextRuntime::Edge => this - .app_project - .project() - .edge_chunking_context(process_client), - }) - } else { - None - }; + } + let client_shared_availability_info = client_shared_chunk_group.availability_info; - let client_dynamic_imports = collect_next_dynamic_imports( - client_references - .await? - .client_references - .iter() - .filter_map(|r| match r.ty() { - ClientReferenceType::EcmascriptClientReference(entry) => Some(entry), - ClientReferenceType::CssClientReference(_) => None, - }) - .map(|entry| async move { Ok(Vc::upcast(entry.await?.ssr_module)) }) - .try_join() - .await?, - Vc::upcast(this.app_project.client_module_context()), - ) - .await?; - - let client_references_chunks = get_app_client_references_chunks( - client_references, - client_chunking_context, - Value::new(client_shared_availability_info), - ssr_chunking_context, - ); - let client_references_chunks_ref = client_references_chunks.await?; - - let mut entry_client_chunks = IndexSet::new(); - // TODO(alexkirsz) In which manifest does this go? - let mut entry_ssr_chunks = IndexSet::new(); - for chunks in client_references_chunks_ref - .layout_segment_client_chunks - .values() - { - entry_client_chunks.extend(chunks.await?.iter().copied()); - } - for (chunks, _) in client_references_chunks_ref - .client_component_client_chunks - .values() - { - client_assets.extend(chunks.await?.iter().copied()); - } - for (chunks, _) in client_references_chunks_ref - .client_component_ssr_chunks - .values() - { - entry_ssr_chunks.extend(chunks.await?.iter().copied()); - } + let client_references = client_reference_graph(Vc::cell(vec![rsc_entry_asset])); + let client_reference_types = client_references.types(); - client_assets.extend(entry_client_chunks.iter().copied()); - server_assets.extend(entry_ssr_chunks.iter().copied()); + let ssr_chunking_context = if process_ssr { + Some(match runtime { + NextRuntime::NodeJs => { + Vc::upcast(this.app_project.project().server_chunking_context(true)) + } + NextRuntime::Edge => this + .app_project + .project() + .edge_chunking_context(process_client), + }) + } else { + None + }; - let entry_client_chunks_paths = entry_client_chunks - .iter() - .map(|chunk| chunk.ident().path()) - .try_join() + let client_dynamic_imports = collect_next_dynamic_imports( + client_references + .await? + .client_references + .iter() + .filter_map(|r| match r.ty() { + ClientReferenceType::EcmascriptClientReference(entry) => Some(entry), + ClientReferenceType::CssClientReference(_) => None, + }) + .map(|entry| async move { Ok(Vc::upcast(entry.await?.ssr_module)) }) + .try_join() + .await?, + Vc::upcast(this.app_project.client_module_context()), + ) .await?; - let mut entry_client_chunks_paths = entry_client_chunks_paths - .iter() - .map(|path| { - Ok(client_relative_path_ref - .get_path_to(path) - .context("asset path should be inside client root")? - .into()) - }) - .collect::>>()?; - entry_client_chunks_paths.extend(client_shared_chunks_paths.iter().cloned()); - let app_build_manifest = AppBuildManifest { - pages: [(app_entry.original_name.clone(), entry_client_chunks_paths)] - .into_iter() - .collect(), - }; - let manifest_path_prefix = &app_entry.original_name; - let app_build_manifest_output = Vc::upcast(VirtualOutputAsset::new( - node_root.join( - format!("server/app{manifest_path_prefix}/app-build-manifest.json",).into(), - ), - AssetContent::file( - File::from(serde_json::to_string_pretty(&app_build_manifest)?).into(), - ), - )); - server_assets.push(app_build_manifest_output); - - // polyfill-nomodule.js is a pre-compiled asset distributed as part of next, - // load it as a RawModule. - let next_package = get_next_package(this.app_project.project().project_path()); - let polyfill_source = FileSource::new( - next_package.join("dist/build/polyfills/polyfill-nomodule.js".into()), - ); - let polyfill_output_path = - client_chunking_context.chunk_path(polyfill_source.ident(), ".js".into()); - let polyfill_output_asset = - RawOutput::new(polyfill_output_path, Vc::upcast(polyfill_source)); - let polyfill_client_path = client_relative_path_ref - .get_path_to(&*polyfill_output_path.await?) - .context("failed to resolve client-relative path to polyfill")? - .into(); - let polyfill_client_paths = vec![polyfill_client_path]; - client_assets.push(Vc::upcast(polyfill_output_asset)); - - let build_manifest = BuildManifest { - root_main_files: client_shared_chunks_paths, - polyfill_files: polyfill_client_paths, - ..Default::default() - }; - let build_manifest_output = Vc::upcast(VirtualOutputAsset::new( - node_root - .join(format!("server/app{manifest_path_prefix}/build-manifest.json",).into()), - AssetContent::file( - File::from(serde_json::to_string_pretty(&build_manifest)?).into(), - ), - )); - server_assets.push(build_manifest_output); - - let entry_manifest = ClientReferenceManifest::build_output( - node_root, - client_relative_path, - app_entry.original_name.clone(), - client_references, - client_references_chunks, - client_chunking_context, - ssr_chunking_context, - this.app_project.project().next_config(), - runtime, - ); - server_assets.push(entry_manifest); - - if runtime == NextRuntime::Edge { - middleware_assets.push(entry_manifest); - - // as the edge runtime doesn't support chunk loading we need to add all client - // references to the middleware manifest so they get loaded during runtime - // initialization - let client_references_chunks = &*client_references_chunks.await?; - - for (ssr_chunks, _) in client_references_chunks + let client_references_chunks = get_app_client_references_chunks( + client_references, + client_chunking_context, + Value::new(client_shared_availability_info), + ssr_chunking_context, + ); + let client_references_chunks_ref = client_references_chunks.await?; + + let mut entry_client_chunks = IndexSet::new(); + // TODO(alexkirsz) In which manifest does this go? + let mut entry_ssr_chunks = IndexSet::new(); + for chunks in client_references_chunks_ref + .layout_segment_client_chunks + .values() + { + entry_client_chunks.extend(chunks.await?.iter().copied()); + } + for (chunks, _) in client_references_chunks_ref + .client_component_client_chunks + .values() + { + client_assets.extend(chunks.await?.iter().copied()); + } + for (chunks, _) in client_references_chunks_ref .client_component_ssr_chunks .values() { - let ssr_chunks = ssr_chunks.await?; + entry_ssr_chunks.extend(chunks.await?.iter().copied()); + } + + client_assets.extend(entry_client_chunks.iter().copied()); + server_assets.extend(entry_ssr_chunks.iter().copied()); + + let entry_client_chunks_paths = entry_client_chunks + .iter() + .map(|chunk| chunk.ident().path()) + .try_join() + .await?; + let mut entry_client_chunks_paths = entry_client_chunks_paths + .iter() + .map(|path| { + Ok(client_relative_path_ref + .get_path_to(path) + .context("asset path should be inside client root")? + .into()) + }) + .collect::>>()?; + entry_client_chunks_paths.extend(client_shared_chunks_paths.iter().cloned()); + + let app_build_manifest = AppBuildManifest { + pages: [(app_entry.original_name.clone(), entry_client_chunks_paths)] + .into_iter() + .collect(), + }; + let manifest_path_prefix = &app_entry.original_name; + let app_build_manifest_output = Vc::upcast(VirtualOutputAsset::new( + node_root.join( + format!("server/app{manifest_path_prefix}/app-build-manifest.json",).into(), + ), + AssetContent::file( + File::from(serde_json::to_string_pretty(&app_build_manifest)?).into(), + ), + )); + server_assets.push(app_build_manifest_output); - middleware_assets.extend(ssr_chunks); + // polyfill-nomodule.js is a pre-compiled asset distributed as part of next, + // load it as a RawModule. + let next_package = get_next_package(this.app_project.project().project_path()); + let polyfill_source = FileSource::new( + next_package.join("dist/build/polyfills/polyfill-nomodule.js".into()), + ); + let polyfill_output_path = + client_chunking_context.chunk_path(polyfill_source.ident(), ".js".into()); + let polyfill_output_asset = + RawOutput::new(polyfill_output_path, Vc::upcast(polyfill_source)); + let polyfill_client_path = client_relative_path_ref + .get_path_to(&*polyfill_output_path.await?) + .context("failed to resolve client-relative path to polyfill")? + .into(); + let polyfill_client_paths = vec![polyfill_client_path]; + client_assets.push(Vc::upcast(polyfill_output_asset)); + + let build_manifest = BuildManifest { + root_main_files: client_shared_chunks_paths, + polyfill_files: polyfill_client_paths, + ..Default::default() + }; + let build_manifest_output = Vc::upcast(VirtualOutputAsset::new( + node_root.join( + format!("server/app{manifest_path_prefix}/build-manifest.json",).into(), + ), + AssetContent::file( + File::from(serde_json::to_string_pretty(&build_manifest)?).into(), + ), + )); + server_assets.push(build_manifest_output); + + let entry_manifest = ClientReferenceManifest::build_output( + node_root, + client_relative_path, + app_entry.original_name.clone(), + client_references, + client_references_chunks, + client_chunking_context, + ssr_chunking_context, + this.app_project.project().next_config(), + runtime, + ); + server_assets.push(entry_manifest); + + if runtime == NextRuntime::Edge { + middleware_assets.push(entry_manifest); + + // as the edge runtime doesn't support chunk loading we need to add all client + // references to the middleware manifest so they get loaded during runtime + // initialization + let client_references_chunks = &*client_references_chunks.await?; + + for (ssr_chunks, _) in client_references_chunks + .client_component_ssr_chunks + .values() + { + let ssr_chunks = ssr_chunks.await?; + + middleware_assets.extend(ssr_chunks); + } } - } - ( - Some(get_app_server_reference_modules(client_reference_types)), - Some(client_dynamic_imports), - ) - } else { - (None, None) - }; + ( + Some(get_app_server_reference_modules(client_reference_types)), + Some(client_dynamic_imports), + Some(client_references), + ) + } else { + (None, None, None) + }; fn create_app_paths_manifest( node_root: Vc, @@ -1096,11 +1106,14 @@ impl AppEndpoint { evaluatable_assets.push(loader); } - let files = chunking_context.evaluated_chunk_group_assets( - app_entry.rsc_entry.ident(), - Vc::cell(evaluatable_assets.clone()), - Value::new(AvailabilityInfo::Root), - ); + let files = { + let _span = tracing::info_span!("Server Components"); + chunking_context.evaluated_chunk_group_assets( + app_entry.rsc_entry.ident(), + Vc::cell(evaluatable_assets.clone()), + Value::new(AvailabilityInfo::Root), + ) + }; let files_value = files.await?; server_assets.extend(files_value.iter().copied()); @@ -1245,22 +1258,86 @@ impl AppEndpoint { let EntryChunkGroupResult { asset: rsc_chunk, .. - } = *{ - let _span = tracing::trace_span!("server node entrypoint").entered(); - chunking_context.entry_chunk_group( - server_path.join( - format!( - "app{original_name}.js", - original_name = app_entry.original_name - ) - .into(), - ), - app_entry.rsc_entry, - Vc::cell(evaluatable_assets), - Value::new(AvailabilityInfo::Root), - ) + } = *(async { + let mut current_chunks = OutputAssets::empty(); + let mut current_availability_info = AvailabilityInfo::Root; + if let Some(client_references) = client_references { + let client_references = client_references.await?; + let span = tracing::trace_span!("server utils",); + async { + let utils_module = IncludeModulesModule::new( + AssetIdent::from_path(this.app_project.project().project_path()) + .with_modifier(server_utils_module()), + client_references.server_utils.clone(), + ); + + let chunk_group = chunking_context + .chunk_group( + utils_module.ident(), + Vc::upcast(utils_module), + Value::new(current_availability_info), + ) + .await?; + + current_chunks = current_chunks + .concatenate(chunk_group.assets) + .resolve() + .await?; + current_availability_info = chunk_group.availability_info; + + anyhow::Ok(()) + } + .instrument(span) + .await?; + for server_component in client_references + .server_component_entries + .iter() + .copied() + .take(client_references.server_component_entries.len() - 1) + { + let span = tracing::trace_span!( + "layout segment", + name = server_component.ident().to_string().await?.as_str() + ); + async { + let chunk_group = chunking_context + .chunk_group( + server_component.ident(), + Vc::upcast(server_component), + Value::new(current_availability_info), + ) + .await?; + + current_chunks = current_chunks + .concatenate(chunk_group.assets) + .resolve() + .await?; + current_availability_info = chunk_group.availability_info; + + anyhow::Ok(()) + } + .instrument(span) + .await?; + } + } + chunking_context + .entry_chunk_group( + server_path.join( + format!( + "app{original_name}.js", + original_name = app_entry.original_name + ) + .into(), + ), + app_entry.rsc_entry, + Vc::cell(evaluatable_assets), + current_chunks, + Value::new(current_availability_info), + ) + .await } - .await?; + .instrument(tracing::trace_span!("server node entrypoint")) + .await?); server_assets.push(rsc_chunk); let app_paths_manifest_output = create_app_paths_manifest( diff --git a/crates/next-api/src/global_module_id_strategy.rs b/crates/next-api/src/global_module_id_strategy.rs index 626735c62a859..93bc3f39cdf12 100644 --- a/crates/next-api/src/global_module_id_strategy.rs +++ b/crates/next-api/src/global_module_id_strategy.rs @@ -84,7 +84,7 @@ impl GlobalModuleIdStrategyBuilder { // NOTE(LichuAcu) We can't move this function to `turbopack-core` because we need access to // `Endpoint`, which is not available there. #[turbo_tasks::function] -async fn preprocess_module_ids( +fn preprocess_module_ids( endpoint: Vc>, ) -> Result> { let root_modules = endpoint.root_modules(); diff --git a/crates/next-api/src/instrumentation.rs b/crates/next-api/src/instrumentation.rs index 52faa547b9362..1811ac55700a7 100644 --- a/crates/next-api/src/instrumentation.rs +++ b/crates/next-api/src/instrumentation.rs @@ -65,7 +65,7 @@ impl InstrumentationEndpoint { } #[turbo_tasks::function] - async fn core_modules(&self) -> Result> { + fn core_modules(&self) -> Result> { let userland_module = self .asset_context .process( @@ -155,6 +155,7 @@ impl InstrumentationEndpoint { this.project.next_mode(), ) .resolve_entries(this.asset_context), + OutputAssets::empty(), Value::new(AvailabilityInfo::Root), ) .await?; diff --git a/crates/next-api/src/middleware.rs b/crates/next-api/src/middleware.rs index 720881f9aae34..f4fab591527aa 100644 --- a/crates/next-api/src/middleware.rs +++ b/crates/next-api/src/middleware.rs @@ -255,13 +255,11 @@ impl MiddlewareEndpoint { } #[turbo_tasks::function] - async fn userland_module(self: Vc) -> Result>> { - let this = self.await?; - - Ok(this + fn userland_module(&self) -> Result>> { + Ok(self .asset_context .process( - this.source, + self.source, Value::new(ReferenceType::Entry(EntryReferenceSubType::Middleware)), ) .module()) diff --git a/crates/next-api/src/pages.rs b/crates/next-api/src/pages.rs index 1946d1f34a6f8..e49fa8cda2e12 100644 --- a/crates/next-api/src/pages.rs +++ b/crates/next-api/src/pages.rs @@ -81,7 +81,7 @@ pub struct PagesProject { #[turbo_tasks::value_impl] impl PagesProject { #[turbo_tasks::function] - pub async fn new(project: Vc) -> Result> { + pub fn new(project: Vc) -> Result> { Ok(PagesProject { project }.cell()) } @@ -279,7 +279,7 @@ impl PagesProject { } #[turbo_tasks::function] - async fn client_module_options_context(self: Vc) -> Result> { + fn client_module_options_context(self: Vc) -> Result> { Ok(get_client_module_options_context( self.project().project_path(), self.project().execution_context(), @@ -293,7 +293,7 @@ impl PagesProject { } #[turbo_tasks::function] - async fn client_resolve_options_context(self: Vc) -> Result> { + fn client_resolve_options_context(self: Vc) -> Result> { Ok(get_client_resolve_options_context( self.project().project_path(), Value::new(ClientContextType::Pages { @@ -385,7 +385,7 @@ impl PagesProject { } #[turbo_tasks::function] - async fn ssr_module_options_context(self: Vc) -> Result> { + fn ssr_module_options_context(self: Vc) -> Result> { Ok(get_server_module_options_context( self.project().project_path(), self.project().execution_context(), @@ -399,7 +399,7 @@ impl PagesProject { } #[turbo_tasks::function] - async fn edge_ssr_module_options_context(self: Vc) -> Result> { + fn edge_ssr_module_options_context(self: Vc) -> Result> { Ok(get_server_module_options_context( self.project().project_path(), self.project().execution_context(), @@ -413,7 +413,7 @@ impl PagesProject { } #[turbo_tasks::function] - async fn api_module_options_context(self: Vc) -> Result> { + fn api_module_options_context(self: Vc) -> Result> { Ok(get_server_module_options_context( self.project().project_path(), self.project().execution_context(), @@ -427,7 +427,7 @@ impl PagesProject { } #[turbo_tasks::function] - async fn edge_api_module_options_context(self: Vc) -> Result> { + fn edge_api_module_options_context(self: Vc) -> Result> { Ok(get_server_module_options_context( self.project().project_path(), self.project().execution_context(), @@ -441,7 +441,7 @@ impl PagesProject { } #[turbo_tasks::function] - async fn ssr_data_module_options_context(self: Vc) -> Result> { + fn ssr_data_module_options_context(self: Vc) -> Result> { Ok(get_server_module_options_context( self.project().project_path(), self.project().execution_context(), @@ -455,9 +455,7 @@ impl PagesProject { } #[turbo_tasks::function] - async fn edge_ssr_data_module_options_context( - self: Vc, - ) -> Result> { + fn edge_ssr_data_module_options_context(self: Vc) -> Result> { Ok(get_server_module_options_context( self.project().project_path(), self.project().execution_context(), @@ -471,7 +469,7 @@ impl PagesProject { } #[turbo_tasks::function] - async fn ssr_resolve_options_context(self: Vc) -> Result> { + fn ssr_resolve_options_context(self: Vc) -> Result> { Ok(get_server_resolve_options_context( self.project().project_path(), // NOTE(alexkirsz) This could be `PagesData` for the data endpoint, but it doesn't @@ -487,7 +485,7 @@ impl PagesProject { } #[turbo_tasks::function] - async fn edge_ssr_resolve_options_context(self: Vc) -> Result> { + fn edge_ssr_resolve_options_context(self: Vc) -> Result> { Ok(get_edge_resolve_options_context( self.project().project_path(), // NOTE(alexkirsz) This could be `PagesData` for the data endpoint, but it doesn't @@ -503,7 +501,7 @@ impl PagesProject { } #[turbo_tasks::function] - async fn client_runtime_entries(self: Vc) -> Result> { + fn client_runtime_entries(self: Vc) -> Result> { let client_runtime_entries = get_client_runtime_entries( self.project().project_path(), Value::new(ClientContextType::Pages { @@ -517,7 +515,7 @@ impl PagesProject { } #[turbo_tasks::function] - async fn runtime_entries(self: Vc) -> Result> { + fn runtime_entries(self: Vc) -> Result> { Ok(get_server_runtime_entries( Value::new(ServerContextType::Pages { pages_dir: self.pages_dir(), @@ -527,7 +525,7 @@ impl PagesProject { } #[turbo_tasks::function] - async fn data_runtime_entries(self: Vc) -> Result> { + fn data_runtime_entries(self: Vc) -> Result> { Ok(get_server_runtime_entries( Value::new(ServerContextType::PagesData { pages_dir: self.pages_dir(), @@ -640,9 +638,8 @@ impl PageEndpoint { } #[turbo_tasks::function] - async fn source(self: Vc) -> Result>> { - let this = self.await?; - Ok(Vc::upcast(FileSource::new(this.page.project_path()))) + fn source(&self) -> Result>> { + Ok(Vc::upcast(FileSource::new(self.page.project_path()))) } #[turbo_tasks::function] @@ -861,6 +858,7 @@ impl PageEndpoint { ssr_entry_chunk_path, ssr_module, runtime_entries, + OutputAssets::empty(), Value::new(AvailabilityInfo::Root), ) .await?; @@ -945,11 +943,10 @@ impl PageEndpoint { #[turbo_tasks::function] async fn pages_manifest( - self: Vc, + &self, entry_chunk: Vc>, ) -> Result>> { - let this = self.await?; - let node_root = this.pages_project.project().node_root(); + let node_root = self.pages_project.project().node_root(); let chunk_path = entry_chunk.ident().path().await?; let asset_path = node_root @@ -959,11 +956,11 @@ impl PageEndpoint { .context("ssr chunk entry path must be inside the node root")?; let pages_manifest = PagesManifest { - pages: [(this.pathname.await?.clone_value(), asset_path.into())] + pages: [(self.pathname.await?.clone_value(), asset_path.into())] .into_iter() .collect(), }; - let manifest_path_prefix = get_asset_prefix_from_pathname(&this.pathname.await?); + let manifest_path_prefix = get_asset_prefix_from_pathname(&self.pathname.await?); Ok(Vc::upcast(VirtualOutputAsset::new( node_root .join(format!("server/pages{manifest_path_prefix}/pages-manifest.json",).into()), @@ -990,16 +987,15 @@ impl PageEndpoint { #[turbo_tasks::function] async fn build_manifest( - self: Vc, + &self, client_chunks: Vc, ) -> Result>> { - let this = self.await?; - let node_root = this.pages_project.project().node_root(); - let client_relative_path = this.pages_project.project().client_relative_path(); + let node_root = self.pages_project.project().node_root(); + let client_relative_path = self.pages_project.project().client_relative_path(); let client_relative_path_ref = client_relative_path.await?; let build_manifest = BuildManifest { pages: [( - this.pathname.await?.clone_value(), + self.pathname.await?.clone_value(), client_chunks .await? .iter() @@ -1021,7 +1017,7 @@ impl PageEndpoint { .collect(), ..Default::default() }; - let manifest_path_prefix = get_asset_prefix_from_pathname(&this.pathname.await?); + let manifest_path_prefix = get_asset_prefix_from_pathname(&self.pathname.await?); Ok(Vc::upcast(VirtualOutputAsset::new( node_root .join(format!("server/pages{manifest_path_prefix}/build-manifest.json",).into()), diff --git a/crates/next-api/src/project.rs b/crates/next-api/src/project.rs index 65e07fe2026cf..5727cb51ba11b 100644 --- a/crates/next-api/src/project.rs +++ b/crates/next-api/src/project.rs @@ -301,9 +301,7 @@ impl ProjectContainer { #[turbo_tasks::value_impl] impl ProjectContainer { #[turbo_tasks::function] - pub async fn project(self: Vc) -> Result> { - let this = self.await?; - + pub async fn project(&self) -> Result> { let env_map: Vc; let next_config; let define_env; @@ -317,7 +315,7 @@ impl ProjectContainer { let preview_props; let browserslist_query; { - let options = this.options_state.get(); + let options = self.options_state.get(); let options = options .as_ref() .context("ProjectContainer need to be initialized with initialize()")?; @@ -361,7 +359,7 @@ impl ProjectContainer { } else { NextMode::Build.cell() }, - versioned_content_map: this.versioned_content_map, + versioned_content_map: self.versioned_content_map, build_id, encryption_key, preview_props, @@ -384,12 +382,12 @@ impl ProjectContainer { /// Gets a source map for a particular `file_path`. If `dev` mode is /// disabled, this will always return [`OptionSourceMap::none`]. #[turbo_tasks::function] - pub async fn get_source_map( - self: Vc, + pub fn get_source_map( + &self, file_path: Vc, section: Option, ) -> Result> { - Ok(if let Some(map) = self.await?.versioned_content_map { + Ok(if let Some(map) = self.versioned_content_map { map.get_source_map(file_path, section) } else { OptionSourceMap::none() @@ -512,40 +510,38 @@ impl Project { } #[turbo_tasks::function] - pub async fn pages_project(self: Vc) -> Result> { + pub fn pages_project(self: Vc) -> Result> { Ok(PagesProject::new(self)) } #[turbo_tasks::function] - async fn project_fs(self: Vc) -> Result> { - let this = self.await?; + async fn project_fs(&self) -> Result> { let disk_fs = DiskFileSystem::new( PROJECT_FILESYSTEM_NAME.into(), - this.root_path.clone(), + self.root_path.clone(), vec![], ); - if this.watch { + if self.watch { disk_fs.await?.start_watching_with_invalidation_reason()?; } Ok(disk_fs) } #[turbo_tasks::function] - async fn client_fs(self: Vc) -> Result>> { + fn client_fs(self: Vc) -> Result>> { let virtual_fs = VirtualFileSystem::new(); Ok(Vc::upcast(virtual_fs)) } #[turbo_tasks::function] - pub async fn output_fs(self: Vc) -> Result> { - let this = self.await?; - let disk_fs = DiskFileSystem::new("output".into(), this.project_path.clone(), vec![]); + pub fn output_fs(&self) -> Result> { + let disk_fs = DiskFileSystem::new("output".into(), self.project_path.clone(), vec![]); Ok(disk_fs) } #[turbo_tasks::function] - pub async fn dist_dir(self: Vc) -> Result> { - Ok(Vc::cell(self.await?.dist_dir.clone())) + pub fn dist_dir(&self) -> Result> { + Ok(Vc::cell(self.dist_dir.clone())) } #[turbo_tasks::function] @@ -589,23 +585,23 @@ impl Project { } #[turbo_tasks::function] - pub(super) async fn env(self: Vc) -> Result>> { - Ok(self.await?.env) + pub(super) fn env(&self) -> Result>> { + Ok(self.env) } #[turbo_tasks::function] - pub(super) async fn next_config(self: Vc) -> Result> { - Ok(self.await?.next_config) + pub(super) fn next_config(&self) -> Result> { + Ok(self.next_config) } #[turbo_tasks::function] - pub(super) async fn next_mode(self: Vc) -> Result> { - Ok(self.await?.mode) + pub(super) fn next_mode(&self) -> Result> { + Ok(self.mode) } #[turbo_tasks::function] - pub(super) async fn js_config(self: Vc) -> Result> { - Ok(self.await?.js_config) + pub(super) fn js_config(&self) -> Result> { + Ok(self.js_config) } #[turbo_tasks::function] @@ -634,7 +630,7 @@ impl Project { } #[turbo_tasks::function] - pub(super) async fn client_compile_time_info(&self) -> Result> { + pub(super) fn client_compile_time_info(&self) -> Result> { Ok(get_client_compile_time_info( self.browserslist_query.clone(), self.define_env.client(), @@ -672,9 +668,7 @@ impl Project { } #[turbo_tasks::function] - pub(super) async fn client_chunking_context( - self: Vc, - ) -> Result>> { + pub(super) fn client_chunking_context(self: Vc) -> Result>> { Ok(get_client_chunking_context( self.project_path(), self.client_relative_path(), @@ -1328,6 +1322,6 @@ fn all_assets_from_entries_operation( } #[turbo_tasks::function] -async fn stable_endpoint(endpoint: Vc>) -> Result>> { +fn stable_endpoint(endpoint: Vc>) -> Result>> { Ok(endpoint) } diff --git a/crates/next-api/src/versioned_content_map.rs b/crates/next-api/src/versioned_content_map.rs index a16ed6fd13bb0..a07553d2bdbb1 100644 --- a/crates/next-api/src/versioned_content_map.rs +++ b/crates/next-api/src/versioned_content_map.rs @@ -95,7 +95,7 @@ impl VersionedContentMap { /// operation. When assets change, map_path_to_op is updated. #[turbo_tasks::function] async fn compute_entry( - self: Vc, + &self, assets_operation: Vc, node_root: Vc, client_relative_path: Vc, @@ -118,7 +118,7 @@ impl VersionedContentMap { } let entries = get_entries(assets).await.unwrap_or_default(); - self.await?.map_path_to_op.update_conditionally(|map| { + self.map_path_to_op.update_conditionally(|map| { let mut changed = false; // get current map's keys, subtract keys that don't exist in operation @@ -230,7 +230,7 @@ impl VersionedContentMap { } #[turbo_tasks::function] - async fn raw_get(&self, path: Vc) -> Result> { + fn raw_get(&self, path: Vc) -> Result> { let assets = { let map = self.map_path_to_op.get(); map.get(&path).and_then(|m| m.iter().last().copied()) diff --git a/crates/next-core/src/loader_tree.rs b/crates/next-core/src/app_page_loader_tree.rs similarity index 60% rename from crates/next-core/src/loader_tree.rs rename to crates/next-core/src/app_page_loader_tree.rs index c97e90d54aab3..b78bbe5113f82 100644 --- a/crates/next-core/src/loader_tree.rs +++ b/crates/next-core/src/app_page_loader_tree.rs @@ -5,23 +5,18 @@ use std::{ use anyhow::Result; use indexmap::IndexMap; -use indoc::formatdoc; -use turbo_tasks::{RcStr, Value, ValueToString, Vc}; +use turbo_tasks::{RcStr, Vc}; use turbo_tasks_fs::FileSystemPath; use turbopack::{transition::Transition, ModuleAssetContext}; -use turbopack_core::{ - context::AssetContext, - file_source::FileSource, - module::Module, - reference_type::{EcmaScriptModulesReferenceSubType, InnerAssets, ReferenceType}, -}; +use turbopack_core::{file_source::FileSource, module::Module}; use turbopack_ecmascript::{magic_identifier, text::TextContentFileSource, utils::StringifyJs}; use crate::{ app_structure::{ - get_metadata_route_name, Components, GlobalMetadata, LoaderTree, Metadata, MetadataItem, - MetadataWithAltItem, + get_metadata_route_name, AppDirModules, AppPageLoaderTree, GlobalMetadata, Metadata, + MetadataItem, MetadataWithAltItem, }, + base_loader_tree::{AppDirModuleType, BaseLoaderTreeBuilder}, next_app::{ metadata::{get_content_type, image::dynamic_image_metadata_source}, AppPage, @@ -29,107 +24,48 @@ use crate::{ next_image::module::{BlurPlaceholderMode, StructuredImageModuleType}, }; -pub struct LoaderTreeBuilder { - inner_assets: IndexMap>>, - counter: usize, - imports: Vec, +pub struct AppPageLoaderTreeBuilder { + base: BaseLoaderTreeBuilder, loader_tree_code: String, - module_asset_context: Vc, - server_component_transition: Vc>, pages: Vec>, /// next.config.js' basePath option to construct og metadata. base_path: Option, } -#[derive(Clone, Copy, Debug, PartialEq, Eq)] -enum ComponentType { - Page, - DefaultPage, - Error, - Layout, - Loading, - Template, - NotFound, -} - -impl ComponentType { - fn name(&self) -> &'static str { - match self { - ComponentType::Page => "page", - ComponentType::DefaultPage => "defaultPage", - ComponentType::Error => "error", - ComponentType::Layout => "layout", - ComponentType::Loading => "loading", - ComponentType::Template => "template", - ComponentType::NotFound => "not-found", - } - } -} - -impl LoaderTreeBuilder { +impl AppPageLoaderTreeBuilder { fn new( module_asset_context: Vc, server_component_transition: Vc>, base_path: Option, ) -> Self { - LoaderTreeBuilder { - inner_assets: IndexMap::new(), - counter: 0, - imports: Vec::new(), + AppPageLoaderTreeBuilder { + base: BaseLoaderTreeBuilder::new(module_asset_context, server_component_transition), loader_tree_code: String::new(), - module_asset_context, - server_component_transition, pages: Vec::new(), base_path, } } - fn unique_number(&mut self) -> usize { - let i = self.counter; - self.counter += 1; - i - } - - async fn write_component( + async fn write_modules_entry( &mut self, - ty: ComponentType, - component: Option>, + module_type: AppDirModuleType, + path: Option>, ) -> Result<()> { - if let Some(component) = component { - if matches!(ty, ComponentType::Page) { - self.pages.push(component); + if let Some(path) = path { + if matches!(module_type, AppDirModuleType::Page) { + self.pages.push(path); } - let name = ty.name(); - let i = self.unique_number(); - let identifier = magic_identifier::mangle(&format!("{name} #{i}")); - - let module = process_module( - &self.module_asset_context, - &self.server_component_transition, - component, - ); + let tuple_code = self + .base + .create_module_tuple_code(module_type, path) + .await?; writeln!( self.loader_tree_code, - " {name}: [() => {identifier}, {path}],", - name = StringifyJs(name), - path = StringifyJs(&module.ident().path().to_string().await?) + " {name}: {tuple_code},", + name = StringifyJs(module_type.name()) )?; - - self.imports.push( - formatdoc!( - r#" - import * as {} from "COMPONENT_{}"; - "#, - identifier, - i - ) - .into(), - ); - - self.inner_assets - .insert(format!("COMPONENT_{i}").into(), module); } Ok(()) } @@ -237,30 +173,25 @@ impl LoaderTreeBuilder { .await?; } MetadataWithAltItem::Dynamic { path, .. } => { - let i = self.unique_number(); + let i = self.base.unique_number(); let identifier = magic_identifier::mangle(&format!("{name} #{i}")); let inner_module_id = format!("METADATA_{i}"); - self.imports + self.base + .imports .push(format!("import {identifier} from \"{inner_module_id}\";").into()); let source = dynamic_image_metadata_source( - Vc::upcast(self.module_asset_context), + Vc::upcast(self.base.module_asset_context), *path, name.into(), app_page.clone(), ); - let module = self - .module_asset_context - .process( - source, - Value::new(ReferenceType::EcmaScriptModules( - EcmaScriptModulesReferenceSubType::Undefined, - )), - ) - .module(); - self.inner_assets.insert(inner_module_id.into(), module); + let module = self.base.process_source(source); + self.base + .inner_assets + .insert(inner_module_id.into(), module); let s = " "; writeln!(self.loader_tree_code, "{s}{identifier},")?; @@ -277,7 +208,7 @@ impl LoaderTreeBuilder { path: Vc, alt_path: Option>, ) -> Result<()> { - let i = self.unique_number(); + let i = self.base.unique_number(); let identifier = magic_identifier::mangle(&format!("{name} #{i}")); let inner_module_id = format!("METADATA_{i}"); @@ -285,20 +216,22 @@ impl LoaderTreeBuilder { \"next/dist/lib/metadata/get-metadata-route\"" .into(); - if !self.imports.contains(&helper_import) { - self.imports.push(helper_import); + if !self.base.imports.contains(&helper_import) { + self.base.imports.push(helper_import); } - self.imports + self.base + .imports .push(format!("import {identifier} from \"{inner_module_id}\";").into()); - self.inner_assets.insert( - inner_module_id.into(), - Vc::upcast(StructuredImageModuleType::create_module( - Vc::upcast(FileSource::new(path)), - BlurPlaceholderMode::None, - self.module_asset_context, - )), - ); + let module = Vc::upcast(StructuredImageModuleType::create_module( + Vc::upcast(FileSource::new(path)), + BlurPlaceholderMode::None, + self.base.module_asset_context, + )); + let module = self.base.process_module(module); + self.base + .inner_assets + .insert(inner_module_id.into(), module); let s = " "; writeln!(self.loader_tree_code, "{s}(async (props) => [{{")?; @@ -333,18 +266,20 @@ impl LoaderTreeBuilder { if let Some(alt_path) = alt_path { let identifier = magic_identifier::mangle(&format!("{name} alt text #{i}")); let inner_module_id = format!("METADATA_ALT_{i}"); - self.imports + + self.base + .imports .push(format!("import {identifier} from \"{inner_module_id}\";").into()); + let module = self - .module_asset_context - .process( - Vc::upcast(TextContentFileSource::new(Vc::upcast(FileSource::new( - alt_path, - )))), - Value::new(ReferenceType::Internal(InnerAssets::empty())), - ) - .module(); - self.inner_assets.insert(inner_module_id.into(), module); + .base + .process_source(Vc::upcast(TextContentFileSource::new(Vc::upcast( + FileSource::new(alt_path), + )))); + + self.base + .inner_assets + .insert(inner_module_id.into(), module); writeln!(self.loader_tree_code, "{s} alt: {identifier},")?; } @@ -354,14 +289,14 @@ impl LoaderTreeBuilder { Ok(()) } - async fn walk_tree(&mut self, loader_tree: &LoaderTree, root: bool) -> Result<()> { + async fn walk_tree(&mut self, loader_tree: &AppPageLoaderTree, root: bool) -> Result<()> { use std::fmt::Write; - let LoaderTree { + let AppPageLoaderTree { page: app_page, segment, parallel_routes, - components, + modules, global_metadata, } = loader_tree; @@ -371,10 +306,9 @@ impl LoaderTreeBuilder { segment = StringifyJs(segment) )?; - // Components need to be referenced first let temp_loader_tree_code = take(&mut self.loader_tree_code); - // add components - let Components { + + let AppDirModules { page, default, error, @@ -385,19 +319,34 @@ impl LoaderTreeBuilder { not_found, metadata, route: _, - } = &components; - self.write_component(ComponentType::Layout, *layout).await?; - self.write_component(ComponentType::Page, *page).await?; - self.write_component(ComponentType::DefaultPage, *default) + } = &modules; + + // Ensure global metadata being written only once at the root level + // Otherwise child pages will have redundant metadata + let global_metadata = &*global_metadata.await?; + self.write_metadata( + app_page, + metadata, + if root { Some(global_metadata) } else { None }, + ) + .await?; + + self.write_modules_entry(AppDirModuleType::Layout, *layout) + .await?; + self.write_modules_entry(AppDirModuleType::Error, *error) .await?; - self.write_component(ComponentType::Error, *error).await?; - self.write_component(ComponentType::Loading, *loading) + self.write_modules_entry(AppDirModuleType::Loading, *loading) .await?; - self.write_component(ComponentType::Template, *template) + self.write_modules_entry(AppDirModuleType::Template, *template) .await?; - self.write_component(ComponentType::NotFound, *not_found) + self.write_modules_entry(AppDirModuleType::NotFound, *not_found) .await?; - let components_code = replace(&mut self.loader_tree_code, temp_loader_tree_code); + self.write_modules_entry(AppDirModuleType::Page, *page) + .await?; + self.write_modules_entry(AppDirModuleType::DefaultPage, *default) + .await?; + + let modules_code = replace(&mut self.loader_tree_code, temp_loader_tree_code); // add parallel_routes for (key, parallel_route) in parallel_routes.iter() { @@ -407,78 +356,54 @@ impl LoaderTreeBuilder { } writeln!(self.loader_tree_code, "}}, {{")?; - self.loader_tree_code += &components_code; - - // Ensure global metadata being written only once at the root level - // Otherwise child pages will have redundant metadata - let global_metadata = &*global_metadata.await?; - self.write_metadata( - app_page, - metadata, - if root { Some(global_metadata) } else { None }, - ) - .await?; + self.loader_tree_code += &modules_code; write!(self.loader_tree_code, "}}]")?; Ok(()) } - async fn build(mut self, loader_tree: Vc) -> Result { + async fn build( + mut self, + loader_tree: Vc, + ) -> Result { let loader_tree = &*loader_tree.await?; - let components = &loader_tree.components; - if let Some(global_error) = components.global_error { - let module = process_module( - &self.module_asset_context, - &self.server_component_transition, - global_error, - ); - self.inner_assets.insert(GLOBAL_ERROR.into(), module); + let modules = &loader_tree.modules; + if let Some(global_error) = modules.global_error { + let module = self + .base + .process_source(Vc::upcast(FileSource::new(global_error))); + self.base.inner_assets.insert(GLOBAL_ERROR.into(), module); }; self.walk_tree(loader_tree, true).await?; - Ok(LoaderTreeModule { - imports: self.imports, + Ok(AppPageLoaderTreeModule { + imports: self.base.imports, loader_tree_code: self.loader_tree_code.into(), - inner_assets: self.inner_assets, + inner_assets: self.base.inner_assets, pages: self.pages, }) } } -pub struct LoaderTreeModule { +pub struct AppPageLoaderTreeModule { pub imports: Vec, pub loader_tree_code: RcStr, pub inner_assets: IndexMap>>, pub pages: Vec>, } -impl LoaderTreeModule { +impl AppPageLoaderTreeModule { pub async fn build( - loader_tree: Vc, + loader_tree: Vc, module_asset_context: Vc, server_component_transition: Vc>, base_path: Option, ) -> Result { - LoaderTreeBuilder::new(module_asset_context, server_component_transition, base_path) + AppPageLoaderTreeBuilder::new(module_asset_context, server_component_transition, base_path) .build(loader_tree) .await } } pub const GLOBAL_ERROR: &str = "GLOBAL_ERROR_MODULE"; - -fn process_module( - &context: &Vc, - &server_component_transition: &Vc>, - component: Vc, -) -> Vc> { - let source = Vc::upcast(FileSource::new(component)); - let reference_ty = Value::new(ReferenceType::EcmaScriptModules( - EcmaScriptModulesReferenceSubType::Undefined, - )); - - server_component_transition - .process(source, context, reference_ty) - .module() -} diff --git a/crates/next-core/src/app_segment_config.rs b/crates/next-core/src/app_segment_config.rs index 7dc9480dfab34..175ea21be1a92 100644 --- a/crates/next-core/src/app_segment_config.rs +++ b/crates/next-core/src/app_segment_config.rs @@ -24,7 +24,7 @@ use turbopack_ecmascript::{ EcmascriptInputTransforms, EcmascriptModuleAssetType, }; -use crate::{app_structure::LoaderTree, util::NextRuntime}; +use crate::{app_structure::AppPageLoaderTree, util::NextRuntime}; #[derive(Default, PartialEq, Eq, Clone, Copy, Debug, TraceRawVcs, Serialize, Deserialize)] #[serde(rename_all = "kebab-case")] @@ -468,7 +468,7 @@ fn parse_config_value( #[turbo_tasks::function] pub async fn parse_segment_config_from_loader_tree( - loader_tree: Vc, + loader_tree: Vc, ) -> Result> { let loader_tree = &*loader_tree.await?; @@ -478,7 +478,7 @@ pub async fn parse_segment_config_from_loader_tree( } pub async fn parse_segment_config_from_loader_tree_internal( - loader_tree: &LoaderTree, + loader_tree: &AppPageLoaderTree, ) -> Result { let mut config = NextSegmentConfig::default(); @@ -495,12 +495,12 @@ pub async fn parse_segment_config_from_loader_tree_internal( config.apply_parallel_config(&tree)?; } - let components = &loader_tree.components; - for component in [components.page, components.default, components.layout] + let modules = &loader_tree.modules; + for path in [modules.page, modules.default, modules.layout] .into_iter() .flatten() { - let source = Vc::upcast(FileSource::new(component)); + let source = Vc::upcast(FileSource::new(path)); config.apply_parent_config(&*parse_segment_config_from_source(source).await?); } diff --git a/crates/next-core/src/app_structure.rs b/crates/next-core/src/app_structure.rs index 4f6bafbed457a..a9483fbd81ace 100644 --- a/crates/next-core/src/app_structure.rs +++ b/crates/next-core/src/app_structure.rs @@ -32,7 +32,7 @@ use crate::{ /// A final route in the app directory. #[turbo_tasks::value] #[derive(Default, Debug, Clone)] -pub struct Components { +pub struct AppDirModules { #[serde(skip_serializing_if = "Option::is_none")] pub page: Option>, #[serde(skip_serializing_if = "Option::is_none")] @@ -55,7 +55,7 @@ pub struct Components { pub metadata: Metadata, } -impl Components { +impl AppDirModules { fn without_leafs(&self) -> Self { Self { page: None, @@ -204,7 +204,7 @@ impl GlobalMetadata { pub struct DirectoryTree { /// key is e.g. "dashboard", "(dashboard)", "@slot" pub subdirectories: BTreeMap>, - pub components: Components, + pub modules: AppDirModules, } #[turbo_tasks::value] @@ -212,7 +212,7 @@ pub struct DirectoryTree { struct PlainDirectoryTree { /// key is e.g. "dashboard", "(dashboard)", "@slot" pub subdirectories: BTreeMap, - pub components: Components, + pub modules: AppDirModules, } #[turbo_tasks::value_impl] @@ -227,7 +227,7 @@ impl DirectoryTree { Ok(PlainDirectoryTree { subdirectories, - components: self.components.clone(), + modules: self.modules.clone(), } .cell()) } @@ -278,14 +278,14 @@ async fn get_directory_tree_internal( // so we just return an empty tree here. return Ok(DirectoryTree { subdirectories: Default::default(), - components: Components::default(), + modules: AppDirModules::default(), } .cell()); }; let page_extensions_value = page_extensions.await?; let mut subdirectories = BTreeMap::new(); - let mut components = Components::default(); + let mut modules = AppDirModules::default(); let mut metadata_icon = Vec::new(); let mut metadata_apple = Vec::new(); @@ -304,15 +304,15 @@ async fn get_directory_tree_internal( if let Some((stem, ext)) = basename.split_once('.') { if page_extensions_value.iter().any(|e| e == ext) { match stem { - "page" => components.page = Some(file), - "layout" => components.layout = Some(file), - "error" => components.error = Some(file), - "global-error" => components.global_error = Some(file), - "loading" => components.loading = Some(file), - "template" => components.template = Some(file), - "not-found" => components.not_found = Some(file), - "default" => components.default = Some(file), - "route" => components.route = Some(file), + "page" => modules.page = Some(file), + "layout" => modules.layout = Some(file), + "error" => modules.error = Some(file), + "global-error" => modules.global_error = Some(file), + "loading" => modules.loading = Some(file), + "template" => modules.template = Some(file), + "not-found" => modules.not_found = Some(file), + "default" => modules.default = Some(file), + "route" => modules.route = Some(file), _ => {} } } @@ -334,10 +334,9 @@ async fn get_directory_tree_internal( "opengraph-image" => &mut metadata_open_graph, "sitemap" => { if dynamic { - components.metadata.sitemap = - Some(MetadataItem::Dynamic { path: file }); + modules.metadata.sitemap = Some(MetadataItem::Dynamic { path: file }); } else { - components.metadata.sitemap = Some(MetadataItem::Static { path: file }); + modules.metadata.sitemap = Some(MetadataItem::Static { path: file }); } continue; } @@ -384,29 +383,29 @@ async fn get_directory_tree_internal( list.into_iter().map(|(_, item)| item).collect() } - components.metadata.icon = sort(metadata_icon); - components.metadata.apple = sort(metadata_apple); - components.metadata.twitter = sort(metadata_twitter); - components.metadata.open_graph = sort(metadata_open_graph); + modules.metadata.icon = sort(metadata_icon); + modules.metadata.apple = sort(metadata_apple); + modules.metadata.twitter = sort(metadata_twitter); + modules.metadata.open_graph = sort(metadata_open_graph); Ok(DirectoryTree { subdirectories, - components, + modules, } .cell()) } #[turbo_tasks::value] #[derive(Debug, Clone)] -pub struct LoaderTree { +pub struct AppPageLoaderTree { pub page: AppPage, pub segment: RcStr, - pub parallel_routes: IndexMap, - pub components: Components, + pub parallel_routes: IndexMap, + pub modules: AppDirModules, pub global_metadata: Vc, } -impl LoaderTree { +impl AppPageLoaderTree { /// Returns true if there's a page match in this loader tree. pub fn has_page(&self) -> bool { if &*self.segment == "__PAGE__" { @@ -485,7 +484,7 @@ impl LoaderTree { pub enum Entrypoint { AppPage { pages: Vec, - loader_tree: Vc, + loader_tree: Vc, }, AppRoute { page: AppPage, @@ -558,7 +557,7 @@ fn add_app_page( app_dir: Vc, result: &mut IndexMap, page: AppPage, - loader_tree: Vc, + loader_tree: Vc, ) { let mut e = match result.entry(page.clone().into()) { Entry::Occupied(e) => e, @@ -733,9 +732,8 @@ struct DuplicateParallelRouteIssue { #[turbo_tasks::value_impl] impl Issue for DuplicateParallelRouteIssue { #[turbo_tasks::function] - async fn file_path(self: Vc) -> Result> { - let this = self.await?; - Ok(this.app_dir.join(this.page.to_string().into())) + fn file_path(&self) -> Result> { + Ok(self.app_dir.join(self.page.to_string().into())) } #[turbo_tasks::function] @@ -752,7 +750,7 @@ impl Issue for DuplicateParallelRouteIssue { } } -fn page_path_except_parallel(loader_tree: &LoaderTree) -> Option { +fn page_path_except_parallel(loader_tree: &AppPageLoaderTree) -> Option { if loader_tree.page.iter().any(|v| { matches!( v, @@ -764,7 +762,7 @@ fn page_path_except_parallel(loader_tree: &LoaderTree) -> Option { return None; } - if loader_tree.components.page.is_some() { + if loader_tree.modules.page.is_some() { return Some(loader_tree.page.clone()); } @@ -777,7 +775,7 @@ fn page_path_except_parallel(loader_tree: &LoaderTree) -> Option { fn check_duplicate( duplicate: &mut FxHashMap, - loader_tree: &LoaderTree, + loader_tree: &AppPageLoaderTree, app_dir: Vc, ) { let page_path = page_path_except_parallel(loader_tree); @@ -806,7 +804,7 @@ async fn directory_tree_to_loader_tree( app_page: AppPage, // the page this loader tree is constructed for for_app_path: AppPath, -) -> Result>>> { +) -> Result>>> { let plain_tree = &*directory_tree.into_plain().await?; let tree = directory_tree_to_loader_tree_internal( @@ -829,36 +827,36 @@ fn directory_tree_to_loader_tree_internal( app_page: AppPage, // the page this loader tree is constructed for for_app_path: AppPath, -) -> Result> { +) -> Result> { let app_path = AppPath::from(app_page.clone()); if !for_app_path.contains(&app_path) { return Ok(None); } - let mut components = directory_tree.components.clone(); + let mut modules = directory_tree.modules.clone(); // Capture the current page for the metadata to calculate segment relative to // the corresponding page for the static metadata files. - components.metadata.base_page = Some(app_page.clone()); + modules.metadata.base_page = Some(app_page.clone()); // the root directory in the app dir. let is_root_directory = app_page.is_root(); // an alternative root layout (in a route group which affects the page, but not // the path). - let is_root_layout = app_path.is_root() && components.layout.is_some(); + let is_root_layout = app_path.is_root() && modules.layout.is_some(); - if (is_root_directory || is_root_layout) && components.not_found.is_none() { - components.not_found = Some( + if (is_root_directory || is_root_layout) && modules.not_found.is_none() { + modules.not_found = Some( get_next_package(app_dir).join("dist/client/components/not-found-error.js".into()), ); } - let mut tree = LoaderTree { + let mut tree = AppPageLoaderTree { page: app_page.clone(), segment: directory_name.clone(), parallel_routes: IndexMap::new(), - components: components.without_leafs(), + modules: modules.without_leafs(), global_metadata, }; @@ -869,18 +867,18 @@ fn directory_tree_to_loader_tree_internal( } if let Some(page) = (app_path == for_app_path || app_path.is_catchall()) - .then_some(components.page) + .then_some(modules.page) .flatten() { tree.parallel_routes.insert( "children".into(), - LoaderTree { + AppPageLoaderTree { page: app_page.clone(), segment: "__PAGE__".into(), parallel_routes: IndexMap::new(), - components: Components { + modules: AppDirModules { page: Some(page), - metadata: components.metadata, + metadata: modules.metadata, ..Default::default() }, global_metadata, @@ -974,9 +972,9 @@ fn directory_tree_to_loader_tree_internal( let subdir_name: RcStr = format!("@{}", key).into(); let default = if key == "children" { - components.default + modules.default } else if let Some(subdirectory) = directory_tree.subdirectories.get(&subdir_name) { - subdirectory.components.default + subdirectory.modules.default } else { None }; @@ -989,15 +987,15 @@ fn directory_tree_to_loader_tree_internal( } if tree.parallel_routes.is_empty() { - if components.default.is_some() || current_level_is_parallel_route { - tree = default_route_tree(app_dir, global_metadata, app_page, components.default); + if modules.default.is_some() || current_level_is_parallel_route { + tree = default_route_tree(app_dir, global_metadata, app_page, modules.default); } else { return Ok(None); } } else if tree.parallel_routes.get("children").is_none() { tree.parallel_routes.insert( "children".into(), - default_route_tree(app_dir, global_metadata, app_page, components.default), + default_route_tree(app_dir, global_metadata, app_page, modules.default), ); } @@ -1017,19 +1015,19 @@ fn default_route_tree( global_metadata: Vc, app_page: AppPage, default_component: Option>, -) -> LoaderTree { - LoaderTree { +) -> AppPageLoaderTree { + AppPageLoaderTree { page: app_page.clone(), segment: "__DEFAULT__".into(), parallel_routes: IndexMap::new(), - components: if let Some(default) = default_component { - Components { + modules: if let Some(default) = default_component { + AppDirModules { default: Some(default), ..Default::default() } } else { // default fallback component - Components { + AppDirModules { default: Some( get_next_package(app_dir) .join("dist/client/components/parallel-route-default.js".into()), @@ -1077,11 +1075,11 @@ async fn directory_tree_to_entrypoints_internal_untraced( let directory_tree = &*directory_tree.await?; let subdirectories = &directory_tree.subdirectories; - let components = &directory_tree.components; + let modules = &directory_tree.modules; // Route can have its own segment config, also can inherit from the layout root // segment config. https://nextjs.org/docs/app/building-your-application/rendering/edge-and-nodejs-runtimes#segment-runtime-option // Pass down layouts from each tree to apply segment config when adding route. - let root_layouts = if let Some(layout) = components.layout { + let root_layouts = if let Some(layout) = modules.layout { let mut layouts = (*root_layouts.await?).clone(); layouts.push(layout); Vc::cell(layouts) @@ -1089,7 +1087,7 @@ async fn directory_tree_to_entrypoints_internal_untraced( root_layouts }; - if components.page.is_some() { + if modules.page.is_some() { let app_path = AppPath::from(app_page.clone()); let loader_tree = *directory_tree_to_loader_tree( @@ -1110,7 +1108,7 @@ async fn directory_tree_to_entrypoints_internal_untraced( ); } - if let Some(route) = components.route { + if let Some(route) = modules.route { add_app_route( app_dir, &mut result, @@ -1127,7 +1125,7 @@ async fn directory_tree_to_entrypoints_internal_untraced( open_graph, sitemap, base_page: _, - } = &components.metadata; + } = &modules.metadata; for meta in sitemap .iter() @@ -1168,30 +1166,30 @@ async fn directory_tree_to_entrypoints_internal_untraced( // Next.js has this logic in "collect-app-paths", where the root not-found page // is considered as its own entry point. - let not_found_tree = LoaderTree { + let not_found_tree = AppPageLoaderTree { page: app_page.clone(), segment: directory_name.clone(), parallel_routes: indexmap! { - "children".into() => LoaderTree { + "children".into() => AppPageLoaderTree { page: app_page.clone(), segment: "/_not-found".into(), parallel_routes: indexmap! { - "children".into() => LoaderTree { + "children".into() => AppPageLoaderTree { page: app_page.clone(), segment: "__PAGE__".into(), parallel_routes: IndexMap::new(), - components: Components { - page: components.not_found.or_else(|| Some(get_next_package(app_dir).join("dist/client/components/not-found-error.js".into()))), + modules: AppDirModules { + page: modules.not_found.or_else(|| Some(get_next_package(app_dir).join("dist/client/components/not-found-error.js".into()))), ..Default::default() }, global_metadata } }, - components: Components::default(), + modules: AppDirModules::default(), global_metadata, }, }, - components: components.without_leafs(), + modules: modules.without_leafs(), global_metadata, }.cell(); @@ -1357,7 +1355,7 @@ impl Issue for DirectoryTreeIssue { } #[turbo_tasks::function] - async fn title(&self) -> Result> { + fn title(&self) -> Result> { Ok(StyledString::Text("An issue occurred while preparing your Next.js app".into()).cell()) } diff --git a/crates/next-core/src/base_loader_tree.rs b/crates/next-core/src/base_loader_tree.rs new file mode 100644 index 0000000000000..152ddd07bde1d --- /dev/null +++ b/crates/next-core/src/base_loader_tree.rs @@ -0,0 +1,115 @@ +use anyhow::Result; +use indexmap::IndexMap; +use indoc::formatdoc; +use turbo_tasks::{RcStr, Value, ValueToString, Vc}; +use turbo_tasks_fs::FileSystemPath; +use turbopack::{transition::Transition, ModuleAssetContext}; +use turbopack_core::{ + file_source::FileSource, + module::Module, + reference_type::{EcmaScriptModulesReferenceSubType, ReferenceType}, + source::Source, +}; +use turbopack_ecmascript::{magic_identifier, utils::StringifyJs}; + +pub struct BaseLoaderTreeBuilder { + pub inner_assets: IndexMap>>, + counter: usize, + pub imports: Vec, + pub module_asset_context: Vc, + pub server_component_transition: Vc>, +} + +#[derive(Clone, Copy, Debug, PartialEq, Eq)] +pub enum AppDirModuleType { + Page, + DefaultPage, + Error, + Layout, + Loading, + Template, + NotFound, +} + +impl AppDirModuleType { + pub fn name(&self) -> &'static str { + match self { + AppDirModuleType::Page => "page", + AppDirModuleType::DefaultPage => "defaultPage", + AppDirModuleType::Error => "error", + AppDirModuleType::Layout => "layout", + AppDirModuleType::Loading => "loading", + AppDirModuleType::Template => "template", + AppDirModuleType::NotFound => "not-found", + } + } +} + +impl BaseLoaderTreeBuilder { + pub fn new( + module_asset_context: Vc, + server_component_transition: Vc>, + ) -> Self { + BaseLoaderTreeBuilder { + inner_assets: IndexMap::new(), + counter: 0, + imports: Vec::new(), + module_asset_context, + server_component_transition, + } + } + + pub fn unique_number(&mut self) -> usize { + let i = self.counter; + self.counter += 1; + i + } + + pub fn process_source(&self, source: Vc>) -> Vc> { + let reference_type = Value::new(ReferenceType::EcmaScriptModules( + EcmaScriptModulesReferenceSubType::Undefined, + )); + + self.server_component_transition + .process(source, self.module_asset_context, reference_type) + .module() + } + + pub fn process_module(&self, module: Vc>) -> Vc> { + self.server_component_transition + .process_module(module, self.module_asset_context) + } + + pub async fn create_module_tuple_code( + &mut self, + module_type: AppDirModuleType, + path: Vc, + ) -> Result { + let name = module_type.name(); + let i = self.unique_number(); + let identifier = magic_identifier::mangle(&format!("{name} #{i}")); + + self.imports.push( + formatdoc!( + r#" + import * as {} from "MODULE_{}"; + "#, + identifier, + i + ) + .into(), + ); + + let module = self.process_source(Vc::upcast(FileSource::new(path))); + + self.inner_assets + .insert(format!("MODULE_{i}").into(), module); + + let module_path = module.ident().path().to_string().await?; + + Ok(format!( + "[() => {identifier}, {path}]", + path = StringifyJs(&module_path), + )) + } +} diff --git a/crates/next-core/src/bootstrap.rs b/crates/next-core/src/bootstrap.rs index a17391ff85c40..273a0709dc446 100644 --- a/crates/next-core/src/bootstrap.rs +++ b/crates/next-core/src/bootstrap.rs @@ -14,7 +14,7 @@ use turbopack_core::{ use turbopack_ecmascript::utils::StringifyJs; #[turbo_tasks::function] -pub async fn route_bootstrap( +pub fn route_bootstrap( asset: Vc>, asset_context: Vc>, base_path: Vc, diff --git a/crates/next-core/src/hmr_entry.rs b/crates/next-core/src/hmr_entry.rs index bacd703100730..c969b1020fc7e 100644 --- a/crates/next-core/src/hmr_entry.rs +++ b/crates/next-core/src/hmr_entry.rs @@ -121,7 +121,7 @@ impl ValueToString for HmrEntryModuleReference { #[turbo_tasks::value_impl] impl ModuleReference for HmrEntryModuleReference { #[turbo_tasks::function] - async fn resolve_reference(&self) -> Result> { + fn resolve_reference(&self) -> Result> { Ok(ModuleResolveResult::module(self.module).cell()) } } diff --git a/crates/next-core/src/lib.rs b/crates/next-core/src/lib.rs index 689163649b0c3..5a91cc900a09c 100644 --- a/crates/next-core/src/lib.rs +++ b/crates/next-core/src/lib.rs @@ -4,14 +4,15 @@ #![feature(arbitrary_self_types)] #![feature(iter_intersperse)] +mod app_page_loader_tree; pub mod app_segment_config; pub mod app_structure; +mod base_loader_tree; mod bootstrap; mod embed_js; mod emit; pub mod hmr_entry; pub mod instrumentation; -mod loader_tree; pub mod middleware; pub mod mode; pub mod next_app; diff --git a/crates/next-core/src/next_app/app_page_entry.rs b/crates/next-core/src/next_app/app_page_entry.rs index e11913d12c7ee..c1f1bda123a25 100644 --- a/crates/next-core/src/next_app/app_page_entry.rs +++ b/crates/next-core/src/next_app/app_page_entry.rs @@ -17,8 +17,8 @@ use turbopack_ecmascript::utils::StringifyJs; use super::app_entry::AppEntry; use crate::{ - app_structure::LoaderTree, - loader_tree::{LoaderTreeModule, GLOBAL_ERROR}, + app_page_loader_tree::{AppPageLoaderTreeModule, GLOBAL_ERROR}, + app_structure::AppPageLoaderTree, next_app::{AppPage, AppPath}, next_config::NextConfig, next_edge::entry::wrap_edge_entry, @@ -32,7 +32,7 @@ use crate::{ pub async fn get_app_page_entry( nodejs_context: Vc, edge_context: Vc, - loader_tree: Vc, + loader_tree: Vc, page: AppPage, project_root: Vc, next_config: Vc, @@ -48,7 +48,7 @@ pub async fn get_app_page_entry( let server_component_transition = Vc::upcast(NextServerComponentTransition::new()); let base_path = next_config.await?.base_path.clone(); - let loader_tree = LoaderTreeModule::build( + let loader_tree = AppPageLoaderTreeModule::build( loader_tree, module_asset_context, server_component_transition, @@ -56,7 +56,7 @@ pub async fn get_app_page_entry( ) .await?; - let LoaderTreeModule { + let AppPageLoaderTreeModule { inner_assets, imports, loader_tree_code, @@ -107,7 +107,7 @@ pub async fn get_app_page_entry( let source = VirtualSource::new_with_ident( source .ident() - .with_query(Vc::cell(query.to_string().into())), + .with_query(Vc::cell(format!("?{}", query).into())), AssetContent::file(file.into()), ); diff --git a/crates/next-core/src/next_app/include_modules_module.rs b/crates/next-core/src/next_app/include_modules_module.rs index f36c23bdcc88a..65d4a3f3069b8 100644 --- a/crates/next-core/src/next_app/include_modules_module.rs +++ b/crates/next-core/src/next_app/include_modules_module.rs @@ -75,7 +75,7 @@ impl EcmascriptChunkPlaceable for IncludeModulesModule { #[turbo_tasks::value_impl] impl ChunkableModule for IncludeModulesModule { #[turbo_tasks::function] - async fn as_chunk_item( + fn as_chunk_item( self: Vc, chunking_context: Vc>, ) -> Result>> { @@ -165,7 +165,7 @@ impl ValueToString for IncludedModuleReference { #[turbo_tasks::value_impl] impl ModuleReference for IncludedModuleReference { #[turbo_tasks::function] - async fn resolve_reference(&self) -> Result> { + fn resolve_reference(&self) -> Result> { Ok(ModuleResolveResult::module(self.module).cell()) } } diff --git a/crates/next-core/src/next_client/runtime_entry.rs b/crates/next-core/src/next_client/runtime_entry.rs index 2bba0e124677c..719d8895ed506 100644 --- a/crates/next-core/src/next_client/runtime_entry.rs +++ b/crates/next-core/src/next_client/runtime_entry.rs @@ -69,12 +69,12 @@ pub struct RuntimeEntries(Vec>); impl RuntimeEntries { #[turbo_tasks::function] pub async fn resolve_entries( - self: Vc, + &self, asset_context: Vc>, ) -> Result> { let mut runtime_entries = Vec::new(); - for reference in &self.await? { + for reference in &self.0 { let resolved_entries = reference.resolve_entry(asset_context).await?; runtime_entries.extend(&resolved_entries); } diff --git a/crates/next-core/src/next_client_reference/ecmascript_client_reference/ecmascript_client_reference_module.rs b/crates/next-core/src/next_client_reference/ecmascript_client_reference/ecmascript_client_reference_module.rs index 382733c050a03..fc04e3ba8d33e 100644 --- a/crates/next-core/src/next_client_reference/ecmascript_client_reference/ecmascript_client_reference_module.rs +++ b/crates/next-core/src/next_client_reference/ecmascript_client_reference/ecmascript_client_reference_module.rs @@ -57,7 +57,7 @@ impl Module for EcmascriptClientReferenceModule { } #[turbo_tasks::function] - async fn additional_layers_modules(&self) -> Result> { + fn additional_layers_modules(&self) -> Result> { let client_module = Vc::upcast(self.client_module); let ssr_module = Vc::upcast(self.ssr_module); Ok(Vc::cell(vec![client_module, ssr_module])) diff --git a/crates/next-core/src/next_client_reference/ecmascript_client_reference/ecmascript_client_reference_proxy_module.rs b/crates/next-core/src/next_client_reference/ecmascript_client_reference/ecmascript_client_reference_proxy_module.rs index 8c7577fe81f95..4c1a16b7aa0fc 100644 --- a/crates/next-core/src/next_client_reference/ecmascript_client_reference/ecmascript_client_reference_proxy_module.rs +++ b/crates/next-core/src/next_client_reference/ecmascript_client_reference/ecmascript_client_reference_proxy_module.rs @@ -262,7 +262,7 @@ fn client_reference_description() -> Vc { #[turbo_tasks::value_impl] impl ChunkItem for ProxyModuleChunkItem { #[turbo_tasks::function] - async fn asset_ident(&self) -> Vc { + fn asset_ident(&self) -> Vc { self.client_proxy_asset.ident() } @@ -272,7 +272,7 @@ impl ChunkItem for ProxyModuleChunkItem { } #[turbo_tasks::function] - async fn chunking_context(&self) -> Vc> { + fn chunking_context(&self) -> Vc> { Vc::upcast(self.chunking_context) } diff --git a/crates/next-core/src/next_client_reference/visit_client_reference.rs b/crates/next-core/src/next_client_reference/visit_client_reference.rs index 10207b384b1c7..d74d07db67441 100644 --- a/crates/next-core/src/next_client_reference/visit_client_reference.rs +++ b/crates/next-core/src/next_client_reference/visit_client_reference.rs @@ -10,6 +10,7 @@ use turbo_tasks::{ trace::TraceRawVcs, RcStr, ReadRef, TryJoinIterExt, ValueToString, Vc, }; +use turbo_tasks_fs::FileSystemPath; use turbopack::css::CssModuleAsset; use turbopack_core::{ module::{Module, Modules}, @@ -50,6 +51,7 @@ pub enum ClientReferenceType { pub struct ClientReferenceGraphResult { pub client_references: Vec, pub server_component_entries: Vec>, + pub server_utils: Vec>>, } #[turbo_tasks::value(transparent)] @@ -77,6 +79,7 @@ pub async fn client_reference_graph( let mut client_references = vec![]; let mut server_component_entries = vec![]; + let mut server_utils = vec![]; let graph = AdjacencyMap::new() .skip_duplicates() @@ -86,7 +89,9 @@ pub async fn client_reference_graph( .copied() .map(|module| async move { Ok(VisitClientReferenceNode { - server_component: None, + state: VisitClientReferenceNodeState::Entry { + entry_path: module.ident().path().resolve().await?, + }, ty: VisitClientReferenceNodeType::Internal( module, module.ident().to_string().await?, @@ -111,6 +116,9 @@ pub async fn client_reference_graph( VisitClientReferenceNodeType::ClientReference(client_reference, _) => { client_references.push(*client_reference); } + VisitClientReferenceNodeType::ServerUtilEntry(server_util, _) => { + server_utils.push(*server_util); + } VisitClientReferenceNodeType::ServerComponentEntry(server_component, _) => { server_component_entries.push(*server_component); } @@ -120,6 +128,7 @@ pub async fn client_reference_graph( Ok(ClientReferenceGraphResult { client_references, server_component_entries, + server_utils, } .cell()) } @@ -133,16 +142,41 @@ struct VisitClientReference; Clone, Eq, PartialEq, Hash, Serialize, Deserialize, Debug, ValueDebugFormat, TraceRawVcs, )] struct VisitClientReferenceNode { - server_component: Option>, + state: VisitClientReferenceNodeState, ty: VisitClientReferenceNodeType, } +#[derive( + Clone, Copy, Eq, PartialEq, Hash, Serialize, Deserialize, Debug, ValueDebugFormat, TraceRawVcs, +)] +enum VisitClientReferenceNodeState { + Entry { + entry_path: Vc, + }, + InServerComponent { + server_component: Vc, + }, + InServerUtil, +} +impl VisitClientReferenceNodeState { + fn server_component(&self) -> Option> { + match self { + VisitClientReferenceNodeState::Entry { .. } => None, + VisitClientReferenceNodeState::InServerComponent { server_component } => { + Some(*server_component) + } + VisitClientReferenceNodeState::InServerUtil => None, + } + } +} + #[derive( Clone, Eq, PartialEq, Hash, Serialize, Deserialize, Debug, ValueDebugFormat, TraceRawVcs, )] enum VisitClientReferenceNodeType { ClientReference(ClientReference, ReadRef), ServerComponentEntry(Vc, ReadRef), + ServerUtilEntry(Vc>, ReadRef), Internal(Vc>, ReadRef), } @@ -155,6 +189,7 @@ impl Visit for VisitClientReference { match edge.ty { VisitClientReferenceNodeType::ClientReference(..) => VisitControlFlow::Skip(edge), VisitClientReferenceNodeType::Internal(..) => VisitControlFlow::Continue(edge), + VisitClientReferenceNodeType::ServerUtilEntry(..) => VisitControlFlow::Continue(edge), VisitClientReferenceNodeType::ServerComponentEntry(..) => { VisitControlFlow::Continue(edge) } @@ -169,6 +204,7 @@ impl Visit for VisitClientReference { // nodes' edges. VisitClientReferenceNodeType::ClientReference(..) => return Ok(vec![]), VisitClientReferenceNodeType::Internal(module, _) => module, + VisitClientReferenceNodeType::ServerUtilEntry(module, _) => module, VisitClientReferenceNodeType::ServerComponentEntry(module, _) => Vc::upcast(module), }; @@ -180,10 +216,10 @@ impl Visit for VisitClientReference { Vc::try_resolve_downcast_type::(module).await? { return Ok(VisitClientReferenceNode { - server_component: node.server_component, + state: node.state, ty: VisitClientReferenceNodeType::ClientReference( ClientReference { - server_component: node.server_component, + server_component: node.state.server_component(), ty: ClientReferenceType::EcmascriptClientReference( client_reference_module, ), @@ -197,10 +233,10 @@ impl Visit for VisitClientReference { Vc::try_resolve_downcast_type::(module).await? { return Ok(VisitClientReferenceNode { - server_component: node.server_component, + state: node.state, ty: VisitClientReferenceNodeType::ClientReference( ClientReference { - server_component: node.server_component, + server_component: node.state.server_component(), ty: ClientReferenceType::CssClientReference( css_client_reference_asset, ), @@ -214,7 +250,9 @@ impl Visit for VisitClientReference { Vc::try_resolve_downcast_type::(module).await? { return Ok(VisitClientReferenceNode { - server_component: Some(server_component_asset), + state: VisitClientReferenceNodeState::InServerComponent { + server_component: server_component_asset, + }, ty: VisitClientReferenceNodeType::ServerComponentEntry( server_component_asset, server_component_asset.ident().to_string().await?, @@ -222,8 +260,20 @@ impl Visit for VisitClientReference { }); } + if let VisitClientReferenceNodeState::Entry { entry_path } = &node.state { + if module.ident().path().resolve().await? != *entry_path { + return Ok(VisitClientReferenceNode { + state: VisitClientReferenceNodeState::InServerUtil, + ty: VisitClientReferenceNodeType::ServerUtilEntry( + module, + module.ident().to_string().await?, + ), + }); + } + } + Ok(VisitClientReferenceNode { - server_component: node.server_component, + state: node.state, ty: VisitClientReferenceNodeType::Internal( module, module.ident().to_string().await?, @@ -245,6 +295,9 @@ impl Visit for VisitClientReference { VisitClientReferenceNodeType::Internal(_, name) => { tracing::info_span!("module", name = name.to_string()) } + VisitClientReferenceNodeType::ServerUtilEntry(_, name) => { + tracing::info_span!("server util", name = name.to_string()) + } VisitClientReferenceNodeType::ServerComponentEntry(_, name) => { tracing::info_span!("layout segment", name = name.to_string()) } diff --git a/crates/next-core/src/next_config.rs b/crates/next-core/src/next_config.rs index 1b63a4cf1b95c..f3ca4eb9cbee3 100644 --- a/crates/next-core/src/next_config.rs +++ b/crates/next-core/src/next_config.rs @@ -792,10 +792,9 @@ impl NextConfig { } #[turbo_tasks::function] - pub async fn server_external_packages(self: Vc) -> Result>> { + pub fn server_external_packages(&self) -> Result>> { Ok(Vc::cell( - self.await? - .server_external_packages + self.server_external_packages .as_ref() .cloned() .unwrap_or_default(), @@ -803,12 +802,11 @@ impl NextConfig { } #[turbo_tasks::function] - pub async fn env(self: Vc) -> Result> { + pub fn env(&self) -> Result> { // The value expected for env is Record, but config itself // allows arbitrary object (https://github.com/vercel/next.js/blob/25ba8a74b7544dfb6b30d1b67c47b9cb5360cb4e/packages/next/src/server/config-schema.ts#L203) // then stringifies it. We do the interop here as well. let env = self - .await? .env .iter() .map(|(k, v)| { @@ -828,29 +826,25 @@ impl NextConfig { } #[turbo_tasks::function] - pub async fn image_config(self: Vc) -> Result> { - Ok(self.await?.images.clone().cell()) + pub fn image_config(&self) -> Result> { + Ok(self.images.clone().cell()) } #[turbo_tasks::function] - pub async fn page_extensions(self: Vc) -> Result>> { - Ok(Vc::cell(self.await?.page_extensions.clone())) + pub fn page_extensions(&self) -> Result>> { + Ok(Vc::cell(self.page_extensions.clone())) } #[turbo_tasks::function] - pub async fn transpile_packages(self: Vc) -> Result>> { + pub fn transpile_packages(&self) -> Result>> { Ok(Vc::cell( - self.await?.transpile_packages.clone().unwrap_or_default(), + self.transpile_packages.clone().unwrap_or_default(), )) } #[turbo_tasks::function] - pub async fn webpack_rules( - self: Vc, - active_conditions: Vec, - ) -> Result> { - let this = self.await?; - let Some(turbo_rules) = this + pub fn webpack_rules(&self, active_conditions: Vec) -> Result> { + let Some(turbo_rules) = self .experimental .turbo .as_ref() @@ -937,9 +931,8 @@ impl NextConfig { } #[turbo_tasks::function] - pub async fn resolve_alias_options(self: Vc) -> Result> { - let this = self.await?; - let Some(resolve_alias) = this + pub fn resolve_alias_options(&self) -> Result> { + let Some(resolve_alias) = self .experimental .turbo .as_ref() @@ -952,9 +945,8 @@ impl NextConfig { } #[turbo_tasks::function] - pub async fn resolve_extension(self: Vc) -> Result> { - let this = self.await?; - let Some(resolve_extensions) = this + pub fn resolve_extension(&self) -> Result> { + let Some(resolve_extensions) = self .experimental .turbo .as_ref() @@ -966,8 +958,8 @@ impl NextConfig { } #[turbo_tasks::function] - pub async fn import_externals(self: Vc) -> Result> { - Ok(Vc::cell(match self.await?.experimental.esm_externals { + pub async fn import_externals(&self) -> Result> { + Ok(Vc::cell(match self.experimental.esm_externals { Some(EsmExternals::Bool(b)) => b, Some(EsmExternals::Loose(_)) => bail!("esmExternals = \"loose\" is not supported"), None => true, @@ -975,8 +967,8 @@ impl NextConfig { } #[turbo_tasks::function] - pub async fn mdx_rs(self: Vc) -> Result> { - let options = &self.await?.experimental.mdx_rs; + pub fn mdx_rs(&self) -> Result> { + let options = &self.experimental.mdx_rs; let options = match options { Some(MdxRsOptions::Boolean(true)) => OptionalMdxTransformOptions(Some( @@ -1005,8 +997,8 @@ impl NextConfig { } #[turbo_tasks::function] - pub async fn react_compiler(self: Vc) -> Result> { - let options = &self.await?.experimental.react_compiler; + pub fn react_compiler(&self) -> Result> { + let options = &self.experimental.react_compiler; let options = match options { Some(ReactCompilerOptionsOrBoolean::Boolean(true)) => { @@ -1028,24 +1020,20 @@ impl NextConfig { } #[turbo_tasks::function] - pub async fn sass_config(self: Vc) -> Result> { - Ok(Vc::cell( - self.await?.sass_options.clone().unwrap_or_default(), - )) + pub fn sass_config(&self) -> Result> { + Ok(Vc::cell(self.sass_options.clone().unwrap_or_default())) } #[turbo_tasks::function] - pub async fn skip_middleware_url_normalize(self: Vc) -> Result> { + pub fn skip_middleware_url_normalize(&self) -> Result> { Ok(Vc::cell( - self.await?.skip_middleware_url_normalize.unwrap_or(false), + self.skip_middleware_url_normalize.unwrap_or(false), )) } #[turbo_tasks::function] - pub async fn skip_trailing_slash_redirect(self: Vc) -> Result> { - Ok(Vc::cell( - self.await?.skip_trailing_slash_redirect.unwrap_or(false), - )) + pub fn skip_trailing_slash_redirect(&self) -> Result> { + Ok(Vc::cell(self.skip_trailing_slash_redirect.unwrap_or(false))) } /// Returns the final asset prefix. If an assetPrefix is set, it's used. @@ -1069,10 +1057,9 @@ impl NextConfig { } #[turbo_tasks::function] - pub async fn enable_ppr(self: Vc) -> Result> { + pub fn enable_ppr(&self) -> Result> { Ok(Vc::cell( - self.await? - .experimental + self.experimental .ppr .as_ref() .map(|ppr| match ppr { @@ -1086,22 +1073,19 @@ impl NextConfig { } #[turbo_tasks::function] - pub async fn enable_taint(self: Vc) -> Result> { - Ok(Vc::cell(self.await?.experimental.taint.unwrap_or(false))) + pub fn enable_taint(&self) -> Result> { + Ok(Vc::cell(self.experimental.taint.unwrap_or(false))) } #[turbo_tasks::function] - pub async fn enable_dynamic_io(self: Vc) -> Result> { - Ok(Vc::cell( - self.await?.experimental.dynamic_io.unwrap_or(false), - )) + pub fn enable_dynamic_io(&self) -> Result> { + Ok(Vc::cell(self.experimental.dynamic_io.unwrap_or(false))) } #[turbo_tasks::function] - pub async fn use_swc_css(self: Vc) -> Result> { + pub fn use_swc_css(&self) -> Result> { Ok(Vc::cell( - self.await? - .experimental + self.experimental .turbo .as_ref() .and_then(|turbo| turbo.use_swc_css) @@ -1110,10 +1094,9 @@ impl NextConfig { } #[turbo_tasks::function] - pub async fn optimize_package_imports(self: Vc) -> Result>> { + pub fn optimize_package_imports(&self) -> Result>> { Ok(Vc::cell( - self.await? - .experimental + self.experimental .optimize_package_imports .clone() .unwrap_or_default(), @@ -1121,12 +1104,11 @@ impl NextConfig { } #[turbo_tasks::function] - pub async fn tree_shaking_mode_for_foreign_code( - self: Vc, + pub fn tree_shaking_mode_for_foreign_code( + &self, is_development: bool, ) -> Result> { let tree_shaking = self - .await? .experimental .turbo .as_ref() @@ -1147,7 +1129,7 @@ impl NextConfig { } #[turbo_tasks::function] - pub async fn tree_shaking_mode_for_user_code( + pub fn tree_shaking_mode_for_user_code( self: Vc, is_development: bool, ) -> Result> { @@ -1159,9 +1141,8 @@ impl NextConfig { } #[turbo_tasks::function] - pub async fn module_id_strategy_config(self: Vc) -> Result> { - let this = self.await?; - let Some(module_id_strategy) = this + pub fn module_id_strategy_config(&self) -> Result> { + let Some(module_id_strategy) = self .experimental .turbo .as_ref() @@ -1194,10 +1175,8 @@ impl JsConfig { } #[turbo_tasks::function] - pub async fn compiler_options(self: Vc) -> Result> { - Ok(Vc::cell( - self.await?.compiler_options.clone().unwrap_or_default(), - )) + pub fn compiler_options(&self) -> Result> { + Ok(Vc::cell(self.compiler_options.clone().unwrap_or_default())) } } diff --git a/crates/next-core/src/next_dynamic/dynamic_module.rs b/crates/next-core/src/next_dynamic/dynamic_module.rs index 5837bfd7b713a..70c9747185bb8 100644 --- a/crates/next-core/src/next_dynamic/dynamic_module.rs +++ b/crates/next-core/src/next_dynamic/dynamic_module.rs @@ -30,13 +30,11 @@ impl NextDynamicEntryModule { #[turbo_tasks::function] pub async fn client_chunks( - self: Vc, + &self, client_chunking_context: Vc>, ) -> Result> { - let this = self.await?; - let Some(client_entry_module) = - Vc::try_resolve_sidecast::>(this.client_entry_module).await? + Vc::try_resolve_sidecast::>(self.client_entry_module).await? else { bail!("dynamic client asset must be chunkable"); }; diff --git a/crates/next-core/src/next_font/google/options.rs b/crates/next-core/src/next_font/google/options.rs index f2f62b0726b96..74b0db71c72d9 100644 --- a/crates/next-core/src/next_font/google/options.rs +++ b/crates/next-core/src/next_font/google/options.rs @@ -35,8 +35,8 @@ impl NextFontGoogleOptions { } #[turbo_tasks::function] - pub async fn font_family(self: Vc) -> Result> { - Ok(Vc::cell((*self.await?.font_family).into())) + pub fn font_family(&self) -> Result> { + Ok(Vc::cell((*self.font_family).into())) } } diff --git a/crates/next-core/src/next_font/local/mod.rs b/crates/next-core/src/next_font/local/mod.rs index 3662051a419f5..62ce9730f2ca2 100644 --- a/crates/next-core/src/next_font/local/mod.rs +++ b/crates/next-core/src/next_font/local/mod.rs @@ -65,7 +65,7 @@ impl NextFontLocalResolvePlugin { #[turbo_tasks::value_impl] impl BeforeResolvePlugin for NextFontLocalResolvePlugin { #[turbo_tasks::function] - async fn before_resolve_condition(&self) -> Vc { + fn before_resolve_condition(&self) -> Vc { BeforeResolvePluginCondition::from_request_glob(Glob::new( "{next,@vercel/turbopack-next/internal}/font/local/*".into(), )) @@ -321,8 +321,8 @@ impl Issue for FontResolvingIssue { } #[turbo_tasks::function] - async fn file_path(self: Vc) -> Result> { - Ok(self.await?.origin_path) + fn file_path(&self) -> Result> { + Ok(self.origin_path) } #[turbo_tasks::function] diff --git a/crates/next-core/src/next_font/local/options.rs b/crates/next-core/src/next_font/local/options.rs index cd1198f975a89..cffd94152f426 100644 --- a/crates/next-core/src/next_font/local/options.rs +++ b/crates/next-core/src/next_font/local/options.rs @@ -41,8 +41,8 @@ impl NextFontLocalOptions { } #[turbo_tasks::function] - pub async fn font_family(self: Vc) -> Result> { - Ok(Vc::cell(self.await?.variable_name.clone())) + pub fn font_family(&self) -> Result> { + Ok(Vc::cell(self.variable_name.clone())) } } diff --git a/crates/next-core/src/next_import_map.rs b/crates/next-core/src/next_import_map.rs index f6aa28658f127..d7c4739868396 100644 --- a/crates/next-core/src/next_import_map.rs +++ b/crates/next-core/src/next_import_map.rs @@ -567,6 +567,15 @@ async fn insert_next_server_special_aliases( external_esm_if_node(project_path, "next/dist/compiled/@vercel/og/index.node.js"), ); + import_map.insert_exact_alias( + "next/dist/server/ReactDOMServerPages", + ImportMapping::Alternatives(vec![ + request_to_import_mapping(project_path, "react-dom/server.edge"), + request_to_import_mapping(project_path, "react-dom/server.browser"), + ]) + .cell(), + ); + import_map.insert_exact_alias( "@opentelemetry/api", // It needs to prefer the local version of @opentelemetry/api @@ -922,6 +931,13 @@ async fn insert_next_shared_aliases( "private-next-rsc-action-encryption", request_to_import_mapping(project_path, "next/dist/server/app-render/encryption"), ); + import_map.insert_exact_alias( + "private-next-rsc-cache-wrapper", + request_to_import_mapping( + project_path, + "next/dist/build/webpack/loaders/next-flight-loader/cache-wrapper", + ), + ); insert_turbopack_dev_alias(import_map); insert_package_alias( diff --git a/crates/next-core/src/next_pages/page_entry.rs b/crates/next-core/src/next_pages/page_entry.rs index 595c9fbbebf18..33a4043a24513 100644 --- a/crates/next-core/src/next_pages/page_entry.rs +++ b/crates/next-core/src/next_pages/page_entry.rs @@ -166,7 +166,7 @@ pub async fn create_page_ssr_entry_module( } #[turbo_tasks::function] -async fn process_global_item( +fn process_global_item( item: Vc, reference_type: Value, module_context: Vc>, diff --git a/crates/next-core/src/next_route_matcher/mod.rs b/crates/next-core/src/next_route_matcher/mod.rs index a58adf5f53b97..affb4329226b1 100644 --- a/crates/next-core/src/next_route_matcher/mod.rs +++ b/crates/next-core/src/next_route_matcher/mod.rs @@ -21,7 +21,7 @@ pub(crate) struct NextExactMatcher { #[turbo_tasks::value_impl] impl NextExactMatcher { #[turbo_tasks::function] - pub async fn new(path: Vc) -> Result> { + pub fn new(path: Vc) -> Result> { Ok(Self::cell(NextExactMatcher { path })) } } diff --git a/crates/next-core/src/next_server/context.rs b/crates/next-core/src/next_server/context.rs index 2454a86713f98..a0865d56f4856 100644 --- a/crates/next-core/src/next_server/context.rs +++ b/crates/next-core/src/next_server/context.rs @@ -348,7 +348,7 @@ async fn next_server_free_vars(define_env: Vc) -> Result>, define_env: Vc, ) -> Vc { diff --git a/crates/next-core/src/next_server_component/server_component_module.rs b/crates/next-core/src/next_server_component/server_component_module.rs index 4f1b49637f2c9..3b50935dc46d4 100644 --- a/crates/next-core/src/next_server_component/server_component_module.rs +++ b/crates/next-core/src/next_server_component/server_component_module.rs @@ -46,9 +46,8 @@ impl NextServerComponentModule { } #[turbo_tasks::function] - pub async fn server_path(self: Vc) -> Result> { - let this = self.await?; - Ok(this.module.ident().path()) + pub fn server_path(&self) -> Result> { + Ok(self.module.ident().path()) } } @@ -90,7 +89,7 @@ impl Asset for NextServerComponentModule { #[turbo_tasks::value_impl] impl ChunkableModule for NextServerComponentModule { #[turbo_tasks::function] - async fn as_chunk_item( + fn as_chunk_item( self: Vc, chunking_context: Vc>, ) -> Result>> { @@ -143,13 +142,12 @@ impl EcmascriptChunkItem for NextServerComponentChunkItem { } #[turbo_tasks::function] - async fn content(self: Vc) -> Result> { - let this = self.await?; - let inner = this.inner.await?; + async fn content(&self) -> Result> { + let inner = self.inner.await?; let module_id = inner .module - .as_chunk_item(Vc::upcast(this.chunking_context)) + .as_chunk_item(Vc::upcast(self.chunking_context)) .id() .await?; Ok(EcmascriptChunkItemContent { @@ -179,7 +177,7 @@ impl ChunkItem for NextServerComponentChunkItem { } #[turbo_tasks::function] - async fn chunking_context(&self) -> Vc> { + fn chunking_context(&self) -> Vc> { self.chunking_context } diff --git a/crates/next-core/src/next_shared/resolve.rs b/crates/next-core/src/next_shared/resolve.rs index 82d797ad885b3..02b585e539df2 100644 --- a/crates/next-core/src/next_shared/resolve.rs +++ b/crates/next-core/src/next_shared/resolve.rs @@ -125,7 +125,7 @@ impl BeforeResolvePlugin for InvalidImportResolvePlugin { } #[turbo_tasks::function] - async fn before_resolve( + fn before_resolve( &self, lookup_path: Vc, _reference_type: Value, diff --git a/crates/next-core/src/next_shared/transforms/next_page_static_info.rs b/crates/next-core/src/next_shared/transforms/next_page_static_info.rs index 5dfe5b600ecfa..3f8beee7a97c5 100644 --- a/crates/next-core/src/next_shared/transforms/next_page_static_info.rs +++ b/crates/next-core/src/next_shared/transforms/next_page_static_info.rs @@ -157,7 +157,7 @@ impl Issue for PageStaticInfoIssue { } #[turbo_tasks::function] - async fn description(&self) -> Result> { + fn description(&self) -> Result> { Ok(Vc::cell(Some( StyledString::Line( self.messages diff --git a/crates/next-core/src/page_loader.rs b/crates/next-core/src/page_loader.rs index 006fcf2d4c243..f3e04516d6ff4 100644 --- a/crates/next-core/src/page_loader.rs +++ b/crates/next-core/src/page_loader.rs @@ -96,11 +96,10 @@ impl PageLoaderAsset { #[turbo_tasks::function] async fn chunks_data( - self: Vc, + &self, rebase_prefix_path: Vc, ) -> Result> { - let this = self.await?; - let mut chunks = this.page_chunks; + let mut chunks = self.page_chunks; // If we are provided a prefix path, we need to rewrite our chunk paths to // remove that prefix. @@ -119,7 +118,7 @@ impl PageLoaderAsset { chunks = Vc::cell(rebased); }; - Ok(ChunkData::from_assets(this.server_root, chunks)) + Ok(ChunkData::from_assets(self.server_root, chunks)) } } diff --git a/crates/next-core/src/pages_structure.rs b/crates/next-core/src/pages_structure.rs index ae5586b36e050..44644aac8d1e1 100644 --- a/crates/next-core/src/pages_structure.rs +++ b/crates/next-core/src/pages_structure.rs @@ -26,7 +26,7 @@ pub struct PagesStructureItem { #[turbo_tasks::value_impl] impl PagesStructureItem { #[turbo_tasks::function] - async fn new( + fn new( base_path: Vc, extensions: Vc>, fallback_path: Option>, @@ -102,8 +102,8 @@ impl PagesDirectoryStructure { /// Returns the path to the directory of this structure in the project file /// system. #[turbo_tasks::function] - pub async fn project_path(self: Vc) -> Result> { - Ok(self.await?.project_path) + pub fn project_path(&self) -> Result> { + Ok(self.project_path) } } diff --git a/crates/next-custom-transforms/src/transforms/react_server_components.rs b/crates/next-custom-transforms/src/transforms/react_server_components.rs index 4d5288503c89d..da68d741af571 100644 --- a/crates/next-custom-transforms/src/transforms/react_server_components.rs +++ b/crates/next-custom-transforms/src/transforms/react_server_components.rs @@ -21,7 +21,7 @@ use swc_core::{ }, }; -use super::cjs_finder::contains_cjs; +use super::{cjs_finder::contains_cjs, import_analyzer::ImportMap}; #[derive(Clone, Debug, Deserialize)] #[serde(untagged)] @@ -76,6 +76,7 @@ enum RSCErrorKind { NextRscErrConflictMetadataExport(Span), NextRscErrInvalidApi((String, Span)), NextRscErrDeprecatedApi((String, String, Span)), + NextSsrDynamicFalseNotAllowed(Span), } impl VisitMut for ReactServerComponents { @@ -301,6 +302,11 @@ fn report_error(app_dir: &Option, filepath: &str, error_kind: RSCErrorK ), _ => (format!("\"{source}\" is deprecated."), span), }, + RSCErrorKind::NextSsrDynamicFalseNotAllowed(span) => ( + "`ssr: false` is not allowed with `next/dynamic` in Server Components. Please move it into a client component." + .to_string(), + span, + ), }; HANDLER.with(|handler| handler.struct_span_err(span, msg.as_str()).emit()) @@ -502,6 +508,7 @@ struct ReactServerComponentValidator { invalid_client_imports: Vec, invalid_client_lib_apis_mapping: HashMap<&'static str, Vec<&'static str>>, pub directive_import_collection: Option<(bool, bool, RcVec, RcVec)>, + imports: ImportMap, } // A type to workaround a clippy warning. @@ -576,6 +583,7 @@ impl ReactServerComponentValidator { invalid_client_imports: vec![JsWord::from("server-only"), JsWord::from("next/headers")], invalid_client_lib_apis_mapping: [("next/server", vec!["unstable_after"])].into(), + imports: ImportMap::default(), } } @@ -584,6 +592,13 @@ impl ReactServerComponentValidator { RE.is_match(filepath) } + fn is_callee_next_dynamic(&self, callee: &Callee) -> bool { + match callee { + Callee::Expr(expr) => self.imports.is_import(expr, "next/dynamic", "default"), + _ => false, + } + } + // Asserts the server lib apis // e.g. // assert_invalid_server_lib_apis("react", import) @@ -817,6 +832,44 @@ impl ReactServerComponentValidator { } } } + + /// ``` + /// import dynamic from 'next/dynamic' + /// + /// dynamic(() => import(...)) // ✅ + /// dynamic(() => import(...), { ssr: true }) // ✅ + /// dynamic(() => import(...), { ssr: false }) // ❌ + /// ``` + + fn check_for_next_ssr_false(&self, node: &CallExpr) -> Option<()> { + if !self.is_callee_next_dynamic(&node.callee) { + return None; + } + + let ssr_arg = node.args.get(1)?; + let obj = ssr_arg.expr.as_object()?; + + for prop in obj.props.iter().filter_map(|v| v.as_prop()?.as_key_value()) { + let is_ssr = match &prop.key { + PropName::Ident(IdentName { sym, .. }) => sym == "ssr", + PropName::Str(s) => s.value == "ssr", + _ => false, + }; + + if is_ssr { + let value = prop.value.as_lit()?; + if let Lit::Bool(Bool { value: false, .. }) = value { + report_error( + &self.app_dir, + &self.filepath, + RSCErrorKind::NextSsrDynamicFalseNotAllowed(node.span), + ); + } + } + } + + None + } } impl Visit for ReactServerComponentValidator { @@ -830,7 +883,17 @@ impl Visit for ReactServerComponentValidator { } } + fn visit_call_expr(&mut self, node: &CallExpr) { + node.visit_children_with(self); + + if self.is_react_server_layer { + self.check_for_next_ssr_false(node); + } + } + fn visit_module(&mut self, module: &Module) { + self.imports = ImportMap::analyze(module); + let (is_client_entry, is_action_file, imports, export_names) = collect_top_level_directives_and_imports(&self.app_dir, &self.filepath, module); let imports = Rc::new(imports); diff --git a/crates/next-custom-transforms/src/transforms/server_actions.rs b/crates/next-custom-transforms/src/transforms/server_actions.rs index a39aed03cb6a2..37ad8aa980d6b 100644 --- a/crates/next-custom-transforms/src/transforms/server_actions.rs +++ b/crates/next-custom-transforms/src/transforms/server_actions.rs @@ -46,10 +46,12 @@ pub fn server_actions( file_name: file_name.to_string(), start_pos: BytePos(0), in_action_file: false, + in_cache_file: false, in_export_decl: false, in_default_export_decl: false, in_callee: false, has_action: false, + has_cache: false, reference_index: 0, in_module_level: true, @@ -67,6 +69,7 @@ pub fn server_actions( annotations: Default::default(), extra_items: Default::default(), + hoisted_extra_items: Default::default(), export_actions: Default::default(), private_ctxt: SyntaxContext::empty().apply_mark(Mark::new()), @@ -90,10 +93,12 @@ struct ServerActions { start_pos: BytePos, in_action_file: bool, + in_cache_file: bool, in_export_decl: bool, in_default_export_decl: bool, in_callee: bool, has_action: bool, + has_cache: bool, reference_index: u32, in_module_level: bool, @@ -112,6 +117,7 @@ struct ServerActions { annotations: Vec, extra_items: Vec, + hoisted_extra_items: Vec, export_actions: Vec, private_ctxt: SyntaxContext, @@ -119,24 +125,24 @@ struct ServerActions { impl ServerActions { // Check if the function or arrow function is an action function - fn get_action_info( - &mut self, - maybe_body: Option<&mut BlockStmt>, - remove_directive: bool, - ) -> bool { + fn get_body_info(&mut self, maybe_body: Option<&mut BlockStmt>) -> (bool, bool) { let mut is_action_fn = false; + let mut is_cache_fn = false; if self.in_action_file && self.in_export_decl { // All export functions in a server file are actions is_action_fn = true; + } else if self.in_cache_file && self.in_export_decl { + // All export functions in a cache file are cache functions + is_cache_fn = true; } else { // Check if the function has `"use server"` if let Some(body) = maybe_body { let mut action_span = None; remove_server_directive_index_in_fn( &mut body.stmts, - remove_directive, &mut is_action_fn, + &mut is_cache_fn, &mut action_span, self.config.enabled, ); @@ -154,7 +160,7 @@ impl ServerActions { } } - is_action_fn + (is_action_fn, is_cache_fn) } fn maybe_hoist_and_create_proxy( @@ -163,7 +169,7 @@ impl ServerActions { function: Option<&mut Box>, arrow: Option<&mut ArrowExpr>, ) -> Option> { - let action_name: JsWord = gen_ident(&mut self.reference_index); + let action_name: JsWord = gen_action_ident(&mut self.reference_index); let action_ident = Ident::new(action_name.clone(), DUMMY_SP, self.private_ctxt); let export_name: JsWord = action_name; @@ -171,7 +177,7 @@ impl ServerActions { self.export_actions.push(export_name.to_string()); if let Some(a) = arrow { - let register_action_expr = annotate_ident_as_action( + let register_action_expr = annotate_ident_as_server_reference( action_ident.clone(), ids_from_closure .iter() @@ -314,7 +320,7 @@ impl ServerActions { return Some(Box::new(register_action_expr.clone())); } else if let Some(f) = function { - let register_action_expr = annotate_ident_as_action( + let register_action_expr = annotate_ident_as_server_reference( action_ident.clone(), ids_from_closure .iter() @@ -426,6 +432,295 @@ impl ServerActions { None } + + fn maybe_hoist_and_create_proxy_to_cache( + &mut self, + ids_from_closure: Vec, + fn_name: Option, + function: Option<&mut Box>, + arrow: Option<&mut ArrowExpr>, + ) -> Option> { + let cache_name: JsWord = gen_cache_ident(&mut self.reference_index); + let cache_ident = private_ident!(cache_name.clone()); + let export_name: JsWord = cache_name; + + self.has_cache = true; + self.has_action = true; + self.export_actions.push(export_name.to_string()); + + let reference_id = + generate_action_id(&self.config.hash_salt, &self.file_name, &export_name); + + if let Some(a) = arrow { + let register_action_expr = annotate_ident_as_server_reference( + cache_ident.clone(), + ids_from_closure + .iter() + .cloned() + .map(|id| Some(id.as_arg())) + .collect(), + reference_id.clone(), + ); + + if let BlockStmtOrExpr::BlockStmt(block) = &mut *a.body { + block.visit_mut_with(&mut ClosureReplacer { + used_ids: &ids_from_closure, + private_ctxt: self.private_ctxt, + }); + } + + // export const $ACTION_myAction = async () => {} + let mut new_params: Vec = vec![]; + let mut new_body: BlockStmtOrExpr = *a.body.take(); + + if !ids_from_closure.is_empty() { + // First argument is the encrypted closure variables + new_params.push(Param { + span: DUMMY_SP, + decorators: vec![], + pat: Pat::Ident( + IdentName::new("$$ACTION_CLOSURE_BOUND".into(), DUMMY_SP).into(), + ), + }); + + // Also prepend the decryption decl into the body. + // var [arg1, arg2, arg3] = await decryptActionBoundArgs(actionId, + // $$ACTION_CLOSURE_BOUND) + let mut pats = vec![]; + for i in 0..ids_from_closure.len() { + pats.push(Some(Pat::Ident( + IdentName::new(format!("$$ACTION_ARG_{i}").into(), DUMMY_SP).into(), + ))); + } + let decryption_decl = VarDecl { + span: DUMMY_SP, + kind: VarDeclKind::Var, + declare: false, + decls: vec![VarDeclarator { + span: DUMMY_SP, + name: Pat::Array(ArrayPat { + span: DUMMY_SP, + elems: pats, + optional: false, + type_ann: None, + }), + init: Some(Box::new(Expr::Await(AwaitExpr { + span: DUMMY_SP, + arg: Box::new(Expr::Call(CallExpr { + span: DUMMY_SP, + callee: quote_ident!("decryptActionBoundArgs").as_callee(), + args: vec![ + generate_action_id( + &self.config.hash_salt, + &self.file_name, + &export_name, + ) + .as_arg(), + quote_ident!("$$ACTION_CLOSURE_BOUND").as_arg(), + ], + ..Default::default() + })), + }))), + definite: Default::default(), + }], + ..Default::default() + }; + + match &mut new_body { + BlockStmtOrExpr::BlockStmt(body) => { + body.stmts.insert(0, decryption_decl.into()); + } + BlockStmtOrExpr::Expr(body_expr) => { + new_body = BlockStmtOrExpr::BlockStmt(BlockStmt { + span: DUMMY_SP, + stmts: vec![ + decryption_decl.into(), + Stmt::Return(ReturnStmt { + span: DUMMY_SP, + arg: Some(body_expr.take()), + }), + ], + ..Default::default() + }); + } + } + } + + for p in a.params.iter() { + new_params.push(Param { + span: DUMMY_SP, + decorators: vec![], + pat: p.clone(), + }); + } + + // Create the action export decl from the arrow function + // export var cache_ident = async function() {} + self.hoisted_extra_items + .push(ModuleItem::ModuleDecl(ModuleDecl::ExportDecl(ExportDecl { + span: DUMMY_SP, + decl: VarDecl { + span: DUMMY_SP, + kind: VarDeclKind::Var, + decls: vec![VarDeclarator { + span: DUMMY_SP, + name: Pat::Ident(cache_ident.clone().into()), + init: Some(wrap_cache_expr( + Box::new(Expr::Fn(FnExpr { + ident: fn_name, + function: Box::new(Function { + params: new_params, + body: match new_body { + BlockStmtOrExpr::BlockStmt(body) => Some(body), + BlockStmtOrExpr::Expr(expr) => Some(BlockStmt { + span: DUMMY_SP, + stmts: vec![Stmt::Return(ReturnStmt { + span: DUMMY_SP, + arg: Some(expr), + })], + ..Default::default() + }), + }, + decorators: vec![], + span: DUMMY_SP, + is_generator: false, + is_async: true, + ..Default::default() + }), + })), + "default", + &reference_id, + )), + definite: false, + }], + ..Default::default() + } + .into(), + }))); + + return Some(Box::new(register_action_expr.clone())); + } else if let Some(f) = function { + let register_action_expr = annotate_ident_as_server_reference( + cache_ident.clone(), + ids_from_closure + .iter() + .cloned() + .map(|id| Some(id.as_arg())) + .collect(), + reference_id.clone(), + ); + + f.body.visit_mut_with(&mut ClosureReplacer { + used_ids: &ids_from_closure, + private_ctxt: self.private_ctxt, + }); + + // export async function $ACTION_myAction () {} + let mut new_params: Vec = vec![]; + let mut new_body: Option = f.body.clone(); + + // add params from closure collected ids + if !ids_from_closure.is_empty() { + // First argument is the encrypted closure variables + new_params.push(Param { + span: DUMMY_SP, + decorators: vec![], + pat: Pat::Ident( + IdentName::new("$$ACTION_CLOSURE_BOUND".into(), DUMMY_SP).into(), + ), + }); + + // Also prepend the decryption decl into the body. + // var [arg1, arg2, arg3] = await decryptActionBoundArgs(actionId, + // $$ACTION_CLOSURE_BOUND) + let mut pats = vec![]; + for i in 0..ids_from_closure.len() { + pats.push(Some(Pat::Ident( + IdentName::new(format!("$$ACTION_ARG_{i}").into(), DUMMY_SP).into(), + ))); + } + let decryption_decl = VarDecl { + span: DUMMY_SP, + kind: VarDeclKind::Var, + decls: vec![VarDeclarator { + span: DUMMY_SP, + name: Pat::Array(ArrayPat { + span: DUMMY_SP, + elems: pats, + optional: false, + type_ann: None, + }), + init: Some(Box::new(Expr::Await(AwaitExpr { + span: DUMMY_SP, + arg: Box::new(Expr::Call(CallExpr { + span: DUMMY_SP, + callee: quote_ident!("decryptActionBoundArgs").as_callee(), + args: vec![ + generate_action_id( + &self.config.hash_salt, + &self.file_name, + &export_name, + ) + .as_arg(), + quote_ident!("$$ACTION_CLOSURE_BOUND").as_arg(), + ], + ..Default::default() + })), + }))), + definite: Default::default(), + }], + ..Default::default() + }; + + if let Some(body) = &mut new_body { + body.stmts.insert(0, decryption_decl.into()); + } else { + new_body = Some(BlockStmt { + span: DUMMY_SP, + stmts: vec![decryption_decl.into()], + ..Default::default() + }); + } + } + + for p in f.params.iter() { + new_params.push(p.clone()); + } + + // export var cache_ident = async function() {} + self.hoisted_extra_items + .push(ModuleItem::ModuleDecl(ModuleDecl::ExportDecl(ExportDecl { + span: DUMMY_SP, + decl: VarDecl { + span: DUMMY_SP, + kind: VarDeclKind::Var, + decls: vec![VarDeclarator { + span: DUMMY_SP, + name: Pat::Ident(cache_ident.clone().into()), + init: Some(wrap_cache_expr( + Box::new(Expr::Fn(FnExpr { + ident: fn_name, + function: Box::new(Function { + params: new_params, + body: new_body, + ..*f.take() + }), + })), + "default", + &reference_id, + )), + definite: false, + }], + ..Default::default() + } + .into(), + }))); + + return Some(Box::new(register_action_expr)); + } + + None + } } impl VisitMut for ServerActions { @@ -458,7 +753,7 @@ impl VisitMut for ServerActions { } fn visit_mut_fn_expr(&mut self, f: &mut FnExpr) { - let is_action_fn = self.get_action_info(f.function.body.as_mut(), true); + let (is_action_fn, is_cache_fn) = self.get_body_info(f.function.body.as_mut()); let declared_idents_until = self.declared_idents.len(); let current_names = take(&mut self.names); @@ -489,11 +784,7 @@ impl VisitMut for ServerActions { take(&mut self.names) }; - if !is_action_fn { - return; - } - - if !f.function.is_async { + if (is_action_fn || is_cache_fn) && !f.function.is_async { HANDLER.with(|handler| { handler .struct_span_err(f.function.span, "Server actions must be async functions") @@ -501,11 +792,47 @@ impl VisitMut for ServerActions { }); } - if !(self.in_action_file && self.in_export_decl) { + if is_cache_fn && !(self.in_cache_file && self.in_export_decl) { + // It's a cache function. If it doesn't have a name, give it one. + match f.ident.as_mut() { + None => { + let action_name = gen_cache_ident(&mut self.reference_index); + let ident = Ident::new(action_name, DUMMY_SP, Default::default()); + f.ident.insert(ident) + } + Some(i) => i, + }; + + // Collect all the identifiers defined inside the closure and used + // in the cache function. With deduplication. + retain_names_from_declared_idents( + &mut child_names, + &self.declared_idents[..declared_idents_until], + ); + + let maybe_new_expr = self.maybe_hoist_and_create_proxy_to_cache( + child_names.clone(), + f.ident.clone(), + Some(&mut f.function), + None, + ); + + if self.in_default_export_decl { + // This function expression is also the default export: + // `export default async function() {}` + // This specific case (default export) isn't handled by `visit_mut_expr`. + // Replace the original function expr with a action proxy expr. + self.rewrite_default_fn_expr_to_proxy_expr = maybe_new_expr; + } else { + self.rewrite_expr_to_proxy_expr = maybe_new_expr; + } + } + + if is_action_fn && !(self.in_action_file && self.in_export_decl) { // It's an action function. If it doesn't have a name, give it one. match f.ident.as_mut() { None => { - let action_name = gen_ident(&mut self.reference_index); + let action_name = gen_action_ident(&mut self.reference_index); let ident = Ident::new(action_name, DUMMY_SP, self.private_ctxt); f.ident.insert(ident) } @@ -546,7 +873,7 @@ impl VisitMut for ServerActions { } fn visit_mut_fn_decl(&mut self, f: &mut FnDecl) { - let is_action_fn = self.get_action_info(f.function.body.as_mut(), true); + let (is_action_fn, is_cache_fn) = self.get_body_info(f.function.body.as_mut()); let declared_idents_until = self.declared_idents.len(); let current_names = take(&mut self.names); @@ -577,31 +904,23 @@ impl VisitMut for ServerActions { take(&mut self.names) }; - if !is_action_fn { - return; - } - - if !f.function.is_async { - HANDLER.with(|handler| { - handler - .struct_span_err(f.ident.span, "Server actions must be async functions") - .emit(); - }); - } + if is_cache_fn { + if !f.function.is_async { + HANDLER.with(|handler| { + handler + .struct_span_err(f.ident.span, "Cache functions must be async functions") + .emit(); + }); + } - if !(self.in_action_file && self.in_export_decl) { - // Collect all the identifiers defined inside the closure and used - // in the action function. With deduplication. - retain_names_from_declared_idents( - &mut child_names, - &self.declared_idents[..declared_idents_until], + let maybe_new_expr = self.maybe_hoist_and_create_proxy_to_cache( + [].to_vec(), + Some(f.ident.clone()), + Some(&mut f.function), + None, ); - let maybe_new_expr = - self.maybe_hoist_and_create_proxy(child_names, Some(&mut f.function), None); - - // Replace the original function declaration with a action proxy declaration - // expr. + // Replace the original function declaration with a cache decl. self.rewrite_fn_decl_to_proxy_decl = Some(VarDecl { span: DUMMY_SP, kind: VarDeclKind::Var, @@ -613,6 +932,44 @@ impl VisitMut for ServerActions { }], ..Default::default() }); + + return; + } + + if is_action_fn { + if !f.function.is_async { + HANDLER.with(|handler| { + handler + .struct_span_err(f.ident.span, "Server actions must be async functions") + .emit(); + }); + } + + if !(self.in_action_file && self.in_export_decl) { + // Collect all the identifiers defined inside the closure and used + // in the action function. With deduplication. + retain_names_from_declared_idents( + &mut child_names, + &self.declared_idents[..declared_idents_until], + ); + + let maybe_new_expr = + self.maybe_hoist_and_create_proxy(child_names, Some(&mut f.function), None); + + // Replace the original function declaration with a action proxy declaration + // expr. + self.rewrite_fn_decl_to_proxy_decl = Some(VarDecl { + span: DUMMY_SP, + kind: VarDeclKind::Var, + decls: vec![VarDeclarator { + span: DUMMY_SP, + name: Pat::Ident(f.ident.clone().into()), + init: maybe_new_expr, + definite: false, + }], + ..Default::default() + }); + } } } @@ -639,14 +996,12 @@ impl VisitMut for ServerActions { fn visit_mut_arrow_expr(&mut self, a: &mut ArrowExpr) { // Arrow expressions need to be visited in prepass to determine if it's // an action function or not. - let is_action_fn = self.get_action_info( - if let BlockStmtOrExpr::BlockStmt(block) = &mut *a.body { + let (is_action_fn, is_cache_fn) = + self.get_body_info(if let BlockStmtOrExpr::BlockStmt(block) = &mut *a.body { Some(block) } else { None - }, - true, - ); + }); let declared_idents_until = self.declared_idents.len(); let current_names = take(&mut self.names); @@ -682,11 +1037,11 @@ impl VisitMut for ServerActions { take(&mut self.names) }; - if !is_action_fn { + if !is_action_fn && !is_cache_fn { return; } - if !a.is_async && !self.in_action_file { + if !a.is_async && !self.in_action_file && !self.in_cache_file { HANDLER.with(|handler| { handler .struct_span_err(a.span, "Server actions must be async functions") @@ -701,7 +1056,12 @@ impl VisitMut for ServerActions { &self.declared_idents[..declared_idents_until], ); - let maybe_new_expr = self.maybe_hoist_and_create_proxy(child_names, None, Some(a)); + let maybe_new_expr = if is_action_fn { + self.maybe_hoist_and_create_proxy(child_names, None, Some(a)) + } else { + self.maybe_hoist_and_create_proxy_to_cache(child_names, None, None, Some(a)) + }; + self.rewrite_expr_to_proxy_expr = maybe_new_expr; } @@ -784,7 +1144,9 @@ impl VisitMut for ServerActions { remove_server_directive_index_in_module( stmts, &mut self.in_action_file, + &mut self.in_cache_file, &mut self.has_action, + &mut self.has_cache, self.config.enabled, ); @@ -792,9 +1154,9 @@ impl VisitMut for ServerActions { let mut new = Vec::with_capacity(stmts.len()); for mut stmt in stmts.take() { - // For action file, it's not allowed to export things other than async + // For server boundary files, it's not allowed to export things other than async // functions. - if self.in_action_file { + if self.in_action_file || self.in_cache_file { let mut disallowed_export_span = DUMMY_SP; // Currently only function exports are allowed. @@ -874,7 +1236,7 @@ impl VisitMut for ServerActions { } else { // export default function() {} let new_ident = Ident::new( - gen_ident(&mut self.reference_index), + gen_action_ident(&mut self.reference_index), DUMMY_SP, self.private_ctxt, ); @@ -896,7 +1258,7 @@ impl VisitMut for ServerActions { } else { // export default async () => {} let new_ident = Ident::new( - gen_ident(&mut self.reference_index), + gen_action_ident(&mut self.reference_index), DUMMY_SP, self.private_ctxt, ); @@ -918,7 +1280,7 @@ impl VisitMut for ServerActions { Expr::Call(call) => { // export default fn() let new_ident = Ident::new( - gen_ident(&mut self.reference_index), + gen_action_ident(&mut self.reference_index), DUMMY_SP, self.private_ctxt, ); @@ -971,6 +1333,7 @@ impl VisitMut for ServerActions { } if self.config.is_react_server_layer || !self.in_action_file { + new.append(&mut self.hoisted_extra_items); new.push(new_stmt); new.extend(self.annotations.drain(..).map(ModuleItem::Stmt)); new.append(&mut self.extra_items); @@ -1060,7 +1423,7 @@ impl VisitMut for ServerActions { } else { self.annotations.push(Stmt::Expr(ExprStmt { span: DUMMY_SP, - expr: Box::new(annotate_ident_as_action( + expr: Box::new(annotate_ident_as_server_reference( ident.clone(), Vec::new(), generate_action_id( @@ -1158,63 +1521,89 @@ impl VisitMut for ServerActions { }, ); - if self.config.is_react_server_layer { - // Inlined actions are only allowed on the server layer. - // import { registerServerReference } from 'private-next-rsc-server-reference' - // registerServerReference("action_id") - new.push(ModuleItem::ModuleDecl(ModuleDecl::Import(ImportDecl { + if !self.config.is_react_server_layer { + // Make it the first item + new.rotate_right(1); + } + } + + // import { cache as $cache } from "private-next-rsc-cache-wrapper"; + if self.has_cache { + new.push(ModuleItem::ModuleDecl(ModuleDecl::Import(ImportDecl { + span: DUMMY_SP, + specifiers: vec![ImportSpecifier::Named(ImportNamedSpecifier { span: DUMMY_SP, - specifiers: vec![ImportSpecifier::Named(ImportNamedSpecifier { + local: quote_ident!("$$cache__").into(), + imported: Some(quote_ident!("cache").into()), + is_type_only: false, + })], + src: Box::new(Str { + span: DUMMY_SP, + value: "private-next-rsc-cache-wrapper".into(), + raw: None, + }), + type_only: false, + with: None, + phase: Default::default(), + }))); + + // Make it the first item + new.rotate_right(1); + } + + if (self.has_action || self.has_cache) && self.config.is_react_server_layer { + // Inlined actions are only allowed on the server layer. + // import { registerServerReference } from 'private-next-rsc-server-reference' + // registerServerReference("action_id") + new.push(ModuleItem::ModuleDecl(ModuleDecl::Import(ImportDecl { + span: DUMMY_SP, + specifiers: vec![ImportSpecifier::Named(ImportNamedSpecifier { + span: DUMMY_SP, + local: quote_ident!("registerServerReference").into(), + imported: None, + is_type_only: false, + })], + src: Box::new(Str { + span: DUMMY_SP, + value: "private-next-rsc-server-reference".into(), + raw: None, + }), + type_only: false, + with: None, + phase: Default::default(), + }))); + + // Encryption and decryption only happens on the server layer. + // import { encryptActionBoundArgs, decryptActionBoundArgs } from + // 'private-next-rsc-action-encryption' + new.push(ModuleItem::ModuleDecl(ModuleDecl::Import(ImportDecl { + span: DUMMY_SP, + specifiers: vec![ + ImportSpecifier::Named(ImportNamedSpecifier { span: DUMMY_SP, - local: quote_ident!("registerServerReference").into(), + local: quote_ident!("encryptActionBoundArgs").into(), imported: None, is_type_only: false, - })], - src: Box::new(Str { - span: DUMMY_SP, - value: "private-next-rsc-server-reference".into(), - raw: None, }), - type_only: false, - with: None, - phase: Default::default(), - }))); - - // Encryption and decryption only happens on the server layer. - // import { encryptActionBoundArgs, decryptActionBoundArgs } from - // 'private-next-rsc-action-encryption' - new.push(ModuleItem::ModuleDecl(ModuleDecl::Import(ImportDecl { - span: DUMMY_SP, - specifiers: vec![ - ImportSpecifier::Named(ImportNamedSpecifier { - span: DUMMY_SP, - local: quote_ident!("encryptActionBoundArgs").into(), - imported: None, - is_type_only: false, - }), - ImportSpecifier::Named(ImportNamedSpecifier { - span: DUMMY_SP, - local: quote_ident!("decryptActionBoundArgs").into(), - imported: None, - is_type_only: false, - }), - ], - src: Box::new(Str { + ImportSpecifier::Named(ImportNamedSpecifier { span: DUMMY_SP, - value: "private-next-rsc-action-encryption".into(), - raw: None, + local: quote_ident!("decryptActionBoundArgs").into(), + imported: None, + is_type_only: false, }), - type_only: false, - with: None, - phase: Default::default(), - }))); - - // Make it the first item - new.rotate_right(2); - } else { - // Make it the first item - new.rotate_right(1); - } + ], + src: Box::new(Str { + span: DUMMY_SP, + value: "private-next-rsc-action-encryption".into(), + raw: None, + }), + type_only: false, + with: None, + phase: Default::default(), + }))); + + // Make it the first item + new.rotate_right(2); } *stmts = new; @@ -1284,12 +1673,38 @@ fn retain_names_from_declared_idents(child_names: &mut Vec, current_declar *child_names = retained_names; } -fn gen_ident(cnt: &mut u32) -> JsWord { - let id: JsWord = format!("$$ACTION_{cnt}").into(); +fn gen_action_ident(cnt: &mut u32) -> JsWord { + let id: JsWord = format!("$$RSC_SERVER_ACTION_{cnt}").into(); + *cnt += 1; + id +} + +fn gen_cache_ident(cnt: &mut u32) -> JsWord { + let id: JsWord = format!("$$RSC_SERVER_CACHE_{cnt}").into(); *cnt += 1; id } +fn wrap_cache_expr(expr: Box, name: &str, id: &str) -> Box { + // expr -> $$cache__("name", "id", expr) + Box::new(Expr::Call(CallExpr { + span: DUMMY_SP, + callee: quote_ident!("$$cache__").as_callee(), + args: vec![ + ExprOrSpread { + spread: None, + expr: Box::new(name.into()), + }, + ExprOrSpread { + spread: None, + expr: Box::new(id.into()), + }, + expr.as_arg(), + ], + ..Default::default() + })) +} + fn attach_name_to_expr(ident: Ident, expr: Expr, extra_items: &mut Vec) -> Expr { // Create the variable `var $$ACTION_0;` extra_items.push(ModuleItem::Stmt(Stmt::Decl(Decl::Var(Box::new(VarDecl { @@ -1333,7 +1748,7 @@ fn generate_action_id(hash_salt: &str, file_name: &str, export_name: &str) -> St hex_encode(result) } -fn annotate_ident_as_action( +fn annotate_ident_as_server_reference( ident: Ident, bound: Vec>, action_id: String, @@ -1463,7 +1878,9 @@ fn detect_similar_strings(a: &str, b: &str) -> bool { fn remove_server_directive_index_in_module( stmts: &mut Vec, in_action_file: &mut bool, + in_cache_file: &mut bool, has_action: &mut bool, + has_cache: &mut bool, enabled: bool, ) { let mut is_directive = true; @@ -1499,15 +1916,30 @@ fn remove_server_directive_index_in_module( .emit(); }); } + } else if value == "use cache" { + if is_directive { + *in_cache_file = true; + *has_cache = true; + return false; + } else { + HANDLER.with(|handler| { + handler + .struct_span_err( + *span, + "The \"use cache\" directive must be at the top of the file.", + ) + .emit(); + }); + } } else { - // Detect typo of "use server" - if detect_similar_strings(value, "use server") { + // Detect typo of "use cache" + if detect_similar_strings(value, "use cache") { HANDLER.with(|handler| { handler .struct_span_err( *span, format!( - "Did you mean \"use server\"? \"{value}\" is not a supported \ + "Did you mean \"use cache\"? \"{value}\" is not a supported \ directive name." ) .as_str(), @@ -1549,6 +1981,28 @@ fn remove_server_directive_index_in_module( .emit(); }) } + } else if value == "use cache" || detect_similar_strings(value, "use cache") { + if is_directive { + HANDLER.with(|handler| { + handler + .struct_span_err( + *span, + "The \"use cache\" directive cannot be wrapped in \ + parentheses.", + ) + .emit(); + }) + } else { + HANDLER.with(|handler| { + handler + .struct_span_err( + *span, + "The \"use cache\" directive must be at the top of the file, \ + and cannot be wrapped in parentheses.", + ) + .emit(); + }) + } } } _ => { @@ -1561,8 +2015,8 @@ fn remove_server_directive_index_in_module( fn remove_server_directive_index_in_fn( stmts: &mut Vec, - remove_directive: bool, is_action_fn: &mut bool, + is_cache_fn: &mut bool, action_span: &mut Option, enabled: bool, ) { @@ -1589,9 +2043,7 @@ fn remove_server_directive_index_in_fn( .emit() }); } - if remove_directive { - return false; - } + return false; } else { HANDLER.with(|handler| { handler @@ -1603,9 +2055,8 @@ fn remove_server_directive_index_in_fn( .emit(); }); } - } else { - // Detect typo of "use server" - if detect_similar_strings(value, "use server") { + } else if detect_similar_strings(value, "use server") { + // Detect typo of "use server" HANDLER.with(|handler| { handler .struct_span_err( @@ -1618,7 +2069,36 @@ fn remove_server_directive_index_in_fn( ) .emit(); }); + } else if value == "use cache" { + if is_directive { + // Detect typo of "use server" + *is_cache_fn = true; + return false; + } else { + HANDLER.with(|handler| { + handler + .struct_span_err( + *span, + "The \"use cache\" directive must be at the top of the function \ + body.", + ) + .emit(); + }); } + } else if detect_similar_strings(value, "use cache") { + // Detect typo of "use cache" + HANDLER.with(|handler| { + handler + .struct_span_err( + *span, + format!( + "Did you mean \"use cache\"? \"{value}\" is not a supported \ + directive name." + ) + .as_str(), + ) + .emit(); + }); } } else { is_directive = false; diff --git a/crates/next-custom-transforms/src/transforms/warn_for_edge_runtime.rs b/crates/next-custom-transforms/src/transforms/warn_for_edge_runtime.rs index 558597045444d..f7cf3535020bf 100644 --- a/crates/next-custom-transforms/src/transforms/warn_for_edge_runtime.rs +++ b/crates/next-custom-transforms/src/transforms/warn_for_edge_runtime.rs @@ -1,6 +1,5 @@ use std::sync::Arc; -use rustc_hash::FxHashSet; use swc_core::{ atoms::Atom, common::{errors::HANDLER, SourceMap, Span}, @@ -27,20 +26,31 @@ pub fn warn_for_edge_runtime( should_add_guards: false, guarded_symbols: Default::default(), guarded_process_props: Default::default(), + guarded_runtime: false, is_production, } } +/// This is a very simple visitor that currently only checks if a condition (be it an if-statement +/// or ternary expression) contains a reference to disallowed globals/etc. +/// It does not know the difference between +/// ```js +/// if(typeof clearImmediate === "function") clearImmediate(); +/// ``` +/// and +/// ```js +/// if(typeof clearImmediate !== "function") clearImmediate(); +/// ``` struct WarnForEdgeRuntime { cm: Arc, ctx: ExprCtx, should_error_for_node_apis: bool, should_add_guards: bool, - /// We don't drop guards because a user may write a code like - /// `if(typeof clearImmediate !== "function") clearImmediate();` - guarded_symbols: FxHashSet, - guarded_process_props: FxHashSet, + guarded_symbols: Vec, + guarded_process_props: Vec, + // for process.env.NEXT_RUNTIME + guarded_runtime: bool, is_production: bool, } @@ -136,6 +146,10 @@ const NODEJS_MODULE_NAMES: &[&str] = &[ impl WarnForEdgeRuntime { fn warn_if_nodejs_module(&self, span: Span, module_specifier: &str) -> Option<()> { + if self.guarded_runtime { + return None; + } + // Node.js modules can be loaded with `node:` prefix or directly if module_specifier.starts_with("node:") || NODEJS_MODULE_NAMES.contains(&module_specifier) { @@ -157,10 +171,11 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime", } fn emit_unsupported_api_error(&self, span: Span, api_name: &str) -> Option<()> { - if self - .guarded_symbols - .iter() - .any(|guarded| guarded == api_name) + if self.guarded_runtime + || self + .guarded_symbols + .iter() + .any(|guarded| guarded == api_name) { return None; } @@ -193,7 +208,7 @@ Learn more: https://nextjs.org/docs/api-reference/edge-runtime", if !self.is_in_middleware_layer() || prop.sym == "env" { return; } - if self.guarded_process_props.contains(&prop.sym) { + if self.guarded_runtime || self.guarded_process_props.contains(&prop.sym) { return; } @@ -214,12 +229,21 @@ Learn more: https://nextjs.org/docs/api-reference/edge-runtime", match test { Expr::Ident(ident) => { - self.guarded_symbols.insert(ident.sym.clone()); + self.guarded_symbols.push(ident.sym.clone()); } Expr::Member(member) => { + if member.prop.is_ident_with("NEXT_RUNTIME") { + if let Expr::Member(obj_member) = &*member.obj { + if obj_member.obj.is_global_ref_to(&self.ctx, "process") + && obj_member.prop.is_ident_with("env") + { + self.guarded_runtime = true; + } + } + } if member.obj.is_global_ref_to(&self.ctx, "process") { if let MemberProp::Ident(prop) = &member.prop { - self.guarded_process_props.insert(prop.sym.clone()); + self.guarded_process_props.push(prop.sym.clone()); } } } @@ -247,6 +271,17 @@ Learn more: https://nextjs.org/docs/api-reference/edge-runtime", }); } } + + fn with_new_scope(&mut self, f: impl FnOnce(&mut Self)) { + let old_guarded_symbols_len = self.guarded_symbols.len(); + let old_guarded_process_props_len = self.guarded_symbols.len(); + let old_guarded_runtime = self.guarded_runtime; + f(self); + self.guarded_symbols.truncate(old_guarded_symbols_len); + self.guarded_process_props + .truncate(old_guarded_process_props_len); + self.guarded_runtime = old_guarded_runtime; + } } impl Visit for WarnForEdgeRuntime { @@ -263,8 +298,21 @@ impl Visit for WarnForEdgeRuntime { fn visit_bin_expr(&mut self, node: &BinExpr) { match node.op { op!("&&") | op!("||") | op!("??") => { - self.add_guards(&node.left); - node.right.visit_with(self); + if self.should_add_guards { + // This is a condition and not a shorthand for if-then + self.add_guards(&node.left); + node.right.visit_with(self); + } else { + self.with_new_scope(move |this| { + this.add_guards(&node.left); + node.right.visit_with(this); + }); + } + } + op!("==") | op!("===") => { + self.add_guard_for_test(&node.left); + self.add_guard_for_test(&node.right); + node.visit_children_with(self); } _ => { node.visit_children_with(self); @@ -272,10 +320,12 @@ impl Visit for WarnForEdgeRuntime { } } fn visit_cond_expr(&mut self, node: &CondExpr) { - self.add_guards(&node.test); + self.with_new_scope(move |this| { + this.add_guards(&node.test); - node.cons.visit_with(self); - node.alt.visit_with(self); + node.cons.visit_with(this); + node.alt.visit_with(this); + }); } fn visit_expr(&mut self, n: &Expr) { @@ -299,10 +349,12 @@ impl Visit for WarnForEdgeRuntime { } fn visit_if_stmt(&mut self, node: &IfStmt) { - self.add_guards(&node.test); + self.with_new_scope(move |this| { + this.add_guards(&node.test); - node.cons.visit_with(self); - node.alt.visit_with(self); + node.cons.visit_with(this); + node.alt.visit_with(this); + }); } fn visit_import_decl(&mut self, n: &ImportDecl) { diff --git a/crates/next-custom-transforms/tests/errors/react-server-components/server-graph/dynamic-ssr-false/input.js b/crates/next-custom-transforms/tests/errors/react-server-components/server-graph/dynamic-ssr-false/input.js new file mode 100644 index 0000000000000..fcf24da9a9b05 --- /dev/null +++ b/crates/next-custom-transforms/tests/errors/react-server-components/server-graph/dynamic-ssr-false/input.js @@ -0,0 +1,5 @@ +import dynamic from 'next/dynamic' + +export default function () { + return dynamic(() => import('client-only'), { ssr: false }) +} diff --git a/crates/next-custom-transforms/tests/errors/react-server-components/server-graph/dynamic-ssr-false/output.js b/crates/next-custom-transforms/tests/errors/react-server-components/server-graph/dynamic-ssr-false/output.js new file mode 100644 index 0000000000000..9b8e0b5585152 --- /dev/null +++ b/crates/next-custom-transforms/tests/errors/react-server-components/server-graph/dynamic-ssr-false/output.js @@ -0,0 +1,6 @@ +import dynamic from 'next/dynamic'; +export default function() { + return dynamic(()=>import('client-only'), { + ssr: false + }); +} diff --git a/crates/next-custom-transforms/tests/errors/react-server-components/server-graph/dynamic-ssr-false/output.stderr b/crates/next-custom-transforms/tests/errors/react-server-components/server-graph/dynamic-ssr-false/output.stderr new file mode 100644 index 0000000000000..7df6cc022eb2a --- /dev/null +++ b/crates/next-custom-transforms/tests/errors/react-server-components/server-graph/dynamic-ssr-false/output.stderr @@ -0,0 +1,7 @@ + x `ssr: false` is not allowed with `next/dynamic` in Server Components. Please move it into a client component. + ,-[input.js:4:1] + 3 | export default function () { + 4 | return dynamic(() => import('client-only'), { ssr: false }) + : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + 5 | } + `---- diff --git a/crates/next-custom-transforms/tests/errors/server-actions/client-graph/1/output.js b/crates/next-custom-transforms/tests/errors/server-actions/client-graph/1/output.js index 0b804567eaaa7..af4108db83a76 100644 --- a/crates/next-custom-transforms/tests/errors/server-actions/client-graph/1/output.js +++ b/crates/next-custom-transforms/tests/errors/server-actions/client-graph/1/output.js @@ -1,5 +1,5 @@ -/* __next_internal_client_entry_do_not_use__ default auto */ /* __next_internal_action_entry_do_not_use__ {"6d53ce510b2e36499b8f56038817b9bad86cabb4":"$$ACTION_0"} */ export async function $$ACTION_0() {} +/* __next_internal_client_entry_do_not_use__ default auto */ /* __next_internal_action_entry_do_not_use__ {"6a88810ecce4a4e8b59d53b8327d7e98bbf251d7":"$$RSC_SERVER_ACTION_0"} */ export async function $$RSC_SERVER_ACTION_0() {} export default function App() { - var fn = registerServerReference("6d53ce510b2e36499b8f56038817b9bad86cabb4", $$ACTION_0); + var fn = registerServerReference("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", $$RSC_SERVER_ACTION_0); return
App
; } diff --git a/crates/next-custom-transforms/tests/errors/server-actions/server-graph/10/output.stderr b/crates/next-custom-transforms/tests/errors/server-actions/server-graph/10/output.stderr index e76a4c3d79f13..e69de29bb2d1d 100644 --- a/crates/next-custom-transforms/tests/errors/server-actions/server-graph/10/output.stderr +++ b/crates/next-custom-transforms/tests/errors/server-actions/server-graph/10/output.stderr @@ -1,5 +0,0 @@ - x Did you mean "use server"? "use sevrer" is not a supported directive name. - ,-[input.js:1:1] - 1 | 'use sevrer' - : ^^^^^^^^^^^^ - `---- diff --git a/crates/next-custom-transforms/tests/errors/server-actions/server-graph/6/output.js b/crates/next-custom-transforms/tests/errors/server-actions/server-graph/6/output.js index 8ef2648072c12..62c809ec82aff 100644 --- a/crates/next-custom-transforms/tests/errors/server-actions/server-graph/6/output.js +++ b/crates/next-custom-transforms/tests/errors/server-actions/server-graph/6/output.js @@ -1,6 +1,6 @@ -/* __next_internal_action_entry_do_not_use__ {"6d53ce510b2e36499b8f56038817b9bad86cabb4":"$$ACTION_0"} */ import { registerServerReference } from "private-next-rsc-server-reference"; +/* __next_internal_action_entry_do_not_use__ {"6a88810ecce4a4e8b59d53b8327d7e98bbf251d7":"$$RSC_SERVER_ACTION_0"} */ import { registerServerReference } from "private-next-rsc-server-reference"; import { encryptActionBoundArgs, decryptActionBoundArgs } from "private-next-rsc-action-encryption"; -export default registerServerReference("6d53ce510b2e36499b8f56038817b9bad86cabb4", $$ACTION_0); -export async function $$ACTION_0() {} +export default registerServerReference("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", $$RSC_SERVER_ACTION_0); +export async function $$RSC_SERVER_ACTION_0() {} import { ensureServerEntryExports } from "private-next-rsc-action-validate"; ensureServerEntryExports([]); diff --git a/crates/next-custom-transforms/tests/errors/server-actions/server-graph/7/output.js b/crates/next-custom-transforms/tests/errors/server-actions/server-graph/7/output.js index f9711506c40c6..d923f3a1e0e57 100644 --- a/crates/next-custom-transforms/tests/errors/server-actions/server-graph/7/output.js +++ b/crates/next-custom-transforms/tests/errors/server-actions/server-graph/7/output.js @@ -1,4 +1,4 @@ -/* __next_internal_action_entry_do_not_use__ {"6d53ce510b2e36499b8f56038817b9bad86cabb4":"$$ACTION_0"} */ import { registerServerReference } from "private-next-rsc-server-reference"; +/* __next_internal_action_entry_do_not_use__ {"6a88810ecce4a4e8b59d53b8327d7e98bbf251d7":"$$RSC_SERVER_ACTION_0"} */ import { registerServerReference } from "private-next-rsc-server-reference"; import { encryptActionBoundArgs, decryptActionBoundArgs } from "private-next-rsc-action-encryption"; -const foo = registerServerReference("6d53ce510b2e36499b8f56038817b9bad86cabb4", $$ACTION_0); -export async function $$ACTION_0() {} +const foo = registerServerReference("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", $$RSC_SERVER_ACTION_0); +export async function $$RSC_SERVER_ACTION_0() {} diff --git a/crates/next-custom-transforms/tests/errors/server-actions/server-graph/8/output.js b/crates/next-custom-transforms/tests/errors/server-actions/server-graph/8/output.js index 400aef21835dc..d1378eab0bda2 100644 --- a/crates/next-custom-transforms/tests/errors/server-actions/server-graph/8/output.js +++ b/crates/next-custom-transforms/tests/errors/server-actions/server-graph/8/output.js @@ -1,7 +1,7 @@ -/* __next_internal_action_entry_do_not_use__ {"6d53ce510b2e36499b8f56038817b9bad86cabb4":"$$ACTION_0"} */ import { registerServerReference } from "private-next-rsc-server-reference"; +/* __next_internal_action_entry_do_not_use__ {"6a88810ecce4a4e8b59d53b8327d7e98bbf251d7":"$$RSC_SERVER_ACTION_0"} */ import { registerServerReference } from "private-next-rsc-server-reference"; import { encryptActionBoundArgs, decryptActionBoundArgs } from "private-next-rsc-action-encryption"; -const foo = registerServerReference("6d53ce510b2e36499b8f56038817b9bad86cabb4", $$ACTION_0); -export async function $$ACTION_0() { +const foo = registerServerReference("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", $$RSC_SERVER_ACTION_0); +export async function $$RSC_SERVER_ACTION_0() { 'use strict'; } const bar = async ()=>{ diff --git a/crates/next-custom-transforms/tests/fixture/edge-assert/guarded-process/input.js b/crates/next-custom-transforms/tests/fixture/edge-assert/guarded-process/input.js index 6ca9667a2f2db..46b9e5d2607e5 100644 --- a/crates/next-custom-transforms/tests/fixture/edge-assert/guarded-process/input.js +++ b/crates/next-custom-transforms/tests/fixture/edge-assert/guarded-process/input.js @@ -1,3 +1,8 @@ if (typeof process.loadEnvFile === 'function') { console.log(process.loadEnvFile()) } + +typeof process < 'u' && + typeof process.off == 'function' && + (process.off('uncaughtException', this.onUncaughtException), + process.off('unhandledRejection', this.onUncaughtRejection)) diff --git a/crates/next-custom-transforms/tests/fixture/edge-assert/guarded-process/output.js b/crates/next-custom-transforms/tests/fixture/edge-assert/guarded-process/output.js index 536ed876cf32e..9c5b3c8b7db3a 100644 --- a/crates/next-custom-transforms/tests/fixture/edge-assert/guarded-process/output.js +++ b/crates/next-custom-transforms/tests/fixture/edge-assert/guarded-process/output.js @@ -1,3 +1,4 @@ if (typeof process.loadEnvFile === 'function') { console.log(process.loadEnvFile()); } +typeof process < 'u' && typeof process.off == 'function' && (process.off('uncaughtException', this.onUncaughtException), process.off('unhandledRejection', this.onUncaughtRejection)); diff --git a/crates/next-custom-transforms/tests/fixture/edge-assert/guarded-runtime-process/input.js b/crates/next-custom-transforms/tests/fixture/edge-assert/guarded-runtime-process/input.js new file mode 100644 index 0000000000000..e3335ea57cf76 --- /dev/null +++ b/crates/next-custom-transforms/tests/fixture/edge-assert/guarded-runtime-process/input.js @@ -0,0 +1,5 @@ +if (process.env.NEXT_RUNTIME === 'edge') { + setTimeout(cb, 0) +} else { + setImmediate(cb) +} diff --git a/crates/next-custom-transforms/tests/fixture/edge-assert/guarded-runtime-process/output.js b/crates/next-custom-transforms/tests/fixture/edge-assert/guarded-runtime-process/output.js new file mode 100644 index 0000000000000..d8402d1c59957 --- /dev/null +++ b/crates/next-custom-transforms/tests/fixture/edge-assert/guarded-runtime-process/output.js @@ -0,0 +1,5 @@ +if (process.env.NEXT_RUNTIME === 'edge') { + setTimeout(cb, 0); +} else { + setImmediate(cb); +} diff --git a/crates/next-custom-transforms/tests/fixture/edge-assert/mixed-process-api/input.js b/crates/next-custom-transforms/tests/fixture/edge-assert/mixed-process-api/input.js new file mode 100644 index 0000000000000..ce2c67494a4b1 --- /dev/null +++ b/crates/next-custom-transforms/tests/fixture/edge-assert/mixed-process-api/input.js @@ -0,0 +1,7 @@ +if (typeof process.loadEnvFile === 'function') { + console.log(process.loadEnvFile()) +} + +typeof process.loadEnvFile === 'function' && process.loadEnvFile() + +console.log(process.loadEnvFile()) diff --git a/crates/next-custom-transforms/tests/fixture/edge-assert/mixed-process-api/output.js b/crates/next-custom-transforms/tests/fixture/edge-assert/mixed-process-api/output.js new file mode 100644 index 0000000000000..e3cbf9a95256d --- /dev/null +++ b/crates/next-custom-transforms/tests/fixture/edge-assert/mixed-process-api/output.js @@ -0,0 +1,5 @@ +if (typeof process.loadEnvFile === 'function') { + console.log(process.loadEnvFile()); +} +typeof process.loadEnvFile === 'function' && process.loadEnvFile(); +console.log(process.loadEnvFile()); diff --git a/crates/next-custom-transforms/tests/fixture/edge-assert/mixed-process-api/output.stderr b/crates/next-custom-transforms/tests/fixture/edge-assert/mixed-process-api/output.stderr new file mode 100644 index 0000000000000..3c4a5659da4e8 --- /dev/null +++ b/crates/next-custom-transforms/tests/fixture/edge-assert/mixed-process-api/output.stderr @@ -0,0 +1,7 @@ + x A Node.js API is used (process.loadEnvFile at line: 7) which is not supported in the Edge Runtime. + | Learn more: https://nextjs.org/docs/api-reference/edge-runtime + ,-[input.js:7:1] + 6 | + 7 | console.log(process.loadEnvFile()) + : ^^^^^^^^^^^^^^^^^^^ + `---- diff --git a/crates/next-custom-transforms/tests/fixture/server-actions/client/5/output.js b/crates/next-custom-transforms/tests/fixture/server-actions/client/5/output.js index 3e90e343caabc..0f7dcebdb06cb 100644 --- a/crates/next-custom-transforms/tests/fixture/server-actions/client/5/output.js +++ b/crates/next-custom-transforms/tests/fixture/server-actions/client/5/output.js @@ -1,2 +1,2 @@ -/* __next_internal_action_entry_do_not_use__ {"0090eaf4e1f08a2d94f6be401e54a2ded399b87c":"action0","188d5d945750dc32e2c842b93c75a65763d4a922":"$$ACTION_1","6d53ce510b2e36499b8f56038817b9bad86cabb4":"$$ACTION_0","9878bfa39811ca7650992850a8751f9591b6a557":"$$ACTION_2"} */ export var action0 = /*#__PURE__*/ createServerReference("0090eaf4e1f08a2d94f6be401e54a2ded399b87c"); +/* __next_internal_action_entry_do_not_use__ {"0090eaf4e1f08a2d94f6be401e54a2ded399b87c":"action0","1c36b06e398c97abe5d5d7ae8c672bfddf4e1b91":"$$RSC_SERVER_ACTION_2","6a88810ecce4a4e8b59d53b8327d7e98bbf251d7":"$$RSC_SERVER_ACTION_0","90b5db271335765a4b0eab01f044b381b5ebd5cd":"$$RSC_SERVER_ACTION_1"} */ export var action0 = /*#__PURE__*/ createServerReference("0090eaf4e1f08a2d94f6be401e54a2ded399b87c"); import { createServerReference } from "private-next-rsc-action-client-wrapper"; diff --git a/crates/next-custom-transforms/tests/fixture/server-actions/server/1/output.js b/crates/next-custom-transforms/tests/fixture/server-actions/server/1/output.js index 1d12a66e13ace..0f40d8d97fdae 100644 --- a/crates/next-custom-transforms/tests/fixture/server-actions/server/1/output.js +++ b/crates/next-custom-transforms/tests/fixture/server-actions/server/1/output.js @@ -1,15 +1,15 @@ -/* __next_internal_action_entry_do_not_use__ {"188d5d945750dc32e2c842b93c75a65763d4a922":"$$ACTION_1","6d53ce510b2e36499b8f56038817b9bad86cabb4":"$$ACTION_0"} */ import { registerServerReference } from "private-next-rsc-server-reference"; +/* __next_internal_action_entry_do_not_use__ {"6a88810ecce4a4e8b59d53b8327d7e98bbf251d7":"$$RSC_SERVER_ACTION_0","90b5db271335765a4b0eab01f044b381b5ebd5cd":"$$RSC_SERVER_ACTION_1"} */ import { registerServerReference } from "private-next-rsc-server-reference"; import { encryptActionBoundArgs, decryptActionBoundArgs } from "private-next-rsc-action-encryption"; import deleteFromDb from 'db'; export function Item({ id1, id2 }) { - var deleteItem = registerServerReference("6d53ce510b2e36499b8f56038817b9bad86cabb4", $$ACTION_0).bind(null, encryptActionBoundArgs("6d53ce510b2e36499b8f56038817b9bad86cabb4", [ + var deleteItem = registerServerReference("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", $$RSC_SERVER_ACTION_0).bind(null, encryptActionBoundArgs("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", [ id1, id2 ])); return ; } -export async function $$ACTION_0($$ACTION_CLOSURE_BOUND) { - var [$$ACTION_ARG_0, $$ACTION_ARG_1] = await decryptActionBoundArgs("6d53ce510b2e36499b8f56038817b9bad86cabb4", $$ACTION_CLOSURE_BOUND); +export async function $$RSC_SERVER_ACTION_0($$ACTION_CLOSURE_BOUND) { + var [$$ACTION_ARG_0, $$ACTION_ARG_1] = await decryptActionBoundArgs("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", $$ACTION_CLOSURE_BOUND); await deleteFromDb($$ACTION_ARG_0); await deleteFromDb($$ACTION_ARG_1); } @@ -18,14 +18,14 @@ export default function Home() { name: 'John', test: 'test' }; - const action = registerServerReference("188d5d945750dc32e2c842b93c75a65763d4a922", $$ACTION_1).bind(null, encryptActionBoundArgs("188d5d945750dc32e2c842b93c75a65763d4a922", [ + const action = registerServerReference("90b5db271335765a4b0eab01f044b381b5ebd5cd", $$RSC_SERVER_ACTION_1).bind(null, encryptActionBoundArgs("90b5db271335765a4b0eab01f044b381b5ebd5cd", [ info.name, info.test ])); return null; } -export async function $$ACTION_1($$ACTION_CLOSURE_BOUND) { - var [$$ACTION_ARG_0, $$ACTION_ARG_1] = await decryptActionBoundArgs("188d5d945750dc32e2c842b93c75a65763d4a922", $$ACTION_CLOSURE_BOUND); +export async function $$RSC_SERVER_ACTION_1($$ACTION_CLOSURE_BOUND) { + var [$$ACTION_ARG_0, $$ACTION_ARG_1] = await decryptActionBoundArgs("90b5db271335765a4b0eab01f044b381b5ebd5cd", $$ACTION_CLOSURE_BOUND); console.log($$ACTION_ARG_0); console.log($$ACTION_ARG_1); } diff --git a/crates/next-custom-transforms/tests/fixture/server-actions/server/11/output.js b/crates/next-custom-transforms/tests/fixture/server-actions/server/11/output.js index 4aac8b2676488..17f89f7ec80df 100644 --- a/crates/next-custom-transforms/tests/fixture/server-actions/server/11/output.js +++ b/crates/next-custom-transforms/tests/fixture/server-actions/server/11/output.js @@ -1,8 +1,8 @@ /* __next_internal_action_entry_do_not_use__ {"c18c215a6b7cdc64bf709f3a714ffdef1bf9651d":"default"} */ import { registerServerReference } from "private-next-rsc-server-reference"; import { encryptActionBoundArgs, decryptActionBoundArgs } from "private-next-rsc-action-encryption"; -export default async function $$ACTION_0() {} +export default async function $$RSC_SERVER_ACTION_0() {} import { ensureServerEntryExports } from "private-next-rsc-action-validate"; ensureServerEntryExports([ - $$ACTION_0 + $$RSC_SERVER_ACTION_0 ]); -registerServerReference("c18c215a6b7cdc64bf709f3a714ffdef1bf9651d", $$ACTION_0); +registerServerReference("c18c215a6b7cdc64bf709f3a714ffdef1bf9651d", $$RSC_SERVER_ACTION_0); diff --git a/crates/next-custom-transforms/tests/fixture/server-actions/server/15/output.js b/crates/next-custom-transforms/tests/fixture/server-actions/server/15/output.js index bec01bcac7b93..fe58be462a819 100644 --- a/crates/next-custom-transforms/tests/fixture/server-actions/server/15/output.js +++ b/crates/next-custom-transforms/tests/fixture/server-actions/server/15/output.js @@ -1,12 +1,12 @@ -/* __next_internal_action_entry_do_not_use__ {"188d5d945750dc32e2c842b93c75a65763d4a922":"$$ACTION_1","c18c215a6b7cdc64bf709f3a714ffdef1bf9651d":"default"} */ import { registerServerReference } from "private-next-rsc-server-reference"; +/* __next_internal_action_entry_do_not_use__ {"90b5db271335765a4b0eab01f044b381b5ebd5cd":"$$RSC_SERVER_ACTION_1","c18c215a6b7cdc64bf709f3a714ffdef1bf9651d":"default"} */ import { registerServerReference } from "private-next-rsc-server-reference"; import { encryptActionBoundArgs, decryptActionBoundArgs } from "private-next-rsc-action-encryption"; -export default $$ACTION_0 = registerServerReference("188d5d945750dc32e2c842b93c75a65763d4a922", $$ACTION_1); -var $$ACTION_0; -export async function $$ACTION_1(a, b) { +export default $$RSC_SERVER_ACTION_0 = registerServerReference("90b5db271335765a4b0eab01f044b381b5ebd5cd", $$RSC_SERVER_ACTION_1); +var $$RSC_SERVER_ACTION_0; +export async function $$RSC_SERVER_ACTION_1(a, b) { console.log(a, b); } import { ensureServerEntryExports } from "private-next-rsc-action-validate"; ensureServerEntryExports([ - $$ACTION_0 + $$RSC_SERVER_ACTION_0 ]); -registerServerReference("c18c215a6b7cdc64bf709f3a714ffdef1bf9651d", $$ACTION_0); +registerServerReference("c18c215a6b7cdc64bf709f3a714ffdef1bf9651d", $$RSC_SERVER_ACTION_0); diff --git a/crates/next-custom-transforms/tests/fixture/server-actions/server/16/output.js b/crates/next-custom-transforms/tests/fixture/server-actions/server/16/output.js index 0631a83887aab..2120d3e3a01f5 100644 --- a/crates/next-custom-transforms/tests/fixture/server-actions/server/16/output.js +++ b/crates/next-custom-transforms/tests/fixture/server-actions/server/16/output.js @@ -1,36 +1,36 @@ -/* __next_internal_action_entry_do_not_use__ {"188d5d945750dc32e2c842b93c75a65763d4a922":"$$ACTION_1","6d53ce510b2e36499b8f56038817b9bad86cabb4":"$$ACTION_0","9878bfa39811ca7650992850a8751f9591b6a557":"$$ACTION_2"} */ import { registerServerReference } from "private-next-rsc-server-reference"; +/* __next_internal_action_entry_do_not_use__ {"1c36b06e398c97abe5d5d7ae8c672bfddf4e1b91":"$$RSC_SERVER_ACTION_2","6a88810ecce4a4e8b59d53b8327d7e98bbf251d7":"$$RSC_SERVER_ACTION_0","90b5db271335765a4b0eab01f044b381b5ebd5cd":"$$RSC_SERVER_ACTION_1"} */ import { registerServerReference } from "private-next-rsc-server-reference"; import { encryptActionBoundArgs, decryptActionBoundArgs } from "private-next-rsc-action-encryption"; import deleteFromDb from 'db'; const v1 = 'v1'; export function Item({ id1, id2 }) { const v2 = id2; - const deleteItem = registerServerReference("6d53ce510b2e36499b8f56038817b9bad86cabb4", $$ACTION_0).bind(null, encryptActionBoundArgs("6d53ce510b2e36499b8f56038817b9bad86cabb4", [ + const deleteItem = registerServerReference("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", $$RSC_SERVER_ACTION_0).bind(null, encryptActionBoundArgs("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", [ id1, v2 ])); return ; } -export async function $$ACTION_0($$ACTION_CLOSURE_BOUND) { - var [$$ACTION_ARG_0, $$ACTION_ARG_1] = await decryptActionBoundArgs("6d53ce510b2e36499b8f56038817b9bad86cabb4", $$ACTION_CLOSURE_BOUND); +export async function $$RSC_SERVER_ACTION_0($$ACTION_CLOSURE_BOUND) { + var [$$ACTION_ARG_0, $$ACTION_ARG_1] = await decryptActionBoundArgs("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", $$ACTION_CLOSURE_BOUND); await deleteFromDb($$ACTION_ARG_0); await deleteFromDb(v1); await deleteFromDb($$ACTION_ARG_1); } const f = (x)=>{ - var g = registerServerReference("188d5d945750dc32e2c842b93c75a65763d4a922", $$ACTION_1).bind(null, encryptActionBoundArgs("188d5d945750dc32e2c842b93c75a65763d4a922", [ + var g = registerServerReference("90b5db271335765a4b0eab01f044b381b5ebd5cd", $$RSC_SERVER_ACTION_1).bind(null, encryptActionBoundArgs("90b5db271335765a4b0eab01f044b381b5ebd5cd", [ x ])); }; -export async function $$ACTION_1($$ACTION_CLOSURE_BOUND, y, ...z) { - var [$$ACTION_ARG_0] = await decryptActionBoundArgs("188d5d945750dc32e2c842b93c75a65763d4a922", $$ACTION_CLOSURE_BOUND); +export async function $$RSC_SERVER_ACTION_1($$ACTION_CLOSURE_BOUND, y, ...z) { + var [$$ACTION_ARG_0] = await decryptActionBoundArgs("90b5db271335765a4b0eab01f044b381b5ebd5cd", $$ACTION_CLOSURE_BOUND); return $$ACTION_ARG_0 + y + z[0]; } const g = (x)=>{ - f = registerServerReference("9878bfa39811ca7650992850a8751f9591b6a557", $$ACTION_2).bind(null, encryptActionBoundArgs("9878bfa39811ca7650992850a8751f9591b6a557", [ + f = registerServerReference("1c36b06e398c97abe5d5d7ae8c672bfddf4e1b91", $$RSC_SERVER_ACTION_2).bind(null, encryptActionBoundArgs("1c36b06e398c97abe5d5d7ae8c672bfddf4e1b91", [ x ])); }; -export async function $$ACTION_2($$ACTION_CLOSURE_BOUND, y, ...z) { - var [$$ACTION_ARG_0] = await decryptActionBoundArgs("9878bfa39811ca7650992850a8751f9591b6a557", $$ACTION_CLOSURE_BOUND); +export async function $$RSC_SERVER_ACTION_2($$ACTION_CLOSURE_BOUND, y, ...z) { + var [$$ACTION_ARG_0] = await decryptActionBoundArgs("1c36b06e398c97abe5d5d7ae8c672bfddf4e1b91", $$ACTION_CLOSURE_BOUND); return $$ACTION_ARG_0 + y + z[0]; } diff --git a/crates/next-custom-transforms/tests/fixture/server-actions/server/17/output.js b/crates/next-custom-transforms/tests/fixture/server-actions/server/17/output.js index f0318ce0ddee0..4a51123215120 100644 --- a/crates/next-custom-transforms/tests/fixture/server-actions/server/17/output.js +++ b/crates/next-custom-transforms/tests/fixture/server-actions/server/17/output.js @@ -1,7 +1,7 @@ -/* __next_internal_action_entry_do_not_use__ {"6d53ce510b2e36499b8f56038817b9bad86cabb4":"$$ACTION_0","ab21efdafbe611287bc25c0462b1e0510d13e48b":"foo","ac840dcaf5e8197cb02b7f3a43c119b7a770b272":"bar"} */ import { registerServerReference } from "private-next-rsc-server-reference"; +/* __next_internal_action_entry_do_not_use__ {"6a88810ecce4a4e8b59d53b8327d7e98bbf251d7":"$$RSC_SERVER_ACTION_0","ab21efdafbe611287bc25c0462b1e0510d13e48b":"foo","ac840dcaf5e8197cb02b7f3a43c119b7a770b272":"bar"} */ import { registerServerReference } from "private-next-rsc-server-reference"; import { encryptActionBoundArgs, decryptActionBoundArgs } from "private-next-rsc-action-encryption"; -export const foo = registerServerReference("6d53ce510b2e36499b8f56038817b9bad86cabb4", $$ACTION_0); -export async function $$ACTION_0() {} +export const foo = registerServerReference("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", $$RSC_SERVER_ACTION_0); +export async function $$RSC_SERVER_ACTION_0() {} const bar = async ()=>{}; export { bar }; import { ensureServerEntryExports } from "private-next-rsc-action-validate"; diff --git a/crates/next-custom-transforms/tests/fixture/server-actions/server/18/output.js b/crates/next-custom-transforms/tests/fixture/server-actions/server/18/output.js index 739e46e844267..5bed1099b5052 100644 --- a/crates/next-custom-transforms/tests/fixture/server-actions/server/18/output.js +++ b/crates/next-custom-transforms/tests/fixture/server-actions/server/18/output.js @@ -1,17 +1,17 @@ -/* __next_internal_action_entry_do_not_use__ {"6d53ce510b2e36499b8f56038817b9bad86cabb4":"$$ACTION_0","9878bfa39811ca7650992850a8751f9591b6a557":"$$ACTION_2"} */ import { registerServerReference } from "private-next-rsc-server-reference"; +/* __next_internal_action_entry_do_not_use__ {"1c36b06e398c97abe5d5d7ae8c672bfddf4e1b91":"$$RSC_SERVER_ACTION_2","6a88810ecce4a4e8b59d53b8327d7e98bbf251d7":"$$RSC_SERVER_ACTION_0"} */ import { registerServerReference } from "private-next-rsc-server-reference"; import { encryptActionBoundArgs, decryptActionBoundArgs } from "private-next-rsc-action-encryption"; import deleteFromDb from 'db'; const v1 = 'v1'; export function Item({ id1, id2 }) { const v2 = id2; return <> - - ; } -export async function $$ACTION_0($$ACTION_CLOSURE_BOUND) { - var [$$ACTION_ARG_0, $$ACTION_ARG_1] = await decryptActionBoundArgs("6d53ce510b2e36499b8f56038817b9bad86cabb4", $$ACTION_CLOSURE_BOUND); +export async function $$RSC_SERVER_ACTION_0($$ACTION_CLOSURE_BOUND) { + var [$$ACTION_ARG_0, $$ACTION_ARG_1] = await decryptActionBoundArgs("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", $$ACTION_CLOSURE_BOUND); await deleteFromDb($$ACTION_ARG_0); await deleteFromDb(v1); await deleteFromDb($$ACTION_ARG_1); } -export async function $$ACTION_2($$ACTION_CLOSURE_BOUND) { - var [$$ACTION_ARG_0, $$ACTION_ARG_1] = await decryptActionBoundArgs("9878bfa39811ca7650992850a8751f9591b6a557", $$ACTION_CLOSURE_BOUND); +export async function $$RSC_SERVER_ACTION_2($$ACTION_CLOSURE_BOUND) { + var [$$ACTION_ARG_0, $$ACTION_ARG_1] = await decryptActionBoundArgs("1c36b06e398c97abe5d5d7ae8c672bfddf4e1b91", $$ACTION_CLOSURE_BOUND); await deleteFromDb($$ACTION_ARG_0); await deleteFromDb(v1); await deleteFromDb($$ACTION_ARG_1); diff --git a/crates/next-custom-transforms/tests/fixture/server-actions/server/19/output.js b/crates/next-custom-transforms/tests/fixture/server-actions/server/19/output.js index 782675324993e..7dd651214a16e 100644 --- a/crates/next-custom-transforms/tests/fixture/server-actions/server/19/output.js +++ b/crates/next-custom-transforms/tests/fixture/server-actions/server/19/output.js @@ -1,15 +1,15 @@ -/* __next_internal_action_entry_do_not_use__ {"6d53ce510b2e36499b8f56038817b9bad86cabb4":"$$ACTION_0"} */ import { registerServerReference } from "private-next-rsc-server-reference"; +/* __next_internal_action_entry_do_not_use__ {"6a88810ecce4a4e8b59d53b8327d7e98bbf251d7":"$$RSC_SERVER_ACTION_0"} */ import { registerServerReference } from "private-next-rsc-server-reference"; import { encryptActionBoundArgs, decryptActionBoundArgs } from "private-next-rsc-action-encryption"; export function Item({ value }) { return <> - ; } -export async function $$ACTION_0($$ACTION_CLOSURE_BOUND, value2) { - var [$$ACTION_ARG_0] = await decryptActionBoundArgs("6d53ce510b2e36499b8f56038817b9bad86cabb4", $$ACTION_CLOSURE_BOUND); +export async function $$RSC_SERVER_ACTION_0($$ACTION_CLOSURE_BOUND, value2) { + var [$$ACTION_ARG_0] = await decryptActionBoundArgs("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", $$ACTION_CLOSURE_BOUND); return $$ACTION_ARG_0 * value2; } diff --git a/crates/next-custom-transforms/tests/fixture/server-actions/server/2/output.js b/crates/next-custom-transforms/tests/fixture/server-actions/server/2/output.js index 5e388058d2f2a..36b346e751768 100644 --- a/crates/next-custom-transforms/tests/fixture/server-actions/server/2/output.js +++ b/crates/next-custom-transforms/tests/fixture/server-actions/server/2/output.js @@ -1,11 +1,11 @@ -/* __next_internal_action_entry_do_not_use__ {"188d5d945750dc32e2c842b93c75a65763d4a922":"$$ACTION_1","6d53ce510b2e36499b8f56038817b9bad86cabb4":"$$ACTION_0"} */ import { registerServerReference } from "private-next-rsc-server-reference"; +/* __next_internal_action_entry_do_not_use__ {"6a88810ecce4a4e8b59d53b8327d7e98bbf251d7":"$$RSC_SERVER_ACTION_0","90b5db271335765a4b0eab01f044b381b5ebd5cd":"$$RSC_SERVER_ACTION_1"} */ import { registerServerReference } from "private-next-rsc-server-reference"; import { encryptActionBoundArgs, decryptActionBoundArgs } from "private-next-rsc-action-encryption"; -var myAction = registerServerReference("6d53ce510b2e36499b8f56038817b9bad86cabb4", $$ACTION_0); -export async function $$ACTION_0(a, b, c) { +var myAction = registerServerReference("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", $$RSC_SERVER_ACTION_0); +export async function $$RSC_SERVER_ACTION_0(a, b, c) { console.log('a'); } export default function Page() { return ; } -export const action = withValidate(registerServerReference("188d5d945750dc32e2c842b93c75a65763d4a922", $$ACTION_1)); -export async function $$ACTION_1() {} +export const action = withValidate(registerServerReference("90b5db271335765a4b0eab01f044b381b5ebd5cd", $$RSC_SERVER_ACTION_1)); +export async function $$RSC_SERVER_ACTION_1() {} diff --git a/crates/next-custom-transforms/tests/fixture/server-actions/server/21/output.js b/crates/next-custom-transforms/tests/fixture/server-actions/server/21/output.js index 5b7bd12e50d13..b62e7541fba26 100644 --- a/crates/next-custom-transforms/tests/fixture/server-actions/server/21/output.js +++ b/crates/next-custom-transforms/tests/fixture/server-actions/server/21/output.js @@ -1,18 +1,18 @@ -/* __next_internal_action_entry_do_not_use__ {"188d5d945750dc32e2c842b93c75a65763d4a922":"$$ACTION_1","56a859f462d35a297c46a1bbd1e6a9058c104ab8":"$$ACTION_3","9878bfa39811ca7650992850a8751f9591b6a557":"$$ACTION_2"} */ import { registerServerReference } from "private-next-rsc-server-reference"; +/* __next_internal_action_entry_do_not_use__ {"1c36b06e398c97abe5d5d7ae8c672bfddf4e1b91":"$$RSC_SERVER_ACTION_2","90b5db271335765a4b0eab01f044b381b5ebd5cd":"$$RSC_SERVER_ACTION_1","9ed0cc47abc4e1c64320cf42b74ae60b58c40f00":"$$RSC_SERVER_ACTION_3"} */ import { registerServerReference } from "private-next-rsc-server-reference"; import { encryptActionBoundArgs, decryptActionBoundArgs } from "private-next-rsc-action-encryption"; import { validator, another } from 'auth'; const x = 1; export default function Page() { const y = 1; - return ; } -export async function $$ACTION_1($$ACTION_CLOSURE_BOUND, z) { - var [$$ACTION_ARG_0] = await decryptActionBoundArgs("188d5d945750dc32e2c842b93c75a65763d4a922", $$ACTION_CLOSURE_BOUND); +export async function $$RSC_SERVER_ACTION_1($$ACTION_CLOSURE_BOUND, z) { + var [$$ACTION_ARG_0] = await decryptActionBoundArgs("90b5db271335765a4b0eab01f044b381b5ebd5cd", $$ACTION_CLOSURE_BOUND); return x + $$ACTION_ARG_0 + z; } -validator(registerServerReference("9878bfa39811ca7650992850a8751f9591b6a557", $$ACTION_2)); -export async function $$ACTION_2() {} -another(validator(registerServerReference("56a859f462d35a297c46a1bbd1e6a9058c104ab8", $$ACTION_3))); -export async function $$ACTION_3() {} +validator(registerServerReference("1c36b06e398c97abe5d5d7ae8c672bfddf4e1b91", $$RSC_SERVER_ACTION_2)); +export async function $$RSC_SERVER_ACTION_2() {} +another(validator(registerServerReference("9ed0cc47abc4e1c64320cf42b74ae60b58c40f00", $$RSC_SERVER_ACTION_3))); +export async function $$RSC_SERVER_ACTION_3() {} diff --git a/crates/next-custom-transforms/tests/fixture/server-actions/server/22/output.js b/crates/next-custom-transforms/tests/fixture/server-actions/server/22/output.js index 690e5f44d2682..93f4eab209ffc 100644 --- a/crates/next-custom-transforms/tests/fixture/server-actions/server/22/output.js +++ b/crates/next-custom-transforms/tests/fixture/server-actions/server/22/output.js @@ -1,15 +1,15 @@ -/* __next_internal_action_entry_do_not_use__ {"6d53ce510b2e36499b8f56038817b9bad86cabb4":"$$ACTION_0","9878bfa39811ca7650992850a8751f9591b6a557":"$$ACTION_2","c18c215a6b7cdc64bf709f3a714ffdef1bf9651d":"default","f14702b5a021dd117f7ec7a3c838f397c2046d3b":"action"} */ import { registerServerReference } from "private-next-rsc-server-reference"; +/* __next_internal_action_entry_do_not_use__ {"1c36b06e398c97abe5d5d7ae8c672bfddf4e1b91":"$$RSC_SERVER_ACTION_2","6a88810ecce4a4e8b59d53b8327d7e98bbf251d7":"$$RSC_SERVER_ACTION_0","c18c215a6b7cdc64bf709f3a714ffdef1bf9651d":"default","f14702b5a021dd117f7ec7a3c838f397c2046d3b":"action"} */ import { registerServerReference } from "private-next-rsc-server-reference"; import { encryptActionBoundArgs, decryptActionBoundArgs } from "private-next-rsc-action-encryption"; import { validator } from 'auth'; -export const action = validator(registerServerReference("6d53ce510b2e36499b8f56038817b9bad86cabb4", $$ACTION_0)); -export async function $$ACTION_0() {} -export default $$ACTION_1 = validator(registerServerReference("9878bfa39811ca7650992850a8751f9591b6a557", $$ACTION_2)); -var $$ACTION_1; -export async function $$ACTION_2() {} +export const action = validator(registerServerReference("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", $$RSC_SERVER_ACTION_0)); +export async function $$RSC_SERVER_ACTION_0() {} +export default $$RSC_SERVER_ACTION_1 = validator(registerServerReference("1c36b06e398c97abe5d5d7ae8c672bfddf4e1b91", $$RSC_SERVER_ACTION_2)); +var $$RSC_SERVER_ACTION_1; +export async function $$RSC_SERVER_ACTION_2() {} import { ensureServerEntryExports } from "private-next-rsc-action-validate"; ensureServerEntryExports([ action, - $$ACTION_1 + $$RSC_SERVER_ACTION_1 ]); registerServerReference("f14702b5a021dd117f7ec7a3c838f397c2046d3b", action); -registerServerReference("c18c215a6b7cdc64bf709f3a714ffdef1bf9651d", $$ACTION_1); +registerServerReference("c18c215a6b7cdc64bf709f3a714ffdef1bf9651d", $$RSC_SERVER_ACTION_1); diff --git a/crates/next-custom-transforms/tests/fixture/server-actions/server/23/output.js b/crates/next-custom-transforms/tests/fixture/server-actions/server/23/output.js index 27ef0fa4bfd83..f73a284625cf8 100644 --- a/crates/next-custom-transforms/tests/fixture/server-actions/server/23/output.js +++ b/crates/next-custom-transforms/tests/fixture/server-actions/server/23/output.js @@ -1,20 +1,20 @@ -/* __next_internal_action_entry_do_not_use__ {"188d5d945750dc32e2c842b93c75a65763d4a922":"$$ACTION_1","6d53ce510b2e36499b8f56038817b9bad86cabb4":"$$ACTION_0"} */ import { registerServerReference } from "private-next-rsc-server-reference"; +/* __next_internal_action_entry_do_not_use__ {"6a88810ecce4a4e8b59d53b8327d7e98bbf251d7":"$$RSC_SERVER_ACTION_0","90b5db271335765a4b0eab01f044b381b5ebd5cd":"$$RSC_SERVER_ACTION_1"} */ import { registerServerReference } from "private-next-rsc-server-reference"; import { encryptActionBoundArgs, decryptActionBoundArgs } from "private-next-rsc-action-encryption"; export default function Page({ foo, x, y }) { - var action = registerServerReference("6d53ce510b2e36499b8f56038817b9bad86cabb4", $$ACTION_0).bind(null, encryptActionBoundArgs("6d53ce510b2e36499b8f56038817b9bad86cabb4", [ + var action = registerServerReference("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", $$RSC_SERVER_ACTION_0).bind(null, encryptActionBoundArgs("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", [ x ])); action.bind(null, foo[0], foo[1], foo.x, foo[y]); - const action2 = registerServerReference("188d5d945750dc32e2c842b93c75a65763d4a922", $$ACTION_1).bind(null, encryptActionBoundArgs("188d5d945750dc32e2c842b93c75a65763d4a922", [ + const action2 = registerServerReference("90b5db271335765a4b0eab01f044b381b5ebd5cd", $$RSC_SERVER_ACTION_1).bind(null, encryptActionBoundArgs("90b5db271335765a4b0eab01f044b381b5ebd5cd", [ x ])); action2.bind(null, foo[0], foo[1], foo.x, foo[y]); } -export async function $$ACTION_0($$ACTION_CLOSURE_BOUND, a, b, c, d) { - var [$$ACTION_ARG_0] = await decryptActionBoundArgs("6d53ce510b2e36499b8f56038817b9bad86cabb4", $$ACTION_CLOSURE_BOUND); +export async function $$RSC_SERVER_ACTION_0($$ACTION_CLOSURE_BOUND, a, b, c, d) { + var [$$ACTION_ARG_0] = await decryptActionBoundArgs("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", $$ACTION_CLOSURE_BOUND); console.log(a, b, $$ACTION_ARG_0, c, d); } -export async function $$ACTION_1($$ACTION_CLOSURE_BOUND, a, b, c, d) { - var [$$ACTION_ARG_0] = await decryptActionBoundArgs("188d5d945750dc32e2c842b93c75a65763d4a922", $$ACTION_CLOSURE_BOUND); +export async function $$RSC_SERVER_ACTION_1($$ACTION_CLOSURE_BOUND, a, b, c, d) { + var [$$ACTION_ARG_0] = await decryptActionBoundArgs("90b5db271335765a4b0eab01f044b381b5ebd5cd", $$ACTION_CLOSURE_BOUND); console.log(a, b, $$ACTION_ARG_0, c, d); } diff --git a/crates/next-custom-transforms/tests/fixture/server-actions/server/24/output.js b/crates/next-custom-transforms/tests/fixture/server-actions/server/24/output.js index 04ce8bf12269f..90bfd42b0bd06 100644 --- a/crates/next-custom-transforms/tests/fixture/server-actions/server/24/output.js +++ b/crates/next-custom-transforms/tests/fixture/server-actions/server/24/output.js @@ -1,11 +1,11 @@ -/* __next_internal_action_entry_do_not_use__ {"6d53ce510b2e36499b8f56038817b9bad86cabb4":"$$ACTION_0"} */ import { registerServerReference } from "private-next-rsc-server-reference"; +/* __next_internal_action_entry_do_not_use__ {"6a88810ecce4a4e8b59d53b8327d7e98bbf251d7":"$$RSC_SERVER_ACTION_0"} */ import { registerServerReference } from "private-next-rsc-server-reference"; import { encryptActionBoundArgs, decryptActionBoundArgs } from "private-next-rsc-action-encryption"; export default function Page({ foo, x, y }) { - var action = registerServerReference("6d53ce510b2e36499b8f56038817b9bad86cabb4", $$ACTION_0).bind(null, encryptActionBoundArgs("6d53ce510b2e36499b8f56038817b9bad86cabb4", [ + var action = registerServerReference("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", $$RSC_SERVER_ACTION_0).bind(null, encryptActionBoundArgs("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", [ foo ])); } -export async function $$ACTION_0($$ACTION_CLOSURE_BOUND, a, b, c, { d }) { - var [$$ACTION_ARG_0] = await decryptActionBoundArgs("6d53ce510b2e36499b8f56038817b9bad86cabb4", $$ACTION_CLOSURE_BOUND); +export async function $$RSC_SERVER_ACTION_0($$ACTION_CLOSURE_BOUND, a, b, c, { d }) { + var [$$ACTION_ARG_0] = await decryptActionBoundArgs("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", $$ACTION_CLOSURE_BOUND); console.log(a, b, $$ACTION_ARG_0, d); } diff --git a/crates/next-custom-transforms/tests/fixture/server-actions/server/25/output.js b/crates/next-custom-transforms/tests/fixture/server-actions/server/25/output.js index 6785d57893fc7..ce89937de185a 100644 --- a/crates/next-custom-transforms/tests/fixture/server-actions/server/25/output.js +++ b/crates/next-custom-transforms/tests/fixture/server-actions/server/25/output.js @@ -1,4 +1,4 @@ -/* __next_internal_action_entry_do_not_use__ {"188d5d945750dc32e2c842b93c75a65763d4a922":"$$ACTION_1","6d53ce510b2e36499b8f56038817b9bad86cabb4":"$$ACTION_0"} */ import { registerServerReference } from "private-next-rsc-server-reference"; +/* __next_internal_action_entry_do_not_use__ {"6a88810ecce4a4e8b59d53b8327d7e98bbf251d7":"$$RSC_SERVER_ACTION_0","90b5db271335765a4b0eab01f044b381b5ebd5cd":"$$RSC_SERVER_ACTION_1"} */ import { registerServerReference } from "private-next-rsc-server-reference"; import { encryptActionBoundArgs, decryptActionBoundArgs } from "private-next-rsc-action-encryption"; import deleteFromDb from 'db'; export function Item({ id1, id2 }) { @@ -7,13 +7,13 @@ export function Item({ id1, id2 }) { id1++; return ; })(); - var deleteItem = registerServerReference("6d53ce510b2e36499b8f56038817b9bad86cabb4", $$ACTION_0).bind(null, encryptActionBoundArgs("6d53ce510b2e36499b8f56038817b9bad86cabb4", [ + var deleteItem = registerServerReference("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", $$RSC_SERVER_ACTION_0).bind(null, encryptActionBoundArgs("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", [ id1, id2 ])); } -export async function $$ACTION_0($$ACTION_CLOSURE_BOUND) { - var [$$ACTION_ARG_0, $$ACTION_ARG_1] = await decryptActionBoundArgs("6d53ce510b2e36499b8f56038817b9bad86cabb4", $$ACTION_CLOSURE_BOUND); +export async function $$RSC_SERVER_ACTION_0($$ACTION_CLOSURE_BOUND) { + var [$$ACTION_ARG_0, $$ACTION_ARG_1] = await decryptActionBoundArgs("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", $$ACTION_CLOSURE_BOUND); await deleteFromDb($$ACTION_ARG_0); await deleteFromDb($$ACTION_ARG_1); } @@ -26,13 +26,13 @@ export function Item2({ id1, id2 }) { id1++; temp.push(); return temp; - var deleteItem = registerServerReference("188d5d945750dc32e2c842b93c75a65763d4a922", $$ACTION_1).bind(null, encryptActionBoundArgs("188d5d945750dc32e2c842b93c75a65763d4a922", [ + var deleteItem = registerServerReference("90b5db271335765a4b0eab01f044b381b5ebd5cd", $$RSC_SERVER_ACTION_1).bind(null, encryptActionBoundArgs("90b5db271335765a4b0eab01f044b381b5ebd5cd", [ id1, id2 ])); } -export async function $$ACTION_1($$ACTION_CLOSURE_BOUND) { - var [$$ACTION_ARG_0, $$ACTION_ARG_1] = await decryptActionBoundArgs("188d5d945750dc32e2c842b93c75a65763d4a922", $$ACTION_CLOSURE_BOUND); +export async function $$RSC_SERVER_ACTION_1($$ACTION_CLOSURE_BOUND) { + var [$$ACTION_ARG_0, $$ACTION_ARG_1] = await decryptActionBoundArgs("90b5db271335765a4b0eab01f044b381b5ebd5cd", $$ACTION_CLOSURE_BOUND); await deleteFromDb($$ACTION_ARG_0); await deleteFromDb($$ACTION_ARG_1); } diff --git a/crates/next-custom-transforms/tests/fixture/server-actions/server/26/output.js b/crates/next-custom-transforms/tests/fixture/server-actions/server/26/output.js index fd8b22458d80f..f49071af4a4ef 100644 --- a/crates/next-custom-transforms/tests/fixture/server-actions/server/26/output.js +++ b/crates/next-custom-transforms/tests/fixture/server-actions/server/26/output.js @@ -1,7 +1,7 @@ -/* __next_internal_action_entry_do_not_use__ {"6d53ce510b2e36499b8f56038817b9bad86cabb4":"$$ACTION_0"} */ import { registerServerReference } from "private-next-rsc-server-reference"; +/* __next_internal_action_entry_do_not_use__ {"6a88810ecce4a4e8b59d53b8327d7e98bbf251d7":"$$RSC_SERVER_ACTION_0"} */ import { registerServerReference } from "private-next-rsc-server-reference"; import { encryptActionBoundArgs, decryptActionBoundArgs } from "private-next-rsc-action-encryption"; const noop = (action)=>action; -export const log = noop(registerServerReference("6d53ce510b2e36499b8f56038817b9bad86cabb4", $$ACTION_0)); -export async function $$ACTION_0(data) { +export const log = noop(registerServerReference("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", $$RSC_SERVER_ACTION_0)); +export async function $$RSC_SERVER_ACTION_0(data) { console.log(data); } diff --git a/crates/next-custom-transforms/tests/fixture/server-actions/server/27/output.js b/crates/next-custom-transforms/tests/fixture/server-actions/server/27/output.js index 57b02081d277c..af4b630208586 100644 --- a/crates/next-custom-transforms/tests/fixture/server-actions/server/27/output.js +++ b/crates/next-custom-transforms/tests/fixture/server-actions/server/27/output.js @@ -1,26 +1,26 @@ // Rules here: // 1. Each exported function should still be exported, but as a reference `registerServerReference(...)`. // 2. Actual action functions should be renamed to `$$ACTION_...` and got exported. -/* __next_internal_action_entry_do_not_use__ {"188d5d945750dc32e2c842b93c75a65763d4a922":"$$ACTION_1","56a859f462d35a297c46a1bbd1e6a9058c104ab8":"$$ACTION_3","6d53ce510b2e36499b8f56038817b9bad86cabb4":"$$ACTION_0","9878bfa39811ca7650992850a8751f9591b6a557":"$$ACTION_2","9c0dd1f7c2b3f41d32e10f5c437de3d67ad32c6c":"$$ACTION_4"} */ import { registerServerReference } from "private-next-rsc-server-reference"; +/* __next_internal_action_entry_do_not_use__ {"1c36b06e398c97abe5d5d7ae8c672bfddf4e1b91":"$$RSC_SERVER_ACTION_2","6a88810ecce4a4e8b59d53b8327d7e98bbf251d7":"$$RSC_SERVER_ACTION_0","90b5db271335765a4b0eab01f044b381b5ebd5cd":"$$RSC_SERVER_ACTION_1","9ed0cc47abc4e1c64320cf42b74ae60b58c40f00":"$$RSC_SERVER_ACTION_3","a9b2939c1f39073a6bed227fd20233064c8b7869":"$$RSC_SERVER_ACTION_4"} */ import { registerServerReference } from "private-next-rsc-server-reference"; import { encryptActionBoundArgs, decryptActionBoundArgs } from "private-next-rsc-action-encryption"; -var foo = registerServerReference("6d53ce510b2e36499b8f56038817b9bad86cabb4", $$ACTION_0); -export async function $$ACTION_0() { +var foo = registerServerReference("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", $$RSC_SERVER_ACTION_0); +export async function $$RSC_SERVER_ACTION_0() { console.log(1); } export { foo }; -export var bar = registerServerReference("188d5d945750dc32e2c842b93c75a65763d4a922", $$ACTION_1); -export async function $$ACTION_1() { +export var bar = registerServerReference("90b5db271335765a4b0eab01f044b381b5ebd5cd", $$RSC_SERVER_ACTION_1); +export async function $$RSC_SERVER_ACTION_1() { console.log(2); } -export default registerServerReference("9878bfa39811ca7650992850a8751f9591b6a557", $$ACTION_2); -export async function $$ACTION_2() { +export default registerServerReference("1c36b06e398c97abe5d5d7ae8c672bfddf4e1b91", $$RSC_SERVER_ACTION_2); +export async function $$RSC_SERVER_ACTION_2() { console.log(3); } -export const qux = registerServerReference("56a859f462d35a297c46a1bbd1e6a9058c104ab8", $$ACTION_3); -export async function $$ACTION_3() { +export const qux = registerServerReference("9ed0cc47abc4e1c64320cf42b74ae60b58c40f00", $$RSC_SERVER_ACTION_3); +export async function $$RSC_SERVER_ACTION_3() { console.log(4); } -export const quux = registerServerReference("9c0dd1f7c2b3f41d32e10f5c437de3d67ad32c6c", $$ACTION_4); -export async function $$ACTION_4() { +export const quux = registerServerReference("a9b2939c1f39073a6bed227fd20233064c8b7869", $$RSC_SERVER_ACTION_4); +export async function $$RSC_SERVER_ACTION_4() { console.log(5); } diff --git a/crates/next-custom-transforms/tests/fixture/server-actions/server/28/output.js b/crates/next-custom-transforms/tests/fixture/server-actions/server/28/output.js index a97c8af548dee..ddc41f54db012 100644 --- a/crates/next-custom-transforms/tests/fixture/server-actions/server/28/output.js +++ b/crates/next-custom-transforms/tests/fixture/server-actions/server/28/output.js @@ -1,30 +1,30 @@ -/* __next_internal_action_entry_do_not_use__ {"188d5d945750dc32e2c842b93c75a65763d4a922":"$$ACTION_1","6d53ce510b2e36499b8f56038817b9bad86cabb4":"$$ACTION_0","9878bfa39811ca7650992850a8751f9591b6a557":"$$ACTION_2"} */ import { registerServerReference } from "private-next-rsc-server-reference"; +/* __next_internal_action_entry_do_not_use__ {"1c36b06e398c97abe5d5d7ae8c672bfddf4e1b91":"$$RSC_SERVER_ACTION_2","6a88810ecce4a4e8b59d53b8327d7e98bbf251d7":"$$RSC_SERVER_ACTION_0","90b5db271335765a4b0eab01f044b381b5ebd5cd":"$$RSC_SERVER_ACTION_1"} */ import { registerServerReference } from "private-next-rsc-server-reference"; import { encryptActionBoundArgs, decryptActionBoundArgs } from "private-next-rsc-action-encryption"; let a, f; function Comp(b, c, ...g) { - return registerServerReference("9878bfa39811ca7650992850a8751f9591b6a557", $$ACTION_2).bind(null, encryptActionBoundArgs("9878bfa39811ca7650992850a8751f9591b6a557", [ + return registerServerReference("1c36b06e398c97abe5d5d7ae8c672bfddf4e1b91", $$RSC_SERVER_ACTION_2).bind(null, encryptActionBoundArgs("1c36b06e398c97abe5d5d7ae8c672bfddf4e1b91", [ b, c, g ])); } -export async function $$ACTION_0($$ACTION_CLOSURE_BOUND, e) { - var [$$ACTION_ARG_0, $$ACTION_ARG_1, $$ACTION_ARG_2, $$ACTION_ARG_3] = await decryptActionBoundArgs("6d53ce510b2e36499b8f56038817b9bad86cabb4", $$ACTION_CLOSURE_BOUND); +export async function $$RSC_SERVER_ACTION_0($$ACTION_CLOSURE_BOUND, e) { + var [$$ACTION_ARG_0, $$ACTION_ARG_1, $$ACTION_ARG_2, $$ACTION_ARG_3] = await decryptActionBoundArgs("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", $$ACTION_CLOSURE_BOUND); console.log(a, $$ACTION_ARG_0, $$ACTION_ARG_1, e, $$ACTION_ARG_2, $$ACTION_ARG_3); } -export async function $$ACTION_1($$ACTION_CLOSURE_BOUND, e) { - var [$$ACTION_ARG_0, $$ACTION_ARG_1, $$ACTION_ARG_2] = await decryptActionBoundArgs("188d5d945750dc32e2c842b93c75a65763d4a922", $$ACTION_CLOSURE_BOUND); +export async function $$RSC_SERVER_ACTION_1($$ACTION_CLOSURE_BOUND, e) { + var [$$ACTION_ARG_0, $$ACTION_ARG_1, $$ACTION_ARG_2] = await decryptActionBoundArgs("90b5db271335765a4b0eab01f044b381b5ebd5cd", $$ACTION_CLOSURE_BOUND); $$ACTION_ARG_0(e); console.log(a, $$ACTION_ARG_1, $$ACTION_ARG_2, e); } -export async function $$ACTION_2($$ACTION_CLOSURE_BOUND, d) { - var [$$ACTION_ARG_0, $$ACTION_ARG_1, $$ACTION_ARG_2] = await decryptActionBoundArgs("9878bfa39811ca7650992850a8751f9591b6a557", $$ACTION_CLOSURE_BOUND); +export async function $$RSC_SERVER_ACTION_2($$ACTION_CLOSURE_BOUND, d) { + var [$$ACTION_ARG_0, $$ACTION_ARG_1, $$ACTION_ARG_2] = await decryptActionBoundArgs("1c36b06e398c97abe5d5d7ae8c672bfddf4e1b91", $$ACTION_CLOSURE_BOUND); let f; console.log(...window, { window }); console.log(a, $$ACTION_ARG_0, action2); - var action2 = registerServerReference("6d53ce510b2e36499b8f56038817b9bad86cabb4", $$ACTION_0).bind(null, encryptActionBoundArgs("6d53ce510b2e36499b8f56038817b9bad86cabb4", [ + var action2 = registerServerReference("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", $$RSC_SERVER_ACTION_0).bind(null, encryptActionBoundArgs("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", [ $$ACTION_ARG_1, d, f, @@ -32,7 +32,7 @@ export async function $$ACTION_2($$ACTION_CLOSURE_BOUND, d) { ])); return [ action2, - registerServerReference("188d5d945750dc32e2c842b93c75a65763d4a922", $$ACTION_1).bind(null, encryptActionBoundArgs("188d5d945750dc32e2c842b93c75a65763d4a922", [ + registerServerReference("90b5db271335765a4b0eab01f044b381b5ebd5cd", $$RSC_SERVER_ACTION_1).bind(null, encryptActionBoundArgs("90b5db271335765a4b0eab01f044b381b5ebd5cd", [ action2, $$ACTION_ARG_1, d diff --git a/crates/next-custom-transforms/tests/fixture/server-actions/server/29/output.js b/crates/next-custom-transforms/tests/fixture/server-actions/server/29/output.js index 24cbb90c77261..64600d3ab41c6 100644 --- a/crates/next-custom-transforms/tests/fixture/server-actions/server/29/output.js +++ b/crates/next-custom-transforms/tests/fixture/server-actions/server/29/output.js @@ -1,7 +1,7 @@ -/* __next_internal_action_entry_do_not_use__ {"28baf972d345b86b747ad0df73d75a0088a42214":"dec","6d53ce510b2e36499b8f56038817b9bad86cabb4":"$$ACTION_0","c18c215a6b7cdc64bf709f3a714ffdef1bf9651d":"default"} */ import { registerServerReference } from "private-next-rsc-server-reference"; +/* __next_internal_action_entry_do_not_use__ {"28baf972d345b86b747ad0df73d75a0088a42214":"dec","6a88810ecce4a4e8b59d53b8327d7e98bbf251d7":"$$RSC_SERVER_ACTION_0","c18c215a6b7cdc64bf709f3a714ffdef1bf9651d":"default"} */ import { registerServerReference } from "private-next-rsc-server-reference"; import { encryptActionBoundArgs, decryptActionBoundArgs } from "private-next-rsc-action-encryption"; -export const dec = registerServerReference("6d53ce510b2e36499b8f56038817b9bad86cabb4", $$ACTION_0); -export async function $$ACTION_0(value) { +export const dec = registerServerReference("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", $$RSC_SERVER_ACTION_0); +export async function $$RSC_SERVER_ACTION_0(value) { return value - 1; } // Test case for https://github.com/vercel/next.js/issues/54655 @@ -12,4 +12,4 @@ ensureServerEntryExports([ dec ]); registerServerReference("28baf972d345b86b747ad0df73d75a0088a42214", dec); -registerServerReference("c18c215a6b7cdc64bf709f3a714ffdef1bf9651d", dec); \ No newline at end of file +registerServerReference("c18c215a6b7cdc64bf709f3a714ffdef1bf9651d", dec); diff --git a/crates/next-custom-transforms/tests/fixture/server-actions/server/30/output.js b/crates/next-custom-transforms/tests/fixture/server-actions/server/30/output.js index 4a041c67610b2..165126a4beca4 100644 --- a/crates/next-custom-transforms/tests/fixture/server-actions/server/30/output.js +++ b/crates/next-custom-transforms/tests/fixture/server-actions/server/30/output.js @@ -1,30 +1,30 @@ -/* __next_internal_action_entry_do_not_use__ {"0090eaf4e1f08a2d94f6be401e54a2ded399b87c":"action0","188d5d945750dc32e2c842b93c75a65763d4a922":"$$ACTION_1","6d53ce510b2e36499b8f56038817b9bad86cabb4":"$$ACTION_0","9878bfa39811ca7650992850a8751f9591b6a557":"$$ACTION_2"} */ import { registerServerReference } from "private-next-rsc-server-reference"; +/* __next_internal_action_entry_do_not_use__ {"0090eaf4e1f08a2d94f6be401e54a2ded399b87c":"action0","1c36b06e398c97abe5d5d7ae8c672bfddf4e1b91":"$$RSC_SERVER_ACTION_2","6a88810ecce4a4e8b59d53b8327d7e98bbf251d7":"$$RSC_SERVER_ACTION_0","90b5db271335765a4b0eab01f044b381b5ebd5cd":"$$RSC_SERVER_ACTION_1"} */ import { registerServerReference } from "private-next-rsc-server-reference"; import { encryptActionBoundArgs, decryptActionBoundArgs } from "private-next-rsc-action-encryption"; let a, f; export async function action0(b, c, ...g) { - return registerServerReference("9878bfa39811ca7650992850a8751f9591b6a557", $$ACTION_2).bind(null, encryptActionBoundArgs("9878bfa39811ca7650992850a8751f9591b6a557", [ + return registerServerReference("1c36b06e398c97abe5d5d7ae8c672bfddf4e1b91", $$RSC_SERVER_ACTION_2).bind(null, encryptActionBoundArgs("1c36b06e398c97abe5d5d7ae8c672bfddf4e1b91", [ b, c, g ])); } -export async function $$ACTION_0($$ACTION_CLOSURE_BOUND, e) { - var [$$ACTION_ARG_0, $$ACTION_ARG_1, $$ACTION_ARG_2, $$ACTION_ARG_3] = await decryptActionBoundArgs("6d53ce510b2e36499b8f56038817b9bad86cabb4", $$ACTION_CLOSURE_BOUND); +export async function $$RSC_SERVER_ACTION_0($$ACTION_CLOSURE_BOUND, e) { + var [$$ACTION_ARG_0, $$ACTION_ARG_1, $$ACTION_ARG_2, $$ACTION_ARG_3] = await decryptActionBoundArgs("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", $$ACTION_CLOSURE_BOUND); console.log(a, $$ACTION_ARG_0, $$ACTION_ARG_1, e, $$ACTION_ARG_2, $$ACTION_ARG_3); } -export async function $$ACTION_1($$ACTION_CLOSURE_BOUND, e) { - var [$$ACTION_ARG_0, $$ACTION_ARG_1, $$ACTION_ARG_2] = await decryptActionBoundArgs("188d5d945750dc32e2c842b93c75a65763d4a922", $$ACTION_CLOSURE_BOUND); +export async function $$RSC_SERVER_ACTION_1($$ACTION_CLOSURE_BOUND, e) { + var [$$ACTION_ARG_0, $$ACTION_ARG_1, $$ACTION_ARG_2] = await decryptActionBoundArgs("90b5db271335765a4b0eab01f044b381b5ebd5cd", $$ACTION_CLOSURE_BOUND); $$ACTION_ARG_0(e); console.log(a, $$ACTION_ARG_1, $$ACTION_ARG_2, e); } -export async function $$ACTION_2($$ACTION_CLOSURE_BOUND, d) { - var [$$ACTION_ARG_0, $$ACTION_ARG_1, $$ACTION_ARG_2] = await decryptActionBoundArgs("9878bfa39811ca7650992850a8751f9591b6a557", $$ACTION_CLOSURE_BOUND); +export async function $$RSC_SERVER_ACTION_2($$ACTION_CLOSURE_BOUND, d) { + var [$$ACTION_ARG_0, $$ACTION_ARG_1, $$ACTION_ARG_2] = await decryptActionBoundArgs("1c36b06e398c97abe5d5d7ae8c672bfddf4e1b91", $$ACTION_CLOSURE_BOUND); let f; console.log(...window, { window }); console.log(a, $$ACTION_ARG_0, action2); - var action2 = registerServerReference("6d53ce510b2e36499b8f56038817b9bad86cabb4", $$ACTION_0).bind(null, encryptActionBoundArgs("6d53ce510b2e36499b8f56038817b9bad86cabb4", [ + var action2 = registerServerReference("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", $$RSC_SERVER_ACTION_0).bind(null, encryptActionBoundArgs("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", [ $$ACTION_ARG_1, d, f, @@ -32,7 +32,7 @@ export async function $$ACTION_2($$ACTION_CLOSURE_BOUND, d) { ])); return [ action2, - registerServerReference("188d5d945750dc32e2c842b93c75a65763d4a922", $$ACTION_1).bind(null, encryptActionBoundArgs("188d5d945750dc32e2c842b93c75a65763d4a922", [ + registerServerReference("90b5db271335765a4b0eab01f044b381b5ebd5cd", $$RSC_SERVER_ACTION_1).bind(null, encryptActionBoundArgs("90b5db271335765a4b0eab01f044b381b5ebd5cd", [ action2, $$ACTION_ARG_1, d diff --git a/crates/next-custom-transforms/tests/fixture/server-actions/server/32/output.js b/crates/next-custom-transforms/tests/fixture/server-actions/server/32/output.js index f7b91eaa8c6e3..c52017e565570 100644 --- a/crates/next-custom-transforms/tests/fixture/server-actions/server/32/output.js +++ b/crates/next-custom-transforms/tests/fixture/server-actions/server/32/output.js @@ -1,4 +1,4 @@ -/* __next_internal_action_entry_do_not_use__ {"6d53ce510b2e36499b8f56038817b9bad86cabb4":"$$ACTION_0"} */ import { registerServerReference } from "private-next-rsc-server-reference"; +/* __next_internal_action_entry_do_not_use__ {"6a88810ecce4a4e8b59d53b8327d7e98bbf251d7":"$$RSC_SERVER_ACTION_0"} */ import { registerServerReference } from "private-next-rsc-server-reference"; import { encryptActionBoundArgs, decryptActionBoundArgs } from "private-next-rsc-action-encryption"; export function Component() { const data = [ @@ -16,15 +16,15 @@ export function Component() { current: 1 } }; - var action = registerServerReference("6d53ce510b2e36499b8f56038817b9bad86cabb4", $$ACTION_0).bind(null, encryptActionBoundArgs("6d53ce510b2e36499b8f56038817b9bad86cabb4", [ + var action = registerServerReference("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", $$RSC_SERVER_ACTION_0).bind(null, encryptActionBoundArgs("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", [ data, baz.value, foo ])); return
; } -export async function $$ACTION_0($$ACTION_CLOSURE_BOUND) { - var [$$ACTION_ARG_0, $$ACTION_ARG_1, $$ACTION_ARG_2] = await decryptActionBoundArgs("6d53ce510b2e36499b8f56038817b9bad86cabb4", $$ACTION_CLOSURE_BOUND); +export async function $$RSC_SERVER_ACTION_0($$ACTION_CLOSURE_BOUND) { + var [$$ACTION_ARG_0, $$ACTION_ARG_1, $$ACTION_ARG_2] = await decryptActionBoundArgs("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", $$ACTION_CLOSURE_BOUND); console.log($$ACTION_ARG_0.at(1), $$ACTION_ARG_1, $$ACTION_ARG_1.current); console.log($$ACTION_ARG_2.push.call($$ACTION_ARG_2, 5)); -} \ No newline at end of file +} diff --git a/crates/next-custom-transforms/tests/fixture/server-actions/server/33/input.js b/crates/next-custom-transforms/tests/fixture/server-actions/server/33/input.js new file mode 100644 index 0000000000000..4b5ff7f927224 --- /dev/null +++ b/crates/next-custom-transforms/tests/fixture/server-actions/server/33/input.js @@ -0,0 +1,11 @@ +const v = 'world' + +async function fn() { + 'use cache' + return 'hello, ' + v +} + +export async function Component() { + const data = await fn() + return
{data}
+} diff --git a/crates/next-custom-transforms/tests/fixture/server-actions/server/33/output.js b/crates/next-custom-transforms/tests/fixture/server-actions/server/33/output.js new file mode 100644 index 0000000000000..746ab409954c7 --- /dev/null +++ b/crates/next-custom-transforms/tests/fixture/server-actions/server/33/output.js @@ -0,0 +1,12 @@ +/* __next_internal_action_entry_do_not_use__ {"3128060c414d59f8552e4788b846c0d2b7f74743":"$$RSC_SERVER_CACHE_0"} */ import { registerServerReference } from "private-next-rsc-server-reference"; +import { encryptActionBoundArgs, decryptActionBoundArgs } from "private-next-rsc-action-encryption"; +import { cache as $$cache__ } from "private-next-rsc-cache-wrapper"; +const v = 'world'; +export var $$RSC_SERVER_CACHE_0 = $$cache__("default", "3128060c414d59f8552e4788b846c0d2b7f74743", async function fn() { + return 'hello, ' + v; +}); +var fn = registerServerReference("3128060c414d59f8552e4788b846c0d2b7f74743", $$RSC_SERVER_CACHE_0); +export async function Component() { + const data = await fn(); + return
{data}
; +} diff --git a/crates/next-custom-transforms/tests/fixture/server-actions/server/34/input.js b/crates/next-custom-transforms/tests/fixture/server-actions/server/34/input.js new file mode 100644 index 0000000000000..8b850a4e11b81 --- /dev/null +++ b/crates/next-custom-transforms/tests/fixture/server-actions/server/34/input.js @@ -0,0 +1,5 @@ +'use cache' + +export async function foo() { + return 'data' +} diff --git a/crates/next-custom-transforms/tests/fixture/server-actions/server/34/output.js b/crates/next-custom-transforms/tests/fixture/server-actions/server/34/output.js new file mode 100644 index 0000000000000..f3b72b54f2074 --- /dev/null +++ b/crates/next-custom-transforms/tests/fixture/server-actions/server/34/output.js @@ -0,0 +1,7 @@ +/* __next_internal_action_entry_do_not_use__ {"3128060c414d59f8552e4788b846c0d2b7f74743":"$$RSC_SERVER_CACHE_0"} */ import { registerServerReference } from "private-next-rsc-server-reference"; +import { encryptActionBoundArgs, decryptActionBoundArgs } from "private-next-rsc-action-encryption"; +import { cache as $$cache__ } from "private-next-rsc-cache-wrapper"; +export var $$RSC_SERVER_CACHE_0 = $$cache__("default", "3128060c414d59f8552e4788b846c0d2b7f74743", async function foo() { + return 'data'; +}); +export var foo = registerServerReference("3128060c414d59f8552e4788b846c0d2b7f74743", $$RSC_SERVER_CACHE_0); diff --git a/crates/next-custom-transforms/tests/fixture/server-actions/server/35/input.js b/crates/next-custom-transforms/tests/fixture/server-actions/server/35/input.js new file mode 100644 index 0000000000000..eecc3bfec1979 --- /dev/null +++ b/crates/next-custom-transforms/tests/fixture/server-actions/server/35/input.js @@ -0,0 +1,5 @@ +'use cache' + +export const my_fn = async () => { + return 'data' +} diff --git a/crates/next-custom-transforms/tests/fixture/server-actions/server/35/output.js b/crates/next-custom-transforms/tests/fixture/server-actions/server/35/output.js new file mode 100644 index 0000000000000..19215b7828c63 --- /dev/null +++ b/crates/next-custom-transforms/tests/fixture/server-actions/server/35/output.js @@ -0,0 +1,7 @@ +/* __next_internal_action_entry_do_not_use__ {"3128060c414d59f8552e4788b846c0d2b7f74743":"$$RSC_SERVER_CACHE_0"} */ import { registerServerReference } from "private-next-rsc-server-reference"; +import { encryptActionBoundArgs, decryptActionBoundArgs } from "private-next-rsc-action-encryption"; +import { cache as $$cache__ } from "private-next-rsc-cache-wrapper"; +export var $$RSC_SERVER_CACHE_0 = $$cache__("default", "3128060c414d59f8552e4788b846c0d2b7f74743", async function() { + return 'data'; +}); +export const my_fn = registerServerReference("3128060c414d59f8552e4788b846c0d2b7f74743", $$RSC_SERVER_CACHE_0); diff --git a/crates/next-custom-transforms/tests/fixture/server-actions/server/36/input.js b/crates/next-custom-transforms/tests/fixture/server-actions/server/36/input.js new file mode 100644 index 0000000000000..20e2cd9e3cf6e --- /dev/null +++ b/crates/next-custom-transforms/tests/fixture/server-actions/server/36/input.js @@ -0,0 +1,9 @@ +'use cache' + +export async function foo() { + return 'data A' +} + +export async function bar() { + return 'data B' +} diff --git a/crates/next-custom-transforms/tests/fixture/server-actions/server/36/output.js b/crates/next-custom-transforms/tests/fixture/server-actions/server/36/output.js new file mode 100644 index 0000000000000..3bef6468a5e06 --- /dev/null +++ b/crates/next-custom-transforms/tests/fixture/server-actions/server/36/output.js @@ -0,0 +1,11 @@ +/* __next_internal_action_entry_do_not_use__ {"3128060c414d59f8552e4788b846c0d2b7f74743":"$$RSC_SERVER_CACHE_0","951c375b4a6a6e89d67b743ec5808127cfde405d":"$$RSC_SERVER_CACHE_1"} */ import { registerServerReference } from "private-next-rsc-server-reference"; +import { encryptActionBoundArgs, decryptActionBoundArgs } from "private-next-rsc-action-encryption"; +import { cache as $$cache__ } from "private-next-rsc-cache-wrapper"; +export var $$RSC_SERVER_CACHE_0 = $$cache__("default", "3128060c414d59f8552e4788b846c0d2b7f74743", async function foo() { + return 'data A'; +}); +export var foo = registerServerReference("3128060c414d59f8552e4788b846c0d2b7f74743", $$RSC_SERVER_CACHE_0); +export var $$RSC_SERVER_CACHE_1 = $$cache__("default", "951c375b4a6a6e89d67b743ec5808127cfde405d", async function bar() { + return 'data B'; +}); +export var bar = registerServerReference("951c375b4a6a6e89d67b743ec5808127cfde405d", $$RSC_SERVER_CACHE_1); diff --git a/crates/next-custom-transforms/tests/fixture/server-actions/server/4/output.js b/crates/next-custom-transforms/tests/fixture/server-actions/server/4/output.js index fcabff24f65b1..5090febe8d7f5 100644 --- a/crates/next-custom-transforms/tests/fixture/server-actions/server/4/output.js +++ b/crates/next-custom-transforms/tests/fixture/server-actions/server/4/output.js @@ -1,13 +1,13 @@ -/* __next_internal_action_entry_do_not_use__ {"1ab723c80dcca470e0410b4b2a2fc2bf21f41476":"c","6d53ce510b2e36499b8f56038817b9bad86cabb4":"$$ACTION_0","6e7bc104e4d6e7fda190c4a51be969cfd0be6d6d":"a","d1f7eb64271d7c601dfef7d4d7053de1c2ca4338":"b"} */ import { registerServerReference } from "private-next-rsc-server-reference"; +/* __next_internal_action_entry_do_not_use__ {"1ab723c80dcca470e0410b4b2a2fc2bf21f41476":"c","6a88810ecce4a4e8b59d53b8327d7e98bbf251d7":"$$RSC_SERVER_ACTION_0","6e7bc104e4d6e7fda190c4a51be969cfd0be6d6d":"a","d1f7eb64271d7c601dfef7d4d7053de1c2ca4338":"b"} */ import { registerServerReference } from "private-next-rsc-server-reference"; import { encryptActionBoundArgs, decryptActionBoundArgs } from "private-next-rsc-action-encryption"; export async function a() {} export async function b() {} export async function c() {} function d() {} function Foo() { - var e = registerServerReference("6d53ce510b2e36499b8f56038817b9bad86cabb4", $$ACTION_0); + var e = registerServerReference("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", $$RSC_SERVER_ACTION_0); } -export async function $$ACTION_0() {} +export async function $$RSC_SERVER_ACTION_0() {} import { ensureServerEntryExports } from "private-next-rsc-action-validate"; ensureServerEntryExports([ a, diff --git a/crates/next-custom-transforms/tests/fixture/server-actions/server/5/output.js b/crates/next-custom-transforms/tests/fixture/server-actions/server/5/output.js index 294e584035451..490d75c78c75f 100644 --- a/crates/next-custom-transforms/tests/fixture/server-actions/server/5/output.js +++ b/crates/next-custom-transforms/tests/fixture/server-actions/server/5/output.js @@ -1,10 +1,10 @@ -/* __next_internal_action_entry_do_not_use__ {"6d53ce510b2e36499b8f56038817b9bad86cabb4":"$$ACTION_0"} */ import { registerServerReference } from "private-next-rsc-server-reference"; +/* __next_internal_action_entry_do_not_use__ {"6a88810ecce4a4e8b59d53b8327d7e98bbf251d7":"$$RSC_SERVER_ACTION_0"} */ import { registerServerReference } from "private-next-rsc-server-reference"; import { encryptActionBoundArgs, decryptActionBoundArgs } from "private-next-rsc-action-encryption"; import deleteFromDb from 'db'; const v1 = 'v1'; export function Item({ id1, id2, id3, id4 }) { const v2 = id2; - var deleteItem = registerServerReference("6d53ce510b2e36499b8f56038817b9bad86cabb4", $$ACTION_0).bind(null, encryptActionBoundArgs("6d53ce510b2e36499b8f56038817b9bad86cabb4", [ + var deleteItem = registerServerReference("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", $$RSC_SERVER_ACTION_0).bind(null, encryptActionBoundArgs("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", [ id1, v2, id3, @@ -12,8 +12,8 @@ export function Item({ id1, id2, id3, id4 }) { ])); return ; } -export async function $$ACTION_0($$ACTION_CLOSURE_BOUND) { - var [$$ACTION_ARG_0, $$ACTION_ARG_1, $$ACTION_ARG_2, $$ACTION_ARG_3] = await decryptActionBoundArgs("6d53ce510b2e36499b8f56038817b9bad86cabb4", $$ACTION_CLOSURE_BOUND); +export async function $$RSC_SERVER_ACTION_0($$ACTION_CLOSURE_BOUND) { + var [$$ACTION_ARG_0, $$ACTION_ARG_1, $$ACTION_ARG_2, $$ACTION_ARG_3] = await decryptActionBoundArgs("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", $$ACTION_CLOSURE_BOUND); await deleteFromDb($$ACTION_ARG_0); await deleteFromDb(v1); await deleteFromDb($$ACTION_ARG_1); diff --git a/crates/next-custom-transforms/tests/fixture/server-actions/server/6/output.js b/crates/next-custom-transforms/tests/fixture/server-actions/server/6/output.js index bb1de432edb98..b9e4ca71cad96 100644 --- a/crates/next-custom-transforms/tests/fixture/server-actions/server/6/output.js +++ b/crates/next-custom-transforms/tests/fixture/server-actions/server/6/output.js @@ -1,4 +1,4 @@ -/* __next_internal_action_entry_do_not_use__ {"6d53ce510b2e36499b8f56038817b9bad86cabb4":"$$ACTION_0"} */ import { registerServerReference } from "private-next-rsc-server-reference"; +/* __next_internal_action_entry_do_not_use__ {"6a88810ecce4a4e8b59d53b8327d7e98bbf251d7":"$$RSC_SERVER_ACTION_0"} */ import { registerServerReference } from "private-next-rsc-server-reference"; import { encryptActionBoundArgs, decryptActionBoundArgs } from "private-next-rsc-action-encryption"; import f, { f1, f2 } from 'foo'; const f3 = 1; @@ -19,7 +19,7 @@ export function y(p, [p1, { p2 }], ...p3) { if (true) { const f8 = 1; } - var action = registerServerReference("6d53ce510b2e36499b8f56038817b9bad86cabb4", $$ACTION_0).bind(null, encryptActionBoundArgs("6d53ce510b2e36499b8f56038817b9bad86cabb4", [ + var action = registerServerReference("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", $$RSC_SERVER_ACTION_0).bind(null, encryptActionBoundArgs("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", [ f2, f11, p, @@ -29,8 +29,8 @@ export function y(p, [p1, { p2 }], ...p3) { ])); return ; } -export async function $$ACTION_0($$ACTION_CLOSURE_BOUND) { - var [$$ACTION_ARG_0, $$ACTION_ARG_1, $$ACTION_ARG_2, $$ACTION_ARG_3, $$ACTION_ARG_4, $$ACTION_ARG_5] = await decryptActionBoundArgs("6d53ce510b2e36499b8f56038817b9bad86cabb4", $$ACTION_CLOSURE_BOUND); +export async function $$RSC_SERVER_ACTION_0($$ACTION_CLOSURE_BOUND) { + var [$$ACTION_ARG_0, $$ACTION_ARG_1, $$ACTION_ARG_2, $$ACTION_ARG_3, $$ACTION_ARG_4, $$ACTION_ARG_5] = await decryptActionBoundArgs("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", $$ACTION_CLOSURE_BOUND); const f17 = 1; if (true) { const f18 = 1; diff --git a/crates/next-custom-transforms/tests/fixture/server-actions/server/7/output.js b/crates/next-custom-transforms/tests/fixture/server-actions/server/7/output.js index 80c683672ec59..50556a98092c0 100644 --- a/crates/next-custom-transforms/tests/fixture/server-actions/server/7/output.js +++ b/crates/next-custom-transforms/tests/fixture/server-actions/server/7/output.js @@ -1,51 +1,51 @@ -/* __next_internal_action_entry_do_not_use__ {"188d5d945750dc32e2c842b93c75a65763d4a922":"$$ACTION_1","56a859f462d35a297c46a1bbd1e6a9058c104ab8":"$$ACTION_3","6d53ce510b2e36499b8f56038817b9bad86cabb4":"$$ACTION_0","9c0dd1f7c2b3f41d32e10f5c437de3d67ad32c6c":"$$ACTION_4"} */ import { registerServerReference } from "private-next-rsc-server-reference"; +/* __next_internal_action_entry_do_not_use__ {"6a88810ecce4a4e8b59d53b8327d7e98bbf251d7":"$$RSC_SERVER_ACTION_0","90b5db271335765a4b0eab01f044b381b5ebd5cd":"$$RSC_SERVER_ACTION_1","9ed0cc47abc4e1c64320cf42b74ae60b58c40f00":"$$RSC_SERVER_ACTION_3","a9b2939c1f39073a6bed227fd20233064c8b7869":"$$RSC_SERVER_ACTION_4"} */ import { registerServerReference } from "private-next-rsc-server-reference"; import { encryptActionBoundArgs, decryptActionBoundArgs } from "private-next-rsc-action-encryption"; import deleteFromDb from 'db'; export function Item1(product, foo, bar) { - const a = registerServerReference("6d53ce510b2e36499b8f56038817b9bad86cabb4", $$ACTION_0).bind(null, encryptActionBoundArgs("6d53ce510b2e36499b8f56038817b9bad86cabb4", [ + const a = registerServerReference("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", $$RSC_SERVER_ACTION_0).bind(null, encryptActionBoundArgs("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", [ product, foo, bar ])); return ; } -export async function $$ACTION_0($$ACTION_CLOSURE_BOUND) { - var [$$ACTION_ARG_0, $$ACTION_ARG_1, $$ACTION_ARG_2] = await decryptActionBoundArgs("6d53ce510b2e36499b8f56038817b9bad86cabb4", $$ACTION_CLOSURE_BOUND); +export async function $$RSC_SERVER_ACTION_0($$ACTION_CLOSURE_BOUND) { + var [$$ACTION_ARG_0, $$ACTION_ARG_1, $$ACTION_ARG_2] = await decryptActionBoundArgs("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", $$ACTION_CLOSURE_BOUND); await deleteFromDb($$ACTION_ARG_0.id, $$ACTION_ARG_0?.foo, $$ACTION_ARG_0.bar.baz, $$ACTION_ARG_0[$$ACTION_ARG_1, $$ACTION_ARG_2]); } export function Item2(product, foo, bar) { - var deleteItem2 = registerServerReference("188d5d945750dc32e2c842b93c75a65763d4a922", $$ACTION_1).bind(null, encryptActionBoundArgs("188d5d945750dc32e2c842b93c75a65763d4a922", [ + var deleteItem2 = registerServerReference("90b5db271335765a4b0eab01f044b381b5ebd5cd", $$RSC_SERVER_ACTION_1).bind(null, encryptActionBoundArgs("90b5db271335765a4b0eab01f044b381b5ebd5cd", [ product, foo, bar ])); return ; } -export async function $$ACTION_1($$ACTION_CLOSURE_BOUND) { - var [$$ACTION_ARG_0, $$ACTION_ARG_1, $$ACTION_ARG_2] = await decryptActionBoundArgs("188d5d945750dc32e2c842b93c75a65763d4a922", $$ACTION_CLOSURE_BOUND); +export async function $$RSC_SERVER_ACTION_1($$ACTION_CLOSURE_BOUND) { + var [$$ACTION_ARG_0, $$ACTION_ARG_1, $$ACTION_ARG_2] = await decryptActionBoundArgs("90b5db271335765a4b0eab01f044b381b5ebd5cd", $$ACTION_CLOSURE_BOUND); await deleteFromDb($$ACTION_ARG_0.id, $$ACTION_ARG_0?.foo, $$ACTION_ARG_0.bar.baz, $$ACTION_ARG_0[$$ACTION_ARG_1, $$ACTION_ARG_2]); } export function Item3(product, foo, bar) { - const deleteItem3 = registerServerReference("56a859f462d35a297c46a1bbd1e6a9058c104ab8", $$ACTION_3).bind(null, encryptActionBoundArgs("56a859f462d35a297c46a1bbd1e6a9058c104ab8", [ + const deleteItem3 = registerServerReference("9ed0cc47abc4e1c64320cf42b74ae60b58c40f00", $$RSC_SERVER_ACTION_3).bind(null, encryptActionBoundArgs("9ed0cc47abc4e1c64320cf42b74ae60b58c40f00", [ product, foo, bar ])); return ; } -export async function $$ACTION_3($$ACTION_CLOSURE_BOUND) { - var [$$ACTION_ARG_0, $$ACTION_ARG_1, $$ACTION_ARG_2] = await decryptActionBoundArgs("56a859f462d35a297c46a1bbd1e6a9058c104ab8", $$ACTION_CLOSURE_BOUND); +export async function $$RSC_SERVER_ACTION_3($$ACTION_CLOSURE_BOUND) { + var [$$ACTION_ARG_0, $$ACTION_ARG_1, $$ACTION_ARG_2] = await decryptActionBoundArgs("9ed0cc47abc4e1c64320cf42b74ae60b58c40f00", $$ACTION_CLOSURE_BOUND); await deleteFromDb($$ACTION_ARG_0.id, $$ACTION_ARG_0?.foo, $$ACTION_ARG_0.bar.baz, $$ACTION_ARG_0[$$ACTION_ARG_1, $$ACTION_ARG_2]); } export function Item4(product, foo, bar) { - const deleteItem4 = registerServerReference("9c0dd1f7c2b3f41d32e10f5c437de3d67ad32c6c", $$ACTION_4).bind(null, encryptActionBoundArgs("9c0dd1f7c2b3f41d32e10f5c437de3d67ad32c6c", [ + const deleteItem4 = registerServerReference("a9b2939c1f39073a6bed227fd20233064c8b7869", $$RSC_SERVER_ACTION_4).bind(null, encryptActionBoundArgs("a9b2939c1f39073a6bed227fd20233064c8b7869", [ product, foo, bar ])); return ; } -export async function $$ACTION_4($$ACTION_CLOSURE_BOUND) { - var [$$ACTION_ARG_0, $$ACTION_ARG_1, $$ACTION_ARG_2] = await decryptActionBoundArgs("9c0dd1f7c2b3f41d32e10f5c437de3d67ad32c6c", $$ACTION_CLOSURE_BOUND); +export async function $$RSC_SERVER_ACTION_4($$ACTION_CLOSURE_BOUND) { + var [$$ACTION_ARG_0, $$ACTION_ARG_1, $$ACTION_ARG_2] = await decryptActionBoundArgs("a9b2939c1f39073a6bed227fd20233064c8b7869", $$ACTION_CLOSURE_BOUND); await deleteFromDb($$ACTION_ARG_0.id, $$ACTION_ARG_0?.foo, $$ACTION_ARG_0.bar.baz, $$ACTION_ARG_0[$$ACTION_ARG_1, $$ACTION_ARG_2]); } diff --git a/crates/next-custom-transforms/tests/fixture/server-actions/server/8/output.js b/crates/next-custom-transforms/tests/fixture/server-actions/server/8/output.js index 48ab4c0b8f84e..b3875434a874c 100644 --- a/crates/next-custom-transforms/tests/fixture/server-actions/server/8/output.js +++ b/crates/next-custom-transforms/tests/fixture/server-actions/server/8/output.js @@ -1,7 +1,7 @@ -/* __next_internal_action_entry_do_not_use__ {"6d53ce510b2e36499b8f56038817b9bad86cabb4":"$$ACTION_0"} */ import { registerServerReference } from "private-next-rsc-server-reference"; +/* __next_internal_action_entry_do_not_use__ {"6a88810ecce4a4e8b59d53b8327d7e98bbf251d7":"$$RSC_SERVER_ACTION_0"} */ import { registerServerReference } from "private-next-rsc-server-reference"; import { encryptActionBoundArgs, decryptActionBoundArgs } from "private-next-rsc-action-encryption"; -var myAction = registerServerReference("6d53ce510b2e36499b8f56038817b9bad86cabb4", $$ACTION_0); -export async function $$ACTION_0(a, b, c) { +var myAction = registerServerReference("6a88810ecce4a4e8b59d53b8327d7e98bbf251d7", $$RSC_SERVER_ACTION_0); +export async function $$RSC_SERVER_ACTION_0(a, b, c) { // comment 'use strict'; console.log('a'); diff --git a/docs/02-app/01-building-your-application/01-routing/11-parallel-routes.mdx b/docs/02-app/01-building-your-application/01-routing/11-parallel-routes.mdx index 018d75525b4cc..a706751c7c3f0 100644 --- a/docs/02-app/01-building-your-application/01-routing/11-parallel-routes.mdx +++ b/docs/02-app/01-building-your-application/01-routing/11-parallel-routes.mdx @@ -64,7 +64,7 @@ export default function Layout({ children, team, analytics }) { } ``` -However, slots are **not** [route segments](/docs/app/building-your-application/routing#route-segments) and do not affect the URL structure. For example, for `/@analytics/views`, the URL will be `/views` since `@analytics` is a slot. +However, slots are **not** [route segments](/docs/app/building-your-application/routing#route-segments) and do not affect the URL structure. For example, for `/@analytics/views`, the URL will be `/views` since `@analytics` is a slot. Slots are combined with the regular [Page](/docs/app/api-reference/file-conventions/page) component to form the final page associated with the route segment. Because of this, you cannot have separate [static](/docs/app/building-your-application/rendering/server-components#static-rendering-default) and [dynamic](docs/app/building-your-application/rendering/server-components#dynamic-rendering) slots at the same route segment level. If one slot is dynamic, all slots at that level must be dynamic. > **Good to know**: > diff --git a/docs/02-app/01-building-your-application/02-data-fetching/01-fetching.mdx b/docs/02-app/01-building-your-application/02-data-fetching/01-fetching.mdx index cd2e5c1fac785..d4344d961a7a3 100644 --- a/docs/02-app/01-building-your-application/02-data-fetching/01-fetching.mdx +++ b/docs/02-app/01-building-your-application/02-data-fetching/01-fetching.mdx @@ -97,7 +97,7 @@ let data = await fetch('https://api.vercel.app/blog', { cache: 'no-store' }) ### Fetching data on the server with an ORM or database -This component will fetch and display a list of blog posts. The response from the database will be cached. +This component will fetch and display a list of blog posts. The response from the database is not cached by default but could be with [additional configuration](#caching-data-with-an-orm-or-database). ```tsx filename="app/page.tsx" switcher import { db, posts } from '@/lib/db' @@ -131,7 +131,7 @@ export default async function Page() { If you are not using any [dynamic functions](/docs/app/building-your-application/rendering/server-components#dynamic-rendering) anywhere else in this route, it will be prerendered during `next build` to a static page. The data can then be updated using [Incremental Static Regeneration](/docs/app/building-your-application/data-fetching/incremental-static-regeneration). -If you do _not_ want to cache the response from the database, you can add the following to your file: +To prevent the page from prerendering, you can add the following to your file: ```js export const dynamic = 'force-dynamic' diff --git a/docs/02-app/01-building-your-application/02-data-fetching/04-incremental-static-regeneration.mdx b/docs/02-app/01-building-your-application/02-data-fetching/04-incremental-static-regeneration.mdx index c23598c5f7908..dea27d4217e97 100644 --- a/docs/02-app/01-building-your-application/02-data-fetching/04-incremental-static-regeneration.mdx +++ b/docs/02-app/01-building-your-application/02-data-fetching/04-incremental-static-regeneration.mdx @@ -40,16 +40,16 @@ export const revalidate = 60 export const dynamicParams = true // or false, to 404 on unknown paths export async function generateStaticParams() { - let posts: Post[] = await fetch('https://api.vercel.app/blog').then((res) => + const posts: Post[] = await fetch('https://api.vercel.app/blog').then((res) => res.json() ) return posts.map((post) => ({ - id: post.id, + id: String(post.id), })) } export default async function Page({ params }: { params: { id: string } }) { - let post = await fetch(`https://api.vercel.app/blog/${params.id}`).then( + const post = await fetch(`https://api.vercel.app/blog/${params.id}`).then( (res) => res.json() ) return ( @@ -72,14 +72,14 @@ export const revalidate = 60; export const dynamicParams = true // or false, to 404 on unknown paths export async function generateStaticParams() { - let posts: Post[] = await fetch('https://api.vercel.app/blog').then((res) => res.json()); + const posts: Post[] = await fetch('https://api.vercel.app/blog').then((res) => res.json()); return posts.map((post) => ({ - id: post.id, + id: String(post.id), })); } -export default async function Page({ params }: { params: { id: string } }) { - let post = await fetch(`https://api.vercel.app/blog/${params.id}`).then((res) => res.json()); +export default async function Page({ params }) { + const post = await fetch(`https://api.vercel.app/blog/${params.id}`).then((res) => res.json()); return (

{post.title}

@@ -107,11 +107,11 @@ interface Props { } export const getStaticPaths: GetStaticPaths = async () => { - let posts = await fetch('https://api.vercel.app/blog').then((res) => + const posts = await fetch('https://api.vercel.app/blog').then((res) => res.json() ) - let paths = posts.map((post: Post) => ({ - params: { id: post.id }, + const paths = posts.map((post: Post) => ({ + params: { id: String(post.id) }, })) // We'll prerender only these paths at build time. @@ -120,7 +120,11 @@ export const getStaticPaths: GetStaticPaths = async () => { return { paths, fallback: false } } -export const getStaticProps: GetStaticProps = async ({ params }) => { +export const getStaticProps: GetStaticProps = async ({ + params, +}: { + params: { id: string } +}) => { let post = await fetch(`https://api.vercel.app/blog/${params.id}`).then( (res) => res.json() ) @@ -145,10 +149,10 @@ export default function Page({ post }: Props) { ```jsx filename="pages/blog/[id].jsx" switcher export async function getStaticPaths() { - let posts = await fetch('https://api.vercel.app/blog').then((res) => + const posts = await fetch('https://api.vercel.app/blog').then((res) => res.json() ) - let paths = posts.map((post) => ({ + const paths = posts.map((post) => ({ params: { id: post.id }, })) @@ -158,7 +162,7 @@ export async function getStaticPaths() { } export async function getStaticProps({ params }) { - let post = await fetch(`https://api.vercel.app/blog/${params.id}`).then( + const post = await fetch(`https://api.vercel.app/blog/${params.id}`).then( (res) => res.json() ) @@ -228,8 +232,8 @@ This fetches and displays a list of blog posts on `/blog`. After an hour, the ca export const revalidate = 3600 // invalidate every hour export default async function Page() { - let data = await fetch('https://api.vercel.app/blog') - let posts = await data.json() + const data = await fetch('https://api.vercel.app/blog') + const posts = await data.json() return (

Blog Posts

@@ -270,10 +274,10 @@ For most use cases, prefer revalidating entire paths. If you need more granular ```jsx export default async function Page() { - let data = await fetch('https://api.vercel.app/blog', { + const data = await fetch('https://api.vercel.app/blog', { next: { tags: ['posts'] }, }) - let posts = await data.json() + const posts = await data.json() // ... } ``` @@ -293,7 +297,7 @@ const getCachedPosts = unstable_cache( ) export default async function Page() { - let posts = getCachedPosts() + const posts = getCachedPosts() // ... } ``` @@ -367,8 +371,8 @@ export async function getStaticProps({ params }) { // If this request throws an uncaught error, Next.js will // not invalidate the currently shown page and // retry getStaticProps on the next request. - let res = await fetch(`https://api.vercel.app/blog/${params.id}`) - let posts = await res.json() + const res = await fetch(`https://api.vercel.app/blog/${params.id}`) + const posts = await res.json() if (!res.ok) { // If there is a server error, you might want to diff --git a/docs/02-app/01-building-your-application/03-rendering/03-composition-patterns.mdx b/docs/02-app/01-building-your-application/03-rendering/03-composition-patterns.mdx index 3f80c54c3dd32..529e9c20bc874 100644 --- a/docs/02-app/01-building-your-application/03-rendering/03-composition-patterns.mdx +++ b/docs/02-app/01-building-your-application/03-rendering/03-composition-patterns.mdx @@ -425,7 +425,7 @@ Within those client subtrees, you can still nest Server Components or call Serve The following pattern is not supported. You cannot import a Server Component into a Client Component: -```tsx filename="app/client-component.tsx" switcher highlight={4,17} +```tsx filename="app/client-component.tsx" switcher highlight={3,4,17} 'use client' // You cannot import a Server Component into a Client Component. diff --git a/docs/02-app/01-building-your-application/04-caching/index.mdx b/docs/02-app/01-building-your-application/04-caching/index.mdx index 3caeb8965b5f7..2ed1ca6b93a99 100644 --- a/docs/02-app/01-building-your-application/04-caching/index.mdx +++ b/docs/02-app/01-building-your-application/04-caching/index.mdx @@ -430,7 +430,7 @@ See the [`fetch` API Reference](/docs/app/api-reference/functions/fetch) for mor You can opt individual `fetch` into caching by setting the `cache` option to `force-cache`: ```jsx -// Opt out of caching +// Opt into caching fetch(`https://...`, { cache: 'force-cache' }) ``` diff --git a/docs/02-app/01-building-your-application/05-styling/03-sass.mdx b/docs/02-app/01-building-your-application/05-styling/03-sass.mdx index 6a8f4ea649c66..4582991c7d0e8 100644 --- a/docs/02-app/01-building-your-application/05-styling/03-sass.mdx +++ b/docs/02-app/01-building-your-application/05-styling/03-sass.mdx @@ -24,16 +24,58 @@ npm install --save-dev sass ### Customizing Sass Options -If you want to configure the Sass compiler, use `sassOptions` in `next.config.js`. +If you want to configure your Sass options, use `sassOptions` in `next.config`. -```js filename="next.config.js" -const path = require('path') +```ts filename="next.config.ts" switcher +import type { NextConfig } from 'next' -module.exports = { +const nextConfig: NextConfig = { sassOptions: { - includePaths: [path.join(__dirname, 'styles')], + additionalData: `$var: red;`, }, } + +export default nextConfig +``` + +```js filename="next.config.js" switcher +/** @type {import('next').NextConfig} */ + +const nextConfig = { + sassOptions: { + additionalData: `$var: red;`, + }, +} + +module.exports = nextConfig +``` + +#### Implementation + +You can use the `implementation` property to specify the Sass implementation to use. By default, Next.js uses the [`sass`](https://www.npmjs.com/package/sass) package. + +```ts filename="next.config.ts" switcher +import type { NextConfig } from 'next' + +const nextConfig: NextConfig = { + sassOptions: { + implementation: 'sass-embedded', + }, +} + +export default nextConfig +``` + +```js filename="next.config.js" switcher +/** @type {import('next').NextConfig} */ + +const nextConfig = { + sassOptions: { + implementation: 'sass-embedded', + }, +} + +module.exports = nextConfig ``` ### Sass Variables diff --git a/docs/02-app/01-building-your-application/06-optimizing/02-videos.mdx b/docs/02-app/01-building-your-application/06-optimizing/02-videos.mdx index d7ff445aa2aad..605e299a88b39 100644 --- a/docs/02-app/01-building-your-application/06-optimizing/02-videos.mdx +++ b/docs/02-app/01-building-your-application/06-optimizing/02-videos.mdx @@ -267,3 +267,9 @@ Explore these video streaming platforms for integrating video into your Next.js ### Fastly - Learn more about integrating Fastly's solutions for [video on demand](https://www.fastly.com/products/streaming-media/video-on-demand) and streaming media into Next.js. + +### ImageKit.io Integration + +- Check out the [official quick start guide](https://imagekit.io/docs/integration/nextjs) for integrating ImageKit with Next.js. +- The integration provides an `` component, offering [seamless video support](https://imagekit.io/docs/integration/nextjs#rendering-videos). +- You can also explore other [ImageKit libraries](https://imagekit.io/docs), such as the Node.js SDK, which is also available. diff --git a/docs/02-app/01-building-your-application/06-optimizing/07-lazy-loading.mdx b/docs/02-app/01-building-your-application/06-optimizing/07-lazy-loading.mdx index ccde08193c244..5cf94abb99f03 100644 --- a/docs/02-app/01-building-your-application/06-optimizing/07-lazy-loading.mdx +++ b/docs/02-app/01-building-your-application/06-optimizing/07-lazy-loading.mdx @@ -72,8 +72,6 @@ const ComponentC = dynamic(() => import('../components/C'), { ssr: false }) If you dynamically import a Server Component, only the Client Components that are children of the Server Component will be lazy-loaded - not the Server Component itself. It will also help preload the static assets such as CSS when you're using it in Server Components. -> **Note:** `ssr: false` option is not supported in Server Components. - ```jsx filename="app/page.js" import dynamic from 'next/dynamic' @@ -89,6 +87,9 @@ export default function ServerComponentExample() { } ``` +> **Note:** `ssr: false` option is not supported in Server Components. You will see an error if you try to use it in Server Components. +> `ssr: false` is not allowed with `next/dynamic` in Server Components. Please move it into a client component. + ### Loading External Libraries External libraries can be loaded on demand using the [`import()`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/import) function. This example uses the external library `fuse.js` for fuzzy search. The module is only loaded on the client after the user types in the search input. diff --git a/docs/02-app/01-building-your-application/06-optimizing/10-open-telemetry.mdx b/docs/02-app/01-building-your-application/06-optimizing/10-open-telemetry.mdx index b5aa71b7c9aa5..c0066d215e7fe 100644 --- a/docs/02-app/01-building-your-application/06-optimizing/10-open-telemetry.mdx +++ b/docs/02-app/01-building-your-application/06-optimizing/10-open-telemetry.mdx @@ -113,15 +113,15 @@ export async function register() { ``` ```ts filename="instrumentation.node.ts" switcher -import { NodeSDK } from '@opentelemetry/sdk-node' import { OTLPTraceExporter } from '@opentelemetry/exporter-trace-otlp-http' import { Resource } from '@opentelemetry/resources' -import { SEMRESATTRS_SERVICE_NAME } from '@opentelemetry/semantic-conventions' +import { NodeSDK } from '@opentelemetry/sdk-node' import { SimpleSpanProcessor } from '@opentelemetry/sdk-trace-node' +import { ATTR_SERVICE_NAME } from '@opentelemetry/semantic-conventions' const sdk = new NodeSDK({ resource: new Resource({ - [SEMRESATTRS_SERVICE_NAME]: 'next-app', + [ATTR_SERVICE_NAME]: 'next-app', }), spanProcessor: new SimpleSpanProcessor(new OTLPTraceExporter()), }) @@ -129,15 +129,15 @@ sdk.start() ``` ```js filename="instrumentation.node.js" switcher -import { NodeSDK } from '@opentelemetry/sdk-node' import { OTLPTraceExporter } from '@opentelemetry/exporter-trace-otlp-http' import { Resource } from '@opentelemetry/resources' -import { SEMRESATTRS_SERVICE_NAME } from '@opentelemetry/semantic-conventions' +import { NodeSDK } from '@opentelemetry/sdk-node' import { SimpleSpanProcessor } from '@opentelemetry/sdk-trace-node' +import { ATTR_SERVICE_NAME } from '@opentelemetry/semantic-conventions' const sdk = new NodeSDK({ resource: new Resource({ - [SEMRESATTRS_SERVICE_NAME]: 'next-app', + [ATTR_SERVICE_NAME]: 'next-app', }), spanProcessor: new SimpleSpanProcessor(new OTLPTraceExporter()), }) diff --git a/docs/02-app/01-building-your-application/06-optimizing/12-third-party-libraries.mdx b/docs/02-app/01-building-your-application/06-optimizing/12-third-party-libraries.mdx index 90ac1d23a9c8b..afc3badd11fc9 100644 --- a/docs/02-app/01-building-your-application/06-optimizing/12-third-party-libraries.mdx +++ b/docs/02-app/01-building-your-application/06-optimizing/12-third-party-libraries.mdx @@ -163,6 +163,11 @@ Refer to the Tag Manager [developer documentation](https://developers.google.com/tag-platform/tag-manager/datalayer) to learn about the different variables and events that can be passed into the function. +#### Server-side Tagging + +If you're using a server-side tag manager and serving `gtm.js` scripts from your tagging server you can +use `gtmScriptUrl` option to specify the URL of the script. + #### Options Options to pass to the Google Tag Manager. For a full list of options, read the [Google Tag Manager @@ -171,6 +176,7 @@ docs](https://developers.google.com/tag-platform/tag-manager/datalayer). | Name | Type | Description | | --------------- | -------- | ------------------------------------------------------------------------ | | `gtmId` | Required | Your GTM container ID. Usually starts with `GTM-`. | +| `gtmScriptUrl` | Optional | GTM script URL. Defaults to `https://www.googletagmanager.com/gtm.js`. | | `dataLayer` | Optional | Data layer object to instantiate the container with. | | `dataLayerName` | Optional | Name of the data layer. Defaults to `dataLayer`. | | `auth` | Optional | Value of authentication parameter (`gtm_auth`) for environment snippets. | diff --git a/docs/02-app/01-building-your-application/08-testing/02-jest.mdx b/docs/02-app/01-building-your-application/08-testing/02-jest.mdx index cfa38ae8e3717..28692ad64bd06 100644 --- a/docs/02-app/01-building-your-application/08-testing/02-jest.mdx +++ b/docs/02-app/01-building-your-application/08-testing/02-jest.mdx @@ -129,7 +129,7 @@ module.exports = { // Handle image imports // https://jestjs.io/docs/webpack#handling-static-assets - '^.+\\.(png|jpg|jpeg|gif|webp|avif|ico|bmp|svg)$/i': `/__mocks__/fileMock.js`, + '^.+\\.(png|jpg|jpeg|gif|webp|avif|ico|bmp|svg)$': `/__mocks__/fileMock.js`, // Handle module aliases '^@/components/(.*)$': '/components/$1', diff --git a/docs/02-app/01-building-your-application/09-authentication/index.mdx b/docs/02-app/01-building-your-application/09-authentication/index.mdx index 933053d2e6f60..d9013731f13ca 100644 --- a/docs/02-app/01-building-your-application/09-authentication/index.mdx +++ b/docs/02-app/01-building-your-application/09-authentication/index.mdx @@ -1059,12 +1059,12 @@ export default async function middleware(req: NextRequest) { const cookie = cookies().get('session')?.value const session = await decrypt(cookie) - // 5. Redirect to /login if the user is not authenticated + // 4. Redirect to /login if the user is not authenticated if (isProtectedRoute && !session?.userId) { return NextResponse.redirect(new URL('/login', req.nextUrl)) } - // 6. Redirect to /dashboard if the user is authenticated + // 5. Redirect to /dashboard if the user is authenticated if ( isPublicRoute && session?.userId && diff --git a/docs/02-app/01-building-your-application/10-deploying/index.mdx b/docs/02-app/01-building-your-application/10-deploying/index.mdx index 088ef4b4cd9cb..1fa89c2d2f307 100644 --- a/docs/02-app/01-building-your-application/10-deploying/index.mdx +++ b/docs/02-app/01-building-your-application/10-deploying/index.mdx @@ -175,11 +175,13 @@ module.exports = class CacheHandler { }) } - async revalidateTag(tag) { + async revalidateTag(tags) { + // tags is either a string or an array of strings + tags = [tags].flat() // Iterate over all entries in the cache for (let [key, value] of cache) { // If the value's tags include the specified tag, delete this entry - if (value.tags.includes(tag)) { + if (value.tags.some((tag) => tags.include(tag))) { cache.delete(key) } } diff --git a/docs/02-app/01-building-your-application/11-upgrading/01-codemods.mdx b/docs/02-app/01-building-your-application/11-upgrading/01-codemods.mdx index a6166fb69b5bd..c516ccbcf7cf9 100644 --- a/docs/02-app/01-building-your-application/11-upgrading/01-codemods.mdx +++ b/docs/02-app/01-building-your-application/11-upgrading/01-codemods.mdx @@ -24,6 +24,142 @@ Replacing `` and `` with appropriate values. ## Next.js Codemods +### 15.0 + +#### Migrate to async Dynamic APIs + +##### `next-async-request-api` + +```bash filename="Terminal" +npx @next/codemod@latest next-async-request-api . +``` + +This codemod will transform APIs `cookies()`, `headers()` and `draftMode()` from `next/headers` to be properly awaited or wrapped with `React.use()` if needed. +If it's not able to be migrated, will either add a type cast or a TODO comment based on the file is a TypeScript or JavaScript file. + +For example: + +```tsx +import { cookies, headers } from 'next/headers' +const token = cookies().get('token') + +function useToken() { + const token = cookies().get('token') + return token +} + +export default function Page() { + const name = cookies().get('name') +} + +function getHeader() { + return headers().get('x-foo') +} +``` + +Transforms into: + +```tsx +import { use } from 'react' +import { cookies, headers, type UnsafeUnwrappedCookies } from 'next/headers' + +const token = (await cookies()).get('token') + +function useToken() { + const token = use(cookies()).get('token') + return token +} + +export default function Page() { + const name = (await cookies()).get('name') +} + +function getHeader() { + return (headers() as UnsafeUnwrappedCookies).get('x-foo') +} +``` + +If there's access to the entry handler `params` and `searchParams` in the route entry default handler (`page.js`, `layout.js`, `route.js` or Metadata API routes) or `generateMetadata` export API, +it will transform the access to the property from sync to async, and await or wrap these properties with `React.use()` if needed. + +For example: + +```tsx +// page.tsx +export default function Page({ + params, + searchParams, +}: { + params: { slug: string } + searchParams: { [key: string]: string | undefined } +}) { + const { value } = searchParams + if (value === 'foo') { + // ... + } +} + +export function generateMetadata({ params }: { params: { slug: string } }) { + return { + title: `My Page - ${slug}`, + } +} +``` + +Transforms into: + +```tsx +// page.tsx +export default function Page(props: { + params: { slug: string } + searchParams: { [key: string]: string | undefined } +}) { + const { value } = await props.searchParams + if (value === 'foo') { + // ... + } +} + +export function generateMetadata(props: { params: { slug: string } }) { + const { slug } = await props.params + return { + title: `My Page - ${slug}`, + } +} +``` + +#### Replace `geo` and `ip` properties of `NextRequest` with `@vercel/functions` + +##### `next-request-geo-ip` + +```bash filename="Terminal" +npx @next/codemod@latest next-request-geo-ip . +``` + +This codemod installs `@vercel/functions` and transforms `geo` and `ip` properties of `NextRequest` with corresponding `@vercel/functions` features. + +For example: + +```ts +import type { NextRequest } from 'next/server' + +export function GET(req: NextRequest) { + const { geo, ip } = req +} +``` + +Transforms into: + +```ts +import type { NextRequest } from 'next/server' +import { geolocation, ipAddress } from '@vercel/functions' + +export function GET(req: NextRequest) { + const geo = geolocation(req) + const ip = ipAddress(req) +} +``` + ### 14.0 #### Migrate `ImageResponse` imports diff --git a/docs/02-app/01-building-your-application/11-upgrading/04-app-router-migration.mdx b/docs/02-app/01-building-your-application/11-upgrading/04-app-router-migration.mdx index 7d26326b0f25e..98c6da98e32c9 100644 --- a/docs/02-app/01-building-your-application/11-upgrading/04-app-router-migration.mdx +++ b/docs/02-app/01-building-your-application/11-upgrading/04-app-router-migration.mdx @@ -474,9 +474,15 @@ In addition, the new `useRouter` hook has the following changes: - `basePath` has been removed. The alternative will not be part of `useRouter`. It has not yet been implemented. - `asPath` has been removed because the concept of `as` has been removed from the new router. - `isReady` has been removed because it is no longer necessary. During [static rendering](/docs/app/building-your-application/rendering/server-components#static-rendering-default), any component that uses the [`useSearchParams()`](/docs/app/api-reference/functions/use-search-params) hook will skip the prerendering step and instead be rendered on the client at runtime. +- `route` has been removed. `usePathname` or `useSelectedLayoutSegments()` provide an alternative. [View the `useRouter()` API reference](/docs/app/api-reference/functions/use-router). +#### Sharing components between `pages` and `app` + +To keep components compatible between the `pages` and `app` routers, refer to the [`useRouter` hook from `next/compat/router`](/docs/pages/api-reference/functions/use-router#the-nextcompatrouter-export). +This is the `useRouter` hook from the `pages` directory, but intented to be used while sharing components between routers. Once you are ready to use it only on the `app` router, update to the new [`useRouter` from `next/navigation`](/docs/app/api-reference/functions/use-router). + ### Step 6: Migrating Data Fetching Methods The `pages` directory uses `getServerSideProps` and `getStaticProps` to fetch data for pages. Inside the `app` directory, these previous data fetching functions are replaced with a [simpler API](/docs/app/building-your-application/data-fetching) built on top of `fetch()` and `async` React Server Components. diff --git a/docs/02-app/02-api-reference/01-components/image.mdx b/docs/02-app/02-api-reference/01-components/image.mdx index ca60b53ef18b2..759cbf736dc83 100644 --- a/docs/02-app/02-api-reference/01-components/image.mdx +++ b/docs/02-app/02-api-reference/01-components/image.mdx @@ -467,13 +467,24 @@ For example, when upgrading an existing website from `` to ``, you m /> ``` +### decoding + +A hint to the browser indicating if it should wait for the image to be decoded before presenting other content updates or not. Defaults to `async`. + +Possible values are the following: + +- `async` - Asynchronously decode the image and allow other content to be rendered before it completes. +- `sync` - Synchronously decode the image for atomic presentation with other content. +- `auto` - No preference for the decoding mode; the browser decides what's best. + +Learn more about the [`decoding` attribute](https://developer.mozilla.org/docs/Web/HTML/Element/img#loading). + ### Other Props Other properties on the `` component will be passed to the underlying `img` element with the exception of the following: - `srcSet`. Use [Device Sizes](#devicesizes) instead. -- `decoding`. It is always `"async"`. ## Configuration Options @@ -492,15 +503,16 @@ module.exports = { hostname: 'example.com', port: '', pathname: '/account123/**', + search: '', }, ], }, } ``` -> **Good to know**: The example above will ensure the `src` property of `next/image` must start with `https://example.com/account123/`. Any other protocol, hostname, port, or unmatched path will respond with 400 Bad Request. +> **Good to know**: The example above will ensure the `src` property of `next/image` must start with `https://example.com/account123/` and must not have a query string. Any other protocol, hostname, port, or unmatched path will respond with 400 Bad Request. -Below is another example of the `remotePatterns` property in the `next.config.js` file: +Below is an example of the `remotePatterns` property in the `next.config.js` file using a wildcard pattern in the `hostname`: ```js filename="next.config.js" module.exports = { @@ -510,13 +522,14 @@ module.exports = { protocol: 'https', hostname: '**.example.com', port: '', + search: '', }, ], }, } ``` -> **Good to know**: The example above will ensure the `src` property of `next/image` must start with `https://img1.example.com` or `https://me.avatar.example.com` or any number of subdomains. Any other protocol, port, or unmatched hostname will respond with 400 Bad Request. +> **Good to know**: The example above will ensure the `src` property of `next/image` must start with `https://img1.example.com` or `https://me.avatar.example.com` or any number of subdomains. It cannot have a port or query string. Any other protocol or unmatched hostname will respond with 400 Bad Request. Wildcard patterns can be used for both `pathname` and `hostname` and have the following syntax: @@ -525,7 +538,25 @@ Wildcard patterns can be used for both `pathname` and `hostname` and have the fo The `**` syntax does not work in the middle of the pattern. -> **Good to know**: When omitting `protocol`, `port` or `pathname`, then the wildcard `**` is implied. This is not recommended because it may allow malicious actors to optimize urls you did not intend. +> **Good to know**: When omitting `protocol`, `port`, `pathname`, or `search` then the wildcard `**` is implied. This is not recommended because it may allow malicious actors to optimize urls you did not intend. + +Below is an example of the `remotePatterns` property in the `next.config.js` file using `search`: + +```js filename="next.config.js" +module.exports = { + images: { + remotePatterns: [ + { + protocol: 'https', + hostname: 'assets.example.com', + search: '?v=1727111025337', + }, + ], + }, +} +``` + +> **Good to know**: The example above will ensure the `src` property of `next/image` must start with `https://assets.example.com` and must have the exact query string `?v=1727111025337`. Any other protocol or query string will respond with 400 Bad Request. ### `domains` @@ -1022,7 +1053,7 @@ This `next/image` component uses browser native [lazy loading](https://caniuse.c | Version | Changes | | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `v15.0.0` | `contentDispositionType` configuration default changed to `attachment`. | +| `v15.0.0` | `decoding` prop added. `contentDispositionType` configuration default changed to `attachment`. | | `v14.2.0` | `overrideSrc` prop added. | | `v14.1.0` | `getImageProps()` is stable. | | `v14.0.0` | `onLoadingComplete` prop and `domains` config deprecated. | diff --git a/docs/02-app/02-api-reference/02-file-conventions/route-segment-config.mdx b/docs/02-app/02-api-reference/02-file-conventions/route-segment-config.mdx index 9015ceef5a89a..6b91675f24f86 100644 --- a/docs/02-app/02-api-reference/02-file-conventions/route-segment-config.mdx +++ b/docs/02-app/02-api-reference/02-file-conventions/route-segment-config.mdx @@ -7,7 +7,7 @@ The Route Segment options allows you to configure the behavior of a [Page](/docs | Option | Type | Default | | --------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | -------------------------- | -| [`experimental_ppr`](#experimental_ppr) | `'true' \| 'false'` | +| [`experimental_ppr`](#experimental_ppr) | `boolean` | | [`dynamic`](#dynamic) | `'auto' \| 'force-dynamic' \| 'error' \| 'force-static'` | `'auto'` | | [`dynamicParams`](#dynamicparams) | `boolean` | `true` | | [`revalidate`](#revalidate) | `false \| 0 \| number` | `false` | diff --git a/docs/02-app/02-api-reference/04-functions/use-router.mdx b/docs/02-app/02-api-reference/04-functions/use-router.mdx index 69b34c32068c4..823a1dbda8a4d 100644 --- a/docs/02-app/02-api-reference/04-functions/use-router.mdx +++ b/docs/02-app/02-api-reference/04-functions/use-router.mdx @@ -112,7 +112,7 @@ export default function Layout({ children }) { > **Good to know**: `` is wrapped in a [`Suspense` boundary](/docs/app/building-your-application/routing/loading-ui-and-streaming#example) because[`useSearchParams()`](/docs/app/api-reference/functions/use-search-params) causes client-side rendering up to the closest `Suspense` boundary during [static rendering](/docs/app/building-your-application/rendering/server-components#static-rendering-default). [Learn more](/docs/app/api-reference/functions/use-search-params#behavior). -### Disabling scroll restoration +### Disabling scroll to top By default, Next.js will scroll to the top of the page when navigating to a new route. You can disable this behavior by passing `scroll: false` to `router.push()` or `router.replace()`. diff --git a/docs/02-app/02-api-reference/05-next-config-js/images.mdx b/docs/02-app/02-api-reference/05-next-config-js/images.mdx index c582461e92e11..028326e303463 100644 --- a/docs/02-app/02-api-reference/05-next-config-js/images.mdx +++ b/docs/02-app/02-api-reference/05-next-config-js/images.mdx @@ -66,6 +66,7 @@ To learn more about configuring the behavior of the built-in [Image Optimization - [Sirv](#sirv) - [Supabase](#supabase) - [Thumbor](#thumbor) +- [Imagekit](#imagekitio) - [Nitrogen AIO](#nitrogen-aio) ### Akamai @@ -242,6 +243,16 @@ export default function thumborLoader({ src, width, quality }) { } ``` +### ImageKit.io + +```js +// Docs: https://imagekit.io/docs/image-transformation +export default function imageKitLoader({ src, width, quality }) { + const params = [`w-${width}`, `q-${quality || 80}`] + return `https://ik.imagekit.io/your_imagekit_id/${src}?tr=${params.join(',')}` +} +``` + ### Nitrogen AIO ```js diff --git a/docs/02-app/02-api-reference/05-next-config-js/incrementalCacheHandlerPath.mdx b/docs/02-app/02-api-reference/05-next-config-js/incrementalCacheHandlerPath.mdx index 091e5b875eedb..a4dddcd7b7c83 100644 --- a/docs/02-app/02-api-reference/05-next-config-js/incrementalCacheHandlerPath.mdx +++ b/docs/02-app/02-api-reference/05-next-config-js/incrementalCacheHandlerPath.mdx @@ -43,9 +43,9 @@ Returns `Promise`. ### `revalidateTag()` -| Parameter | Type | Description | -| --------- | -------- | ---------------------------- | -| `tag` | `string` | The cache tag to revalidate. | +| Parameter | Type | Description | +| --------- | ---------------------- | ----------------------------- | +| `tag` | `string` or `string[]` | The cache tags to revalidate. | Returns `Promise`. Learn more about [revalidating data](/docs/app/building-your-application/data-fetching/incremental-static-regeneration) or the [`revalidateTag()`](/docs/app/api-reference/functions/revalidateTag) function. diff --git a/docs/02-app/02-api-reference/05-next-config-js/index.mdx b/docs/02-app/02-api-reference/05-next-config-js/index.mdx index beb77d7029217..d312e7bebaf5c 100644 --- a/docs/02-app/02-api-reference/05-next-config-js/index.mdx +++ b/docs/02-app/02-api-reference/05-next-config-js/index.mdx @@ -37,6 +37,8 @@ const nextConfig = { export default nextConfig ``` +> **Good to know**: `next.config` with the `.cjs`, `.cts`, or `.mts` extensions are currently **not** supported. + ## Configuration as a Function You can also use a function: diff --git a/docs/02-app/02-api-reference/05-next-config-js/sassOptions.mdx b/docs/02-app/02-api-reference/05-next-config-js/sassOptions.mdx new file mode 100644 index 0000000000000..8c510fb6c625f --- /dev/null +++ b/docs/02-app/02-api-reference/05-next-config-js/sassOptions.mdx @@ -0,0 +1,46 @@ +--- +title: sassOptions +description: Configure Sass options. +--- + +`sassOptions` allow you to configure the Sass compiler. + +```ts filename="next.config.ts" switcher +import type { NextConfig } from 'next' + +const sassOptions = { + additionalData: ` + $var: red; + `, +} + +const nextConfig: NextConfig = { + sassOptions: { + ...sassOptions, + implementation: 'sass-embedded', + }, +} + +export default nextConfig +``` + +```js filename="next.config.js" switcher +/** @type {import('next').NextConfig} */ + +const sassOptions = { + additionalData: ` + $var: red; + `, +} + +const nextConfig = { + sassOptions: { + ...sassOptions, + implementation: 'sass-embedded', + }, +} + +module.exports = nextConfig +``` + +> **Good to know:** `sassOptions` are not typed outside of `implementation` because Next.js does not maintain the other possible properties. diff --git a/docs/02-app/02-api-reference/05-next-config-js/useLightningcss.mdx b/docs/02-app/02-api-reference/05-next-config-js/useLightningcss.mdx index 1b93f3b66490b..4ff8b2aca645f 100644 --- a/docs/02-app/02-api-reference/05-next-config-js/useLightningcss.mdx +++ b/docs/02-app/02-api-reference/05-next-config-js/useLightningcss.mdx @@ -6,7 +6,7 @@ version: experimental Experimental support for using [Lightning CSS](https://lightningcss.dev), a fast CSS bundler and minifier, written in Rust. -```ts filename="next.config.ts" +```ts filename="next.config.ts" switcher import type { NextConfig } from 'next' const nextConfig: NextConfig = { @@ -18,7 +18,7 @@ const nextConfig: NextConfig = { export default nextConfig ``` -```js filename="next.config.js" +```js filename="next.config.js" switcher /** @type {import('next').NextConfig} */ const nextConfig = { experimental: { diff --git a/docs/02-app/02-api-reference/06-cli/next.mdx b/docs/02-app/02-api-reference/06-cli/next.mdx index 13e4aef860e14..e5c6df988754e 100644 --- a/docs/02-app/02-api-reference/06-cli/next.mdx +++ b/docs/02-app/02-api-reference/06-cli/next.mdx @@ -207,6 +207,8 @@ For certain use cases like webhooks or authentication, you can use [HTTPS](https next dev --experimental-https ``` +With the generated certificate, the Next.js development server will exist at `https://localhost:3000`. The default port `3000` is used unless a port is specified with `-p`, `--port`, or `PORT`. + You can also provide a custom certificate and key with `--experimental-https-key` and `--experimental-https-cert`. Optionally, you can provide a custom CA certificate with `--experimental-https-ca` as well. ```bash filename="Terminal" diff --git a/docs/03-pages/02-api-reference/01-components/image-legacy.mdx b/docs/03-pages/02-api-reference/01-components/image-legacy.mdx index 6d0ccff0337b0..27afc13c54133 100644 --- a/docs/03-pages/02-api-reference/01-components/image-legacy.mdx +++ b/docs/03-pages/02-api-reference/01-components/image-legacy.mdx @@ -362,15 +362,16 @@ module.exports = { hostname: 'example.com', port: '', pathname: '/account123/**', + search: '', }, ], }, } ``` -> **Good to know**: The example above will ensure the `src` property of `next/legacy/image` must start with `https://example.com/account123/`. Any other protocol, hostname, port, or unmatched path will respond with 400 Bad Request. +> **Good to know**: The example above will ensure the `src` property of `next/legacy/image` must start with `https://example.com/account123/` and must not have a query string. Any other protocol, hostname, port, or unmatched path will respond with 400 Bad Request. -Below is another example of the `remotePatterns` property in the `next.config.js` file: +Below is an example of the `remotePatterns` property in the `next.config.js` file using a wildcard pattern in the `hostname`: ```js filename="next.config.js" module.exports = { @@ -380,13 +381,14 @@ module.exports = { protocol: 'https', hostname: '**.example.com', port: '', + search: '', }, ], }, } ``` -> **Good to know**: The example above will ensure the `src` property of `next/legacy/image` must start with `https://img1.example.com` or `https://me.avatar.example.com` or any number of subdomains. Any other protocol, port, or unmatched hostname will respond with 400 Bad Request. +> **Good to know**: The example above will ensure the `src` property of `next/legacy/image` must start with `https://img1.example.com` or `https://me.avatar.example.com` or any number of subdomains. It cannot have a port or query string. Any other protocol or unmatched hostname will respond with 400 Bad Request. Wildcard patterns can be used for both `pathname` and `hostname` and have the following syntax: @@ -395,7 +397,25 @@ Wildcard patterns can be used for both `pathname` and `hostname` and have the fo The `**` syntax does not work in the middle of the pattern. -> **Good to know**: When omitting `protocol`, `port` or `pathname`, then the wildcard `**` is implied. This is not recommended because it may allow malicious actors to optimize urls you did not intend. +> **Good to know**: When omitting `protocol`, `port`, `pathname`, or `search` then the wildcard `**` is implied. This is not recommended because it may allow malicious actors to optimize urls you did not intend. + +Below is an example of the `remotePatterns` property in the `next.config.js` file using `search`: + +```js filename="next.config.js" +module.exports = { + images: { + remotePatterns: [ + { + protocol: 'https', + hostname: 'assets.example.com', + search: '?v=1727111025337', + }, + ], + }, +} +``` + +> **Good to know**: The example above will ensure the `src` property of `next/legacy/image` must start with `https://assets.example.com` and must have the exact query string `?v=1727111025337`. Any other protocol or query string will respond with 400 Bad Request. ### Domains diff --git a/docs/03-pages/02-api-reference/03-functions/use-router.mdx b/docs/03-pages/02-api-reference/03-functions/use-router.mdx index 4cebe19d50151..296165ff11954 100644 --- a/docs/03-pages/02-api-reference/03-functions/use-router.mdx +++ b/docs/03-pages/02-api-reference/03-functions/use-router.mdx @@ -429,6 +429,78 @@ export default function MyApp({ Component, pageProps }) { } ``` +## The `next/compat/router` export + +This is the same `useRouter` hook, but can be used in both `app` and `pages` directories. + +It differs from `next/router` in that it does not throw an error when the pages router is not mounted, and instead has a return type of `NextRouter | null`. +This allows developers to convert components to support running in both `app` and `pages` as they transition to the `app` router. + +A component that previously looked like this: + +```jsx +import { useRouter } from 'next/router' +const MyComponent = () => { + const { isReady, query } = useRouter() + // ... +} +``` + +Will error when converted over to `next/compat/router`, as `null` can not be destructured. Instead, developers will be able to take advantage of new hooks: + +```jsx +import { useEffect } from 'react' +import { useRouter } from 'next/compat/router' +import { useSearchParams } from 'next/navigation' +const MyComponent = () => { + const router = useRouter() // may be null or a NextRouter instance + const searchParams = useSearchParams() + useEffect(() => { + if (router && !router.isReady) { + return + } + // In `app/`, searchParams will be ready immediately with the values, in + // `pages/` it will be available after the router is ready. + const search = searchParams.get('search') + // ... + }, [router, searchParams]) + // ... +} +``` + +This component will now work in both `pages` and `app` directories. When the component is no longer used in `pages`, you can remove the references to the compat router: + +```jsx +import { useSearchParams } from 'next/navigation' +const MyComponent = () => { + const searchParams = useSearchParams() + // As this component is only used in `app/`, the compat router can be removed. + const search = searchParams.get('search') + // ... +} +``` + +### Using `useRouter` outside of Next.js context in pages + +Another specific use case is when rendering components outside of a Next.js application context, such as inside `getServerSideProps` on the `pages` directory. In this case, the compat router can be used to avoid errors: + +```jsx +import { renderToString } from 'react-dom/server' +import { useRouter } from 'next/compat/router' +const MyComponent = () => { + const router = useRouter() // may be null or a NextRouter instance + // ... +} +export async function getServerSideProps() { + const renderedComponent = renderToString() + return { + props: { + renderedComponent, + }, + } +} +``` + ## Potential ESLint errors Certain methods accessible on the `router` object return a Promise. If you have the ESLint rule, [no-floating-promises](https://typescript-eslint.io/rules/no-floating-promises) enabled, consider disabling it either globally, or for the affected line. diff --git a/errors/next-router-not-mounted.mdx b/errors/next-router-not-mounted.mdx index affa51d37aaf9..a834fe568cfa2 100644 --- a/errors/next-router-not-mounted.mdx +++ b/errors/next-router-not-mounted.mdx @@ -14,6 +14,8 @@ If used in a test, mock out the router by mocking the `next/router`'s `useRouter If used in the `app` directory, migrate to the new hooks imported from `next/navigation`. +If used in the `pages` directory, try to update the export to [`next/compat/router`](/docs/pages/api-reference/functions/use-router#the-nextcompatrouter-export). This is the same `useRouter` hook but does not throw this error, intended to be used while migrating from `pages` to `app`. + ## Useful Links - [next-router-mock](https://www.npmjs.com/package/next-router-mock) diff --git a/examples/reproduction-template/package.json b/examples/reproduction-template/package.json index b6cb427956f4a..dda04e8c51342 100644 --- a/examples/reproduction-template/package.json +++ b/examples/reproduction-template/package.json @@ -7,8 +7,8 @@ }, "dependencies": { "next": "canary", - "react": "19.0.0-rc-e740d4b1-20240919", - "react-dom": "19.0.0-rc-e740d4b1-20240919" + "react": "19.0.0-rc-5d19e1c8-20240923", + "react-dom": "19.0.0-rc-5d19e1c8-20240923" }, "devDependencies": { "@types/node": "20.12.12", diff --git a/examples/ssr-caching/README.md b/examples/ssr-caching/README.md index b04b35356032f..3f421222bbfde 100644 --- a/examples/ssr-caching/README.md +++ b/examples/ssr-caching/README.md @@ -1,12 +1,10 @@ # Server-Side Rendering Caching Headers -This example uses [`stale-while-revalidate`](https://web.dev/stale-while-revalidate/) [cache-control headers](https://developer.mozilla.org/docs/Web/HTTP/Headers/Cache-Control) in combination with `getServerSideProps` for server-rendering. +By default, Next.js will cache as much as possible to improve performance and reduce cost. This means routes are statically rendered and data requests are cached unless you opt out. -`pages/index.tsx` uses `getServerSideProps` to forward the request header to the React component, as well as setting a response header. This `cache-control` header uses `stale-while-revalidate` to cache the server response. +This example uses the [`revalidate`](https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-config#revalidate) route segment config option to override the route segment defaults. -`pages/index.tsx` is considered fresh for ten seconds (`s-maxage=10`). If a request is repeated within the next 10 seconds, the previously cached value will still be fresh. If the request is repeated before 59 seconds, the cached value will be stale but still render (`stale-while-revalidate=59`). - -In the background, a revalidation request will be made to populate the cache with a fresh value. If you refresh the page, you will see the new value shown. +Calling the Index Page (`/`) within the specified timeframe (e.g., 10 seconds) will return the cached Page ([Full Route Cache](https://nextjs.org/docs/app/building-your-application/caching#full-route-cache) in this example). ## Deploy your own diff --git a/examples/ssr-caching/app/layout.tsx b/examples/ssr-caching/app/layout.tsx new file mode 100644 index 0000000000000..112756e6bfcdc --- /dev/null +++ b/examples/ssr-caching/app/layout.tsx @@ -0,0 +1,18 @@ +import type { Metadata } from "next"; + +export const metadata: Metadata = { + title: "Create Next App", + description: "Generated by create next app", +}; + +export default function RootLayout({ + children, +}: Readonly<{ + children: React.ReactNode; +}>) { + return ( + + {children} + + ); +} diff --git a/examples/ssr-caching/app/page.tsx b/examples/ssr-caching/app/page.tsx new file mode 100644 index 0000000000000..e06752526ca64 --- /dev/null +++ b/examples/ssr-caching/app/page.tsx @@ -0,0 +1,16 @@ +export const dynamic = "force-dynamic"; + +async function getData() { + return new Date().toISOString(); +} + +export default async function Page() { + const time = await getData(); + + return ( +
+

SSR Caching with Next.js

+ +
+ ); +} diff --git a/examples/ssr-caching/next-env.d.ts b/examples/ssr-caching/next-env.d.ts index a4a7b3f5cfa2f..40c3d68096c27 100644 --- a/examples/ssr-caching/next-env.d.ts +++ b/examples/ssr-caching/next-env.d.ts @@ -2,4 +2,4 @@ /// // NOTE: This file should not be edited -// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information. +// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information. diff --git a/examples/ssr-caching/next.config.mjs b/examples/ssr-caching/next.config.mjs new file mode 100644 index 0000000000000..f699d448bc8f4 --- /dev/null +++ b/examples/ssr-caching/next.config.mjs @@ -0,0 +1,22 @@ +// @ts-check + +/** + * @type {import('next').NextConfig} + */ +const nextConfig = { + async headers() { + return [ + { + source: "/", + headers: [ + { + key: "Cache-Control", + value: "public, s-maxage=10, stale-while-revalidate=59", + }, + ], + }, + ]; + }, +}; + +export default nextConfig; diff --git a/examples/ssr-caching/package.json b/examples/ssr-caching/package.json index be18b903df87a..3c4766aa610da 100644 --- a/examples/ssr-caching/package.json +++ b/examples/ssr-caching/package.json @@ -1,19 +1,19 @@ { "private": true, "scripts": { - "dev": "next", + "dev": "next dev", "build": "next build", "start": "next start" }, "dependencies": { "next": "latest", - "react": "^18.2.0", - "react-dom": "^18.2.0" + "react": "^18.3.1", + "react-dom": "^18.3.1" }, "devDependencies": { - "@types/node": "^18.11.5", - "@types/react": "^18.0.23", - "@types/react-dom": "^18.0.7", - "typescript": "^4.8.4" + "@types/node": "^22.6.1", + "@types/react": "^18.3.9", + "@types/react-dom": "^18.3.0", + "typescript": "^5.6.2" } } diff --git a/examples/ssr-caching/pages/index.tsx b/examples/ssr-caching/pages/index.tsx deleted file mode 100644 index 5a732d9887460..0000000000000 --- a/examples/ssr-caching/pages/index.tsx +++ /dev/null @@ -1,27 +0,0 @@ -import { GetServerSideProps, InferGetServerSidePropsType } from "next"; - -export default function Index({ - time, -}: InferGetServerSidePropsType) { - return ( -
-

SSR Caching with Next.js

- -
- ); -} - -export const getServerSideProps: GetServerSideProps<{ time: string }> = async ({ - res, -}) => { - res.setHeader( - "Cache-Control", - "public, s-maxage=10, stale-while-revalidate=59", - ); - - return { - props: { - time: new Date().toISOString(), - }, - }; -}; diff --git a/examples/ssr-caching/tsconfig.json b/examples/ssr-caching/tsconfig.json index 99710e857874f..bcbb3c230fb79 100644 --- a/examples/ssr-caching/tsconfig.json +++ b/examples/ssr-caching/tsconfig.json @@ -1,20 +1,33 @@ { "compilerOptions": { - "target": "es5", + "target": "ES2017", "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "skipLibCheck": true, "strict": true, - "forceConsistentCasingInFileNames": true, "noEmit": true, "esModuleInterop": true, "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, "jsx": "preserve", - "incremental": true + "incremental": true, + "plugins": [ + { + "name": "next" + } + ], + "paths": { + "@/*": ["./*"] + } }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], + "include": [ + "next-env.d.ts", + "**/*.ts", + "**/*.tsx", + ".next/types/**/*.ts", + "next.config.mjs" + ], "exclude": ["node_modules"] } diff --git a/examples/with-docker-multi-env/docker/development/Dockerfile b/examples/with-docker-multi-env/docker/development/Dockerfile index 764fec08f57b3..f18bc1f09e53c 100644 --- a/examples/with-docker-multi-env/docker/development/Dockerfile +++ b/examples/with-docker-multi-env/docker/development/Dockerfile @@ -48,4 +48,4 @@ EXPOSE 3000 ENV PORT=3000 -CMD HOSTNAME=localhost node server.js +CMD HOSTNAME="0.0.0.0" node server.js diff --git a/examples/with-docker-multi-env/docker/production/Dockerfile b/examples/with-docker-multi-env/docker/production/Dockerfile index 12b3557b62b19..a7727706ae369 100644 --- a/examples/with-docker-multi-env/docker/production/Dockerfile +++ b/examples/with-docker-multi-env/docker/production/Dockerfile @@ -49,4 +49,4 @@ EXPOSE 3000 ENV PORT=3000 -CMD HOSTNAME=localhost node server.js +CMD HOSTNAME="0.0.0.0" node server.js diff --git a/examples/with-docker-multi-env/docker/staging/Dockerfile b/examples/with-docker-multi-env/docker/staging/Dockerfile index 4cd91b0dc2b75..282d3f3c1e189 100644 --- a/examples/with-docker-multi-env/docker/staging/Dockerfile +++ b/examples/with-docker-multi-env/docker/staging/Dockerfile @@ -49,4 +49,4 @@ EXPOSE 3000 ENV PORT=3000 -CMD HOSTNAME=localhost node server.js +CMD HOSTNAME="0.0.0.0" node server.js diff --git a/examples/with-draft-js/.gitignore b/examples/with-draft-js/.gitignore deleted file mode 100644 index fd3dbb571a12a..0000000000000 --- a/examples/with-draft-js/.gitignore +++ /dev/null @@ -1,36 +0,0 @@ -# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. - -# dependencies -/node_modules -/.pnp -.pnp.js -.yarn/install-state.gz - -# testing -/coverage - -# next.js -/.next/ -/out/ - -# production -/build - -# misc -.DS_Store -*.pem - -# debug -npm-debug.log* -yarn-debug.log* -yarn-error.log* - -# local env files -.env*.local - -# vercel -.vercel - -# typescript -*.tsbuildinfo -next-env.d.ts diff --git a/examples/with-draft-js/README.md b/examples/with-draft-js/README.md deleted file mode 100644 index 79a1f2bb6a6ae..0000000000000 --- a/examples/with-draft-js/README.md +++ /dev/null @@ -1,29 +0,0 @@ -# DraftJS Medium editor inspiration - -Have you ever wanted to have an editor like medium.com in your Next.js app? DraftJS is available for SSR, but some plugins like the toolbar are using `window`, which does not work when doing SSR. - -This example aims to provide a fully customizable example of the famous medium editor with DraftJS. The goal was to get it as customizable as possible, and fully working with Next.js without using the react-no-ssr package. - -## Deploy your own - -Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example) or preview live with [StackBlitz](https://stackblitz.com/github/vercel/next.js/tree/canary/examples/with-draft-js) - -[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/vercel/next.js/tree/canary/examples/with-draft-js&project-name=with-draft-js&repository-name=with-draft-js) - -## How to use - -Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init), [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/), or [pnpm](https://pnpm.io) to bootstrap the example: - -```bash -npx create-next-app --example with-draft-js with-draft-js-app -``` - -```bash -yarn create next-app --example with-draft-js with-draft-js-app -``` - -```bash -pnpm create next-app --example with-draft-js with-draft-js-app -``` - -Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). diff --git a/examples/with-draft-js/package.json b/examples/with-draft-js/package.json deleted file mode 100644 index 53c82f07b2871..0000000000000 --- a/examples/with-draft-js/package.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "private": true, - "scripts": { - "dev": "next", - "build": "next build", - "start": "next start" - }, - "dependencies": { - "draft-js": "^0.11.5", - "next": "latest", - "react": "^18.2.0", - "react-dom": "^18.2.0" - } -} diff --git a/examples/with-draft-js/pages/index.js b/examples/with-draft-js/pages/index.js deleted file mode 100644 index 987d2ac469376..0000000000000 --- a/examples/with-draft-js/pages/index.js +++ /dev/null @@ -1,345 +0,0 @@ -import { Component } from "react"; -import { - Editor, - EditorState, - RichUtils, - convertToRaw, - convertFromRaw, -} from "draft-js"; - -const initialData = { - blocks: [ - { - key: "16d0k", - text: "You can edit this text.", - type: "unstyled", - depth: 0, - inlineStyleRanges: [{ offset: 0, length: 23, style: "BOLD" }], - entityRanges: [], - data: {}, - }, - { - key: "98peq", - text: "", - type: "unstyled", - depth: 0, - inlineStyleRanges: [], - entityRanges: [], - data: {}, - }, - { - key: "ecmnc", - text: "Luke Skywalker has vanished. In his absence, the sinister FIRST ORDER has risen from the ashes of the Empire and will not rest until Skywalker, the last Jedi, has been destroyed.", - type: "unstyled", - depth: 0, - inlineStyleRanges: [ - { offset: 0, length: 14, style: "BOLD" }, - { offset: 133, length: 9, style: "BOLD" }, - ], - entityRanges: [], - data: {}, - }, - { - key: "fe2gn", - text: "", - type: "unstyled", - depth: 0, - inlineStyleRanges: [], - entityRanges: [], - data: {}, - }, - { - key: "4481k", - text: "With the support of the REPUBLIC, General Leia Organa leads a brave RESISTANCE. She is desperate to find her brother Luke and gain his help in restoring peace and justice to the galaxy.", - type: "unstyled", - depth: 0, - inlineStyleRanges: [ - { offset: 34, length: 19, style: "BOLD" }, - { offset: 117, length: 4, style: "BOLD" }, - { offset: 68, length: 10, style: "ANYCUSTOMSTYLE" }, - ], - entityRanges: [], - data: {}, - }, - ], - entityMap: {}, -}; - -// Custom overrides for each style -const styleMap = { - CODE: { - backgroundColor: "rgba(0, 0, 0, 0.05)", - fontFamily: '"Inconsolata", "Menlo", "Consolas", monospace', - fontSize: 16, - padding: 4, - }, - BOLD: { - color: "#395296", - fontWeight: "bold", - }, - ANYCUSTOMSTYLE: { - color: "#00e400", - }, -}; - -export default class App extends Component { - constructor(props) { - super(props); - this.state = { - editorState: EditorState.createWithContent(convertFromRaw(initialData)), - showToolbar: false, - windowWidth: 0, - toolbarMeasures: { - w: 0, - h: 0, - }, - selectionMeasures: { - w: 0, - h: 0, - }, - selectionCoordinates: { - x: 0, - y: 0, - }, - toolbarCoordinates: { - x: 0, - y: 0, - }, - showRawData: false, - }; - - this.focus = () => this.editor.focus(); - this.onChange = (editorState) => this.setState({ editorState }); - } - - onClickEditor = () => { - this.focus(); - this.checkSelectedText(); - }; - - // 1- Check if some text is selected - checkSelectedText = () => { - if (typeof window !== "undefined") { - const text = window.getSelection().toString(); - if (text !== "") { - // 1-a Define the selection coordinates - this.setSelectionXY(); - } else { - // Hide the toolbar if nothing is selected - this.setState({ - showToolbar: false, - }); - } - } - }; - - // 2- Identify the selection coordinates - setSelectionXY = () => { - var r = window.getSelection().getRangeAt(0).getBoundingClientRect(); - var relative = document.body.parentNode.getBoundingClientRect(); - // 2-a Set the selection coordinates in the state - this.setState( - { - selectionCoordinates: r, - windowWidth: relative.width, - selectionMeasures: { - w: r.width, - h: r.height, - }, - }, - () => this.showToolbar(), - ); - }; - - // 3- Show the toolbar - showToolbar = () => { - this.setState( - { - showToolbar: true, - }, - () => this.measureToolbar(), - ); - }; - - // 4- The toolbar was hidden until now - measureToolbar = () => { - // 4-a Define the toolbar width and height, as it is now visible - this.setState( - { - toolbarMeasures: { - w: this.elemWidth, - h: this.elemHeight, - }, - }, - () => this.setToolbarXY(), - ); - }; - - // 5- Now that we have all measures, define toolbar coordinates - setToolbarXY = () => { - let coordinates = {}; - - const { - selectionMeasures, - selectionCoordinates, - toolbarMeasures, - windowWidth, - } = this.state; - - const hiddenTop = selectionCoordinates.y < toolbarMeasures.h; - const hiddenRight = - windowWidth - selectionCoordinates.x < toolbarMeasures.w / 2; - const hiddenLeft = selectionCoordinates.x < toolbarMeasures.w / 2; - - const normalX = - selectionCoordinates.x - toolbarMeasures.w / 2 + selectionMeasures.w / 2; - const normalY = selectionCoordinates.y - toolbarMeasures.h; - - const invertedY = selectionCoordinates.y + selectionMeasures.h; - const moveXToLeft = windowWidth - toolbarMeasures.w; - const moveXToRight = 0; - - coordinates = { - x: normalX, - y: normalY, - }; - - if (hiddenTop) { - coordinates.y = invertedY; - } - - if (hiddenRight) { - coordinates.x = moveXToLeft; - } - - if (hiddenLeft) { - coordinates.x = moveXToRight; - } - - this.setState({ - toolbarCoordinates: coordinates, - }); - }; - - handleKeyCommand = (command) => { - const { editorState } = this.state; - const newState = RichUtils.handleKeyCommand(editorState, command); - if (newState) { - this.onChange(newState); - return true; - } - return false; - }; - - toggleToolbar = (inlineStyle) => { - this.onChange( - RichUtils.toggleInlineStyle(this.state.editorState, inlineStyle), - ); - }; - - render() { - const { editorState } = this.state; - // Make sure we're not on the ssr - if (typeof window !== "undefined") { - // Let's stick the toolbar to the selection - // when the window is resized - window.addEventListener("resize", this.checkSelectedText); - } - - const toolbarStyle = { - display: this.state.showToolbar ? "block" : "none", - backgroundColor: "black", - color: "white", - position: "absolute", - left: this.state.toolbarCoordinates.x, - top: this.state.toolbarCoordinates.y, - zIndex: 999, - padding: 10, - }; - return ( -
-
{ - this.elemWidth = elem ? elem.clientWidth : 0; - this.elemHeight = elem ? elem.clientHeight : 0; - }} - style={toolbarStyle} - > - -
-
- { - this.editor = element; - }} - /> -
-
- -
- {this.state.showRawData && - JSON.stringify(convertToRaw(editorState.getCurrentContent()))} -
-
- ); - } -} - -class ToolbarButton extends Component { - constructor() { - super(); - this.onToggle = (e) => { - e.preventDefault(); - this.props.onToggle(this.props.style); - }; - } - - render() { - const buttonStyle = { - padding: 10, - }; - return ( - - {this.props.label} - - ); - } -} - -var toolbarItems = [ - { label: "Bold", style: "BOLD" }, - { label: "Italic", style: "ITALIC" }, - { label: "Underline", style: "UNDERLINE" }, - { label: "Code", style: "CODE" }, - { label: "Surprise", style: "ANYCUSTOMSTYLE" }, -]; - -const ToolBar = (props) => { - var currentStyle = props.editorState.getCurrentInlineStyle(); - return ( -
- {toolbarItems.map((toolbarItem) => ( - - ))} -
- ); -}; diff --git a/examples/with-three-js/components/Bird.js b/examples/with-three-js/app/_components/Bird.js similarity index 100% rename from examples/with-three-js/components/Bird.js rename to examples/with-three-js/app/_components/Bird.js diff --git a/examples/with-three-js/components/Box.js b/examples/with-three-js/app/_components/Box.js similarity index 100% rename from examples/with-three-js/components/Box.js rename to examples/with-three-js/app/_components/Box.js diff --git a/examples/with-three-js/pages/birds.js b/examples/with-three-js/app/birds/page.tsx similarity index 92% rename from examples/with-three-js/pages/birds.js rename to examples/with-three-js/app/birds/page.tsx index 55b39c1103268..323f47b59dc77 100644 --- a/examples/with-three-js/pages/birds.js +++ b/examples/with-three-js/app/birds/page.tsx @@ -1,12 +1,14 @@ +"use client"; + import { Suspense, useMemo } from "react"; import { Canvas } from "@react-three/fiber"; import { OrbitControls } from "@react-three/drei"; -import Bird from "../components/Bird"; +import Bird from "../_components/Bird"; export default function BirdsPage() { const birds = useMemo( () => - new Array(10).fill().map((_, index) => { + new Array(10).fill(undefined).map((_, index) => { const x = (15 + Math.random() * 30) * (Math.round(Math.random()) ? -1 : 1); const y = -10 + Math.random() * 20; diff --git a/examples/with-three-js/pages/boxes.js b/examples/with-three-js/app/boxes/page.tsx similarity index 91% rename from examples/with-three-js/pages/boxes.js rename to examples/with-three-js/app/boxes/page.tsx index 9d7e3dacef4f1..dee340ebfa702 100644 --- a/examples/with-three-js/pages/boxes.js +++ b/examples/with-three-js/app/boxes/page.tsx @@ -1,6 +1,8 @@ +"use client"; + import { Canvas } from "@react-three/fiber"; import { OrbitControls } from "@react-three/drei"; -import Box from "../components/Box"; +import Box from "../_components/Box"; export default function BoxesPage() { return ( diff --git a/examples/with-three-js/app/layout.tsx b/examples/with-three-js/app/layout.tsx new file mode 100644 index 0000000000000..e75547f641947 --- /dev/null +++ b/examples/with-three-js/app/layout.tsx @@ -0,0 +1,18 @@ +import "../styles/index.css"; + +export const metadata = { + title: "Next.js", + description: "Generated by Next.js", +}; + +export default function RootLayout({ + children, +}: { + children: React.ReactNode; +}) { + return ( + + {children} + + ); +} diff --git a/examples/with-three-js/pages/index.js b/examples/with-three-js/app/page.tsx similarity index 82% rename from examples/with-three-js/pages/index.js rename to examples/with-three-js/app/page.tsx index 704d0ccd37a25..0ff3ad3bcec5a 100644 --- a/examples/with-three-js/pages/index.js +++ b/examples/with-three-js/app/page.tsx @@ -1,6 +1,6 @@ import Link from "next/link"; -export default function IndexPage() { +export default function Home() { return (
Birds Example diff --git a/examples/with-three-js/package.json b/examples/with-three-js/package.json index db006a37e7de5..9555bb1487f0b 100644 --- a/examples/with-three-js/package.json +++ b/examples/with-three-js/package.json @@ -6,11 +6,17 @@ "start": "next start" }, "dependencies": { - "@react-three/drei": "9.3.4", - "@react-three/fiber": "8.0.10", + "@react-three/drei": "^9.112.1", + "@react-three/fiber": "^8.17.7", "next": "latest", - "react": "^18.0.0", - "react-dom": "^18.0.0", - "three": "0.139.2" + "react": "^18.3.1", + "react-dom": "^18.3.1", + "three": "^0.168.0" + }, + "devDependencies": { + "@types/node": "^22.5.5", + "@types/react": "^18.3.8", + "@types/react-dom": "^18.3.0", + "typescript": "^5.6.2" } } diff --git a/examples/with-three-js/pages/_app.js b/examples/with-three-js/pages/_app.js deleted file mode 100644 index c58e9eefb5292..0000000000000 --- a/examples/with-three-js/pages/_app.js +++ /dev/null @@ -1,7 +0,0 @@ -import "./index.css"; - -function MyApp({ Component, pageProps }) { - return ; -} - -export default MyApp; diff --git a/examples/with-three-js/pages/index.css b/examples/with-three-js/styles/index.css similarity index 100% rename from examples/with-three-js/pages/index.css rename to examples/with-three-js/styles/index.css diff --git a/examples/with-vercel-fetch/tsconfig.json b/examples/with-three-js/tsconfig.json similarity index 55% rename from examples/with-vercel-fetch/tsconfig.json rename to examples/with-three-js/tsconfig.json index a739cb1e0dce7..d8b93235f205e 100644 --- a/examples/with-vercel-fetch/tsconfig.json +++ b/examples/with-three-js/tsconfig.json @@ -1,20 +1,27 @@ { "compilerOptions": { - "target": "es5", + "target": "ES2017", "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "skipLibCheck": true, "strict": true, - "forceConsistentCasingInFileNames": true, "noEmit": true, "esModuleInterop": true, "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, "jsx": "preserve", - "incremental": true + "incremental": true, + "plugins": [ + { + "name": "next" + } + ], + "paths": { + "@/*": ["./*"] + } }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "github.d.ts"], + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], "exclude": ["node_modules"] } diff --git a/examples/with-vercel-fetch/.gitignore b/examples/with-vercel-fetch/.gitignore deleted file mode 100644 index fd3dbb571a12a..0000000000000 --- a/examples/with-vercel-fetch/.gitignore +++ /dev/null @@ -1,36 +0,0 @@ -# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. - -# dependencies -/node_modules -/.pnp -.pnp.js -.yarn/install-state.gz - -# testing -/coverage - -# next.js -/.next/ -/out/ - -# production -/build - -# misc -.DS_Store -*.pem - -# debug -npm-debug.log* -yarn-debug.log* -yarn-error.log* - -# local env files -.env*.local - -# vercel -.vercel - -# typescript -*.tsbuildinfo -next-env.d.ts diff --git a/examples/with-vercel-fetch/README.md b/examples/with-vercel-fetch/README.md deleted file mode 100644 index d229f0b721a28..0000000000000 --- a/examples/with-vercel-fetch/README.md +++ /dev/null @@ -1,25 +0,0 @@ -# @vercel/fetch example - -This example shows how to use [`@vercel/fetch`](https://www.npmjs.com/package/@vercel/fetch) in a Next.js application. - -## Deploy your own - -Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example) or preview live with [StackBlitz](https://stackblitz.com/github/vercel/next.js/tree/canary/examples/with-vercel-fetch) - -[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/vercel/next.js/tree/canary/examples/with-vercel-fetch&project-name=with-vercel-fetch&repository-name=with-vercel-fetch) - -## How to use - -Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init), [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/), or [pnpm](https://pnpm.io) to bootstrap the example: - -```bash -npx create-next-app --example with-vercel-fetch with-vercel-fetch-app -``` - -```bash -yarn create next-app --example with-vercel-fetch with-vercel-fetch-app -``` - -```bash -pnpm create next-app --example with-vercel-fetch with-vercel-fetch-app -``` diff --git a/examples/with-vercel-fetch/github.d.ts b/examples/with-vercel-fetch/github.d.ts deleted file mode 100644 index 40f39bd2fab43..0000000000000 --- a/examples/with-vercel-fetch/github.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -// For simplicity we are creating our own types here. -// If you want the full types check out: -// https://github.com/octokit/openapi-types.ts -export type Repository = { - id: number; - name: string; - full_name: string; - stargazers_count: number; - private: boolean; -} & Record; diff --git a/examples/with-vercel-fetch/next-env.d.ts b/examples/with-vercel-fetch/next-env.d.ts deleted file mode 100644 index a4a7b3f5cfa2f..0000000000000 --- a/examples/with-vercel-fetch/next-env.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -/// -/// - -// NOTE: This file should not be edited -// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information. diff --git a/examples/with-vercel-fetch/package.json b/examples/with-vercel-fetch/package.json deleted file mode 100644 index 90def9ce60fa7..0000000000000 --- a/examples/with-vercel-fetch/package.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "private": true, - "scripts": { - "dev": "next", - "build": "next build", - "start": "next start" - }, - "dependencies": { - "@vercel/fetch": "^6.2.0", - "next": "latest", - "react": "^18.2.0", - "react-dom": "^18.2.0" - }, - "devDependencies": { - "@types/node": "^18.11.9", - "@types/react": "^18.0.25", - "@types/react-dom": "^18.0.9", - "typescript": "^4.9.3" - } -} diff --git a/examples/with-vercel-fetch/pages/index.tsx b/examples/with-vercel-fetch/pages/index.tsx deleted file mode 100644 index 17209eed5b2c5..0000000000000 --- a/examples/with-vercel-fetch/pages/index.tsx +++ /dev/null @@ -1,21 +0,0 @@ -import type { InferGetStaticPropsType } from "next"; -import type { Repository } from "../github"; -import createFetch from "@vercel/fetch"; - -export async function getStaticProps() { - const fetch = createFetch(); - const res = await fetch("https://api.github.com/repos/vercel/next.js"); - const repo = (await res.json()) as Repository; - - return { props: { stars: repo.stargazers_count } }; -} - -export default function HomePage({ - stars, -}: InferGetStaticPropsType) { - return ( -
-

Next.js has {stars} ⭐️

-
- ); -} diff --git a/lerna.json b/lerna.json index 07567e3399458..1aa1b227198b3 100644 --- a/lerna.json +++ b/lerna.json @@ -16,5 +16,5 @@ "registry": "https://registry.npmjs.org/" } }, - "version": "15.0.0-canary.160" + "version": "15.0.0-canary.171" } diff --git a/package.json b/package.json index 015c55aecf06c..d680f5ad29c08 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,8 @@ "update-google-fonts": "node ./scripts/update-google-fonts.js", "patch-next": "node scripts/patch-next.cjs", "unpack-next": "node scripts/unpack-next.cjs", - "swc-build-native": "pnpm --filter=@next/swc build-native", + "swc-build-native": "node scripts/build-native.cjs", + "swc-build-wasm": "node scripts/build-wasm.cjs", "sweep": "node scripts/sweep.cjs" }, "devDependencies": { @@ -101,6 +102,7 @@ "@swc/core": "1.6.13", "@swc/helpers": "0.5.13", "@swc/types": "0.1.7", + "@taskr/esnext": "1.1.0", "@testing-library/jest-dom": "6.1.2", "@testing-library/react": "^15.0.5", "@types/busboy": "1.5.3", @@ -206,19 +208,19 @@ "pretty-bytes": "5.3.0", "pretty-ms": "7.0.0", "random-seed": "0.3.0", - "react": "19.0.0-rc-e740d4b1-20240919", + "react": "19.0.0-rc-5d19e1c8-20240923", "react-17": "npm:react@17.0.2", - "react-builtin": "npm:react@19.0.0-rc-e740d4b1-20240919", - "react-dom": "19.0.0-rc-e740d4b1-20240919", + "react-builtin": "npm:react@19.0.0-rc-5d19e1c8-20240923", + "react-dom": "19.0.0-rc-5d19e1c8-20240923", "react-dom-17": "npm:react-dom@17.0.2", - "react-dom-builtin": "npm:react-dom@19.0.0-rc-e740d4b1-20240919", - "react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-e740d4b1-20240919", - "react-experimental-builtin": "npm:react@0.0.0-experimental-e740d4b1-20240919", - "react-is-builtin": "npm:react-is@19.0.0-rc-e740d4b1-20240919", - "react-server-dom-turbopack": "19.0.0-rc-e740d4b1-20240919", - "react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-e740d4b1-20240919", - "react-server-dom-webpack": "19.0.0-rc-e740d4b1-20240919", - "react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-e740d4b1-20240919", + "react-dom-builtin": "npm:react-dom@19.0.0-rc-5d19e1c8-20240923", + "react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-5d19e1c8-20240923", + "react-experimental-builtin": "npm:react@0.0.0-experimental-5d19e1c8-20240923", + "react-is-builtin": "npm:react-is@19.0.0-rc-5d19e1c8-20240923", + "react-server-dom-turbopack": "19.0.0-rc-5d19e1c8-20240923", + "react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-5d19e1c8-20240923", + "react-server-dom-webpack": "19.0.0-rc-5d19e1c8-20240923", + "react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-5d19e1c8-20240923", "react-ssr-prepass": "1.0.8", "react-virtualized": "9.22.3", "relay-compiler": "13.0.2", @@ -228,8 +230,8 @@ "resolve-from": "5.0.0", "sass": "1.54.0", "satori": "0.10.9", - "scheduler-builtin": "npm:scheduler@0.25.0-rc-e740d4b1-20240919", - "scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-e740d4b1-20240919", + "scheduler-builtin": "npm:scheduler@0.25.0-rc-5d19e1c8-20240923", + "scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-5d19e1c8-20240923", "seedrandom": "3.0.5", "semver": "7.3.7", "shell-quote": "1.7.3", @@ -269,10 +271,10 @@ "@babel/traverse": "7.22.5", "@types/react": "npm:types-react@19.0.0-rc.0", "@types/react-dom": "npm:types-react-dom@19.0.0-rc.0", - "react": "19.0.0-rc-e740d4b1-20240919", - "react-dom": "19.0.0-rc-e740d4b1-20240919", - "react-is": "19.0.0-rc-e740d4b1-20240919", - "scheduler": "0.25.0-rc-e740d4b1-20240919" + "react": "19.0.0-rc-5d19e1c8-20240923", + "react-dom": "19.0.0-rc-5d19e1c8-20240923", + "react-is": "19.0.0-rc-5d19e1c8-20240923", + "scheduler": "0.25.0-rc-5d19e1c8-20240923" }, "patchedDependencies": { "webpack-sources@3.2.3": "patches/webpack-sources@3.2.3.patch" diff --git a/packages/create-next-app/package.json b/packages/create-next-app/package.json index f44349130db7c..54c9b508b0000 100644 --- a/packages/create-next-app/package.json +++ b/packages/create-next-app/package.json @@ -1,6 +1,6 @@ { "name": "create-next-app", - "version": "15.0.0-canary.160", + "version": "15.0.0-canary.171", "keywords": [ "react", "next", diff --git a/packages/create-next-app/templates/index.ts b/packages/create-next-app/templates/index.ts index d9753a2157010..6e91c597690bb 100644 --- a/packages/create-next-app/templates/index.ts +++ b/packages/create-next-app/templates/index.ts @@ -13,7 +13,7 @@ import { GetTemplateFileArgs, InstallTemplateArgs } from "./types"; // Do not rename or format. sync-react script relies on this line. // prettier-ignore -const nextjsReactPeerVersion = "19.0.0-rc-e740d4b1-20240919"; +const nextjsReactPeerVersion = "19.0.0-rc-5d19e1c8-20240923"; /** * Get the file path for a given file in a template, e.g. "next.config.js". diff --git a/packages/eslint-config-next/package.json b/packages/eslint-config-next/package.json index 64ca53ac25ea9..91ab34d4439e9 100644 --- a/packages/eslint-config-next/package.json +++ b/packages/eslint-config-next/package.json @@ -1,6 +1,6 @@ { "name": "eslint-config-next", - "version": "15.0.0-canary.160", + "version": "15.0.0-canary.171", "description": "ESLint configuration used by Next.js.", "main": "index.js", "license": "MIT", @@ -10,7 +10,7 @@ }, "homepage": "https://nextjs.org/docs/app/building-your-application/configuring/eslint#eslint-config", "dependencies": { - "@next/eslint-plugin-next": "15.0.0-canary.160", + "@next/eslint-plugin-next": "15.0.0-canary.171", "@rushstack/eslint-patch": "^1.3.3", "@typescript-eslint/eslint-plugin": "^5.4.2 || ^6.0.0 || ^7.0.0 || ^8.0.0", "@typescript-eslint/parser": "^5.4.2 || ^6.0.0 || ^7.0.0 || ^8.0.0", diff --git a/packages/eslint-plugin-next/package.json b/packages/eslint-plugin-next/package.json index edf64f0ff0e7c..c63db88e6ed2a 100644 --- a/packages/eslint-plugin-next/package.json +++ b/packages/eslint-plugin-next/package.json @@ -1,6 +1,6 @@ { "name": "@next/eslint-plugin-next", - "version": "15.0.0-canary.160", + "version": "15.0.0-canary.171", "description": "ESLint plugin for Next.js.", "main": "dist/index.js", "license": "MIT", diff --git a/packages/font/package.json b/packages/font/package.json index 2fc5a7006addd..e0a218bfa3475 100644 --- a/packages/font/package.json +++ b/packages/font/package.json @@ -1,7 +1,7 @@ { "name": "@next/font", "private": true, - "version": "15.0.0-canary.160", + "version": "15.0.0-canary.171", "repository": { "url": "vercel/next.js", "directory": "packages/font" diff --git a/packages/font/src/google/font-data.json b/packages/font/src/google/font-data.json index 1f1194d58a903..be595e1ed7b5f 100644 --- a/packages/font/src/google/font-data.json +++ b/packages/font/src/google/font-data.json @@ -3293,6 +3293,32 @@ ], "subsets": ["devanagari", "greek", "greek-ext", "latin", "latin-ext"] }, + "Edu AU VIC WA NT Dots": { + "weights": ["400", "500", "600", "700", "variable"], + "styles": ["normal"], + "axes": [ + { + "tag": "wght", + "min": 400, + "max": 700, + "defaultValue": 400 + } + ], + "subsets": ["latin", "latin-ext"] + }, + "Edu AU VIC WA NT Guides": { + "weights": ["400", "500", "600", "700", "variable"], + "styles": ["normal"], + "axes": [ + { + "tag": "wght", + "min": 400, + "max": 700, + "defaultValue": 400 + } + ], + "subsets": ["latin", "latin-ext"] + }, "Edu AU VIC WA NT Hand": { "weights": ["400", "500", "600", "700", "variable"], "styles": ["normal"], diff --git a/packages/font/src/google/index.ts b/packages/font/src/google/index.ts index 0522418bd5eb6..e014c9a02fef6 100644 --- a/packages/font/src/google/index.ts +++ b/packages/font/src/google/index.ts @@ -5810,6 +5810,42 @@ export declare function Eczar< adjustFontFallback?: boolean subsets?: Array<'devanagari' | 'greek' | 'greek-ext' | 'latin' | 'latin-ext'> }): T extends undefined ? NextFont : NextFontWithVariable +export declare function Edu_AU_VIC_WA_NT_Dots< + T extends CssVariable | undefined = undefined, +>(options?: { + weight?: + | '400' + | '500' + | '600' + | '700' + | 'variable' + | Array<'400' | '500' | '600' | '700'> + style?: 'normal' | Array<'normal'> + display?: Display + variable?: T + preload?: boolean + fallback?: string[] + adjustFontFallback?: boolean + subsets?: Array<'latin' | 'latin-ext'> +}): T extends undefined ? NextFont : NextFontWithVariable +export declare function Edu_AU_VIC_WA_NT_Guides< + T extends CssVariable | undefined = undefined, +>(options?: { + weight?: + | '400' + | '500' + | '600' + | '700' + | 'variable' + | Array<'400' | '500' | '600' | '700'> + style?: 'normal' | Array<'normal'> + display?: Display + variable?: T + preload?: boolean + fallback?: string[] + adjustFontFallback?: boolean + subsets?: Array<'latin' | 'latin-ext'> +}): T extends undefined ? NextFont : NextFontWithVariable export declare function Edu_AU_VIC_WA_NT_Hand< T extends CssVariable | undefined = undefined, >(options?: { diff --git a/packages/next-bundle-analyzer/package.json b/packages/next-bundle-analyzer/package.json index 9543bfe4d2fa8..3003ac4695230 100644 --- a/packages/next-bundle-analyzer/package.json +++ b/packages/next-bundle-analyzer/package.json @@ -1,6 +1,6 @@ { "name": "@next/bundle-analyzer", - "version": "15.0.0-canary.160", + "version": "15.0.0-canary.171", "main": "index.js", "types": "index.d.ts", "license": "MIT", diff --git a/packages/next-codemod/bin/cli.ts b/packages/next-codemod/bin/cli.ts deleted file mode 100644 index 6d2abd46a6b58..0000000000000 --- a/packages/next-codemod/bin/cli.ts +++ /dev/null @@ -1,250 +0,0 @@ -/** - * Copyright 2015-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - * - */ -// Based on https://github.com/reactjs/react-codemod/blob/dd8671c9a470a2c342b221ec903c574cf31e9f57/bin/cli.js -// @next/codemod optional-name-of-transform optional/path/to/src [...options] - -import globby from 'globby' -import inquirer from 'inquirer' -import meow from 'meow' -import path from 'path' -import execa from 'execa' -import { yellow } from 'picocolors' -import isGitClean from 'is-git-clean' -import { uninstallPackage } from '../lib/uninstall-package' - -export const jscodeshiftExecutable = require.resolve('.bin/jscodeshift') -export const transformerDirectory = path.join(__dirname, '../', 'transforms') - -export function checkGitStatus(force) { - let clean = false - let errorMessage = 'Unable to determine if git directory is clean' - try { - clean = isGitClean.sync(process.cwd()) - errorMessage = 'Git directory is not clean' - } catch (err) { - if (err && err.stderr && err.stderr.includes('Not a git repository')) { - clean = true - } - } - - if (!clean) { - if (force) { - console.log(`WARNING: ${errorMessage}. Forcibly continuing.`) - } else { - console.log('Thank you for using @next/codemod!') - console.log( - yellow( - '\nBut before we continue, please stash or commit your git changes.' - ) - ) - console.log( - '\nYou may use the --force flag to override this safety check.' - ) - process.exit(1) - } - } -} - -export function runTransform({ files, flags, transformer }) { - const transformerPath = path.join(transformerDirectory, `${transformer}.js`) - - if (transformer === 'cra-to-next') { - // cra-to-next transform doesn't use jscodeshift directly - return require(transformerPath).default(files, flags) - } - - let args = [] - - const { dry, print, runInBand } = flags - - if (dry) { - args.push('--dry') - } - if (print) { - args.push('--print') - } - if (runInBand) { - args.push('--run-in-band') - } - - args.push('--verbose=2') - - args.push('--ignore-pattern=**/node_modules/**') - args.push('--ignore-pattern=**/.next/**') - - args.push('--extensions=tsx,ts,jsx,js') - - args = args.concat(['--transform', transformerPath]) - - if (flags.jscodeshift) { - args = args.concat(flags.jscodeshift) - } - - args = args.concat(files) - - console.log(`Executing command: jscodeshift ${args.join(' ')}`) - - const result = execa.sync(jscodeshiftExecutable, args, { - stdio: 'inherit', - stripFinalNewline: false, - }) - - if (result.failed) { - throw new Error(`jscodeshift exited with code ${result.exitCode}`) - } - - if (!dry && transformer === 'built-in-next-font') { - console.log('Uninstalling `@next/font`') - try { - uninstallPackage('@next/font') - } catch { - console.error( - "Couldn't uninstall `@next/font`, please uninstall it manually" - ) - } - } -} - -const TRANSFORMER_INQUIRER_CHOICES = [ - { - name: 'name-default-component: Transforms anonymous components into named components to make sure they work with Fast Refresh', - value: 'name-default-component', - }, - { - name: 'add-missing-react-import: Transforms files that do not import `React` to include the import in order for the new React JSX transform', - value: 'add-missing-react-import', - }, - { - name: 'withamp-to-config: Transforms the withAmp HOC into Next.js 9 page configuration', - value: 'withamp-to-config', - }, - { - name: 'url-to-withrouter: Transforms the deprecated automatically injected url property on top level pages to using withRouter', - value: 'url-to-withrouter', - }, - { - name: 'cra-to-next (experimental): automatically migrates a Create React App project to Next.js', - value: 'cra-to-next', - }, - { - name: 'new-link: Ensures your usage is backwards compatible.', - value: 'new-link', - }, - { - name: 'next-og-import: Transforms imports from `next/server` to `next/og` for usage of Dynamic OG Image Generation.', - value: 'next-og-import', - }, - { - name: 'metadata-to-viewport-export: Migrates certain viewport related metadata from the `metadata` export to a new `viewport` export.', - value: 'metadata-to-viewport-export', - }, - { - name: 'next-dynamic-access-named-export: Transforms dynamic imports that return the named export itself to a module like object.', - value: 'next-dynamic-access-named-export', - }, - { - name: 'next-image-to-legacy-image: safely migrate Next.js 10, 11, 12 applications importing `next/image` to the renamed `next/legacy/image` import in Next.js 13', - value: 'next-image-to-legacy-image', - }, - { - name: 'next-image-experimental (experimental): dangerously migrates from `next/legacy/image` to the new `next/image` by adding inline styles and removing unused props', - value: 'next-image-experimental', - }, - { - name: 'built-in-next-font: Uninstall `@next/font` and transform imports to `next/font`', - value: 'built-in-next-font', - }, -] - -function expandFilePathsIfNeeded(filesBeforeExpansion) { - const shouldExpandFiles = filesBeforeExpansion.some((file) => - file.includes('*') - ) - return shouldExpandFiles - ? globby.sync(filesBeforeExpansion) - : filesBeforeExpansion -} - -export function run() { - const cli = meow({ - description: 'Codemods for updating Next.js apps.', - help: ` - Usage - $ npx @next/codemod <...options> - transform One of the choices from https://github.com/vercel/next.js/tree/canary/packages/next-codemod - path Files or directory to transform. Can be a glob like pages/**.js - Options - --force Bypass Git safety checks and forcibly run codemods - --dry Dry run (no changes are made to files) - --print Print transformed files to your terminal - --jscodeshift (Advanced) Pass options directly to jscodeshift - `, - flags: { - boolean: ['force', 'dry', 'print', 'help'], - string: ['_'], - alias: { - h: 'help', - }, - }, - } as meow.Options) - - if (!cli.flags.dry) { - checkGitStatus(cli.flags.force) - } - - if ( - cli.input[0] && - !TRANSFORMER_INQUIRER_CHOICES.find((x) => x.value === cli.input[0]) - ) { - console.error('Invalid transform choice, pick one of:') - console.error( - TRANSFORMER_INQUIRER_CHOICES.map((x) => '- ' + x.value).join('\n') - ) - process.exit(1) - } - - inquirer - .prompt([ - { - type: 'input', - name: 'files', - message: 'On which files or directory should the codemods be applied?', - when: !cli.input[1], - default: '.', - // validate: () => - filter: (files) => files.trim(), - }, - { - type: 'list', - name: 'transformer', - message: 'Which transform would you like to apply?', - when: !cli.input[0], - pageSize: TRANSFORMER_INQUIRER_CHOICES.length, - choices: TRANSFORMER_INQUIRER_CHOICES, - }, - ]) - .then((answers) => { - const { files, transformer } = answers - - const filesBeforeExpansion = cli.input[1] || files - const filesExpanded = expandFilePathsIfNeeded([filesBeforeExpansion]) - - const selectedTransformer = cli.input[0] || transformer - - if (!filesExpanded.length) { - console.log(`No files found matching ${filesBeforeExpansion.join(' ')}`) - return null - } - - return runTransform({ - files: filesExpanded, - flags: cli.flags, - transformer: selectedTransformer, - }) - }) -} diff --git a/packages/next-codemod/bin/next-codemod.ts b/packages/next-codemod/bin/next-codemod.ts index 8268a4de769b0..d47e596a481c5 100644 --- a/packages/next-codemod/bin/next-codemod.ts +++ b/packages/next-codemod/bin/next-codemod.ts @@ -1,5 +1,4 @@ #!/usr/bin/env node - /** * Copyright 2015-present, Facebook, Inc. * @@ -7,7 +6,47 @@ * LICENSE file in the root directory of this source tree. * */ -// Based on https://github.com/reactjs/react-codemod/blob/dd8671c9a470a2c342b221ec903c574cf31e9f57/bin/react-codemod.js -// next-codemod optional-name-of-transform optional/path/to/src [...options] +// Based on https://github.com/reactjs/react-codemod/blob/dd8671c9a470a2c342b221ec903c574cf31e9f57/bin/cli.js +// @next/codemod optional-name-of-transform optional/path/to/src [...options] + +import { Command } from 'commander' +import { runUpgrade } from './upgrade' +import { runTransform } from './transform' + +const packageJson = require('../package.json') +const program = new Command(packageJson.name) + .description('Codemods for updating Next.js apps.') + .version( + packageJson.version, + '-v, --version', + 'Output the current version of @next/codemod.' + ) + .argument( + '[codemod]', + 'Codemod slug to run. See "https://github.com/vercel/next.js/tree/canary/packages/next-codemod".' + ) + .argument( + '[source]', + 'Path to source files or directory to transform including glob patterns.' + ) + .usage('[codemod] [source] [options]') + .helpOption('-h, --help', 'Display this help message.') + .option('-f, --force', 'Bypass Git safety checks and forcibly run codemods') + .option('-d, --dry', 'Dry run (no changes are made to files)') + .option('-p, --print', 'Print transformed files to your terminal') + .option( + '-j, --jscodeshift', + '(Advanced) Pass options directly to jscodeshift' + ) + .action(runTransform) + .allowUnknownOption() + +program + .command('upgrade') + .description( + 'Upgrade Next.js apps to desired versions with a single command.' + ) + .usage('[options]') + .action(runUpgrade) -require('./cli').run() +program.parse(process.argv) diff --git a/packages/next-codemod/bin/transform.ts b/packages/next-codemod/bin/transform.ts new file mode 100644 index 0000000000000..4ef9f14017c87 --- /dev/null +++ b/packages/next-codemod/bin/transform.ts @@ -0,0 +1,133 @@ +import execa from 'execa' +import globby from 'globby' +import prompts from 'prompts' +import { join } from 'node:path' +import { installPackage, uninstallPackage } from '../lib/handle-package' +import { checkGitStatus, TRANSFORMER_INQUIRER_CHOICES } from '../lib/utils' + +function expandFilePathsIfNeeded(filesBeforeExpansion) { + const shouldExpandFiles = filesBeforeExpansion.some((file) => + file.includes('*') + ) + return shouldExpandFiles + ? globby.sync(filesBeforeExpansion) + : filesBeforeExpansion +} + +export const jscodeshiftExecutable = require.resolve('.bin/jscodeshift') +export const transformerDirectory = join(__dirname, '../', 'transforms') + +export async function runTransform( + transform: string, + path: string, + options: any +) { + let transformer = transform + let directory = path + + if (!options.dry) { + checkGitStatus(options.force) + } + + if ( + transform && + !TRANSFORMER_INQUIRER_CHOICES.find((x) => x.value === transform) + ) { + console.error('Invalid transform choice, pick one of:') + console.error( + TRANSFORMER_INQUIRER_CHOICES.map((x) => '- ' + x.value).join('\n') + ) + process.exit(1) + } + + if (!path) { + const res = await prompts({ + type: 'text', + name: 'path', + message: 'On which files or directory should the codemods be applied?', + default: '.', + }) + + directory = res.path + } + if (!transform) { + const res = await prompts({ + type: 'select', + name: 'transformer', + message: 'Which transform would you like to apply?', + choices: TRANSFORMER_INQUIRER_CHOICES, + }) + + transformer = res.transformer + } + + const filesExpanded = expandFilePathsIfNeeded([directory]) + + if (!filesExpanded.length) { + console.log(`No files found matching "${directory}"`) + return null + } + + const transformerPath = join(transformerDirectory, `${transformer}.js`) + + if (transformer === 'cra-to-next') { + // cra-to-next transform doesn't use jscodeshift directly + return require(transformerPath).default(filesExpanded, options) + } + + let args = [] + + const { dry, print, runInBand, jscodeshift } = options + + if (dry) { + args.push('--dry') + } + if (print) { + args.push('--print') + } + if (runInBand) { + args.push('--run-in-band') + } + + args.push('--verbose=2') + + args.push('--ignore-pattern=**/node_modules/**') + args.push('--ignore-pattern=**/.next/**') + + args.push('--extensions=tsx,ts,jsx,js') + + args = args.concat(['--transform', transformerPath]) + + if (jscodeshift) { + args = args.concat(jscodeshift) + } + + args = args.concat(filesExpanded) + + console.log(`Executing command: jscodeshift ${args.join(' ')}`) + + const result = execa.sync(jscodeshiftExecutable, args, { + stdio: 'inherit', + stripFinalNewline: false, + }) + + if (result.failed) { + throw new Error(`jscodeshift exited with code ${result.exitCode}`) + } + + if (!dry && transformer === 'built-in-next-font') { + console.log('Uninstalling `@next/font`') + try { + uninstallPackage('@next/font') + } catch { + console.error( + "Couldn't uninstall `@next/font`, please uninstall it manually" + ) + } + } + + if (!dry && transformer === 'next-request-geo-ip') { + console.log('Installing `@vercel/functions`...') + installPackage('@vercel/functions') + } +} diff --git a/packages/next-codemod/bin/upgrade.ts b/packages/next-codemod/bin/upgrade.ts new file mode 100644 index 0000000000000..c470fd8059d57 --- /dev/null +++ b/packages/next-codemod/bin/upgrade.ts @@ -0,0 +1,321 @@ +import prompts from 'prompts' +import fs from 'fs' +import { execSync } from 'child_process' +import path from 'path' +import { compareVersions } from 'compare-versions' +import chalk from 'chalk' +import { availableCodemods } from '../lib/codemods' +import { getPkgManager, installPackage } from '../lib/handle-package' + +type StandardVersionSpecifier = 'canary' | 'rc' | 'latest' +type CustomVersionSpecifier = string +type VersionSpecifier = StandardVersionSpecifier | CustomVersionSpecifier +type PackageManager = 'pnpm' | 'npm' | 'yarn' | 'bun' + +interface Response { + version: StandardVersionSpecifier +} + +export async function runUpgrade(): Promise { + const appPackageJsonPath = path.resolve(process.cwd(), 'package.json') + let appPackageJson = JSON.parse(fs.readFileSync(appPackageJsonPath, 'utf8')) + + await detectWorkspace(appPackageJson) + + let targetNextPackageJson + let targetVersionSpecifier: VersionSpecifier = '' + + const shortcutVersion = process.argv[2]?.replace('@', '') + if (shortcutVersion) { + const res = await fetch( + `https://registry.npmjs.org/next/${shortcutVersion}` + ) + if (res.status === 200) { + targetNextPackageJson = await res.json() + targetVersionSpecifier = targetNextPackageJson.version + } else { + console.error( + `${chalk.yellow('Next.js ' + shortcutVersion)} does not exist. Check available versions at ${chalk.underline('https://www.npmjs.com/package/next?activeTab=versions')}, or choose one from below\n` + ) + } + } + + const installedNextVersion = await getInstalledNextVersion() + + if (!targetNextPackageJson) { + let nextPackageJson: { [key: string]: any } = {} + try { + const resCanary = await fetch(`https://registry.npmjs.org/next/canary`) + nextPackageJson['canary'] = await resCanary.json() + + const resRc = await fetch(`https://registry.npmjs.org/next/rc`) + nextPackageJson['rc'] = await resRc.json() + + const resLatest = await fetch(`https://registry.npmjs.org/next/latest`) + nextPackageJson['latest'] = await resLatest.json() + } catch (error) { + console.error('Failed to fetch versions from npm registry.') + return + } + + let showRc = true + if (nextPackageJson['latest'].version && nextPackageJson['rc'].version) { + showRc = + compareVersions( + nextPackageJson['rc'].version, + nextPackageJson['latest'].version + ) === 1 + } + + const choices = [ + { + title: 'Canary', + value: 'canary', + description: `Experimental version with latest features (${nextPackageJson['canary'].version})`, + }, + ] + if (showRc) { + choices.push({ + title: 'Release Candidate', + value: 'rc', + description: `Pre-release version for final testing (${nextPackageJson['rc'].version})`, + }) + } + choices.push({ + title: 'Stable', + value: 'latest', + description: `Production-ready release (${nextPackageJson['latest'].version})`, + }) + + if (installedNextVersion) { + console.log( + `You are currently using ${chalk.blue('Next.js ' + installedNextVersion)}` + ) + } + + const initialVersionSpecifierIdx = await getVersionSpecifierIdx( + installedNextVersion, + showRc + ) + + const response: Response = await prompts( + { + type: 'select', + name: 'version', + message: 'What Next.js version do you want to upgrade to?', + choices: choices, + initial: initialVersionSpecifierIdx, + }, + { onCancel: () => process.exit(0) } + ) + + targetNextPackageJson = nextPackageJson[response.version] + targetVersionSpecifier = response.version + } + + const targetNextVersion = targetNextPackageJson.version + + if ( + targetNextVersion && + compareVersions(targetNextVersion, '15.0.0-canary') >= 0 + ) { + await suggestTurbopack(appPackageJson) + } + + fs.writeFileSync(appPackageJsonPath, JSON.stringify(appPackageJson, null, 2)) + + const packageManager: PackageManager = getPkgManager(process.cwd()) + const nextDependency = `next@${targetNextVersion}` + const reactDependencies = [ + `react@${targetNextPackageJson.peerDependencies['react']}`, + `@types/react@${targetNextPackageJson.devDependencies['@types/react']}`, + `react-dom@${targetNextPackageJson.peerDependencies['react-dom']}`, + `@types/react-dom@${targetNextPackageJson.devDependencies['@types/react-dom']}`, + ] + + installPackage([nextDependency, ...reactDependencies], packageManager) + + console.log( + `Upgrading your project to ${chalk.blue('Next.js ' + targetVersionSpecifier)}...\n` + ) + + await suggestCodemods(installedNextVersion, targetNextVersion) + + console.log( + `\n${chalk.green('✔')} Your Next.js project has been upgraded successfully. ${chalk.bold('Time to ship! 🚢')}` + ) +} + +async function detectWorkspace(appPackageJson: any): Promise { + let isWorkspace = + appPackageJson.workspaces || + fs.existsSync(path.resolve(process.cwd(), 'pnpm-workspace.yaml')) + + if (!isWorkspace) return + + console.log( + `${chalk.red('⚠️')} You seem to be in the root of a monorepo. ${chalk.blue('@next/upgrade')} should be run in a specific app directory within the monorepo.` + ) + + const response = await prompts( + { + type: 'confirm', + name: 'value', + message: 'Do you still want to continue?', + initial: false, + }, + { onCancel: () => process.exit(0) } + ) + + if (!response.value) { + process.exit(0) + } +} + +async function getInstalledNextVersion(): Promise { + const installedNextPackageJsonDir = require.resolve('next/package.json', { + paths: [process.cwd()], + }) + const installedNextPackageJson = JSON.parse( + fs.readFileSync(installedNextPackageJsonDir, 'utf8') + ) + + return installedNextPackageJson.version +} + +/* + * Returns the index of the current version's specifier in the + * array ['canary', 'rc', 'latest'] or ['canary', 'latest'] + */ +async function getVersionSpecifierIdx( + installedNextVersion: string, + showRc: boolean +): Promise { + if (installedNextVersion == null) { + return 0 + } + + if (installedNextVersion.includes('canary')) { + return 0 + } + if (installedNextVersion.includes('rc')) { + return 1 + } + return showRc ? 2 : 1 +} + +/* + * Heuristics are used to determine whether to Turbopack is enabled or not and + * to determine how to update the dev script. + * + * 1. If the dev script contains `--turbo` option, we assume that Turbopack is + * already enabled. + * 2. If the dev script contains the string `next dev`, we replace it to + * `next dev --turbo`. + * 3. Otherwise, we ask the user to manually add `--turbo` to their dev command, + * showing the current dev command as the initial value. + */ +async function suggestTurbopack(packageJson: any): Promise { + const devScript = packageJson.scripts['dev'] + if (devScript.includes('--turbo')) return + + const responseTurbopack = await prompts( + { + type: 'confirm', + name: 'enable', + message: 'Turbopack is now the stable default for dev mode. Enable it?', + initial: true, + }, + { + onCancel: () => { + process.exit(0) + }, + } + ) + + if (!responseTurbopack.enable) { + return + } + + if (devScript.includes('next dev')) { + packageJson.scripts['dev'] = devScript.replace( + 'next dev', + 'next dev --turbo' + ) + return + } + + const responseCustomDevScript = await prompts({ + type: 'text', + name: 'customDevScript', + message: 'Please add `--turbo` to your dev command:', + initial: devScript, + }) + + packageJson.scripts['dev'] = + responseCustomDevScript.customDevScript || devScript +} + +async function suggestCodemods( + initialNextVersion: string, + targetNextVersion: string +): Promise { + const initialVersionIndex = availableCodemods.findIndex( + (versionCodemods) => + compareVersions(versionCodemods.version, initialNextVersion) > 0 + ) + if (initialVersionIndex === -1) { + return + } + + let targetVersionIndex = availableCodemods.findIndex( + (versionCodemods) => + compareVersions(versionCodemods.version, targetNextVersion) > 0 + ) + if (targetVersionIndex === -1) { + targetVersionIndex = availableCodemods.length + } + + const relevantCodemods = availableCodemods + .slice(initialVersionIndex, targetVersionIndex) + .flatMap((versionCodemods) => versionCodemods.codemods) + + if (relevantCodemods.length === 0) { + return + } + + let codemodsString = `\nThe following ${chalk.blue('codemods')} are available for your upgrade:` + relevantCodemods.forEach((codemod) => { + codemodsString += `\n- ${codemod.title} ${chalk.gray(`(${codemod.value})`)}` + }) + codemodsString += '\n' + + console.log(codemodsString) + + const responseCodemods = await prompts( + { + type: 'confirm', + name: 'apply', + message: `Do you want to apply these codemods?`, + initial: true, + }, + { + onCancel: () => { + process.exit(0) + }, + } + ) + + if (!responseCodemods.apply) { + return + } + + for (const codemod of relevantCodemods) { + execSync( + `npx @next/codemod@latest ${codemod.value} ${process.cwd()} --force`, + { + stdio: 'inherit', + } + ) + } +} diff --git a/packages/next-codemod/lib/codemods.ts b/packages/next-codemod/lib/codemods.ts new file mode 100644 index 0000000000000..e22dc96a89bf2 --- /dev/null +++ b/packages/next-codemod/lib/codemods.ts @@ -0,0 +1,109 @@ +type Codemod = { + title: string + value: string +} + +type VersionCodemods = { + version: string + codemods: Codemod[] +} + +export const availableCodemods: VersionCodemods[] = [ + { + version: '6', + codemods: [ + { + title: 'Use withRouter', + value: 'url-to-withrouter', + }, + ], + }, + { + version: '8', + codemods: [ + { + title: 'Transform AMP HOC into page config', + value: 'withamp-to-config', + }, + ], + }, + { + version: '9', + codemods: [ + { + title: 'Transform Anonymous Components into Named Components', + value: 'name-default-component', + }, + ], + }, + { + version: '10', + codemods: [ + { + title: 'Add React Import', + value: 'add-missing-react-import', + }, + ], + }, + { + version: '11', + codemods: [ + { + title: 'Migrate from CRA', + value: 'cra-to-next', + }, + ], + }, + { + version: '13.0', + codemods: [ + { + title: 'Remove Tags From Link Components', + value: 'new-link', + }, + { + title: 'Migrate to the New Image Component', + value: 'next-image-experimental', + }, + { + title: 'Rename Next Image Imports', + value: 'next-image-to-legacy-image', + }, + ], + }, + { + version: '13.2', + codemods: [ + { + title: 'Use Built-in Font', + value: 'built-in-next-font', + }, + ], + }, + { + version: '14.0', + codemods: [ + { + title: 'Migrate ImageResponse imports', + value: 'next-og-import', + }, + { + title: 'Use viewport export', + value: 'metadata-to-viewport-export', + }, + ], + }, + { + version: '15.0', + codemods: [ + { + title: 'Transforms usage of Next.js async Request APIs', + value: 'next-async-request-api', + }, + { + title: 'Migrate `geo` and `ip` properties on `NextRequest`', + value: 'next-request-geo-ip', + }, + ], + }, +] diff --git a/packages/next-codemod/lib/handle-package.ts b/packages/next-codemod/lib/handle-package.ts new file mode 100644 index 0000000000000..88c6486ae720b --- /dev/null +++ b/packages/next-codemod/lib/handle-package.ts @@ -0,0 +1,78 @@ +import fs from 'fs' +import path from 'path' +import execa from 'execa' + +export type PackageManager = 'npm' | 'pnpm' | 'yarn' | 'bun' + +export function getPkgManager(baseDir: string): PackageManager { + try { + for (const { lockFile, packageManager } of [ + { lockFile: 'yarn.lock', packageManager: 'yarn' }, + { lockFile: 'pnpm-lock.yaml', packageManager: 'pnpm' }, + { lockFile: 'package-lock.json', packageManager: 'npm' }, + { lockFile: 'bun.lockb', packageManager: 'bun' }, + ]) { + if (fs.existsSync(path.join(baseDir, lockFile))) { + return packageManager as PackageManager + } + } + const userAgent = process.env.npm_config_user_agent + if (userAgent) { + if (userAgent.startsWith('yarn')) { + return 'yarn' + } else if (userAgent.startsWith('pnpm')) { + return 'pnpm' + } + } + try { + execa.sync('yarn --version', { stdio: 'ignore' }) + return 'yarn' + } catch { + try { + execa.sync('pnpm --version', { stdio: 'ignore' }) + return 'pnpm' + } catch { + execa.sync('bun --version', { stdio: 'ignore' }) + return 'bun' + } + } + } catch { + return 'npm' + } +} + +export function uninstallPackage( + packageToUninstall: string, + pkgManager?: PackageManager +) { + pkgManager ??= getPkgManager(process.cwd()) + if (!pkgManager) throw new Error('Failed to find package manager') + + let command = 'uninstall' + if (pkgManager === 'yarn') { + command = 'remove' + } + + execa.sync(pkgManager, [command, packageToUninstall], { stdio: 'inherit' }) +} + +export function installPackage( + packageToInstall: string | string[], + pkgManager?: PackageManager +) { + pkgManager ??= getPkgManager(process.cwd()) + if (!pkgManager) throw new Error('Failed to find package manager') + + if (Array.isArray(packageToInstall)) { + packageToInstall = packageToInstall.join(' ') + } + + try { + execa.sync(pkgManager, ['add', packageToInstall], { stdio: 'inherit' }) + } catch (error) { + throw new Error( + `Failed to install "${packageToInstall}". Please install it manually.`, + { cause: error } + ) + } +} diff --git a/packages/next-codemod/lib/uninstall-package.ts b/packages/next-codemod/lib/uninstall-package.ts deleted file mode 100644 index b02151d349fd6..0000000000000 --- a/packages/next-codemod/lib/uninstall-package.ts +++ /dev/null @@ -1,29 +0,0 @@ -import fs from 'fs' -import path from 'path' -import execa from 'execa' - -export type PackageManager = 'npm' | 'pnpm' | 'yarn' - -function getPkgManager(baseDir: string): PackageManager { - for (const { lockFile, packageManager } of [ - { lockFile: 'yarn.lock', packageManager: 'yarn' }, - { lockFile: 'pnpm-lock.yaml', packageManager: 'pnpm' }, - { lockFile: 'package-lock.json', packageManager: 'npm' }, - ]) { - if (fs.existsSync(path.join(baseDir, lockFile))) { - return packageManager as PackageManager - } - } -} - -export function uninstallPackage(packageToUninstall: string) { - const pkgManager = getPkgManager(process.cwd()) - if (!pkgManager) throw new Error('Failed to find package manager') - - let command = 'uninstall' - if (pkgManager === 'yarn') { - command = 'remove' - } - - execa.sync(pkgManager, [command, packageToUninstall], { stdio: 'inherit' }) -} diff --git a/packages/next-codemod/lib/utils.ts b/packages/next-codemod/lib/utils.ts new file mode 100644 index 0000000000000..38f5bf4e86aa7 --- /dev/null +++ b/packages/next-codemod/lib/utils.ts @@ -0,0 +1,104 @@ +import { yellow } from 'picocolors' +import isGitClean from 'is-git-clean' + +export function checkGitStatus(force) { + let clean = false + let errorMessage = 'Unable to determine if git directory is clean' + try { + clean = isGitClean.sync(process.cwd()) + errorMessage = 'Git directory is not clean' + } catch (err) { + if (err && err.stderr && err.stderr.includes('Not a git repository')) { + clean = true + } + } + + if (!clean) { + if (force) { + console.log(`WARNING: ${errorMessage}. Forcibly continuing.`) + } else { + console.log('Thank you for using @next/codemod!') + console.log( + yellow( + '\nBut before we continue, please stash or commit your git changes.' + ) + ) + console.log( + '\nYou may use the --force flag to override this safety check.' + ) + process.exit(1) + } + } +} + +export const TRANSFORMER_INQUIRER_CHOICES = [ + { + title: + 'name-default-component: Transforms anonymous components into named components to make sure they work with Fast Refresh', + value: 'name-default-component', + }, + { + title: + 'add-missing-react-import: Transforms files that do not import `React` to include the import in order for the new React JSX transform', + value: 'add-missing-react-import', + }, + { + title: + 'withamp-to-config: Transforms the withAmp HOC into Next.js 9 page configuration', + value: 'withamp-to-config', + }, + { + title: + 'url-to-withrouter: Transforms the deprecated automatically injected url property on top level pages to using withRouter', + value: 'url-to-withrouter', + }, + { + title: + 'cra-to-next (experimental): automatically migrates a Create React App project to Next.js', + value: 'cra-to-next', + }, + { + title: 'new-link: Ensures your usage is backwards compatible.', + value: 'new-link', + }, + { + title: + 'next-og-import: Transforms imports from `next/server` to `next/og` for usage of Dynamic OG Image Generation.', + value: 'next-og-import', + }, + { + title: + 'metadata-to-viewport-export: Migrates certain viewport related metadata from the `metadata` export to a new `viewport` export.', + value: 'metadata-to-viewport-export', + }, + { + title: + 'next-dynamic-access-named-export: Transforms dynamic imports that return the named export itself to a module like object.', + value: 'next-dynamic-access-named-export', + }, + { + title: + 'next-image-to-legacy-image: safely migrate Next.js 10, 11, 12 applications importing `next/image` to the renamed `next/legacy/image` import in Next.js 13', + value: 'next-image-to-legacy-image', + }, + { + title: + 'next-image-experimental (experimental): dangerously migrates from `next/legacy/image` to the new `next/image` by adding inline styles and removing unused props', + value: 'next-image-experimental', + }, + { + title: + 'built-in-next-font: Uninstall `@next/font` and transform imports to `next/font`', + value: 'built-in-next-font', + }, + { + title: + 'next-async-request-api: Transforms usage of Next.js async Request APIs', + value: 'next-async-request-api', + }, + { + title: + 'next-request-geo-ip: Install `@vercel/functions` to replace `geo` and `ip` properties on `NextRequest`', + value: 'next-request-geo-ip', + }, +] diff --git a/packages/next-codemod/package.json b/packages/next-codemod/package.json index 3bc99e4590f7d..b49083f7e0ac8 100644 --- a/packages/next-codemod/package.json +++ b/packages/next-codemod/package.json @@ -1,6 +1,6 @@ { "name": "@next/codemod", - "version": "15.0.0-canary.160", + "version": "15.0.0-canary.171", "license": "MIT", "repository": { "type": "git", @@ -8,17 +8,20 @@ "directory": "packages/next-codemod" }, "dependencies": { + "chalk": "4.1.2", "cheerio": "1.0.0-rc.9", + "commander": "12.1.0", + "compare-versions": "6.1.1", "execa": "4.0.3", "globby": "11.0.1", - "inquirer": "7.3.3", "is-git-clean": "1.1.0", "jscodeshift": "17.0.0", - "meow": "7.0.1", - "picocolors": "1.0.0" + "picocolors": "1.0.0", + "prompts": "2.4.2" }, "files": [ "transforms/*.js", + "transforms/lib/**/*.js", "bin/*.js", "lib/**/*.js", "lib/cra-to-next/gitignore" diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-01.input.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-01.input.tsx new file mode 100644 index 0000000000000..5517cf0147e1a --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-01.input.tsx @@ -0,0 +1,10 @@ +import { cookies } from 'next/headers' + +export async function MyComponent() { + const name = cookies().get('name') + callback(name) +} + +function callback(name: any) { + console.log(name) +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-01.output.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-01.output.tsx new file mode 100644 index 0000000000000..88c4dd7046444 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-01.output.tsx @@ -0,0 +1,10 @@ +import { cookies } from 'next/headers' + +export async function MyComponent() { + const name = (await cookies()).get('name') + callback(name) +} + +function callback(name: any) { + console.log(name) +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-02.input.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-02.input.tsx new file mode 100644 index 0000000000000..afd004c05b98e --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-02.input.tsx @@ -0,0 +1,5 @@ +import { draftMode } from 'next/headers' + +export async function MyComponent() { + draftMode().enable() +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-02.output.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-02.output.tsx new file mode 100644 index 0000000000000..d9342e9a103b0 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-02.output.tsx @@ -0,0 +1,5 @@ +import { draftMode } from 'next/headers' + +export async function MyComponent() { + (await draftMode()).enable() +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-03.input.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-03.input.tsx new file mode 100644 index 0000000000000..493d5dfb57e8f --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-03.input.tsx @@ -0,0 +1,6 @@ +// If it's sync default export, convert to async and await the function call +import { draftMode } from 'next/headers' + +export default function MyComponent() { + draftMode().enable() +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-03.output.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-03.output.tsx new file mode 100644 index 0000000000000..e8fd675c83e42 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-03.output.tsx @@ -0,0 +1,6 @@ +// If it's sync default export, convert to async and await the function call +import { draftMode } from 'next/headers' + +export default async function MyComponent() { + (await draftMode()).enable() +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-04.input.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-04.input.tsx new file mode 100644 index 0000000000000..36ab0bf1fc55c --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-04.input.tsx @@ -0,0 +1,9 @@ +import { draftMode } from 'next/headers' + +export default async function MyComponent() { + draftMode().enable() +} + +export async function MyComponent2() { + draftMode().enable() +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-04.output.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-04.output.tsx new file mode 100644 index 0000000000000..c3bc52f3af4c8 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-04.output.tsx @@ -0,0 +1,9 @@ +import { draftMode } from 'next/headers' + +export default async function MyComponent() { + (await draftMode()).enable() +} + +export async function MyComponent2() { + (await draftMode()).enable() +} \ No newline at end of file diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-05.input.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-05.input.tsx new file mode 100644 index 0000000000000..692d684ce338e --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-05.input.tsx @@ -0,0 +1,9 @@ +import { draftMode } from 'next/headers' + +export function MyComponent2() { + draftMode().enable() +} + +export function useDraftModeEnabled() { + draftMode().enable() +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-05.output.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-05.output.tsx new file mode 100644 index 0000000000000..6b0c352474517 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-05.output.tsx @@ -0,0 +1,10 @@ +import { use } from "react"; +import { draftMode, type UnsafeUnwrappedDraftMode } from 'next/headers'; + +export function MyComponent2() { + (draftMode() as unknown as UnsafeUnwrappedDraftMode).enable() +} + +export function useDraftModeEnabled() { + use(draftMode()).enable() +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-06.input.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-06.input.tsx new file mode 100644 index 0000000000000..424a3ca9344cb --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-06.input.tsx @@ -0,0 +1,6 @@ +import React from 'react' +import { draftMode } from 'next/headers' + +export default function Page() { + return +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-06.output.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-06.output.tsx new file mode 100644 index 0000000000000..81eba29c0a91b --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-06.output.tsx @@ -0,0 +1,7 @@ +import React from 'react' +import { draftMode } from 'next/headers' + +export default async function Page() { + return ; +} + diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-07.input.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-07.input.tsx new file mode 100644 index 0000000000000..bd90d110eb183 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-07.input.tsx @@ -0,0 +1,6 @@ +// Already imported the type +import { draftMode, type UnsafeUnwrappedDraftMode } from 'next/headers' + +export function MyComponent2() { + draftMode().enable() +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-07.output.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-07.output.tsx new file mode 100644 index 0000000000000..b0d19f30d7a48 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-07.output.tsx @@ -0,0 +1,6 @@ +// Already imported the type +import { draftMode, type UnsafeUnwrappedDraftMode } from 'next/headers' + +export function MyComponent2() { + (draftMode() as unknown as UnsafeUnwrappedDraftMode).enable() +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-08.input.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-08.input.tsx new file mode 100644 index 0000000000000..560fc616053f8 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-08.input.tsx @@ -0,0 +1,5 @@ +import { headers } from 'next/headers' + +export function GET(): Response { + headers() +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-08.output.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-08.output.tsx new file mode 100644 index 0000000000000..e40085d049f54 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-08.output.tsx @@ -0,0 +1,5 @@ +import { headers } from 'next/headers' + +export async function GET(): Promise { + await headers() +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-09.input.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-09.input.tsx new file mode 100644 index 0000000000000..c45c23264f6b7 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-09.input.tsx @@ -0,0 +1,13 @@ +export default function Page({ + params: { slug }, + searchParams: { search }, +}: { + params: { slug: string } + searchParams: any +}): JSX.Element { + // Access to the destructed properties + slug + search + + return
Page
+} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-09.output.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-09.output.tsx new file mode 100644 index 0000000000000..24d797ccffcb5 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-09.output.tsx @@ -0,0 +1,24 @@ +export default async function Page( + props: { + params: Promise<{ slug: string }> + searchParams: Promise + } +): Promise { + const searchParams = await props.searchParams; + + const { + search + } = searchParams; + + const params = await props.params; + + const { + slug + } = params; + + // Access to the destructed properties + slug + search + + return
Page
+} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-10.input.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-10.input.tsx new file mode 100644 index 0000000000000..64f76ad266121 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-10.input.tsx @@ -0,0 +1,13 @@ +import { headers } from 'next/headers' + +export function MyComp() { + return headers() +} + +export function MyComp2() { + return headers() +} + +export function MyComp3() { + return headers() +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-10.output.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-10.output.tsx new file mode 100644 index 0000000000000..7af01fa129a5e --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-10.output.tsx @@ -0,0 +1,13 @@ +import { headers, type UnsafeUnwrappedHeaders } from 'next/headers'; + +export function MyComp() { + return (headers() as unknown as UnsafeUnwrappedHeaders); +} + +export function MyComp2() { + return (headers() as unknown as UnsafeUnwrappedHeaders); +} + +export function MyComp3() { + return (headers() as unknown as UnsafeUnwrappedHeaders); +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-11.input.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-11.input.tsx new file mode 100644 index 0000000000000..f2507a99744a7 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-11.input.tsx @@ -0,0 +1,9 @@ +import { headers } from 'next/headers' + +export function MyComp() { + headers() +} + +export function generateContentfulMetadata() { + headers() +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-11.output.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-11.output.tsx new file mode 100644 index 0000000000000..8ca2f99d6eeb3 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-11.output.tsx @@ -0,0 +1,10 @@ +import { headers, type UnsafeUnwrappedHeaders } from 'next/headers'; + +export function MyComp() { + (headers() as unknown as UnsafeUnwrappedHeaders) +} + +export function generateContentfulMetadata() { + (headers() as unknown as UnsafeUnwrappedHeaders) +} + diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-12.input.js b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-12.input.js new file mode 100644 index 0000000000000..51a845fa4443b --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-12.input.js @@ -0,0 +1,5 @@ +import { cookies } from "next/headers"; + +async function MyComponent() { + callSomething(cookies()); +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-12.output.js b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-12.output.js new file mode 100644 index 0000000000000..cf164fafb4b68 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-12.output.js @@ -0,0 +1,5 @@ +import { cookies } from "next/headers"; + +async function MyComponent() { + callSomething(await cookies()); +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-13.input.js b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-13.input.js new file mode 100644 index 0000000000000..094688e6adb09 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-13.input.js @@ -0,0 +1,5 @@ +import { headers } from "next/headers"; + +async function MyComponent() { + callSomething(headers()); +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-13.output.js b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-13.output.js new file mode 100644 index 0000000000000..db3f2b3fb7048 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-13.output.js @@ -0,0 +1,5 @@ +import { headers } from "next/headers"; + +async function MyComponent() { + callSomething(await headers()); +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-14.input.js b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-14.input.js new file mode 100644 index 0000000000000..2832d7f045821 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-14.input.js @@ -0,0 +1,5 @@ +import { cookies } from "next/headers"; + +export default async function Page() { + callSomething(cookies()); +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-14.output.js b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-14.output.js new file mode 100644 index 0000000000000..41d381623e74b --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-14.output.js @@ -0,0 +1,5 @@ +import { cookies } from "next/headers"; + +export default async function Page() { + callSomething(await cookies()); +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-15.input.js b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-15.input.js new file mode 100644 index 0000000000000..f1f7b660be41a --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-15.input.js @@ -0,0 +1,7 @@ +import { cookies } from "next/headers"; + +async function MyComponent() { + function asyncFunction() { + callSomething(cookies()); + } +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-15.output.js b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-15.output.js new file mode 100644 index 0000000000000..97a1d93ab112e --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-15.output.js @@ -0,0 +1,8 @@ +import { cookies } from "next/headers"; + +async function MyComponent() { + function asyncFunction() { + callSomething(/* TODO: please manually await this call, codemod cannot transform due to undetermined async scope */ + cookies()); + } +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-16.input.js b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-16.input.js new file mode 100644 index 0000000000000..c03a888dc435b --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-16.input.js @@ -0,0 +1,5 @@ +import { cookies } from "next/headers"; + +function MyComponent() { + callSomething(cookies()); +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-16.output.js b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-16.output.js new file mode 100644 index 0000000000000..595ed638e866c --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-16.output.js @@ -0,0 +1,6 @@ +import { cookies } from "next/headers"; + +function MyComponent() { + callSomething(/* TODO: please manually await this call, codemod cannot transform due to undetermined async scope */ + cookies()); +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-17.input.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-17.input.tsx new file mode 100644 index 0000000000000..6ba31369350dd --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-17.input.tsx @@ -0,0 +1,5 @@ +import { cookies } from 'next/headers' + +export const myFun = async (): Promise => { + const name = cookies().get('name') +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-17.output.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-17.output.tsx new file mode 100644 index 0000000000000..026e327be39e8 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-17.output.tsx @@ -0,0 +1,5 @@ +import { cookies } from 'next/headers' + +export const myFun = async (): Promise => { + const name = (await cookies()).get('name') +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-18.input.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-18.input.tsx new file mode 100644 index 0000000000000..caa41e0187320 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-18.input.tsx @@ -0,0 +1,17 @@ +import { + cookies as myCookies, + headers as myHeaders, + draftMode as myDraftMode, +} from 'next/headers' + +export const myFun = async (): Promise => { + const name = myCookies().get('name') +} + +export const myFun2 = async (): Promise => { + await myHeaders() +} + +export const myFun3 = async (): Promise => { + await myDraftMode() +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-18.output.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-18.output.tsx new file mode 100644 index 0000000000000..bdd02198dfea7 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-18.output.tsx @@ -0,0 +1,17 @@ +import { + cookies as myCookies, + headers as myHeaders, + draftMode as myDraftMode, +} from 'next/headers' + +export const myFun = async (): Promise => { + const name = (await myCookies()).get('name') +} + +export const myFun2 = async (): Promise => { + await myHeaders() +} + +export const myFun3 = async (): Promise => { + await myDraftMode() +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-type-cast-01.input.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-type-cast-01.input.tsx new file mode 100644 index 0000000000000..b46a44e042be8 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-type-cast-01.input.tsx @@ -0,0 +1,20 @@ +import React from 'react' +import { headers, cookies, draftMode } from 'next/headers' + +export function MyDraftComponent() { + if (draftMode().isEnabled) { + return null + } + + return

page

+} + +export function MyCookiesComponent() { + const c = cookies() + return c.get('name') +} + +export function MyHeadersComponent() { + const h = headers() + return

{h.get('x-foo')}

+} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-type-cast-01.output.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-type-cast-01.output.tsx new file mode 100644 index 0000000000000..f950e53e6f96f --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-type-cast-01.output.tsx @@ -0,0 +1,28 @@ +import React from 'react' +import { + headers, + cookies, + draftMode, + type UnsafeUnwrappedHeaders, + type UnsafeUnwrappedCookies, + type UnsafeUnwrappedDraftMode, +} from 'next/headers'; + +export function MyDraftComponent() { + if ((draftMode() as unknown as UnsafeUnwrappedDraftMode).isEnabled) { + return null + } + + return

page

+} + +export function MyCookiesComponent() { + const c = (cookies() as unknown as UnsafeUnwrappedCookies) + return c.get('name') +} + +export function MyHeadersComponent() { + const h = (headers() as unknown as UnsafeUnwrappedHeaders) + return

{h.get('x-foo')}

+} + diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-type-cast-02.input.js b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-type-cast-02.input.js new file mode 100644 index 0000000000000..ca1c9478fee8d --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-type-cast-02.input.js @@ -0,0 +1,27 @@ +import React from 'react' +import { + headers, + cookies, + draftMode, +} from 'next/headers' + +export function MyDraftComponent() { +if (draftMode().isEnabled) { + return null + } + + return

page

+} + +export function MyCookiesComponent() { + const c = cookies() + return c.get('name') +} + +export function MyHeadersComponent() { + const h = headers() + return ( +

{h.get('x-foo')}

+ ) +} + diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-type-cast-02.output.js b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-type-cast-02.output.js new file mode 100644 index 0000000000000..e74ef9caf98fc --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/async-api-type-cast-02.output.js @@ -0,0 +1,30 @@ +import React from 'react' +import { + headers, + cookies, + draftMode, +} from 'next/headers' + +export function MyDraftComponent() { +if (/* TODO: please manually await this call, codemod cannot transform due to undetermined async scope */ +draftMode().isEnabled) { + return null + } + + return

page

+} + +export function MyCookiesComponent() { + const c = /* TODO: please manually await this call, codemod cannot transform due to undetermined async scope */ + cookies() + return c.get('name') +} + +export function MyHeadersComponent() { + const h = /* TODO: please manually await this call, codemod cannot transform due to undetermined async scope */ + headers() + return ( +

{h.get('x-foo')}

+ ) +} + diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/custom-routes-access-api-prop-01.input.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/custom-routes-access-api-prop-01.input.tsx new file mode 100644 index 0000000000000..b05dff253174f --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/custom-routes-access-api-prop-01.input.tsx @@ -0,0 +1,13 @@ +import { headers } from 'next/headers' + +export const GET = function () { + headers() +} + +export function POST() { + headers() +} + +export async function DELETE() { + headers() +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/custom-routes-access-api-prop-01.output.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/custom-routes-access-api-prop-01.output.tsx new file mode 100644 index 0000000000000..d8757a25652c8 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/custom-routes-access-api-prop-01.output.tsx @@ -0,0 +1,13 @@ +import { headers } from 'next/headers' + +export const GET = async function() { + await headers() +} + +export async function POST() { + await headers() +} + +export async function DELETE() { + await headers() +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/generate-metadata-access-api-prop-01.input.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/generate-metadata-access-api-prop-01.input.tsx new file mode 100644 index 0000000000000..1ad5c636c94f3 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/generate-metadata-access-api-prop-01.input.tsx @@ -0,0 +1,5 @@ +import { headers } from 'next/headers' + +export function generateMetadata() { + headers() +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/generate-metadata-access-api-prop-01.output.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/generate-metadata-access-api-prop-01.output.tsx new file mode 100644 index 0000000000000..0870f5fffb87c --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/generate-metadata-access-api-prop-01.output.tsx @@ -0,0 +1,5 @@ +import { headers } from 'next/headers' + +export async function generateMetadata() { + await headers() +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/generate-metadata-access-api-prop-02.input.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/generate-metadata-access-api-prop-02.input.tsx new file mode 100644 index 0000000000000..6922cd87790d9 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/generate-metadata-access-api-prop-02.input.tsx @@ -0,0 +1,5 @@ +import { headers } from 'next/headers' + +export const generateMetadata = function () { + headers() +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/generate-metadata-access-api-prop-02.output.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/generate-metadata-access-api-prop-02.output.tsx new file mode 100644 index 0000000000000..8cb091841d7f2 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/generate-metadata-access-api-prop-02.output.tsx @@ -0,0 +1,5 @@ +import { headers } from 'next/headers' + +export const generateMetadata = async function() { + await headers() +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/generate-metadata-access-api-prop-03.input.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/generate-metadata-access-api-prop-03.input.tsx new file mode 100644 index 0000000000000..2485ade014f17 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/generate-metadata-access-api-prop-03.input.tsx @@ -0,0 +1,6 @@ +import { draftMode } from 'next/headers' + +export async function generateMetadata(props: any) { + const params = await props.params + await getMostRecentChangelog(params.slug, draftMode().isEnabled) +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/generate-metadata-access-api-prop-03.output.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/generate-metadata-access-api-prop-03.output.tsx new file mode 100644 index 0000000000000..165ae8d7a96a1 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/generate-metadata-access-api-prop-03.output.tsx @@ -0,0 +1,6 @@ +import { draftMode } from 'next/headers' + +export async function generateMetadata(props: any) { + const params = await props.params + await getMostRecentChangelog(params.slug, (await draftMode()).isEnabled) +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/no-transform-local-call.input.js b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/no-transform-local-call.input.js new file mode 100644 index 0000000000000..0dd0945b7a2d9 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/no-transform-local-call.input.js @@ -0,0 +1,7 @@ +export function LocalComponent(callback) { + function cookies() { + return 'local-cookies' + } + + callback(cookies()) +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/no-transform-local-call.output.js b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/no-transform-local-call.output.js new file mode 100644 index 0000000000000..0dd0945b7a2d9 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/no-transform-local-call.output.js @@ -0,0 +1,7 @@ +export function LocalComponent(callback) { + function cookies() { + return 'local-cookies' + } + + callback(cookies()) +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/no-transform-non-nextjs-cookies.input.js b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/no-transform-non-nextjs-cookies.input.js new file mode 100644 index 0000000000000..73c43645f621c --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/no-transform-non-nextjs-cookies.input.js @@ -0,0 +1,7 @@ +'use client' + +import { cookies } from "mylib"; + +export default function Page() { + usingCookiesWillErrorInClient(cookies()); +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/no-transform-non-nextjs-cookies.output.js b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/no-transform-non-nextjs-cookies.output.js new file mode 100644 index 0000000000000..73c43645f621c --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-apis/no-transform-non-nextjs-cookies.output.js @@ -0,0 +1,7 @@ +'use client' + +import { cookies } from "mylib"; + +export default function Page() { + usingCookiesWillErrorInClient(cookies()); +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-01.input.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-01.input.tsx new file mode 100644 index 0000000000000..41c928524f8dd --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-01.input.tsx @@ -0,0 +1,5 @@ +export default async function Page({ params }: { params: { slug: string } }) { + // usage of `params` + globalThis.f1(params) + globalThis.f2(params) +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-01.output.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-01.output.tsx new file mode 100644 index 0000000000000..6b91c2ad943c8 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-01.output.tsx @@ -0,0 +1,6 @@ +export default async function Page(props: { params: Promise<{ slug: string }> }) { + const params = await props.params; + // usage of `params` + globalThis.f1(params) + globalThis.f2(params) +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-02.input.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-02.input.tsx new file mode 100644 index 0000000000000..7748ff5b81be5 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-02.input.tsx @@ -0,0 +1,8 @@ +export default async function Page({ + searchParams, +}: { + searchParams: { [key: string]: string } +}) { + globalThis.f1(searchParams) + globalThis.f2(searchParams) +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-02.output.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-02.output.tsx new file mode 100644 index 0000000000000..b65be8c9f72a3 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-02.output.tsx @@ -0,0 +1,9 @@ +export default async function Page( + props: { + searchParams: Promise<{ [key: string]: string }> + } +) { + const searchParams = await props.searchParams; + globalThis.f1(searchParams) + globalThis.f2(searchParams) +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-03.input.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-03.input.tsx new file mode 100644 index 0000000000000..9008ae84b5a76 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-03.input.tsx @@ -0,0 +1,5 @@ +export default function Page({ params }: { params: { slug: string } }) { + // usage of `params` + globalThis.f1(params) + globalThis.f2(params) +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-03.output.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-03.output.tsx new file mode 100644 index 0000000000000..6b91c2ad943c8 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-03.output.tsx @@ -0,0 +1,6 @@ +export default async function Page(props: { params: Promise<{ slug: string }> }) { + const params = await props.params; + // usage of `params` + globalThis.f1(params) + globalThis.f2(params) +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-04.input.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-04.input.tsx new file mode 100644 index 0000000000000..fa3ed75115374 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-04.input.tsx @@ -0,0 +1,10 @@ +'use client' + +import { useState } from 'react' + +export default function Page({ params }: { params: { slug: string } }) { + const [text, setText] = useState('') + // usage of `params` + globalThis.f1(params) + globalThis.f2(params) +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-04.output.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-04.output.tsx new file mode 100644 index 0000000000000..a19da0262cad4 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-04.output.tsx @@ -0,0 +1,12 @@ +'use client'; +import { use } from "react"; + +import { useState } from 'react' + +export default function Page(props: { params: Promise<{ slug: string }> }) { + const params = use(props.params); + const [text, setText] = useState('') + // usage of `params` + globalThis.f1(params) + globalThis.f2(params) +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-05.input.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-05.input.tsx new file mode 100644 index 0000000000000..9102ebac7e501 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-05.input.tsx @@ -0,0 +1,15 @@ +'use client' + +import { useState } from 'react' + +interface PageProps { + params: { slug: string } + searchParams: any +} + +export default function Page({ params }: PageProps) { + const [text, setText] = useState('') + // usage of `params` + globalThis.f1(params) + globalThis.f2(params) +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-05.output.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-05.output.tsx new file mode 100644 index 0000000000000..a8f3daa77b4eb --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-05.output.tsx @@ -0,0 +1,18 @@ +'use client'; +import { use } from "react"; + +import { useState } from 'react' + +interface PageProps { + params: Promise<{ slug: string }> + searchParams: Promise +} + +export default function Page(props: PageProps) { + const params = use(props.params); + const [text, setText] = useState('') + // usage of `params` + globalThis.f1(params) + globalThis.f2(params) +} + diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-06.input.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-06.input.tsx new file mode 100644 index 0000000000000..169fe1250df61 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-06.input.tsx @@ -0,0 +1,11 @@ +interface PageProps { + params: { + id: string + name: string + } +} + +export default function Page({ params: { id, name } }: PageProps) { + globalThis.f1(id) + globalThis.f2(name) +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-06.output.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-06.output.tsx new file mode 100644 index 0000000000000..03522a529a356 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-06.output.tsx @@ -0,0 +1,18 @@ +interface PageProps { + params: Promise<{ + id: string + name: string + }> +} + +export default async function Page(props: PageProps) { + const params = await props.params; + + const { + id, + name + } = params; + + globalThis.f1(id) + globalThis.f2(name) +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-07.input.js b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-07.input.js new file mode 100644 index 0000000000000..3ca62d110ddf3 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-07.input.js @@ -0,0 +1,5 @@ +export default function Layout({ params }) { + // if there's any usage of `searchParams` + f1(params); + f2(params); +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-07.output.js b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-07.output.js new file mode 100644 index 0000000000000..9bee70772c62d --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-07.output.js @@ -0,0 +1,6 @@ +export default async function Layout(props) { + const params = await props.params; + // if there's any usage of `searchParams` + f1(params); + f2(params); +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-08.input.js b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-08.input.js new file mode 100644 index 0000000000000..bc0fb874bef43 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-08.input.js @@ -0,0 +1,5 @@ +export default async function Page({ params }) { + // if there's any usage of `searchParams` + f1(params); + f2(params); +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-08.output.js b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-08.output.js new file mode 100644 index 0000000000000..0e91ec3e39df3 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-08.output.js @@ -0,0 +1,6 @@ +export default async function Page(props) { + const params = await props.params; + // if there's any usage of `searchParams` + f1(params); + f2(params); +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-09.input.js b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-09.input.js new file mode 100644 index 0000000000000..a491450640acd --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-09.input.js @@ -0,0 +1,4 @@ +export default async ({ params }) => { + f1(params) + f2(params) +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-09.output.js b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-09.output.js new file mode 100644 index 0000000000000..71904e287f59f --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-09.output.js @@ -0,0 +1,5 @@ +export default async props => { + const params = await props.params; + f1(params) + f2(params) +}; diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-10.input.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-10.input.tsx new file mode 100644 index 0000000000000..72b7c13c76c3f --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-10.input.tsx @@ -0,0 +1,8 @@ +export default function Page({ params }: { params: any }) { + function generateProps() { + const props = { a: 1 } + props.a = 2 + return props + } + return
hello {params.name} {generateProps().a}
+} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-10.output.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-10.output.tsx new file mode 100644 index 0000000000000..462cd1627852d --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/access-props-10.output.tsx @@ -0,0 +1,9 @@ +export default async function Page(props0: { params: Promise }) { + const params = await props0.params; + function generateProps() { + const props = { a: 1 } + props.a = 2 + return props + } + return
hello {params.name} {generateProps().a}
+} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/custom-routes-access-api-prop-01.input.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/custom-routes-access-api-prop-01.input.tsx new file mode 100644 index 0000000000000..17426b085dabf --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/custom-routes-access-api-prop-01.input.tsx @@ -0,0 +1,12 @@ +// TODO: handle variable declaration +// export const GET = function ({ params }: any) { +// call(params.foo) +// } + +export function POST({ params }: any) { + call(params.foo) +} + +export async function DELETE({ params }: any) { + call(params.foo) +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/custom-routes-access-api-prop-01.output.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/custom-routes-access-api-prop-01.output.tsx new file mode 100644 index 0000000000000..e264205d6b5ef --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/custom-routes-access-api-prop-01.output.tsx @@ -0,0 +1,14 @@ +// TODO: handle variable declaration +// export const GET = function ({ params }: any) { +// call(params.foo) +// } + +export async function POST(props: any) { + const params = await props.params; + call(params.foo) +} + +export async function DELETE(props: any) { + const params = await props.params; + call(params.foo) +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/generate-metadata-access-prop-01.input.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/generate-metadata-access-prop-01.input.tsx new file mode 100644 index 0000000000000..39fe803f136b7 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/generate-metadata-access-prop-01.input.tsx @@ -0,0 +1,7 @@ +export function generateMetadata({ + params, +}: { + params: { slug: string } +}): Metadata { + params.slug +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/generate-metadata-access-prop-01.output.tsx b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/generate-metadata-access-prop-01.output.tsx new file mode 100644 index 0000000000000..ace2769cbd443 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/generate-metadata-access-prop-01.output.tsx @@ -0,0 +1,8 @@ +export async function generateMetadata( + props: { + params: Promise<{ slug: string }> + } +): Promise { + const params = await props.params; + params.slug +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/no-transform-non-default-function.input.js b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/no-transform-non-default-function.input.js new file mode 100644 index 0000000000000..13551bdf3ef07 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/no-transform-non-default-function.input.js @@ -0,0 +1,5 @@ +export async function Page({ params }) { + // if there's any usage of `searchParams` + f1(params); + f2(params); +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/no-transform-non-default-function.output.js b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/no-transform-non-default-function.output.js new file mode 100644 index 0000000000000..13551bdf3ef07 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-async-request-api-dynamic-props/no-transform-non-default-function.output.js @@ -0,0 +1,5 @@ +export async function Page({ params }) { + // if there's any usage of `searchParams` + f1(params); + f2(params); +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/destructure-alias.input.ts b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/destructure-alias.input.ts new file mode 100644 index 0000000000000..0bb9715a62775 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/destructure-alias.input.ts @@ -0,0 +1,7 @@ +// @ts-nocheck +import { type NextRequest, NextResponse } from "next/server"; + +export function GET(request: NextRequest) { + const { buildId, geo: geoAlias, ip: ipAlias } = request; + return NextResponse.json({ buildId, geo: geoAlias, ip: ipAlias }); +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/destructure-alias.output.ts b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/destructure-alias.output.ts new file mode 100644 index 0000000000000..3115a7f4fcdeb --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/destructure-alias.output.ts @@ -0,0 +1,13 @@ +// @ts-nocheck +import { type NextRequest, NextResponse } from "next/server"; + +import { geolocation, ipAddress } from "@vercel/functions"; + +export function GET(request: NextRequest) { + const { + buildId + } = request; + const ipAlias = ipAddress(request); + const geoAlias = geolocation(request); + return NextResponse.json({ buildId, geo: geoAlias, ip: ipAlias }); +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/destructure.input.ts b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/destructure.input.ts new file mode 100644 index 0000000000000..437a561b45654 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/destructure.input.ts @@ -0,0 +1,7 @@ +// @ts-nocheck +import { type NextRequest, NextResponse } from "next/server"; + +export function GET(request: NextRequest) { + const { buildId, geo, ip } = request; + return NextResponse.json({ buildId, geo, ip }); +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/destructure.output.ts b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/destructure.output.ts new file mode 100644 index 0000000000000..00f029eea6944 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/destructure.output.ts @@ -0,0 +1,13 @@ +// @ts-nocheck +import { type NextRequest, NextResponse } from "next/server"; + +import { geolocation, ipAddress } from "@vercel/functions"; + +export function GET(request: NextRequest) { + const { + buildId + } = request; + const ip = ipAddress(request); + const geo = geolocation(request); + return NextResponse.json({ buildId, geo, ip }); +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/direct-access.input.ts b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/direct-access.input.ts new file mode 100644 index 0000000000000..1df54de60ff0f --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/direct-access.input.ts @@ -0,0 +1,8 @@ +// @ts-nocheck +import { type NextRequest, NextResponse } from "next/server"; + +export function GET(request: NextRequest) { + const geo = request.geo + const ip = request.ip + return NextResponse.json({ geo, ip }) +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/direct-access.output.ts b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/direct-access.output.ts new file mode 100644 index 0000000000000..b948753563dba --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/direct-access.output.ts @@ -0,0 +1,10 @@ +// @ts-nocheck +import { type NextRequest, NextResponse } from "next/server"; + +import { geolocation, ipAddress } from "@vercel/functions"; + +export function GET(request: NextRequest) { + const geo = geolocation(request) + const ip = ipAddress(request) + return NextResponse.json({ geo, ip }) +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/duplicate-identifiers.input.ts b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/duplicate-identifiers.input.ts new file mode 100644 index 0000000000000..e50067c9dac88 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/duplicate-identifiers.input.ts @@ -0,0 +1,13 @@ +// @ts-nocheck +import { type NextRequest, NextResponse } from "next/server"; + +// for duplicate identifier testing +function ipAddress1() { + return "127.0.0.1"; +} +const ipAddress2 = "127.0.0.1"; + +export function GET(request: NextRequest) { + const ipAddress = request.ip; + return NextResponse.json({ ipAddress }); +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/duplicate-identifiers.output.ts b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/duplicate-identifiers.output.ts new file mode 100644 index 0000000000000..945513ab9a1ba --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/duplicate-identifiers.output.ts @@ -0,0 +1,15 @@ +// @ts-nocheck +import { type NextRequest, NextResponse } from "next/server"; + +import { ipAddress as ipAddress3 } from "@vercel/functions"; + +// for duplicate identifier testing +function ipAddress1() { + return "127.0.0.1"; +} +const ipAddress2 = "127.0.0.1"; + +export function GET(request: NextRequest) { + const ipAddress = ipAddress3(request); + return NextResponse.json({ ipAddress }); +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/function-param.input.ts b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/function-param.input.ts new file mode 100644 index 0000000000000..a10ec2c6970d5 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/function-param.input.ts @@ -0,0 +1,16 @@ +// @ts-nocheck +import { type NextRequest, NextResponse } from "next/server"; + +function getGeo(request: NextRequest) { + return request.geo; +} + +function getIp(request: NextRequest) { + return request.ip; +} + +export function GET(request: NextRequest) { + const geo = getGeo(request); + const ip = getIp(request); + return NextResponse.json({ geo, ip }); +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/function-param.output.ts b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/function-param.output.ts new file mode 100644 index 0000000000000..acfd1f5ea29f4 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/function-param.output.ts @@ -0,0 +1,20 @@ +// @ts-nocheck +import { type NextRequest, NextResponse } from "next/server"; + +import { geolocation, ipAddress } from "@vercel/functions"; + +function getGeo(request: NextRequest) { + return geolocation(request); +} + +function getIp(request: NextRequest) { + return ipAddress(request); +} + +export function GET(request: NextRequest) { + const geo = getGeo(request); + const ip = getIp(request); + return NextResponse.json({ geo, ip }); +} + + diff --git a/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/geo-properties.input.ts b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/geo-properties.input.ts new file mode 100644 index 0000000000000..fbf51888e33a9 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/geo-properties.input.ts @@ -0,0 +1,9 @@ +// @ts-nocheck +import { type NextRequest, NextResponse } from "next/server"; + +export function GET(request: NextRequest) { + const { city, country, region } = request.geo; + const latitude = request.geo.latitude; + const longitude = request.geo.longitude; + return NextResponse.json({ city, country, region, latitude, longitude }); +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/geo-properties.output.ts b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/geo-properties.output.ts new file mode 100644 index 0000000000000..03ce1f7e13cdc --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/geo-properties.output.ts @@ -0,0 +1,11 @@ +// @ts-nocheck +import { type NextRequest, NextResponse } from "next/server"; + +import { geolocation } from "@vercel/functions"; + +export function GET(request: NextRequest) { + const { city, country, region } = geolocation(request); + const latitude = geolocation(request).latitude; + const longitude = geolocation(request).longitude; + return NextResponse.json({ city, country, region, latitude, longitude }); +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/geo-type-import.input.ts b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/geo-type-import.input.ts new file mode 100644 index 0000000000000..eff11b6d9a8c7 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/geo-type-import.input.ts @@ -0,0 +1,8 @@ +// @ts-nocheck +import { type NextRequest, NextResponse } from "next/server"; + +export function GET(request: NextRequest) { + const geo = request.geo as NextRequest['geo'] + const ip = request.ip + return NextResponse.json({ geo, ip }) +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/geo-type-import.output.ts b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/geo-type-import.output.ts new file mode 100644 index 0000000000000..e4fb86d584a15 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/geo-type-import.output.ts @@ -0,0 +1,10 @@ +// @ts-nocheck +import { type NextRequest, NextResponse } from "next/server"; + +import { geolocation, ipAddress, type Geo } from "@vercel/functions"; + +export function GET(request: NextRequest) { + const geo = geolocation(request) as Geo + const ip = ipAddress(request) + return NextResponse.json({ geo, ip }) +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/has-imports-alias.input.ts b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/has-imports-alias.input.ts new file mode 100644 index 0000000000000..647d8ab80d776 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/has-imports-alias.input.ts @@ -0,0 +1,9 @@ +// @ts-nocheck +import { type NextRequest, NextResponse } from "next/server"; +import { geolocation as geo, ipAddress as ip, Geo as GeoType } from "@vercel/functions"; + +export function GET(request: NextRequest) { + const geo = request.geo as GeoType + const ip = request.ip + return NextResponse.json({ geo, ip }) +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/has-imports-alias.output.ts b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/has-imports-alias.output.ts new file mode 100644 index 0000000000000..8fdaf1135e89d --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/has-imports-alias.output.ts @@ -0,0 +1,9 @@ +// @ts-nocheck +import { type NextRequest, NextResponse } from "next/server"; +import { geolocation as geo, ipAddress as ip, Geo as GeoType } from "@vercel/functions"; + +export function GET(request: NextRequest) { + const geo = geo(request) as GeoType + const ip = ip(request) + return NextResponse.json({ geo, ip }) +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/has-imports.input.ts b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/has-imports.input.ts new file mode 100644 index 0000000000000..1d58fa6e629e1 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/has-imports.input.ts @@ -0,0 +1,9 @@ +// @ts-nocheck +import { type NextRequest, NextResponse } from "next/server"; +import { geolocation, ipAddress, Geo } from "@vercel/functions"; + +export function GET(request: NextRequest) { + const geo = request.geo as Geo + const ip = request.ip + return NextResponse.json({ geo, ip }) +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/has-imports.output.ts b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/has-imports.output.ts new file mode 100644 index 0000000000000..86b504afd6b95 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/has-imports.output.ts @@ -0,0 +1,9 @@ +// @ts-nocheck +import { type NextRequest, NextResponse } from "next/server"; +import { geolocation, ipAddress, Geo } from "@vercel/functions"; + +export function GET(request: NextRequest) { + const geo = geolocation(request) as Geo + const ip = ipAddress(request) + return NextResponse.json({ geo, ip }) +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/has-other-import.input.ts b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/has-other-import.input.ts new file mode 100644 index 0000000000000..8e33088645c27 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/has-other-import.input.ts @@ -0,0 +1,10 @@ +// @ts-nocheck +import { type NextRequest, NextResponse } from "next/server"; +import { waitUntil } from "@vercel/functions"; + +export function GET(request: NextRequest) { + waitUntil(Promise.resolve()) + const geo = request.geo as NextRequest['geo'] + const ip = request.ip + return NextResponse.json({ geo, ip }) +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/has-other-import.output.ts b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/has-other-import.output.ts new file mode 100644 index 0000000000000..ef847b6e29337 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/has-other-import.output.ts @@ -0,0 +1,10 @@ +// @ts-nocheck +import { type NextRequest, NextResponse } from "next/server"; +import { waitUntil, geolocation, ipAddress, type Geo } from "@vercel/functions"; + +export function GET(request: NextRequest) { + waitUntil(Promise.resolve()) + const geo = geolocation(request) as Geo + const ip = ipAddress(request) + return NextResponse.json({ geo, ip }) +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/multiple-imports.input.ts b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/multiple-imports.input.ts new file mode 100644 index 0000000000000..070b759fc9573 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/multiple-imports.input.ts @@ -0,0 +1,13 @@ +// @ts-nocheck +import Link from "next/link"; +// should added RIGHT BELOW the FIRST "next/server" import +import type { NextRequest } from "next/server"; +import Script from "next/script"; +import { notFound } from "next/navigation"; +import { NextResponse } from "next/server"; + +export function GET(request: NextRequest) { + const geo = request.geo + const ip = request.ip + return NextResponse.json({ geo, ip }) +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/multiple-imports.output.ts b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/multiple-imports.output.ts new file mode 100644 index 0000000000000..f0c0b8fd1f420 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/multiple-imports.output.ts @@ -0,0 +1,14 @@ +// @ts-nocheck +import Link from "next/link"; +// should added RIGHT BELOW the FIRST "next/server" import +import type { NextRequest } from "next/server"; +import { geolocation, ipAddress } from "@vercel/functions"; +import Script from "next/script"; +import { notFound } from "next/navigation"; +import { NextResponse } from "next/server"; + +export function GET(request: NextRequest) { + const geo = geolocation(request) + const ip = ipAddress(request) + return NextResponse.json({ geo, ip }) +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/replace-type-geo-only.input.ts b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/replace-type-geo-only.input.ts new file mode 100644 index 0000000000000..a0f5a10fb38e5 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/replace-type-geo-only.input.ts @@ -0,0 +1,11 @@ +// @ts-nocheck +import { type NextRequest, NextResponse } from "next/server"; + +const geo = { + city: 'London', + country: 'United Kingdom', + latitude: 51.5074, + longitude: -0.1278, + region: 'England', + timezone: 'Europe/London', +} satisfies NextRequest['geo'] diff --git a/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/replace-type-geo-only.output.ts b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/replace-type-geo-only.output.ts new file mode 100644 index 0000000000000..9c31db5dd3653 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/replace-type-geo-only.output.ts @@ -0,0 +1,13 @@ +// @ts-nocheck +import { type NextRequest, NextResponse } from "next/server"; + +import type { Geo } from "@vercel/functions"; + +const geo = { + city: 'London', + country: 'United Kingdom', + latitude: 51.5074, + longitude: -0.1278, + region: 'England', + timezone: 'Europe/London', +} satisfies Geo diff --git a/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/replace-type-ip-only.input.ts b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/replace-type-ip-only.input.ts new file mode 100644 index 0000000000000..0496cf1bffedb --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/replace-type-ip-only.input.ts @@ -0,0 +1,4 @@ +// @ts-nocheck +import { type NextRequest, NextResponse } from "next/server"; + +const ip = '127.0.0.1' as NextRequest['ip'] \ No newline at end of file diff --git a/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/replace-type-ip-only.output.ts b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/replace-type-ip-only.output.ts new file mode 100644 index 0000000000000..f0021500f49a8 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/replace-type-ip-only.output.ts @@ -0,0 +1,4 @@ +// @ts-nocheck +import { type NextRequest, NextResponse } from "next/server"; + +const ip = '127.0.0.1' as string | undefined \ No newline at end of file diff --git a/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/replace-type.input.ts b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/replace-type.input.ts new file mode 100644 index 0000000000000..b0f9ccdfcb6d1 --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/replace-type.input.ts @@ -0,0 +1,28 @@ +// @ts-nocheck +import { type NextRequest, NextResponse } from "next/server"; + +const mockGeo = { + city: 'London', + country: 'United Kingdom', + latitude: 51.5074, + longitude: -0.1278, + region: 'England', + timezone: 'Europe/London', +} as NextRequest['geo'] +const mockIp = '127.0.0.1' as NextRequest['ip'] + +function getGeo(request: NextRequest): NextRequest['geo'] { + const geo = request.geo ?? mockGeo; + return geo; +} + +function getIp(request: NextRequest): NextRequest['ip'] { + const ip = request.ip ?? mockIp; + return ip; +} + +export function GET(request: NextRequest) { + const geo = getGeo(request); + const ip = getIp(request); + return NextResponse.json({ geo, ip }); +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/replace-type.output.ts b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/replace-type.output.ts new file mode 100644 index 0000000000000..3dd760a09582c --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/replace-type.output.ts @@ -0,0 +1,30 @@ +// @ts-nocheck +import { type NextRequest, NextResponse } from "next/server"; + +import { geolocation, ipAddress, type Geo } from "@vercel/functions"; + +const mockGeo = { + city: 'London', + country: 'United Kingdom', + latitude: 51.5074, + longitude: -0.1278, + region: 'England', + timezone: 'Europe/London', +} as Geo +const mockIp = '127.0.0.1' as string | undefined + +function getGeo(request: NextRequest): Geo { + const geo = geolocation(request) ?? mockGeo; + return geo; +} + +function getIp(request: NextRequest): string | undefined { + const ip = ipAddress(request) ?? mockIp; + return ip; +} + +export function GET(request: NextRequest) { + const geo = getGeo(request); + const ip = getIp(request); + return NextResponse.json({ geo, ip }); +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/skip-empty-ast.input.ts b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/skip-empty-ast.input.ts new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/skip-empty-ast.output.ts b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/skip-empty-ast.output.ts new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/skip-no-next-request.input.ts b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/skip-no-next-request.input.ts new file mode 100644 index 0000000000000..36cbed8d775fa --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/skip-no-next-request.input.ts @@ -0,0 +1,6 @@ +// @ts-nocheck +import { NextResponse } from "next/server"; + +export function GET() { + return NextResponse.json({ message: 'Hello World' }); +} diff --git a/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/skip-no-next-request.output.ts b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/skip-no-next-request.output.ts new file mode 100644 index 0000000000000..36cbed8d775fa --- /dev/null +++ b/packages/next-codemod/transforms/__testfixtures__/next-request-geo-ip/skip-no-next-request.output.ts @@ -0,0 +1,6 @@ +// @ts-nocheck +import { NextResponse } from "next/server"; + +export function GET() { + return NextResponse.json({ message: 'Hello World' }); +} diff --git a/packages/next-codemod/transforms/__tests__/next-async-request-api-dynamic-apis.test.js b/packages/next-codemod/transforms/__tests__/next-async-request-api-dynamic-apis.test.js new file mode 100644 index 0000000000000..df85f3a2466c3 --- /dev/null +++ b/packages/next-codemod/transforms/__tests__/next-async-request-api-dynamic-apis.test.js @@ -0,0 +1,24 @@ +/* global jest */ +jest.autoMockOff() +const defineTest = require('jscodeshift/dist/testUtils').defineTest +const { readdirSync } = require('fs') +const { join } = require('path') + +const testFileRegex = /\.input\.(j|t)sx?$/ + +const fixtureDir = 'next-async-request-api-dynamic-apis' +const transformName = 'next-async-request-api' +const fixtureDirPath = join(__dirname, '..', '__testfixtures__', fixtureDir) +const fixtures = readdirSync(fixtureDirPath) + .filter(file => testFileRegex.test(file)) + + +for (const file of fixtures) { + const isTsx = file.endsWith('.tsx') + const fixture = file.replace(testFileRegex, '') + + const prefix = `${fixtureDir}/${fixture}`; + defineTest(__dirname, transformName, null, prefix, { + parser: isTsx ? 'tsx' : 'babel', + }); +} diff --git a/packages/next-codemod/transforms/__tests__/next-async-request-api-dynamic-props.test.js b/packages/next-codemod/transforms/__tests__/next-async-request-api-dynamic-props.test.js new file mode 100644 index 0000000000000..3ee38f4803d63 --- /dev/null +++ b/packages/next-codemod/transforms/__tests__/next-async-request-api-dynamic-props.test.js @@ -0,0 +1,24 @@ +/* global jest */ +jest.autoMockOff() +const defineTest = require('jscodeshift/dist/testUtils').defineTest +const { readdirSync } = require('fs') +const { join } = require('path') + +const testFileRegex = /\.input\.(j|t)sx?$/ + +const fixtureDir = 'next-async-request-api-dynamic-props' +const transformName = 'next-async-request-api' +const fixtureDirPath = join(__dirname, '..', '__testfixtures__', fixtureDir) +const fixtures = readdirSync(fixtureDirPath) + .filter(file => testFileRegex.test(file)) + + +for (const file of fixtures) { + const isTsx = file.endsWith('.tsx') + const fixture = file.replace(testFileRegex, '') + + const prefix = `${fixtureDir}/${fixture}`; + defineTest(__dirname, transformName, null, prefix, { + parser: isTsx ? 'tsx' : 'babel', + }); +} diff --git a/packages/next-codemod/transforms/__tests__/next-request-geo-ip.test.js b/packages/next-codemod/transforms/__tests__/next-request-geo-ip.test.js new file mode 100644 index 0000000000000..6bee46d257b00 --- /dev/null +++ b/packages/next-codemod/transforms/__tests__/next-request-geo-ip.test.js @@ -0,0 +1,16 @@ +/* global jest */ +jest.autoMockOff() +const defineTest = require('jscodeshift/dist/testUtils').defineTest +const { readdirSync } = require('fs') +const { join } = require('path') + +const fixtureDir = 'next-request-geo-ip' +const fixtureDirPath = join(__dirname, '..', '__testfixtures__', fixtureDir) +const fixtures = readdirSync(fixtureDirPath) + .filter(file => file.endsWith('.input.ts')) + .map(file => file.replace('.input.ts', '')) + +for (const fixture of fixtures) { + const prefix = `${fixtureDir}/${fixture}`; + defineTest(__dirname, fixtureDir, null, prefix, { parser: 'ts' }); +} diff --git a/packages/next-codemod/transforms/lib/async-request-api/index.ts b/packages/next-codemod/transforms/lib/async-request-api/index.ts new file mode 100644 index 0000000000000..e1afa5f894197 --- /dev/null +++ b/packages/next-codemod/transforms/lib/async-request-api/index.ts @@ -0,0 +1,20 @@ +import type { API, FileInfo } from 'jscodeshift' +import { transformDynamicProps } from './next-async-dynamic-prop' +import { transformDynamicAPI } from './next-async-dynamic-api' + +export default function transform(file: FileInfo, api: API) { + const filePath = file.path + // if it's node_modules or types file, skip + if (/node_modules/.test(filePath) || /\.d\.(m|c)?ts$/.test(filePath)) { + return file.source + } + const transforms = [transformDynamicProps, transformDynamicAPI] + + return transforms.reduce((source, transformFn) => { + const result = transformFn(source, api, file.path) + if (!result) { + return source + } + return result + }, file.source) +} diff --git a/packages/next-codemod/transforms/lib/async-request-api/next-async-dynamic-api.ts b/packages/next-codemod/transforms/lib/async-request-api/next-async-dynamic-api.ts new file mode 100644 index 0000000000000..157d93a46507c --- /dev/null +++ b/packages/next-codemod/transforms/lib/async-request-api/next-async-dynamic-api.ts @@ -0,0 +1,311 @@ +import type { API, ASTPath, CallExpression, Collection } from 'jscodeshift' +import { + determineClientDirective, + isFunctionType, + isMatchedFunctionExported, + turnFunctionReturnTypeToAsync, + insertReactUseImport, +} from './utils' + +function wrapParathnessIfNeeded( + hasChainAccess: boolean, + j: API['jscodeshift'], + expression +) { + return hasChainAccess ? j.parenthesizedExpression(expression) : expression +} + +export function transformDynamicAPI( + source: string, + api: API, + filePath: string +) { + const j = api.jscodeshift.withParser('tsx') + const root = j(source) + let modified = false + + // Check if 'use' from 'react' needs to be imported + let needsReactUseImport = false + const insertedTypes = new Set() + + function isImportedInModule( + path: ASTPath, + functionName: string + ) { + const closestDef = j(path) + .closestScope() + .findVariableDeclarators(functionName) + return closestDef.size() === 0 + } + + function processAsyncApiCalls( + asyncRequestApiName: string, + originRequestApiName: string + ) { + // Process each call to cookies() or headers() + root + .find(j.CallExpression, { + callee: { + type: 'Identifier', + name: asyncRequestApiName, + }, + }) + .forEach((path) => { + const isImportedTopLevel = isImportedInModule(path, asyncRequestApiName) + if (!isImportedTopLevel) { + return + } + + const closetScope = j(path).closestScope() + + // First search the closed function of the current path + let closestFunction: Collection + closestFunction = j(path).closest(j.FunctionDeclaration) + if (closestFunction.size() === 0) { + closestFunction = j(path).closest(j.FunctionExpression) + } + if (closestFunction.size() === 0) { + closestFunction = j(path).closest(j.ArrowFunctionExpression) + } + + const isAsyncFunction = closestFunction + .nodes() + .some((node) => node.async) + + const isCallAwaited = path.parentPath?.node?.type === 'AwaitExpression' + + const hasChainAccess = + path.parentPath.value.type === 'MemberExpression' && + path.parentPath.value.object === path.node + + // For cookies/headers API, only transform server and shared components + if (isAsyncFunction) { + if (!isCallAwaited) { + // Add 'await' in front of cookies() call + const expr = j.awaitExpression( + // add parentheses to wrap the function call + j.callExpression(j.identifier(asyncRequestApiName), []) + ) + j(path).replaceWith(wrapParathnessIfNeeded(hasChainAccess, j, expr)) + modified = true + } + } else { + // Determine if the function is an export + const closetScopePath = closetScope.get() + const isFromExport = isMatchedFunctionExported(closetScopePath, j) + const closestFunctionNode = closetScope.size() + ? closetScopePath.node + : null + + // If it's exporting a function directly, exportFunctionNode is same as exportNode + // e.g. export default function MyComponent() {} + // If it's exporting a variable declaration, exportFunctionNode is the function declaration + // e.g. export const MyComponent = function() {} + let exportFunctionNode + + if (isFromExport) { + if ( + closestFunctionNode && + isFunctionType(closestFunctionNode.type) + ) { + exportFunctionNode = closestFunctionNode + } + } else { + // Is normal async function + exportFunctionNode = closestFunctionNode + } + + let canConvertToAsync = false + // check if current path is under the default export function + if (isFromExport) { + // if default export function is not async, convert it to async, and await the api call + if (!isCallAwaited) { + // If the scoped function is async function + if ( + isFunctionType(exportFunctionNode.type) && + exportFunctionNode.async === false + ) { + canConvertToAsync = true + exportFunctionNode.async = true + } + + if (canConvertToAsync) { + const expr = j.awaitExpression( + j.callExpression(j.identifier(asyncRequestApiName), []) + ) + j(path).replaceWith( + wrapParathnessIfNeeded(hasChainAccess, j, expr) + ) + + turnFunctionReturnTypeToAsync(closetScopePath.node, j) + + modified = true + } + } + } else { + // if parent is function and it's a hook, which starts with 'use', wrap the api call with 'use()' + const parentFunction = + j(path).closest(j.FunctionDeclaration) || + j(path).closest(j.FunctionExpression) || + j(path).closest(j.ArrowFunctionExpression) + + if (parentFunction.size() > 0) { + const parentFunctionName = parentFunction.get().node.id?.name + const isParentFunctionHook = parentFunctionName?.startsWith('use') + if (isParentFunctionHook) { + j(path).replaceWith( + j.callExpression(j.identifier('use'), [ + j.callExpression(j.identifier(asyncRequestApiName), []), + ]) + ) + needsReactUseImport = true + } else { + castTypesOrAddComment( + j, + path, + originRequestApiName, + root, + filePath, + insertedTypes + ) + } + } else { + castTypesOrAddComment( + j, + path, + originRequestApiName, + root, + filePath, + insertedTypes + ) + } + modified = true + } + } + }) + } + + const isClientComponent = determineClientDirective(root, j, source) + + const importedNextAsyncRequestApisMapping = findImportMappingFromNextHeaders( + root, + j + ) + + // Only transform the valid calls in server or shared components + if (!isClientComponent) { + for (const originName in importedNextAsyncRequestApisMapping) { + const aliasName = importedNextAsyncRequestApisMapping[originName] + processAsyncApiCalls(aliasName, originName) + } + + // Add import { use } from 'react' if needed and not already imported + if (needsReactUseImport) { + insertReactUseImport(root, j) + } + } + + return modified ? root.toSource() : null +} + +// cast to unknown first, then the specific type +const API_CAST_TYPE_MAP = { + cookies: 'UnsafeUnwrappedCookies', + headers: 'UnsafeUnwrappedHeaders', + draftMode: 'UnsafeUnwrappedDraftMode', +} + +function castTypesOrAddComment( + j: API['jscodeshift'], + path: ASTPath, + originRequestApiName: string, + root: Collection, + filePath: string, + insertedTypes: Set +) { + const isTsFile = filePath.endsWith('.ts') || filePath.endsWith('.tsx') + if (isTsFile) { + /* Do type cast for headers, cookies, draftMode + import { + type UnsafeUnwrappedHeaders, + type UnsafeUnwrappedCookies, + type UnsafeUnwrappedDraftMode + } from 'next/headers' + + cookies() as unknown as UnsafeUnwrappedCookies + headers() as unknown as UnsafeUnwrappedHeaders + draftMode() as unknown as UnsafeUnwrappedDraftMode + + e.g. `` is cookies(), convert it to `( as unknown as UnsafeUnwrappedCookies)` + */ + + const targetType = API_CAST_TYPE_MAP[originRequestApiName] + + const newCastExpression = j.tsAsExpression( + j.tsAsExpression(path.node, j.tsUnknownKeyword()), + j.tsTypeReference(j.identifier(targetType)) + ) + // Replace the original expression with the new cast expression, + // also wrap () around the new cast expression. + j(path).replaceWith(j.parenthesizedExpression(newCastExpression)) + + // If cast types are not imported, add them to the import list + const importDeclaration = root.find(j.ImportDeclaration, { + source: { value: 'next/headers' }, + }) + if (importDeclaration.size() > 0) { + const hasImportedType = + importDeclaration + .find(j.TSTypeAliasDeclaration, { + id: { name: targetType }, + }) + .size() > 0 || + importDeclaration + .find(j.ImportSpecifier, { + imported: { name: targetType }, + }) + .size() > 0 + + if (!hasImportedType && !insertedTypes.has(targetType)) { + importDeclaration + .get() + .node.specifiers.push( + j.importSpecifier(j.identifier(`type ${targetType}`)) + ) + insertedTypes.add(targetType) + } + } + } else { + // Otherwise for JS file, leave a message to the user to manually handle the transformation + path.node.comments = [ + j.commentBlock( + ' TODO: please manually await this call, codemod cannot transform due to undetermined async scope ' + ), + ...(path.node.comments || []), + ] + } +} + +function findImportMappingFromNextHeaders(root: Collection, j: API['j']) { + const mappings = {} + + // Find the import declaration from 'next/headers' + root + .find(j.ImportDeclaration, { source: { value: 'next/headers' } }) + .forEach((importPath) => { + const importDeclaration = importPath.node + + // Iterate over the specifiers and build the mappings + importDeclaration.specifiers.forEach((specifier) => { + if (j.ImportSpecifier.check(specifier)) { + const importedName = specifier.imported.name // Original name (e.g., cookies) + const localName = specifier.local.name // Local name (e.g., myCookies or same as importedName) + + // Add to the mappings + mappings[importedName] = localName + } + }) + }) + + return mappings +} diff --git a/packages/next-codemod/transforms/lib/async-request-api/next-async-dynamic-prop.ts b/packages/next-codemod/transforms/lib/async-request-api/next-async-dynamic-prop.ts new file mode 100644 index 0000000000000..3b1ed9c52d177 --- /dev/null +++ b/packages/next-codemod/transforms/lib/async-request-api/next-async-dynamic-prop.ts @@ -0,0 +1,483 @@ +import type { + API, + Collection, + ASTPath, + ExportDefaultDeclaration, + ExportNamedDeclaration, + ObjectPattern, +} from 'jscodeshift' +import { + determineClientDirective, + generateUniqueIdentifier, + insertReactUseImport, + isFunctionType, + TARGET_NAMED_EXPORTS, + TARGET_PROP_NAMES, + turnFunctionReturnTypeToAsync, +} from './utils' + +const PAGE_PROPS = 'props' + +type FunctionalExportDeclaration = + | ExportDefaultDeclaration + | ExportNamedDeclaration + +function isAsyncFunctionDeclaration( + path: ASTPath +) { + const decl = path.value.declaration + const isAsyncFunction = + (decl.type === 'FunctionDeclaration' || + decl.type === 'FunctionExpression' || + decl.type === 'ArrowFunctionExpression') && + decl.async + return isAsyncFunction +} + +export function transformDynamicProps( + source: string, + api: API, + _filePath: string +) { + let modified = false + const j = api.jscodeshift.withParser('tsx') + const root = j(source) + // Check if 'use' from 'react' needs to be imported + let needsReactUseImport = false + // Based on the prop names + // e.g. destruct `params` { slug } = params + // e.g. destruct `searchParams `{ search } = searchParams + let insertedDestructPropNames = new Set() + // Rename props to `prop` argument for the function + let insertedRenamedPropFunctionNames = new Set() + + function processAsyncPropOfEntryFile(isClientComponent: boolean) { + // find `params` and `searchParams` in file, and transform the access to them + function renameAsyncPropIfExisted( + path: ASTPath + ) { + const decl = path.value.declaration + if ( + decl.type !== 'FunctionDeclaration' && + decl.type !== 'FunctionExpression' && + decl.type !== 'ArrowFunctionExpression' + ) { + return + } + + const params = decl.params + const propertiesMap = new Map() + + // If there's no first param, return + if (params.length !== 1) { + return + } + const propsIdentifier = generateUniqueIdentifier(PAGE_PROPS, path, j) + + const currentParam = params[0] + + // Argument destructuring case + if (currentParam.type === 'ObjectPattern') { + // Validate if the properties are not `params` and `searchParams`, + // if they are, quit the transformation + for (const prop of currentParam.properties) { + if ('key' in prop && prop.key.type === 'Identifier') { + const propName = prop.key.name + if (!TARGET_PROP_NAMES.has(propName)) { + return + } + } + } + + currentParam.properties.forEach((prop) => { + if ( + // Could be `Property` or `ObjectProperty` + 'key' in prop && + prop.key.type === 'Identifier' + ) { + const value = 'value' in prop ? prop.value : null + propertiesMap.set(prop.key.name, value) + } + }) + + const paramTypeAnnotation = currentParam.typeAnnotation + if (paramTypeAnnotation && paramTypeAnnotation.typeAnnotation) { + const typeAnnotation = paramTypeAnnotation.typeAnnotation + if (typeAnnotation.type === 'TSTypeLiteral') { + const typeLiteral = typeAnnotation + + // Find the type property for `params` + typeLiteral.members.forEach((member) => { + if ( + member.type === 'TSPropertySignature' && + member.key.type === 'Identifier' && + propertiesMap.has(member.key.name) + ) { + // if it's already a Promise, don't wrap it again, return + if ( + member.typeAnnotation && + member.typeAnnotation.typeAnnotation && + member.typeAnnotation.typeAnnotation.type === + 'TSTypeReference' && + member.typeAnnotation.typeAnnotation.typeName.type === + 'Identifier' && + member.typeAnnotation.typeAnnotation.typeName.name === + 'Promise' + ) { + return + } + + // Wrap the `params` type in Promise<> + if ( + member.typeAnnotation && + member.typeAnnotation.typeAnnotation && + j.TSType.check(member.typeAnnotation.typeAnnotation) + ) { + member.typeAnnotation.typeAnnotation = j.tsTypeReference( + j.identifier('Promise'), + j.tsTypeParameterInstantiation([ + // @ts-ignore + member.typeAnnotation.typeAnnotation, + ]) + ) + } + } + }) + } else if (typeAnnotation.type === 'TSTypeReference') { + // If typeAnnotation is a type or interface, change the properties to Promise + // e.g. interface PageProps { params: { slug: string } } => interface PageProps { params: Promise<{ slug: string }> } + const typeReference = typeAnnotation + if (typeReference.typeName.type === 'Identifier') { + // Find the actual type of the type reference + const foundTypes = findAllTypes( + root, + j, + typeReference.typeName.name + ) + + // Deal with interfaces + if (foundTypes.interfaces.length > 0) { + const interfaceDeclaration = foundTypes.interfaces[0] + if ( + interfaceDeclaration.type === 'TSInterfaceDeclaration' && + interfaceDeclaration.body?.type === 'TSInterfaceBody' + ) { + const typeBody = interfaceDeclaration.body.body + // if it's already a Promise, don't wrap it again, return + // traverse the typeReference's properties, if any is in propNames, wrap it in Promise<> if needed + typeBody.forEach((member) => { + if ( + member.type === 'TSPropertySignature' && + member.key.type === 'Identifier' && + TARGET_PROP_NAMES.has(member.key.name) + ) { + // if it's already a Promise, don't wrap it again, return + if ( + member.typeAnnotation && + member.typeAnnotation.typeAnnotation && + member.typeAnnotation?.typeAnnotation?.typeName + ?.name === 'Promise' + ) { + return + } + + // Wrap the prop type in Promise<> + if ( + member.typeAnnotation && + member.typeAnnotation.typeAnnotation && + // check if member name is in propNames + TARGET_PROP_NAMES.has(member.key.name) + ) { + member.typeAnnotation.typeAnnotation = + j.tsTypeReference( + j.identifier('Promise'), + j.tsTypeParameterInstantiation([ + member.typeAnnotation.typeAnnotation, + ]) + ) + } + } + }) + } + } + } + } + + propsIdentifier.typeAnnotation = paramTypeAnnotation + } + + // Override the first param to `props` + params[0] = propsIdentifier + + modified = true + } + + if (modified) { + resolveAsyncProp(path, propertiesMap, propsIdentifier.name) + } + } + + function getBodyOfFunctionDeclaration( + path: ASTPath + ) { + const decl = path.value.declaration + + let functionBody + if ( + decl.type === 'FunctionDeclaration' || + decl.type === 'FunctionExpression' || + decl.type === 'ArrowFunctionExpression' + ) { + if (decl.body && decl.body.type === 'BlockStatement') { + functionBody = decl.body.body + } + } + + return functionBody + } + + // Helper function to insert `const params = await asyncParams;` at the beginning of the function body + function resolveAsyncProp( + path: ASTPath, + propertiesMap: Map, + propsIdentifierName: string + ) { + const isDefaultExport = path.value.type === 'ExportDefaultDeclaration' + // If it's sync default export, and it's also server component, make the function async + if ( + isDefaultExport && + !isClientComponent && + !isAsyncFunctionDeclaration(path) + ) { + if ('async' in path.value.declaration) { + path.value.declaration.async = true + turnFunctionReturnTypeToAsync(path.value.declaration, j) + } + } + + const isAsyncFunc = isAsyncFunctionDeclaration(path) + // @ts-ignore quick way to check if it's a function and it has a name + const functionName = path.value.declaration.id?.name || 'default' + + const functionBody = getBodyOfFunctionDeclaration(path) + + for (const [propName, paramsProperty] of propertiesMap) { + const propNameIdentifier = j.identifier(propName) + const propsIdentifier = j.identifier(propsIdentifierName) + const accessedPropId = j.memberExpression( + propsIdentifier, + propNameIdentifier + ) + + // Check param property value, if it's destructed, we need to destruct it as well + // e.g. + // input: Page({ params: { slug } }) + // output: const { slug } = await props.params; rather than const props = await props.params; + const uid = functionName + ':' + propName + + if (paramsProperty?.type === 'ObjectPattern') { + const objectPattern = paramsProperty + const objectPatternProperties = objectPattern.properties + + // destruct the object pattern, e.g. { slug } => const { slug } = params; + const destructedObjectPattern = j.variableDeclaration('const', [ + j.variableDeclarator( + j.objectPattern( + objectPatternProperties.map((prop) => { + if ( + prop.type === 'Property' && + prop.key.type === 'Identifier' + ) { + return j.objectProperty( + j.identifier(prop.key.name), + j.identifier(prop.key.name) + ) + } + return prop + }) + ), + propNameIdentifier + ), + ]) + + if (!insertedDestructPropNames.has(uid) && functionBody) { + functionBody.unshift(destructedObjectPattern) + insertedDestructPropNames.add(uid) + } + } + + if (isAsyncFunc) { + // If it's async function, add await to the async props. + const paramAssignment = j.variableDeclaration('const', [ + j.variableDeclarator( + j.identifier(propName), + j.awaitExpression(accessedPropId) + ), + ]) + if (!insertedRenamedPropFunctionNames.has(uid) && functionBody) { + functionBody.unshift(paramAssignment) + insertedRenamedPropFunctionNames.add(uid) + } + } else { + const isFromExport = path.value.type === 'ExportNamedDeclaration' + if (isFromExport) { + // If it's export function, populate the function to async + if ( + isFunctionType(path.value.declaration.type) && + // Make TS happy + 'async' in path.value.declaration + ) { + path.value.declaration.async = true + turnFunctionReturnTypeToAsync(path.value.declaration, j) + + // Insert `const = await props.;` at the beginning of the function body + const paramAssignment = j.variableDeclaration('const', [ + j.variableDeclarator( + j.identifier(propName), + j.awaitExpression(accessedPropId) + ), + ]) + if (!insertedRenamedPropFunctionNames.has(uid) && functionBody) { + functionBody.unshift(paramAssignment) + insertedRenamedPropFunctionNames.add(uid) + } + } + } else { + const paramAssignment = j.variableDeclaration('const', [ + j.variableDeclarator( + j.identifier(propName), + j.callExpression(j.identifier('use'), [accessedPropId]) + ), + ]) + if (!insertedRenamedPropFunctionNames.has(uid) && functionBody) { + needsReactUseImport = true + functionBody.unshift(paramAssignment) + insertedRenamedPropFunctionNames.add(uid) + } + } + } + } + } + + // Process Function Declarations + // Matching: default export function XXX(...) { ... } + const defaultExportFunctionDeclarations = root.find( + j.ExportDefaultDeclaration, + { + declaration: { + type: (type) => + type === 'FunctionDeclaration' || + type === 'FunctionExpression' || + type === 'ArrowFunctionExpression', + }, + } + ) + + defaultExportFunctionDeclarations.forEach((path) => { + renameAsyncPropIfExisted(path) + }) + + // Matching Next.js functional named export of route entry: + // - export function (...) { ... } + // - export const = ... + const targetNamedExportDeclarations = root.find( + j.ExportNamedDeclaration, + // Filter the name is in TARGET_NAMED_EXPORTS + { + declaration: { + id: { + name: (idName: string) => { + return TARGET_NAMED_EXPORTS.has(idName) + }, + }, + }, + } + ) + + targetNamedExportDeclarations.forEach((path) => { + renameAsyncPropIfExisted(path) + }) + // TDOO: handle targetNamedDeclarators + // const targetNamedDeclarators = root.find( + // j.VariableDeclarator, + // (node) => + // node.id.type === 'Identifier' && + // TARGET_NAMED_EXPORTS.has(node.id.name) + // ) + } + + const isClientComponent = determineClientDirective(root, j, source) + + // Apply to `params` and `searchParams` + processAsyncPropOfEntryFile(isClientComponent) + + // Add import { use } from 'react' if needed and not already imported + if (needsReactUseImport) { + insertReactUseImport(root, j) + } + + return modified ? root.toSource() : null +} + +function findAllTypes( + root: Collection, + j: API['jscodeshift'], + typeName: string +) { + const types = { + interfaces: [], + typeAliases: [], + imports: [], + references: [], + } + + // Step 1: Find all interface declarations with the specified name + root + .find(j.TSInterfaceDeclaration, { + id: { + type: 'Identifier', + name: typeName, + }, + }) + .forEach((path) => { + types.interfaces.push(path.node) + }) + + // Step 2: Find all type alias declarations with the specified name + root + .find(j.TSTypeAliasDeclaration, { + id: { + type: 'Identifier', + name: typeName, + }, + }) + .forEach((path) => { + types.typeAliases.push(path.node) + }) + + // Step 3: Find all imported types with the specified name + root + .find(j.ImportSpecifier, { + imported: { + type: 'Identifier', + name: typeName, + }, + }) + .forEach((path) => { + types.imports.push(path.node) + }) + + // Step 4: Find all references to the specified type + root + .find(j.TSTypeReference, { + typeName: { + type: 'Identifier', + name: typeName, + }, + }) + .forEach((path) => { + types.references.push(path.node) + }) + + return types +} diff --git a/packages/next-codemod/transforms/lib/async-request-api/utils.ts b/packages/next-codemod/transforms/lib/async-request-api/utils.ts new file mode 100644 index 0000000000000..36eab775654a3 --- /dev/null +++ b/packages/next-codemod/transforms/lib/async-request-api/utils.ts @@ -0,0 +1,267 @@ +import type { + API, + ASTPath, + Collection, + FunctionDeclaration, + JSCodeshift, + Node, +} from 'jscodeshift' + +export const TARGET_NAMED_EXPORTS = new Set([ + // For custom route + 'GET', + 'HEAD', + 'POST', + 'PUT', + 'DELETE', + 'PATCH', + 'OPTIONS', + // For page and layout + 'generateMetadata', +]) + +export const TARGET_PROP_NAMES = new Set(['params', 'searchParams']) + +export function isFunctionType( + type: string +): type is + | 'FunctionDeclaration' + | 'FunctionExpression' + | 'ArrowFunctionExpression' { + return ( + type === 'FunctionDeclaration' || + type === 'FunctionExpression' || + type === 'ArrowFunctionExpression' + ) +} + +export function isMatchedFunctionExported( + path: ASTPath, + j: API['jscodeshift'] +): boolean { + const matchedFunctionNameFilter = (idName) => TARGET_NAMED_EXPORTS.has(idName) + + const directNamedExport = j(path).closest(j.ExportNamedDeclaration, { + declaration: { + type: 'FunctionDeclaration', + id: { + name: matchedFunctionNameFilter, + }, + }, + }) + + if (directNamedExport.size() > 0) { + return true + } + + // Check for default export (`export default function() {}`) + const isDefaultExport = j(path).closest(j.ExportDefaultDeclaration).size() > 0 + if (isDefaultExport) { + return true + } + + // Look for named export elsewhere in the file (`export { }`) + const root = j(path).closestScope().closest(j.Program) + const isNamedExport = + root + .find(j.ExportNamedDeclaration, { + specifiers: [ + { + type: 'ExportSpecifier', + exported: { + name: matchedFunctionNameFilter, + }, + }, + ], + }) + .size() > 0 + + // Look for variable export but still function, e.g. `export const = function() {}`, + // also check if variable is a function or arrow function + const isVariableExport = + root + .find(j.ExportNamedDeclaration, { + declaration: { + declarations: [ + { + type: 'VariableDeclarator', + id: { + type: 'Identifier', + name: matchedFunctionNameFilter, + }, + init: { + type: isFunctionType, + }, + }, + ], + }, + }) + .size() > 0 + + if (isVariableExport) return true + + return isNamedExport +} + +export function determineClientDirective( + root: Collection, + j: JSCodeshift, + source: string +) { + const hasStringDirective = + root + .find(j.Literal) + .filter((path) => { + const expr = path.node + + return ( + expr.value === 'use client' && path.parentPath.node.type === 'Program' + ) + }) + .size() > 0 + + // 'use client'; + const hasStringDirectiveWithSemicolon = + root + .find(j.StringLiteral) + .filter((path) => { + const expr = path.node + return ( + expr.type === 'StringLiteral' && + expr.value === 'use client' && + path.parentPath.node.type === 'Program' + ) + }) + .size() > 0 + + if (hasStringDirective || hasStringDirectiveWithSemicolon) return true + + // Since the client detection is not reliable with AST in jscodeshift, + // determine if 'use client' or "use client" is leading in the source code. + const trimmedSource = source.trim() + const containsClientDirective = + /^'use client'/.test(trimmedSource) || /^"use client"/g.test(trimmedSource) + + return containsClientDirective +} + +export function isPromiseType(typeAnnotation) { + return ( + typeAnnotation.type === 'TSTypeReference' && + typeAnnotation.typeName.name === 'Promise' + ) +} + +export function turnFunctionReturnTypeToAsync( + node: Node, + j: API['jscodeshift'] +) { + if ( + j.FunctionDeclaration.check(node) || + j.FunctionExpression.check(node) || + j.ArrowFunctionExpression.check(node) + ) { + if (node.returnType) { + const returnTypeAnnotation = node.returnType.typeAnnotation + const isReturnTypePromise = isPromiseType(returnTypeAnnotation) + // Turn to Promise + // e.g. () => { slug: string } to () => Promise<{ slug: string }> + // e.g. Anything to Promise + if (!isReturnTypePromise) { + if ( + node.returnType && + j.TSTypeAnnotation.check(node.returnType) && + (j.TSTypeReference.check(node.returnType.typeAnnotation) || + j.TSUnionType.check(node.returnType.typeAnnotation) || + j.TSTypePredicate.check(node.returnType.typeAnnotation)) + ) { + // Change the return type to Promise + node.returnType.typeAnnotation = j.tsTypeReference( + j.identifier('Promise'), + // @ts-ignore ignore the super strict type checking on the type annotation + j.tsTypeParameterInstantiation([returnTypeAnnotation]) + ) + } + } + } + } +} + +export function insertReactUseImport(root: Collection, j: API['j']) { + const hasReactUseImport = + root + .find(j.ImportSpecifier, { + imported: { + type: 'Identifier', + name: 'use', + }, + }) + .size() > 0 + + if (!hasReactUseImport) { + const reactImportDeclaration = root.find(j.ImportDeclaration, { + source: { + type: 'Literal', + value: 'react', + }, + }) + + if (reactImportDeclaration.size() > 0) { + // Add 'use' to existing 'react' import declaration + reactImportDeclaration + .get() + .node.specifiers.push(j.importSpecifier(j.identifier('use'))) + } else { + // Final all type imports to 'react' + + const reactImport = root.find(j.ImportDeclaration, { + source: { + type: 'Literal', + value: 'react', + }, + }) + + if (reactImport.size() > 0) { + reactImport + .get() + .node.specifiers.push(j.importSpecifier(j.identifier('use'))) + } else { + // Add new import declaration for 'react' and 'use' + root + .get() + .node.program.body.unshift( + j.importDeclaration( + [j.importSpecifier(j.identifier('use'))], + j.literal('react') + ) + ) + } + } + } +} + +function findSubScopeArgumentIdentifier( + path: ASTPath, + j: API['j'], + argName: string +) { + const defCount = j(path).find(j.Identifier, { name: argName }).size() + + return defCount > 0 +} + +export function generateUniqueIdentifier( + defaultIdName: string, + path: ASTPath, + j: API['j'] +): ReturnType { + let idName = defaultIdName + let idNameSuffix = 0 + while (findSubScopeArgumentIdentifier(path, j, idName)) { + idName = defaultIdName + idNameSuffix + idNameSuffix++ + } + + const propsIdentifier = j.identifier(idName) + return propsIdentifier +} diff --git a/packages/next-codemod/transforms/next-async-request-api.ts b/packages/next-codemod/transforms/next-async-request-api.ts new file mode 100644 index 0000000000000..f7c95d7110b9c --- /dev/null +++ b/packages/next-codemod/transforms/next-async-request-api.ts @@ -0,0 +1 @@ +export { default } from './lib/async-request-api/index' diff --git a/packages/next-codemod/transforms/next-request-geo-ip.ts b/packages/next-codemod/transforms/next-request-geo-ip.ts new file mode 100644 index 0000000000000..40d38138d3470 --- /dev/null +++ b/packages/next-codemod/transforms/next-request-geo-ip.ts @@ -0,0 +1,523 @@ +import type { + API, + ASTPath, + FileInfo, + FunctionDeclaration, + Collection, + Node, + ImportSpecifier, + Identifier, +} from 'jscodeshift' + +const GEO = 'geo' +const IP = 'ip' +const GEOLOCATION = 'geolocation' +const IP_ADDRESS = 'ipAddress' +const GEO_TYPE = 'Geo' + +export default function (fileInfo: FileInfo, api: API) { + const j = api.jscodeshift.withParser('tsx') + const root = j(fileInfo.source) + + if (!root.length) { + return fileInfo.source + } + + const nextReqType = root + .find(j.FunctionDeclaration) + .find(j.Identifier, (id) => { + if (id.typeAnnotation?.type !== 'TSTypeAnnotation') { + return false + } + + const typeAnn = id.typeAnnotation.typeAnnotation + return ( + typeAnn.type === 'TSTypeReference' && + typeAnn.typeName.type === 'Identifier' && + typeAnn.typeName.name === 'NextRequest' + ) + }) + + const vercelFuncImports = root.find(j.ImportDeclaration, { + source: { + value: '@vercel/functions', + }, + }) + + const vercelFuncImportSpecifiers = vercelFuncImports + .find(j.ImportSpecifier) + .nodes() + + const vercelFuncImportNames = new Set( + vercelFuncImportSpecifiers.map((node) => node.imported.name) + ) + + const hasGeolocation = vercelFuncImportNames.has(GEOLOCATION) + const hasIpAddress = vercelFuncImportNames.has(IP_ADDRESS) + const hasGeoType = vercelFuncImportNames.has(GEO_TYPE) + + let identifierNames = new Set() + + // if all identifiers are already imported, we don't need to create + // a unique identifier for them, therefore we don't look for all + // identifier names in the file + if (!hasGeolocation || !hasIpAddress || !hasGeoType) { + const allIdentifiers = root.find(j.Identifier).nodes() + identifierNames = new Set(allIdentifiers.map((node) => node.name)) + } + + let geoIdentifier = hasGeolocation + ? getExistingIdentifier(vercelFuncImportSpecifiers, GEOLOCATION) + : getUniqueIdentifier(identifierNames, GEOLOCATION) + + let ipIdentifier = hasIpAddress + ? getExistingIdentifier(vercelFuncImportSpecifiers, IP_ADDRESS) + : getUniqueIdentifier(identifierNames, IP_ADDRESS) + + let geoTypeIdentifier = hasGeoType + ? getExistingIdentifier(vercelFuncImportSpecifiers, GEO_TYPE) + : getUniqueIdentifier(identifierNames, GEO_TYPE) + + let { needImportGeolocation, needImportIpAddress } = replaceGeoIpValues( + j, + nextReqType, + geoIdentifier, + ipIdentifier + ) + let { needImportGeoType, hasChangedIpType } = replaceGeoIpTypes( + j, + root, + geoTypeIdentifier + ) + + let needChanges = + needImportGeolocation || + needImportIpAddress || + needImportGeoType || + hasChangedIpType + + if (!needChanges) { + return fileInfo.source + } + + // Even if there was a change above, if there's an existing import, + // we don't need to import them again. + needImportGeolocation = !hasGeolocation && needImportGeolocation + needImportIpAddress = !hasIpAddress && needImportIpAddress + needImportGeoType = !hasGeoType && needImportGeoType + + insertImportDeclarations( + j, + root, + vercelFuncImports, + needImportGeolocation, + needImportIpAddress, + needImportGeoType, + geoIdentifier, + ipIdentifier, + geoTypeIdentifier + ) + return root.toSource() +} + +/** + * Returns an existing identifier from the Vercel functions import declaration. + */ +function getExistingIdentifier( + vercelFuncImportSpecifiers: ImportSpecifier[], + identifier: string +) { + const existingIdentifier = vercelFuncImportSpecifiers.find( + (node) => node.imported.name === identifier + ) + + return ( + existingIdentifier?.local?.name || + existingIdentifier.imported.name || + identifier + ) +} + +/** + * Returns a unique identifier by adding a suffix to the original identifier + * if it already exists in the set. + */ +function getUniqueIdentifier(identifierNames: Set, identifier: string) { + let suffix = 1 + let uniqueIdentifier = identifier + while (identifierNames.has(uniqueIdentifier)) { + uniqueIdentifier = `${identifier}${suffix}` + suffix++ + } + return uniqueIdentifier +} + +/** + * Replaces accessors `geo` and `ip` of NextRequest with corresponding + * function calls from `@vercel/functions`. + * + * Creates new variable declarations for destructuring assignments. + */ +function replaceGeoIpValues( + j: API['jscodeshift'], + nextReqType: Collection, + geoIdentifier: string, + ipIdentifier: string +): { + needImportGeolocation: boolean + needImportIpAddress: boolean +} { + let needImportGeolocation = false + let needImportIpAddress = false + + for (const nextReqPath of nextReqType.paths()) { + const fnPath: ASTPath = + nextReqPath.parentPath.parentPath + const fn = j(fnPath) + const blockStatement = fn.find(j.BlockStatement) + const varDeclarators = fn.find(j.VariableDeclarator) + + // req.geo, req.ip + const geoAccesses = blockStatement.find( + j.MemberExpression, + (me) => + me.object.type === 'Identifier' && + me.object.name === nextReqPath.node.name && + me.property.type === 'Identifier' && + me.property.name === GEO + ) + const ipAccesses = blockStatement.find( + j.MemberExpression, + (me) => + me.object.type === 'Identifier' && + me.object.name === nextReqPath.node.name && + me.property.type === 'Identifier' && + me.property.name === IP + ) + + // var { geo, ip } = req + const geoDestructuring = varDeclarators.filter( + (path) => + path.node.id.type === 'ObjectPattern' && + path.node.id.properties.some( + (prop) => + prop.type === 'ObjectProperty' && + prop.key.type === 'Identifier' && + prop.key.name === GEO + ) + ) + const ipDestructuring = varDeclarators.filter( + (path) => + path.node.id.type === 'ObjectPattern' && + path.node.id.properties.some( + (prop) => + prop.type === 'ObjectProperty' && + prop.key.type === 'Identifier' && + prop.key.name === IP + ) + ) + + // geolocation(req), ipAddress(req) + const geoCall = j.callExpression(j.identifier(geoIdentifier), [ + { + ...nextReqPath.node, + typeAnnotation: null, + }, + ]) + const ipCall = j.callExpression(j.identifier(ipIdentifier), [ + { + ...nextReqPath.node, + typeAnnotation: null, + }, + ]) + + geoAccesses.replaceWith(geoCall) + ipAccesses.replaceWith(ipCall) + + /** + * For each destructuring assignment, we create a new variable + * declaration and insert it after the current block statement. + * + * Before: + * + * ``` + * const { buildId, geo, ip } = req; + * ``` + * + * After: + * + * ``` + * const { buildId } = req; + * const geo = geolocation(req); + * const ip = ipAddress(req); + * ``` + */ + geoDestructuring.forEach((path) => { + if (path.node.id.type === 'ObjectPattern') { + const properties = path.node.id.properties + const geoProperty = properties.find( + (prop) => + prop.type === 'ObjectProperty' && + prop.key.type === 'Identifier' && + prop.key.name === GEO + ) + + const otherProperties = properties.filter( + (prop) => prop !== geoProperty + ) + + const geoDeclaration = j.variableDeclaration('const', [ + j.variableDeclarator( + j.identifier( + // Use alias from destructuring (if present) to retain references: + // const { geo: geoAlias } = req; -> const geoAlias = geolocation(req); + // This prevents errors from undeclared variables. + geoProperty.type === 'ObjectProperty' && + geoProperty.value.type === 'Identifier' + ? geoProperty.value.name + : GEO + ), + geoCall + ), + ]) + + path.node.id.properties = otherProperties + path.parent.insertAfter(geoDeclaration) + } + }) + ipDestructuring.forEach((path) => { + if (path.node.id.type === 'ObjectPattern') { + const properties = path.node.id.properties + const ipProperty = properties.find( + (prop) => + prop.type === 'ObjectProperty' && + prop.key.type === 'Identifier' && + prop.key.name === IP + ) + const otherProperties = properties.filter((prop) => prop !== ipProperty) + + const ipDeclaration = j.variableDeclaration('const', [ + j.variableDeclarator( + j.identifier( + // Use alias from destructuring (if present) to retain references: + // const { ip: ipAlias } = req; -> const ipAlias = ipAddress(req); + // This prevents errors from undeclared variables. + ipProperty.type === 'ObjectProperty' && + ipProperty.value.type === 'Identifier' + ? ipProperty.value.name + : IP + ), + ipCall + ), + ]) + + path.node.id.properties = otherProperties + path.parent.insertAfter(ipDeclaration) + } + }) + + needImportGeolocation = + needImportGeolocation || + geoAccesses.length > 0 || + geoDestructuring.length > 0 + needImportIpAddress = + needImportIpAddress || ipAccesses.length > 0 || ipDestructuring.length > 0 + } + + return { + needImportGeolocation, + needImportIpAddress, + } +} + +/** + * Replaces the types of `NextRequest["geo"]` and `NextRequest["ip"]` with + * corresponding types from `@vercel/functions`. + */ +function replaceGeoIpTypes( + j: API['jscodeshift'], + root: Collection, + geoTypeIdentifier: string +): { + needImportGeoType: boolean + hasChangedIpType: boolean +} { + let needImportGeoType = false + let hasChangedIpType = false + + // get the type of NextRequest that has accessed for ip and geo + // NextRequest['geo'], NextRequest['ip'] + const nextReqGeoType = root.find( + j.TSIndexedAccessType, + (tsIndexedAccessType) => { + return ( + tsIndexedAccessType.objectType.type === 'TSTypeReference' && + tsIndexedAccessType.objectType.typeName.type === 'Identifier' && + tsIndexedAccessType.objectType.typeName.name === 'NextRequest' && + tsIndexedAccessType.indexType.type === 'TSLiteralType' && + tsIndexedAccessType.indexType.literal.type === 'StringLiteral' && + tsIndexedAccessType.indexType.literal.value === GEO + ) + } + ) + const nextReqIpType = root.find( + j.TSIndexedAccessType, + (tsIndexedAccessType) => { + return ( + tsIndexedAccessType.objectType.type === 'TSTypeReference' && + tsIndexedAccessType.objectType.typeName.type === 'Identifier' && + tsIndexedAccessType.objectType.typeName.name === 'NextRequest' && + tsIndexedAccessType.indexType.type === 'TSLiteralType' && + tsIndexedAccessType.indexType.literal.type === 'StringLiteral' && + tsIndexedAccessType.indexType.literal.value === IP + ) + } + ) + + if (nextReqGeoType.length > 0) { + needImportGeoType = true + + // replace with type Geo + nextReqGeoType.replaceWith(j.identifier(geoTypeIdentifier)) + } + + if (nextReqIpType.length > 0) { + hasChangedIpType = true + + // replace with type string | undefined + nextReqIpType.replaceWith( + j.tsUnionType([j.tsStringKeyword(), j.tsUndefinedKeyword()]) + ) + } + + return { + needImportGeoType, + hasChangedIpType, + } +} + +/** + * Inserts import declarations from `"@vercel/functions"`. + * + * For the `Geo` type that needs to be imported to replace `NextRequest["geo"]`, + * if it is the only import needed, we import it as a type. + * + * ```ts + * import type { Geo } from "@vercel/functions"; + * ``` + * + * Otherwise, we import it as an inline type import. + * + * ```ts + * import { type Geo, ... } from "@vercel/functions"; + * ``` + */ +function insertImportDeclarations( + j: API['jscodeshift'], + root: Collection, + vercelFuncImports: Collection, + needImportGeolocation: boolean, + needImportIpAddress: boolean, + needImportGeoType: boolean, + geoIdentifier: string, + ipIdentifier: string, + geoTypeIdentifier: string +): void { + // No need inserting import. + if (!needImportGeolocation && !needImportIpAddress && !needImportGeoType) { + return + } + + // As we run this only when `NextRequest` is imported, there should be + // a "next/server" import. + const firstNextServerImport = root + .find(j.ImportDeclaration, { source: { value: 'next/server' } }) + .at(0) + const firstVercelFuncImport = vercelFuncImports.at(0) + + const hasVercelFuncImport = firstVercelFuncImport.length > 0 + + // If there's no "@vercel/functions" import, and we only need to import + // `Geo` type, we create a type import to avoid side effect with + // `verbatimModuleSyntax`. + // x-ref: https://typescript-eslint.io/rules/no-import-type-side-effects + if ( + !hasVercelFuncImport && + !needImportGeolocation && + !needImportIpAddress && + needImportGeoType + ) { + const geoTypeImportDeclaration = j.importDeclaration( + [ + needImportGeoType + ? j.importSpecifier( + j.identifier(GEO_TYPE), + j.identifier(geoTypeIdentifier) + ) + : null, + ].filter(Boolean), + j.literal('@vercel/functions'), + // import type { Geo } ... + 'type' + ) + firstNextServerImport.insertAfter(geoTypeImportDeclaration) + return + } + + const importDeclaration = j.importDeclaration( + [ + // If there was a duplicate identifier, we add an + // incremental number suffix to it and we use alias: + // `import { geolocation as geolocation1 } from ...` + needImportGeolocation + ? j.importSpecifier( + j.identifier(GEOLOCATION), + j.identifier(geoIdentifier) + ) + : null, + needImportIpAddress + ? j.importSpecifier( + j.identifier(IP_ADDRESS), + j.identifier(ipIdentifier) + ) + : null, + needImportGeoType + ? j.importSpecifier( + j.identifier(GEO_TYPE), + j.identifier(geoTypeIdentifier) + ) + : null, + ].filter(Boolean), + j.literal('@vercel/functions') + ) + + if (hasVercelFuncImport) { + firstVercelFuncImport + .get() + .node.specifiers.push(...importDeclaration.specifiers) + + if (needImportGeoType) { + const targetGeo = firstVercelFuncImport + .get() + .node.specifiers.find( + (specifier) => specifier.imported.name === GEO_TYPE + ) + if (targetGeo) { + targetGeo.importKind = 'type' + } + } + } else { + if (needImportGeoType) { + const targetGeo = importDeclaration.specifiers.find( + (specifier) => + specifier.type === 'ImportSpecifier' && + specifier.imported.name === GEO_TYPE + ) + if (targetGeo) { + // @ts-expect-error -- Missing types in jscodeshift. + targetGeo.importKind = 'type' + } + } + firstNextServerImport.insertAfter(importDeclaration) + } +} diff --git a/packages/next-codemod/tsconfig.json b/packages/next-codemod/tsconfig.json index bad5755406a6a..f54bd265b1843 100644 --- a/packages/next-codemod/tsconfig.json +++ b/packages/next-codemod/tsconfig.json @@ -3,10 +3,10 @@ "module": "commonjs", "sourceMap": true, "esModuleInterop": true, - "target": "es2015", + "target": "ES2022", "downlevelIteration": true, "preserveWatchOutput": true }, "include": ["**/*.ts"], - "exclude": ["node_modules"] + "exclude": ["node_modules", "transforms/__testfixtures__/**"] } diff --git a/packages/next-env/package.json b/packages/next-env/package.json index 03ce5935830d9..054a84cc46ad8 100644 --- a/packages/next-env/package.json +++ b/packages/next-env/package.json @@ -1,6 +1,6 @@ { "name": "@next/env", - "version": "15.0.0-canary.160", + "version": "15.0.0-canary.171", "keywords": [ "react", "next", diff --git a/packages/next-mdx/package.json b/packages/next-mdx/package.json index afa92c5b8cf63..52e83eb61c627 100644 --- a/packages/next-mdx/package.json +++ b/packages/next-mdx/package.json @@ -1,6 +1,6 @@ { "name": "@next/mdx", - "version": "15.0.0-canary.160", + "version": "15.0.0-canary.171", "main": "index.js", "license": "MIT", "repository": { diff --git a/packages/next-plugin-storybook/package.json b/packages/next-plugin-storybook/package.json index a40949c6f53ad..65361e3630411 100644 --- a/packages/next-plugin-storybook/package.json +++ b/packages/next-plugin-storybook/package.json @@ -1,6 +1,6 @@ { "name": "@next/plugin-storybook", - "version": "15.0.0-canary.160", + "version": "15.0.0-canary.171", "repository": { "url": "vercel/next.js", "directory": "packages/next-plugin-storybook" diff --git a/packages/next-polyfill-module/package.json b/packages/next-polyfill-module/package.json index 0a7d0e2ee337c..39fa701f0b02b 100644 --- a/packages/next-polyfill-module/package.json +++ b/packages/next-polyfill-module/package.json @@ -1,6 +1,6 @@ { "name": "@next/polyfill-module", - "version": "15.0.0-canary.160", + "version": "15.0.0-canary.171", "description": "A standard library polyfill for ES Modules supporting browsers (Edge 16+, Firefox 60+, Chrome 61+, Safari 10.1+)", "main": "dist/polyfill-module.js", "license": "MIT", diff --git a/packages/next-polyfill-nomodule/package.json b/packages/next-polyfill-nomodule/package.json index 1514dc0587970..51ae32860b9e0 100644 --- a/packages/next-polyfill-nomodule/package.json +++ b/packages/next-polyfill-nomodule/package.json @@ -1,6 +1,6 @@ { "name": "@next/polyfill-nomodule", - "version": "15.0.0-canary.160", + "version": "15.0.0-canary.171", "description": "A polyfill for non-dead, nomodule browsers.", "main": "dist/polyfill-nomodule.js", "license": "MIT", diff --git a/packages/next-swc/package.json b/packages/next-swc/package.json index 9fbc716e7c6e3..d39d8806036ef 100644 --- a/packages/next-swc/package.json +++ b/packages/next-swc/package.json @@ -1,6 +1,6 @@ { "name": "@next/swc", - "version": "15.0.0-canary.160", + "version": "15.0.0-canary.171", "private": true, "scripts": { "clean": "node ../../scripts/rm.mjs native", diff --git a/packages/next/headers.d.ts b/packages/next/headers.d.ts index b0db0bacc7bb9..e9317d037a84b 100644 --- a/packages/next/headers.d.ts +++ b/packages/next/headers.d.ts @@ -1 +1,3 @@ -export * from './dist/client/components/headers' +export * from './dist/server/request/cookies' +export * from './dist/server/request/headers' +export * from './dist/server/request/draft-mode' diff --git a/packages/next/headers.js b/packages/next/headers.js index 64d05b351ab48..8e77c79174870 100644 --- a/packages/next/headers.js +++ b/packages/next/headers.js @@ -1 +1,3 @@ -module.exports = require('./dist/client/components/headers') +module.exports.cookies = require('./dist/server/request/cookies').cookies +module.exports.headers = require('./dist/server/request/headers').headers +module.exports.draftMode = require('./dist/server/request/draft-mode').draftMode diff --git a/packages/next/package.json b/packages/next/package.json index 0b3739dab921e..29c7ed6ff1b70 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -1,6 +1,6 @@ { "name": "next", - "version": "15.0.0-canary.160", + "version": "15.0.0-canary.171", "description": "The React Framework", "main": "./dist/server/next.js", "license": "MIT", @@ -95,7 +95,7 @@ ] }, "dependencies": { - "@next/env": "15.0.0-canary.160", + "@next/env": "15.0.0-canary.171", "@swc/counter": "0.1.3", "@swc/helpers": "0.5.13", "busboy": "1.6.0", @@ -107,8 +107,8 @@ "@opentelemetry/api": "^1.1.0", "@playwright/test": "^1.41.2", "babel-plugin-react-compiler": "*", - "react": "19.0.0-rc-e740d4b1-20240919", - "react-dom": "19.0.0-rc-e740d4b1-20240919", + "react": "^18.2.0 || 19.0.0-rc-5d19e1c8-20240923", + "react-dom": "^18.2.0 || 19.0.0-rc-5d19e1c8-20240923", "sass": "^1.3.0" }, "peerDependenciesMeta": { @@ -159,11 +159,11 @@ "@jest/types": "29.5.0", "@mswjs/interceptors": "0.23.0", "@napi-rs/triples": "1.2.0", - "@next/font": "15.0.0-canary.160", - "@next/polyfill-module": "15.0.0-canary.160", - "@next/polyfill-nomodule": "15.0.0-canary.160", - "@next/react-refresh-utils": "15.0.0-canary.160", - "@next/swc": "15.0.0-canary.160", + "@next/font": "15.0.0-canary.171", + "@next/polyfill-module": "15.0.0-canary.171", + "@next/polyfill-nomodule": "15.0.0-canary.171", + "@next/react-refresh-utils": "15.0.0-canary.171", + "@next/swc": "15.0.0-canary.171", "@opentelemetry/api": "1.6.0", "@playwright/test": "1.41.2", "@swc/core": "1.7.0-nightly-20240714.1", diff --git a/packages/next/server.d.ts b/packages/next/server.d.ts index 872bbc3899ff1..e3ba1fa950e07 100644 --- a/packages/next/server.d.ts +++ b/packages/next/server.d.ts @@ -14,3 +14,5 @@ export { URLPattern } from 'next/dist/compiled/@edge-runtime/primitives/url' export { ImageResponse } from 'next/dist/server/web/spec-extension/image-response' export type { ImageResponseOptions } from 'next/dist/compiled/@vercel/og/types' export { unstable_after } from 'next/dist/server/after' +export type { UnsafeUnwrappedSearchParams } from 'next/dist/server/request/search-params' +export type { UnsafeUnwrappedParams } from 'next/dist/server/request/params' diff --git a/packages/next/src/api/headers.ts b/packages/next/src/api/headers.ts index 3f2279ff7dc5c..f264546cb19ff 100644 --- a/packages/next/src/api/headers.ts +++ b/packages/next/src/api/headers.ts @@ -1 +1,3 @@ -export * from '../client/components/headers' +export * from '../server/request/cookies' +export * from '../server/request/headers' +export * from '../server/request/draft-mode' diff --git a/packages/next/src/build/collect-build-traces.ts b/packages/next/src/build/collect-build-traces.ts index 7c926ff1f5613..cb23aa5bd2793 100644 --- a/packages/next/src/build/collect-build-traces.ts +++ b/packages/next/src/build/collect-build-traces.ts @@ -27,6 +27,7 @@ import { normalizeAppPath } from '../shared/lib/router/utils/app-paths' import isError from '../lib/is-error' import type { NodeFileTraceReasons } from '@vercel/nft' import type { RoutesUsingEdgeRuntime } from './utils' +import type { ExternalObject, TurboTasks } from './swc/generated-native' const debug = debugOriginal('next:build:build-traces') @@ -107,7 +108,7 @@ export async function collectBuildTraces({ }) { const startTime = Date.now() debug('starting build traces') - let turboTasksForTrace: unknown + let turboTasksForTrace: ExternalObject let bindings = await loadBindings() const runTurbotrace = async function () { diff --git a/packages/next/src/build/create-compiler-aliases.ts b/packages/next/src/build/create-compiler-aliases.ts index d485932344a8e..27f6d454616bf 100644 --- a/packages/next/src/build/create-compiler-aliases.ts +++ b/packages/next/src/build/create-compiler-aliases.ts @@ -1,4 +1,5 @@ import path from 'path' +import * as React from 'react' import { DOT_NEXT_ALIAS, PAGES_DIR_ALIAS, @@ -8,6 +9,7 @@ import { RSC_ACTION_CLIENT_WRAPPER_ALIAS, RSC_ACTION_VALIDATE_ALIAS, RSC_ACTION_ENCRYPTION_ALIAS, + RSC_CACHE_WRAPPER_ALIAS, type WebpackLayerName, } from '../lib/constants' import type { NextConfigComplete } from '../server/config-shared' @@ -20,6 +22,8 @@ interface CompilerAliases { [alias: string]: string | string[] } +const isReact19 = typeof React.use === 'function' + export function createWebpackAliases({ distDir, isClient, @@ -89,6 +93,12 @@ export function createWebpackAliases({ return { '@vercel/og$': 'next/dist/server/og/image-response', + // Avoid bundling both entrypoints in React 19 when we just need one. + // Also avoids bundler warnings in React 18 where react-dom/server.edge doesn't exist. + 'next/dist/server/ReactDOMServerPages': isReact19 + ? 'react-dom/server.edge' + : 'react-dom/server.browser', + // Alias next/dist imports to next/dist/esm assets, // let this alias hit before `next` alias. ...(isEdgeServer @@ -151,6 +161,9 @@ export function createWebpackAliases({ [RSC_ACTION_ENCRYPTION_ALIAS]: 'next/dist/server/app-render/encryption', + [RSC_CACHE_WRAPPER_ALIAS]: + 'next/dist/build/webpack/loaders/next-flight-loader/cache-wrapper', + ...(isClient || isEdgeServer ? { [clientResolveRewrites]: hasRewrites diff --git a/packages/next/src/build/flying-shuttle/inline-static-env.ts b/packages/next/src/build/flying-shuttle/inline-static-env.ts index 84a13b9fff1ef..bb9ddebf04f06 100644 --- a/packages/next/src/build/flying-shuttle/inline-static-env.ts +++ b/packages/next/src/build/flying-shuttle/inline-static-env.ts @@ -2,13 +2,28 @@ import fs from 'fs' import path from 'path' import { promisify } from 'util' import globOriginal from 'next/dist/compiled/glob' -import { getNextPublicEnvironmentVariables } from '../webpack/plugins/define-env-plugin' +import { + getNextConfigEnv, + getNextPublicEnvironmentVariables, +} from '../webpack/plugins/define-env-plugin' import { Sema } from 'next/dist/compiled/async-sema' +import type { NextConfigComplete } from '../../server/config-shared' const glob = promisify(globOriginal) -export async function inlineStaticEnv({ distDir }: { distDir: string }) { - const staticEnv = getNextPublicEnvironmentVariables() +export async function inlineStaticEnv({ + distDir, + config, +}: { + distDir: string + config: NextConfigComplete +}) { + const nextConfigEnv = getNextConfigEnv(config) + + const staticEnv = { + ...getNextPublicEnvironmentVariables(), + ...nextConfigEnv, + } const serverDir = path.join(distDir, 'server') const serverChunks = await glob('**/*.js', { @@ -20,6 +35,14 @@ export async function inlineStaticEnv({ distDir }: { distDir: string }) { }) const inlineSema = new Sema(8) + const nextConfigEnvKeys = Object.keys(nextConfigEnv).map((item) => + item.split('process.env.').pop() + ) + + const builtRegEx = new RegExp( + `[\\w]{1,}\\.env\\.(?:NEXT_PUBLIC_[\\w]{1,}${nextConfigEnvKeys.length ? '|' + nextConfigEnvKeys.join('|') : ''})`, + 'g' + ) for (const [parentDir, files] of [ [serverDir, serverChunks], @@ -33,7 +56,7 @@ export async function inlineStaticEnv({ distDir }: { distDir: string }) { await fs.promises.writeFile( filepath, - content.replace(/[\w]{1,}\.env\.NEXT_PUBLIC_[\w]{1,}/g, (match) => { + content.replace(builtRegEx, (match) => { let normalizedMatch = `process.env.${match.split('.').pop()}` if (staticEnv[normalizedMatch]) { diff --git a/packages/next/src/build/flying-shuttle/stitch-builds.ts b/packages/next/src/build/flying-shuttle/stitch-builds.ts index 274b367b7acf4..c1f784b0b70fc 100644 --- a/packages/next/src/build/flying-shuttle/stitch-builds.ts +++ b/packages/next/src/build/flying-shuttle/stitch-builds.ts @@ -85,15 +85,23 @@ export async function stitchBuilds( { overwrite: true } ) + async function copyIfNoDestFile(srcFile: string, destFile: string) { + const content = await fs.promises.readFile(srcFile) + await fs.promises + .writeFile(destFile, content, { flag: 'wx' }) + .catch((err) => { + if (err.code !== 'EEXIST') { + throw err + } + }) + } + async function copyPageChunk(entry: string, type: 'app' | 'pages') { - // copy entry chunk and flight manifest stuff - // TODO: copy .map files? const entryFile = path.join('server', type, `${entry}.js`) - await fs.promises.mkdir(path.join(distDir, path.dirname(entryFile)), { recursive: true, }) - await fs.promises.copyFile( + await copyIfNoDestFile( path.join(shuttleDir, entryFile + '.nft.json'), path.join(distDir, entryFile + '.nft.json') ) @@ -104,26 +112,24 @@ export async function stitchBuilds( type, `${entry}_${CLIENT_REFERENCE_MANIFEST}.js` ) - await fs.promises.copyFile( + await copyIfNoDestFile( path.join(shuttleDir, clientRefManifestFile), path.join(distDir, clientRefManifestFile) ) } - await fs.promises.copyFile( + await copyIfNoDestFile( path.join(shuttleDir, entryFile), path.join(distDir, entryFile) ) // copy map file as well if it exists - await fs.promises - .copyFile( - path.join(shuttleDir, `${entryFile}.map`), - path.join(distDir, `${entryFile}.map`) - ) - .catch((err) => { - if (err.code !== 'ENOENT') { - throw err - } - }) + await copyIfNoDestFile( + path.join(shuttleDir, `${entryFile}.map`), + path.join(distDir, `${entryFile}.map`) + ).catch((err) => { + if (err.code !== 'ENOENT') { + throw err + } + }) } const copySema = new Sema(8) @@ -161,21 +167,22 @@ export async function stitchBuilds( ) const dynamicRouteMap: Record = {} const combinedDynamicRoutes: Record[] = [ - ...currentRoutesManifest.dynamicRoutes, ...restoreRoutesManifest.dynamicRoutes, + ...currentRoutesManifest.dynamicRoutes, ] for (const route of combinedDynamicRoutes) { dynamicRouteMap[route.page] = route } const mergedRoutesManifest = { + ...restoreRoutesManifest, ...currentRoutesManifest, dynamicRoutes: getSortedRoutes( combinedDynamicRoutes.map((item) => item.page) ).map((page) => dynamicRouteMap[page]), staticRoutes: [ - ...currentRoutesManifest.staticRoutes, ...restoreRoutesManifest.staticRoutes, + ...currentRoutesManifest.staticRoutes, ], } await fs.promises.writeFile( @@ -311,6 +318,7 @@ export async function stitchBuilds( ) ) const mergedMiddlewareManifest = { + ...restoreMiddlewareManifest, ...currentMiddlewareManifest, functions: { ...restoreMiddlewareManifest.functions, @@ -344,6 +352,7 @@ export async function stitchBuilds( ].map(async (file) => JSON.parse(await fs.promises.readFile(file, 'utf8'))) ) const mergedNextFontManifest = { + ...restoreNextFontManifest, ...currentNextFontManifest, pages: { ...restoreNextFontManifest.pages, @@ -378,6 +387,7 @@ export async function stitchBuilds( ) ) const mergedFunctionsConfigManifest = { + ...restoreFunctionsConfigManifest, ...currentFunctionsConfigManifest, functions: { ...restoreFunctionsConfigManifest.functions, @@ -446,6 +456,7 @@ export async function stitchBuilds( ) ) const mergedServerRefManifest = { + ...restoreServerRefManifest, ...currentServerRefManifest, node: { ...restoreServerRefManifest.node, @@ -467,8 +478,5 @@ export async function stitchBuilds( )}` ) - // TODO: inline env variables post build by find/replace - // in all the chunks for NEXT_PUBLIC_? - return updatedManifests } diff --git a/packages/next/src/build/flying-shuttle/store-shuttle.ts b/packages/next/src/build/flying-shuttle/store-shuttle.ts index 9165a658c4d82..8faa93fcd3389 100644 --- a/packages/next/src/build/flying-shuttle/store-shuttle.ts +++ b/packages/next/src/build/flying-shuttle/store-shuttle.ts @@ -30,7 +30,6 @@ export function generateShuttleManifest(config: NextConfigComplete) { gitSha, nextVersion, config: { - env: config.env, i18n: config.i18n, basePath: config.basePath, sassOptions: config.sassOptions, diff --git a/packages/next/src/build/handle-externals.ts b/packages/next/src/build/handle-externals.ts index e5c99df0553f1..58bc73226049a 100644 --- a/packages/next/src/build/handle-externals.ts +++ b/packages/next/src/build/handle-externals.ts @@ -192,7 +192,7 @@ export function makeExternalHandler({ } const notExternalModules = - /^(?:private-next-pages\/|next\/(?:dist\/pages\/|(?:app|document|link|form|image|legacy\/image|constants|dynamic|script|navigation|headers|router)$)|string-hash|private-next-rsc-action-validate|private-next-rsc-action-client-wrapper|private-next-rsc-server-reference$)/ + /^(?:private-next-pages\/|next\/(?:dist\/pages\/|(?:app|document|link|form|image|legacy\/image|constants|dynamic|script|navigation|headers|router)$)|string-hash|private-next-rsc-action-validate|private-next-rsc-action-client-wrapper|private-next-rsc-server-reference|private-next-rsc-cache-wrapper$)/ if (notExternalModules.test(request)) { return } diff --git a/packages/next/src/build/index.ts b/packages/next/src/build/index.ts index 766df924bd9ee..0e8520aa15894 100644 --- a/packages/next/src/build/index.ts +++ b/packages/next/src/build/index.ts @@ -501,11 +501,12 @@ async function writeImagesManifest( const { deviceSizes, imageSizes } = images ;(images as any).sizes = [...deviceSizes, ...imageSizes] images.remotePatterns = (config?.images?.remotePatterns || []).map((p) => ({ - // Should be the same as matchRemotePattern() + // Modifying the manifest should also modify matchRemotePattern() protocol: p.protocol, hostname: makeRe(p.hostname).source, port: p.port, pathname: makeRe(p.pathname ?? '**', { dot: true }).source, + search: p.search, })) await writeManifest(path.join(distDir, IMAGES_MANIFEST), { @@ -771,6 +772,15 @@ export default async function build( await fs.mkdir(shuttleDir, { recursive: true, }) + + // since inlining comes after static generation we need + // to ensure this value is assigned to process env so it + // can still be accessed + for (const key in config.env) { + if (!process.env[key]) { + process.env[key] = config.env[key] + } + } } const customRoutes: CustomRoutes = await nextBuildSpan @@ -1776,9 +1786,12 @@ export default async function build( { filter(item) { // we copy page chunks separately to not copy stale entries - return !item.match(/^[/\\](pages|app)[/\\]/) + return ( + !item.startsWith('/middleware.js') && + !item.match(/^[/\\](pages|app)[/\\]/) + ) }, - overwrite: true, + overwrite: false, } ) } @@ -2667,7 +2680,7 @@ export default async function build( await nextBuildSpan .traceChild('inline-static-env') .traceAsyncFn(async () => { - await inlineStaticEnv({ distDir }) + await inlineStaticEnv({ config, distDir }) }) } } diff --git a/packages/next/src/build/swc/generated-native.d.ts b/packages/next/src/build/swc/generated-native.d.ts new file mode 100644 index 0000000000000..0f7888462ef24 --- /dev/null +++ b/packages/next/src/build/swc/generated-native.d.ts @@ -0,0 +1,382 @@ +// Manual additions to make the generated types below work. + +import type { TurbopackResult } from './types' + +export type TurboTasks = { readonly __tag: unique symbol } +export type ExternalEndpoint = { readonly __tag: unique symbol } +export type RefCell = { readonly __tag: unique symbol } +export type NapiRouteHas = { + type: string + key?: string + value?: string + readonly __tag: unique symbol +} + +export function lightningCssTransform(args: object): Promise +export function lightningCssTransformStyleAttribute( + args: object +): Promise + +// GENERATED-TYPES-BELOW +// DO NOT MANUALLY EDIT THESE TYPES +// You can regenerate this file by running `pnpm swc-build-native` in the root of the repo. + +/* tslint:disable */ +/* eslint-disable */ + +/* auto-generated by NAPI-RS */ + +export class ExternalObject { + readonly '': { + readonly '': unique symbol + [K: symbol]: T + } +} +export interface TransformOutput { + code: string + map?: string + output?: string +} +export function mdxCompile( + value: string, + option: Buffer, + signal?: AbortSignal | undefined | null +): Promise +export function mdxCompileSync(value: string, option: Buffer): string +export function minify( + input: Buffer, + opts: Buffer, + signal?: AbortSignal | undefined | null +): Promise +export function minifySync(input: Buffer, opts: Buffer): TransformOutput +export interface NapiEndpointConfig {} +export interface NapiServerPath { + path: string + contentHash: string +} +export interface NapiWrittenEndpoint { + type: string + entryPath?: string + clientPaths: Array + serverPaths: Array + config: NapiEndpointConfig +} +export function endpointWriteToDisk(endpoint: { + __napiType: 'Endpoint' +}): Promise +export function endpointServerChangedSubscribe( + endpoint: { __napiType: 'Endpoint' }, + issues: boolean, + func: (...args: any[]) => any +): { __napiType: 'RootTask' } +export function endpointClientChangedSubscribe( + endpoint: { __napiType: 'Endpoint' }, + func: (...args: any[]) => any +): { __napiType: 'RootTask' } +export interface NapiEnvVar { + name: string + value: string +} +export interface NapiDraftModeOptions { + previewModeId: string + previewModeEncryptionKey: string + previewModeSigningKey: string +} +export interface NapiProjectOptions { + /** + * A root path from which all files must be nested under. Trying to access + * a file outside this root will fail. Think of this as a chroot. + */ + rootPath: string + /** A path inside the root_path which contains the app/pages directories. */ + projectPath: string + /** + * next.config's distDir. Project initialization occurs eariler than + * deserializing next.config, so passing it as separate option. + */ + distDir?: string + /** Whether to watch he filesystem for file changes. */ + watch: boolean + /** The contents of next.config.js, serialized to JSON. */ + nextConfig: string + /** The contents of ts/config read by load-jsconfig, serialized to JSON. */ + jsConfig: string + /** A map of environment variables to use when compiling code. */ + env: Array + /** + * A map of environment variables which should get injected at compile + * time. + */ + defineEnv: NapiDefineEnv + /** The mode in which Next.js is running. */ + dev: boolean + /** The server actions encryption key. */ + encryptionKey: string + /** The build id. */ + buildId: string + /** Options for draft mode. */ + previewProps: NapiDraftModeOptions + /** The browserslist query to use for targeting browsers. */ + browserslistQuery: string +} +/** [NapiProjectOptions] with all fields optional. */ +export interface NapiPartialProjectOptions { + /** + * A root path from which all files must be nested under. Trying to access + * a file outside this root will fail. Think of this as a chroot. + */ + rootPath?: string + /** A path inside the root_path which contains the app/pages directories. */ + projectPath?: string + /** + * next.config's distDir. Project initialization occurs eariler than + * deserializing next.config, so passing it as separate option. + */ + distDir?: string | undefined | null + /** Whether to watch he filesystem for file changes. */ + watch?: boolean + /** The contents of next.config.js, serialized to JSON. */ + nextConfig?: string + /** The contents of ts/config read by load-jsconfig, serialized to JSON. */ + jsConfig?: string + /** A map of environment variables to use when compiling code. */ + env?: Array + /** + * A map of environment variables which should get injected at compile + * time. + */ + defineEnv?: NapiDefineEnv + /** The mode in which Next.js is running. */ + dev?: boolean + /** The server actions encryption key. */ + encryptionKey?: string + /** The build id. */ + buildId?: string + /** Options for draft mode. */ + previewProps?: NapiDraftModeOptions + /** The browserslist query to use for targeting browsers. */ + browserslistQuery?: string +} +export interface NapiDefineEnv { + client: Array + edge: Array + nodejs: Array +} +export interface NapiTurboEngineOptions { + /** An upper bound of memory that turbopack will attempt to stay under. */ + memoryLimit?: number +} +export function projectNew( + options: NapiProjectOptions, + turboEngineOptions: NapiTurboEngineOptions +): Promise<{ __napiType: 'Project' }> +export function projectUpdate( + project: { __napiType: 'Project' }, + options: NapiPartialProjectOptions +): Promise +export function projectShutdown(project: { + __napiType: 'Project' +}): Promise +export interface AppPageNapiRoute { + /** The relative path from project_path to the route file */ + originalName?: string + htmlEndpoint?: ExternalObject + rscEndpoint?: ExternalObject +} +export interface NapiRoute { + /** The router path */ + pathname: string + /** The relative path from project_path to the route file */ + originalName?: string + /** The type of route, eg a Page or App */ + type: string + pages?: Array + endpoint?: ExternalObject + htmlEndpoint?: ExternalObject + rscEndpoint?: ExternalObject + dataEndpoint?: ExternalObject +} +export interface NapiMiddleware { + endpoint: ExternalObject +} +export interface NapiInstrumentation { + nodeJs: ExternalObject + edge: ExternalObject +} +export interface NapiEntrypoints { + routes: Array + middleware?: NapiMiddleware + instrumentation?: NapiInstrumentation + pagesDocumentEndpoint: ExternalObject + pagesAppEndpoint: ExternalObject + pagesErrorEndpoint: ExternalObject +} +export function projectEntrypointsSubscribe( + project: { __napiType: 'Project' }, + func: (...args: any[]) => any +): { __napiType: 'RootTask' } +export function projectHmrEvents( + project: { __napiType: 'Project' }, + identifier: string, + func: (...args: any[]) => any +): { __napiType: 'RootTask' } +export interface HmrIdentifiers { + identifiers: Array +} +export function projectHmrIdentifiersSubscribe( + project: { __napiType: 'Project' }, + func: (...args: any[]) => any +): { __napiType: 'RootTask' } +export interface NapiUpdateMessage { + updateType: string + value?: NapiUpdateInfo +} +export interface NapiUpdateInfo { + duration: number + tasks: number +} +/** + * Subscribes to lifecycle events of the compilation. + * Emits an [UpdateMessage::Start] event when any computation starts. + * Emits an [UpdateMessage::End] event when there was no computation for the + * specified time (`aggregation_ms`). The [UpdateMessage::End] event contains + * information about the computations that happened since the + * [UpdateMessage::Start] event. It contains the duration of the computation + * (excluding the idle time that was spend waiting for `aggregation_ms`), and + * the number of tasks that were executed. + * + * The signature of the `func` is `(update_message: UpdateMessage) => void`. + */ +export function projectUpdateInfoSubscribe( + project: { __napiType: 'Project' }, + aggregationMs: number, + func: (...args: any[]) => any +): void +export interface StackFrame { + isServer: boolean + isInternal?: boolean + file: string + line?: number + column?: number + methodName?: string +} +export function projectTraceSource( + project: { __napiType: 'Project' }, + frame: StackFrame +): Promise +export function projectGetSourceForAsset( + project: { __napiType: 'Project' }, + filePath: string +): Promise +/** Runs exit handlers for the project registered using the [`ExitHandler`] API. */ +export function projectOnExit(project: { __napiType: 'Project' }): Promise +export function rootTaskDispose(rootTask: { __napiType: 'RootTask' }): void +export interface NapiIssue { + severity: string + stage: string + filePath: string + title: any + description?: any + detail?: any + source?: NapiIssueSource + documentationLink: string + subIssues: Array +} +export interface NapiIssueSource { + source: NapiSource + range?: NapiIssueSourceRange +} +export interface NapiIssueSourceRange { + start: NapiSourcePos + end: NapiSourcePos +} +export interface NapiSource { + ident: string + content?: string +} +export interface NapiSourcePos { + line: number + column: number +} +export interface NapiDiagnostic { + category: string + name: string + payload: Record +} +export function parse( + src: string, + options: Buffer, + filename?: string | undefined | null, + signal?: AbortSignal | undefined | null +): Promise +export function transform( + src: string | Buffer | undefined, + isModule: boolean, + options: Buffer, + signal?: AbortSignal | undefined | null +): Promise +export function transformSync( + src: string | Buffer | undefined, + isModule: boolean, + options: Buffer +): object +export function startTurbopackTraceServer(path: string): void +export interface NextBuildContext { + /** The root directory of the workspace. */ + root?: string + /** The project's directory. */ + dir?: string + /** + * next.config.js's distDir. Current there's some early stage setup + * requires this Before construct a context to read next.config.js, + * which we passes separately here. + */ + distDir?: string + /** The build ID. */ + buildId?: string + /** The rewrites, as computed by Next.js. */ + rewrites?: NapiRewrites + defineEnv: NapiDefineEnv +} +/** Keep in sync with [`next_core::next_config::Rewrites`] */ +export interface NapiRewrites { + fallback: Array + afterFiles: Array + beforeFiles: Array +} +/** Keep in sync with [`next_core::next_config::Rewrite`] */ +export interface NapiRewrite { + source: string + destination: string + basePath?: boolean + locale?: boolean + has?: Array + missing?: Array +} +export function createTurboTasks( + memoryLimit?: number | undefined | null +): ExternalObject +export function runTurboTracing( + options: Buffer, + turboTasks?: ExternalObject | undefined | null +): Promise> +export function getTargetTriple(): string +export function initHeapProfiler(): ExternalObject +export function teardownHeapProfiler( + guardExternal: ExternalObject +): void +/** + * Initialize tracing subscriber to emit traces. This configures subscribers + * for Trace Event Format . + */ +export function initCustomTraceSubscriber( + traceOutFilePath?: string | undefined | null +): ExternalObject +/** + * Teardown currently running tracing subscriber to flush out remaining traces. + * This should be called when parent node.js process exits, otherwise generated + * trace may drop traces in the buffer. + */ +export function teardownTraceSubscriber( + guardExternal: ExternalObject +): void diff --git a/packages/next/src/build/swc/generated-wasm.d.ts b/packages/next/src/build/swc/generated-wasm.d.ts new file mode 100644 index 0000000000000..19be5f54ba11f --- /dev/null +++ b/packages/next/src/build/swc/generated-wasm.d.ts @@ -0,0 +1,53 @@ +// DO NOT MANUALLY EDIT THESE TYPES +// You can regenerate this file by running `pnpm swc-build-wasm` in the root of the repo. + +/* tslint:disable */ +/* eslint-disable */ +/** + * @param {string} s + * @param {any} opts + * @returns {any} + */ +export function minifySync(s: string, opts: any): any +/** + * @param {string} s + * @param {any} opts + * @returns {Promise} + */ +export function minify(s: string, opts: any): Promise +/** + * @param {any} s + * @param {any} opts + * @returns {any} + */ +export function transformSync(s: any, opts: any): any +/** + * @param {any} s + * @param {any} opts + * @returns {Promise} + */ +export function transform(s: any, opts: any): Promise +/** + * @param {string} s + * @param {any} opts + * @returns {any} + */ +export function parseSync(s: string, opts: any): any +/** + * @param {string} s + * @param {any} opts + * @returns {Promise} + */ +export function parse(s: string, opts: any): Promise +/** + * @param {string} value + * @param {any} opts + * @returns {any} + */ +export function mdxCompileSync(value: string, opts: any): any +/** + * @param {string} value + * @param {any} opts + * @returns {Promise} + */ +export function mdxCompile(value: string, opts: any): Promise diff --git a/packages/next/src/build/swc/index.ts b/packages/next/src/build/swc/index.ts index ac4108ac3810d..06eb571c85afd 100644 --- a/packages/next/src/build/swc/index.ts +++ b/packages/next/src/build/swc/index.ts @@ -9,28 +9,52 @@ import { eventSwcLoadFailure } from '../../telemetry/events/swc-load-failure' import { patchIncorrectLockfile } from '../../lib/patch-incorrect-lockfile' import { downloadNativeNextSwc, downloadWasmSwc } from '../../lib/download-swc' import type { - TurboRuleConfigItem, NextConfigComplete, TurboLoaderItem, - TurboRuleConfigItemOrShortcut, + TurboRuleConfigItem, TurboRuleConfigItemOptions, + TurboRuleConfigItemOrShortcut, } from '../../server/config-shared' import { isDeepStrictEqual } from 'util' import { type DefineEnvPluginOptions, getDefineEnv, } from '../webpack/plugins/define-env-plugin' -import type { PageExtensions } from '../page-extensions-type' -import type { __ApiPreviewProps } from '../../server/api-utils' import { getReactCompilerLoader } from '../get-babel-loader-config' import { TurbopackInternalError } from '../../server/dev/turbopack-utils' +import type { + ExternalObject, + NapiPartialProjectOptions, + NapiProjectOptions, + TurboTasks, +} from './generated-native' +import type { + Binding, + DefineEnv, + Endpoint, + HmrIdentifiers, + Project, + ProjectOptions, + Route, + TurboEngineOptions, + TurbopackResult, + TurbopackStackFrame, + Update, + UpdateMessage, + WrittenEndpoint, +} from './types' + +type RawBindings = typeof import('./generated-native') +type RawWasmBindings = typeof import('./generated-wasm') & { + default?(): Promise +} const nextVersion = process.env.__NEXT_VERSION as string const ArchName = arch() const PlatformName = platform() -const infoLog = (...args: any[]) => { +function infoLog(...args: any[]) { if (process.env.NEXT_PRIVATE_BUILD_WORKER) { return } @@ -42,23 +66,19 @@ const infoLog = (...args: any[]) => { /** * Based on napi-rs's target triples, returns triples that have corresponding next-swc binaries. */ -export const getSupportedArchTriples: () => Record = () => { +export function getSupportedArchTriples(): Record { const { darwin, win32, linux, freebsd, android } = platformArchTriples return { darwin, win32: { arm64: win32.arm64, - ia32: win32.ia32.filter( - (triple: { abi: string }) => triple.abi === 'msvc' - ), - x64: win32.x64.filter((triple: { abi: string }) => triple.abi === 'msvc'), + ia32: win32.ia32.filter((triple) => triple.abi === 'msvc'), + x64: win32.x64.filter((triple) => triple.abi === 'msvc'), }, linux: { // linux[x64] includes `gnux32` abi, with x64 arch. - x64: linux.x64.filter( - (triple: { abi: string }) => triple.abi !== 'gnux32' - ), + x64: linux.x64.filter((triple) => triple.abi !== 'gnux32'), arm64: linux.arm64, // This target is being deprecated, however we keep it in `knownDefaultWasmFallbackTriples` for now arm: linux.arm, @@ -143,7 +163,7 @@ let lastNativeBindingsLoadErrorCode: | string | undefined = undefined let nativeBindings: Binding -let wasmBindings: any +let wasmBindings: Binding let downloadWasmPromise: any let pendingBindings: any let swcTraceFlushGuard: any @@ -152,46 +172,6 @@ let downloadNativeBindingsPromise: Promise | undefined = undefined export const lockfilePatchPromise: { cur?: Promise } = {} -export interface Binding { - isWasm: boolean - turbo: { - startTrace: any - nextBuild?: any - createTurboTasks?: any - entrypoints: { - stream: any - get: any - } - createProject: ( - options: ProjectOptions, - turboEngineOptions?: TurboEngineOptions - ) => Promise - startTurbopackTraceServer: (path: string) => void - } - mdx: { - compile: any - compileSync: any - } - minify: any - minifySync: any - transform: any - transformSync: any - parse: any - - getTargetTriple(): string | undefined - - initCustomTraceSubscriber?: any - teardownTraceSubscriber?: any - initHeapProfiler?: any - teardownHeapProfiler?: any - css: { - lightning: { - transform(transformOptions: any): Promise - transformStyleAttr(attrOptions: any): Promise - } - } -} - export async function loadBindings( useWasmBinary: boolean = false ): Promise { @@ -307,15 +287,15 @@ async function tryLoadNativeWithFallback(attempts: Array) { await downloadNativeBindingsPromise try { - let bindings = loadNative(nativeBindingsDirectory) - return bindings + return loadNative(nativeBindingsDirectory) } catch (a: any) { - attempts.concat(a) + attempts.push(...[].concat(a)) } + return undefined } -async function tryLoadWasmWithFallback(attempts: any) { +async function tryLoadWasmWithFallback(attempts: any[]) { try { let bindings = await loadWasm('') // @ts-expect-error TODO: this event has a wrong type. @@ -324,8 +304,8 @@ async function tryLoadWasmWithFallback(attempts: any) { nativeBindingsErrorCode: lastNativeBindingsLoadErrorCode, }) return bindings - } catch (a) { - attempts = attempts.concat(a) + } catch (a: any) { + attempts.push(...[].concat(a)) } try { @@ -354,8 +334,8 @@ async function tryLoadWasmWithFallback(attempts: any) { Log.warn(attempt) } return bindings - } catch (a) { - attempts = attempts.concat(a) + } catch (a: any) { + attempts.push(...[].concat(a)) } } @@ -374,6 +354,7 @@ function loadBindingsSync() { } logLoadFailure(attempts) + throw new Error('Failed to load bindings', { cause: attempts }) } let loggingLoadFailure = false @@ -400,80 +381,9 @@ function logLoadFailure(attempts: any, triedWasm = false) { process.exit(1) }) } -export interface ProjectOptions { - /** - * A root path from which all files must be nested under. Trying to access - * a file outside this root will fail. Think of this as a chroot. - */ - rootPath: string - - /** - * A path inside the root_path which contains the app/pages directories. - */ - projectPath: string - - /** - * The next.config.js contents. - */ - nextConfig: NextConfigComplete - - /** - * Jsconfig, or tsconfig contents. - * - * Next.js implicitly requires to read it to support few options - * https://nextjs.org/docs/architecture/nextjs-compiler#legacy-decorators - * https://nextjs.org/docs/architecture/nextjs-compiler#importsource - */ - jsConfig: { - compilerOptions: object - } - - /** - * A map of environment variables to use when compiling code. - */ - env: Record - - defineEnv: DefineEnv - - /** - * Whether to watch the filesystem for file changes. - */ - watch: boolean - - /** - * The mode in which Next.js is running. - */ - dev: boolean - - /** - * The server actions encryption key. - */ - encryptionKey: string - - /** - * The build id. - */ - buildId: string - - /** - * Options for draft mode. - */ - previewProps: __ApiPreviewProps - - /** - * The browserslist query to use for targeting browsers. - */ - browserslistQuery: string -} type RustifiedEnv = { name: string; value: string }[] -export interface DefineEnv { - client: RustifiedEnv - edge: RustifiedEnv - nodejs: RustifiedEnv -} - export function createDefineEnv({ isTurbopack, clientRouterFilters, @@ -515,275 +425,6 @@ export function createDefineEnv({ return defineEnv } -export interface TurboEngineOptions { - /** - * An upper bound of memory that turbopack will attempt to stay under. - */ - memoryLimit?: number -} - -export type StyledString = - | { - type: 'text' - value: string - } - | { - type: 'code' - value: string - } - | { - type: 'strong' - value: string - } - | { - type: 'stack' - value: StyledString[] - } - | { - type: 'line' - value: StyledString[] - } - -export interface Issue { - severity: string - stage: string - filePath: string - title: StyledString - description?: StyledString - detail?: StyledString - source?: { - source: { - ident: string - content?: string - } - range?: { - start: { - // 0-indexed - line: number - // 0-indexed - column: number - } - end: { - // 0-indexed - line: number - // 0-indexed - column: number - } - } - } - documentationLink: string - subIssues: Issue[] -} - -export interface Diagnostics { - category: string - name: string - payload: unknown -} - -export type TurbopackResult = T & { - issues: Issue[] - diagnostics: Diagnostics[] -} - -export interface Middleware { - endpoint: Endpoint -} - -export interface Instrumentation { - nodeJs: Endpoint - edge: Endpoint -} - -export interface Entrypoints { - routes: Map - middleware?: Middleware - instrumentation?: Instrumentation - pagesDocumentEndpoint: Endpoint - pagesAppEndpoint: Endpoint - pagesErrorEndpoint: Endpoint -} - -interface BaseUpdate { - resource: { - headers: unknown - path: string - } - diagnostics: unknown[] - issues: Issue[] -} - -interface IssuesUpdate extends BaseUpdate { - type: 'issues' -} - -interface EcmascriptMergedUpdate { - type: 'EcmascriptMergedUpdate' - chunks: { [moduleName: string]: { type: 'partial' } } - entries: { [moduleName: string]: { code: string; map: string; url: string } } -} - -interface PartialUpdate extends BaseUpdate { - type: 'partial' - instruction: { - type: 'ChunkListUpdate' - merged: EcmascriptMergedUpdate[] | undefined - } -} - -export type Update = IssuesUpdate | PartialUpdate - -export interface HmrIdentifiers { - identifiers: string[] -} - -/** @see https://github.com/vercel/next.js/blob/415cd74b9a220b6f50da64da68c13043e9b02995/packages/next-swc/crates/napi/src/next_api/project.rs#L824-L833 */ -export interface TurbopackStackFrame { - isServer: boolean - isInternal?: boolean - file: string - /** 1-indexed, unlike source map tokens */ - line?: number - /** 1-indexed, unlike source map tokens */ - column?: number | null - methodName?: string -} - -export type UpdateMessage = - | { - updateType: 'start' - } - | { - updateType: 'end' - value: UpdateInfo - } - -export interface UpdateInfo { - duration: number - tasks: number -} - -export interface Project { - update(options: Partial): Promise - - entrypointsSubscribe(): AsyncIterableIterator> - - hmrEvents(identifier: string): AsyncIterableIterator> - - hmrIdentifiersSubscribe(): AsyncIterableIterator< - TurbopackResult - > - - getSourceForAsset(filePath: string): Promise - - traceSource( - stackFrame: TurbopackStackFrame - ): Promise - - updateInfoSubscribe( - aggregationMs: number - ): AsyncIterableIterator> - - shutdown(): Promise - - onExit(): Promise -} - -export type Route = - | { - type: 'conflict' - } - | { - type: 'app-page' - pages: { - originalName: string - htmlEndpoint: Endpoint - rscEndpoint: Endpoint - }[] - } - | { - type: 'app-route' - originalName: string - endpoint: Endpoint - } - | { - type: 'page' - htmlEndpoint: Endpoint - dataEndpoint: Endpoint - } - | { - type: 'page-api' - endpoint: Endpoint - } - -export interface Endpoint { - /** Write files for the endpoint to disk. */ - writeToDisk(): Promise> - - /** - * Listen to client-side changes to the endpoint. - * After clientChanged() has been awaited it will listen to changes. - * The async iterator will yield for each change. - */ - clientChanged(): Promise> - - /** - * Listen to server-side changes to the endpoint. - * After serverChanged() has been awaited it will listen to changes. - * The async iterator will yield for each change. - */ - serverChanged( - includeIssues: boolean - ): Promise> -} - -interface EndpointConfig { - dynamic?: 'auto' | 'force-dynamic' | 'error' | 'force-static' - dynamicParams?: boolean - revalidate?: 'never' | 'force-cache' | number - fetchCache?: - | 'auto' - | 'default-cache' - | 'only-cache' - | 'force-cache' - | 'default-no-store' - | 'only-no-store' - | 'force-no-store' - runtime?: 'nodejs' | 'edge' - preferredRegion?: string -} - -export type ServerPath = { - path: string - contentHash: string -} - -export type WrittenEndpoint = - | { - type: 'nodejs' - /** The entry path for the endpoint. */ - entryPath: string - /** All client paths that have been written for the endpoint. */ - clientPaths: string[] - /** All server paths that have been written for the endpoint. */ - serverPaths: ServerPath[] - config: EndpointConfig - } - | { - type: 'edge' - /** All client paths that have been written for the endpoint. */ - clientPaths: string[] - /** All server paths that have been written for the endpoint. */ - serverPaths: ServerPath[] - config: EndpointConfig - } - | { - type: 'none' - clientPaths: [] - serverPaths: [] - config: EndpointConfig - } - function rustifyEnv(env: Record): RustifiedEnv { return Object.entries(env) .filter(([_, value]) => value != null) @@ -795,7 +436,7 @@ function rustifyEnv(env: Record): RustifiedEnv { // TODO(sokra) Support wasm option. function bindingToApi( - binding: any, + binding: RawBindings, _wasm: boolean ): Binding['turbo']['createProject'] { type NativeFunction = ( @@ -830,7 +471,9 @@ function bindingToApi( */ function subscribe( useBuffer: boolean, - nativeFunction: NativeFunction + nativeFunction: + | NativeFunction + | ((callback: (err: Error, value: T) => void) => Promise) ): AsyncIterableIterator { type BufferItem = | { err: Error; value: undefined } @@ -851,7 +494,7 @@ function bindingToApi( // The native function will call this every time it emits a new result. We // either need to notify a waiting consumer, or buffer the new result until // the consumer catches up. - const emitResult = (err: Error | undefined, value: T | undefined) => { + function emitResult(err: Error | undefined, value: T | undefined) { if (waiting) { let { resolve, reject } = waiting waiting = undefined @@ -864,8 +507,10 @@ function bindingToApi( } } - const iterator = (async function* () { - const task = await withErrorCause(() => nativeFunction(emitResult)) + async function* createIterator() { + const task = await withErrorCause<{ __napiType: 'RootTask' } | void>(() => + nativeFunction(emitResult) + ) try { while (!canceled) { if (buffer.length > 0) { @@ -886,9 +531,13 @@ function bindingToApi( } throw e } finally { - binding.rootTaskDispose(task) + if (task) { + binding.rootTaskDispose(task) + } } - })() + } + + const iterator = createIterator() iterator.return = async () => { canceled = true if (waiting) waiting.reject(cancel) @@ -898,8 +547,22 @@ function bindingToApi( } async function rustifyProjectOptions( + options: ProjectOptions + ): Promise { + return { + ...options, + nextConfig: await serializeNextConfig( + options.nextConfig, + options.projectPath! + ), + jsConfig: JSON.stringify(options.jsConfig), + env: rustifyEnv(options.env), + } + } + + async function rustifyPartialProjectOptions( options: Partial - ): Promise { + ): Promise { return { ...options, nextConfig: @@ -907,12 +570,11 @@ function bindingToApi( (await serializeNextConfig(options.nextConfig, options.projectPath!)), jsConfig: options.jsConfig && JSON.stringify(options.jsConfig), env: options.env && rustifyEnv(options.env), - defineEnv: options.defineEnv, } } class ProjectImpl implements Project { - private _nativeProject: { __napiType: 'Project' } + private readonly _nativeProject: { __napiType: 'Project' } constructor(nativeProject: { __napiType: 'Project' }) { this._nativeProject = nativeProject @@ -922,7 +584,7 @@ function bindingToApi( await withErrorCause(async () => binding.projectUpdate( this._nativeProject, - await rustifyProjectOptions(options) + await rustifyPartialProjectOptions(options) ) ) } @@ -1096,16 +758,13 @@ function bindingToApi( } updateInfoSubscribe(aggregationMs: number) { - const subscription = subscribe>( - true, - async (callback) => - binding.projectUpdateInfoSubscribe( - this._nativeProject, - aggregationMs, - callback - ) + return subscribe>(true, async (callback) => + binding.projectUpdateInfoSubscribe( + this._nativeProject, + aggregationMs, + callback + ) ) - return subscription } shutdown(): Promise { @@ -1118,15 +777,18 @@ function bindingToApi( } class EndpointImpl implements Endpoint { - private _nativeEndpoint: { __napiType: 'Endpoint' } + private readonly _nativeEndpoint: { __napiType: 'Endpoint' } constructor(nativeEndpoint: { __napiType: 'Endpoint' }) { this._nativeEndpoint = nativeEndpoint } async writeToDisk(): Promise> { - return await withErrorCause(() => - binding.endpointWriteToDisk(this._nativeEndpoint) + return await withErrorCause( + () => + binding.endpointWriteToDisk(this._nativeEndpoint) as Promise< + TurbopackResult + > ) } @@ -1309,10 +971,10 @@ function bindingToApi( } } - const createProject: Binding['turbo']['createProject'] = async ( - options, + return async function createProject( + options: ProjectOptions, turboEngineOptions - ) => { + ) { return new ProjectImpl( await binding.projectNew( await rustifyProjectOptions(options), @@ -1320,8 +982,6 @@ function bindingToApi( ) ) } - - return createProject } async function loadWasm(importPath = '') { @@ -1338,15 +998,31 @@ async function loadWasm(importPath = '') { // the import path must be exact when not in node_modules pkgPath = path.join(importPath, pkg, 'wasm.js') } - let bindings = await import(pathToFileURL(pkgPath).toString()) + let bindings: RawWasmBindings = await import( + pathToFileURL(pkgPath).toString() + ) if (pkg === '@next/swc-wasm-web') { - bindings = await bindings.default() + bindings = await bindings.default!() } infoLog('next-swc build: wasm build @next/swc-wasm-web') // Note wasm binary does not support async intefaces yet, all async // interface coereces to sync interfaces. wasmBindings = { + css: { + lightning: { + transform: function (_options: any) { + throw new Error( + '`css.lightning.transform` is not supported by the wasm bindings.' + ) + }, + transformStyleAttr: function (_options: any) { + throw new Error( + '`css.lightning.transformStyleAttr` is not supported by the wasm bindings.' + ) + }, + }, + }, isWasm: true, transform(src: string, options: any) { // TODO: we can remove fallback to sync interface once new stable version of next-swc gets published (current v12.2) @@ -1374,45 +1050,37 @@ async function loadWasm(importPath = '') { return undefined }, turbo: { - startTrace: () => { + startTrace() { Log.error('Wasm binding does not support trace yet') }, - entrypoints: { - stream: ( - turboTasks: any, - rootDir: string, - applicationDir: string, - pageExtensions: PageExtensions, - callbackFn: (err: Error, entrypoints: any) => void - ) => { - return bindings.streamEntrypoints( - turboTasks, - rootDir, - applicationDir, - pageExtensions, - callbackFn - ) - }, - get: ( - turboTasks: any, - rootDir: string, - applicationDir: string, - pageExtensions: PageExtensions - ) => { - return bindings.getEntrypoints( - turboTasks, - rootDir, - applicationDir, - pageExtensions - ) - }, + createTurboTasks: function ( + _memoryLimit?: number | undefined + ): ExternalObject { + throw new Error( + '`turbo.createTurboTasks` is not supported by the wasm bindings.' + ) + }, + createProject: function ( + _options: ProjectOptions, + _turboEngineOptions?: TurboEngineOptions | undefined + ): Promise { + throw new Error( + '`turbo.createProject` is not supported by the wasm bindings.' + ) + }, + startTurbopackTraceServer: function (_traceFilePath: string): void { + throw new Error( + '`turbo.startTurbopackTraceServer` is not supported by the wasm bindings.' + ) }, }, mdx: { - compile: (src: string, options: any) => - bindings.mdxCompile(src, getMdxOptions(options)), - compileSync: (src: string, options: any) => - bindings.mdxCompileSync(src, getMdxOptions(options)), + compile(src: string, options: any) { + return bindings.mdxCompile(src, getMdxOptions(options)) + }, + compileSync(src: string, options: any) { + return bindings.mdxCompileSync(src, getMdxOptions(options)) + }, }, } return wasmBindings @@ -1438,10 +1106,10 @@ function loadNative(importPath?: string) { return nativeBindings } - const customBindings = !!__INTERNAL_CUSTOM_TURBOPACK_BINDINGS + const customBindings: RawBindings = !!__INTERNAL_CUSTOM_TURBOPACK_BINDINGS ? require(__INTERNAL_CUSTOM_TURBOPACK_BINDINGS) : null - let bindings: any = customBindings + let bindings: RawBindings = customBindings let attempts: any[] = [] const NEXT_TEST_NATIVE_DIR = process.env.NEXT_TEST_NATIVE_DIR @@ -1559,47 +1227,18 @@ function loadNative(importPath?: string) { initHeapProfiler: bindings.initHeapProfiler, teardownHeapProfiler: bindings.teardownHeapProfiler, turbo: { - startTrace: (options = {}, turboTasks: unknown) => { + startTrace(options = {}, turboTasks: ExternalObject) { initHeapProfiler() return (customBindings ?? bindings).runTurboTracing( toBuffer({ exact: true, ...options }), turboTasks ) }, - createTurboTasks: (memoryLimit?: number): unknown => - bindings.createTurboTasks(memoryLimit), - entrypoints: { - stream: ( - turboTasks: any, - rootDir: string, - applicationDir: string, - pageExtensions: PageExtensions, - fn: (entrypoints: any) => void - ) => { - return (customBindings ?? bindings).streamEntrypoints( - turboTasks, - rootDir, - applicationDir, - pageExtensions, - fn - ) - }, - get: ( - turboTasks: any, - rootDir: string, - applicationDir: string, - pageExtensions: PageExtensions - ) => { - return (customBindings ?? bindings).getEntrypoints( - turboTasks, - rootDir, - applicationDir, - pageExtensions - ) - }, + createTurboTasks(memoryLimit?: number): ExternalObject { + return bindings.createTurboTasks(memoryLimit) }, createProject: bindingToApi(customBindings ?? bindings, false), - startTurbopackTraceServer: (traceFilePath) => { + startTurbopackTraceServer(traceFilePath) { Log.warn( 'Turbopack trace server started. View trace at https://turbo-trace-viewer.vercel.app/' ) @@ -1607,17 +1246,23 @@ function loadNative(importPath?: string) { }, }, mdx: { - compile: (src: string, options: any) => - bindings.mdxCompile(src, toBuffer(getMdxOptions(options))), - compileSync: (src: string, options: any) => - bindings.mdxCompileSync(src, toBuffer(getMdxOptions(options))), + compile(src: string, options: any) { + return bindings.mdxCompile(src, toBuffer(getMdxOptions(options))) + }, + compileSync(src: string, options: any) { + bindings.mdxCompileSync(src, toBuffer(getMdxOptions(options))) + }, }, css: { lightning: { - transform: (transformOptions: any) => - bindings.lightningCssTransform(transformOptions), - transformStyleAttr: (transformAttrOptions: any) => - bindings.lightningCssTransformStyleAttribute(transformAttrOptions), + transform(transformOptions: any) { + return bindings.lightningCssTransform(transformOptions) + }, + transformStyleAttr(transformAttrOptions: any) { + return bindings.lightningCssTransformStyleAttribute( + transformAttrOptions + ) + }, }, }, } @@ -1662,11 +1307,6 @@ export async function minify(src: string, options: any): Promise { return bindings.minify(src, options) } -export function minifySync(src: string, options: any): string { - let bindings = loadBindingsSync() - return bindings.minifySync(src, options) -} - export async function parse(src: string, options: any): Promise { let bindings = await loadBindings() let parserOptions = getParserOptions(options) @@ -1692,11 +1332,11 @@ export function getBinaryMetadata() { * Initialize trace subscriber to emit traces. * */ -export const initCustomTraceSubscriber = (traceFileName?: string): void => { +export function initCustomTraceSubscriber(traceFileName?: string) { if (!swcTraceFlushGuard) { // Wasm binary doesn't support trace emission let bindings = loadNative() - swcTraceFlushGuard = bindings.initCustomTraceSubscriber(traceFileName) + swcTraceFlushGuard = bindings.initCustomTraceSubscriber?.(traceFileName) } } @@ -1706,39 +1346,45 @@ export const initCustomTraceSubscriber = (traceFileName?: string): void => { * only available by manually building next-swc with specific flags. * Calling in release build will not do anything. */ -export const initHeapProfiler = () => { +export function initHeapProfiler() { try { if (!swcHeapProfilerFlushGuard) { let bindings = loadNative() - swcHeapProfilerFlushGuard = bindings.initHeapProfiler() + swcHeapProfilerFlushGuard = bindings.initHeapProfiler?.() } } catch (_) { // Suppress exceptions, this fn allows to fail to load native bindings } } +function once(fn: () => void): () => void { + let executed = false + + return function (): void { + if (!executed) { + executed = true + + fn() + } + } +} + /** * Teardown heap profiler, if possible. * * Same as initialization, this is not available in release build of next-swc by default * and calling it will not do anything. */ -export const teardownHeapProfiler = (() => { - let flushed = false - return (): void => { - if (!flushed) { - flushed = true - try { - let bindings = loadNative() - if (swcHeapProfilerFlushGuard) { - bindings.teardownHeapProfiler(swcHeapProfilerFlushGuard) - } - } catch (e) { - // Suppress exceptions, this fn allows to fail to load native bindings - } +export const teardownHeapProfiler = once(() => { + try { + let bindings = loadNative() + if (swcHeapProfilerFlushGuard) { + bindings.teardownHeapProfiler?.(swcHeapProfilerFlushGuard) } + } catch (e) { + // Suppress exceptions, this fn allows to fail to load native bindings } -})() +}) /** * Teardown swc's trace subscriber if there's an initialized flush guard exists. @@ -1749,19 +1395,13 @@ export const teardownHeapProfiler = (() => { * * instead parent process manually drops guard when process gets signal to exit. */ -export const teardownTraceSubscriber = (() => { - let flushed = false - return (): void => { - if (!flushed) { - flushed = true - try { - let bindings = loadNative() - if (swcTraceFlushGuard) { - bindings.teardownTraceSubscriber(swcTraceFlushGuard) - } - } catch (e) { - // Suppress exceptions, this fn allows to fail to load native bindings - } +export const teardownTraceSubscriber = once(() => { + try { + let bindings = loadNative() + if (swcTraceFlushGuard) { + bindings.teardownTraceSubscriber?.(swcTraceFlushGuard) } + } catch (e) { + // Suppress exceptions, this fn allows to fail to load native bindings } -})() +}) diff --git a/packages/next/src/build/swc/types.ts b/packages/next/src/build/swc/types.ts new file mode 100644 index 0000000000000..4dcc27159a9b4 --- /dev/null +++ b/packages/next/src/build/swc/types.ts @@ -0,0 +1,383 @@ +import type { NextConfigComplete } from '../../server/config-shared' +import type { __ApiPreviewProps } from '../../server/api-utils' +import type { ExternalObject, RefCell, TurboTasks } from './generated-native' + +export interface Binding { + isWasm: boolean + turbo: { + startTrace(options: any, turboTasks: ExternalObject): any + createTurboTasks(memoryLimit?: number): ExternalObject + createProject( + options: ProjectOptions, + turboEngineOptions?: TurboEngineOptions + ): Promise + startTurbopackTraceServer(traceFilePath: string): void + + nextBuild?: any + } + mdx: { + compile(src: string, options: any): any + compileSync(src: string, options: any): any + } + minify(src: string, options: any): Promise + minifySync(src: string, options: any): any + transform(src: string, options: any): Promise + transformSync(src: string, options: any): any + parse(src: string, options: any): Promise + + getTargetTriple(): string | undefined + + initCustomTraceSubscriber?(traceOutFilePath?: string): ExternalObject + teardownTraceSubscriber?(guardExternal: ExternalObject): void + initHeapProfiler?(): ExternalObject + teardownHeapProfiler?(guardExternal: ExternalObject): void + css: { + lightning: { + transform(transformOptions: any): Promise + transformStyleAttr(transformAttrOptions: any): Promise + } + } +} + +export type StyledString = + | { + type: 'text' + value: string + } + | { + type: 'code' + value: string + } + | { + type: 'strong' + value: string + } + | { + type: 'stack' + value: StyledString[] + } + | { + type: 'line' + value: StyledString[] + } + +export interface Issue { + severity: string + stage: string + filePath: string + title: StyledString + description?: StyledString + detail?: StyledString + source?: { + source: { + ident: string + content?: string + } + range?: { + start: { + // 0-indexed + line: number + // 0-indexed + column: number + } + end: { + // 0-indexed + line: number + // 0-indexed + column: number + } + } + } + documentationLink: string + subIssues: Issue[] +} + +export interface Diagnostics { + category: string + name: string + payload: unknown +} + +export type TurbopackResult = T & { + issues: Issue[] + diagnostics: Diagnostics[] +} + +export interface TurboEngineOptions { + /** + * An upper bound of memory that turbopack will attempt to stay under. + */ + memoryLimit?: number +} + +export interface Middleware { + endpoint: Endpoint +} + +export interface Instrumentation { + nodeJs: Endpoint + edge: Endpoint +} + +export interface Entrypoints { + routes: Map + middleware?: Middleware + instrumentation?: Instrumentation + pagesDocumentEndpoint: Endpoint + pagesAppEndpoint: Endpoint + pagesErrorEndpoint: Endpoint +} + +interface BaseUpdate { + resource: { + headers: unknown + path: string + } + diagnostics: unknown[] + issues: Issue[] +} + +interface IssuesUpdate extends BaseUpdate { + type: 'issues' +} + +interface EcmascriptMergedUpdate { + type: 'EcmascriptMergedUpdate' + chunks: { [moduleName: string]: { type: 'partial' } } + entries: { [moduleName: string]: { code: string; map: string; url: string } } +} + +interface PartialUpdate extends BaseUpdate { + type: 'partial' + instruction: { + type: 'ChunkListUpdate' + merged: EcmascriptMergedUpdate[] | undefined + } +} + +export type Update = IssuesUpdate | PartialUpdate + +export interface HmrIdentifiers { + identifiers: string[] +} + +/** @see https://github.com/vercel/next.js/blob/415cd74b9a220b6f50da64da68c13043e9b02995/packages/next-swc/crates/napi/src/next_api/project.rs#L824-L833 */ +export interface TurbopackStackFrame { + isServer: boolean + isInternal?: boolean + file: string + /** 1-indexed, unlike source map tokens */ + line?: number + /** 1-indexed, unlike source map tokens */ + column?: number + methodName?: string +} + +export type UpdateMessage = + | { + updateType: 'start' + } + | { + updateType: 'end' + value: UpdateInfo + } + +export interface UpdateInfo { + duration: number + tasks: number +} + +export interface Project { + update(options: Partial): Promise + + entrypointsSubscribe(): AsyncIterableIterator> + + hmrEvents(identifier: string): AsyncIterableIterator> + + hmrIdentifiersSubscribe(): AsyncIterableIterator< + TurbopackResult + > + + getSourceForAsset(filePath: string): Promise + + traceSource( + stackFrame: TurbopackStackFrame + ): Promise + + updateInfoSubscribe( + aggregationMs: number + ): AsyncIterableIterator> + + shutdown(): Promise + + onExit(): Promise +} + +export type Route = + | { + type: 'conflict' + } + | { + type: 'app-page' + pages: { + originalName: string + htmlEndpoint: Endpoint + rscEndpoint: Endpoint + }[] + } + | { + type: 'app-route' + originalName: string + endpoint: Endpoint + } + | { + type: 'page' + htmlEndpoint: Endpoint + dataEndpoint: Endpoint + } + | { + type: 'page-api' + endpoint: Endpoint + } + +export interface Endpoint { + /** Write files for the endpoint to disk. */ + writeToDisk(): Promise> + + /** + * Listen to client-side changes to the endpoint. + * After clientChanged() has been awaited it will listen to changes. + * The async iterator will yield for each change. + */ + clientChanged(): Promise> + + /** + * Listen to server-side changes to the endpoint. + * After serverChanged() has been awaited it will listen to changes. + * The async iterator will yield for each change. + */ + serverChanged( + includeIssues: boolean + ): Promise> +} + +interface EndpointConfig { + dynamic?: 'auto' | 'force-dynamic' | 'error' | 'force-static' + dynamicParams?: boolean + revalidate?: 'never' | 'force-cache' | number + fetchCache?: + | 'auto' + | 'default-cache' + | 'only-cache' + | 'force-cache' + | 'default-no-store' + | 'only-no-store' + | 'force-no-store' + runtime?: 'nodejs' | 'edge' + preferredRegion?: string +} + +export type ServerPath = { + path: string + contentHash: string +} + +export type WrittenEndpoint = + | { + type: 'nodejs' + /** The entry path for the endpoint. */ + entryPath: string + /** All client paths that have been written for the endpoint. */ + clientPaths: string[] + /** All server paths that have been written for the endpoint. */ + serverPaths: ServerPath[] + config: EndpointConfig + } + | { + type: 'edge' + /** All client paths that have been written for the endpoint. */ + clientPaths: string[] + /** All server paths that have been written for the endpoint. */ + serverPaths: ServerPath[] + config: EndpointConfig + } + | { + type: 'none' + clientPaths: [] + serverPaths: [] + config: EndpointConfig + } + +export interface ProjectOptions { + /** + * A root path from which all files must be nested under. Trying to access + * a file outside this root will fail. Think of this as a chroot. + */ + rootPath: string + + /** + * A path inside the root_path which contains the app/pages directories. + */ + projectPath: string + + /** + * The next.config.js contents. + */ + nextConfig: NextConfigComplete + + /** + * Jsconfig, or tsconfig contents. + * + * Next.js implicitly requires to read it to support few options + * https://nextjs.org/docs/architecture/nextjs-compiler#legacy-decorators + * https://nextjs.org/docs/architecture/nextjs-compiler#importsource + */ + jsConfig: { + compilerOptions: object + } + + /** + * A map of environment variables to use when compiling code. + */ + env: Record + + defineEnv: DefineEnv + + /** + * Whether to watch the filesystem for file changes. + */ + watch: boolean + + /** + * The mode in which Next.js is running. + */ + dev: boolean + + /** + * The server actions encryption key. + */ + encryptionKey: string + + /** + * The build id. + */ + buildId: string + + /** + * Options for draft mode. + */ + previewProps: __ApiPreviewProps + + /** + * The browserslist query to use for targeting browsers. + */ + browserslistQuery: string +} + +export interface DefineEnv { + client: RustifiedEnv + edge: RustifiedEnv + nodejs: RustifiedEnv +} + +export type RustifiedEnv = { name: string; value: string }[] diff --git a/packages/next/src/build/utils.ts b/packages/next/src/build/utils.ts index 6ffcb63adcfb5..46f1ffb2707d1 100644 --- a/packages/next/src/build/utils.ts +++ b/packages/next/src/build/utils.ts @@ -89,13 +89,13 @@ import type { PageExtensions } from './page-extensions-type' import { formatDynamicImportPath } from '../lib/format-dynamic-import-path' import { isInterceptionRouteAppPath } from '../server/lib/interception-routes' import { checkIsRoutePPREnabled } from '../server/lib/experimental/ppr' -import type { Params } from '../client/components/params' +import type { Params } from '../server/request/params' import { FallbackMode } from '../lib/fallback' import { fallbackModeToStaticPathsResult, parseStaticPathsResult, } from '../lib/fallback' -import { getParamKeys } from '../client/components/fallback-params' +import { getParamKeys } from '../server/request/fallback-params' import type { OutgoingHttpHeaders } from 'http' export type ROUTER_TYPE = 'pages' | 'app' diff --git a/packages/next/src/build/webpack-config.ts b/packages/next/src/build/webpack-config.ts index 036637b587fbc..5dee552b02fa9 100644 --- a/packages/next/src/build/webpack-config.ts +++ b/packages/next/src/build/webpack-config.ts @@ -107,8 +107,8 @@ const NEXT_PROJECT_ROOT_DIST_CLIENT = path.join( 'client' ) -if (parseInt(React.version) < 19) { - throw new Error('Next.js requires react >= 19.0.0 to be installed.') +if (parseInt(React.version) < 18) { + throw new Error('Next.js requires react >= 18.2.0 to be installed.') } export const babelIncludeRegexes: RegExp[] = [ @@ -833,6 +833,8 @@ export default async function getBaseWebpackConfig( const aliasCodeConditionTest = [codeCondition.test, pageExtensionsRegex] + const builtinModules = require('module').builtinModules + let webpackConfig: webpack.Configuration = { parallelism: Number(process.env.NEXT_WEBPACK_PARALLELISM) || undefined, ...(isNodeServer ? { externalsPresets: { node: true } } : {}), @@ -856,6 +858,7 @@ export default async function getBaseWebpackConfig( : []), ] : [ + ...builtinModules, ({ context, request, @@ -1197,6 +1200,8 @@ export default async function getBaseWebpackConfig( 'next-metadata-route-loader', 'modularize-import-loader', 'next-barrel-loader', + 'next-server-binary-loader', + 'next-error-browser-binary-loader', ].reduce( (alias, loader) => { // using multiple aliases to replace `resolveLoader.modules` @@ -1284,6 +1289,17 @@ export default async function getBaseWebpackConfig( or: WEBPACK_LAYERS.GROUP.neutralTarget, }, }, + { + test: /[\\/].*?\.node$/, + loader: isNodeServer + ? 'next-server-binary-loader' + : 'next-error-browser-binary-loader', + // On server side bundling, only apply to app router, do not apply to pages router; + // On client side or edge runtime bundling, always error. + ...(isNodeServer && { + issuerLayer: isWebpackBundledLayer, + }), + }, ...(hasAppDir ? [ { @@ -2277,6 +2293,10 @@ export default async function getBaseWebpackConfig( } } + if (isFullFlyingShuttle && !dev) { + webpack5Config.cache = false + } + const rules = webpackConfig.module?.rules || [] const customSvgRule = rules.find( diff --git a/packages/next/src/build/webpack/loaders/metadata/types.ts b/packages/next/src/build/webpack/loaders/metadata/types.ts index fd74eef4d0e26..8ae4b6a0d594a 100644 --- a/packages/next/src/build/webpack/loaders/metadata/types.ts +++ b/packages/next/src/build/webpack/loaders/metadata/types.ts @@ -1,9 +1,7 @@ // TODO-APP: check if this can be narrowed. -export type ComponentModule = () => any -export type ModuleReference = [ - componentModule: ComponentModule, - filePath: string, -] +export type ModuleGetter = () => any + +export type ModuleTuple = [getModule: ModuleGetter, filePath: string] // Contain the collecting image module paths export type CollectingMetadata = { @@ -16,10 +14,10 @@ export type CollectingMetadata = { // Contain the collecting evaluated image module export type CollectedMetadata = { - icon: ComponentModule[] - apple: ComponentModule[] - twitter: ComponentModule[] | null - openGraph: ComponentModule[] | null + icon: ModuleGetter[] + apple: ModuleGetter[] + twitter: ModuleGetter[] | null + openGraph: ModuleGetter[] | null manifest?: string } diff --git a/packages/next/src/build/webpack/loaders/next-app-loader/create-app-route-code.ts b/packages/next/src/build/webpack/loaders/next-app-loader/create-app-route-code.ts new file mode 100644 index 0000000000000..84cd4846e74fa --- /dev/null +++ b/packages/next/src/build/webpack/loaders/next-app-loader/create-app-route-code.ts @@ -0,0 +1,72 @@ +import path from 'path' +import { stringify } from 'querystring' +import { WEBPACK_RESOURCE_QUERIES } from '../../../../lib/constants' +import { isMetadataRoute } from '../../../../lib/metadata/is-metadata-route' +import type { NextConfig } from '../../../../server/config-shared' +import { AppBundlePathNormalizer } from '../../../../server/normalizers/built/app/app-bundle-path-normalizer' +import { AppPathnameNormalizer } from '../../../../server/normalizers/built/app/app-pathname-normalizer' +import { loadEntrypoint } from '../../../load-entrypoint' +import type { PageExtensions } from '../../../page-extensions-type' +import { getFilenameAndExtension } from '../next-metadata-route-loader' + +export async function createAppRouteCode({ + name, + page, + pagePath, + resolveAppRoute, + pageExtensions, + nextConfigOutput, +}: { + name: string + page: string + pagePath: string + resolveAppRoute: ( + pathname: string + ) => Promise | string | undefined + pageExtensions: PageExtensions + nextConfigOutput: NextConfig['output'] +}): Promise { + // routePath is the path to the route handler file, + // but could be aliased e.g. private-next-app-dir/favicon.ico + const routePath = pagePath.replace(/[\\/]/, '/') + + // This, when used with the resolver will give us the pathname to the built + // route handler file. + let resolvedPagePath = await resolveAppRoute(routePath) + if (!resolvedPagePath) { + throw new Error( + `Invariant: could not resolve page path for ${name} at ${routePath}` + ) + } + + // If this is a metadata route, then we need to use the metadata loader for + // the route to ensure that the route is generated. + const fileBaseName = path.parse(resolvedPagePath).name + if (isMetadataRoute(name) && fileBaseName !== 'route') { + const { ext } = getFilenameAndExtension(resolvedPagePath) + const isDynamicRouteExtension = pageExtensions.includes(ext) + + resolvedPagePath = `next-metadata-route-loader?${stringify({ + filePath: resolvedPagePath, + isDynamicRouteExtension: isDynamicRouteExtension ? '1' : '0', + })}!?${WEBPACK_RESOURCE_QUERIES.metadataRoute}` + } + + const pathname = new AppPathnameNormalizer().normalize(page) + const bundlePath = new AppBundlePathNormalizer().normalize(page) + + return await loadEntrypoint( + 'app-route', + { + VAR_USERLAND: resolvedPagePath, + VAR_DEFINITION_PAGE: page, + VAR_DEFINITION_PATHNAME: pathname, + VAR_DEFINITION_FILENAME: fileBaseName, + VAR_DEFINITION_BUNDLE_PATH: bundlePath, + VAR_RESOLVED_PAGE_PATH: resolvedPagePath, + }, + { + nextConfigOutput: JSON.stringify(nextConfigOutput), + } + ) +} diff --git a/packages/next/src/build/webpack/loaders/next-app-loader.ts b/packages/next/src/build/webpack/loaders/next-app-loader/index.ts similarity index 87% rename from packages/next/src/build/webpack/loaders/next-app-loader.ts rename to packages/next/src/build/webpack/loaders/next-app-loader/index.ts index 52542b3862207..fc0f051e848cd 100644 --- a/packages/next/src/build/webpack/loaders/next-app-loader.ts +++ b/packages/next/src/build/webpack/loaders/next-app-loader/index.ts @@ -3,39 +3,36 @@ import { UNDERSCORE_NOT_FOUND_ROUTE, UNDERSCORE_NOT_FOUND_ROUTE_ENTRY, type ValueOf, -} from '../../../shared/lib/constants' -import type { ModuleReference, CollectedMetadata } from './metadata/types' +} from '../../../../shared/lib/constants' +import type { ModuleTuple, CollectedMetadata } from '../metadata/types' import path from 'path' -import { stringify } from 'querystring' -import { bold } from '../../../lib/picocolors' -import { getModuleBuildInfo } from './get-module-build-info' -import { verifyRootLayout } from '../../../lib/verify-root-layout' -import * as Log from '../../output/log' -import { APP_DIR_ALIAS, WEBPACK_RESOURCE_QUERIES } from '../../../lib/constants' +import { bold } from '../../../../lib/picocolors' +import { getModuleBuildInfo } from '../get-module-build-info' +import { verifyRootLayout } from '../../../../lib/verify-root-layout' +import * as Log from '../../../output/log' +import { APP_DIR_ALIAS } from '../../../../lib/constants' import { createMetadataExportsCode, createStaticMetadataFromRoute, -} from './metadata/discover' +} from '../metadata/discover' import { promises as fs } from 'fs' -import { isAppRouteRoute } from '../../../lib/is-app-route-route' -import { isMetadataRoute } from '../../../lib/metadata/is-metadata-route' -import type { NextConfig } from '../../../server/config-shared' -import { AppPathnameNormalizer } from '../../../server/normalizers/built/app/app-pathname-normalizer' -import { AppBundlePathNormalizer } from '../../../server/normalizers/built/app/app-bundle-path-normalizer' -import type { MiddlewareConfig } from '../../analysis/get-page-static-info' -import { getFilenameAndExtension } from './next-metadata-route-loader' -import { isAppBuiltinNotFoundPage } from '../../utils' -import { loadEntrypoint } from '../../load-entrypoint' +import { isAppRouteRoute } from '../../../../lib/is-app-route-route' +import type { NextConfig } from '../../../../server/config-shared' +import { AppPathnameNormalizer } from '../../../../server/normalizers/built/app/app-pathname-normalizer' +import type { MiddlewareConfig } from '../../../analysis/get-page-static-info' +import { isAppBuiltinNotFoundPage } from '../../../utils' +import { loadEntrypoint } from '../../../load-entrypoint' import { isGroupSegment, DEFAULT_SEGMENT_KEY, PAGE_SEGMENT_KEY, -} from '../../../shared/lib/segment' -import { getFilesInDir } from '../../../lib/get-files-in-dir' -import type { PageExtensions } from '../../page-extensions-type' -import { PARALLEL_ROUTE_DEFAULT_PATH } from '../../../client/components/parallel-route-default' +} from '../../../../shared/lib/segment' +import { getFilesInDir } from '../../../../lib/get-files-in-dir' +import type { PageExtensions } from '../../../page-extensions-type' +import { PARALLEL_ROUTE_DEFAULT_PATH } from '../../../../client/components/parallel-route-default' import type { Compilation } from 'webpack' +import { createAppRouteCode } from './create-app-route-code' export type AppLoaderOptions = { name: string @@ -83,74 +80,14 @@ export type MetadataResolver = ( extensions: readonly string[] ) => Promise -export type ComponentsType = { - readonly [componentKey in ValueOf]?: ModuleReference +export type AppDirModules = { + readonly [moduleKey in ValueOf]?: ModuleTuple } & { - readonly page?: ModuleReference + readonly page?: ModuleTuple } & { readonly metadata?: CollectedMetadata } & { - readonly defaultPage?: ModuleReference -} - -async function createAppRouteCode({ - name, - page, - pagePath, - resolveAppRoute, - pageExtensions, - nextConfigOutput, -}: { - name: string - page: string - pagePath: string - resolveAppRoute: PathResolver - pageExtensions: PageExtensions - nextConfigOutput: NextConfig['output'] -}): Promise { - // routePath is the path to the route handler file, - // but could be aliased e.g. private-next-app-dir/favicon.ico - const routePath = pagePath.replace(/[\\/]/, '/') - - // This, when used with the resolver will give us the pathname to the built - // route handler file. - let resolvedPagePath = await resolveAppRoute(routePath) - if (!resolvedPagePath) { - throw new Error( - `Invariant: could not resolve page path for ${name} at ${routePath}` - ) - } - - // If this is a metadata route, then we need to use the metadata loader for - // the route to ensure that the route is generated. - const fileBaseName = path.parse(resolvedPagePath).name - if (isMetadataRoute(name) && fileBaseName !== 'route') { - const { ext } = getFilenameAndExtension(resolvedPagePath) - const isDynamicRouteExtension = pageExtensions.includes(ext) - - resolvedPagePath = `next-metadata-route-loader?${stringify({ - filePath: resolvedPagePath, - isDynamicRouteExtension: isDynamicRouteExtension ? '1' : '0', - })}!?${WEBPACK_RESOURCE_QUERIES.metadataRoute}` - } - - const pathname = new AppPathnameNormalizer().normalize(page) - const bundlePath = new AppBundlePathNormalizer().normalize(page) - - return await loadEntrypoint( - 'app-route', - { - VAR_USERLAND: resolvedPagePath, - VAR_DEFINITION_PAGE: page, - VAR_DEFINITION_PATHNAME: pathname, - VAR_DEFINITION_FILENAME: fileBaseName, - VAR_DEFINITION_BUNDLE_PATH: bundlePath, - VAR_RESOLVED_PAGE_PATH: resolvedPagePath, - }, - { - nextConfigOutput: JSON.stringify(nextConfigOutput), - } - ) + readonly defaultPage?: ModuleTuple } const normalizeParallelKey = (key: string) => @@ -436,10 +373,10 @@ async function createTreeCodeFromPath( }` } - const componentsCode = `{ + const modulesCode = `{ ${definedFilePaths .map(([file, filePath]) => { - const varName = `component${nestedCollectedDeclarations.length}` + const varName = `module${nestedCollectedDeclarations.length}` nestedCollectedDeclarations.push([varName, filePath]) return `'${file}': [${varName}, ${JSON.stringify(filePath)}],` }) @@ -460,7 +397,7 @@ async function createTreeCodeFromPath( props[normalizedParallelKey] = `[ '${parallelSegmentKey}', ${subtreeCode}, - ${componentsCode} + ${modulesCode} ]` } diff --git a/packages/next/src/build/webpack/loaders/next-error-browser-binary-loader.ts b/packages/next/src/build/webpack/loaders/next-error-browser-binary-loader.ts new file mode 100644 index 0000000000000..36958fa050fa2 --- /dev/null +++ b/packages/next/src/build/webpack/loaders/next-error-browser-binary-loader.ts @@ -0,0 +1,11 @@ +import type { webpack } from 'next/dist/compiled/webpack/webpack' + +export default function nextErrorBrowserBinaryLoader( + this: webpack.LoaderContext +) { + const { resourcePath, rootContext } = this + const relativePath = resourcePath.slice(rootContext.length + 1) + throw new Error( + `Node.js binary module ./${relativePath} is not supported in the browser. Please only use the module on server side` + ) +} diff --git a/packages/next/src/build/webpack/loaders/next-flight-loader/cache-wrapper.ts b/packages/next/src/build/webpack/loaders/next-flight-loader/cache-wrapper.ts new file mode 100644 index 0000000000000..c225f960175df --- /dev/null +++ b/packages/next/src/build/webpack/loaders/next-flight-loader/cache-wrapper.ts @@ -0,0 +1 @@ +export { cache } from '../../../../server/use-cache/use-cache-wrapper' diff --git a/packages/next/src/build/webpack/loaders/next-metadata-image-loader.ts b/packages/next/src/build/webpack/loaders/next-metadata-image-loader.ts index 7f35358d5f084..cf18b9fc98ed9 100644 --- a/packages/next/src/build/webpack/loaders/next-metadata-image-loader.ts +++ b/packages/next/src/build/webpack/loaders/next-metadata-image-loader.ts @@ -24,8 +24,8 @@ interface Options { basePath: string } -// [NOTE] For turbopack -// refer loader_tree's write_static|dynamic_metadata for corresponding features +// [NOTE] For turbopack, refer to app_page_loader_tree's write_metadata_item for +// corresponding features. async function nextMetadataImageLoader( this: webpack.LoaderContext, content: Buffer diff --git a/packages/next/src/build/webpack/loaders/next-server-binary-loader.ts b/packages/next/src/build/webpack/loaders/next-server-binary-loader.ts new file mode 100644 index 0000000000000..a395d8476fd7d --- /dev/null +++ b/packages/next/src/build/webpack/loaders/next-server-binary-loader.ts @@ -0,0 +1,12 @@ +import type { webpack } from 'next/dist/compiled/webpack/webpack' +import path from 'path' + +export default function nextErrorBrowserBinaryLoader( + this: webpack.LoaderContext +) { + let relativePath = path.relative(this.rootContext, this.resourcePath) + if (!relativePath.startsWith('.')) { + relativePath = './' + relativePath + } + return `module.exports = __non_webpack_require__(${JSON.stringify(relativePath)})` +} diff --git a/packages/next/src/build/webpack/loaders/utils.ts b/packages/next/src/build/webpack/loaders/utils.ts index 8ff7185449688..6acc79c923a29 100644 --- a/packages/next/src/build/webpack/loaders/utils.ts +++ b/packages/next/src/build/webpack/loaders/utils.ts @@ -5,15 +5,6 @@ import { RSC_MODULE_TYPES } from '../../../shared/lib/constants' const imageExtensions = ['jpg', 'jpeg', 'png', 'webp', 'avif', 'ico', 'svg'] const imageRegex = new RegExp(`\\.(${imageExtensions.join('|')})$`) -// Determine if the whole module is server action, 'use server' in the top level of module -export function isActionServerLayerEntryModule(mod: { - resource: string - buildInfo?: any -}) { - const rscInfo = mod.buildInfo.rsc - return !!(rscInfo?.actions && rscInfo?.type === RSC_MODULE_TYPES.server) -} - // Determine if the whole module is client action, 'use server' in nested closure in the client module function isActionClientLayerModule(mod: { resource: string; buildInfo?: any }) { const rscInfo = mod.buildInfo.rsc diff --git a/packages/next/src/build/webpack/plugins/define-env-plugin.ts b/packages/next/src/build/webpack/plugins/define-env-plugin.ts index 54efea18085a4..854c788193f03 100644 --- a/packages/next/src/build/webpack/plugins/define-env-plugin.ts +++ b/packages/next/src/build/webpack/plugins/define-env-plugin.ts @@ -74,7 +74,7 @@ export function getNextPublicEnvironmentVariables(): DefineEnv { /** * Collects the `env` config value from the Next.js config. */ -function getNextConfigEnv(config: NextConfigComplete): DefineEnv { +export function getNextConfigEnv(config: NextConfigComplete): DefineEnv { // Refactored code below to use for-of const defineEnv: DefineEnv = {} const env = config.env @@ -286,9 +286,10 @@ export function getDefineEnv({ // with flying shuttle enabled so we can update them // without invalidating entries for (const key in nextPublicEnv) { - if (key in nextConfigEnv) { - continue - } + serializedDefineEnv[key] = key + } + + for (const key in nextConfigEnv) { serializedDefineEnv[key] = key } } diff --git a/packages/next/src/build/webpack/plugins/flight-client-entry-plugin.ts b/packages/next/src/build/webpack/plugins/flight-client-entry-plugin.ts index f4c4fa81c6843..62e4edcc2f800 100644 --- a/packages/next/src/build/webpack/plugins/flight-client-entry-plugin.ts +++ b/packages/next/src/build/webpack/plugins/flight-client-entry-plugin.ts @@ -29,7 +29,6 @@ import { isClientComponentEntryModule, isCSSMod, regexCSS, - isActionServerLayerEntryModule, } from '../loaders/utils' import { traverseModules, @@ -76,11 +75,6 @@ const pluginState = getProxiedPluginState({ serverActions: {} as ActionManifest['node'], edgeServerActions: {} as ActionManifest['edge'], - usedActions: { - node: {} as Record>, - edge: {} as Record>, - }, - actionModServerId: {} as Record< string, { @@ -163,15 +157,6 @@ function deduplicateCSSImportsForEntry(mergedCSSimports: CssImports) { return dedupedCSSImports } -// Collection of action module path and action names per runtime. -type UsedActionMap = { - node: Record> - edge: Record> -} -type UsedActionPerEntry = { - [entryName: string]: UsedActionMap -} - export class FlightClientEntryPlugin { dev: boolean appDir: string @@ -180,9 +165,6 @@ export class FlightClientEntryPlugin { assetPrefix: string webpackRuntime: string - // Collect the used actions based on the entry name and runtime. - usedActions: UsedActionPerEntry - constructor(options: Options) { this.dev = options.dev this.appDir = options.appDir @@ -192,40 +174,6 @@ export class FlightClientEntryPlugin { this.webpackRuntime = this.isEdgeServer ? EDGE_RUNTIME_WEBPACK : DEFAULT_RUNTIME_WEBPACK - - this.usedActions = {} - } - - getUsedActionsInEntry( - entryName: string, - modResource: string - ): Set | undefined { - const runtime = this.isEdgeServer ? 'edge' : 'node' - const actionsRuntimeMap = this.usedActions[entryName] - const actionMap = actionsRuntimeMap ? actionsRuntimeMap[runtime] : undefined - return actionMap ? actionMap[modResource] : undefined - } - - setUsedActionsInEntry( - entryName: string, - modResource: string, - actionNames: string[] - ) { - const runtime = this.isEdgeServer ? 'edge' : 'node' - if (!this.usedActions[entryName]) { - this.usedActions[entryName] = { - node: {}, - edge: {}, - } - } - if (!this.usedActions[entryName][runtime]) { - this.usedActions[entryName][runtime] = {} - } - const actionsMap = this.usedActions[entryName][runtime] - if (!actionsMap[modResource]) { - actionsMap[modResource] = new Set() - } - actionNames.forEach((name) => actionsMap[modResource].add(name)) } apply(compiler: webpack.Compiler) { @@ -339,7 +287,6 @@ export class FlightClientEntryPlugin { const { clientComponentImports, actionImports, cssImports } = this.collectComponentInfoFromServerEntryDependency({ - entryName: name, entryRequest, compilation, resolvedModule: connection.resolvedModule, @@ -502,7 +449,6 @@ export class FlightClientEntryPlugin { // Collect from all entries, e.g. layout.js, page.js, loading.js, ... // add aggregate them. const actionEntryImports = this.collectClientActionsFromDependencies({ - entryName: name, compilation, dependencies: ssrEntryDependencies, }) @@ -560,11 +506,9 @@ export class FlightClientEntryPlugin { } collectClientActionsFromDependencies({ - entryName, compilation, dependencies, }: { - entryName: string compilation: webpack.Compilation dependencies: ReturnType[] }) { @@ -582,27 +526,17 @@ export class FlightClientEntryPlugin { entryRequest: string resolvedModule: any }) => { - const collectActionsInDep = ( - mod: webpack.NormalModule, - ids: string[] - ): void => { + const collectActionsInDep = (mod: webpack.NormalModule): void => { if (!mod) return const modResource = getModuleResource(mod) if (!modResource) return - const actions = getActionsFromBuildInfo(mod) - - // Collect used exported actions. - if (visitedModule.has(modResource) && actions) { - this.setUsedActionsInEntry(entryName, modResource, ids) - } - if (visitedModule.has(modResource)) return - visitedModule.add(modResource) + const actions = getActionsFromBuildInfo(mod) if (actions) { collectedActions.set(modResource, actions) } @@ -610,17 +544,8 @@ export class FlightClientEntryPlugin { // Collect used exported actions transversely. getModuleReferencesInOrder(mod, compilation.moduleGraph).forEach( (connection: any) => { - let dependencyIds: string[] = [] - const depModule = connection.dependency - if (depModule?.ids) { - dependencyIds.push(...depModule.ids) - } else { - dependencyIds = depModule.category === 'esm' ? [] : ['*'] - } - collectActionsInDep( - connection.resolvedModule as webpack.NormalModule, - dependencyIds + connection.resolvedModule as webpack.NormalModule ) } ) @@ -632,7 +557,7 @@ export class FlightClientEntryPlugin { !entryRequest.includes('next-flight-action-entry-loader') ) { // Traverse the module graph to find all client components. - collectActionsInDep(resolvedModule, []) + collectActionsInDep(resolvedModule) } } @@ -662,12 +587,10 @@ export class FlightClientEntryPlugin { } collectComponentInfoFromServerEntryDependency({ - entryName, entryRequest, compilation, resolvedModule, }: { - entryName: string entryRequest: string compilation: webpack.Compilation resolvedModule: any /* Dependency */ @@ -678,7 +601,6 @@ export class FlightClientEntryPlugin { } { // Keep track of checked modules to avoid infinite loops with recursive imports. const visitedOfClientComponentsTraverse = new Set() - const visitedOfActionTraverse = new Set() // Info to collect. const clientComponentImports: ClientComponentImports = {} @@ -758,56 +680,9 @@ export class FlightClientEntryPlugin { ) } - const filterUsedActions = ( - mod: webpack.NormalModule, - importedIdentifiers: string[] - ): void => { - if (!mod) return - - const modResource = getModuleResource(mod) - - if (!modResource) return - if (visitedOfActionTraverse.has(modResource)) { - if (this.getUsedActionsInEntry(entryName, modResource)) { - this.setUsedActionsInEntry( - entryName, - modResource, - importedIdentifiers - ) - } - return - } - visitedOfActionTraverse.add(modResource) - - if (isActionServerLayerEntryModule(mod)) { - // `ids` are the identifiers that are imported from the dependency, - // if it's present, it's an array of strings. - this.setUsedActionsInEntry(entryName, modResource, importedIdentifiers) - - return - } - - getModuleReferencesInOrder(mod, compilation.moduleGraph).forEach( - (connection: any) => { - let dependencyIds: string[] = [] - const depModule = connection.dependency - if (depModule?.ids) { - dependencyIds.push(...depModule.ids) - } else { - dependencyIds = depModule.category === 'esm' ? [] : ['*'] - } - - filterUsedActions(connection.resolvedModule, dependencyIds) - } - ) - } - // Traverse the module graph to find all client components. filterClientComponents(resolvedModule, []) - // Traverse the module graph to find all used actions. - filterUsedActions(resolvedModule, []) - return { clientComponentImports, cssImports: CSSImports.size @@ -954,29 +829,7 @@ export class FlightClientEntryPlugin { createdActions: Set fromClient?: boolean }) { - // Filter out the unused actions before create action entry. - for (const [filePath, names] of actions.entries()) { - const usedActionNames = this.getUsedActionsInEntry(entryName, filePath) - if (!usedActionNames) continue - const containsAll = usedActionNames.has('*') - if (usedActionNames && !containsAll) { - const filteredNames = names.filter( - (name) => usedActionNames.has(name) || isInlineActionIdentifier(name) - ) - actions.set(filePath, filteredNames) - } else if (!containsAll) { - // If we didn't collect the used, we erase them from the collected actions - // to avoid creating the action entry. - if ( - names.filter((name) => !isInlineActionIdentifier(name)).length === 0 - ) { - actions.delete(filePath) - } - } - } - const actionsArray = Array.from(actions.entries()) - for (const [dep, actionNames] of actions) { for (const actionName of actionNames) { createdActions.add(entryName + '@' + dep + '@' + actionName) @@ -1210,8 +1063,3 @@ function getModuleResource(mod: webpack.NormalModule): string { } return modResource } - -// x-ref crates/next-custom-transforms/src/transforms/server_actions.rs `gen_ident` funcition -function isInlineActionIdentifier(name: string) { - return name.startsWith('$$ACTION_') -} diff --git a/packages/next/src/build/webpack/plugins/flight-manifest-plugin.ts b/packages/next/src/build/webpack/plugins/flight-manifest-plugin.ts index 46a1ce1f15b9d..b1b5c6732fc3d 100644 --- a/packages/next/src/build/webpack/plugins/flight-manifest-plugin.ts +++ b/packages/next/src/build/webpack/plugins/flight-manifest-plugin.ts @@ -25,6 +25,7 @@ import { getModuleReferencesInOrder, } from '../utils' import type { ChunkGroup } from 'webpack' +import { encodeURIPath } from '../../../shared/lib/encode-uri-path' interface Options { dev: boolean @@ -117,7 +118,10 @@ function getAppPathRequiredChunks( // previously done for dynamic chunks by patching the webpack runtime but we want // these filenames to be managed by React's Flight runtime instead and so we need // to implement any special handling of the file name here. - return chunks.push(chunkId, encodeURI(file + deploymentIdChunkQuery)) + return chunks.push( + chunkId, + encodeURIPath(file) + deploymentIdChunkQuery + ) }) } }) @@ -143,7 +147,7 @@ function entryNameToGroupName(entryName: string) { // Remove catch-all routes since they should be part of the parent group that the catch-all would apply to. // This is necessary to support parallel routes since multiple page components can be rendered on the same page. // In order to do that, we need to ensure that the manifests are merged together by putting them in the same group. - .replace(/\/\[?\[\.\.\.[^\]]*\]\]?/g, '') + .replace(/\/\[?\[\.\.\.[^\]]*]]?/g, '') // Interception routes groupName = groupName @@ -341,6 +345,7 @@ export class ClientReferenceManifestPlugin { function addSSRIdMapping() { const exportName = resource if ( + // TODO: Add mapping from client module IDs to RSC module IDs typeof pluginState.serverModuleIds[ssrNamedModuleId] !== 'undefined' ) { moduleIdMapping[modId] = moduleIdMapping[modId] || {} diff --git a/packages/next/src/build/webpack/plugins/next-types-plugin/index.ts b/packages/next/src/build/webpack/plugins/next-types-plugin/index.ts index 2199634bc4938..17cdbcd0f767f 100644 --- a/packages/next/src/build/webpack/plugins/next-types-plugin/index.ts +++ b/packages/next/src/build/webpack/plugins/next-types-plugin/index.ts @@ -85,6 +85,7 @@ checkFields>() +${options.type === 'route' ? `type RouteContext = { params: Promise }` : ''} ${ options.type === 'route' ? HTTP_METHODS.map( @@ -103,7 +104,7 @@ if ('${method}' in entry) { >() checkFields< Diff< - ParamCheck, + ParamCheck, { __tag__: '${method}' __param_position__: 'second' @@ -158,14 +159,14 @@ if ('generateViewport' in entry) { } // Check the arguments and return type of the generateStaticParams function if ('generateStaticParams' in entry) { - checkFields>, 'generateStaticParams'>>() + checkFields>, 'generateStaticParams'>>() checkFields }, { __tag__: 'generateStaticParams', __return_type__: ReturnType> }>>() } -type PageParams = any +type SegmentParams = {[param: string]: string | string[] | undefined} export interface PageProps { - params?: any - searchParams?: any + params?: Promise + searchParams?: Promise } export interface LayoutProps { children?: React.ReactNode @@ -174,7 +175,7 @@ ${ ? options.slots.map((slot) => ` ${slot}: React.ReactNode`).join('\n') : '' } - params?: any + params?: Promise } // ============= diff --git a/packages/next/src/build/webpack/plugins/wellknown-errors-plugin/parseNextAppLoaderError.ts b/packages/next/src/build/webpack/plugins/wellknown-errors-plugin/parseNextAppLoaderError.ts index 6ddef6d0fbdcf..16a41139ff9f6 100644 --- a/packages/next/src/build/webpack/plugins/wellknown-errors-plugin/parseNextAppLoaderError.ts +++ b/packages/next/src/build/webpack/plugins/wellknown-errors-plugin/parseNextAppLoaderError.ts @@ -8,7 +8,7 @@ export function getNextAppLoaderError( compiler: webpack.Compiler ): SimpleWebpackError | false { try { - if (!module.loaders[0].loader.includes('next-app-loader.js')) { + if (!module.loaders[0].loader.includes('next-app-loader')) { return false } diff --git a/packages/next/src/build/webpack/plugins/wellknown-errors-plugin/parseNotFoundError.ts b/packages/next/src/build/webpack/plugins/wellknown-errors-plugin/parseNotFoundError.ts index 2e299d6a14978..6df3a0169d4ed 100644 --- a/packages/next/src/build/webpack/plugins/wellknown-errors-plugin/parseNotFoundError.ts +++ b/packages/next/src/build/webpack/plugins/wellknown-errors-plugin/parseNotFoundError.ts @@ -135,10 +135,9 @@ export async function getNotFoundError( .filter( (name) => name && - !/next-(app|middleware|client-pages|route|flight-(client|server|client-entry))-loader\.js/.test( + !/next-(app|middleware|client-pages|route|flight-(client|server|client-entry))-loader/.test( name ) && - !/next-route-loader\/index\.js/.test(name) && !/css-loader.+\.js/.test(name) ) if (moduleTrace.length === 0) return '' diff --git a/packages/next/src/client/app-index.tsx b/packages/next/src/client/app-index.tsx index 8eca792415c2e..959b8e9e38110 100644 --- a/packages/next/src/client/app-index.tsx +++ b/packages/next/src/client/app-index.tsx @@ -1,10 +1,13 @@ // imports polyfill from `@next/polyfill-module` after build. import '../build/polyfills/polyfill-module' + +import './components/globals/patch-console' +import './components/globals/handle-global-errors' + import ReactDOMClient from 'react-dom/client' import React, { use } from 'react' // eslint-disable-next-line import/no-extraneous-dependencies import { createFromReadableStream } from 'react-server-dom-webpack/client' - import { HeadManagerContext } from '../shared/lib/head-manager-context.shared-runtime' import { onRecoverableError } from './on-recoverable-error' import { callServer } from './app-call-server' @@ -12,31 +15,11 @@ import { type AppRouterActionQueue, createMutableActionQueue, } from '../shared/lib/router/action-queue' -import { isNextRouterError } from './components/is-next-router-error' -import { handleClientError } from './components/react-dev-overlay/internal/helpers/use-error-handler' import AppRouter from './components/app-router' import type { InitialRSCPayload } from '../server/app-render/types' import { createInitialRouterState } from './components/router-reducer/create-initial-router-state' import { MissingSlotContext } from '../shared/lib/app-router-context.shared-runtime' -// Patch console.error to collect information about hydration errors -const origConsoleError = window.console.error -window.console.error = (...args) => { - // See https://github.com/facebook/react/blob/d50323eb845c5fde0d720cae888bf35dedd05506/packages/react-reconciler/src/ReactFiberErrorLogger.js#L78 - const error = process.env.NODE_ENV !== 'production' ? args[1] : args[0] - if (!isNextRouterError(error)) { - if (process.env.NODE_ENV !== 'production') { - const { storeHydrationErrorStateFromConsoleArgs } = - require('./components/react-dev-overlay/internal/helpers/hydration-error-info') as typeof import('./components/react-dev-overlay/internal/helpers/hydration-error-info') - - storeHydrationErrorStateFromConsoleArgs(...args) - handleClientError(error) - } - - origConsoleError.apply(window.console, args) - } -} - /// const appElement: HTMLElement | Document | null = document diff --git a/packages/next/src/client/app-webpack.ts b/packages/next/src/client/app-webpack.ts index 2c664c4325fbc..4b7c2dc627c03 100644 --- a/packages/next/src/client/app-webpack.ts +++ b/packages/next/src/client/app-webpack.ts @@ -2,6 +2,7 @@ // https://github.com/webpack/webpack/blob/2738eebc7880835d88c727d364ad37f3ec557593/lib/RuntimeGlobals.js#L204 import { getDeploymentIdQueryOrEmptyString } from '../build/deployment-id' +import { encodeURIPath } from '../shared/lib/encode-uri-path' declare const __webpack_require__: any @@ -13,9 +14,9 @@ if (process.env.NEXT_DEPLOYMENT_ID) { const getChunkScriptFilename = __webpack_require__.u // eslint-disable-next-line no-undef __webpack_require__.u = (...args: any[]) => - // We enode the chunk filename because our static server matches against and encoded + // We encode the chunk filename because our static server matches against and encoded // filename path. - encodeURI(getChunkScriptFilename(...args) + suffix) + encodeURIPath(getChunkScriptFilename(...args)) + suffix // eslint-disable-next-line no-undef const getChunkCssFilename = __webpack_require__.k @@ -33,9 +34,9 @@ if (process.env.NEXT_DEPLOYMENT_ID) { const getChunkScriptFilename = __webpack_require__.u // eslint-disable-next-line no-undef __webpack_require__.u = (...args: any[]) => - // We enode the chunk filename because our static server matches against and encoded + // We encode the chunk filename because our static server matches against and encoded // filename path. - encodeURI(getChunkScriptFilename(...args)) + encodeURIPath(getChunkScriptFilename(...args)) // We don't need to override __webpack_require__.k because we don't modify // the css chunk name when not using deployment id suffixes diff --git a/packages/next/src/client/components/app-router.tsx b/packages/next/src/client/components/app-router.tsx index 42357ab3090ef..2d9b4f530d349 100644 --- a/packages/next/src/client/components/app-router.tsx +++ b/packages/next/src/client/components/app-router.tsx @@ -39,11 +39,7 @@ import { PathnameContext, PathParamsContext, } from '../../shared/lib/hooks-client-context.shared-runtime' -import { - useReducerWithReduxDevtools, - useUnwrapState, - type ReduxDevtoolsSyncFn, -} from './use-reducer-with-devtools' +import { useReducer, useUnwrapState } from './use-reducer' import { ErrorBoundary, type ErrorComponent } from './error-boundary' import { isBot } from '../../shared/lib/router/utils/is-bot' import { addBasePath } from '../add-base-path' @@ -75,10 +71,8 @@ function isExternalURL(url: URL) { function HistoryUpdater({ appRouterState, - sync, }: { appRouterState: AppRouterState - sync: ReduxDevtoolsSyncFn }) { useInsertionEffect(() => { if (process.env.__NEXT_APP_NAV_FAIL_HANDLING) { @@ -108,9 +102,7 @@ function HistoryUpdater({ } else { window.history.replaceState(historyState, '', canonicalUrl) } - - sync(appRouterState) - }, [appRouterState, sync]) + }, [appRouterState]) return null } @@ -219,7 +211,7 @@ function Router({ actionQueue: AppRouterActionQueue assetPrefix: string }) { - const [state, dispatch, sync] = useReducerWithReduxDevtools(actionQueue) + const [state, dispatch] = useReducer(actionQueue) const { canonicalUrl } = useUnwrapState(state) // Add memoized pathname/query for useSearchParams and usePathname. const { searchParams, pathname } = useMemo(() => { @@ -606,7 +598,7 @@ function Router({ return ( <> - + diff --git a/packages/next/src/client/components/async-local-storage.ts b/packages/next/src/client/components/async-local-storage.ts index bab68f2a0e5a9..166f34d3f14c1 100644 --- a/packages/next/src/client/components/async-local-storage.ts +++ b/packages/next/src/client/components/async-local-storage.ts @@ -40,3 +40,15 @@ export function createAsyncLocalStorage< } return new FakeAsyncLocalStorage() } + +export function createSnapshot(): ( + fn: (...args: TArgs) => R, + ...args: TArgs +) => R { + if (maybeGlobalAsyncLocalStorage) { + return maybeGlobalAsyncLocalStorage.snapshot() + } + return function (fn: any, ...args: any[]) { + return fn(...args) + } +} diff --git a/packages/next/src/client/components/client-page.tsx b/packages/next/src/client/components/client-page.tsx index 92f72b83bcd51..29cb3be77308b 100644 --- a/packages/next/src/client/components/client-page.tsx +++ b/packages/next/src/client/components/client-page.tsx @@ -1,30 +1,76 @@ 'use client' +import type { ParsedUrlQuery } from 'querystring' +import { InvariantError } from '../../shared/lib/invariant-error' + +import type { Params } from '../../server/request/params' + +/** + * When the Page is a client component we send the params and searchParams to this client wrapper + * where they are turned into dynamically tracked values before being passed to the actual Page component. + * + * additionally we may send promises representing the params and searchParams. We don't ever use these passed + * values but it can be necessary for the sender to send a Promise that doesn't resolve in certain situations. + * It is up to the caller to decide if the promises are needed. + */ export function ClientPageRoot({ Component, - props, + searchParams, + params, + // eslint-disable-next-line @typescript-eslint/no-unused-vars + promises, }: { Component: React.ComponentType - props: { [props: string]: any } + searchParams: ParsedUrlQuery + params: Params + promises?: Array> }) { if (typeof window === 'undefined') { - const { createDynamicallyTrackedParams } = - require('./fallback-params') as typeof import('./fallback-params') - const { createDynamicallyTrackedSearchParams } = - require('./search-params') as typeof import('./search-params') - - // We expect to be passed searchParams but even if we aren't we can construct one from - // an empty object. We only do this if we are in a static generation as a performance - // optimization. Ideally we'd unconditionally construct the tracked params but since - // this creates a proxy which is slow and this would happen even for client navigations - // that are done entirely dynamically and we know there the dynamic tracking is a noop - // in this dynamic case we can safely elide it. - props.searchParams = createDynamicallyTrackedSearchParams( - props.searchParams || {} - ) - props.params = props.params - ? createDynamicallyTrackedParams(props.params) - : {} + const { staticGenerationAsyncStorage } = + require('./static-generation-async-storage.external') as typeof import('./static-generation-async-storage.external') + + let clientSearchParams: Promise + let clientParams: Promise + // We are going to instrument the searchParams prop with tracking for the + // appropriate context. We wrap differently in prerendering vs rendering + const store = staticGenerationAsyncStorage.getStore() + if (!store) { + throw new InvariantError( + 'Expected staticGenerationStore to exist when handling searchParams in a client Page.' + ) + } + + if (store.isStaticGeneration) { + // We are in a prerender context + const { createPrerenderSearchParamsFromClient } = + require('../../server/request/search-params') as typeof import('../../server/request/search-params') + clientSearchParams = createPrerenderSearchParamsFromClient(store) + + const { createPrerenderParamsFromClient } = + require('../../server/request/params') as typeof import('../../server/request/params') + + clientParams = createPrerenderParamsFromClient(params, store) + } else { + const { createRenderSearchParamsFromClient } = + require('../../server/request/search-params') as typeof import('../../server/request/search-params') + clientSearchParams = createRenderSearchParamsFromClient( + searchParams, + store + ) + const { createRenderParamsFromClient } = + require('../../server/request/params') as typeof import('../../server/request/params') + clientParams = createRenderParamsFromClient(params, store) + } + + return + } else { + const { createRenderSearchParamsFromClient } = + require('../../server/request/search-params.browser') as typeof import('../../server/request/search-params.browser') + const clientSearchParams = createRenderSearchParamsFromClient(searchParams) + const { createRenderParamsFromClient } = + require('../../server/request/params.browser') as typeof import('../../server/request/params.browser') + const clientParams = createRenderParamsFromClient(params) + + return } - return } diff --git a/packages/next/src/client/components/client-segment.tsx b/packages/next/src/client/components/client-segment.tsx new file mode 100644 index 0000000000000..f7bcf8a907937 --- /dev/null +++ b/packages/next/src/client/components/client-segment.tsx @@ -0,0 +1,58 @@ +'use client' + +import { InvariantError } from '../../shared/lib/invariant-error' + +import type { Params } from '../../server/request/params' + +/** + * When the Page is a client component we send the params to this client wrapper + * where they are turned into dynamically tracked values before being passed to the actual Segment component. + * + * additionally we may send a promise representing params. We don't ever use this passed + * value but it can be necessary for the sender to send a Promise that doesn't resolve in certain situations + * such as when dynamicIO is enabled. It is up to the caller to decide if the promises are needed. + */ +export function ClientSegmentRoot({ + Component, + slots, + params, + // eslint-disable-next-line @typescript-eslint/no-unused-vars + promise, +}: { + Component: React.ComponentType + slots: { [key: string]: React.ReactNode } + params: Params + promise?: Promise +}) { + if (typeof window === 'undefined') { + const { staticGenerationAsyncStorage } = + require('./static-generation-async-storage.external') as typeof import('./static-generation-async-storage.external') + + let clientParams: Promise + // We are going to instrument the searchParams prop with tracking for the + // appropriate context. We wrap differently in prerendering vs rendering + const store = staticGenerationAsyncStorage.getStore() + if (!store) { + throw new InvariantError( + 'Expected staticGenerationStore to exist when handling params in a client segment such as a Layout or Template.' + ) + } + + const { createPrerenderParamsFromClient } = + require('../../server/request/params') as typeof import('../../server/request/params') + + if (store.isStaticGeneration) { + clientParams = createPrerenderParamsFromClient(params, store) + } else { + const { createRenderParamsFromClient } = + require('../../server/request/params') as typeof import('../../server/request/params') + clientParams = createRenderParamsFromClient(params, store) + } + return + } else { + const { createRenderParamsFromClient } = + require('../../server/request/params.browser') as typeof import('../../server/request/params.browser') + const clientParams = createRenderParamsFromClient(params) + return + } +} diff --git a/packages/next/src/client/components/draft-mode.ts b/packages/next/src/client/components/draft-mode.ts deleted file mode 100644 index e1c5cf94fd58e..0000000000000 --- a/packages/next/src/client/components/draft-mode.ts +++ /dev/null @@ -1,36 +0,0 @@ -import type { DraftModeProvider } from '../../server/async-storage/draft-mode-provider' - -import { staticGenerationAsyncStorage } from './static-generation-async-storage.external' -import { trackDynamicDataAccessed } from '../../server/app-render/dynamic-rendering' - -export class DraftMode { - /** - * @internal - this declaration is stripped via `tsc --stripInternal` - */ - private readonly _provider: DraftModeProvider - - constructor(provider: DraftModeProvider) { - this._provider = provider - } - get isEnabled() { - return this._provider.isEnabled - } - public enable() { - const store = staticGenerationAsyncStorage.getStore() - if (store) { - // We we have a store we want to track dynamic data access to ensure we - // don't statically generate routes that manipulate draft mode. - trackDynamicDataAccessed(store, 'draftMode().enable()') - } - return this._provider.enable() - } - public disable() { - const store = staticGenerationAsyncStorage.getStore() - if (store) { - // We we have a store we want to track dynamic data access to ensure we - // don't statically generate routes that manipulate draft mode. - trackDynamicDataAccessed(store, 'draftMode().disable()') - } - return this._provider.disable() - } -} diff --git a/packages/next/src/client/components/fallback-params.ts b/packages/next/src/client/components/fallback-params.ts deleted file mode 100644 index a31b6df78d438..0000000000000 --- a/packages/next/src/client/components/fallback-params.ts +++ /dev/null @@ -1,97 +0,0 @@ -import { trackFallbackParamAccessed } from '../../server/app-render/dynamic-rendering' -import { ReflectAdapter } from '../../server/web/spec-extension/adapters/reflect' -import { getRouteMatcher } from '../../shared/lib/router/utils/route-matcher' -import { getRouteRegex } from '../../shared/lib/router/utils/route-regex' -import type { Params } from './params' -import { staticGenerationAsyncStorage } from './static-generation-async-storage.external' - -export type FallbackRouteParams = ReadonlyMap - -export function getParamKeys(page: string) { - const pattern = getRouteRegex(page) - const matcher = getRouteMatcher(pattern) - - // Get the default list of allowed params. - return Object.keys(matcher(page)) -} - -export function getFallbackRouteParams( - pageOrKeys: string | readonly string[] -): FallbackRouteParams | null { - let keys: readonly string[] - if (typeof pageOrKeys === 'string') { - keys = getParamKeys(pageOrKeys) - } else { - keys = pageOrKeys - } - - // If there are no keys, we can return early. - if (keys.length === 0) return null - - const params = new Map() - - // As we're creating unique keys for each of the dynamic route params, we only - // need to generate a unique ID once per request because each of the keys will - // be also be unique. - const uniqueID = Math.random().toString(16).slice(2) - - for (const key of keys) { - params.set(key, `%%drp:${key}:${uniqueID}%%`) - } - - return params -} - -export type CreateDynamicallyTrackedParams = - typeof createDynamicallyTrackedParams - -export function createDynamicallyTrackedParams(params: Params): Params { - const staticGenerationStore = staticGenerationAsyncStorage.getStore() - if ( - !staticGenerationStore || - !staticGenerationStore.isStaticGeneration || - !staticGenerationStore.fallbackRouteParams || - staticGenerationStore.fallbackRouteParams.size === 0 - ) { - return params - } - - // If there are no unknown route params, we can just return the params. - const { fallbackRouteParams } = staticGenerationStore - - return new Proxy(params as Params, { - get(target, prop, receiver) { - // If the property is in the params object, we should track the access if - // it's an unknown dynamic param. - if ( - typeof prop === 'string' && - prop in params && - fallbackRouteParams.has(prop) - ) { - trackFallbackParamAccessed(staticGenerationStore, `params.${prop}`) - } - - return ReflectAdapter.get(target, prop, receiver) - }, - has(target, prop) { - if ( - typeof prop === 'string' && - prop in params && - fallbackRouteParams.has(prop) - ) { - trackFallbackParamAccessed(staticGenerationStore, `params.${prop}`) - } - - return ReflectAdapter.has(target, prop) - }, - ownKeys(target) { - for (const key in params) { - if (fallbackRouteParams.has(key)) { - trackFallbackParamAccessed(staticGenerationStore, 'params') - } - } - - return Reflect.ownKeys(target) - }, - }) -} diff --git a/packages/next/src/client/components/globals/handle-global-errors.ts b/packages/next/src/client/components/globals/handle-global-errors.ts new file mode 100644 index 0000000000000..69fedce605ca5 --- /dev/null +++ b/packages/next/src/client/components/globals/handle-global-errors.ts @@ -0,0 +1,3 @@ +import { handleGlobalErrors } from '../react-dev-overlay/internal/helpers/use-error-handler' + +handleGlobalErrors() diff --git a/packages/next/src/client/components/globals/intercept-console-error.ts b/packages/next/src/client/components/globals/intercept-console-error.ts new file mode 100644 index 0000000000000..3ba28d9eec2a6 --- /dev/null +++ b/packages/next/src/client/components/globals/intercept-console-error.ts @@ -0,0 +1,28 @@ +import { isNextRouterError } from '../is-next-router-error' +import { handleClientError } from '../react-dev-overlay/internal/helpers/use-error-handler' + +// Patch console.error to collect information about hydration errors +export function patchConsoleError() { + // Ensure it's only patched once + if (typeof window === 'undefined') { + return + } + + const originConsoleError = window.console.error + window.console.error = (...args) => { + // See https://github.com/facebook/react/blob/d50323eb845c5fde0d720cae888bf35dedd05506/packages/react-reconciler/src/ReactFiberErrorLogger.js#L78 + const error = process.env.NODE_ENV !== 'production' ? args[1] : args[0] + + if (!isNextRouterError(error)) { + if (process.env.NODE_ENV !== 'production') { + const { storeHydrationErrorStateFromConsoleArgs } = + require('../react-dev-overlay/internal/helpers/hydration-error-info') as typeof import('../react-dev-overlay/internal/helpers/hydration-error-info') + + storeHydrationErrorStateFromConsoleArgs(...args) + handleClientError(error) + } + + originConsoleError.apply(window.console, args) + } + } +} diff --git a/packages/next/src/client/components/globals/patch-console.ts b/packages/next/src/client/components/globals/patch-console.ts new file mode 100644 index 0000000000000..c8f2ba7dca327 --- /dev/null +++ b/packages/next/src/client/components/globals/patch-console.ts @@ -0,0 +1,3 @@ +import { patchConsoleError } from './intercept-console-error' + +patchConsoleError() diff --git a/packages/next/src/client/components/headers.ts b/packages/next/src/client/components/headers.ts deleted file mode 100644 index 38432c01bc31d..0000000000000 --- a/packages/next/src/client/components/headers.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { - type ReadonlyRequestCookies, - RequestCookiesAdapter, -} from '../../server/web/spec-extension/adapters/request-cookies' -import { HeadersAdapter } from '../../server/web/spec-extension/adapters/headers' -import { RequestCookies } from '../../server/web/spec-extension/cookies' -import { actionAsyncStorage } from './action-async-storage.external' -import { DraftMode } from './draft-mode' -import { trackDynamicDataAccessed } from '../../server/app-render/dynamic-rendering' -import { staticGenerationAsyncStorage } from './static-generation-async-storage.external' -import { getExpectedRequestStore } from './request-async-storage.external' - -/** - * This function allows you to read the HTTP incoming request headers in - * [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components), - * [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations), - * [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers) and - * [Middleware](https://nextjs.org/docs/app/building-your-application/routing/middleware). - * - * Read more: [Next.js Docs: `headers`](https://nextjs.org/docs/app/api-reference/functions/headers) - */ -export function headers() { - const callingExpression = 'headers' - const staticGenerationStore = staticGenerationAsyncStorage.getStore() - - if (staticGenerationStore) { - if (staticGenerationStore.forceStatic) { - // When we are forcing static we don't mark this as a Dynamic read and we return an empty headers object - return HeadersAdapter.seal(new Headers({})) - } else { - // We will return a real headers object below so we mark this call as reading from a dynamic data source - trackDynamicDataAccessed(staticGenerationStore, callingExpression) - } - } - - return getExpectedRequestStore(callingExpression).headers -} - -export function cookies() { - const callingExpression = 'cookies' - const staticGenerationStore = staticGenerationAsyncStorage.getStore() - - if (staticGenerationStore) { - if (staticGenerationStore.forceStatic) { - // When we are forcing static we don't mark this as a Dynamic read and we return an empty cookies object - return RequestCookiesAdapter.seal(new RequestCookies(new Headers({}))) - } else { - // We will return a real headers object below so we mark this call as reading from a dynamic data source - trackDynamicDataAccessed(staticGenerationStore, callingExpression) - } - } - - const requestStore = getExpectedRequestStore(callingExpression) - - const asyncActionStore = actionAsyncStorage.getStore() - if (asyncActionStore?.isAction || asyncActionStore?.isAppRoute) { - // We can't conditionally return different types here based on the context. - // To avoid confusion, we always return the readonly type here. - return requestStore.mutableCookies as unknown as ReadonlyRequestCookies - } - - return requestStore.cookies -} - -export function draftMode() { - const callingExpression = 'draftMode' - const requestStore = getExpectedRequestStore(callingExpression) - - return new DraftMode(requestStore.draftMode) -} diff --git a/packages/next/src/client/components/navigation.ts b/packages/next/src/client/components/navigation.ts index aae8e77ae8dba..ff1a6b88caa80 100644 --- a/packages/next/src/client/components/navigation.ts +++ b/packages/next/src/client/components/navigation.ts @@ -1,5 +1,5 @@ import type { FlightRouterState } from '../../server/app-render/types' -import type { Params } from './params' +import type { Params } from '../../server/request/params' import { useContext, useMemo } from 'react' import { @@ -15,7 +15,7 @@ import { import { getSegmentValue } from './router-reducer/reducers/get-segment-value' import { PAGE_SEGMENT_KEY, DEFAULT_SEGMENT_KEY } from '../../shared/lib/segment' import { ReadonlyURLSearchParams } from './navigation.react-server' -import { trackFallbackParamAccessed } from '../../server/app-render/dynamic-rendering' +import { useDynamicRouteParams } from '../../server/app-render/dynamic-rendering' /** * A [Client Component](https://nextjs.org/docs/app/building-your-application/rendering/client-components) hook @@ -65,27 +65,6 @@ export function useSearchParams(): ReadonlyURLSearchParams { return readonlySearchParams } -function trackParamsAccessed(expression: string) { - if (typeof window === 'undefined') { - // AsyncLocalStorage should not be included in the client bundle. - const { staticGenerationAsyncStorage } = - require('./static-generation-async-storage.external') as typeof import('./static-generation-async-storage.external') - - const staticGenerationStore = staticGenerationAsyncStorage.getStore() - - if ( - staticGenerationStore && - staticGenerationStore.isStaticGeneration && - staticGenerationStore.fallbackRouteParams && - staticGenerationStore.fallbackRouteParams.size > 0 - ) { - // There are fallback route params, we should track these as dynamic - // accesses. - trackFallbackParamAccessed(staticGenerationStore, expression) - } - } -} - /** * A [Client Component](https://nextjs.org/docs/app/building-your-application/rendering/client-components) hook * that lets you read the current URL's pathname. @@ -105,7 +84,7 @@ function trackParamsAccessed(expression: string) { */ // Client components API export function usePathname(): string { - trackParamsAccessed('usePathname()') + useDynamicRouteParams('usePathname()') // In the case where this is `null`, the compat types added in `next-env.d.ts` // will add a new overload that changes the return type to include `null`. @@ -165,21 +144,19 @@ export function useRouter(): AppRouterInstance { */ // Client components API export function useParams(): T { - trackParamsAccessed('useParams()') + useDynamicRouteParams('useParams()') return useContext(PathParamsContext) as T } /** Get the canonical parameters from the current level to the leaf node. */ // Client components API -export function getSelectedLayoutSegmentPath( +function getSelectedLayoutSegmentPath( tree: FlightRouterState, parallelRouteKey: string, first = true, segmentPath: string[] = [] ): string[] { - trackParamsAccessed('getSelectedLayoutSegmentPath()') - let node: FlightRouterState if (first) { // Use the provided parallel route key on the first parallel route @@ -238,7 +215,7 @@ export function getSelectedLayoutSegmentPath( export function useSelectedLayoutSegments( parallelRouteKey: string = 'children' ): string[] { - trackParamsAccessed('useSelectedLayoutSegments()') + useDynamicRouteParams('useSelectedLayoutSegments()') const context = useContext(LayoutRouterContext) // @ts-expect-error This only happens in `pages`. Type is overwritten in navigation.d.ts @@ -269,7 +246,7 @@ export function useSelectedLayoutSegments( export function useSelectedLayoutSegment( parallelRouteKey: string = 'children' ): string | null { - trackParamsAccessed('useSelectedLayoutSegment()') + useDynamicRouteParams('useSelectedLayoutSegment()') const selectedLayoutSegments = useSelectedLayoutSegments(parallelRouteKey) diff --git a/packages/next/src/client/components/params.ts b/packages/next/src/client/components/params.ts deleted file mode 100644 index a3e8c24c9cd3d..0000000000000 --- a/packages/next/src/client/components/params.ts +++ /dev/null @@ -1 +0,0 @@ -export type Params = Record diff --git a/packages/next/src/client/components/react-dev-overlay/internal/container/RuntimeError/component-stack-pseudo-html.tsx b/packages/next/src/client/components/react-dev-overlay/internal/container/RuntimeError/component-stack-pseudo-html.tsx index 6b2c858d6f346..58b2e2d199665 100644 --- a/packages/next/src/client/components/react-dev-overlay/internal/container/RuntimeError/component-stack-pseudo-html.tsx +++ b/packages/next/src/client/components/react-dev-overlay/internal/container/RuntimeError/component-stack-pseudo-html.tsx @@ -66,7 +66,7 @@ export function PseudoHtmlDiff({ firstContent: string secondContent: string reactOutputComponentDiff: string | undefined - hydrationMismatchType: 'tag' | 'text' + hydrationMismatchType: 'tag' | 'text' | 'text-in-tag' } & React.HTMLAttributes) { const isHtmlTagsWarning = hydrationMismatchType === 'tag' const isReactHydrationDiff = !!reactOutputComponentDiff diff --git a/packages/next/src/client/components/react-dev-overlay/internal/helpers/hydration-error-info.ts b/packages/next/src/client/components/react-dev-overlay/internal/helpers/hydration-error-info.ts index f99a6e41c55d0..3ca474eeedb1a 100644 --- a/packages/next/src/client/components/react-dev-overlay/internal/helpers/hydration-error-info.ts +++ b/packages/next/src/client/components/react-dev-overlay/internal/helpers/hydration-error-info.ts @@ -17,21 +17,62 @@ export const hydrationErrorState: HydrationErrorState = {} // https://github.com/facebook/react/blob/main/packages/react-dom/src/__tests__/ReactDOMHydrationDiff-test.js used as a reference const htmlTagsWarnings = new Set([ - 'In HTML, %s cannot be a child of <%s>.%s\nThis will cause a hydration error.%s', - 'In HTML, %s cannot be a descendant of <%s>.\nThis will cause a hydration error.%s', - 'In HTML, text nodes cannot be a child of <%s>.\nThis will cause a hydration error.', - "In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.\nThis will cause a hydration error.", + 'Warning: In HTML, %s cannot be a child of <%s>.%s\nThis will cause a hydration error.%s', + 'Warning: In HTML, %s cannot be a descendant of <%s>.\nThis will cause a hydration error.%s', + 'Warning: In HTML, text nodes cannot be a child of <%s>.\nThis will cause a hydration error.', + "Warning: In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.\nThis will cause a hydration error.", + 'Warning: Expected server HTML to contain a matching <%s> in <%s>.%s', + 'Warning: Did not expect server HTML to contain a <%s> in <%s>.%s', ]) +const textAndTagsMismatchWarnings = new Set([ + 'Warning: Expected server HTML to contain a matching text node for "%s" in <%s>.%s', + 'Warning: Did not expect server HTML to contain the text node "%s" in <%s>.%s', +]) +const textMismatchWarning = + 'Warning: Text content did not match. Server: "%s" Client: "%s"%s' + +export const getHydrationWarningType = ( + message: NullableText +): 'tag' | 'text' | 'text-in-tag' => { + if (typeof message !== 'string') { + // TODO: Doesn't make sense to treat no message as a hydration error message. + // We should bail out somewhere earlier. + return 'text' + } + + const normalizedMessage = message.startsWith('Warning: ') + ? message + : `Warning: ${message}` + + if (isHtmlTagsWarning(normalizedMessage)) return 'tag' + if (isTextInTagsMismatchWarning(normalizedMessage)) return 'text-in-tag' -export const getHydrationWarningType = (msg: NullableText): 'tag' | 'text' => { - if (isHtmlTagsWarning(msg)) return 'tag' return 'text' } -const isHtmlTagsWarning = (msg: NullableText) => - Boolean(msg && htmlTagsWarnings.has(msg)) +const isHtmlTagsWarning = (message: string) => htmlTagsWarnings.has(message) -const isKnownHydrationWarning = (msg: NullableText) => isHtmlTagsWarning(msg) +const isTextMismatchWarning = (message: string) => + textMismatchWarning === message +const isTextInTagsMismatchWarning = (msg: string) => + textAndTagsMismatchWarnings.has(msg) + +const isKnownHydrationWarning = (message: NullableText) => { + if (typeof message !== 'string') { + return false + } + // React 18 has the `Warning: ` prefix. + // React 19 does not. + const normalizedMessage = message.startsWith('Warning: ') + ? message + : `Warning: ${message}` + + return ( + isHtmlTagsWarning(normalizedMessage) || + isTextInTagsMismatchWarning(normalizedMessage) || + isTextMismatchWarning(normalizedMessage) + ) +} export const getReactHydrationDiffSegments = (msg: NullableText) => { if (msg) { diff --git a/packages/next/src/client/components/react-dev-overlay/internal/helpers/use-error-handler.ts b/packages/next/src/client/components/react-dev-overlay/internal/helpers/use-error-handler.ts index a84402337f497..db2c8b076fb3a 100644 --- a/packages/next/src/client/components/react-dev-overlay/internal/helpers/use-error-handler.ts +++ b/packages/next/src/client/components/react-dev-overlay/internal/helpers/use-error-handler.ts @@ -1,22 +1,14 @@ import { useEffect } from 'react' - -import { isNextRouterError } from '../../../is-next-router-error' import { isHydrationError } from '../../../is-hydration-error' import { attachHydrationErrorState } from './attach-hydration-error-state' +import { isNextRouterError } from '../../../is-next-router-error' export type ErrorHandler = (error: Error) => void -if (typeof window !== 'undefined') { - try { - // Increase the number of stack frames on the client - Error.stackTraceLimit = 50 - } catch {} -} - let hasHydrationError = false const errorQueue: Array = [] -const rejectionQueue: Array = [] const errorHandlers: Array = [] +const rejectionQueue: Array = [] const rejectionHandlers: Array = [] export function handleClientError(error: unknown) { @@ -38,48 +30,6 @@ export function handleClientError(error: unknown) { handler(error) } } -if (typeof window !== 'undefined') { - // These event handlers must be added outside of the hook because there is no - // guarantee that the hook will be alive in a mounted component in time to - // when the errors occur. - // uncaught errors go through reportError - window.addEventListener( - 'error', - (event: WindowEventMap['error']): void | boolean => { - if (isNextRouterError(event.error)) { - event.preventDefault() - return false - } - handleClientError(event.error) - } - ) - - window.addEventListener( - 'unhandledrejection', - (ev: WindowEventMap['unhandledrejection']): void => { - const reason = ev?.reason - if (isNextRouterError(reason)) { - ev.preventDefault() - return - } - - if ( - !reason || - !(reason instanceof Error) || - typeof reason.stack !== 'string' - ) { - // A non-error was thrown, we don't have anything to show. :-( - return - } - - const e = reason - rejectionQueue.push(e) - for (const handler of rejectionHandlers) { - handler(e) - } - } - ) -} export function useErrorHandler( handleOnUnhandledError: ErrorHandler, @@ -104,3 +54,49 @@ export function useErrorHandler( } }, [handleOnUnhandledError, handleOnUnhandledRejection]) } + +export function handleGlobalErrors() { + if (typeof window !== 'undefined') { + try { + // Increase the number of stack frames on the client + Error.stackTraceLimit = 50 + } catch {} + + window.addEventListener( + 'error', + (event: WindowEventMap['error']): void | boolean => { + if (isNextRouterError(event.error)) { + event.preventDefault() + return false + } + handleClientError(event.error) + } + ) + + window.addEventListener( + 'unhandledrejection', + (ev: WindowEventMap['unhandledrejection']): void => { + const reason = ev?.reason + if (isNextRouterError(reason)) { + ev.preventDefault() + return + } + + if ( + !reason || + !(reason instanceof Error) || + typeof reason.stack !== 'string' + ) { + // A non-error was thrown, we don't have anything to show. :-( + return + } + + const e = reason + rejectionQueue.push(e) + for (const handler of rejectionHandlers) { + handler(e) + } + } + ) + } +} diff --git a/packages/next/src/client/components/react-dev-overlay/server/middleware-turbopack.ts b/packages/next/src/client/components/react-dev-overlay/server/middleware-turbopack.ts index 5768b17925cab..02f6036470e43 100644 --- a/packages/next/src/client/components/react-dev-overlay/server/middleware-turbopack.ts +++ b/packages/next/src/client/components/react-dev-overlay/server/middleware-turbopack.ts @@ -12,7 +12,7 @@ import { import fs, { constants as FS } from 'fs/promises' import { launchEditor } from '../internal/helpers/launchEditor' import type { StackFrame } from 'next/dist/compiled/stacktrace-parser' -import type { Project, TurbopackStackFrame } from '../../../../build/swc' +import type { Project, TurbopackStackFrame } from '../../../../build/swc/types' const currentSourcesByFile: Map> = new Map() export async function batchedTraceSource( diff --git a/packages/next/src/client/components/react-dev-overlay/server/shared.ts b/packages/next/src/client/components/react-dev-overlay/server/shared.ts index 58eef73c562cc..2bf7cbf6ec4ed 100644 --- a/packages/next/src/client/components/react-dev-overlay/server/shared.ts +++ b/packages/next/src/client/components/react-dev-overlay/server/shared.ts @@ -31,6 +31,8 @@ export function findSourcePackage({ return 'react' } else if (nextInternalsRe.test(file)) { return 'next' + } else if (file.startsWith('[turbopack]/')) { + return 'next' } } diff --git a/packages/next/src/client/components/redirect.ts b/packages/next/src/client/components/redirect.ts index f75c2cd08588b..fe787f5e94bfb 100644 --- a/packages/next/src/client/components/redirect.ts +++ b/packages/next/src/client/components/redirect.ts @@ -37,18 +37,21 @@ export function getRedirectError( * * - In a Server Component, this will insert a meta tag to redirect the user to the target page. * - In a Route Handler or Server Action, it will serve a 307/303 to the caller. + * - In a Server Action, type defaults to 'push' and 'replace' elsewhere. * * Read more: [Next.js Docs: `redirect`](https://nextjs.org/docs/app/api-reference/functions/redirect) */ export function redirect( /** The URL to redirect to */ url: string, - type: RedirectType = RedirectType.replace + type?: RedirectType ): never { const actionStore = actionAsyncStorage.getStore() + const redirectType = + type || (actionStore?.isAction ? RedirectType.push : RedirectType.replace) throw getRedirectError( url, - type, + redirectType, // If we're in an action, we want to use a 303 redirect // as we don't want the POST request to follow the redirect, // as it could result in erroneous re-submissions. diff --git a/packages/next/src/client/components/router-reducer/compute-changed-path.ts b/packages/next/src/client/components/router-reducer/compute-changed-path.ts index bba25ddf76875..4df41cd574206 100644 --- a/packages/next/src/client/components/router-reducer/compute-changed-path.ts +++ b/packages/next/src/client/components/router-reducer/compute-changed-path.ts @@ -3,7 +3,7 @@ import type { Segment, } from '../../../server/app-render/types' import { INTERCEPTION_ROUTE_MARKERS } from '../../../server/lib/interception-routes' -import type { Params } from '../params' +import type { Params } from '../../../server/request/params' import { isGroupSegment, DEFAULT_SEGMENT_KEY, diff --git a/packages/next/src/client/components/router-reducer/reducers/navigate-reducer.ts b/packages/next/src/client/components/router-reducer/reducers/navigate-reducer.ts index 431522c266b8f..ad26121bdd7d6 100644 --- a/packages/next/src/client/components/router-reducer/reducers/navigate-reducer.ts +++ b/packages/next/src/client/components/router-reducer/reducers/navigate-reducer.ts @@ -119,6 +119,12 @@ export function navigateReducer( return handleExternalUrl(state, mutable, url.toString(), pendingPush) } + // Handles case where `` tag is present, + // which will trigger an MPA navigation. + if (document.getElementById('__next-page-redirect')) { + return handleExternalUrl(state, mutable, href, pendingPush) + } + const prefetchValues = getOrCreatePrefetchCacheEntry({ url, nextUrl: state.nextUrl, @@ -145,12 +151,6 @@ export function navigateReducer( return handleExternalUrl(state, mutable, flightData, pendingPush) } - // Handles case where `` tag is present, - // which will trigger an MPA navigation. - if (document.getElementById('__next-page-redirect')) { - return handleExternalUrl(state, mutable, href, pendingPush) - } - // When the server indicates an override for the canonical URL (such as a redirect in middleware) // we only want to use that if we're not using an aliased entry as the redirect will correspond with // the aliased prefetch which might have different search params. Since we're only using the aliased entry diff --git a/packages/next/src/client/components/router-reducer/reducers/server-action-reducer.ts b/packages/next/src/client/components/router-reducer/reducers/server-action-reducer.ts index 803dc7f54175f..fd1f0846085c7 100644 --- a/packages/next/src/client/components/router-reducer/reducers/server-action-reducer.ts +++ b/packages/next/src/client/components/router-reducer/reducers/server-action-reducer.ts @@ -52,6 +52,7 @@ import { hasBasePath } from '../../../has-base-path' type FetchServerActionResult = { redirectLocation: URL | undefined + redirectType: RedirectType | undefined actionResult?: ActionResult actionFlightData?: NormalizedFlightData[] | string isPrerender: boolean @@ -91,7 +92,20 @@ async function fetchServerAction( body, }) - const location = res.headers.get('x-action-redirect') + const redirectHeader = res.headers.get('x-action-redirect') + const [location, _redirectType] = redirectHeader?.split(';') || [] + let redirectType: RedirectType | undefined + switch (_redirectType) { + case 'push': + redirectType = RedirectType.push + break + case 'replace': + redirectType = RedirectType.replace + break + default: + redirectType = undefined + } + const isPrerender = !!res.headers.get(NEXT_IS_PRERENDER_HEADER) let revalidatedParts: FetchServerActionResult['revalidatedParts'] try { @@ -134,6 +148,7 @@ async function fetchServerAction( return { actionFlightData: normalizeFlightData(response.f), redirectLocation, + redirectType, revalidatedParts, isPrerender, } @@ -143,6 +158,7 @@ async function fetchServerAction( actionResult: response.a, actionFlightData: normalizeFlightData(response.f), redirectLocation, + redirectType, revalidatedParts, isPrerender, } @@ -162,6 +178,7 @@ async function fetchServerAction( return { redirectLocation, + redirectType, revalidatedParts, isPrerender, } @@ -197,13 +214,18 @@ export function serverActionReducer( actionResult, actionFlightData: flightData, redirectLocation, + redirectType, isPrerender, }) => { - // Make sure the redirection is a push instead of a replace. - // Issue: https://github.com/vercel/next.js/issues/53911 + // honor the redirect type instead of defaulting to push in case of server actions. if (redirectLocation) { - state.pushRef.pendingPush = true - mutable.pendingPush = true + if (redirectType === RedirectType.replace) { + state.pushRef.pendingPush = false + mutable.pendingPush = false + } else { + state.pushRef.pendingPush = true + mutable.pendingPush = true + } } if (!flightData) { @@ -263,7 +285,7 @@ export function serverActionReducer( reject( getRedirectError( hasBasePath(newHref) ? removeBasePath(newHref) : newHref, - RedirectType.push + redirectType || RedirectType.push ) ) diff --git a/packages/next/src/client/components/router-reducer/router-reducer-types.ts b/packages/next/src/client/components/router-reducer/router-reducer-types.ts index 142e68e46c594..15a98c9a01cf6 100644 --- a/packages/next/src/client/components/router-reducer/router-reducer-types.ts +++ b/packages/next/src/client/components/router-reducer/router-reducer-types.ts @@ -272,15 +272,3 @@ export type ReducerActions = Readonly< | HmrRefreshAction | ServerActionAction > - -export function isThenable(value: any): value is Promise { - // TODO: We don't gain anything from this abstraction. It's unsound, and only - // makes sense in the specific places where we use it. So it's better to keep - // the type coercion inline, instead of leaking this to other places in - // the codebase. - return ( - value && - (typeof value === 'object' || typeof value === 'function') && - typeof value.then === 'function' - ) -} diff --git a/packages/next/src/client/components/search-params.ts b/packages/next/src/client/components/search-params.ts deleted file mode 100644 index deab85d22c5ec..0000000000000 --- a/packages/next/src/client/components/search-params.ts +++ /dev/null @@ -1,73 +0,0 @@ -import type { ParsedUrlQuery } from 'querystring' - -import { staticGenerationAsyncStorage } from './static-generation-async-storage.external' -import { trackDynamicDataAccessed } from '../../server/app-render/dynamic-rendering' -import { ReflectAdapter } from '../../server/web/spec-extension/adapters/reflect' - -/** - * Takes a ParsedUrlQuery object and either returns it unmodified or returns an empty object - * - * Even though we do not track read access on the returned searchParams we need to - * return an empty object if we are doing a 'force-static' render. This is to ensure - * we don't encode the searchParams into the flight data. - */ -export function createUntrackedSearchParams( - searchParams: ParsedUrlQuery -): ParsedUrlQuery { - const store = staticGenerationAsyncStorage.getStore() - if (store && store.forceStatic) { - return {} - } else { - return searchParams - } -} - -/** - * Takes a ParsedUrlQuery object and returns a Proxy that tracks read access to the object - * - * If running in the browser will always return the provided searchParams object. - * When running during SSR will return empty during a 'force-static' render and - * otherwise it returns a searchParams object which tracks reads to trigger dynamic rendering - * behavior if appropriate - */ -export function createDynamicallyTrackedSearchParams( - searchParams: ParsedUrlQuery -): ParsedUrlQuery { - const store = staticGenerationAsyncStorage.getStore() - if (!store) { - // we assume we are in a route handler or page render. just return the searchParams - return searchParams - } else if (store.forceStatic) { - // If we forced static we omit searchParams entirely. This is true both during SSR - // and browser render because we need there to be parity between these environments - return {} - } else { - // We need to track dynamic access with a Proxy. If `dynamic = "error"`, we use this information - // to fail the build. This also signals to the patched fetch that it's inside - // of a dynamic render and should bail from data cache. We implement get, has, and ownKeys because - // these can all be used to exfiltrate information about searchParams. - - const trackedSearchParams: ParsedUrlQuery = store.isStaticGeneration - ? {} - : searchParams - - return new Proxy(trackedSearchParams, { - get(target, prop, receiver) { - if (typeof prop === 'string') { - trackDynamicDataAccessed(store, `searchParams.${prop}`) - } - return ReflectAdapter.get(target, prop, receiver) - }, - has(target, prop) { - if (typeof prop === 'string') { - trackDynamicDataAccessed(store, `searchParams.${prop}`) - } - return Reflect.has(target, prop) - }, - ownKeys(target) { - trackDynamicDataAccessed(store, 'searchParams') - return Reflect.ownKeys(target) - }, - }) - } -} diff --git a/packages/next/src/client/components/static-generation-async-storage.external.ts b/packages/next/src/client/components/static-generation-async-storage.external.ts index 1393424638721..6df289fcd8c84 100644 --- a/packages/next/src/client/components/static-generation-async-storage.external.ts +++ b/packages/next/src/client/components/static-generation-async-storage.external.ts @@ -3,7 +3,7 @@ import type { IncrementalCache } from '../../server/lib/incremental-cache' import type { DynamicServerError } from './hooks-server-context' import type { FetchMetrics } from '../../server/base-http' import type { Revalidate } from '../../server/lib/revalidate' -import type { FallbackRouteParams } from './fallback-params' +import type { FallbackRouteParams } from '../../server/request/fallback-params' // Share the instance module in the next-shared layer import { staticGenerationAsyncStorage } from './static-generation-async-storage-instance' with { 'turbopack-transition': 'next-shared' } @@ -47,6 +47,7 @@ export interface StaticGenerationStore { forceStatic?: boolean dynamicShouldError?: boolean pendingRevalidates?: Record> + pendingRevalidateWrites?: Array> // This is like pendingRevalidates but isn't used for deduping. dynamicUsageDescription?: string dynamicUsageStack?: string diff --git a/packages/next/src/client/components/use-reducer-with-devtools.ts b/packages/next/src/client/components/use-reducer-with-devtools.ts deleted file mode 100644 index 45f7ba0eb820d..0000000000000 --- a/packages/next/src/client/components/use-reducer-with-devtools.ts +++ /dev/null @@ -1,153 +0,0 @@ -import type { Dispatch } from 'react' -import React, { use } from 'react' -import { useRef, useEffect, useCallback } from 'react' -import { - isThenable, - type AppRouterState, - type ReducerActions, - type ReducerState, -} from './router-reducer/router-reducer-types' -import type { AppRouterActionQueue } from '../../shared/lib/router/action-queue' - -export type ReduxDevtoolsSyncFn = (state: AppRouterState) => void - -function normalizeRouterState(val: any): any { - if (val instanceof Map) { - const obj: { [key: string]: any } = {} - for (const [key, value] of val.entries()) { - if (typeof value === 'function') { - obj[key] = 'fn()' - continue - } - if (typeof value === 'object' && value !== null) { - if (value.$$typeof) { - obj[key] = value.$$typeof.toString() - continue - } - if (value._bundlerConfig) { - obj[key] = 'FlightData' - continue - } - } - obj[key] = normalizeRouterState(value) - } - return obj - } - - if (typeof val === 'object' && val !== null) { - const obj: { [key: string]: any } = {} - for (const key in val) { - const value = val[key] - if (typeof value === 'function') { - obj[key] = 'fn()' - continue - } - if (typeof value === 'object' && value !== null) { - if (value.$$typeof) { - obj[key] = value.$$typeof.toString() - continue - } - if (value.hasOwnProperty('_bundlerConfig')) { - obj[key] = 'FlightData' - continue - } - } - - obj[key] = normalizeRouterState(value) - } - return obj - } - - if (Array.isArray(val)) { - return val.map(normalizeRouterState) - } - - return val -} - -declare global { - interface Window { - __REDUX_DEVTOOLS_EXTENSION__: any - } -} - -export interface ReduxDevToolsInstance { - send(action: any, state: any): void - init(initialState: any): void -} - -export function useUnwrapState(state: ReducerState): AppRouterState { - // reducer actions can be async, so sometimes we need to suspend until the state is resolved - if (isThenable(state)) { - const result = use(state) - return result - } - - return state -} - -export function useReducerWithReduxDevtools( - actionQueue: AppRouterActionQueue -): [ReducerState, Dispatch, ReduxDevtoolsSyncFn] { - const [state, setState] = React.useState(actionQueue.state) - const devtoolsConnectionRef = useRef(undefined) - const enabledRef = useRef(undefined) - - useEffect(() => { - if (devtoolsConnectionRef.current || enabledRef.current === false) { - return - } - - if ( - enabledRef.current === undefined && - typeof window.__REDUX_DEVTOOLS_EXTENSION__ === 'undefined' - ) { - enabledRef.current = false - return - } - - devtoolsConnectionRef.current = window.__REDUX_DEVTOOLS_EXTENSION__.connect( - { - instanceId: 8000, // Random number that is high to avoid conflicts - name: 'next-router', - } - ) - if (devtoolsConnectionRef.current) { - devtoolsConnectionRef.current.init( - normalizeRouterState(actionQueue.state) - ) - - if (actionQueue) { - actionQueue.devToolsInstance = devtoolsConnectionRef.current - } - } - - return () => { - devtoolsConnectionRef.current = undefined - } - }, [actionQueue]) - - const dispatch = useCallback( - (action: ReducerActions) => { - actionQueue.dispatch(action, setState) - }, - [actionQueue] - ) - - // Sync is called after a state update in the HistoryUpdater, - // for debugging purposes. Since the reducer state may be a Promise, - // we let the app router use() it and sync on the resolved value if - // something changed. - // Using the `state` here would be referentially unstable and cause - // undesirable re-renders and history updates. - const sync = useCallback((resolvedState) => { - if (devtoolsConnectionRef.current) { - devtoolsConnectionRef.current.send( - { type: 'RENDER_SYNC' }, - normalizeRouterState(resolvedState) - ) - } - }, []) - - return [state, dispatch, sync] -} diff --git a/packages/next/src/client/components/use-reducer.ts b/packages/next/src/client/components/use-reducer.ts new file mode 100644 index 0000000000000..38906e8695eab --- /dev/null +++ b/packages/next/src/client/components/use-reducer.ts @@ -0,0 +1,35 @@ +import type { Dispatch } from 'react' +import React, { use } from 'react' +import { useCallback } from 'react' +import type { + AppRouterState, + ReducerActions, + ReducerState, +} from './router-reducer/router-reducer-types' +import type { AppRouterActionQueue } from '../../shared/lib/router/action-queue' +import { isThenable } from '../../shared/lib/is-thenable' + +export function useUnwrapState(state: ReducerState): AppRouterState { + // reducer actions can be async, so sometimes we need to suspend until the state is resolved + if (isThenable(state)) { + const result = use(state) + return result + } + + return state +} + +export function useReducer( + actionQueue: AppRouterActionQueue +): [ReducerState, Dispatch] { + const [state, setState] = React.useState(actionQueue.state) + + const dispatch = useCallback( + (action: ReducerActions) => { + actionQueue.dispatch(action, setState) + }, + [actionQueue] + ) + + return [state, dispatch] +} diff --git a/packages/next/src/client/legacy/image.tsx b/packages/next/src/client/legacy/image.tsx index aa79f37ac05f5..40116cea747e8 100644 --- a/packages/next/src/client/legacy/image.tsx +++ b/packages/next/src/client/legacy/image.tsx @@ -9,6 +9,8 @@ import React, { useState, type JSX, } from 'react' +import * as ReactDOM from 'react-dom' +import Head from '../../shared/lib/head' import { imageConfigDefault, VALID_LOADERS, @@ -26,6 +28,8 @@ function normalizeSrc(src: string): string { return src[0] === '/' ? src.slice(1) : src } +const supportsFloat = typeof ReactDOM.preload === 'function' + const configEnv = process.env.__NEXT_IMAGE_OPTS as any as ImageConfigComplete const loadedImageURLs = new Set() const allImgs = new Map< @@ -978,6 +982,20 @@ export default function Image({ } } + const linkProps: + | React.DetailedHTMLProps< + React.LinkHTMLAttributes, + HTMLLinkElement + > + | undefined = supportsFloat + ? undefined + : { + imageSrcSet: imgAttributes.srcSet, + imageSizes: imgAttributes.sizes, + crossOrigin: rest.crossOrigin, + referrerPolicy: rest.referrerPolicy, + } + const useLayoutEffect = typeof window === 'undefined' ? React.useEffect : React.useLayoutEffect const onLoadingCompleteRef = useRef(onLoadingComplete) @@ -1044,6 +1062,27 @@ export default function Image({ ) : null} + {!supportsFloat && priority ? ( + // Note how we omit the `href` attribute, as it would only be relevant + // for browsers that do not support `imagesrcset`, and in those cases + // it would likely cause the incorrect image to be preloaded. + // + // https://html.spec.whatwg.org/multipage/semantics.html#attr-link-imagesrcset + + + + ) : null} ) } diff --git a/packages/next/src/client/route-loader.ts b/packages/next/src/client/route-loader.ts index 133dae84dec1f..29fa13b272019 100644 --- a/packages/next/src/client/route-loader.ts +++ b/packages/next/src/client/route-loader.ts @@ -4,6 +4,7 @@ import getAssetPathFromRoute from '../shared/lib/router/utils/get-asset-path-fro import { __unsafeCreateTrustedScriptURL } from './trusted-types' import { requestIdleCallback } from './request-idle-callback' import { getDeploymentIdQueryOrEmptyString } from '../build/deployment-id' +import { encodeURIPath } from '../shared/lib/encode-uri-path' // 3.8s was arbitrarily chosen as it's what https://web.dev/interactive // considers as "Good" time-to-interactive. We must assume something went @@ -68,11 +69,13 @@ function withFuture( const prom: Promise = new Promise((resolve) => { resolver = resolve }) - map.set(key, (entry = { resolve: resolver!, future: prom })) + map.set(key, { resolve: resolver!, future: prom }) return generator ? generator() - // eslint-disable-next-line no-sequences - .then((value) => (resolver(value), value)) + .then((value) => { + resolver(value) + return value + }) .catch((err) => { map.delete(key) throw err @@ -257,7 +260,7 @@ function getFilesForRoute( const scriptUrl = assetPrefix + '/_next/static/chunks/pages' + - encodeURI(getAssetPathFromRoute(route, '.js')) + + encodeURIPath(getAssetPathFromRoute(route, '.js')) + getAssetQueryString() return Promise.resolve({ scripts: [__unsafeCreateTrustedScriptURL(scriptUrl)], @@ -270,7 +273,7 @@ function getFilesForRoute( throw markAssetError(new Error(`Failed to lookup route: ${route}`)) } const allFiles = manifest[route].map( - (entry) => assetPrefix + '/_next/' + encodeURI(entry) + (entry) => assetPrefix + '/_next/' + encodeURIPath(entry) ) return { scripts: allFiles diff --git a/packages/next/src/client/use-merged-ref.ts b/packages/next/src/client/use-merged-ref.ts index 7fce7fb1f0ee1..65bb8dd4dcb42 100644 --- a/packages/next/src/client/use-merged-ref.ts +++ b/packages/next/src/client/use-merged-ref.ts @@ -1,29 +1,34 @@ -import { useMemo, type Ref } from 'react' +import { useMemo, useRef, type Ref } from 'react' +// This is a compatibility hook to support React 18 and 19 refs. +// In 19, a cleanup function from refs may be returned. +// In 18, returning a cleanup function creates a warning. +// Since we take userspace refs, we don't know ahead of time if a cleanup function will be returned. +// This implements cleanup functions with the old behavior in 18. +// We know refs are always called alternating with `null` and then `T`. +// So a call with `null` means we need to call the previous cleanup functions. export function useMergedRef( refA: Ref, refB: Ref ): Ref { - return useMemo(() => mergeRefs(refA, refB), [refA, refB]) -} + const cleanupA = useRef<() => void>(() => {}) + const cleanupB = useRef<() => void>(() => {}) -export function mergeRefs( - refA: Ref, - refB: Ref -): Ref { - if (!refA || !refB) { - return refA || refB - } - - return (current: TElement) => { - const cleanupA = applyRef(refA, current) - const cleanupB = applyRef(refB, current) + return useMemo(() => { + if (!refA || !refB) { + return refA || refB + } - return () => { - cleanupA() - cleanupB() + return (current: TElement | null): void => { + if (current === null) { + cleanupA.current() + cleanupB.current() + } else { + cleanupA.current = applyRef(refA, current) + cleanupB.current = applyRef(refB, current) + } } - } + }, [refA, refB]) } function applyRef( diff --git a/packages/next/src/compiled/babel-packages/packages-bundle.js b/packages/next/src/compiled/babel-packages/packages-bundle.js index 0382e1ba3488e..126b75d636b70 100644 --- a/packages/next/src/compiled/babel-packages/packages-bundle.js +++ b/packages/next/src/compiled/babel-packages/packages-bundle.js @@ -1,6 +1,6 @@ (()=>{var e={2569:(e,r,t)=>{"use strict";r.__esModule=true;r.presetEnvSilentDebugHeader=void 0;r.stringifyTargets=stringifyTargets;r.stringifyTargetsMultiline=stringifyTargetsMultiline;var s=t(8522);const a="#__secret_key__@babel/preset-env__don't_log_debug_header_and_resolved_targets";r.presetEnvSilentDebugHeader=a;function stringifyTargetsMultiline(e){return JSON.stringify((0,s.prettifyTargets)(e),null,2)}function stringifyTargets(e){return JSON.stringify(e).replace(/,/g,", ").replace(/^\{"/,'{ "').replace(/"\}$/,'" }')}},6429:(e,r,t)=>{"use strict";r.__esModule=true;r["default"]=void 0;var s=_interopRequireWildcard(t(8304));function _getRequireWildcardCache(e){if(typeof WeakMap!=="function")return null;var r=new WeakMap;var t=new WeakMap;return(_getRequireWildcardCache=function(e){return e?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache(r);if(t&&t.has(e)){return t.get(e)}var s={};var a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e){if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;if(o&&(o.get||o.set)){Object.defineProperty(s,n,o)}else{s[n]=e[n]}}}s.default=e;if(t){t.set(e,s)}return s}const{types:a}=s.default||s;class ImportsCache{constructor(e){this._imports=new WeakMap;this._anonymousImports=new WeakMap;this._lastImports=new WeakMap;this._resolver=e}storeAnonymous(e,r,t){const s=this._normalizeKey(e,r);const n=this._ensure(this._anonymousImports,e,Set);if(n.has(s))return;const o=t(e.node.sourceType==="script",a.stringLiteral(this._resolver(r)));n.add(s);this._injectImport(e,o)}storeNamed(e,r,t,s){const n=this._normalizeKey(e,r,t);const o=this._ensure(this._imports,e,Map);if(!o.has(n)){const{node:i,name:l}=s(e.node.sourceType==="script",a.stringLiteral(this._resolver(r)),a.identifier(t));o.set(n,l);this._injectImport(e,i)}return a.identifier(o.get(n))}_injectImport(e,r){const t=this._lastImports.get(e);let s;if(t&&t.node&&t.parent===e.node&&t.container===e.node.body){s=t.insertAfter(r)}else{s=e.unshiftContainer("body",r)}const a=s[s.length-1];this._lastImports.set(e,a)}_ensure(e,r,t){let s=e.get(r);if(!s){s=new t;e.set(r,s)}return s}_normalizeKey(e,r,t=""){const{sourceType:s}=e.node;return`${t&&s}::${r}::${t}`}}r["default"]=ImportsCache},4992:(e,r,t)=>{"use strict";r.__esModule=true;r["default"]=definePolyfillProvider;var s=t(8863);var a=_interopRequireWildcard(t(8522));var n=t(3970);var o=_interopRequireDefault(t(6429));var i=t(2569);var l=t(9667);var c=_interopRequireWildcard(t(264));var d=_interopRequireWildcard(t(9275));var u=_interopRequireDefault(t(8926));const p=["method","targets","ignoreBrowserslistConfig","configPath","debug","shouldInjectPolyfill","absoluteImports"];function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(e){if(typeof WeakMap!=="function")return null;var r=new WeakMap;var t=new WeakMap;return(_getRequireWildcardCache=function(e){return e?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache(r);if(t&&t.has(e)){return t.get(e)}var s={};var a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e){if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;if(o&&(o.get||o.set)){Object.defineProperty(s,n,o)}else{s[n]=e[n]}}}s.default=e;if(t){t.set(e,s)}return s}function _objectWithoutPropertiesLoose(e,r){if(e==null)return{};var t={};var s=Object.keys(e);var a,n;for(n=0;n=0)continue;t[a]=e[a]}return t}const f=a.default.default||a.default;function resolveOptions(e,r){const{method:t,targets:s,ignoreBrowserslistConfig:a,configPath:n,debug:o,shouldInjectPolyfill:i,absoluteImports:l}=e,c=_objectWithoutPropertiesLoose(e,p);if(isEmpty(e)){throw new Error(`This plugin requires options, for example:\n {\n "plugins": [\n ["", { method: "usage-pure" }]\n ]\n }\n\nSee more options at https://github.com/babel/babel-polyfills/blob/main/docs/usage.md`)}let d;if(t==="usage-global")d="usageGlobal";else if(t==="entry-global")d="entryGlobal";else if(t==="usage-pure")d="usagePure";else if(typeof t!=="string"){throw new Error(".method must be a string")}else{throw new Error(`.method must be one of "entry-global", "usage-global"`+` or "usage-pure" (received ${JSON.stringify(t)})`)}if(typeof i==="function"){if(e.include||e.exclude){throw new Error(`.include and .exclude are not supported when using the`+` .shouldInjectPolyfill function.`)}}else if(i!=null){throw new Error(`.shouldInjectPolyfill must be a function, or undefined`+` (received ${JSON.stringify(i)})`)}if(l!=null&&typeof l!=="boolean"&&typeof l!=="string"){throw new Error(`.absoluteImports must be a boolean, a string, or undefined`+` (received ${JSON.stringify(l)})`)}let u;if(s||n||a){const e=typeof s==="string"||Array.isArray(s)?{browsers:s}:s;u=f(e,{ignoreBrowserslistConfig:a,configPath:n})}else{u=r.targets()}return{method:t,methodName:d,targets:u,absoluteImports:l!=null?l:false,shouldInjectPolyfill:i,debug:!!o,providerOptions:c}}function instantiateProvider(e,r,t,s,i,c){const{method:p,methodName:f,targets:y,debug:g,shouldInjectPolyfill:h,providerOptions:b,absoluteImports:x}=resolveOptions(r,c);const v=(0,n.createUtilsGetter)(new o.default((e=>d.resolve(s,e,x))));let j,w;let E;let _;let S;const k=new Map;const C={babel:c,getUtils:v,method:r.method,targets:y,createMetaResolver:u.default,shouldInjectPolyfill(r){if(_===undefined){throw new Error(`Internal error in the ${e.name} provider: `+`shouldInjectPolyfill() can't be called during initialization.`)}if(!_.has(r)){console.warn(`Internal error in the ${D} provider: `+`unknown polyfill "${r}".`)}if(S&&!S(r))return false;let t=(0,a.isRequired)(r,y,{compatData:E,includes:j,excludes:w});if(h){t=h(r,t);if(typeof t!=="boolean"){throw new Error(`.shouldInjectPolyfill must return a boolean.`)}}return t},debug(e){var r,t;i().found=true;if(!g||!e)return;if(i().polyfills.has(D))return;i().polyfills.add(e);(t=(r=i()).polyfillsSupport)!=null?t:r.polyfillsSupport=E},assertDependency(e,r="*"){if(t===false)return;if(x){return}const a=r==="*"?e:`${e}@^${r}`;const n=t.all?false:mapGetOr(k,`${e} :: ${s}`,(()=>d.has(s,e)));if(!n){i().missingDeps.add(a)}}};const P=e(C,b,s);const D=P.name||e.name;if(typeof P[f]!=="function"){throw new Error(`The "${D}" provider doesn't support the "${p}" polyfilling method.`)}if(Array.isArray(P.polyfills)){_=new Set(P.polyfills);S=P.filterPolyfills}else if(P.polyfills){_=new Set(Object.keys(P.polyfills));E=P.polyfills;S=P.filterPolyfills}else{_=new Set}({include:j,exclude:w}=(0,l.validateIncludeExclude)(D,_,b.include||[],b.exclude||[]));return{debug:g,method:p,targets:y,provider:P,providerName:D,callProvider(e,r){const t=v(r);P[f](e,t,r)}}}function definePolyfillProvider(e){return(0,s.declare)(((r,t,s)=>{r.assertVersion(7);const{traverse:n}=r;let o;const u=(0,l.applyMissingDependenciesDefaults)(t,r);const{debug:p,method:f,targets:y,provider:g,providerName:h,callProvider:b}=instantiateProvider(e,t,u,s,(()=>o),r);const x=f==="entry-global"?c.entry:c.usage;const v=g.visitor?n.visitors.merge([x(b),g.visitor]):x(b);if(p&&p!==i.presetEnvSilentDebugHeader){console.log(`${h}: \`DEBUG\` option`);console.log(`\nUsing targets: ${(0,i.stringifyTargetsMultiline)(y)}`);console.log(`\nUsing polyfills with \`${f}\` method:`)}const{runtimeName:j}=g;return{name:"inject-polyfills",visitor:v,pre(e){var r;if(j){if(e.get("runtimeHelpersModuleName")&&e.get("runtimeHelpersModuleName")!==j){console.warn(`Two different polyfill providers`+` (${e.get("runtimeHelpersModuleProvider")}`+` and ${h}) are trying to define two`+` conflicting @babel/runtime alternatives:`+` ${e.get("runtimeHelpersModuleName")} and ${j}.`+` The second one will be ignored.`)}else{e.set("runtimeHelpersModuleName",j);e.set("runtimeHelpersModuleProvider",h)}}o={polyfills:new Set,polyfillsSupport:undefined,found:false,providers:new Set,missingDeps:new Set};(r=g.pre)==null?void 0:r.apply(this,arguments)},post(){var e;(e=g.post)==null?void 0:e.apply(this,arguments);if(u!==false){if(u.log==="per-file"){d.logMissing(o.missingDeps)}else{d.laterLogMissing(o.missingDeps)}}if(!p)return;if(this.filename)console.log(`\n[${this.filename}]`);if(o.polyfills.size===0){console.log(f==="entry-global"?o.found?`Based on your targets, the ${h} polyfill did not add any polyfill.`:`The entry point for the ${h} polyfill has not been found.`:`Based on your code and targets, the ${h} polyfill did not add any polyfill.`);return}if(f==="entry-global"){console.log(`The ${h} polyfill entry has been replaced with `+`the following polyfills:`)}else{console.log(`The ${h} polyfill added the following polyfills:`)}for(const e of o.polyfills){var r;if((r=o.polyfillsSupport)!=null&&r[e]){const r=(0,a.getInclusionReasons)(e,y,o.polyfillsSupport);const t=JSON.stringify(r).replace(/,/g,", ").replace(/^\{"/,'{ "').replace(/"\}$/,'" }');console.log(` ${e} ${t}`)}else{console.log(` ${e}`)}}}}}))}function mapGetOr(e,r,t){let s=e.get(r);if(s===undefined){s=t();e.set(r,s)}return s}function isEmpty(e){return Object.keys(e).length===0}},8926:(e,r,t)=>{"use strict";r.__esModule=true;r["default"]=createMetaResolver;var s=t(3970);const a=new Set(["global","globalThis","self","window"]);function createMetaResolver(e){const{static:r,instance:t,global:n}=e;return e=>{if(e.kind==="global"&&n&&(0,s.has)(n,e.name)){return{kind:"global",desc:n[e.name],name:e.name}}if(e.kind==="property"||e.kind==="in"){const{placement:o,object:i,key:l}=e;if(i&&o==="static"){if(n&&a.has(i)&&(0,s.has)(n,l)){return{kind:"global",desc:n[l],name:l}}if(r&&(0,s.has)(r,i)&&(0,s.has)(r[i],l)){return{kind:"static",desc:r[i][l],name:`${i}$${l}`}}}if(t&&(0,s.has)(t,l)){return{kind:"instance",desc:t[l],name:`${l}`}}}}}},9275:(e,r,t)=>{"use strict";r.__esModule=true;r.has=has;r.laterLogMissing=laterLogMissing;r.logMissing=logMissing;r.resolve=resolve;var s=_interopRequireDefault(t(1017));var a=_interopRequireDefault(t(3079));var n=_interopRequireDefault(t(5066));var o=t(8188);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const i=parseFloat(process.versions.node)>=8.9;function myResolve(e,r){if(i){return require.resolve(e,{paths:[r]}).replace(/\\/g,"/")}else{return n.default.sync(e,{basedir:r}).replace(/\\/g,"/")}}function resolve(e,r,t){if(t===false)return r;let a=e;if(typeof t==="string"){a=s.default.resolve(a,t)}try{return myResolve(r,a)}catch(t){if(t.code!=="MODULE_NOT_FOUND")throw t;throw Object.assign(new Error(`Failed to resolve "${r}" relative to "${e}"`),{code:"BABEL_POLYFILL_NOT_FOUND",polyfill:r,dirname:e})}}function has(e,r){try{myResolve(r,e);return true}catch(e){return false}}function logMissing(e){if(e.size===0)return;const r=Array.from(e).sort().join(" ");console.warn("\nSome polyfills have been added but are not present in your dependencies.\n"+"Please run one of the following commands:\n"+`\tnpm install --save ${r}\n`+`\tyarn add ${r}\n`);process.exitCode=1}let l=new Set;const c=(0,a.default)((()=>{logMissing(l);l=new Set}),100);function laterLogMissing(e){if(e.size===0)return;e.forEach((e=>l.add(e)));c()}},9667:(e,r,t)=>{"use strict";r.__esModule=true;r.applyMissingDependenciesDefaults=applyMissingDependenciesDefaults;r.validateIncludeExclude=validateIncludeExclude;var s=t(3970);function patternToRegExp(e){if(e instanceof RegExp)return e;try{return new RegExp(`^${e}$`)}catch(e){return null}}function buildUnusedError(e,r){if(!r.length)return"";return` - The following "${e}" patterns didn't match any polyfill:\n`+r.map((e=>` ${String(e)}\n`)).join("")}function buldDuplicatesError(e){if(!e.size)return"";return` - The following polyfills were matched both by "include" and "exclude" patterns:\n`+Array.from(e,(e=>` ${e}\n`)).join("")}function validateIncludeExclude(e,r,t,a){let n;const filter=e=>{const t=patternToRegExp(e);if(!t)return false;let s=false;for(const e of r){if(t.test(e)){s=true;n.add(e)}}return!s};const o=n=new Set;const i=Array.from(t).filter(filter);const l=n=new Set;const c=Array.from(a).filter(filter);const d=(0,s.intersection)(o,l);if(d.size>0||i.length>0||c.length>0){throw new Error(`Error while validating the "${e}" provider options:\n`+buildUnusedError("include",i)+buildUnusedError("exclude",c)+buldDuplicatesError(d))}return{include:o,exclude:l}}function applyMissingDependenciesDefaults(e,r){const{missingDependencies:t={}}=e;if(t===false)return false;const s=r.caller((e=>e==null?void 0:e.name));const{log:a="deferred",inject:n=(s==="rollup-plugin-babel"?"throw":"import"),all:o=false}=t;return{log:a,inject:n,all:o}}},3970:(e,r,t)=>{"use strict";r.__esModule=true;r.createUtilsGetter=createUtilsGetter;r.getImportSource=getImportSource;r.getRequireSource=getRequireSource;r.has=has;r.intersection=intersection;r.resolveKey=resolveKey;r.resolveSource=resolveSource;var s=_interopRequireWildcard(t(8304));function _getRequireWildcardCache(e){if(typeof WeakMap!=="function")return null;var r=new WeakMap;var t=new WeakMap;return(_getRequireWildcardCache=function(e){return e?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache(r);if(t&&t.has(e)){return t.get(e)}var s={};var a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e){if(n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;if(o&&(o.get||o.set)){Object.defineProperty(s,n,o)}else{s[n]=e[n]}}}s.default=e;if(t){t.set(e,s)}return s}const{types:a,template:n}=s.default||s;function intersection(e,r){const t=new Set;e.forEach((e=>r.has(e)&&t.add(e)));return t}function has(e,r){return Object.prototype.hasOwnProperty.call(e,r)}function getType(e){return Object.prototype.toString.call(e).slice(8,-1)}function resolveId(e){if(e.isIdentifier()&&!e.scope.hasBinding(e.node.name,true)){return e.node.name}const{deopt:r}=e.evaluate();if(r&&r.isIdentifier()){return r.node.name}}function resolveKey(e,r=false){const{scope:t}=e;if(e.isStringLiteral())return e.node.value;const s=e.isIdentifier();if(s&&!(r||e.parent.computed)){return e.node.name}if(r&&e.isMemberExpression()&&e.get("object").isIdentifier({name:"Symbol"})&&!t.hasBinding("Symbol",true)){const r=resolveKey(e.get("property"),e.node.computed);if(r)return"Symbol."+r}if(!s||t.hasBinding(e.node.name,true)){const{value:r}=e.evaluate();if(typeof r==="string")return r}}function resolveSource(e){if(e.isMemberExpression()&&e.get("property").isIdentifier({name:"prototype"})){const r=resolveId(e.get("object"));if(r){return{id:r,placement:"prototype"}}return{id:null,placement:null}}const r=resolveId(e);if(r){return{id:r,placement:"static"}}const{value:t}=e.evaluate();if(t!==undefined){return{id:getType(t),placement:"prototype"}}else if(e.isRegExpLiteral()){return{id:"RegExp",placement:"prototype"}}else if(e.isFunction()){return{id:"Function",placement:"prototype"}}return{id:null,placement:null}}function getImportSource({node:e}){if(e.specifiers.length===0)return e.source.value}function getRequireSource({node:e}){if(!a.isExpressionStatement(e))return;const{expression:r}=e;if(a.isCallExpression(r)&&a.isIdentifier(r.callee)&&r.callee.name==="require"&&r.arguments.length===1&&a.isStringLiteral(r.arguments[0])){return r.arguments[0].value}}function hoist(e){e._blockHoist=3;return e}function createUtilsGetter(e){return r=>{const t=r.findParent((e=>e.isProgram()));return{injectGlobalImport(r){e.storeAnonymous(t,r,((e,r)=>e?n.statement.ast`require(${r})`:a.importDeclaration([],r)))},injectNamedImport(r,s,o=s){return e.storeNamed(t,r,s,((e,r,s)=>{const i=t.scope.generateUidIdentifier(o);return{node:e?hoist(n.statement.ast` var ${i} = require(${r}).${s} - `):a.importDeclaration([a.importSpecifier(i,s)],r),name:i.name}}))},injectDefaultImport(r,s=r){return e.storeNamed(t,r,"default",((e,r)=>{const o=t.scope.generateUidIdentifier(s);return{node:e?hoist(n.statement.ast`var ${o} = require(${r})`):a.importDeclaration([a.importDefaultSpecifier(o)],r),name:o.name}}))}}}}},1919:(e,r,t)=>{"use strict";r.__esModule=true;r["default"]=void 0;var s=t(3970);var _default=e=>({ImportDeclaration(r){const t=(0,s.getImportSource)(r);if(!t)return;e({kind:"import",source:t},r)},Program(r){r.get("body").forEach((r=>{const t=(0,s.getRequireSource)(r);if(!t)return;e({kind:"import",source:t},r)}))}});r["default"]=_default},264:(e,r,t)=>{"use strict";r.__esModule=true;r.usage=r.entry=void 0;var s=_interopRequireDefault(t(8850));r.usage=s.default;var a=_interopRequireDefault(t(1919));r.entry=a.default;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},8850:(e,r,t)=>{"use strict";r.__esModule=true;r["default"]=void 0;var s=t(3970);var _default=e=>{function property(r,t,s,a){return e({kind:"property",object:r,key:t,placement:s},a)}return{ReferencedIdentifier(r){const{node:{name:t},scope:s}=r;if(s.getBindingIdentifier(t))return;e({kind:"global",name:t},r)},MemberExpression(e){const r=(0,s.resolveKey)(e.get("property"),e.node.computed);if(!r||r==="prototype")return;const t=e.get("object");if(t.isIdentifier()){const e=t.scope.getBinding(t.node.name);if(e&&e.path.isImportNamespaceSpecifier())return}const a=(0,s.resolveSource)(t);return property(a.id,r,a.placement,e)},ObjectPattern(e){const{parentPath:r,parent:t}=e;let a;if(r.isVariableDeclarator()){a=r.get("init")}else if(r.isAssignmentExpression()){a=r.get("right")}else if(r.isFunction()){const s=r.parentPath;if(s.isCallExpression()||s.isNewExpression()){if(s.node.callee===t){a=s.get("arguments")[e.key]}}}let n=null;let o=null;if(a)({id:n,placement:o}=(0,s.resolveSource)(a));for(const r of e.get("properties")){if(r.isObjectProperty()){const e=(0,s.resolveKey)(r.get("key"));if(e)property(n,e,o,r)}}},BinaryExpression(r){if(r.node.operator!=="in")return;const t=(0,s.resolveSource)(r.get("right"));const a=(0,s.resolveKey)(r.get("left"),true);if(!a)return;e({kind:"in",object:t.id,key:a,placement:t.placement},r)}}};r["default"]=_default},3975:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-async-generators",manipulateOptions(e,r){r.plugins.push("asyncGenerators")}}}));r["default"]=a},799:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(6454);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-bigint",manipulateOptions(e,r){r.plugins.push("bigInt")}}}));r["default"]=a},3412:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-class-properties",manipulateOptions(e,r){r.plugins.push("classProperties","classPrivateProperties","classPrivateMethods")}}}));r["default"]=a},5491:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-class-static-block",manipulateOptions(e,r){r.plugins.push("classStaticBlock")}}}));r["default"]=a},7802:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(6454);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-dynamic-import",manipulateOptions(e,r){r.plugins.push("dynamicImport")}}}));r["default"]=a},301:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-export-namespace-from",manipulateOptions(e,r){r.plugins.push("exportNamespaceFrom")}}}));r["default"]=a},8845:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-import-meta",manipulateOptions(e,r){r.plugins.push("importMeta")}}}));r["default"]=a},915:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-json-strings",manipulateOptions(e,r){r.plugins.push("jsonStrings")}}}));r["default"]=a},647:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-logical-assignment-operators",manipulateOptions(e,r){r.plugins.push("logicalAssignment")}}}));r["default"]=a},7779:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-nullish-coalescing-operator",manipulateOptions(e,r){r.plugins.push("nullishCoalescingOperator")}}}));r["default"]=a},4100:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-numeric-separator",manipulateOptions(e,r){r.plugins.push("numericSeparator")}}}));r["default"]=a},3322:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-object-rest-spread",manipulateOptions(e,r){r.plugins.push("objectRestSpread")}}}));r["default"]=a},3720:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-optional-catch-binding",manipulateOptions(e,r){r.plugins.push("optionalCatchBinding")}}}));r["default"]=a},9430:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-optional-chaining",manipulateOptions(e,r){r.plugins.push("optionalChaining")}}}));r["default"]=a},6775:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-private-property-in-object",manipulateOptions(e,r){r.plugins.push("privateIn")}}}));r["default"]=a},1712:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-top-level-await",manipulateOptions(e,r){r.plugins.push("topLevelAwait")}}}));r["default"]=a},8256:(e,r)=>{"use strict";r.__esModule=true;r["default"]=void 0;const t={allowInsertArrow:false,specCompliant:false};var _default=({types:e})=>({name:"transform-async-arrows-in-class",visitor:{ArrowFunctionExpression(r){if(r.node.async&&r.findParent(e.isClassMethod)){r.arrowFunctionToExpression(t)}}}});r["default"]=_default;e.exports=r.default},4516:(e,r)=>{"use strict";r.__esModule=true;r["default"]=void 0;var _default=({types:e})=>{const isArrowParent=r=>r.parentKey==="params"&&r.parentPath&&e.isArrowFunctionExpression(r.parentPath);return{name:"transform-edge-default-parameters",visitor:{AssignmentPattern(e){const r=e.find(isArrowParent);if(r&&e.parent.shorthand){e.parent.shorthand=false;(e.parent.extra||{}).shorthand=false;e.scope.rename(e.parent.key.name)}}}}};r["default"]=_default;e.exports=r.default},3693:(e,r)=>{"use strict";r.__esModule=true;r["default"]=void 0;var _default=({types:e})=>({name:"transform-edge-function-name",visitor:{FunctionExpression:{exit(r){if(!r.node.id&&e.isIdentifier(r.parent.id)){const t=e.cloneNode(r.parent.id);const s=r.scope.getBinding(t.name);if(s==null?void 0:s.constantViolations.length){r.scope.rename(t.name)}r.node.id=t}}}}});r["default"]=_default;e.exports=r.default},3032:(e,r)=>{"use strict";r.__esModule=true;r["default"]=_default;function _default({types:e}){return{name:"transform-safari-block-shadowing",visitor:{VariableDeclarator(r){const t=r.parent.kind;if(t!=="let"&&t!=="const")return;const s=r.scope.block;if(e.isFunction(s)||e.isProgram(s))return;const a=e.getOuterBindingIdentifiers(r.node.id);for(const t of Object.keys(a)){let s=r.scope;if(!s.hasOwnBinding(t))continue;while(s=s.parent){if(s.hasOwnBinding(t)){r.scope.rename(t);break}if(e.isFunction(s.block)||e.isProgram(s.block)){break}}}}}}}e.exports=r.default},449:(e,r)=>{"use strict";r.__esModule=true;r["default"]=void 0;function handle(e){if(!e.isVariableDeclaration())return;const r=e.getFunctionParent();const{name:t}=e.node.declarations[0].id;if(r&&r.scope.hasOwnBinding(t)&&r.scope.getOwnBinding(t).kind==="param"){e.scope.rename(t)}}var _default=()=>({name:"transform-safari-for-shadowing",visitor:{ForXStatement(e){handle(e.get("left"))},ForStatement(e){handle(e.get("init"))}}});r["default"]=_default;e.exports=r.default},3057:(e,r)=>{"use strict";r.__esModule=true;r["default"]=void 0;var _default=({types:e})=>({name:"transform-tagged-template-caching",visitor:{TaggedTemplateExpression(r,t){let s=t.get("processed");if(!s){s=new WeakSet;t.set("processed",s)}if(s.has(r.node))return r.skip();const a=r.node.quasi.expressions;let n=t.get("identity");if(!n){n=r.scope.getProgramParent().generateDeclaredUidIdentifier("_");t.set("identity",n);const s=r.scope.getBinding(n.name);s.path.get("init").replaceWith(e.arrowFunctionExpression([e.identifier("t")],e.identifier("t")))}const o=e.taggedTemplateExpression(e.cloneNode(n),e.templateLiteral(r.node.quasi.quasis,a.map((()=>e.numericLiteral(0)))));s.add(o);const i=r.scope.getProgramParent().generateDeclaredUidIdentifier("t");r.scope.getBinding(i.name).path.parent.kind="let";const l=e.logicalExpression("||",i,e.assignmentExpression("=",e.cloneNode(i),o));const c=e.callExpression(r.node.tag,[l,...a]);r.replaceWith(c)}}});r["default"]=_default;e.exports=r.default},8684:function(e,r,t){e=t.nmd(e); + `):a.importDeclaration([a.importSpecifier(i,s)],r),name:i.name}}))},injectDefaultImport(r,s=r){return e.storeNamed(t,r,"default",((e,r)=>{const o=t.scope.generateUidIdentifier(s);return{node:e?hoist(n.statement.ast`var ${o} = require(${r})`):a.importDeclaration([a.importDefaultSpecifier(o)],r),name:o.name}}))}}}}},1919:(e,r,t)=>{"use strict";r.__esModule=true;r["default"]=void 0;var s=t(3970);var _default=e=>({ImportDeclaration(r){const t=(0,s.getImportSource)(r);if(!t)return;e({kind:"import",source:t},r)},Program(r){r.get("body").forEach((r=>{const t=(0,s.getRequireSource)(r);if(!t)return;e({kind:"import",source:t},r)}))}});r["default"]=_default},264:(e,r,t)=>{"use strict";r.__esModule=true;r.usage=r.entry=void 0;var s=_interopRequireDefault(t(8850));r.usage=s.default;var a=_interopRequireDefault(t(1919));r.entry=a.default;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},8850:(e,r,t)=>{"use strict";r.__esModule=true;r["default"]=void 0;var s=t(3970);var _default=e=>{function property(r,t,s,a){return e({kind:"property",object:r,key:t,placement:s},a)}return{ReferencedIdentifier(r){const{node:{name:t},scope:s}=r;if(s.getBindingIdentifier(t))return;e({kind:"global",name:t},r)},MemberExpression(e){const r=(0,s.resolveKey)(e.get("property"),e.node.computed);if(!r||r==="prototype")return;const t=e.get("object");if(t.isIdentifier()){const e=t.scope.getBinding(t.node.name);if(e&&e.path.isImportNamespaceSpecifier())return}const a=(0,s.resolveSource)(t);return property(a.id,r,a.placement,e)},ObjectPattern(e){const{parentPath:r,parent:t}=e;let a;if(r.isVariableDeclarator()){a=r.get("init")}else if(r.isAssignmentExpression()){a=r.get("right")}else if(r.isFunction()){const s=r.parentPath;if(s.isCallExpression()||s.isNewExpression()){if(s.node.callee===t){a=s.get("arguments")[e.key]}}}let n=null;let o=null;if(a)({id:n,placement:o}=(0,s.resolveSource)(a));for(const r of e.get("properties")){if(r.isObjectProperty()){const e=(0,s.resolveKey)(r.get("key"));if(e)property(n,e,o,r)}}},BinaryExpression(r){if(r.node.operator!=="in")return;const t=(0,s.resolveSource)(r.get("right"));const a=(0,s.resolveKey)(r.get("left"),true);if(!a)return;e({kind:"in",object:t.id,key:a,placement:t.placement},r)}}};r["default"]=_default},3975:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(8863);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-async-generators",manipulateOptions(e,r){r.plugins.push("asyncGenerators")}}}));r["default"]=a},799:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(6454);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-bigint",manipulateOptions(e,r){r.plugins.push("bigInt")}}}));r["default"]=a},3412:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(8863);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-class-properties",manipulateOptions(e,r){r.plugins.push("classProperties","classPrivateProperties","classPrivateMethods")}}}));r["default"]=a},5491:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(8863);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-class-static-block",manipulateOptions(e,r){r.plugins.push("classStaticBlock")}}}));r["default"]=a},7802:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(8863);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-dynamic-import",manipulateOptions(e,r){r.plugins.push("dynamicImport")}}}));r["default"]=a},301:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(8863);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-export-namespace-from",manipulateOptions(e,r){r.plugins.push("exportNamespaceFrom")}}}));r["default"]=a},8845:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(8863);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-import-meta",manipulateOptions(e,r){r.plugins.push("importMeta")}}}));r["default"]=a},915:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(8863);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-json-strings",manipulateOptions(e,r){r.plugins.push("jsonStrings")}}}));r["default"]=a},647:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(8863);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-logical-assignment-operators",manipulateOptions(e,r){r.plugins.push("logicalAssignment")}}}));r["default"]=a},7779:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-nullish-coalescing-operator",manipulateOptions(e,r){r.plugins.push("nullishCoalescingOperator")}}}));r["default"]=a},4100:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(8863);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-numeric-separator",manipulateOptions(e,r){r.plugins.push("numericSeparator")}}}));r["default"]=a},3322:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(8863);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-object-rest-spread",manipulateOptions(e,r){r.plugins.push("objectRestSpread")}}}));r["default"]=a},3720:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(8863);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-optional-catch-binding",manipulateOptions(e,r){r.plugins.push("optionalCatchBinding")}}}));r["default"]=a},9430:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-optional-chaining",manipulateOptions(e,r){r.plugins.push("optionalChaining")}}}));r["default"]=a},6775:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(8863);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-private-property-in-object",manipulateOptions(e,r){r.plugins.push("privateIn")}}}));r["default"]=a},1712:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(8863);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-top-level-await",manipulateOptions(e,r){r.plugins.push("topLevelAwait")}}}));r["default"]=a},8256:(e,r)=>{"use strict";r.__esModule=true;r["default"]=void 0;const t={allowInsertArrow:false,specCompliant:false};var _default=({types:e})=>({name:"transform-async-arrows-in-class",visitor:{ArrowFunctionExpression(r){if(r.node.async&&r.findParent(e.isClassMethod)){r.arrowFunctionToExpression(t)}}}});r["default"]=_default;e.exports=r.default},4516:(e,r)=>{"use strict";r.__esModule=true;r["default"]=void 0;var _default=({types:e})=>{const isArrowParent=r=>r.parentKey==="params"&&r.parentPath&&e.isArrowFunctionExpression(r.parentPath);return{name:"transform-edge-default-parameters",visitor:{AssignmentPattern(e){const r=e.find(isArrowParent);if(r&&e.parent.shorthand){e.parent.shorthand=false;(e.parent.extra||{}).shorthand=false;e.scope.rename(e.parent.key.name)}}}}};r["default"]=_default;e.exports=r.default},3693:(e,r)=>{"use strict";r.__esModule=true;r["default"]=void 0;var _default=({types:e})=>({name:"transform-edge-function-name",visitor:{FunctionExpression:{exit(r){if(!r.node.id&&e.isIdentifier(r.parent.id)){const t=e.cloneNode(r.parent.id);const s=r.scope.getBinding(t.name);if(s==null?void 0:s.constantViolations.length){r.scope.rename(t.name)}r.node.id=t}}}}});r["default"]=_default;e.exports=r.default},3032:(e,r)=>{"use strict";r.__esModule=true;r["default"]=_default;function _default({types:e}){return{name:"transform-safari-block-shadowing",visitor:{VariableDeclarator(r){const t=r.parent.kind;if(t!=="let"&&t!=="const")return;const s=r.scope.block;if(e.isFunction(s)||e.isProgram(s))return;const a=e.getOuterBindingIdentifiers(r.node.id);for(const t of Object.keys(a)){let s=r.scope;if(!s.hasOwnBinding(t))continue;while(s=s.parent){if(s.hasOwnBinding(t)){r.scope.rename(t);break}if(e.isFunction(s.block)||e.isProgram(s.block)){break}}}}}}}e.exports=r.default},449:(e,r)=>{"use strict";r.__esModule=true;r["default"]=void 0;function handle(e){if(!e.isVariableDeclaration())return;const r=e.getFunctionParent();const{name:t}=e.node.declarations[0].id;if(r&&r.scope.hasOwnBinding(t)&&r.scope.getOwnBinding(t).kind==="param"){e.scope.rename(t)}}var _default=()=>({name:"transform-safari-for-shadowing",visitor:{ForXStatement(e){handle(e.get("left"))},ForStatement(e){handle(e.get("init"))}}});r["default"]=_default;e.exports=r.default},3057:(e,r)=>{"use strict";r.__esModule=true;r["default"]=void 0;var _default=({types:e})=>({name:"transform-tagged-template-caching",visitor:{TaggedTemplateExpression(r,t){let s=t.get("processed");if(!s){s=new WeakSet;t.set("processed",s)}if(s.has(r.node))return r.skip();const a=r.node.quasi.expressions;let n=t.get("identity");if(!n){n=r.scope.getProgramParent().generateDeclaredUidIdentifier("_");t.set("identity",n);const s=r.scope.getBinding(n.name);s.path.get("init").replaceWith(e.arrowFunctionExpression([e.identifier("t")],e.identifier("t")))}const o=e.taggedTemplateExpression(e.cloneNode(n),e.templateLiteral(r.node.quasi.quasis,a.map((()=>e.numericLiteral(0)))));s.add(o);const i=r.scope.getProgramParent().generateDeclaredUidIdentifier("t");r.scope.getBinding(i.name).path.parent.kind="let";const l=e.logicalExpression("||",i,e.assignmentExpression("=",e.cloneNode(i),o));const c=e.callExpression(r.node.tag,[l,...a]);r.replaceWith(c)}}});r["default"]=_default;e.exports=r.default},8684:function(e,r,t){e=t.nmd(e); /*! * regjsgen 0.5.2 * Copyright 2014-2020 Benjamin Tan @@ -194,7 +194,7 @@ // writable is false by default value: ${i.name} }); - `,r)}function buildPrivateMethodDeclaration(e,r,t=false){const a=r.get(e.node.key.id.name);const{id:n,methodId:o,getId:i,setId:l,getterDeclared:c,setterDeclared:d,static:u}=a;const{params:p,body:f,generator:y,async:g}=e.node;const h=i&&!c&&p.length===0;const b=l&&!d&&p.length>0;let x=o;if(h){r.set(e.node.key.id.name,Object.assign({},a,{getterDeclared:true}));x=i}else if(b){r.set(e.node.key.id.name,Object.assign({},a,{setterDeclared:true}));x=l}else if(u&&!t){x=n}return inheritPropComments(s.types.functionDeclaration(s.types.cloneNode(x),p,f,y,g),e)}const g=s.traverse.visitors.merge([{ThisExpression(e,r){const t=e.findParent((e=>!(0,c.isTransparentExprWrapper)(e.node)));if(s.types.isUnaryExpression(t.node,{operator:"delete"})){e.parentPath.replaceWith(s.types.booleanLiteral(true));return}r.needsClassRef=true;e.replaceWith(s.types.cloneNode(r.classRef))},MetaProperty(e){const r=e.get("meta");const t=e.get("property");const{scope:s}=e;if(r.isIdentifier({name:"new"})&&t.isIdentifier({name:"target"})){e.replaceWith(s.buildUndefinedNode())}}},n.default]);const h={ReferencedIdentifier(e,r){if(e.scope.bindingIdentifierEquals(e.node.name,r.innerBinding)){r.needsClassRef=true;e.node.name=r.classRef.name}}};function replaceThisContext(e,r,t,n,o,i,l){var c;const d={classRef:r,needsClassRef:false,innerBinding:l};const u=new a.default({methodPath:e,constantSuper:i,file:n,refToPreserve:r,getSuperRef:t,getObjectRef(){d.needsClassRef=true;return s.types.isStaticBlock!=null&&s.types.isStaticBlock(e.node)||e.node.static?r:s.types.memberExpression(r,s.types.identifier("prototype"))}});u.replace();if(o||e.isProperty()){e.traverse(g,d)}if(l!=null&&(c=d.classRef)!=null&&c.name&&d.classRef.name!==(l==null?void 0:l.name)){e.traverse(h,d)}return d.needsClassRef}function isNameOrLength({key:e,computed:r}){if(e.type==="Identifier"){return!r&&(e.name==="name"||e.name==="length")}if(e.type==="StringLiteral"){return e.value==="name"||e.value==="length"}return false}function inheritPropComments(e,r){s.types.inheritLeadingComments(e,r.node);s.types.inheritInnerComments(e,r.node);return e}function buildFieldsInitNodes(e,r,t,a,n,o,i,l,c){let u=false;let p;const f=[];const y=[];const g=[];const h=s.types.isIdentifier(r)?()=>r:()=>{var e;(e=p)!=null?e:p=t[0].scope.generateUidIdentifierBasedOnNode(r);return p};for(const r of t){r.isClassProperty()&&d.assertFieldTransformed(r);const t=!(s.types.isStaticBlock!=null&&s.types.isStaticBlock(r.node))&&r.node.static;const p=!t;const b=r.isPrivate();const x=!b;const v=r.isProperty();const j=!v;const w=r.isStaticBlock==null?void 0:r.isStaticBlock();if(t||j&&b||w){const t=replaceThisContext(r,e,h,n,w,l,c);u=u||t}switch(true){case w:{const e=r.node.body;if(e.length===1&&s.types.isExpressionStatement(e[0])){f.push(inheritPropComments(e[0],r))}else{f.push(s.types.inheritsComments(s.template.statement.ast`(() => { ${e} })()`,r.node))}break}case t&&b&&v&&i:u=true;f.push(buildPrivateFieldInitLoose(s.types.cloneNode(e),r,a));break;case t&&b&&v&&!i:u=true;f.push(buildPrivateStaticFieldInitSpec(r,a));break;case t&&x&&v&&o:if(!isNameOrLength(r.node)){u=true;f.push(buildPublicFieldInitLoose(s.types.cloneNode(e),r));break}case t&&x&&v&&!o:u=true;f.push(buildPublicFieldInitSpec(s.types.cloneNode(e),r,n));break;case p&&b&&v&&i:y.push(buildPrivateFieldInitLoose(s.types.thisExpression(),r,a));break;case p&&b&&v&&!i:y.push(buildPrivateInstanceFieldInitSpec(s.types.thisExpression(),r,a,n));break;case p&&b&&j&&i:y.unshift(buildPrivateMethodInitLoose(s.types.thisExpression(),r,a));g.push(buildPrivateMethodDeclaration(r,a,i));break;case p&&b&&j&&!i:y.unshift(buildPrivateInstanceMethodInitSpec(s.types.thisExpression(),r,a,n));g.push(buildPrivateMethodDeclaration(r,a,i));break;case t&&b&&j&&!i:u=true;f.unshift(buildPrivateStaticFieldInitSpec(r,a));g.push(buildPrivateMethodDeclaration(r,a,i));break;case t&&b&&j&&i:u=true;f.unshift(buildPrivateStaticMethodInitLoose(s.types.cloneNode(e),r,n,a));g.push(buildPrivateMethodDeclaration(r,a,i));break;case p&&x&&v&&o:y.push(buildPublicFieldInitLoose(s.types.thisExpression(),r));break;case p&&x&&v&&!o:y.push(buildPublicFieldInitSpec(s.types.thisExpression(),r,n));break;default:throw new Error("Unreachable.")}}return{staticNodes:f.filter(Boolean),instanceNodes:y.filter(Boolean),pureStaticNodes:g.filter(Boolean),wrapClass(r){for(const e of t){e.node.leadingComments=null;e.remove()}if(p){r.scope.push({id:s.types.cloneNode(p)});r.set("superClass",s.types.assignmentExpression("=",p,r.node.superClass))}if(!u)return r;if(r.isClassExpression()){r.scope.push({id:e});r.replaceWith(s.types.assignmentExpression("=",s.types.cloneNode(e),r.node))}else if(!r.node.id){r.node.id=e}return r}}}},7953:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"FEATURES",{enumerable:true,get:function(){return d.FEATURES}});Object.defineProperty(r,"buildCheckInRHS",{enumerable:true,get:function(){return i.buildCheckInRHS}});r.createClassFeaturePlugin=createClassFeaturePlugin;Object.defineProperty(r,"enableFeature",{enumerable:true,get:function(){return d.enableFeature}});Object.defineProperty(r,"injectInitialization",{enumerable:true,get:function(){return c.injectInitialization}});var s=t(8304);var a=t(7345);var n=t(7696);var o=t(7849);var i=t(2736);var l=t(7081);var c=t(4510);var d=t(2532);var u=t(3678);const p="@babel/plugin-class-features/version";function createClassFeaturePlugin({name:e,feature:r,loose:t,manipulateOptions:f,api:y,inherits:g}){{var h;(h=y)!=null?h:y={assumption:()=>void 0}}const b=y.assumption("setPublicClassFields");const x=y.assumption("privateFieldsAsSymbols");const v=y.assumption("privateFieldsAsProperties");const j=y.assumption("constantSuper");const w=y.assumption("noDocumentAll");if(v&&x){throw new Error(`Cannot enable both the "privateFieldsAsProperties" and `+`"privateFieldsAsSymbols" assumptions as the same time.`)}const E=v||x;if(t===true){const r=[];if(b!==undefined){r.push(`"setPublicClassFields"`)}if(v!==undefined){r.push(`"privateFieldsAsProperties"`)}if(x!==undefined){r.push(`"privateFieldsAsSymbols"`)}if(r.length!==0){console.warn(`[${e}]: You are using the "loose: true" option and you are`+` explicitly setting a value for the ${r.join(" and ")}`+` assumption${r.length>1?"s":""}. The "loose" option`+` can cause incompatibilities with the other class features`+` plugins, so it's recommended that you replace it with the`+` following top-level option:\n`+`\t"assumptions": {\n`+`\t\t"setPublicClassFields": true,\n`+`\t\t"privateFieldsAsSymbols": true\n`+`\t}`)}}return{name:e,manipulateOptions:f,inherits:g,pre(e){(0,d.enableFeature)(e,r,t);{if(typeof e.get(p)==="number"){e.set(p,"7.22.1");return}}if(!e.get(p)||o.lt(e.get(p),"7.22.1")){e.set(p,"7.22.1")}},visitor:{Class(e,{file:t}){if(t.get(p)!=="7.22.1")return;if(!(0,d.shouldTransform)(e,t))return;if(e.isClassDeclaration())(0,u.assertFieldTransformed)(e);const n=(0,d.isLoose)(t,r);let o;const f=(0,l.hasDecorators)(e.node);const y=[];const g=[];const h=[];const _=new Set;const S=e.get("body");for(const e of S.get("body")){if((e.isClassProperty()||e.isClassMethod())&&e.node.computed){h.push(e)}if(e.isPrivate()){const{name:r}=e.node.key.id;const t=`get ${r}`;const s=`set ${r}`;if(e.isClassPrivateMethod()){if(e.node.kind==="get"){if(_.has(t)||_.has(r)&&!_.has(s)){throw e.buildCodeFrameError("Duplicate private field")}_.add(t).add(r)}else if(e.node.kind==="set"){if(_.has(s)||_.has(r)&&!_.has(t)){throw e.buildCodeFrameError("Duplicate private field")}_.add(s).add(r)}}else{if(_.has(r)&&!_.has(t)&&!_.has(s)||_.has(r)&&(_.has(t)||_.has(s))){throw e.buildCodeFrameError("Duplicate private field")}_.add(r)}}if(e.isClassMethod({kind:"constructor"})){o=e}else{g.push(e);if(e.isProperty()||e.isPrivate()||e.isStaticBlock!=null&&e.isStaticBlock()){y.push(e)}}}{if(!y.length&&!f)return}const k=e.node.id;let C;if(!k||e.isClassExpression()){(0,a.default)(e);C=e.scope.generateUidIdentifier("class")}else{C=s.types.cloneNode(e.node.id)}const P=(0,i.buildPrivateNamesMap)(y);const D=(0,i.buildPrivateNamesNodes)(P,v!=null?v:n,x!=null?x:false,t);(0,i.transformPrivateNamesUsage)(C,e,P,{privateFieldsAsProperties:E!=null?E:n,noDocumentAll:w,innerBinding:k},t);let I,O,A,R,F;{if(f){O=R=I=[];({instanceNodes:A,wrapClass:F}=(0,l.buildDecoratedClass)(C,e,g,t))}else{I=(0,c.extractComputedKeys)(e,h,t);({staticNodes:O,pureStaticNodes:R,instanceNodes:A,wrapClass:F}=(0,i.buildFieldsInitNodes)(C,e.node.superClass,y,P,t,b!=null?b:n,E!=null?E:n,j!=null?j:n,k))}}if(A.length>0){(0,c.injectInitialization)(e,o,A,((e,r)=>{{if(f)return}for(const t of y){if(s.types.isStaticBlock!=null&&s.types.isStaticBlock(t.node)||t.node.static)continue;t.traverse(e,r)}}))}const M=F(e);M.insertBefore([...D,...I]);if(O.length>0){M.insertAfter(O)}if(R.length>0){M.find((e=>e.isStatement()||e.isDeclaration())).insertAfter(R)}},ExportDefaultDeclaration(e,{file:r}){{if(r.get(p)!=="7.22.1")return;const t=e.get("declaration");if(t.isClassDeclaration()&&(0,l.hasDecorators)(t.node)){if(t.node.id){(0,n.default)(e)}else{t.node.type="ClassExpression"}}}}}}}},4510:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.extractComputedKeys=extractComputedKeys;r.injectInitialization=injectInitialization;var s=t(8304);var a=t(6982);const n=s.traverse.visitors.merge([{Super(e){const{node:r,parentPath:t}=e;if(t.isCallExpression({callee:r})){this.push(t)}}},a.default]);const o={"TSTypeAnnotation|TypeAnnotation"(e){e.skip()},ReferencedIdentifier(e,{scope:r}){if(r.hasOwnBinding(e.node.name)){r.rename(e.node.name);e.skip()}}};function handleClassTDZ(e,r){if(r.classBinding&&r.classBinding===e.scope.getBinding(e.node.name)){const t=r.file.addHelper("classNameTDZError");const a=s.types.callExpression(t,[s.types.stringLiteral(e.node.name)]);e.replaceWith(s.types.sequenceExpression([a,e.node]));e.skip()}}const i={ReferencedIdentifier:handleClassTDZ};function injectInitialization(e,r,t,a){if(!t.length)return;const i=!!e.node.superClass;if(!r){const t=s.types.classMethod("constructor",s.types.identifier("constructor"),[],s.types.blockStatement([]));if(i){t.params=[s.types.restElement(s.types.identifier("args"))];t.body.body.push(s.template.statement.ast`super(...args)`)}[r]=e.get("body").unshiftContainer("body",t)}if(a){a(o,{scope:r.scope})}if(i){const e=[];r.traverse(n,e);let a=true;for(const r of e){if(a){r.insertAfter(t);a=false}else{r.insertAfter(t.map((e=>s.types.cloneNode(e))))}}}else{r.get("body").unshiftContainer("body",t)}}function extractComputedKeys(e,r,t){const a=[];const n={classBinding:e.node.id&&e.scope.getBinding(e.node.id.name),file:t};for(const t of r){const r=t.get("key");if(r.isReferencedIdentifier()){handleClassTDZ(r,n)}else{r.traverse(i,n)}const o=t.node;if(!r.isConstantExpression()){const r=e.scope.generateUidIdentifierBasedOnNode(o.key);e.scope.push({id:r,kind:"let"});a.push(s.types.expressionStatement(s.types.assignmentExpression("=",s.types.cloneNode(r),o.key)));o.key=s.types.cloneNode(r)}}return a}},3678:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.assertFieldTransformed=assertFieldTransformed;function assertFieldTransformed(e){if(e.node.declare||false){throw e.buildCodeFrameError(`TypeScript 'declare' fields must first be transformed by `+`@babel/plugin-transform-typescript.\n`+`If you have already enabled that plugin (or '@babel/preset-typescript'), make sure `+`that it runs before any plugin related to additional class features:\n`+` - @babel/plugin-transform-class-properties\n`+` - @babel/plugin-transform-private-methods\n`+` - @babel/plugin-proposal-decorators`)}}},9810:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.FEATURES=void 0;r.enableFeature=enableFeature;r.featuresKey=void 0;r.hasFeature=hasFeature;r.runtimeKey=void 0;const t=Object.freeze({unicodeFlag:1<<0,dotAllFlag:1<<1,unicodePropertyEscape:1<<2,namedCaptureGroups:1<<3,unicodeSetsFlag_syntax:1<<4,unicodeSetsFlag:1<<5,duplicateNamedCaptureGroups:1<<6,modifiers:1<<7});r.FEATURES=t;const s="@babel/plugin-regexp-features/featuresKey";r.featuresKey=s;const a="@babel/plugin-regexp-features/runtimeKey";r.runtimeKey=a;function enableFeature(e,r){return e|r}function hasFeature(e,r){return!!(e&r)}},9626:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.createRegExpFeaturePlugin=createRegExpFeaturePlugin;var s=t(8498);var a=t(8304);var n=t(7135);var o=t(7849);var i=t(9810);var l=t(8755);const c="@babel/plugin-regexp-features/version";function createRegExpFeaturePlugin({name:e,feature:r,options:t={},manipulateOptions:d=(()=>{})}){return{name:e,manipulateOptions:d,pre(){var e;const{file:s}=this;const a=(e=s.get(i.featuresKey))!=null?e:0;let n=(0,i.enableFeature)(a,i.FEATURES[r]);const{useUnicodeFlag:l,runtime:d}=t;if(l===false){n=(0,i.enableFeature)(n,i.FEATURES.unicodeFlag)}if(n!==a){s.set(i.featuresKey,n)}if(d!==undefined){if(s.has(i.runtimeKey)&&s.get(i.runtimeKey)!==d&&(0,i.hasFeature)(n,i.FEATURES.duplicateNamedCaptureGroups)){throw new Error(`The 'runtime' option must be the same for `+`'@babel/plugin-transform-named-capturing-groups-regex' and `+`'@babel/plugin-proposal-duplicate-named-capturing-groups-regex'.`)}if(r==="namedCaptureGroups"){if(!d||!s.has(i.runtimeKey))s.set(i.runtimeKey,d)}else{s.set(i.runtimeKey,d)}}{if(typeof s.get(c)==="number"){s.set(c,"7.22.15");return}}if(!s.get(c)||o.lt(s.get(c),"7.22.15")){s.set(c,"7.22.15")}},visitor:{RegExpLiteral(e){var r,t;const{node:o}=e;const{file:c}=this;const d=c.get(i.featuresKey);const u=(r=c.get(i.runtimeKey))!=null?r:true;const p=(0,l.generateRegexpuOptions)(o.pattern,d);if((0,l.canSkipRegexpu)(o,p)){return}const f={__proto__:null};if(p.namedGroups==="transform"){p.onNamedGroup=(e,r)=>{const t=f[e];if(typeof t==="number"){f[e]=[t,r]}else if(Array.isArray(t)){t.push(r)}else{f[e]=r}}}let y;if(p.modifiers==="transform"){p.onNewFlags=e=>{y=e}}o.pattern=s(o.pattern,o.flags,p);if(p.namedGroups==="transform"&&Object.keys(f).length>0&&u&&!isRegExpTest(e)){const r=a.types.callExpression(this.addHelper("wrapRegExp"),[o,a.types.valueToNode(f)]);(0,n.default)(r);e.replaceWith(r)}o.flags=(0,l.transformFlags)(p,(t=y)!=null?t:o.flags)}}}}function isRegExpTest(e){return e.parentPath.isMemberExpression({object:e.node,computed:false})&&e.parentPath.get("property").isIdentifier({name:"test"})}},8755:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.canSkipRegexpu=canSkipRegexpu;r.generateRegexpuOptions=generateRegexpuOptions;r.transformFlags=transformFlags;var s=t(9810);function generateRegexpuOptions(e,r){const feat=(e,t="transform")=>(0,s.hasFeature)(r,s.FEATURES[e])?t:false;const featDuplicateNamedGroups=()=>{if(!feat("duplicateNamedCaptureGroups"))return false;const r=/\(\?<([^>]+)>/g;const t=new Set;for(let s;s=r.exec(e);t.add(s[1])){if(t.has(s[1]))return"transform"}return false};return{unicodeFlag:feat("unicodeFlag"),unicodeSetsFlag:feat("unicodeSetsFlag")||"parse",dotAllFlag:feat("dotAllFlag"),unicodePropertyEscapes:feat("unicodePropertyEscape"),namedGroups:feat("namedCaptureGroups")||featDuplicateNamedGroups(),onNamedGroup:()=>{},modifiers:feat("modifiers")}}function canSkipRegexpu(e,r){const{flags:t,pattern:s}=e;if(t.includes("v")){if(r.unicodeSetsFlag==="transform")return false}if(t.includes("u")){if(r.unicodeFlag==="transform")return false;if(r.unicodePropertyEscapes==="transform"&&/\\[pP]{/.test(s)){return false}}if(t.includes("s")){if(r.dotAllFlag==="transform")return false}if(r.namedGroups==="transform"&&/\(\?<(?![=!])/.test(s)){return false}if(r.modifiers==="transform"&&/\(\?[\w-]+:/.test(s)){return false}return true}function transformFlags(e,r){if(e.unicodeSetsFlag==="transform"){r=r.replace("v","u")}if(e.unicodeFlag==="transform"){r=r.replace("u","")}if(e.dotAllFlag==="transform"){r=r.replace("s","")}return r}},2161:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.FEATURES=void 0;r.enableFeature=enableFeature;r.featuresKey=void 0;r.hasFeature=hasFeature;r.runtimeKey=void 0;const t=Object.freeze({unicodeFlag:1<<0,dotAllFlag:1<<1,unicodePropertyEscape:1<<2,namedCaptureGroups:1<<3,unicodeSetsFlag_syntax:1<<4,unicodeSetsFlag:1<<5,duplicateNamedCaptureGroups:1<<6,modifiers:1<<7});r.FEATURES=t;const s="@babel/plugin-regexp-features/featuresKey";r.featuresKey=s;const a="@babel/plugin-regexp-features/runtimeKey";r.runtimeKey=a;function enableFeature(e,r){return e|r}function hasFeature(e,r){return!!(e&r)}},176:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.createRegExpFeaturePlugin=createRegExpFeaturePlugin;var s=t(8498);var a=t(8304);var n=t(7135);var o=t(7849);var i=t(2161);var l=t(4559);const c="@babel/plugin-regexp-features/version";function createRegExpFeaturePlugin({name:e,feature:r,options:t={},manipulateOptions:d=(()=>{})}){return{name:e,manipulateOptions:d,pre(){var e;const{file:s}=this;const a=(e=s.get(i.featuresKey))!=null?e:0;let n=(0,i.enableFeature)(a,i.FEATURES[r]);const{useUnicodeFlag:l,runtime:d}=t;if(l===false){n=(0,i.enableFeature)(n,i.FEATURES.unicodeFlag)}if(n!==a){s.set(i.featuresKey,n)}if(d!==undefined){if(s.has(i.runtimeKey)&&s.get(i.runtimeKey)!==d&&(0,i.hasFeature)(n,i.FEATURES.duplicateNamedCaptureGroups)){throw new Error(`The 'runtime' option must be the same for `+`'@babel/plugin-transform-named-capturing-groups-regex' and `+`'@babel/plugin-proposal-duplicate-named-capturing-groups-regex'.`)}if(r==="namedCaptureGroups"){if(!d||!s.has(i.runtimeKey))s.set(i.runtimeKey,d)}else{s.set(i.runtimeKey,d)}}{if(typeof s.get(c)==="number"){s.set(c,"7.22.1");return}}if(!s.get(c)||o.lt(s.get(c),"7.22.1")){s.set(c,"7.22.1")}},visitor:{RegExpLiteral(e){var r,t;const{node:o}=e;const{file:c}=this;const d=c.get(i.featuresKey);const u=(r=c.get(i.runtimeKey))!=null?r:true;const p=(0,l.generateRegexpuOptions)(o.pattern,d);if((0,l.canSkipRegexpu)(o,p)){return}const f={__proto__:null};if(p.namedGroups==="transform"){p.onNamedGroup=(e,r)=>{const t=f[e];if(typeof t==="number"){f[e]=[t,r]}else if(Array.isArray(t)){t.push(r)}else{f[e]=r}}}let y;if(p.modifiers==="transform"){p.onNewFlags=e=>{y=e}}o.pattern=s(o.pattern,o.flags,p);if(p.namedGroups==="transform"&&Object.keys(f).length>0&&u&&!isRegExpTest(e)){const r=a.types.callExpression(this.addHelper("wrapRegExp"),[o,a.types.valueToNode(f)]);(0,n.default)(r);e.replaceWith(r)}o.flags=(0,l.transformFlags)(p,(t=y)!=null?t:o.flags)}}}}function isRegExpTest(e){return e.parentPath.isMemberExpression({object:e.node,computed:false})&&e.parentPath.get("property").isIdentifier({name:"test"})}},4559:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.canSkipRegexpu=canSkipRegexpu;r.generateRegexpuOptions=generateRegexpuOptions;r.transformFlags=transformFlags;var s=t(2161);function generateRegexpuOptions(e,r){const feat=(e,t="transform")=>(0,s.hasFeature)(r,s.FEATURES[e])?t:false;const featDuplicateNamedGroups=()=>{if(!feat("duplicateNamedCaptureGroups"))return false;const r=/\(\?<([^>]+)>/g;const t=new Set;for(let s;s=r.exec(e);t.add(s[1])){if(t.has(s[1]))return"transform"}return false};return{unicodeFlag:feat("unicodeFlag"),unicodeSetsFlag:feat("unicodeSetsFlag")||"parse",dotAllFlag:feat("dotAllFlag"),unicodePropertyEscapes:feat("unicodePropertyEscape"),namedGroups:feat("namedCaptureGroups")||featDuplicateNamedGroups(),onNamedGroup:()=>{},modifiers:feat("modifiers")}}function canSkipRegexpu(e,r){const{flags:t,pattern:s}=e;if(t.includes("v")){if(r.unicodeSetsFlag==="transform")return false}if(t.includes("u")){if(r.unicodeFlag==="transform")return false;if(r.unicodePropertyEscapes==="transform"&&/\\[pP]{/.test(s)){return false}}if(t.includes("s")){if(r.dotAllFlag==="transform")return false}if(r.namedGroups==="transform"&&/\(\?<(?![=!])/.test(s)){return false}if(r.modifiers==="transform"&&/\(\?[\w-]+:/.test(s)){return false}return true}function transformFlags(e,r){if(e.unicodeSetsFlag==="transform"){r=r.replace("v","u")}if(e.unicodeFlag==="transform"){r=r.replace("u","")}if(e.dotAllFlag==="transform"){r=r.replace("s","")}return r}},6982:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;r.requeueComputedKeyAndDecorators=requeueComputedKeyAndDecorators;{{{r.skipAllButComputedKey=function skipAllButComputedKey(e){e.skip();if(e.node.computed){e.context.maybeQueue(e.get("key"))}}}}}function requeueComputedKeyAndDecorators(e){const{context:r,node:t}=e;if(t.computed){r.maybeQueue(e.get("key"))}if(t.decorators){for(const t of e.get("decorators")){r.maybeQueue(t)}}}const t={FunctionParent(e){if(e.isArrowFunctionExpression()){return}else{e.skip();if(e.isMethod()){requeueComputedKeyAndDecorators(e)}}},Property(e){if(e.isObjectProperty()){return}e.skip();requeueComputedKeyAndDecorators(e)}};var s=t;r["default"]=s},8552:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;r.requeueComputedKeyAndDecorators=requeueComputedKeyAndDecorators;{r.skipAllButComputedKey=function skipAllButComputedKey(e){e.skip();if(e.node.computed){e.context.maybeQueue(e.get("key"))}}}function requeueComputedKeyAndDecorators(e){const{context:r,node:t}=e;if(t.computed){r.maybeQueue(e.get("key"))}if(t.decorators){for(const t of e.get("decorators")){r.maybeQueue(t)}}}const t={FunctionParent(e){if(e.isArrowFunctionExpression()){return}else{e.skip();if(e.isMethod()){requeueComputedKeyAndDecorators(e)}}},Property(e){if(e.isObjectProperty()){return}e.skip();requeueComputedKeyAndDecorators(e)}};var s=t;r["default"]=s},3336:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;r.requeueComputedKeyAndDecorators=requeueComputedKeyAndDecorators;{r.skipAllButComputedKey=function skipAllButComputedKey(e){e.skip();if(e.node.computed){e.context.maybeQueue(e.get("key"))}}}function requeueComputedKeyAndDecorators(e){const{context:r,node:t}=e;if(t.computed){r.maybeQueue(e.get("key"))}if(t.decorators){for(const t of e.get("decorators")){r.maybeQueue(t)}}}const t={FunctionParent(e){if(e.isArrowFunctionExpression()){return}else{e.skip();if(e.isMethod()){requeueComputedKeyAndDecorators(e)}}},Property(e){if(e.isObjectProperty()){return}e.skip();requeueComputedKeyAndDecorators(e)}};var s=r["default"]=t},7345:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=_default;var s=t(789);var a=t(8622);const{NOT_LOCAL_BINDING:n,cloneNode:o,identifier:i,isAssignmentExpression:l,isAssignmentPattern:c,isFunction:d,isIdentifier:u,isLiteral:p,isNullLiteral:f,isObjectMethod:y,isObjectProperty:g,isRegExpLiteral:h,isRestElement:b,isTemplateLiteral:x,isVariableDeclarator:v,toBindingIdentifierName:j}=a;function getFunctionArity(e){const r=e.params.findIndex((e=>c(e)||b(e)));return r===-1?e.params.length:r}const w=s.default.statement(`\n (function (FUNCTION_KEY) {\n function FUNCTION_ID() {\n return FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n }\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const E=s.default.statement(`\n (function (FUNCTION_KEY) {\n function* FUNCTION_ID() {\n return yield* FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n };\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const _={"ReferencedIdentifier|BindingIdentifier"(e,r){if(e.node.name!==r.name)return;const t=e.scope.getBindingIdentifier(r.name);if(t!==r.outerDeclar)return;r.selfReference=true;e.stop()}};function getNameFromLiteralId(e){if(f(e)){return"null"}if(h(e)){return`_${e.pattern}_${e.flags}`}if(x(e)){return e.quasis.map((e=>e.value.raw)).join("")}if(e.value!==undefined){return e.value+""}return""}function wrap(e,r,t,s){if(e.selfReference){if(s.hasBinding(t.name)&&!s.hasGlobal(t.name)){s.rename(t.name)}else{if(!d(r))return;let e=w;if(r.generator){e=E}const a=e({FUNCTION:r,FUNCTION_ID:t,FUNCTION_KEY:s.generateUidIdentifier(t.name)}).expression;const n=a.callee.body.body[0].params;for(let e=0,t=getFunctionArity(r);ec(e)||b(e)));return r===-1?e.params.length:r}const w=s.default.statement(`\n (function (FUNCTION_KEY) {\n function FUNCTION_ID() {\n return FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n }\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const E=s.default.statement(`\n (function (FUNCTION_KEY) {\n function* FUNCTION_ID() {\n return yield* FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n };\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const _={"ReferencedIdentifier|BindingIdentifier"(e,r){if(e.node.name!==r.name)return;const t=e.scope.getBindingIdentifier(r.name);if(t!==r.outerDeclar)return;r.selfReference=true;e.stop()}};function getNameFromLiteralId(e){if(f(e)){return"null"}if(h(e)){return`_${e.pattern}_${e.flags}`}if(x(e)){return e.quasis.map((e=>e.value.raw)).join("")}if(e.value!==undefined){return e.value+""}return""}function wrap(e,r,t,s){if(e.selfReference){if(s.hasBinding(t.name)&&!s.hasGlobal(t.name)){s.rename(t.name)}else{if(!d(r))return;let e=w;if(r.generator){e=E}const a=e({FUNCTION:r,FUNCTION_ID:t,FUNCTION_KEY:s.generateUidIdentifier(t.name)}).expression;const n=a.callee.body.body[0].params;for(let e=0,t=getFunctionArity(r);ec(e)||b(e)));return r===-1?e.params.length:r}const w=s.default.statement(`\n (function (FUNCTION_KEY) {\n function FUNCTION_ID() {\n return FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n }\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const E=s.default.statement(`\n (function (FUNCTION_KEY) {\n function* FUNCTION_ID() {\n return yield* FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n };\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const _={"ReferencedIdentifier|BindingIdentifier"(e,r){if(e.node.name!==r.name)return;const t=e.scope.getBindingIdentifier(r.name);if(t!==r.outerDeclar)return;r.selfReference=true;e.stop()}};function getNameFromLiteralId(e){if(f(e)){return"null"}if(h(e)){return`_${e.pattern}_${e.flags}`}if(x(e)){return e.quasis.map((e=>e.value.raw)).join("")}if(e.value!==undefined){return e.value+""}return""}function wrap(e,r,t,s){if(e.selfReference){if(s.hasBinding(t.name)&&!s.hasGlobal(t.name)){s.rename(t.name)}else{if(!d(r))return;let e=w;if(r.generator){e=E}const a=e({FUNCTION:r,FUNCTION_ID:t,FUNCTION_KEY:s.generateUidIdentifier(t.name)}).expression;const n=a.callee.body.body[0].params;for(let e=0,t=getFunctionArity(r);e{"use strict";Object.defineProperty(r,"__esModule",{value:true});var s=t(8622);function _interopNamespace(e){if(e&&e.__esModule)return e;var r=Object.create(null);if(e){Object.keys(e).forEach((function(t){if(t!=="default"){var s=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,s.get?s:{enumerable:true,get:function(){return e[t]}})}}))}r["default"]=e;return Object.freeze(r)}var a=_interopNamespace(s);function willPathCastToBoolean(e){const r=e;const{node:t,parentPath:s}=r;if(s.isLogicalExpression()){const{operator:e,right:r}=s.node;if(e==="&&"||e==="||"||e==="??"&&t===r){return willPathCastToBoolean(s)}}if(s.isSequenceExpression()){const{expressions:e}=s.node;if(e[e.length-1]===t){return willPathCastToBoolean(s)}else{return true}}return s.isConditional({test:t})||s.isUnaryExpression({operator:"!"})||s.isLoop({test:t})}const{LOGICAL_OPERATORS:n,arrowFunctionExpression:o,assignmentExpression:i,binaryExpression:l,booleanLiteral:c,callExpression:d,cloneNode:u,conditionalExpression:p,identifier:f,isMemberExpression:y,isOptionalCallExpression:g,isOptionalMemberExpression:h,isUpdateExpression:b,logicalExpression:x,memberExpression:v,nullLiteral:j,optionalCallExpression:w,optionalMemberExpression:E,sequenceExpression:_,updateExpression:S}=a;class AssignmentMemoiser{constructor(){this._map=void 0;this._map=new WeakMap}has(e){return this._map.has(e)}get(e){if(!this.has(e))return;const r=this._map.get(e);const{value:t}=r;r.count--;if(r.count===0){return i("=",t,e)}return t}set(e,r,t){return this._map.set(e,{count:t,value:r})}}function toNonOptional(e,r){const{node:t}=e;if(h(t)){return v(r,t.property,t.computed)}if(e.isOptionalCallExpression()){const t=e.get("callee");if(e.node.optional&&t.isOptionalMemberExpression()){const s=t.node.object;const a=e.scope.maybeGenerateMemoised(s);t.get("object").replaceWith(i("=",a,s));return d(v(r,f("call")),[a,...e.node.arguments])}return d(r,e.node.arguments)}return e.node}function isInDetachedTree(e){while(e){if(e.isProgram())break;const{parentPath:r,container:t,listKey:s}=e;const a=r.node;if(s){if(t!==a[s]){return true}}else{if(t!==a)return true}e=r}return false}const k={memoise(){},handle(e,r){const{node:t,parent:s,parentPath:a,scope:v}=e;if(e.isOptionalMemberExpression()){if(isInDetachedTree(e))return;const n=e.find((({node:r,parent:t})=>{if(h(t)){return t.optional||t.object!==r}if(g(t)){return r!==e.node&&t.optional||t.callee!==r}return true}));if(v.path.isPattern()){n.replaceWith(d(o([],n.node),[]));return}const b=willPathCastToBoolean(n);const _=n.parentPath;if(_.isUpdateExpression({argument:t})||_.isAssignmentExpression({left:t})){throw e.buildCodeFrameError(`can't handle assignment`)}const S=_.isUnaryExpression({operator:"delete"});if(S&&n.isOptionalMemberExpression()&&n.get("property").isPrivateName()){throw e.buildCodeFrameError(`can't delete a private class element`)}let k=e;for(;;){if(k.isOptionalMemberExpression()){if(k.node.optional)break;k=k.get("object");continue}else if(k.isOptionalCallExpression()){if(k.node.optional)break;k=k.get("callee");continue}throw new Error(`Internal error: unexpected ${k.node.type}`)}const C=k.isOptionalMemberExpression()?k.node.object:k.node.callee;const P=v.maybeGenerateMemoised(C);const D=P!=null?P:C;const I=a.isOptionalCallExpression({callee:t});const isOptionalCall=e=>I;const O=a.isCallExpression({callee:t});k.replaceWith(toNonOptional(k,D));if(isOptionalCall()){if(s.optional){a.replaceWith(this.optionalCall(e,s.arguments))}else{a.replaceWith(this.call(e,s.arguments))}}else if(O){e.replaceWith(this.boundGet(e))}else if(this.delete&&a.isUnaryExpression({operator:"delete"})){a.replaceWith(this.delete(e))}else{e.replaceWith(this.get(e))}let A=e.node;for(let r=e;r!==n;){const e=r.parentPath;if(e===n&&isOptionalCall()&&s.optional){A=e.node;break}A=toNonOptional(e,A);r=e}let R;const F=n.parentPath;if(y(A)&&F.isOptionalCallExpression({callee:n.node,optional:true})){const{object:r}=A;R=e.scope.maybeGenerateMemoised(r);if(R){A.object=i("=",R,r)}}let M=n;if(S){M=F;A=F.node}const N=P?i("=",u(D),u(C)):u(D);if(b){let e;if(r){e=l("!=",N,j())}else{e=x("&&",l("!==",N,j()),l("!==",u(D),v.buildUndefinedNode()))}M.replaceWith(x("&&",e,A))}else{let e;if(r){e=l("==",N,j())}else{e=x("||",l("===",N,j()),l("===",u(D),v.buildUndefinedNode()))}M.replaceWith(p(e,S?c(true):v.buildUndefinedNode(),A))}if(R){const e=F.node;F.replaceWith(w(E(e.callee,f("call"),false,true),[u(R),...e.arguments],false))}return}if(b(s,{argument:t})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:r,prefix:n}=s;this.memoise(e,2);const o=v.generateUidIdentifierBasedOnNode(t);v.push({id:o});const l=[i("=",u(o),this.get(e))];if(n){l.push(S(r,u(o),n));const t=_(l);a.replaceWith(this.set(e,t));return}else{const s=v.generateUidIdentifierBasedOnNode(t);v.push({id:s});l.push(i("=",u(s),S(r,u(o),n)),u(o));const c=_(l);a.replaceWith(_([this.set(e,c),u(s)]));return}}if(a.isAssignmentExpression({left:t})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:r,right:t}=a.node;if(r==="="){a.replaceWith(this.set(e,t))}else{const s=r.slice(0,-1);if(n.includes(s)){this.memoise(e,1);a.replaceWith(x(s,this.get(e),this.set(e,t)))}else{this.memoise(e,2);a.replaceWith(this.set(e,l(s,this.get(e),t)))}}return}if(a.isCallExpression({callee:t})){a.replaceWith(this.call(e,a.node.arguments));return}if(a.isOptionalCallExpression({callee:t})){if(v.path.isPattern()){a.replaceWith(d(o([],a.node),[]));return}a.replaceWith(this.optionalCall(e,a.node.arguments));return}if(this.delete&&a.isUnaryExpression({operator:"delete"})){a.replaceWith(this.delete(e));return}if(a.isForXStatement({left:t})||a.isObjectProperty({value:t})&&a.parentPath.isObjectPattern()||a.isAssignmentPattern({left:t})&&a.parentPath.isObjectProperty({value:s})&&a.parentPath.parentPath.isObjectPattern()||a.isArrayPattern()||a.isAssignmentPattern({left:t})&&a.parentPath.isArrayPattern()||a.isRestElement()){e.replaceWith(this.destructureSet(e));return}if(a.isTaggedTemplateExpression()){e.replaceWith(this.boundGet(e))}else{e.replaceWith(this.get(e))}}};function memberExpressionToFunctions(e,r,t){e.traverse(r,Object.assign({},k,t,{memoiser:new AssignmentMemoiser}))}r["default"]=memberExpressionToFunctions},6265:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});var s=t(8622);function _interopNamespace(e){if(e&&e.__esModule)return e;var r=Object.create(null);if(e){Object.keys(e).forEach((function(t){if(t!=="default"){var s=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,s.get?s:{enumerable:true,get:function(){return e[t]}})}}))}r.default=e;return Object.freeze(r)}var a=_interopNamespace(s);function willPathCastToBoolean(e){const r=e;const{node:t,parentPath:s}=r;if(s.isLogicalExpression()){const{operator:e,right:r}=s.node;if(e==="&&"||e==="||"||e==="??"&&t===r){return willPathCastToBoolean(s)}}if(s.isSequenceExpression()){const{expressions:e}=s.node;if(e[e.length-1]===t){return willPathCastToBoolean(s)}else{return true}}return s.isConditional({test:t})||s.isUnaryExpression({operator:"!"})||s.isLoop({test:t})}const{LOGICAL_OPERATORS:n,arrowFunctionExpression:o,assignmentExpression:i,binaryExpression:l,booleanLiteral:c,callExpression:d,cloneNode:u,conditionalExpression:p,identifier:f,isMemberExpression:y,isOptionalCallExpression:g,isOptionalMemberExpression:h,isUpdateExpression:b,logicalExpression:x,memberExpression:v,nullLiteral:j,optionalCallExpression:w,optionalMemberExpression:E,sequenceExpression:_,updateExpression:S}=a;class AssignmentMemoiser{constructor(){this._map=void 0;this._map=new WeakMap}has(e){return this._map.has(e)}get(e){if(!this.has(e))return;const r=this._map.get(e);const{value:t}=r;r.count--;if(r.count===0){return i("=",t,e)}return t}set(e,r,t){return this._map.set(e,{count:t,value:r})}}function toNonOptional(e,r){const{node:t}=e;if(h(t)){return v(r,t.property,t.computed)}if(e.isOptionalCallExpression()){const t=e.get("callee");if(e.node.optional&&t.isOptionalMemberExpression()){const s=t.node.object;const a=e.scope.maybeGenerateMemoised(s);t.get("object").replaceWith(i("=",a,s));return d(v(r,f("call")),[a,...e.node.arguments])}return d(r,e.node.arguments)}return e.node}function isInDetachedTree(e){while(e){if(e.isProgram())break;const{parentPath:r,container:t,listKey:s}=e;const a=r.node;if(s){if(t!==a[s]){return true}}else{if(t!==a)return true}e=r}return false}const k={memoise(){},handle(e,r){const{node:t,parent:s,parentPath:a,scope:n}=e;if(e.isOptionalMemberExpression()){if(isInDetachedTree(e))return;const b=e.find((({node:r,parent:t})=>{if(h(t)){return t.optional||t.object!==r}if(g(t)){return r!==e.node&&t.optional||t.callee!==r}return true}));if(n.path.isPattern()){b.replaceWith(d(o([],b.node),[]));return}const v=willPathCastToBoolean(b);const _=b.parentPath;if(_.isUpdateExpression({argument:t})){throw e.buildCodeFrameError(`can't handle update expression`)}const S=_.isAssignmentExpression({left:b.node});const k=_.isUnaryExpression({operator:"delete"});if(k&&b.isOptionalMemberExpression()&&b.get("property").isPrivateName()){throw e.buildCodeFrameError(`can't delete a private class element`)}let C=e;for(;;){if(C.isOptionalMemberExpression()){if(C.node.optional)break;C=C.get("object");continue}else if(C.isOptionalCallExpression()){if(C.node.optional)break;C=C.get("callee");continue}throw new Error(`Internal error: unexpected ${C.node.type}`)}const P=C.isOptionalMemberExpression()?C.node.object:C.node.callee;const D=n.maybeGenerateMemoised(P);const I=D!=null?D:P;const O=a.isOptionalCallExpression({callee:t});const isOptionalCall=e=>O;const A=a.isCallExpression({callee:t});C.replaceWith(toNonOptional(C,I));if(isOptionalCall()){if(s.optional){a.replaceWith(this.optionalCall(e,s.arguments))}else{a.replaceWith(this.call(e,s.arguments))}}else if(A){e.replaceWith(this.boundGet(e))}else if(this.delete&&a.isUnaryExpression({operator:"delete"})){a.replaceWith(this.delete(e))}else if(a.isAssignmentExpression()){handleAssignment(this,e,a)}else{e.replaceWith(this.get(e))}let R=e.node;for(let r=e;r!==b;){const e=r.parentPath;if(e===b&&isOptionalCall()&&s.optional){R=e.node;break}R=toNonOptional(e,R);r=e}let F;const M=b.parentPath;if(y(R)&&M.isOptionalCallExpression({callee:b.node,optional:true})){const{object:r}=R;F=e.scope.maybeGenerateMemoised(r);if(F){R.object=i("=",F,r)}}let N=b;if(k||S){N=M;R=M.node}const B=D?i("=",u(I),u(P)):u(I);if(v){let e;if(r){e=l("!=",B,j())}else{e=x("&&",l("!==",B,j()),l("!==",u(I),n.buildUndefinedNode()))}N.replaceWith(x("&&",e,R))}else{let e;if(r){e=l("==",B,j())}else{e=x("||",l("===",B,j()),l("===",u(I),n.buildUndefinedNode()))}N.replaceWith(p(e,k?c(true):n.buildUndefinedNode(),R))}if(F){const e=M.node;M.replaceWith(w(E(e.callee,f("call"),false,true),[u(F),...e.arguments],false))}return}if(b(s,{argument:t})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:r,prefix:o}=s;this.memoise(e,2);const l=n.generateUidIdentifierBasedOnNode(t);n.push({id:l});const c=[i("=",u(l),this.get(e))];if(o){c.push(S(r,u(l),o));const t=_(c);a.replaceWith(this.set(e,t));return}else{const s=n.generateUidIdentifierBasedOnNode(t);n.push({id:s});c.push(i("=",u(s),S(r,u(l),o)),u(l));const d=_(c);a.replaceWith(_([this.set(e,d),u(s)]));return}}if(a.isAssignmentExpression({left:t})){handleAssignment(this,e,a);return}if(a.isCallExpression({callee:t})){a.replaceWith(this.call(e,a.node.arguments));return}if(a.isOptionalCallExpression({callee:t})){if(n.path.isPattern()){a.replaceWith(d(o([],a.node),[]));return}a.replaceWith(this.optionalCall(e,a.node.arguments));return}if(this.delete&&a.isUnaryExpression({operator:"delete"})){a.replaceWith(this.delete(e));return}if(a.isForXStatement({left:t})||a.isObjectProperty({value:t})&&a.parentPath.isObjectPattern()||a.isAssignmentPattern({left:t})&&a.parentPath.isObjectProperty({value:s})&&a.parentPath.parentPath.isObjectPattern()||a.isArrayPattern()||a.isAssignmentPattern({left:t})&&a.parentPath.isArrayPattern()||a.isRestElement()){e.replaceWith(this.destructureSet(e));return}if(a.isTaggedTemplateExpression()){e.replaceWith(this.boundGet(e))}else{e.replaceWith(this.get(e))}}};function handleAssignment(e,r,t){if(e.simpleSet){r.replaceWith(e.simpleSet(r));return}const{operator:s,right:a}=t.node;if(s==="="){t.replaceWith(e.set(r,a))}else{const o=s.slice(0,-1);if(n.includes(o)){e.memoise(r,1);t.replaceWith(x(o,e.get(r),e.set(r,a)))}else{e.memoise(r,2);t.replaceWith(e.set(r,l(o,e.get(r),a)))}}}function memberExpressionToFunctions(e,r,t){e.traverse(r,Object.assign({},k,t,{memoiser:new AssignmentMemoiser}))}r["default"]=memberExpressionToFunctions},4835:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(9491);var a=t(8622);const{callExpression:n,cloneNode:o,expressionStatement:i,identifier:l,importDeclaration:c,importDefaultSpecifier:d,importNamespaceSpecifier:u,importSpecifier:p,memberExpression:f,stringLiteral:y,variableDeclaration:g,variableDeclarator:h}=a;class ImportBuilder{constructor(e,r,t){this._statements=[];this._resultName=null;this._importedSource=void 0;this._scope=r;this._hub=t;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(c([],y(this._importedSource)));return this}require(){this._statements.push(i(n(l("require"),[y(this._importedSource)])));return this}namespace(e="namespace"){const r=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];s(t.type==="ImportDeclaration");s(t.specifiers.length===0);t.specifiers=[u(r)];this._resultName=o(r);return this}default(e){const r=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];s(t.type==="ImportDeclaration");s(t.specifiers.length===0);t.specifiers=[d(r)];this._resultName=o(r);return this}named(e,r){if(r==="default")return this.default(e);const t=this._scope.generateUidIdentifier(e);const a=this._statements[this._statements.length-1];s(a.type==="ImportDeclaration");s(a.specifiers.length===0);a.specifiers=[p(t,l(r))];this._resultName=o(t);return this}var(e){const r=this._scope.generateUidIdentifier(e);let t=this._statements[this._statements.length-1];if(t.type!=="ExpressionStatement"){s(this._resultName);t=i(this._resultName);this._statements.push(t)}this._statements[this._statements.length-1]=g("var",[h(r,t.expression)]);this._resultName=o(r);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const r=this._statements[this._statements.length-1];if(r.type==="ExpressionStatement"){r.expression=n(e,[r.expression])}else if(r.type==="VariableDeclaration"){s(r.declarations.length===1);r.declarations[0].init=n(e,[r.declarations[0].init])}else{s.fail("Unexpected type.")}return this}prop(e){const r=this._statements[this._statements.length-1];if(r.type==="ExpressionStatement"){r.expression=f(r.expression,l(e))}else if(r.type==="VariableDeclaration"){s(r.declarations.length===1);r.declarations[0].init=f(r.declarations[0].init,l(e))}else{s.fail("Unexpected type:"+r.type)}return this}read(e){this._resultName=f(this._resultName,l(e))}}r["default"]=ImportBuilder},8539:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(9491);var a=t(8622);var n=t(4835);var o=t(8089);const{numericLiteral:i,sequenceExpression:l}=a;class ImportInjector{constructor(e,r,t){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const s=e.find((e=>e.isProgram()));this._programPath=s;this._programScope=s.scope;this._hub=s.hub;this._defaultOpts=this._applyDefaults(r,t,true)}addDefault(e,r){return this.addNamed("default",e,r)}addNamed(e,r,t){s(typeof e==="string");return this._generateImport(this._applyDefaults(r,t),e)}addNamespace(e,r){return this._generateImport(this._applyDefaults(e,r),null)}addSideEffect(e,r){return this._generateImport(this._applyDefaults(e,r),void 0)}_applyDefaults(e,r,t=false){let a;if(typeof e==="string"){a=Object.assign({},this._defaultOpts,{importedSource:e},r)}else{s(!r,"Unexpected secondary arguments.");a=Object.assign({},this._defaultOpts,e)}if(!t&&r){if(r.nameHint!==undefined)a.nameHint=r.nameHint;if(r.blockHoist!==undefined)a.blockHoist=r.blockHoist}return a}_generateImport(e,r){const t=r==="default";const s=!!r&&!t;const a=r===null;const{importedSource:c,importedType:d,importedInterop:u,importingInterop:p,ensureLiveReference:f,ensureNoContext:y,nameHint:g,importPosition:h,blockHoist:b}=e;let x=g||r;const v=(0,o.default)(this._programPath);const j=v&&p==="node";const w=v&&p==="babel";if(h==="after"&&!v){throw new Error(`"importPosition": "after" is only supported in modules`)}const E=new n.default(c,this._programScope,this._hub);if(d==="es6"){if(!j&&!w){throw new Error("Cannot import an ES6 module from CommonJS")}E.import();if(a){E.namespace(g||c)}else if(t||s){E.named(x,r)}}else if(d!=="commonjs"){throw new Error(`Unexpected interopType "${d}"`)}else if(u==="babel"){if(j){x=x!=="default"?x:c;const e=`${c}$es6Default`;E.import();if(a){E.default(e).var(x||c).wildcardInterop()}else if(t){if(f){E.default(e).var(x||c).defaultInterop().read("default")}else{E.default(e).var(x).defaultInterop().prop(r)}}else if(s){E.default(e).read(r)}}else if(w){E.import();if(a){E.namespace(x||c)}else if(t||s){E.named(x,r)}}else{E.require();if(a){E.var(x||c).wildcardInterop()}else if((t||s)&&f){if(t){x=x!=="default"?x:c;E.var(x).read(r);E.defaultInterop()}else{E.var(c).read(r)}}else if(t){E.var(x).defaultInterop().prop(r)}else if(s){E.var(x).prop(r)}}}else if(u==="compiled"){if(j){E.import();if(a){E.default(x||c)}else if(t||s){E.default(c).read(x)}}else if(w){E.import();if(a){E.namespace(x||c)}else if(t||s){E.named(x,r)}}else{E.require();if(a){E.var(x||c)}else if(t||s){if(f){E.var(c).read(x)}else{E.prop(r).var(x)}}}}else if(u==="uncompiled"){if(t&&f){throw new Error("No live reference for commonjs default")}if(j){E.import();if(a){E.default(x||c)}else if(t){E.default(x)}else if(s){E.default(c).read(x)}}else if(w){E.import();if(a){E.default(x||c)}else if(t){E.default(x)}else if(s){E.named(x,r)}}else{E.require();if(a){E.var(x||c)}else if(t){E.var(x)}else if(s){if(f){E.var(c).read(x)}else{E.var(x).prop(r)}}}}else{throw new Error(`Unknown importedInterop "${u}".`)}const{statements:_,resultName:S}=E.done();this._insertStatements(_,h,b);if((t||s)&&y&&S.type!=="Identifier"){return l([i(0),S])}return S}_insertStatements(e,r="before",t=3){const s=this._programPath.get("body");if(r==="after"){for(let r=s.length-1;r>=0;r--){if(s[r].isImportDeclaration()){s[r].insertAfter(e);return}}}else{e.forEach((e=>{e._blockHoist=t}));const r=s.find((e=>{const r=e.node._blockHoist;return Number.isFinite(r)&&r<4}));if(r){r.insertBefore(e);return}}this._programPath.unshiftContainer("body",e)}}r["default"]=ImportInjector},3380:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"ImportInjector",{enumerable:true,get:function(){return s.default}});r.addDefault=addDefault;r.addNamed=addNamed;r.addNamespace=addNamespace;r.addSideEffect=addSideEffect;Object.defineProperty(r,"isModule",{enumerable:true,get:function(){return a.default}});var s=t(8539);var a=t(8089);function addDefault(e,r,t){return new s.default(e).addDefault(r,t)}function addNamed(e,r,t,a){return new s.default(e).addNamed(r,t,a)}function addNamespace(e,r,t){return new s.default(e).addNamespace(r,t)}function addSideEffect(e,r,t){return new s.default(e).addSideEffect(r,t)}},8089:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=isModule;function isModule(e){return e.node.sourceType==="module"}},3664:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.buildDynamicImport=buildDynamicImport;var s=t(8304);{r.getDynamicImportSource=function getDynamicImportSource(e){const[r]=e.arguments;return s.types.isStringLiteral(r)||s.types.isTemplateLiteral(r)?r:s.template.expression.ast`\`\${${r}}\``}}function buildDynamicImport(e,r,t,a){const n=s.types.isCallExpression(e)?e.arguments[0]:e.source;if(s.types.isStringLiteral(n)||s.types.isTemplateLiteral(n)&&n.quasis.length===0){if(r){return s.template.expression.ast` + `,r)}function buildPrivateMethodDeclaration(e,r,t=false){const a=r.get(e.node.key.id.name);const{id:n,methodId:o,getId:i,setId:l,getterDeclared:c,setterDeclared:d,static:u}=a;const{params:p,body:f,generator:y,async:g}=e.node;const h=i&&!c&&p.length===0;const b=l&&!d&&p.length>0;let x=o;if(h){r.set(e.node.key.id.name,Object.assign({},a,{getterDeclared:true}));x=i}else if(b){r.set(e.node.key.id.name,Object.assign({},a,{setterDeclared:true}));x=l}else if(u&&!t){x=n}return inheritPropComments(s.types.functionDeclaration(s.types.cloneNode(x),p,f,y,g),e)}const g=s.traverse.visitors.merge([{ThisExpression(e,r){const t=e.findParent((e=>!(0,c.isTransparentExprWrapper)(e.node)));if(s.types.isUnaryExpression(t.node,{operator:"delete"})){e.parentPath.replaceWith(s.types.booleanLiteral(true));return}r.needsClassRef=true;e.replaceWith(s.types.cloneNode(r.classRef))},MetaProperty(e){const r=e.get("meta");const t=e.get("property");const{scope:s}=e;if(r.isIdentifier({name:"new"})&&t.isIdentifier({name:"target"})){e.replaceWith(s.buildUndefinedNode())}}},n.default]);const h={ReferencedIdentifier(e,r){if(e.scope.bindingIdentifierEquals(e.node.name,r.innerBinding)){r.needsClassRef=true;e.node.name=r.classRef.name}}};function replaceThisContext(e,r,t,n,o,i,l){var c;const d={classRef:r,needsClassRef:false,innerBinding:l};const u=new a.default({methodPath:e,constantSuper:i,file:n,refToPreserve:r,getSuperRef:t,getObjectRef(){d.needsClassRef=true;return s.types.isStaticBlock!=null&&s.types.isStaticBlock(e.node)||e.node.static?r:s.types.memberExpression(r,s.types.identifier("prototype"))}});u.replace();if(o||e.isProperty()){e.traverse(g,d)}if(l!=null&&(c=d.classRef)!=null&&c.name&&d.classRef.name!==(l==null?void 0:l.name)){e.traverse(h,d)}return d.needsClassRef}function isNameOrLength({key:e,computed:r}){if(e.type==="Identifier"){return!r&&(e.name==="name"||e.name==="length")}if(e.type==="StringLiteral"){return e.value==="name"||e.value==="length"}return false}function inheritPropComments(e,r){s.types.inheritLeadingComments(e,r.node);s.types.inheritInnerComments(e,r.node);return e}function buildFieldsInitNodes(e,r,t,a,n,o,i,l,c){let u=false;let p;const f=[];const y=[];const g=[];const h=s.types.isIdentifier(r)?()=>r:()=>{var e;(e=p)!=null?e:p=t[0].scope.generateUidIdentifierBasedOnNode(r);return p};for(const r of t){r.isClassProperty()&&d.assertFieldTransformed(r);const t=!(s.types.isStaticBlock!=null&&s.types.isStaticBlock(r.node))&&r.node.static;const p=!t;const b=r.isPrivate();const x=!b;const v=r.isProperty();const j=!v;const w=r.isStaticBlock==null?void 0:r.isStaticBlock();if(t||j&&b||w){const t=replaceThisContext(r,e,h,n,w,l,c);u=u||t}switch(true){case w:{const e=r.node.body;if(e.length===1&&s.types.isExpressionStatement(e[0])){f.push(inheritPropComments(e[0],r))}else{f.push(s.types.inheritsComments(s.template.statement.ast`(() => { ${e} })()`,r.node))}break}case t&&b&&v&&i:u=true;f.push(buildPrivateFieldInitLoose(s.types.cloneNode(e),r,a));break;case t&&b&&v&&!i:u=true;f.push(buildPrivateStaticFieldInitSpec(r,a));break;case t&&x&&v&&o:if(!isNameOrLength(r.node)){u=true;f.push(buildPublicFieldInitLoose(s.types.cloneNode(e),r));break}case t&&x&&v&&!o:u=true;f.push(buildPublicFieldInitSpec(s.types.cloneNode(e),r,n));break;case p&&b&&v&&i:y.push(buildPrivateFieldInitLoose(s.types.thisExpression(),r,a));break;case p&&b&&v&&!i:y.push(buildPrivateInstanceFieldInitSpec(s.types.thisExpression(),r,a,n));break;case p&&b&&j&&i:y.unshift(buildPrivateMethodInitLoose(s.types.thisExpression(),r,a));g.push(buildPrivateMethodDeclaration(r,a,i));break;case p&&b&&j&&!i:y.unshift(buildPrivateInstanceMethodInitSpec(s.types.thisExpression(),r,a,n));g.push(buildPrivateMethodDeclaration(r,a,i));break;case t&&b&&j&&!i:u=true;f.unshift(buildPrivateStaticFieldInitSpec(r,a));g.push(buildPrivateMethodDeclaration(r,a,i));break;case t&&b&&j&&i:u=true;f.unshift(buildPrivateStaticMethodInitLoose(s.types.cloneNode(e),r,n,a));g.push(buildPrivateMethodDeclaration(r,a,i));break;case p&&x&&v&&o:y.push(buildPublicFieldInitLoose(s.types.thisExpression(),r));break;case p&&x&&v&&!o:y.push(buildPublicFieldInitSpec(s.types.thisExpression(),r,n));break;default:throw new Error("Unreachable.")}}return{staticNodes:f.filter(Boolean),instanceNodes:y.filter(Boolean),pureStaticNodes:g.filter(Boolean),wrapClass(r){for(const e of t){e.node.leadingComments=null;e.remove()}if(p){r.scope.push({id:s.types.cloneNode(p)});r.set("superClass",s.types.assignmentExpression("=",p,r.node.superClass))}if(!u)return r;if(r.isClassExpression()){r.scope.push({id:e});r.replaceWith(s.types.assignmentExpression("=",s.types.cloneNode(e),r.node))}else if(!r.node.id){r.node.id=e}return r}}}},7953:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"FEATURES",{enumerable:true,get:function(){return d.FEATURES}});Object.defineProperty(r,"buildCheckInRHS",{enumerable:true,get:function(){return i.buildCheckInRHS}});r.createClassFeaturePlugin=createClassFeaturePlugin;Object.defineProperty(r,"enableFeature",{enumerable:true,get:function(){return d.enableFeature}});Object.defineProperty(r,"injectInitialization",{enumerable:true,get:function(){return c.injectInitialization}});var s=t(8304);var a=t(7345);var n=t(7696);var o=t(7849);var i=t(2736);var l=t(7081);var c=t(4510);var d=t(2532);var u=t(3678);const p="@babel/plugin-class-features/version";function createClassFeaturePlugin({name:e,feature:r,loose:t,manipulateOptions:f,api:y,inherits:g}){{var h;(h=y)!=null?h:y={assumption:()=>void 0}}const b=y.assumption("setPublicClassFields");const x=y.assumption("privateFieldsAsSymbols");const v=y.assumption("privateFieldsAsProperties");const j=y.assumption("constantSuper");const w=y.assumption("noDocumentAll");if(v&&x){throw new Error(`Cannot enable both the "privateFieldsAsProperties" and `+`"privateFieldsAsSymbols" assumptions as the same time.`)}const E=v||x;if(t===true){const r=[];if(b!==undefined){r.push(`"setPublicClassFields"`)}if(v!==undefined){r.push(`"privateFieldsAsProperties"`)}if(x!==undefined){r.push(`"privateFieldsAsSymbols"`)}if(r.length!==0){console.warn(`[${e}]: You are using the "loose: true" option and you are`+` explicitly setting a value for the ${r.join(" and ")}`+` assumption${r.length>1?"s":""}. The "loose" option`+` can cause incompatibilities with the other class features`+` plugins, so it's recommended that you replace it with the`+` following top-level option:\n`+`\t"assumptions": {\n`+`\t\t"setPublicClassFields": true,\n`+`\t\t"privateFieldsAsSymbols": true\n`+`\t}`)}}return{name:e,manipulateOptions:f,inherits:g,pre(e){(0,d.enableFeature)(e,r,t);{if(typeof e.get(p)==="number"){e.set(p,"7.22.1");return}}if(!e.get(p)||o.lt(e.get(p),"7.22.1")){e.set(p,"7.22.1")}},visitor:{Class(e,{file:t}){if(t.get(p)!=="7.22.1")return;if(!(0,d.shouldTransform)(e,t))return;if(e.isClassDeclaration())(0,u.assertFieldTransformed)(e);const n=(0,d.isLoose)(t,r);let o;const f=(0,l.hasDecorators)(e.node);const y=[];const g=[];const h=[];const _=new Set;const S=e.get("body");for(const e of S.get("body")){if((e.isClassProperty()||e.isClassMethod())&&e.node.computed){h.push(e)}if(e.isPrivate()){const{name:r}=e.node.key.id;const t=`get ${r}`;const s=`set ${r}`;if(e.isClassPrivateMethod()){if(e.node.kind==="get"){if(_.has(t)||_.has(r)&&!_.has(s)){throw e.buildCodeFrameError("Duplicate private field")}_.add(t).add(r)}else if(e.node.kind==="set"){if(_.has(s)||_.has(r)&&!_.has(t)){throw e.buildCodeFrameError("Duplicate private field")}_.add(s).add(r)}}else{if(_.has(r)&&!_.has(t)&&!_.has(s)||_.has(r)&&(_.has(t)||_.has(s))){throw e.buildCodeFrameError("Duplicate private field")}_.add(r)}}if(e.isClassMethod({kind:"constructor"})){o=e}else{g.push(e);if(e.isProperty()||e.isPrivate()||e.isStaticBlock!=null&&e.isStaticBlock()){y.push(e)}}}{if(!y.length&&!f)return}const k=e.node.id;let C;if(!k||e.isClassExpression()){(0,a.default)(e);C=e.scope.generateUidIdentifier("class")}else{C=s.types.cloneNode(e.node.id)}const P=(0,i.buildPrivateNamesMap)(y);const D=(0,i.buildPrivateNamesNodes)(P,v!=null?v:n,x!=null?x:false,t);(0,i.transformPrivateNamesUsage)(C,e,P,{privateFieldsAsProperties:E!=null?E:n,noDocumentAll:w,innerBinding:k},t);let I,O,A,R,F;{if(f){O=R=I=[];({instanceNodes:A,wrapClass:F}=(0,l.buildDecoratedClass)(C,e,g,t))}else{I=(0,c.extractComputedKeys)(e,h,t);({staticNodes:O,pureStaticNodes:R,instanceNodes:A,wrapClass:F}=(0,i.buildFieldsInitNodes)(C,e.node.superClass,y,P,t,b!=null?b:n,E!=null?E:n,j!=null?j:n,k))}}if(A.length>0){(0,c.injectInitialization)(e,o,A,((e,r)=>{{if(f)return}for(const t of y){if(s.types.isStaticBlock!=null&&s.types.isStaticBlock(t.node)||t.node.static)continue;t.traverse(e,r)}}))}const M=F(e);M.insertBefore([...D,...I]);if(O.length>0){M.insertAfter(O)}if(R.length>0){M.find((e=>e.isStatement()||e.isDeclaration())).insertAfter(R)}},ExportDefaultDeclaration(e,{file:r}){{if(r.get(p)!=="7.22.1")return;const t=e.get("declaration");if(t.isClassDeclaration()&&(0,l.hasDecorators)(t.node)){if(t.node.id){(0,n.default)(e)}else{t.node.type="ClassExpression"}}}}}}}},4510:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.extractComputedKeys=extractComputedKeys;r.injectInitialization=injectInitialization;var s=t(8304);var a=t(6982);const n=s.traverse.visitors.merge([{Super(e){const{node:r,parentPath:t}=e;if(t.isCallExpression({callee:r})){this.push(t)}}},a.default]);const o={"TSTypeAnnotation|TypeAnnotation"(e){e.skip()},ReferencedIdentifier(e,{scope:r}){if(r.hasOwnBinding(e.node.name)){r.rename(e.node.name);e.skip()}}};function handleClassTDZ(e,r){if(r.classBinding&&r.classBinding===e.scope.getBinding(e.node.name)){const t=r.file.addHelper("classNameTDZError");const a=s.types.callExpression(t,[s.types.stringLiteral(e.node.name)]);e.replaceWith(s.types.sequenceExpression([a,e.node]));e.skip()}}const i={ReferencedIdentifier:handleClassTDZ};function injectInitialization(e,r,t,a){if(!t.length)return;const i=!!e.node.superClass;if(!r){const t=s.types.classMethod("constructor",s.types.identifier("constructor"),[],s.types.blockStatement([]));if(i){t.params=[s.types.restElement(s.types.identifier("args"))];t.body.body.push(s.template.statement.ast`super(...args)`)}[r]=e.get("body").unshiftContainer("body",t)}if(a){a(o,{scope:r.scope})}if(i){const e=[];r.traverse(n,e);let a=true;for(const r of e){if(a){r.insertAfter(t);a=false}else{r.insertAfter(t.map((e=>s.types.cloneNode(e))))}}}else{r.get("body").unshiftContainer("body",t)}}function extractComputedKeys(e,r,t){const a=[];const n={classBinding:e.node.id&&e.scope.getBinding(e.node.id.name),file:t};for(const t of r){const r=t.get("key");if(r.isReferencedIdentifier()){handleClassTDZ(r,n)}else{r.traverse(i,n)}const o=t.node;if(!r.isConstantExpression()){const r=e.scope.generateUidIdentifierBasedOnNode(o.key);e.scope.push({id:r,kind:"let"});a.push(s.types.expressionStatement(s.types.assignmentExpression("=",s.types.cloneNode(r),o.key)));o.key=s.types.cloneNode(r)}}return a}},3678:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.assertFieldTransformed=assertFieldTransformed;function assertFieldTransformed(e){if(e.node.declare||false){throw e.buildCodeFrameError(`TypeScript 'declare' fields must first be transformed by `+`@babel/plugin-transform-typescript.\n`+`If you have already enabled that plugin (or '@babel/preset-typescript'), make sure `+`that it runs before any plugin related to additional class features:\n`+` - @babel/plugin-transform-class-properties\n`+` - @babel/plugin-transform-private-methods\n`+` - @babel/plugin-proposal-decorators`)}}},9810:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.FEATURES=void 0;r.enableFeature=enableFeature;r.featuresKey=void 0;r.hasFeature=hasFeature;r.runtimeKey=void 0;const t=Object.freeze({unicodeFlag:1<<0,dotAllFlag:1<<1,unicodePropertyEscape:1<<2,namedCaptureGroups:1<<3,unicodeSetsFlag_syntax:1<<4,unicodeSetsFlag:1<<5,duplicateNamedCaptureGroups:1<<6,modifiers:1<<7});r.FEATURES=t;const s="@babel/plugin-regexp-features/featuresKey";r.featuresKey=s;const a="@babel/plugin-regexp-features/runtimeKey";r.runtimeKey=a;function enableFeature(e,r){return e|r}function hasFeature(e,r){return!!(e&r)}},9626:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.createRegExpFeaturePlugin=createRegExpFeaturePlugin;var s=t(8498);var a=t(8304);var n=t(7135);var o=t(7849);var i=t(9810);var l=t(8755);const c="@babel/plugin-regexp-features/version";function createRegExpFeaturePlugin({name:e,feature:r,options:t={},manipulateOptions:d=(()=>{})}){return{name:e,manipulateOptions:d,pre(){var e;const{file:s}=this;const a=(e=s.get(i.featuresKey))!=null?e:0;let n=(0,i.enableFeature)(a,i.FEATURES[r]);const{useUnicodeFlag:l,runtime:d}=t;if(l===false){n=(0,i.enableFeature)(n,i.FEATURES.unicodeFlag)}if(n!==a){s.set(i.featuresKey,n)}if(d!==undefined){if(s.has(i.runtimeKey)&&s.get(i.runtimeKey)!==d&&(0,i.hasFeature)(n,i.FEATURES.duplicateNamedCaptureGroups)){throw new Error(`The 'runtime' option must be the same for `+`'@babel/plugin-transform-named-capturing-groups-regex' and `+`'@babel/plugin-proposal-duplicate-named-capturing-groups-regex'.`)}if(r==="namedCaptureGroups"){if(!d||!s.has(i.runtimeKey))s.set(i.runtimeKey,d)}else{s.set(i.runtimeKey,d)}}{if(typeof s.get(c)==="number"){s.set(c,"7.22.15");return}}if(!s.get(c)||o.lt(s.get(c),"7.22.15")){s.set(c,"7.22.15")}},visitor:{RegExpLiteral(e){var r,t;const{node:o}=e;const{file:c}=this;const d=c.get(i.featuresKey);const u=(r=c.get(i.runtimeKey))!=null?r:true;const p=(0,l.generateRegexpuOptions)(o.pattern,d);if((0,l.canSkipRegexpu)(o,p)){return}const f={__proto__:null};if(p.namedGroups==="transform"){p.onNamedGroup=(e,r)=>{const t=f[e];if(typeof t==="number"){f[e]=[t,r]}else if(Array.isArray(t)){t.push(r)}else{f[e]=r}}}let y;if(p.modifiers==="transform"){p.onNewFlags=e=>{y=e}}o.pattern=s(o.pattern,o.flags,p);if(p.namedGroups==="transform"&&Object.keys(f).length>0&&u&&!isRegExpTest(e)){const r=a.types.callExpression(this.addHelper("wrapRegExp"),[o,a.types.valueToNode(f)]);(0,n.default)(r);e.replaceWith(r)}o.flags=(0,l.transformFlags)(p,(t=y)!=null?t:o.flags)}}}}function isRegExpTest(e){return e.parentPath.isMemberExpression({object:e.node,computed:false})&&e.parentPath.get("property").isIdentifier({name:"test"})}},8755:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.canSkipRegexpu=canSkipRegexpu;r.generateRegexpuOptions=generateRegexpuOptions;r.transformFlags=transformFlags;var s=t(9810);function generateRegexpuOptions(e,r){const feat=(e,t="transform")=>(0,s.hasFeature)(r,s.FEATURES[e])?t:false;const featDuplicateNamedGroups=()=>{if(!feat("duplicateNamedCaptureGroups"))return false;const r=/\(\?<([^>]+)>/g;const t=new Set;for(let s;s=r.exec(e);t.add(s[1])){if(t.has(s[1]))return"transform"}return false};return{unicodeFlag:feat("unicodeFlag"),unicodeSetsFlag:feat("unicodeSetsFlag")||"parse",dotAllFlag:feat("dotAllFlag"),unicodePropertyEscapes:feat("unicodePropertyEscape"),namedGroups:feat("namedCaptureGroups")||featDuplicateNamedGroups(),onNamedGroup:()=>{},modifiers:feat("modifiers")}}function canSkipRegexpu(e,r){const{flags:t,pattern:s}=e;if(t.includes("v")){if(r.unicodeSetsFlag==="transform")return false}if(t.includes("u")){if(r.unicodeFlag==="transform")return false;if(r.unicodePropertyEscapes==="transform"&&/\\[pP]{/.test(s)){return false}}if(t.includes("s")){if(r.dotAllFlag==="transform")return false}if(r.namedGroups==="transform"&&/\(\?<(?![=!])/.test(s)){return false}if(r.modifiers==="transform"&&/\(\?[\w-]+:/.test(s)){return false}return true}function transformFlags(e,r){if(e.unicodeSetsFlag==="transform"){r=r.replace("v","u")}if(e.unicodeFlag==="transform"){r=r.replace("u","")}if(e.dotAllFlag==="transform"){r=r.replace("s","")}return r}},27:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.FEATURES=void 0;r.enableFeature=enableFeature;r.featuresKey=void 0;r.hasFeature=hasFeature;r.runtimeKey=void 0;const t=r.FEATURES=Object.freeze({unicodeFlag:1<<0,dotAllFlag:1<<1,unicodePropertyEscape:1<<2,namedCaptureGroups:1<<3,unicodeSetsFlag_syntax:1<<4,unicodeSetsFlag:1<<5,duplicateNamedCaptureGroups:1<<6,modifiers:1<<7});const s=r.featuresKey="@babel/plugin-regexp-features/featuresKey";const a=r.runtimeKey="@babel/plugin-regexp-features/runtimeKey";function enableFeature(e,r){return e|r}function hasFeature(e,r){return!!(e&r)}},2269:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.createRegExpFeaturePlugin=createRegExpFeaturePlugin;var s=t(8498);var a=t(8304);var n=t(7135);var o=t(7849);var i=t(27);var l=t(2910);const c="@babel/plugin-regexp-features/version";function createRegExpFeaturePlugin({name:e,feature:r,options:t={},manipulateOptions:d=(()=>{})}){return{name:e,manipulateOptions:d,pre(){var e;const{file:s}=this;const a=(e=s.get(i.featuresKey))!=null?e:0;let n=(0,i.enableFeature)(a,i.FEATURES[r]);const{useUnicodeFlag:l,runtime:d}=t;if(l===false){n=(0,i.enableFeature)(n,i.FEATURES.unicodeFlag)}if(n!==a){s.set(i.featuresKey,n)}if(d!==undefined){if(s.has(i.runtimeKey)&&s.get(i.runtimeKey)!==d&&(0,i.hasFeature)(n,i.FEATURES.duplicateNamedCaptureGroups)){throw new Error(`The 'runtime' option must be the same for `+`'@babel/plugin-transform-named-capturing-groups-regex' and `+`'@babel/plugin-proposal-duplicate-named-capturing-groups-regex'.`)}if(r==="namedCaptureGroups"){if(!d||!s.has(i.runtimeKey))s.set(i.runtimeKey,d)}else{s.set(i.runtimeKey,d)}}{if(typeof s.get(c)==="number"){s.set(c,"7.24.7");return}}if(!s.get(c)||o.lt(s.get(c),"7.24.7")){s.set(c,"7.24.7")}},visitor:{RegExpLiteral(e){var r,t;const{node:o}=e;const{file:c}=this;const d=c.get(i.featuresKey);const u=(r=c.get(i.runtimeKey))!=null?r:true;const p=(0,l.generateRegexpuOptions)(o.pattern,d);if((0,l.canSkipRegexpu)(o,p)){return}const f={__proto__:null};if(p.namedGroups==="transform"){p.onNamedGroup=(e,r)=>{const t=f[e];if(typeof t==="number"){f[e]=[t,r]}else if(Array.isArray(t)){t.push(r)}else{f[e]=r}}}let y;if(p.modifiers==="transform"){p.onNewFlags=e=>{y=e}}o.pattern=s(o.pattern,o.flags,p);if(p.namedGroups==="transform"&&Object.keys(f).length>0&&u&&!isRegExpTest(e)){const r=a.types.callExpression(this.addHelper("wrapRegExp"),[o,a.types.valueToNode(f)]);(0,n.default)(r);e.replaceWith(r)}o.flags=(0,l.transformFlags)(p,(t=y)!=null?t:o.flags)}}}}function isRegExpTest(e){return e.parentPath.isMemberExpression({object:e.node,computed:false})&&e.parentPath.get("property").isIdentifier({name:"test"})}},2910:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.canSkipRegexpu=canSkipRegexpu;r.generateRegexpuOptions=generateRegexpuOptions;r.transformFlags=transformFlags;var s=t(27);function generateRegexpuOptions(e,r){const feat=(e,t="transform")=>(0,s.hasFeature)(r,s.FEATURES[e])?t:false;const featDuplicateNamedGroups=()=>{if(!feat("duplicateNamedCaptureGroups"))return false;const r=/\(\?<([^>]+)>/g;const t=new Set;for(let s;s=r.exec(e);t.add(s[1])){if(t.has(s[1]))return"transform"}return false};return{unicodeFlag:feat("unicodeFlag"),unicodeSetsFlag:feat("unicodeSetsFlag")||"parse",dotAllFlag:feat("dotAllFlag"),unicodePropertyEscapes:feat("unicodePropertyEscape"),namedGroups:feat("namedCaptureGroups")||featDuplicateNamedGroups(),onNamedGroup:()=>{},modifiers:feat("modifiers")}}function canSkipRegexpu(e,r){const{flags:t,pattern:s}=e;if(t.includes("v")){if(r.unicodeSetsFlag==="transform")return false}if(t.includes("u")){if(r.unicodeFlag==="transform")return false;if(r.unicodePropertyEscapes==="transform"&&/\\[pP]{/.test(s)){return false}}if(t.includes("s")){if(r.dotAllFlag==="transform")return false}if(r.namedGroups==="transform"&&/\(\?<(?![=!])/.test(s)){return false}if(r.modifiers==="transform"&&/\(\?[\w-]+:/.test(s)){return false}return true}function transformFlags(e,r){if(e.unicodeSetsFlag==="transform"){r=r.replace("v","u")}if(e.unicodeFlag==="transform"){r=r.replace("u","")}if(e.dotAllFlag==="transform"){r=r.replace("s","")}return r}},6982:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;r.requeueComputedKeyAndDecorators=requeueComputedKeyAndDecorators;{{{r.skipAllButComputedKey=function skipAllButComputedKey(e){e.skip();if(e.node.computed){e.context.maybeQueue(e.get("key"))}}}}}function requeueComputedKeyAndDecorators(e){const{context:r,node:t}=e;if(t.computed){r.maybeQueue(e.get("key"))}if(t.decorators){for(const t of e.get("decorators")){r.maybeQueue(t)}}}const t={FunctionParent(e){if(e.isArrowFunctionExpression()){return}else{e.skip();if(e.isMethod()){requeueComputedKeyAndDecorators(e)}}},Property(e){if(e.isObjectProperty()){return}e.skip();requeueComputedKeyAndDecorators(e)}};var s=t;r["default"]=s},8552:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;r.requeueComputedKeyAndDecorators=requeueComputedKeyAndDecorators;{r.skipAllButComputedKey=function skipAllButComputedKey(e){e.skip();if(e.node.computed){e.context.maybeQueue(e.get("key"))}}}function requeueComputedKeyAndDecorators(e){const{context:r,node:t}=e;if(t.computed){r.maybeQueue(e.get("key"))}if(t.decorators){for(const t of e.get("decorators")){r.maybeQueue(t)}}}const t={FunctionParent(e){if(e.isArrowFunctionExpression()){return}else{e.skip();if(e.isMethod()){requeueComputedKeyAndDecorators(e)}}},Property(e){if(e.isObjectProperty()){return}e.skip();requeueComputedKeyAndDecorators(e)}};var s=t;r["default"]=s},3336:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;r.requeueComputedKeyAndDecorators=requeueComputedKeyAndDecorators;{r.skipAllButComputedKey=function skipAllButComputedKey(e){e.skip();if(e.node.computed){e.context.maybeQueue(e.get("key"))}}}function requeueComputedKeyAndDecorators(e){const{context:r,node:t}=e;if(t.computed){r.maybeQueue(e.get("key"))}if(t.decorators){for(const t of e.get("decorators")){r.maybeQueue(t)}}}const t={FunctionParent(e){if(e.isArrowFunctionExpression()){return}else{e.skip();if(e.isMethod()){requeueComputedKeyAndDecorators(e)}}},Property(e){if(e.isObjectProperty()){return}e.skip();requeueComputedKeyAndDecorators(e)}};var s=r["default"]=t},7345:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=_default;var s=t(789);var a=t(8622);const{NOT_LOCAL_BINDING:n,cloneNode:o,identifier:i,isAssignmentExpression:l,isAssignmentPattern:c,isFunction:d,isIdentifier:u,isLiteral:p,isNullLiteral:f,isObjectMethod:y,isObjectProperty:g,isRegExpLiteral:h,isRestElement:b,isTemplateLiteral:x,isVariableDeclarator:v,toBindingIdentifierName:j}=a;function getFunctionArity(e){const r=e.params.findIndex((e=>c(e)||b(e)));return r===-1?e.params.length:r}const w=s.default.statement(`\n (function (FUNCTION_KEY) {\n function FUNCTION_ID() {\n return FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n }\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const E=s.default.statement(`\n (function (FUNCTION_KEY) {\n function* FUNCTION_ID() {\n return yield* FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n };\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const _={"ReferencedIdentifier|BindingIdentifier"(e,r){if(e.node.name!==r.name)return;const t=e.scope.getBindingIdentifier(r.name);if(t!==r.outerDeclar)return;r.selfReference=true;e.stop()}};function getNameFromLiteralId(e){if(f(e)){return"null"}if(h(e)){return`_${e.pattern}_${e.flags}`}if(x(e)){return e.quasis.map((e=>e.value.raw)).join("")}if(e.value!==undefined){return e.value+""}return""}function wrap(e,r,t,s){if(e.selfReference){if(s.hasBinding(t.name)&&!s.hasGlobal(t.name)){s.rename(t.name)}else{if(!d(r))return;let e=w;if(r.generator){e=E}const a=e({FUNCTION:r,FUNCTION_ID:t,FUNCTION_KEY:s.generateUidIdentifier(t.name)}).expression;const n=a.callee.body.body[0].params;for(let e=0,t=getFunctionArity(r);ec(e)||b(e)));return r===-1?e.params.length:r}const w=s.default.statement(`\n (function (FUNCTION_KEY) {\n function FUNCTION_ID() {\n return FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n }\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const E=s.default.statement(`\n (function (FUNCTION_KEY) {\n function* FUNCTION_ID() {\n return yield* FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n };\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const _={"ReferencedIdentifier|BindingIdentifier"(e,r){if(e.node.name!==r.name)return;const t=e.scope.getBindingIdentifier(r.name);if(t!==r.outerDeclar)return;r.selfReference=true;e.stop()}};function getNameFromLiteralId(e){if(f(e)){return"null"}if(h(e)){return`_${e.pattern}_${e.flags}`}if(x(e)){return e.quasis.map((e=>e.value.raw)).join("")}if(e.value!==undefined){return e.value+""}return""}function wrap(e,r,t,s){if(e.selfReference){if(s.hasBinding(t.name)&&!s.hasGlobal(t.name)){s.rename(t.name)}else{if(!d(r))return;let e=w;if(r.generator){e=E}const a=e({FUNCTION:r,FUNCTION_ID:t,FUNCTION_KEY:s.generateUidIdentifier(t.name)}).expression;const n=a.callee.body.body[0].params;for(let e=0,t=getFunctionArity(r);ec(e)||b(e)));return r===-1?e.params.length:r}const w=s.default.statement(`\n (function (FUNCTION_KEY) {\n function FUNCTION_ID() {\n return FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n }\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const E=s.default.statement(`\n (function (FUNCTION_KEY) {\n function* FUNCTION_ID() {\n return yield* FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n };\n\n return FUNCTION_ID;\n })(FUNCTION)\n`);const _={"ReferencedIdentifier|BindingIdentifier"(e,r){if(e.node.name!==r.name)return;const t=e.scope.getBindingIdentifier(r.name);if(t!==r.outerDeclar)return;r.selfReference=true;e.stop()}};function getNameFromLiteralId(e){if(f(e)){return"null"}if(h(e)){return`_${e.pattern}_${e.flags}`}if(x(e)){return e.quasis.map((e=>e.value.raw)).join("")}if(e.value!==undefined){return e.value+""}return""}function wrap(e,r,t,s){if(e.selfReference){if(s.hasBinding(t.name)&&!s.hasGlobal(t.name)){s.rename(t.name)}else{if(!d(r))return;let e=w;if(r.generator){e=E}const a=e({FUNCTION:r,FUNCTION_ID:t,FUNCTION_KEY:s.generateUidIdentifier(t.name)}).expression;const n=a.callee.body.body[0].params;for(let e=0,t=getFunctionArity(r);e{"use strict";Object.defineProperty(r,"__esModule",{value:true});var s=t(8622);function _interopNamespace(e){if(e&&e.__esModule)return e;var r=Object.create(null);if(e){Object.keys(e).forEach((function(t){if(t!=="default"){var s=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,s.get?s:{enumerable:true,get:function(){return e[t]}})}}))}r["default"]=e;return Object.freeze(r)}var a=_interopNamespace(s);function willPathCastToBoolean(e){const r=e;const{node:t,parentPath:s}=r;if(s.isLogicalExpression()){const{operator:e,right:r}=s.node;if(e==="&&"||e==="||"||e==="??"&&t===r){return willPathCastToBoolean(s)}}if(s.isSequenceExpression()){const{expressions:e}=s.node;if(e[e.length-1]===t){return willPathCastToBoolean(s)}else{return true}}return s.isConditional({test:t})||s.isUnaryExpression({operator:"!"})||s.isLoop({test:t})}const{LOGICAL_OPERATORS:n,arrowFunctionExpression:o,assignmentExpression:i,binaryExpression:l,booleanLiteral:c,callExpression:d,cloneNode:u,conditionalExpression:p,identifier:f,isMemberExpression:y,isOptionalCallExpression:g,isOptionalMemberExpression:h,isUpdateExpression:b,logicalExpression:x,memberExpression:v,nullLiteral:j,optionalCallExpression:w,optionalMemberExpression:E,sequenceExpression:_,updateExpression:S}=a;class AssignmentMemoiser{constructor(){this._map=void 0;this._map=new WeakMap}has(e){return this._map.has(e)}get(e){if(!this.has(e))return;const r=this._map.get(e);const{value:t}=r;r.count--;if(r.count===0){return i("=",t,e)}return t}set(e,r,t){return this._map.set(e,{count:t,value:r})}}function toNonOptional(e,r){const{node:t}=e;if(h(t)){return v(r,t.property,t.computed)}if(e.isOptionalCallExpression()){const t=e.get("callee");if(e.node.optional&&t.isOptionalMemberExpression()){const s=t.node.object;const a=e.scope.maybeGenerateMemoised(s);t.get("object").replaceWith(i("=",a,s));return d(v(r,f("call")),[a,...e.node.arguments])}return d(r,e.node.arguments)}return e.node}function isInDetachedTree(e){while(e){if(e.isProgram())break;const{parentPath:r,container:t,listKey:s}=e;const a=r.node;if(s){if(t!==a[s]){return true}}else{if(t!==a)return true}e=r}return false}const k={memoise(){},handle(e,r){const{node:t,parent:s,parentPath:a,scope:v}=e;if(e.isOptionalMemberExpression()){if(isInDetachedTree(e))return;const n=e.find((({node:r,parent:t})=>{if(h(t)){return t.optional||t.object!==r}if(g(t)){return r!==e.node&&t.optional||t.callee!==r}return true}));if(v.path.isPattern()){n.replaceWith(d(o([],n.node),[]));return}const b=willPathCastToBoolean(n);const _=n.parentPath;if(_.isUpdateExpression({argument:t})||_.isAssignmentExpression({left:t})){throw e.buildCodeFrameError(`can't handle assignment`)}const S=_.isUnaryExpression({operator:"delete"});if(S&&n.isOptionalMemberExpression()&&n.get("property").isPrivateName()){throw e.buildCodeFrameError(`can't delete a private class element`)}let k=e;for(;;){if(k.isOptionalMemberExpression()){if(k.node.optional)break;k=k.get("object");continue}else if(k.isOptionalCallExpression()){if(k.node.optional)break;k=k.get("callee");continue}throw new Error(`Internal error: unexpected ${k.node.type}`)}const C=k.isOptionalMemberExpression()?k.node.object:k.node.callee;const P=v.maybeGenerateMemoised(C);const D=P!=null?P:C;const I=a.isOptionalCallExpression({callee:t});const isOptionalCall=e=>I;const O=a.isCallExpression({callee:t});k.replaceWith(toNonOptional(k,D));if(isOptionalCall()){if(s.optional){a.replaceWith(this.optionalCall(e,s.arguments))}else{a.replaceWith(this.call(e,s.arguments))}}else if(O){e.replaceWith(this.boundGet(e))}else if(this.delete&&a.isUnaryExpression({operator:"delete"})){a.replaceWith(this.delete(e))}else{e.replaceWith(this.get(e))}let A=e.node;for(let r=e;r!==n;){const e=r.parentPath;if(e===n&&isOptionalCall()&&s.optional){A=e.node;break}A=toNonOptional(e,A);r=e}let R;const F=n.parentPath;if(y(A)&&F.isOptionalCallExpression({callee:n.node,optional:true})){const{object:r}=A;R=e.scope.maybeGenerateMemoised(r);if(R){A.object=i("=",R,r)}}let M=n;if(S){M=F;A=F.node}const N=P?i("=",u(D),u(C)):u(D);if(b){let e;if(r){e=l("!=",N,j())}else{e=x("&&",l("!==",N,j()),l("!==",u(D),v.buildUndefinedNode()))}M.replaceWith(x("&&",e,A))}else{let e;if(r){e=l("==",N,j())}else{e=x("||",l("===",N,j()),l("===",u(D),v.buildUndefinedNode()))}M.replaceWith(p(e,S?c(true):v.buildUndefinedNode(),A))}if(R){const e=F.node;F.replaceWith(w(E(e.callee,f("call"),false,true),[u(R),...e.arguments],false))}return}if(b(s,{argument:t})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:r,prefix:n}=s;this.memoise(e,2);const o=v.generateUidIdentifierBasedOnNode(t);v.push({id:o});const l=[i("=",u(o),this.get(e))];if(n){l.push(S(r,u(o),n));const t=_(l);a.replaceWith(this.set(e,t));return}else{const s=v.generateUidIdentifierBasedOnNode(t);v.push({id:s});l.push(i("=",u(s),S(r,u(o),n)),u(o));const c=_(l);a.replaceWith(_([this.set(e,c),u(s)]));return}}if(a.isAssignmentExpression({left:t})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:r,right:t}=a.node;if(r==="="){a.replaceWith(this.set(e,t))}else{const s=r.slice(0,-1);if(n.includes(s)){this.memoise(e,1);a.replaceWith(x(s,this.get(e),this.set(e,t)))}else{this.memoise(e,2);a.replaceWith(this.set(e,l(s,this.get(e),t)))}}return}if(a.isCallExpression({callee:t})){a.replaceWith(this.call(e,a.node.arguments));return}if(a.isOptionalCallExpression({callee:t})){if(v.path.isPattern()){a.replaceWith(d(o([],a.node),[]));return}a.replaceWith(this.optionalCall(e,a.node.arguments));return}if(this.delete&&a.isUnaryExpression({operator:"delete"})){a.replaceWith(this.delete(e));return}if(a.isForXStatement({left:t})||a.isObjectProperty({value:t})&&a.parentPath.isObjectPattern()||a.isAssignmentPattern({left:t})&&a.parentPath.isObjectProperty({value:s})&&a.parentPath.parentPath.isObjectPattern()||a.isArrayPattern()||a.isAssignmentPattern({left:t})&&a.parentPath.isArrayPattern()||a.isRestElement()){e.replaceWith(this.destructureSet(e));return}if(a.isTaggedTemplateExpression()){e.replaceWith(this.boundGet(e))}else{e.replaceWith(this.get(e))}}};function memberExpressionToFunctions(e,r,t){e.traverse(r,Object.assign({},k,t,{memoiser:new AssignmentMemoiser}))}r["default"]=memberExpressionToFunctions},6265:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});var s=t(8622);function _interopNamespace(e){if(e&&e.__esModule)return e;var r=Object.create(null);if(e){Object.keys(e).forEach((function(t){if(t!=="default"){var s=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,s.get?s:{enumerable:true,get:function(){return e[t]}})}}))}r.default=e;return Object.freeze(r)}var a=_interopNamespace(s);function willPathCastToBoolean(e){const r=e;const{node:t,parentPath:s}=r;if(s.isLogicalExpression()){const{operator:e,right:r}=s.node;if(e==="&&"||e==="||"||e==="??"&&t===r){return willPathCastToBoolean(s)}}if(s.isSequenceExpression()){const{expressions:e}=s.node;if(e[e.length-1]===t){return willPathCastToBoolean(s)}else{return true}}return s.isConditional({test:t})||s.isUnaryExpression({operator:"!"})||s.isLoop({test:t})}const{LOGICAL_OPERATORS:n,arrowFunctionExpression:o,assignmentExpression:i,binaryExpression:l,booleanLiteral:c,callExpression:d,cloneNode:u,conditionalExpression:p,identifier:f,isMemberExpression:y,isOptionalCallExpression:g,isOptionalMemberExpression:h,isUpdateExpression:b,logicalExpression:x,memberExpression:v,nullLiteral:j,optionalCallExpression:w,optionalMemberExpression:E,sequenceExpression:_,updateExpression:S}=a;class AssignmentMemoiser{constructor(){this._map=void 0;this._map=new WeakMap}has(e){return this._map.has(e)}get(e){if(!this.has(e))return;const r=this._map.get(e);const{value:t}=r;r.count--;if(r.count===0){return i("=",t,e)}return t}set(e,r,t){return this._map.set(e,{count:t,value:r})}}function toNonOptional(e,r){const{node:t}=e;if(h(t)){return v(r,t.property,t.computed)}if(e.isOptionalCallExpression()){const t=e.get("callee");if(e.node.optional&&t.isOptionalMemberExpression()){const s=t.node.object;const a=e.scope.maybeGenerateMemoised(s);t.get("object").replaceWith(i("=",a,s));return d(v(r,f("call")),[a,...e.node.arguments])}return d(r,e.node.arguments)}return e.node}function isInDetachedTree(e){while(e){if(e.isProgram())break;const{parentPath:r,container:t,listKey:s}=e;const a=r.node;if(s){if(t!==a[s]){return true}}else{if(t!==a)return true}e=r}return false}const k={memoise(){},handle(e,r){const{node:t,parent:s,parentPath:a,scope:n}=e;if(e.isOptionalMemberExpression()){if(isInDetachedTree(e))return;const b=e.find((({node:r,parent:t})=>{if(h(t)){return t.optional||t.object!==r}if(g(t)){return r!==e.node&&t.optional||t.callee!==r}return true}));if(n.path.isPattern()){b.replaceWith(d(o([],b.node),[]));return}const v=willPathCastToBoolean(b);const _=b.parentPath;if(_.isUpdateExpression({argument:t})){throw e.buildCodeFrameError(`can't handle update expression`)}const S=_.isAssignmentExpression({left:b.node});const k=_.isUnaryExpression({operator:"delete"});if(k&&b.isOptionalMemberExpression()&&b.get("property").isPrivateName()){throw e.buildCodeFrameError(`can't delete a private class element`)}let C=e;for(;;){if(C.isOptionalMemberExpression()){if(C.node.optional)break;C=C.get("object");continue}else if(C.isOptionalCallExpression()){if(C.node.optional)break;C=C.get("callee");continue}throw new Error(`Internal error: unexpected ${C.node.type}`)}const P=C.isOptionalMemberExpression()?C.node.object:C.node.callee;const D=n.maybeGenerateMemoised(P);const I=D!=null?D:P;const O=a.isOptionalCallExpression({callee:t});const isOptionalCall=e=>O;const A=a.isCallExpression({callee:t});C.replaceWith(toNonOptional(C,I));if(isOptionalCall()){if(s.optional){a.replaceWith(this.optionalCall(e,s.arguments))}else{a.replaceWith(this.call(e,s.arguments))}}else if(A){e.replaceWith(this.boundGet(e))}else if(this.delete&&a.isUnaryExpression({operator:"delete"})){a.replaceWith(this.delete(e))}else if(a.isAssignmentExpression()){handleAssignment(this,e,a)}else{e.replaceWith(this.get(e))}let R=e.node;for(let r=e;r!==b;){const e=r.parentPath;if(e===b&&isOptionalCall()&&s.optional){R=e.node;break}R=toNonOptional(e,R);r=e}let F;const M=b.parentPath;if(y(R)&&M.isOptionalCallExpression({callee:b.node,optional:true})){const{object:r}=R;F=e.scope.maybeGenerateMemoised(r);if(F){R.object=i("=",F,r)}}let N=b;if(k||S){N=M;R=M.node}const B=D?i("=",u(I),u(P)):u(I);if(v){let e;if(r){e=l("!=",B,j())}else{e=x("&&",l("!==",B,j()),l("!==",u(I),n.buildUndefinedNode()))}N.replaceWith(x("&&",e,R))}else{let e;if(r){e=l("==",B,j())}else{e=x("||",l("===",B,j()),l("===",u(I),n.buildUndefinedNode()))}N.replaceWith(p(e,k?c(true):n.buildUndefinedNode(),R))}if(F){const e=M.node;M.replaceWith(w(E(e.callee,f("call"),false,true),[u(F),...e.arguments],false))}return}if(b(s,{argument:t})){if(this.simpleSet){e.replaceWith(this.simpleSet(e));return}const{operator:r,prefix:o}=s;this.memoise(e,2);const l=n.generateUidIdentifierBasedOnNode(t);n.push({id:l});const c=[i("=",u(l),this.get(e))];if(o){c.push(S(r,u(l),o));const t=_(c);a.replaceWith(this.set(e,t));return}else{const s=n.generateUidIdentifierBasedOnNode(t);n.push({id:s});c.push(i("=",u(s),S(r,u(l),o)),u(l));const d=_(c);a.replaceWith(_([this.set(e,d),u(s)]));return}}if(a.isAssignmentExpression({left:t})){handleAssignment(this,e,a);return}if(a.isCallExpression({callee:t})){a.replaceWith(this.call(e,a.node.arguments));return}if(a.isOptionalCallExpression({callee:t})){if(n.path.isPattern()){a.replaceWith(d(o([],a.node),[]));return}a.replaceWith(this.optionalCall(e,a.node.arguments));return}if(this.delete&&a.isUnaryExpression({operator:"delete"})){a.replaceWith(this.delete(e));return}if(a.isForXStatement({left:t})||a.isObjectProperty({value:t})&&a.parentPath.isObjectPattern()||a.isAssignmentPattern({left:t})&&a.parentPath.isObjectProperty({value:s})&&a.parentPath.parentPath.isObjectPattern()||a.isArrayPattern()||a.isAssignmentPattern({left:t})&&a.parentPath.isArrayPattern()||a.isRestElement()){e.replaceWith(this.destructureSet(e));return}if(a.isTaggedTemplateExpression()){e.replaceWith(this.boundGet(e))}else{e.replaceWith(this.get(e))}}};function handleAssignment(e,r,t){if(e.simpleSet){r.replaceWith(e.simpleSet(r));return}const{operator:s,right:a}=t.node;if(s==="="){t.replaceWith(e.set(r,a))}else{const o=s.slice(0,-1);if(n.includes(o)){e.memoise(r,1);t.replaceWith(x(o,e.get(r),e.set(r,a)))}else{e.memoise(r,2);t.replaceWith(e.set(r,l(o,e.get(r),a)))}}}function memberExpressionToFunctions(e,r,t){e.traverse(r,Object.assign({},k,t,{memoiser:new AssignmentMemoiser}))}r["default"]=memberExpressionToFunctions},4835:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(9491);var a=t(8622);const{callExpression:n,cloneNode:o,expressionStatement:i,identifier:l,importDeclaration:c,importDefaultSpecifier:d,importNamespaceSpecifier:u,importSpecifier:p,memberExpression:f,stringLiteral:y,variableDeclaration:g,variableDeclarator:h}=a;class ImportBuilder{constructor(e,r,t){this._statements=[];this._resultName=null;this._importedSource=void 0;this._scope=r;this._hub=t;this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){this._statements.push(c([],y(this._importedSource)));return this}require(){this._statements.push(i(n(l("require"),[y(this._importedSource)])));return this}namespace(e="namespace"){const r=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];s(t.type==="ImportDeclaration");s(t.specifiers.length===0);t.specifiers=[u(r)];this._resultName=o(r);return this}default(e){const r=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];s(t.type==="ImportDeclaration");s(t.specifiers.length===0);t.specifiers=[d(r)];this._resultName=o(r);return this}named(e,r){if(r==="default")return this.default(e);const t=this._scope.generateUidIdentifier(e);const a=this._statements[this._statements.length-1];s(a.type==="ImportDeclaration");s(a.specifiers.length===0);a.specifiers=[p(t,l(r))];this._resultName=o(t);return this}var(e){const r=this._scope.generateUidIdentifier(e);let t=this._statements[this._statements.length-1];if(t.type!=="ExpressionStatement"){s(this._resultName);t=i(this._resultName);this._statements.push(t)}this._statements[this._statements.length-1]=g("var",[h(r,t.expression)]);this._resultName=o(r);return this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const r=this._statements[this._statements.length-1];if(r.type==="ExpressionStatement"){r.expression=n(e,[r.expression])}else if(r.type==="VariableDeclaration"){s(r.declarations.length===1);r.declarations[0].init=n(e,[r.declarations[0].init])}else{s.fail("Unexpected type.")}return this}prop(e){const r=this._statements[this._statements.length-1];if(r.type==="ExpressionStatement"){r.expression=f(r.expression,l(e))}else if(r.type==="VariableDeclaration"){s(r.declarations.length===1);r.declarations[0].init=f(r.declarations[0].init,l(e))}else{s.fail("Unexpected type:"+r.type)}return this}read(e){this._resultName=f(this._resultName,l(e))}}r["default"]=ImportBuilder},8539:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(9491);var a=t(8622);var n=t(4835);var o=t(8089);const{numericLiteral:i,sequenceExpression:l}=a;class ImportInjector{constructor(e,r,t){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:false,ensureNoContext:false,importPosition:"before"};const s=e.find((e=>e.isProgram()));this._programPath=s;this._programScope=s.scope;this._hub=s.hub;this._defaultOpts=this._applyDefaults(r,t,true)}addDefault(e,r){return this.addNamed("default",e,r)}addNamed(e,r,t){s(typeof e==="string");return this._generateImport(this._applyDefaults(r,t),e)}addNamespace(e,r){return this._generateImport(this._applyDefaults(e,r),null)}addSideEffect(e,r){return this._generateImport(this._applyDefaults(e,r),void 0)}_applyDefaults(e,r,t=false){let a;if(typeof e==="string"){a=Object.assign({},this._defaultOpts,{importedSource:e},r)}else{s(!r,"Unexpected secondary arguments.");a=Object.assign({},this._defaultOpts,e)}if(!t&&r){if(r.nameHint!==undefined)a.nameHint=r.nameHint;if(r.blockHoist!==undefined)a.blockHoist=r.blockHoist}return a}_generateImport(e,r){const t=r==="default";const s=!!r&&!t;const a=r===null;const{importedSource:c,importedType:d,importedInterop:u,importingInterop:p,ensureLiveReference:f,ensureNoContext:y,nameHint:g,importPosition:h,blockHoist:b}=e;let x=g||r;const v=(0,o.default)(this._programPath);const j=v&&p==="node";const w=v&&p==="babel";if(h==="after"&&!v){throw new Error(`"importPosition": "after" is only supported in modules`)}const E=new n.default(c,this._programScope,this._hub);if(d==="es6"){if(!j&&!w){throw new Error("Cannot import an ES6 module from CommonJS")}E.import();if(a){E.namespace(g||c)}else if(t||s){E.named(x,r)}}else if(d!=="commonjs"){throw new Error(`Unexpected interopType "${d}"`)}else if(u==="babel"){if(j){x=x!=="default"?x:c;const e=`${c}$es6Default`;E.import();if(a){E.default(e).var(x||c).wildcardInterop()}else if(t){if(f){E.default(e).var(x||c).defaultInterop().read("default")}else{E.default(e).var(x).defaultInterop().prop(r)}}else if(s){E.default(e).read(r)}}else if(w){E.import();if(a){E.namespace(x||c)}else if(t||s){E.named(x,r)}}else{E.require();if(a){E.var(x||c).wildcardInterop()}else if((t||s)&&f){if(t){x=x!=="default"?x:c;E.var(x).read(r);E.defaultInterop()}else{E.var(c).read(r)}}else if(t){E.var(x).defaultInterop().prop(r)}else if(s){E.var(x).prop(r)}}}else if(u==="compiled"){if(j){E.import();if(a){E.default(x||c)}else if(t||s){E.default(c).read(x)}}else if(w){E.import();if(a){E.namespace(x||c)}else if(t||s){E.named(x,r)}}else{E.require();if(a){E.var(x||c)}else if(t||s){if(f){E.var(c).read(x)}else{E.prop(r).var(x)}}}}else if(u==="uncompiled"){if(t&&f){throw new Error("No live reference for commonjs default")}if(j){E.import();if(a){E.default(x||c)}else if(t){E.default(x)}else if(s){E.default(c).read(x)}}else if(w){E.import();if(a){E.default(x||c)}else if(t){E.default(x)}else if(s){E.named(x,r)}}else{E.require();if(a){E.var(x||c)}else if(t){E.var(x)}else if(s){if(f){E.var(c).read(x)}else{E.var(x).prop(r)}}}}else{throw new Error(`Unknown importedInterop "${u}".`)}const{statements:_,resultName:S}=E.done();this._insertStatements(_,h,b);if((t||s)&&y&&S.type!=="Identifier"){return l([i(0),S])}return S}_insertStatements(e,r="before",t=3){const s=this._programPath.get("body");if(r==="after"){for(let r=s.length-1;r>=0;r--){if(s[r].isImportDeclaration()){s[r].insertAfter(e);return}}}else{e.forEach((e=>{e._blockHoist=t}));const r=s.find((e=>{const r=e.node._blockHoist;return Number.isFinite(r)&&r<4}));if(r){r.insertBefore(e);return}}this._programPath.unshiftContainer("body",e)}}r["default"]=ImportInjector},3380:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"ImportInjector",{enumerable:true,get:function(){return s.default}});r.addDefault=addDefault;r.addNamed=addNamed;r.addNamespace=addNamespace;r.addSideEffect=addSideEffect;Object.defineProperty(r,"isModule",{enumerable:true,get:function(){return a.default}});var s=t(8539);var a=t(8089);function addDefault(e,r,t){return new s.default(e).addDefault(r,t)}function addNamed(e,r,t,a){return new s.default(e).addNamed(r,t,a)}function addNamespace(e,r,t){return new s.default(e).addNamespace(r,t)}function addSideEffect(e,r,t){return new s.default(e).addSideEffect(r,t)}},8089:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=isModule;function isModule(e){return e.node.sourceType==="module"}},3664:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.buildDynamicImport=buildDynamicImport;var s=t(8304);{r.getDynamicImportSource=function getDynamicImportSource(e){const[r]=e.arguments;return s.types.isStringLiteral(r)||s.types.isTemplateLiteral(r)?r:s.template.expression.ast`\`\${${r}}\``}}function buildDynamicImport(e,r,t,a){const n=s.types.isCallExpression(e)?e.arguments[0]:e.source;if(s.types.isStringLiteral(n)||s.types.isTemplateLiteral(n)&&n.quasis.length===0){if(r){return s.template.expression.ast` Promise.resolve().then(() => ${a(n)}) `}else return a(n)}const o=s.types.isTemplateLiteral(n)?s.types.identifier("specifier"):s.types.templateLiteral([s.types.templateElement({raw:""}),s.types.templateElement({raw:""})],[s.types.identifier("specifier")]);if(r){return s.template.expression.ast` (specifier => @@ -266,7 +266,7 @@ function () { throw new ReferenceError("'delete super[expr]' is invalid"); }() `])}else{return o.template.expression.ast` function () { throw new ReferenceError("'delete super.prop' is invalid"); }() - `}}};const v=Object.assign({},x,{prop(e){const{property:r}=e.node;if(this.memoiser.has(r)){return d(this.memoiser.get(r))}return d(r)},get(e){const{isStatic:r,getSuperRef:t}=this;const{computed:s}=e.node;const a=this.prop(e);let n;if(r){var o;n=(o=t())!=null?o:p(u("Function"),u("prototype"))}else{var i;n=p((i=t())!=null?i:u("Object"),u("prototype"))}return p(n,a,s)},set(e,r){const{computed:t}=e.node;const s=this.prop(e);return i("=",p(g(),s,t),r)},destructureSet(e){const{computed:r}=e.node;const t=this.prop(e);return p(g(),t,r)},call(e,r){return(0,n.default)(this.get(e),g(),r,false)},optionalCall(e,r){return(0,n.default)(this.get(e),g(),r,true)}});class ReplaceSupers{constructor(e){var r;const t=e.methodPath;this.methodPath=t;this.isDerivedConstructor=t.isClassMethod({kind:"constructor"})&&!!e.superRef;this.isStatic=t.isObjectMethod()||t.node.static||(t.isStaticBlock==null?void 0:t.isStaticBlock());this.isPrivateMethod=t.isPrivate()&&t.isMethod();this.file=e.file;this.constantSuper=(r=e.constantSuper)!=null?r:e.isLoose;this.opts=e}getObjectRef(){return d(this.opts.objectRef||this.opts.getObjectRef())}getSuperRef(){if(this.opts.superRef)return d(this.opts.superRef);if(this.opts.getSuperRef){return d(this.opts.getSuperRef())}}replace(){const{methodPath:e}=this;if(this.opts.refToPreserve){e.traverse(b,{refName:this.opts.refToPreserve.name})}const r=this.constantSuper?v:x;h.shouldSkip=r=>{if(r.parentPath===e){if(r.parentKey==="decorators"||r.parentKey==="key"){return true}}};(0,a.default)(e,h,Object.assign({file:this.file,scope:this.methodPath.scope,isDerivedConstructor:this.isDerivedConstructor,isStatic:this.isStatic,isPrivateMethod:this.isPrivateMethod,getObjectRef:this.getObjectRef.bind(this),getSuperRef:this.getSuperRef.bind(this),boundGet:r.get},r))}}r["default"]=ReplaceSupers},6118:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=simplifyAccess;var s=t(8622);const{LOGICAL_OPERATORS:a,assignmentExpression:n,binaryExpression:o,cloneNode:i,identifier:l,logicalExpression:c,numericLiteral:d,sequenceExpression:u,unaryExpression:p}=s;const f={AssignmentExpression:{exit(e){const{scope:r,seen:t,bindingNames:s}=this;if(e.node.operator==="=")return;if(t.has(e.node))return;t.add(e.node);const l=e.get("left");if(!l.isIdentifier())return;const d=l.node.name;if(!s.has(d))return;if(r.getBinding(d)!==e.scope.getBinding(d)){return}const u=e.node.operator.slice(0,-1);if(a.includes(u)){e.replaceWith(c(u,e.node.left,n("=",i(e.node.left),e.node.right)))}else{e.node.right=o(u,i(e.node.left),e.node.right);e.node.operator="="}}}};{f.UpdateExpression={exit(e){if(!this.includeUpdateExpression)return;const{scope:r,bindingNames:t}=this;const s=e.get("argument");if(!s.isIdentifier())return;const a=s.node.name;if(!t.has(a))return;if(r.getBinding(a)!==e.scope.getBinding(a)){return}if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){const r=e.node.operator=="++"?"+=":"-=";e.replaceWith(n(r,s.node,d(1)))}else if(e.node.prefix){e.replaceWith(n("=",l(a),o(e.node.operator[0],p("+",s.node),d(1))))}else{const r=e.scope.generateUidIdentifierBasedOnNode(s.node,"old");const t=r.name;e.scope.push({id:r});const a=o(e.node.operator[0],l(t),d(1));e.replaceWith(u([n("=",l(t),p("+",s.node)),n("=",i(s.node),a),l(t)]))}}}}function simplifyAccess(e,r){{var t;e.traverse(f,{scope:e.scope,bindingNames:r,seen:new WeakSet,includeUpdateExpression:(t=arguments[2])!=null?t:true})}}},5385:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isTransparentExprWrapper=isTransparentExprWrapper;r.skipTransparentExprWrapperNodes=skipTransparentExprWrapperNodes;r.skipTransparentExprWrappers=skipTransparentExprWrappers;var s=t(8622);const{isParenthesizedExpression:a,isTSAsExpression:n,isTSNonNullExpression:o,isTSSatisfiesExpression:i,isTSTypeAssertion:l,isTypeCastExpression:c}=s;function isTransparentExprWrapper(e){return n(e)||i(e)||l(e)||o(e)||c(e)||a(e)}function skipTransparentExprWrappers(e){while(isTransparentExprWrapper(e.node)){e=e.get("expression")}return e}function skipTransparentExprWrapperNodes(e){while(isTransparentExprWrapper(e)){e=e.expression}return e}},9769:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isTransparentExprWrapper=isTransparentExprWrapper;r.skipTransparentExprWrapperNodes=skipTransparentExprWrapperNodes;r.skipTransparentExprWrappers=skipTransparentExprWrappers;var s=t(8622);const{isParenthesizedExpression:a,isTSAsExpression:n,isTSNonNullExpression:o,isTSSatisfiesExpression:i,isTSTypeAssertion:l,isTypeCastExpression:c}=s;function isTransparentExprWrapper(e){return n(e)||i(e)||l(e)||o(e)||c(e)||a(e)}function skipTransparentExprWrappers(e){while(isTransparentExprWrapper(e.node)){e=e.get("expression")}return e}function skipTransparentExprWrapperNodes(e){while(isTransparentExprWrapper(e)){e=e.expression}return e}},9382:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isTransparentExprWrapper=isTransparentExprWrapper;r.skipTransparentExprWrapperNodes=skipTransparentExprWrapperNodes;r.skipTransparentExprWrappers=skipTransparentExprWrappers;var s=t(8622);const{isParenthesizedExpression:a,isTSAsExpression:n,isTSNonNullExpression:o,isTSSatisfiesExpression:i,isTSTypeAssertion:l,isTypeCastExpression:c}=s;function isTransparentExprWrapper(e){return n(e)||i(e)||l(e)||o(e)||c(e)||a(e)}function skipTransparentExprWrappers(e){while(isTransparentExprWrapper(e.node)){e=e.get("expression")}return e}function skipTransparentExprWrapperNodes(e){while(isTransparentExprWrapper(e)){e=e.expression}return e}},7696:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=splitExportDeclaration;var s=t(8622);const{cloneNode:a,exportNamedDeclaration:n,exportSpecifier:o,identifier:i,variableDeclaration:l,variableDeclarator:c}=s;function splitExportDeclaration(e){if(!e.isExportDeclaration()||e.isExportAllDeclaration()){throw new Error("Only default and named export declarations can be split.")}if(e.isExportDefaultDeclaration()){const r=e.get("declaration");const t=r.isFunctionDeclaration()||r.isClassDeclaration();const s=r.isScope()?r.scope.parent:r.scope;let d=r.node.id;let u=false;if(!d){u=true;d=s.generateUidIdentifier("default");if(t||r.isFunctionExpression()||r.isClassExpression()){r.node.id=a(d)}}const p=t?r.node:l("var",[c(a(d),r.node)]);const f=n(null,[o(a(d),i("default"))]);e.insertAfter(f);e.replaceWith(p);if(u){s.registerDeclaration(e)}return e}else if(e.get("specifiers").length>0){throw new Error("It doesn't make sense to split exported specifiers.")}const r=e.get("declaration");const t=r.getOuterBindingIdentifiers();const s=Object.keys(t).map((e=>o(i(e),i(e))));const d=n(null,s);e.insertAfter(d);e.replaceWith(r.node);return e}},4097:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=splitExportDeclaration;var s=t(8622);const{cloneNode:a,exportNamedDeclaration:n,exportSpecifier:o,identifier:i,variableDeclaration:l,variableDeclarator:c}=s;function splitExportDeclaration(e){if(!e.isExportDeclaration()||e.isExportAllDeclaration()){throw new Error("Only default and named export declarations can be split.")}if(e.isExportDefaultDeclaration()){const r=e.get("declaration");const t=r.isFunctionDeclaration()||r.isClassDeclaration();const s=r.isFunctionExpression()||r.isClassExpression();const d=r.isScope()?r.scope.parent:r.scope;let u=r.node.id;let p=false;if(!u){p=true;u=d.generateUidIdentifier("default");if(t||s){r.node.id=a(u)}}else if(s&&d.hasBinding(u.name)){p=true;u=d.generateUidIdentifier(u.name)}const f=t?r.node:l("var",[c(a(u),r.node)]);const y=n(null,[o(a(u),i("default"))]);e.insertAfter(y);e.replaceWith(f);if(p){d.registerDeclaration(e)}return e}else if(e.get("specifiers").length>0){throw new Error("It doesn't make sense to split exported specifiers.")}const r=e.get("declaration");const t=r.getOuterBindingIdentifiers();const s=Object.keys(t).map((e=>o(i(e),i(e))));const d=n(null,s);e.insertAfter(d);e.replaceWith(r.node);return e}},9053:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=splitExportDeclaration;var s=t(8622);const{cloneNode:a,exportNamedDeclaration:n,exportSpecifier:o,identifier:i,variableDeclaration:l,variableDeclarator:c}=s;function splitExportDeclaration(e){if(!e.isExportDeclaration()||e.isExportAllDeclaration()){throw new Error("Only default and named export declarations can be split.")}if(e.isExportDefaultDeclaration()){const r=e.get("declaration");const t=r.isFunctionDeclaration()||r.isClassDeclaration();const s=r.isFunctionExpression()||r.isClassExpression();const d=r.isScope()?r.scope.parent:r.scope;let u=r.node.id;let p=false;if(!u){p=true;u=d.generateUidIdentifier("default");if(t||s){r.node.id=a(u)}}else if(s&&d.hasBinding(u.name)){p=true;u=d.generateUidIdentifier(u.name)}const f=t?r.node:l("var",[c(a(u),r.node)]);const y=n(null,[o(a(u),i("default"))]);e.insertAfter(y);e.replaceWith(f);if(p){d.registerDeclaration(e)}return e}else if(e.get("specifiers").length>0){throw new Error("It doesn't make sense to split exported specifiers.")}const r=e.get("declaration");const t=r.getOuterBindingIdentifiers();const s=Object.keys(t).map((e=>o(i(e),i(e))));const d=n(null,s);e.insertAfter(d);e.replaceWith(r.node);return e}},4387:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isIdentifierChar=isIdentifierChar;r.isIdentifierName=isIdentifierName;r.isIdentifierStart=isIdentifierStart;let t="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let s="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";const a=new RegExp("["+t+"]");const n=new RegExp("["+t+s+"]");t=s=null;const o=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191];const i=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,r){let t=65536;for(let s=0,a=r.length;se)return false;t+=r[s+1];if(t>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&a.test(String.fromCharCode(e))}return isInAstralSet(e,o)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&n.test(String.fromCharCode(e))}return isInAstralSet(e,o)||isInAstralSet(e,i)}function isIdentifierName(e){let r=true;for(let t=0;t{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"isIdentifierChar",{enumerable:true,get:function(){return s.isIdentifierChar}});Object.defineProperty(r,"isIdentifierName",{enumerable:true,get:function(){return s.isIdentifierName}});Object.defineProperty(r,"isIdentifierStart",{enumerable:true,get:function(){return s.isIdentifierStart}});Object.defineProperty(r,"isKeyword",{enumerable:true,get:function(){return a.isKeyword}});Object.defineProperty(r,"isReservedWord",{enumerable:true,get:function(){return a.isReservedWord}});Object.defineProperty(r,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return a.isStrictBindOnlyReservedWord}});Object.defineProperty(r,"isStrictBindReservedWord",{enumerable:true,get:function(){return a.isStrictBindReservedWord}});Object.defineProperty(r,"isStrictReservedWord",{enumerable:true,get:function(){return a.isStrictReservedWord}});var s=t(4387);var a=t(4348)},4348:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isKeyword=isKeyword;r.isReservedWord=isReservedWord;r.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;r.isStrictBindReservedWord=isStrictBindReservedWord;r.isStrictReservedWord=isStrictReservedWord;const t={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const s=new Set(t.keyword);const a=new Set(t.strict);const n=new Set(t.strictBind);function isReservedWord(e,r){return r&&e==="await"||e==="enum"}function isStrictReservedWord(e,r){return isReservedWord(e,r)||a.has(e)}function isStrictBindOnlyReservedWord(e){return n.has(e)}function isStrictBindReservedWord(e,r){return isStrictReservedWord(e,r)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return s.has(e)}},2916:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isIdentifierChar=isIdentifierChar;r.isIdentifierName=isIdentifierName;r.isIdentifierStart=isIdentifierStart;let t="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let s="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";const a=new RegExp("["+t+"]");const n=new RegExp("["+t+s+"]");t=s=null;const o=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191];const i=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,r){let t=65536;for(let s=0,a=r.length;se)return false;t+=r[s+1];if(t>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&a.test(String.fromCharCode(e))}return isInAstralSet(e,o)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&n.test(String.fromCharCode(e))}return isInAstralSet(e,o)||isInAstralSet(e,i)}function isIdentifierName(e){let r=true;for(let t=0;t{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"isIdentifierChar",{enumerable:true,get:function(){return s.isIdentifierChar}});Object.defineProperty(r,"isIdentifierName",{enumerable:true,get:function(){return s.isIdentifierName}});Object.defineProperty(r,"isIdentifierStart",{enumerable:true,get:function(){return s.isIdentifierStart}});Object.defineProperty(r,"isKeyword",{enumerable:true,get:function(){return a.isKeyword}});Object.defineProperty(r,"isReservedWord",{enumerable:true,get:function(){return a.isReservedWord}});Object.defineProperty(r,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return a.isStrictBindOnlyReservedWord}});Object.defineProperty(r,"isStrictBindReservedWord",{enumerable:true,get:function(){return a.isStrictBindReservedWord}});Object.defineProperty(r,"isStrictReservedWord",{enumerable:true,get:function(){return a.isStrictReservedWord}});var s=t(2916);var a=t(9676)},9676:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isKeyword=isKeyword;r.isReservedWord=isReservedWord;r.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;r.isStrictBindReservedWord=isStrictBindReservedWord;r.isStrictReservedWord=isStrictReservedWord;const t={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const s=new Set(t.keyword);const a=new Set(t.strict);const n=new Set(t.strictBind);function isReservedWord(e,r){return r&&e==="await"||e==="enum"}function isStrictReservedWord(e,r){return isReservedWord(e,r)||a.has(e)}function isStrictBindOnlyReservedWord(e){return n.has(e)}function isStrictBindReservedWord(e,r){return isStrictReservedWord(e,r)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return s.has(e)}},3530:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.findSuggestion=findSuggestion;const{min:t}=Math;function levenshtein(e,r){let s=[],a=[],n,o;const i=e.length,l=r.length;if(!i){return l}if(!l){return i}for(o=0;o<=l;o++){s[o]=o}for(n=1;n<=i;n++){for(a=[n],o=1;o<=l;o++){a[o]=e[n-1]===r[o-1]?s[o-1]:t(s[o-1],s[o],a[o-1])+1}s=a}return a[l]}function findSuggestion(e,r){const s=r.map((r=>levenshtein(r,e)));return r[s.indexOf(t(...s))]}},2445:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"OptionValidator",{enumerable:true,get:function(){return s.OptionValidator}});Object.defineProperty(r,"findSuggestion",{enumerable:true,get:function(){return a.findSuggestion}});var s=t(7657);var a=t(3530)},7657:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.OptionValidator=void 0;var s=t(3530);class OptionValidator{constructor(e){this.descriptor=e}validateTopLevelOptions(e,r){const t=Object.keys(r);for(const r of Object.keys(e)){if(!t.includes(r)){throw new Error(this.formatMessage(`'${r}' is not a valid top-level option.\n- Did you mean '${(0,s.findSuggestion)(r,t)}'?`))}}}validateBooleanOption(e,r,t){if(r===undefined){return t}else{this.invariant(typeof r==="boolean",`'${e}' option must be a boolean.`)}return r}validateStringOption(e,r,t){if(r===undefined){return t}else{this.invariant(typeof r==="string",`'${e}' option must be a string.`)}return r}invariant(e,r){if(!e){throw new Error(this.formatMessage(r))}}formatMessage(e){return`${this.descriptor}: ${e}`}}r.OptionValidator=OptionValidator},8112:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.findSuggestion=findSuggestion;const{min:t}=Math;function levenshtein(e,r){let s=[],a=[],n,o;const i=e.length,l=r.length;if(!i){return l}if(!l){return i}for(o=0;o<=l;o++){s[o]=o}for(n=1;n<=i;n++){for(a=[n],o=1;o<=l;o++){a[o]=e[n-1]===r[o-1]?s[o-1]:t(s[o-1],s[o],a[o-1])+1}s=a}return a[l]}function findSuggestion(e,r){const s=r.map((r=>levenshtein(r,e)));return r[s.indexOf(t(...s))]}},4716:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"OptionValidator",{enumerable:true,get:function(){return s.OptionValidator}});Object.defineProperty(r,"findSuggestion",{enumerable:true,get:function(){return a.findSuggestion}});var s=t(2729);var a=t(8112)},2729:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.OptionValidator=void 0;var s=t(8112);class OptionValidator{constructor(e){this.descriptor=e}validateTopLevelOptions(e,r){const t=Object.keys(r);for(const r of Object.keys(e)){if(!t.includes(r)){throw new Error(this.formatMessage(`'${r}' is not a valid top-level option.\n- Did you mean '${(0,s.findSuggestion)(r,t)}'?`))}}}validateBooleanOption(e,r,t){if(r===undefined){return t}else{this.invariant(typeof r==="boolean",`'${e}' option must be a boolean.`)}return r}validateStringOption(e,r,t){if(r===undefined){return t}else{this.invariant(typeof r==="string",`'${e}' option must be a string.`)}return r}invariant(e,r){if(!e){throw new Error(this.formatMessage(r))}}formatMessage(e){return`${this.descriptor}: ${e}`}}r.OptionValidator=OptionValidator},1340:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=wrapFunction;var s=t(2528);var a=t(789);var n=t(8622);const{blockStatement:o,callExpression:i,functionExpression:l,isAssignmentPattern:c,isFunctionDeclaration:d,isRestElement:u,returnStatement:p,isCallExpression:f}=n;const y=a.default.expression(`\n (function () {\n var REF = FUNCTION;\n return function NAME(PARAMS) {\n return REF.apply(this, arguments);\n };\n })()\n`);const g=a.default.expression(`\n (function () {\n var REF = FUNCTION;\n function NAME(PARAMS) {\n return REF.apply(this, arguments);\n }\n return NAME;\n })()\n`);const h=a.default.statements(`\n function NAME(PARAMS) { return REF.apply(this, arguments); }\n function REF() {\n REF = FUNCTION;\n return REF.apply(this, arguments);\n }\n`);function classOrObjectMethod(e,r){const t=e.node;const s=t.body;const a=l(null,[],o(s.body),true);s.body=[p(i(i(r,[a]),[]))];t.async=false;t.generator=false;e.get("body.body.0.argument.callee.arguments.0").unwrapFunctionEnvironment()}function plainFunction(e,r,t,a){let n=e;let o;let l=null;const p=e.node.params;if(n.isArrowFunctionExpression()){{var b;n=(b=n.arrowFunctionToExpression({noNewArrows:t}))!=null?b:n}o=n.node}else{o=n.node}const x=d(o);let v=o;if(!f(o)){l=o.id;o.id=null;o.type="FunctionExpression";v=i(r,[o])}const j=[];for(const e of p){if(c(e)||u(e)){break}j.push(n.scope.generateUidIdentifier("x"))}const w={NAME:l||null,REF:n.scope.generateUidIdentifier(l?l.name:"ref"),FUNCTION:v,PARAMS:j};if(x){const e=h(w);n.replaceWith(e[0]);n.insertAfter(e[1])}else{let e;if(l){e=g(w)}else{e=y(w);const r=e.callee.body.body[1].argument;(0,s.default)({node:r,parent:n.parent,scope:n.scope});l=r.id}if(l||!a&&j.length){n.replaceWith(e)}else{n.replaceWith(v)}}}function wrapFunction(e,r,t=true,s=false){if(e.isMethod()){classOrObjectMethod(e,r)}else{plainFunction(e,r,t,s)}}},5771:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=highlight;r.shouldHighlight=shouldHighlight;var s=t(8874);var a=t(5018);var n=_interopRequireWildcard(t(1437),true);function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e){return e?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var s={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&{}.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;o&&(o.get||o.set)?Object.defineProperty(s,n,o):s[n]=e[n]}return s.default=e,t&&t.set(e,s),s}const o=typeof process==="object"&&(process.env.FORCE_COLOR==="0"||process.env.FORCE_COLOR==="false")?(0,n.createColors)(false):n.default;const compose=(e,r)=>t=>e(r(t));const i=new Set(["as","async","from","get","of","set"]);function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.gray,invalid:compose(compose(e.white,e.bgRed),e.bold)}}const l=/\r\n|[\n\r\u2028\u2029]/;const c=/^[()[\]{}]$/;let d;{const e=/^[a-z][\w-]*$/i;const getTokenType=function(r,t,s){if(r.type==="name"){if((0,a.isKeyword)(r.value)||(0,a.isStrictReservedWord)(r.value,true)||i.has(r.value)){return"keyword"}if(e.test(r.value)&&(s[t-1]==="<"||s.slice(t-2,t)==="r(e))).join("\n")}else{t+=a}}return t}function shouldHighlight(e){return o.isColorSupported||e.forceColor}let u=undefined;function getColors(e){if(e){var r;(r=u)!=null?r:u=(0,n.createColors)(true);return u}return o}function highlight(e,r={}){if(e!==""&&shouldHighlight(r)){const t=getDefs(getColors(r.forceColor));return highlightTokens(t,e)}else{return e}}{let e,s;r.getChalk=({forceColor:r})=>{var a;(a=e)!=null?a:e=t(6148);if(r){var n;(n=s)!=null?n:s=new e.constructor({enabled:true,level:1});return s}return e}}},3636:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});var s=t(5389);function shouldTransform(e){const{node:r}=e;const t=r.id;if(!t)return false;const s=t.name;const a=e.scope.getOwnBinding(s);if(a===undefined){return false}if(a.kind!=="param"){return false}if(a.identifier===a.path.node){return false}return s}var a=s.declare((e=>{e.assertVersion("^7.16.0");return{name:"plugin-bugfix-safari-id-destructuring-collision-in-function-expression",visitor:{FunctionExpression(e){const r=shouldTransform(e);if(r){const{scope:t}=e;const s=t.generateUid(r);t.rename(r,s)}}}}}));r["default"]=a},3257:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});var s=t(5389);var a=t(8220);var n=t(9769);var o=t(8304);function matchAffectedArguments(e){const r=e.findIndex((e=>o.types.isSpreadElement(e)));return r>=0&&r!==e.length-1}function shouldTransform(e){let r=e;const t=[];for(;;){if(r.isOptionalMemberExpression()){t.push(r.node);r=n.skipTransparentExprWrappers(r.get("object"))}else if(r.isOptionalCallExpression()){t.push(r.node);r=n.skipTransparentExprWrappers(r.get("callee"))}else{break}}for(let e=0;e{var r,t;e.assertVersion(7);const s=(r=e.assumption("noDocumentAll"))!=null?r:false;const n=(t=e.assumption("pureGetters"))!=null?t:false;return{name:"bugfix-v8-spread-parameters-in-optional-chaining",visitor:{"OptionalCallExpression|OptionalMemberExpression"(e){if(shouldTransform(e)){a.transform(e,{noDocumentAll:s,pureGetters:n})}}}}}));r["default"]=i},5806:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(6770);var a=t(7953);var n=(0,s.declare)(((e,r)=>{e.assertVersion(7);return(0,a.createClassFeaturePlugin)({name:"proposal-class-properties",api:e,feature:a.FEATURES.fields,loose:r.loose,manipulateOptions(e,r){r.plugins.push("classProperties","classPrivateProperties")}})}));r["default"]=n},4578:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(6770);var a=t(301);var n=t(8304);var o=(0,s.declare)((e=>{e.assertVersion(7);return{name:"proposal-export-namespace-from",inherits:a.default,visitor:{ExportNamedDeclaration(e){var r;const{node:t,scope:s}=e;const{specifiers:a}=t;const o=n.types.isExportDefaultSpecifier(a[0])?1:0;if(!n.types.isExportNamespaceSpecifier(a[o]))return;const i=[];if(o===1){i.push(n.types.exportNamedDeclaration(null,[a.shift()],t.source))}const l=a.shift();const{exported:c}=l;const d=s.generateUidIdentifier((r=c.name)!=null?r:c.value);i.push(n.types.importDeclaration([n.types.importNamespaceSpecifier(d)],n.types.cloneNode(t.source)),n.types.exportNamedDeclaration(null,[n.types.exportSpecifier(n.types.cloneNode(d),c)]));if(t.specifiers.length>=1){i.push(t)}const[u]=e.replaceWithMultiple(i);e.scope.registerDeclaration(u)}}}}));r["default"]=o},4206:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(6770);var a=t(4100);function remover({node:e}){var r;const{extra:t}=e;if(t!=null&&(r=t.raw)!=null&&r.includes("_")){t.raw=t.raw.replace(/_/g,"")}}var n=(0,s.declare)((e=>{e.assertVersion(7);return{name:"proposal-numeric-separator",inherits:a.default,visitor:{NumericLiteral:remover,BigIntLiteral:remover}}}));r["default"]=n},9050:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});var s=t(6770);var a=t(3322);var n=t(8304);var o=t(7255);var i=t(8522);var l=t(8626);function _interopDefaultLegacy(e){return e&&typeof e==="object"&&"default"in e?e:{default:e}}var c=_interopDefaultLegacy(l);const{isObjectProperty:d,isArrayPattern:u,isObjectPattern:p,isAssignmentPattern:f,isRestElement:y,isIdentifier:g}=n.types;function shouldStoreRHSInTemporaryVariable(e){if(u(e)){const r=e.elements.filter((e=>e!==null));if(r.length>1)return true;else return shouldStoreRHSInTemporaryVariable(r[0])}else if(p(e)){const{properties:r}=e;if(r.length>1)return true;else if(r.length===0)return false;else{const e=r[0];if(d(e)){return shouldStoreRHSInTemporaryVariable(e.value)}else{return shouldStoreRHSInTemporaryVariable(e)}}}else if(f(e)){return shouldStoreRHSInTemporaryVariable(e.left)}else if(y(e)){if(g(e.argument))return true;return shouldStoreRHSInTemporaryVariable(e.argument)}else{return false}}const{isAssignmentPattern:h,isObjectProperty:b}=n.types;{const e=n.types.identifier("a");const r=n.types.objectProperty(n.types.identifier("key"),e);const t=n.types.objectPattern([r]);var x=n.types.isReferenced(e,r,t)?1:0}var v=s.declare(((e,r)=>{var t,s,l,d;e.assertVersion(7);const u=e.targets();const p=!i.isRequired("es6.object.assign",u,{compatData:c["default"]});const{useBuiltIns:f=p,loose:y=false}=r;if(typeof y!=="boolean"){throw new Error(".loose must be a boolean, or undefined")}const g=(t=e.assumption("ignoreFunctionLength"))!=null?t:y;const v=(s=e.assumption("objectRestNoSymbols"))!=null?s:y;const j=(l=e.assumption("pureGetters"))!=null?l:y;const w=(d=e.assumption("setSpreadProperties"))!=null?d:y;function getExtendsHelper(e){return f?n.types.memberExpression(n.types.identifier("Object"),n.types.identifier("assign")):e.addHelper("extends")}function hasRestElement(e){let r=false;visitRestElements(e,(e=>{r=true;e.stop()}));return r}function hasObjectPatternRestElement(e){let r=false;visitRestElements(e,(e=>{if(e.parentPath.isObjectPattern()){r=true;e.stop()}}));return r}function visitRestElements(e,r){e.traverse({Expression(e){const{parent:r,key:t}=e;if(h(r)&&t==="right"||b(r)&&r.computed&&t==="key"){e.skip()}},RestElement:r})}function hasSpread(e){for(const r of e.properties){if(n.types.isSpreadElement(r)){return true}}return false}function extractNormalizedKeys(e){const r=e.properties;const t=[];let s=true;let a=false;for(const e of r){if(n.types.isIdentifier(e.key)&&!e.computed){t.push(n.types.stringLiteral(e.key.name))}else if(n.types.isTemplateLiteral(e.key)){t.push(n.types.cloneNode(e.key));a=true}else if(n.types.isLiteral(e.key)){t.push(n.types.stringLiteral(String(e.key.value)))}else{t.push(n.types.cloneNode(e.key));s=false}}return{keys:t,allLiteral:s,hasTemplateLiteral:a}}function replaceImpureComputedKeys(e,r){const t=[];for(const s of e){const e=s.get("key");if(s.node.computed&&!e.isPure()){const s=r.generateUidBasedOnNode(e.node);const a=n.types.variableDeclarator(n.types.identifier(s),e.node);t.push(a);e.replaceWith(n.types.identifier(s))}}return t}function removeUnusedExcludedKeys(e){const r=e.getOuterBindingIdentifierPaths();Object.keys(r).forEach((t=>{const s=r[t].parentPath;if(e.scope.getBinding(t).references>x||!s.isObjectProperty()){return}s.remove()}))}function createObjectRest(e,r,t){const s=e.get("properties");const a=s[s.length-1];n.types.assertRestElement(a.node);const o=n.types.cloneNode(a.node);a.remove();const i=replaceImpureComputedKeys(e.get("properties"),e.scope);const{keys:l,allLiteral:c,hasTemplateLiteral:d}=extractNormalizedKeys(e.node);if(l.length===0){return[i,o.argument,n.types.callExpression(getExtendsHelper(r),[n.types.objectExpression([]),n.types.sequenceExpression([n.types.callExpression(r.addHelper("objectDestructuringEmpty"),[n.types.cloneNode(t)]),n.types.cloneNode(t)])])]}let u;if(!c){u=n.types.callExpression(n.types.memberExpression(n.types.arrayExpression(l),n.types.identifier("map")),[r.addHelper("toPropertyKey")])}else{u=n.types.arrayExpression(l);if(!d&&!n.types.isProgram(e.scope.block)){const r=e.findParent((e=>e.isProgram()));const t=e.scope.generateUidIdentifier("excluded");r.scope.push({id:t,init:u,kind:"const"});u=n.types.cloneNode(t)}}return[i,o.argument,n.types.callExpression(r.addHelper(`objectWithoutProperties${v?"Loose":""}`),[n.types.cloneNode(t),u])]}function replaceRestElement(e,r,t){if(r.isAssignmentPattern()){replaceRestElement(e,r.get("left"),t);return}if(r.isArrayPattern()&&hasRestElement(r)){const s=r.get("elements");for(let r=0;re.skip(),"ReferencedIdentifier|BindingIdentifier":IdentifierHandler},e.scope)}}}if(!a){for(let s=0;se>=n-1||t.has(e);o.convertFunctionParams(e,g,shouldTransformParam,replaceRestElement)}},VariableDeclarator(e,r){if(!e.get("id").isObjectPattern()){return}let t=e;const s=e;visitRestElements(e.get("id"),(e=>{if(!e.parentPath.isObjectPattern()){return}if(shouldStoreRHSInTemporaryVariable(s.node.id)&&!n.types.isIdentifier(s.node.init)){const r=e.scope.generateUidIdentifierBasedOnNode(s.node.init,"ref");s.insertBefore(n.types.variableDeclarator(r,s.node.init));s.replaceWith(n.types.variableDeclarator(s.node.id,n.types.cloneNode(r)));return}let a=s.node.init;const o=[];let i;e.findParent((e=>{if(e.isObjectProperty()){o.unshift(e)}else if(e.isVariableDeclarator()){i=e.parentPath.node.kind;return true}}));const l=replaceImpureComputedKeys(o,e.scope);o.forEach((e=>{const{node:r}=e;a=n.types.memberExpression(a,n.types.cloneNode(r.key),r.computed||n.types.isLiteral(r.key))}));const c=e.findParent((e=>e.isObjectPattern()));const[d,u,p]=createObjectRest(c,r,a);if(j){removeUnusedExcludedKeys(c)}n.types.assertIdentifier(u);t.insertBefore(d);t.insertBefore(l);t=t.insertAfter(n.types.variableDeclarator(u,p))[0];e.scope.registerBinding(i,t);if(c.node.properties.length===0){c.findParent((e=>e.isObjectProperty()||e.isVariableDeclarator())).remove()}}))},ExportNamedDeclaration(e){const r=e.get("declaration");if(!r.isVariableDeclaration())return;const t=r.get("declarations").some((e=>hasObjectPatternRestElement(e.get("id"))));if(!t)return;const s=[];for(const r of Object.keys(e.getOuterBindingIdentifiers(true))){s.push(n.types.exportSpecifier(n.types.identifier(r),n.types.identifier(r)))}e.replaceWith(r.node);e.insertAfter(n.types.exportNamedDeclaration(null,s))},CatchClause(e){const r=e.get("param");replaceRestElement(e,r)},AssignmentExpression(e,r){const t=e.get("left");if(t.isObjectPattern()&&hasRestElement(t)){const s=[];const a=e.scope.generateUidBasedOnNode(e.node.right,"ref");s.push(n.types.variableDeclaration("var",[n.types.variableDeclarator(n.types.identifier(a),e.node.right)]));const[o,i,l]=createObjectRest(t,r,n.types.identifier(a));if(o.length>0){s.push(n.types.variableDeclaration("var",o))}const c=n.types.cloneNode(e.node);c.right=n.types.identifier(a);s.push(n.types.expressionStatement(c));s.push(n.types.expressionStatement(n.types.assignmentExpression("=",i,l)));s.push(n.types.expressionStatement(n.types.identifier(a)));e.replaceWithMultiple(s)}},ForXStatement(e){const{node:r,scope:t}=e;const s=e.get("left");const a=r.left;if(!hasObjectPatternRestElement(s)){return}if(!n.types.isVariableDeclaration(a)){const s=t.generateUidIdentifier("ref");r.left=n.types.variableDeclaration("var",[n.types.variableDeclarator(s)]);e.ensureBlock();const o=e.node.body;if(o.body.length===0&&e.isCompletionRecord()){o.body.unshift(n.types.expressionStatement(t.buildUndefinedNode()))}o.body.unshift(n.types.expressionStatement(n.types.assignmentExpression("=",a,n.types.cloneNode(s))))}else{const s=a.declarations[0].id;const o=t.generateUidIdentifier("ref");r.left=n.types.variableDeclaration(a.kind,[n.types.variableDeclarator(o,null)]);e.ensureBlock();const i=r.body;i.body.unshift(n.types.variableDeclaration(r.left.kind,[n.types.variableDeclarator(s,n.types.cloneNode(o))]))}},ArrayPattern(e){const r=[];visitRestElements(e,(e=>{if(!e.parentPath.isObjectPattern()){return}const t=e.parentPath;const s=e.scope.generateUidIdentifier("ref");r.push(n.types.variableDeclarator(t.node,s));t.replaceWith(n.types.cloneNode(s));e.skip()}));if(r.length>0){const t=e.getStatementParent();const s=t.node;const a=s.type==="VariableDeclaration"?s.kind:"var";t.insertAfter(n.types.variableDeclaration(a,r))}},ObjectExpression(e,r){if(!hasSpread(e.node))return;let t;if(w){t=getExtendsHelper(r)}else{try{t=r.addHelper("objectSpread2")}catch(e){this.file.declarations["objectSpread2"]=null;t=r.addHelper("objectSpread")}}let s=null;let a=[];function make(){const e=a.length>0;const r=n.types.objectExpression(a);a=[];if(!s){s=n.types.callExpression(t,[r]);return}if(j){if(e){s.arguments.push(r)}return}s=n.types.callExpression(n.types.cloneNode(t),[s,...e?[n.types.objectExpression([]),r]:[]])}for(const r of e.node.properties){if(n.types.isSpreadElement(r)){make();s.arguments.push(r.argument)}else{a.push(r)}}if(a.length)make();e.replaceWith(s)}}}}));r["default"]=v},5579:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-import-assertions",manipulateOptions(e,r){r.plugins.push("importAssertions")}}}));r["default"]=a},4810:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)(((e,{deprecatedAssertSyntax:r})=>{e.assertVersion("^7.22.0");if(r!=null&&typeof r!=="boolean"){throw new Error("'deprecatedAssertSyntax' must be a boolean, if specified.")}return{name:"syntax-import-attributes",manipulateOptions({parserOpts:e,generatorOpts:t}){var s;(s=t.importAttributesKeyword)!=null?s:t.importAttributesKeyword="with";e.plugins.push(["importAttributes",{deprecatedAssertSyntax:Boolean(r)}])}}}));r["default"]=a},6085:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-jsx",manipulateOptions(e,r){{if(r.plugins.some((e=>(Array.isArray(e)?e[0]:e)==="typescript"))){return}}r.plugins.push("jsx")}}}));r["default"]=a},6141:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(8863);{var removePlugin=function(e,r){const t=[];e.forEach(((e,s)=>{const a=Array.isArray(e)?e[0]:e;if(a===r){t.unshift(s)}}));for(const r of t){e.splice(r,1)}}}var a=(0,s.declare)(((e,r)=>{e.assertVersion(7);const{disallowAmbiguousJSXLike:t,dts:s}=r;{var{isTSX:a}=r}return{name:"syntax-typescript",manipulateOptions(e,r){{const{plugins:e}=r;removePlugin(e,"flow");removePlugin(e,"jsx");e.push("objectRestSpread","classProperties");if(a){e.push("jsx")}}r.plugins.push(["typescript",{disallowAmbiguousJSXLike:t,dts:s}])}}}));r["default"]=a},6237:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(176);var a=t(5389);var n=(0,a.declare)((e=>{e.assertVersion(7);return(0,s.createRegExpFeaturePlugin)({name:"syntax-unicode-sets-regex",feature:"unicodeSetsFlag_syntax",manipulateOptions(e,r){r.plugins.push("regexpUnicodeSets")}})}));r["default"]=n},3628:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)(((e,r)=>{var t;e.assertVersion(7);const s=(t=e.assumption("noNewArrows"))!=null?t:!r.spec;return{name:"transform-arrow-functions",visitor:{ArrowFunctionExpression(e){if(!e.isArrowFunctionExpression())return;{e.arrowFunctionToExpression({allowInsertArrow:false,noNewArrows:s,specCompliant:!s})}}}}}));r["default"]=a},1971:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=_default;var s=t(8304);const a=(0,s.template)(`\n async function wrapper() {\n var ITERATOR_ABRUPT_COMPLETION = false;\n var ITERATOR_HAD_ERROR_KEY = false;\n var ITERATOR_ERROR_KEY;\n try {\n for (\n var ITERATOR_KEY = GET_ITERATOR(OBJECT), STEP_KEY;\n ITERATOR_ABRUPT_COMPLETION = !(STEP_KEY = await ITERATOR_KEY.next()).done;\n ITERATOR_ABRUPT_COMPLETION = false\n ) {\n }\n } catch (err) {\n ITERATOR_HAD_ERROR_KEY = true;\n ITERATOR_ERROR_KEY = err;\n } finally {\n try {\n if (ITERATOR_ABRUPT_COMPLETION && ITERATOR_KEY.return != null) {\n await ITERATOR_KEY.return();\n }\n } finally {\n if (ITERATOR_HAD_ERROR_KEY) {\n throw ITERATOR_ERROR_KEY;\n }\n }\n }\n }\n`);function _default(e,{getAsyncIterator:r}){const{node:t,scope:n,parent:o}=e;const i=n.generateUidIdentifier("step");const l=s.types.memberExpression(i,s.types.identifier("value"));const c=t.left;let d;if(s.types.isIdentifier(c)||s.types.isPattern(c)||s.types.isMemberExpression(c)){d=s.types.expressionStatement(s.types.assignmentExpression("=",c,l))}else if(s.types.isVariableDeclaration(c)){d=s.types.variableDeclaration(c.kind,[s.types.variableDeclarator(c.declarations[0].id,l)])}let u=a({ITERATOR_HAD_ERROR_KEY:n.generateUidIdentifier("didIteratorError"),ITERATOR_ABRUPT_COMPLETION:n.generateUidIdentifier("iteratorAbruptCompletion"),ITERATOR_ERROR_KEY:n.generateUidIdentifier("iteratorError"),ITERATOR_KEY:n.generateUidIdentifier("iterator"),GET_ITERATOR:r,OBJECT:t.right,STEP_KEY:s.types.cloneNode(i)});u=u.body.body;const p=s.types.isLabeledStatement(o);const f=u[3].block.body;const y=f[0];if(p){f[0]=s.types.labeledStatement(o.label,y)}return{replaceParent:p,node:u,declar:d,loop:y}}},4766:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(322);var n=t(8304);var o=t(1971);var i=t(8552);var l=(0,s.declare)((e=>{e.assertVersion(7);const r=n.traverse.visitors.merge([{ArrowFunctionExpression(e){e.skip()},YieldExpression({node:e},r){if(!e.delegate)return;const t=n.types.callExpression(r.addHelper("asyncIterator"),[e.argument]);e.argument=n.types.callExpression(r.addHelper("asyncGeneratorDelegate"),[t,r.addHelper("awaitAsyncGenerator")])}},i.default]);const s=n.traverse.visitors.merge([{ArrowFunctionExpression(e){e.skip()},ForOfStatement(e,{file:r}){const{node:t}=e;if(!t.await)return;const s=(0,o.default)(e,{getAsyncIterator:r.addHelper("asyncIterator")});const{declar:a,loop:i}=s;const l=i.body;e.ensureBlock();if(a){l.body.push(a);if(e.node.body.body.length){l.body.push(n.types.blockStatement(e.node.body.body))}}else{l.body.push(...e.node.body.body)}n.types.inherits(i,t);n.types.inherits(i.body,t.body);const c=s.replaceParent?e.parentPath:e;c.replaceWithMultiple(s.node);c.scope.parent.crawl()}},i.default]);const l={Function(e,t){if(!e.node.async)return;e.traverse(s,t);if(!e.node.generator)return;e.traverse(r,t);(0,a.default)(e,{wrapAsync:t.addHelper("wrapAsyncGenerator"),wrapAwait:t.addHelper("awaitAsyncGenerator")})}};return{name:"transform-async-generator-functions",inherits:t(3975)["default"],visitor:{Program(e,r){e.traverse(l,r)}}}}));r["default"]=l},3055:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(322);var n=t(3380);var o=t(8304);var i=(0,s.declare)(((e,r)=>{var t,s;e.assertVersion(7);const{method:i,module:l}=r;const c=(t=e.assumption("noNewArrows"))!=null?t:true;const d=(s=e.assumption("ignoreFunctionLength"))!=null?s:false;if(i&&l){return{name:"transform-async-to-generator",visitor:{Function(e,r){if(!e.node.async||e.node.generator)return;let t=r.methodWrapper;if(t){t=o.types.cloneNode(t)}else{t=r.methodWrapper=(0,n.addNamed)(e,i,l)}(0,a.default)(e,{wrapAsync:t},c,d)}}}}return{name:"transform-async-to-generator",visitor:{Function(e,r){if(!e.node.async||e.node.generator)return;(0,a.default)(e,{wrapAsync:r.addHelper("asyncToGenerator")},c,d)}}}}));r["default"]=i},1242:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(8304);var n=(0,s.declare)((e=>{e.assertVersion(7);function transformStatementList(e){for(const r of e){if(!r.isFunctionDeclaration())continue;const e=r.node;const t=a.types.variableDeclaration("let",[a.types.variableDeclarator(e.id,a.types.toExpression(e))]);t._blockHoist=2;e.id=null;r.replaceWith(t)}}return{name:"transform-block-scoped-functions",visitor:{BlockStatement(e){const{node:r,parent:t}=e;if(a.types.isFunction(t,{body:r})||a.types.isExportDeclaration(t)){return}transformStatementList(e.get("body"))},SwitchCase(e){transformStatementList(e.get("consequent"))}}}}));r["default"]=n},4700:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.annexB33FunctionsVisitor=void 0;r.isVarScope=isVarScope;var s=t(8304);const a={VariableDeclaration(e){if(isStrict(e))return;if(e.node.kind!=="var")return;const r=e.scope.getFunctionParent()||e.scope.getProgramParent();r.path.traverse(n,{names:Object.keys(e.getBindingIdentifiers())})},BlockStatement(e){if(isStrict(e))return;if(s.types.isFunction(e.parent,{body:e.node}))return;transformStatementList(e.get("body"))},SwitchCase(e){if(isStrict(e))return;transformStatementList(e.get("consequent"))}};r.annexB33FunctionsVisitor=a;function transformStatementList(e){e:for(const r of e){if(!r.isFunctionDeclaration())continue;if(r.node.async||r.node.generator)return;const{scope:e}=r.parentPath;if(isVarScope(e))return;const{name:t}=r.node.id;let s=e;do{if(s.parent.hasOwnBinding(t))continue e;s=s.parent}while(!isVarScope(s));maybeTransformBlockScopedFunction(r)}}function maybeTransformBlockScopedFunction(e){const{node:r,parentPath:{scope:t}}=e;const{id:a}=r;t.removeOwnBinding(a.name);r.id=null;const n=s.types.variableDeclaration("var",[s.types.variableDeclarator(a,s.types.toExpression(r))]);n._blockHoist=2;const[o]=e.replaceWith(n);t.registerDeclaration(o)}const n={Scope(e,{names:r}){for(const t of r){const r=e.scope.getOwnBinding(t);if(r&&r.kind==="hoisted"){maybeTransformBlockScopedFunction(r.path)}}},"Expression|Declaration"(e){e.skip()}};function isVarScope(e){return e.path.isFunctionParent()||e.path.isProgram()}function isStrict(e){return!!e.find((({node:e})=>{var r;if(s.types.isProgram(e)){if(e.sourceType==="module")return true}else if(s.types.isClass(e)){return true}else if(!s.types.isBlockStatement(e)){return false}return(r=e.directives)==null?void 0:r.some((e=>e.value.value==="use strict"))}))}},6383:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(8304);var n=t(6713);var o=t(8643);var i=t(4700);var l=(0,s.declare)(((e,r)=>{e.assertVersion(7);const{throwIfClosureRequired:t=false,tdz:s=false}=r;if(typeof t!=="boolean"){throw new Error(`.throwIfClosureRequired must be a boolean, or undefined`)}if(typeof s!=="boolean"){throw new Error(`.tdz must be a boolean, or undefined`)}return{name:"transform-block-scoping",visitor:a.traverse.visitors.merge([i.annexB33FunctionsVisitor,{Loop(e,r){const a=e.isForStatement();const o=a?e.get("init"):e.isForXStatement()?e.get("left"):null;let i=false;const markNeedsBodyWrap=()=>{if(t){throw e.buildCodeFrameError("Compiling let/const in this block would add a closure "+"(throwIfClosureRequired).")}i=true};const l=e.get("body");let c;if(l.isBlockStatement()){c=l.scope;const r=(0,n.getLoopBodyBindings)(e);for(const t of r){const{capturedInClosure:r}=(0,n.getUsageInBody)(t,e);if(r)markNeedsBodyWrap()}}const d=[];const u=new Map;if(o&&isBlockScoped(o.node)){const r=Object.keys(o.getBindingIdentifiers());const t=o.scope;for(let s of r){var p;if((p=c)!=null&&p.hasOwnBinding(s))continue;let r=t.getOwnBinding(s);if(!r){t.crawl();r=t.getOwnBinding(s)}const{usages:o,capturedInClosure:i,hasConstantViolations:l}=(0,n.getUsageInBody)(r,e);if(t.parent.hasBinding(s)||t.parent.hasGlobal(s)){const e=t.generateUid(s);t.rename(s,e);s=e}if(i){markNeedsBodyWrap();d.push(s)}if(a&&l){u.set(s,o)}}}if(i){const t=(0,n.wrapLoopBody)(e,d,u);if(o!=null&&o.isVariableDeclaration()){transformBlockScopedVariable(o,r,s)}t.get("declarations.0.init").unwrapFunctionEnvironment()}},VariableDeclaration(e,r){transformBlockScopedVariable(e,r,s)},ClassDeclaration(e){const{id:r}=e.node;if(!r)return;const{scope:t}=e.parentPath;if(!(0,i.isVarScope)(t)&&t.parent.hasBinding(r.name,{noUids:true})){e.scope.rename(r.name)}}}])}}));r["default"]=l;const c={Scope(e,{names:r}){for(const t of r){const r=e.scope.getOwnBinding(t);if(r&&r.kind==="hoisted"){e.scope.rename(t)}}},"Expression|Declaration"(e){e.skip()}};function transformBlockScopedVariable(e,r,t){if(!isBlockScoped(e.node))return;const s=(0,o.validateUsage)(e,r,t);e.node.kind="var";const i=Object.keys(e.getBindingIdentifiers());for(const r of i){const t=e.scope.getOwnBinding(r);if(!t)continue;t.kind="var"}if(isInLoop(e)&&!(0,n.isVarInLoopHead)(e)||s.length>0){for(const r of e.node.declarations){var l;(l=r.init)!=null?l:r.init=e.scope.buildUndefinedNode()}}const d=e.scope;const u=d.getFunctionParent()||d.getProgramParent();if(u!==d){for(const e of i){let r=e;if(d.parent.hasBinding(e,{noUids:true})||d.parent.hasGlobal(e)){r=d.generateUid(e);d.rename(e,r)}d.moveBindingTo(r,u)}}d.path.traverse(c,{names:i});for(const t of s){e.scope.push({id:a.types.identifier(t),init:r.addHelper("temporalUndefined")})}}function isLetOrConst(e){return e==="let"||e==="const"}function isInLoop(e){if(!e.parentPath)return false;if(e.parentPath.isLoop())return true;if(e.parentPath.isFunctionParent())return false;return isInLoop(e.parentPath)}function isBlockScoped(e){if(!a.types.isVariableDeclaration(e))return false;if(e[a.types.BLOCK_SCOPED_SYMBOL]){return true}if(!isLetOrConst(e.kind)&&e.kind!=="using"){return false}return true}},6713:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.getLoopBodyBindings=getLoopBodyBindings;r.getUsageInBody=getUsageInBody;r.isVarInLoopHead=isVarInLoopHead;r.wrapLoopBody=wrapLoopBody;var s=t(8304);const a={"Expression|Declaration|Loop"(e){e.skip()},Scope(e,r){if(e.isFunctionParent())e.skip();const{bindings:t}=e.scope;for(const e of Object.keys(t)){const s=t[e];if(s.kind==="let"||s.kind==="const"||s.kind==="hoisted"){r.blockScoped.push(s)}}}};function getLoopBodyBindings(e){const r={blockScoped:[]};e.traverse(a,r);return r.blockScoped}function getUsageInBody(e,r){const t=new WeakSet;let s=false;const a=filterMap(e.constantViolations,(e=>{const{inBody:a,inClosure:n}=relativeLoopLocation(e,r);if(!a)return null;s||(s=n);const o=e.isUpdateExpression()?e.get("argument"):e.isAssignmentExpression()?e.get("left"):null;if(o)t.add(o.node);return o}));const n=filterMap(e.referencePaths,(e=>{if(t.has(e.node))return null;const{inBody:a,inClosure:n}=relativeLoopLocation(e,r);if(!a)return null;s||(s=n);return e}));return{capturedInClosure:s,hasConstantViolations:a.length>0,usages:n.concat(a)}}function relativeLoopLocation(e,r){const t=r.get("body");let s=false;for(let a=e;a;a=a.parentPath){if(a.isFunction()||a.isClass()||a.isMethod()){s=true}if(a===t){return{inBody:true,inClosure:s}}else if(a===r){return{inBody:false,inClosure:s}}}throw new Error("Internal Babel error: path is not in loop. Please report this as a bug.")}const n={Function(e){e.skip()},LabeledStatement:{enter({node:e},r){r.labelsStack.push(e.label.name)},exit({node:e},r){const t=r.labelsStack.pop();if(t!==e.label.name){throw new Error("Assertion failure. Please report this bug to Babel.")}}},Loop:{enter(e,r){r.labellessContinueTargets++;r.labellessBreakTargets++},exit(e,r){r.labellessContinueTargets--;r.labellessBreakTargets--}},SwitchStatement:{enter(e,r){r.labellessBreakTargets++},exit(e,r){r.labellessBreakTargets--}},"BreakStatement|ContinueStatement"(e,r){const{label:t}=e.node;if(t){if(r.labelsStack.includes(t.name))return}else if(e.isBreakStatement()?r.labellessBreakTargets>0:r.labellessContinueTargets>0){return}r.breaksContinues.push(e)},ReturnStatement(e,r){r.returns.push(e)},VariableDeclaration(e,r){if(e.parent===r.loopNode&&isVarInLoopHead(e))return;if(e.node.kind==="var")r.vars.push(e)}};function wrapLoopBody(e,r,t){const a=e.node;const o={breaksContinues:[],returns:[],labelsStack:[],labellessBreakTargets:0,labellessContinueTargets:0,vars:[],loopNode:a};e.traverse(n,o);const i=[];const l=[];const c=[];for(const[r,a]of t){i.push(s.types.identifier(r));const t=e.scope.generateUid(r);l.push(s.types.identifier(t));c.push(s.types.assignmentExpression("=",s.types.identifier(r),s.types.identifier(t)));for(const e of a)e.replaceWith(s.types.identifier(t))}for(const e of r){if(t.has(e))continue;i.push(s.types.identifier(e));l.push(s.types.identifier(e))}const d=e.scope.generateUid("loop");const u=s.types.functionExpression(null,l,s.types.toBlock(a.body));let p=s.types.callExpression(s.types.identifier(d),i);const f=e.findParent((e=>e.isFunction()));if(f){const{async:e,generator:r}=f.node;u.async=e;u.generator=r;if(r)p=s.types.yieldExpression(p,true);else if(e)p=s.types.awaitExpression(p)}const y=c.length>0?s.types.expressionStatement(s.types.sequenceExpression(c)):null;if(y)u.body.body.push(y);const[g]=e.insertBefore(s.types.variableDeclaration("var",[s.types.variableDeclarator(s.types.identifier(d),u)]));const h=[];const b=[];for(const e of o.vars){const r=[];for(const t of e.node.declarations){b.push(...Object.keys(s.types.getBindingIdentifiers(t.id)));if(t.init){r.push(s.types.assignmentExpression("=",t.id,t.init))}}if(r.length>0){let t=r.length===1?r[0]:s.types.sequenceExpression(r);if(!s.types.isForStatement(e.parent,{init:e.node})&&!s.types.isForXStatement(e.parent,{left:e.node})){t=s.types.expressionStatement(t)}e.replaceWith(t)}else{e.remove()}}if(b.length){g.pushContainer("declarations",b.map((e=>s.types.variableDeclarator(s.types.identifier(e)))))}const x=o.breaksContinues.length;const v=o.returns.length;if(x+v===0){h.push(s.types.expressionStatement(p))}else if(x===1&&v===0){for(const e of o.breaksContinues){const{node:r}=e;const{type:t,label:a}=r;let n=t==="BreakStatement"?"break":"continue";if(a)n+=" "+a.name;e.replaceWith(s.types.addComment(s.types.returnStatement(s.types.numericLiteral(1)),"trailing"," "+n,true));if(y)e.insertBefore(s.types.cloneNode(y));h.push(s.template.statement.ast` + `}}};const v=Object.assign({},x,{prop(e){const{property:r}=e.node;if(this.memoiser.has(r)){return d(this.memoiser.get(r))}return d(r)},get(e){const{isStatic:r,getSuperRef:t}=this;const{computed:s}=e.node;const a=this.prop(e);let n;if(r){var o;n=(o=t())!=null?o:p(u("Function"),u("prototype"))}else{var i;n=p((i=t())!=null?i:u("Object"),u("prototype"))}return p(n,a,s)},set(e,r){const{computed:t}=e.node;const s=this.prop(e);return i("=",p(g(),s,t),r)},destructureSet(e){const{computed:r}=e.node;const t=this.prop(e);return p(g(),t,r)},call(e,r){return(0,n.default)(this.get(e),g(),r,false)},optionalCall(e,r){return(0,n.default)(this.get(e),g(),r,true)}});class ReplaceSupers{constructor(e){var r;const t=e.methodPath;this.methodPath=t;this.isDerivedConstructor=t.isClassMethod({kind:"constructor"})&&!!e.superRef;this.isStatic=t.isObjectMethod()||t.node.static||(t.isStaticBlock==null?void 0:t.isStaticBlock());this.isPrivateMethod=t.isPrivate()&&t.isMethod();this.file=e.file;this.constantSuper=(r=e.constantSuper)!=null?r:e.isLoose;this.opts=e}getObjectRef(){return d(this.opts.objectRef||this.opts.getObjectRef())}getSuperRef(){if(this.opts.superRef)return d(this.opts.superRef);if(this.opts.getSuperRef){return d(this.opts.getSuperRef())}}replace(){const{methodPath:e}=this;if(this.opts.refToPreserve){e.traverse(b,{refName:this.opts.refToPreserve.name})}const r=this.constantSuper?v:x;h.shouldSkip=r=>{if(r.parentPath===e){if(r.parentKey==="decorators"||r.parentKey==="key"){return true}}};(0,a.default)(e,h,Object.assign({file:this.file,scope:this.methodPath.scope,isDerivedConstructor:this.isDerivedConstructor,isStatic:this.isStatic,isPrivateMethod:this.isPrivateMethod,getObjectRef:this.getObjectRef.bind(this),getSuperRef:this.getSuperRef.bind(this),boundGet:r.get},r))}}r["default"]=ReplaceSupers},6118:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=simplifyAccess;var s=t(8622);const{LOGICAL_OPERATORS:a,assignmentExpression:n,binaryExpression:o,cloneNode:i,identifier:l,logicalExpression:c,numericLiteral:d,sequenceExpression:u,unaryExpression:p}=s;const f={AssignmentExpression:{exit(e){const{scope:r,seen:t,bindingNames:s}=this;if(e.node.operator==="=")return;if(t.has(e.node))return;t.add(e.node);const l=e.get("left");if(!l.isIdentifier())return;const d=l.node.name;if(!s.has(d))return;if(r.getBinding(d)!==e.scope.getBinding(d)){return}const u=e.node.operator.slice(0,-1);if(a.includes(u)){e.replaceWith(c(u,e.node.left,n("=",i(e.node.left),e.node.right)))}else{e.node.right=o(u,i(e.node.left),e.node.right);e.node.operator="="}}}};{f.UpdateExpression={exit(e){if(!this.includeUpdateExpression)return;const{scope:r,bindingNames:t}=this;const s=e.get("argument");if(!s.isIdentifier())return;const a=s.node.name;if(!t.has(a))return;if(r.getBinding(a)!==e.scope.getBinding(a)){return}if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){const r=e.node.operator=="++"?"+=":"-=";e.replaceWith(n(r,s.node,d(1)))}else if(e.node.prefix){e.replaceWith(n("=",l(a),o(e.node.operator[0],p("+",s.node),d(1))))}else{const r=e.scope.generateUidIdentifierBasedOnNode(s.node,"old");const t=r.name;e.scope.push({id:r});const a=o(e.node.operator[0],l(t),d(1));e.replaceWith(u([n("=",l(t),p("+",s.node)),n("=",i(s.node),a),l(t)]))}}}}function simplifyAccess(e,r){{var t;e.traverse(f,{scope:e.scope,bindingNames:r,seen:new WeakSet,includeUpdateExpression:(t=arguments[2])!=null?t:true})}}},5385:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isTransparentExprWrapper=isTransparentExprWrapper;r.skipTransparentExprWrapperNodes=skipTransparentExprWrapperNodes;r.skipTransparentExprWrappers=skipTransparentExprWrappers;var s=t(8622);const{isParenthesizedExpression:a,isTSAsExpression:n,isTSNonNullExpression:o,isTSSatisfiesExpression:i,isTSTypeAssertion:l,isTypeCastExpression:c}=s;function isTransparentExprWrapper(e){return n(e)||i(e)||l(e)||o(e)||c(e)||a(e)}function skipTransparentExprWrappers(e){while(isTransparentExprWrapper(e.node)){e=e.get("expression")}return e}function skipTransparentExprWrapperNodes(e){while(isTransparentExprWrapper(e)){e=e.expression}return e}},9769:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isTransparentExprWrapper=isTransparentExprWrapper;r.skipTransparentExprWrapperNodes=skipTransparentExprWrapperNodes;r.skipTransparentExprWrappers=skipTransparentExprWrappers;var s=t(8622);const{isParenthesizedExpression:a,isTSAsExpression:n,isTSNonNullExpression:o,isTSSatisfiesExpression:i,isTSTypeAssertion:l,isTypeCastExpression:c}=s;function isTransparentExprWrapper(e){return n(e)||i(e)||l(e)||o(e)||c(e)||a(e)}function skipTransparentExprWrappers(e){while(isTransparentExprWrapper(e.node)){e=e.get("expression")}return e}function skipTransparentExprWrapperNodes(e){while(isTransparentExprWrapper(e)){e=e.expression}return e}},9382:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isTransparentExprWrapper=isTransparentExprWrapper;r.skipTransparentExprWrapperNodes=skipTransparentExprWrapperNodes;r.skipTransparentExprWrappers=skipTransparentExprWrappers;var s=t(8622);const{isParenthesizedExpression:a,isTSAsExpression:n,isTSNonNullExpression:o,isTSSatisfiesExpression:i,isTSTypeAssertion:l,isTypeCastExpression:c}=s;function isTransparentExprWrapper(e){return n(e)||i(e)||l(e)||o(e)||c(e)||a(e)}function skipTransparentExprWrappers(e){while(isTransparentExprWrapper(e.node)){e=e.get("expression")}return e}function skipTransparentExprWrapperNodes(e){while(isTransparentExprWrapper(e)){e=e.expression}return e}},7696:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=splitExportDeclaration;var s=t(8622);const{cloneNode:a,exportNamedDeclaration:n,exportSpecifier:o,identifier:i,variableDeclaration:l,variableDeclarator:c}=s;function splitExportDeclaration(e){if(!e.isExportDeclaration()||e.isExportAllDeclaration()){throw new Error("Only default and named export declarations can be split.")}if(e.isExportDefaultDeclaration()){const r=e.get("declaration");const t=r.isFunctionDeclaration()||r.isClassDeclaration();const s=r.isScope()?r.scope.parent:r.scope;let d=r.node.id;let u=false;if(!d){u=true;d=s.generateUidIdentifier("default");if(t||r.isFunctionExpression()||r.isClassExpression()){r.node.id=a(d)}}const p=t?r.node:l("var",[c(a(d),r.node)]);const f=n(null,[o(a(d),i("default"))]);e.insertAfter(f);e.replaceWith(p);if(u){s.registerDeclaration(e)}return e}else if(e.get("specifiers").length>0){throw new Error("It doesn't make sense to split exported specifiers.")}const r=e.get("declaration");const t=r.getOuterBindingIdentifiers();const s=Object.keys(t).map((e=>o(i(e),i(e))));const d=n(null,s);e.insertAfter(d);e.replaceWith(r.node);return e}},4097:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=splitExportDeclaration;var s=t(8622);const{cloneNode:a,exportNamedDeclaration:n,exportSpecifier:o,identifier:i,variableDeclaration:l,variableDeclarator:c}=s;function splitExportDeclaration(e){if(!e.isExportDeclaration()||e.isExportAllDeclaration()){throw new Error("Only default and named export declarations can be split.")}if(e.isExportDefaultDeclaration()){const r=e.get("declaration");const t=r.isFunctionDeclaration()||r.isClassDeclaration();const s=r.isFunctionExpression()||r.isClassExpression();const d=r.isScope()?r.scope.parent:r.scope;let u=r.node.id;let p=false;if(!u){p=true;u=d.generateUidIdentifier("default");if(t||s){r.node.id=a(u)}}else if(s&&d.hasBinding(u.name)){p=true;u=d.generateUidIdentifier(u.name)}const f=t?r.node:l("var",[c(a(u),r.node)]);const y=n(null,[o(a(u),i("default"))]);e.insertAfter(y);e.replaceWith(f);if(p){d.registerDeclaration(e)}return e}else if(e.get("specifiers").length>0){throw new Error("It doesn't make sense to split exported specifiers.")}const r=e.get("declaration");const t=r.getOuterBindingIdentifiers();const s=Object.keys(t).map((e=>o(i(e),i(e))));const d=n(null,s);e.insertAfter(d);e.replaceWith(r.node);return e}},9053:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=splitExportDeclaration;var s=t(8622);const{cloneNode:a,exportNamedDeclaration:n,exportSpecifier:o,identifier:i,variableDeclaration:l,variableDeclarator:c}=s;function splitExportDeclaration(e){if(!e.isExportDeclaration()||e.isExportAllDeclaration()){throw new Error("Only default and named export declarations can be split.")}if(e.isExportDefaultDeclaration()){const r=e.get("declaration");const t=r.isFunctionDeclaration()||r.isClassDeclaration();const s=r.isFunctionExpression()||r.isClassExpression();const d=r.isScope()?r.scope.parent:r.scope;let u=r.node.id;let p=false;if(!u){p=true;u=d.generateUidIdentifier("default");if(t||s){r.node.id=a(u)}}else if(s&&d.hasBinding(u.name)){p=true;u=d.generateUidIdentifier(u.name)}const f=t?r.node:l("var",[c(a(u),r.node)]);const y=n(null,[o(a(u),i("default"))]);e.insertAfter(y);e.replaceWith(f);if(p){d.registerDeclaration(e)}return e}else if(e.get("specifiers").length>0){throw new Error("It doesn't make sense to split exported specifiers.")}const r=e.get("declaration");const t=r.getOuterBindingIdentifiers();const s=Object.keys(t).map((e=>o(i(e),i(e))));const d=n(null,s);e.insertAfter(d);e.replaceWith(r.node);return e}},4387:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isIdentifierChar=isIdentifierChar;r.isIdentifierName=isIdentifierName;r.isIdentifierStart=isIdentifierStart;let t="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let s="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";const a=new RegExp("["+t+"]");const n=new RegExp("["+t+s+"]");t=s=null;const o=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191];const i=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,r){let t=65536;for(let s=0,a=r.length;se)return false;t+=r[s+1];if(t>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&a.test(String.fromCharCode(e))}return isInAstralSet(e,o)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&n.test(String.fromCharCode(e))}return isInAstralSet(e,o)||isInAstralSet(e,i)}function isIdentifierName(e){let r=true;for(let t=0;t{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"isIdentifierChar",{enumerable:true,get:function(){return s.isIdentifierChar}});Object.defineProperty(r,"isIdentifierName",{enumerable:true,get:function(){return s.isIdentifierName}});Object.defineProperty(r,"isIdentifierStart",{enumerable:true,get:function(){return s.isIdentifierStart}});Object.defineProperty(r,"isKeyword",{enumerable:true,get:function(){return a.isKeyword}});Object.defineProperty(r,"isReservedWord",{enumerable:true,get:function(){return a.isReservedWord}});Object.defineProperty(r,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return a.isStrictBindOnlyReservedWord}});Object.defineProperty(r,"isStrictBindReservedWord",{enumerable:true,get:function(){return a.isStrictBindReservedWord}});Object.defineProperty(r,"isStrictReservedWord",{enumerable:true,get:function(){return a.isStrictReservedWord}});var s=t(4387);var a=t(4348)},4348:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isKeyword=isKeyword;r.isReservedWord=isReservedWord;r.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;r.isStrictBindReservedWord=isStrictBindReservedWord;r.isStrictReservedWord=isStrictReservedWord;const t={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const s=new Set(t.keyword);const a=new Set(t.strict);const n=new Set(t.strictBind);function isReservedWord(e,r){return r&&e==="await"||e==="enum"}function isStrictReservedWord(e,r){return isReservedWord(e,r)||a.has(e)}function isStrictBindOnlyReservedWord(e){return n.has(e)}function isStrictBindReservedWord(e,r){return isStrictReservedWord(e,r)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return s.has(e)}},2916:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isIdentifierChar=isIdentifierChar;r.isIdentifierName=isIdentifierName;r.isIdentifierStart=isIdentifierStart;let t="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";let s="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";const a=new RegExp("["+t+"]");const n=new RegExp("["+t+s+"]");t=s=null;const o=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191];const i=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,r){let t=65536;for(let s=0,a=r.length;se)return false;t+=r[s+1];if(t>=e)return true}return false}function isIdentifierStart(e){if(e<65)return e===36;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&a.test(String.fromCharCode(e))}return isInAstralSet(e,o)}function isIdentifierChar(e){if(e<48)return e===36;if(e<58)return true;if(e<65)return false;if(e<=90)return true;if(e<97)return e===95;if(e<=122)return true;if(e<=65535){return e>=170&&n.test(String.fromCharCode(e))}return isInAstralSet(e,o)||isInAstralSet(e,i)}function isIdentifierName(e){let r=true;for(let t=0;t{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"isIdentifierChar",{enumerable:true,get:function(){return s.isIdentifierChar}});Object.defineProperty(r,"isIdentifierName",{enumerable:true,get:function(){return s.isIdentifierName}});Object.defineProperty(r,"isIdentifierStart",{enumerable:true,get:function(){return s.isIdentifierStart}});Object.defineProperty(r,"isKeyword",{enumerable:true,get:function(){return a.isKeyword}});Object.defineProperty(r,"isReservedWord",{enumerable:true,get:function(){return a.isReservedWord}});Object.defineProperty(r,"isStrictBindOnlyReservedWord",{enumerable:true,get:function(){return a.isStrictBindOnlyReservedWord}});Object.defineProperty(r,"isStrictBindReservedWord",{enumerable:true,get:function(){return a.isStrictBindReservedWord}});Object.defineProperty(r,"isStrictReservedWord",{enumerable:true,get:function(){return a.isStrictReservedWord}});var s=t(2916);var a=t(9676)},9676:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.isKeyword=isKeyword;r.isReservedWord=isReservedWord;r.isStrictBindOnlyReservedWord=isStrictBindOnlyReservedWord;r.isStrictBindReservedWord=isStrictBindReservedWord;r.isStrictReservedWord=isStrictReservedWord;const t={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]};const s=new Set(t.keyword);const a=new Set(t.strict);const n=new Set(t.strictBind);function isReservedWord(e,r){return r&&e==="await"||e==="enum"}function isStrictReservedWord(e,r){return isReservedWord(e,r)||a.has(e)}function isStrictBindOnlyReservedWord(e){return n.has(e)}function isStrictBindReservedWord(e,r){return isStrictReservedWord(e,r)||isStrictBindOnlyReservedWord(e)}function isKeyword(e){return s.has(e)}},3530:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.findSuggestion=findSuggestion;const{min:t}=Math;function levenshtein(e,r){let s=[],a=[],n,o;const i=e.length,l=r.length;if(!i){return l}if(!l){return i}for(o=0;o<=l;o++){s[o]=o}for(n=1;n<=i;n++){for(a=[n],o=1;o<=l;o++){a[o]=e[n-1]===r[o-1]?s[o-1]:t(s[o-1],s[o],a[o-1])+1}s=a}return a[l]}function findSuggestion(e,r){const s=r.map((r=>levenshtein(r,e)));return r[s.indexOf(t(...s))]}},2445:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"OptionValidator",{enumerable:true,get:function(){return s.OptionValidator}});Object.defineProperty(r,"findSuggestion",{enumerable:true,get:function(){return a.findSuggestion}});var s=t(7657);var a=t(3530)},7657:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.OptionValidator=void 0;var s=t(3530);class OptionValidator{constructor(e){this.descriptor=e}validateTopLevelOptions(e,r){const t=Object.keys(r);for(const r of Object.keys(e)){if(!t.includes(r)){throw new Error(this.formatMessage(`'${r}' is not a valid top-level option.\n- Did you mean '${(0,s.findSuggestion)(r,t)}'?`))}}}validateBooleanOption(e,r,t){if(r===undefined){return t}else{this.invariant(typeof r==="boolean",`'${e}' option must be a boolean.`)}return r}validateStringOption(e,r,t){if(r===undefined){return t}else{this.invariant(typeof r==="string",`'${e}' option must be a string.`)}return r}invariant(e,r){if(!e){throw new Error(this.formatMessage(r))}}formatMessage(e){return`${this.descriptor}: ${e}`}}r.OptionValidator=OptionValidator},8112:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.findSuggestion=findSuggestion;const{min:t}=Math;function levenshtein(e,r){let s=[],a=[],n,o;const i=e.length,l=r.length;if(!i){return l}if(!l){return i}for(o=0;o<=l;o++){s[o]=o}for(n=1;n<=i;n++){for(a=[n],o=1;o<=l;o++){a[o]=e[n-1]===r[o-1]?s[o-1]:t(s[o-1],s[o],a[o-1])+1}s=a}return a[l]}function findSuggestion(e,r){const s=r.map((r=>levenshtein(r,e)));return r[s.indexOf(t(...s))]}},4716:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});Object.defineProperty(r,"OptionValidator",{enumerable:true,get:function(){return s.OptionValidator}});Object.defineProperty(r,"findSuggestion",{enumerable:true,get:function(){return a.findSuggestion}});var s=t(2729);var a=t(8112)},2729:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.OptionValidator=void 0;var s=t(8112);class OptionValidator{constructor(e){this.descriptor=e}validateTopLevelOptions(e,r){const t=Object.keys(r);for(const r of Object.keys(e)){if(!t.includes(r)){throw new Error(this.formatMessage(`'${r}' is not a valid top-level option.\n- Did you mean '${(0,s.findSuggestion)(r,t)}'?`))}}}validateBooleanOption(e,r,t){if(r===undefined){return t}else{this.invariant(typeof r==="boolean",`'${e}' option must be a boolean.`)}return r}validateStringOption(e,r,t){if(r===undefined){return t}else{this.invariant(typeof r==="string",`'${e}' option must be a string.`)}return r}invariant(e,r){if(!e){throw new Error(this.formatMessage(r))}}formatMessage(e){return`${this.descriptor}: ${e}`}}r.OptionValidator=OptionValidator},1340:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=wrapFunction;var s=t(2528);var a=t(789);var n=t(8622);const{blockStatement:o,callExpression:i,functionExpression:l,isAssignmentPattern:c,isFunctionDeclaration:d,isRestElement:u,returnStatement:p,isCallExpression:f}=n;const y=a.default.expression(`\n (function () {\n var REF = FUNCTION;\n return function NAME(PARAMS) {\n return REF.apply(this, arguments);\n };\n })()\n`);const g=a.default.expression(`\n (function () {\n var REF = FUNCTION;\n function NAME(PARAMS) {\n return REF.apply(this, arguments);\n }\n return NAME;\n })()\n`);const h=a.default.statements(`\n function NAME(PARAMS) { return REF.apply(this, arguments); }\n function REF() {\n REF = FUNCTION;\n return REF.apply(this, arguments);\n }\n`);function classOrObjectMethod(e,r){const t=e.node;const s=t.body;const a=l(null,[],o(s.body),true);s.body=[p(i(i(r,[a]),[]))];t.async=false;t.generator=false;e.get("body.body.0.argument.callee.arguments.0").unwrapFunctionEnvironment()}function plainFunction(e,r,t,a){let n=e;let o;let l=null;const p=e.node.params;if(n.isArrowFunctionExpression()){{var b;n=(b=n.arrowFunctionToExpression({noNewArrows:t}))!=null?b:n}o=n.node}else{o=n.node}const x=d(o);let v=o;if(!f(o)){l=o.id;o.id=null;o.type="FunctionExpression";v=i(r,[o])}const j=[];for(const e of p){if(c(e)||u(e)){break}j.push(n.scope.generateUidIdentifier("x"))}const w={NAME:l||null,REF:n.scope.generateUidIdentifier(l?l.name:"ref"),FUNCTION:v,PARAMS:j};if(x){const e=h(w);n.replaceWith(e[0]);n.insertAfter(e[1])}else{let e;if(l){e=g(w)}else{e=y(w);const r=e.callee.body.body[1].argument;(0,s.default)({node:r,parent:n.parent,scope:n.scope});l=r.id}if(l||!a&&j.length){n.replaceWith(e)}else{n.replaceWith(v)}}}function wrapFunction(e,r,t=true,s=false){if(e.isMethod()){classOrObjectMethod(e,r)}else{plainFunction(e,r,t,s)}}},5771:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=highlight;r.shouldHighlight=shouldHighlight;var s=t(8874);var a=t(5018);var n=_interopRequireWildcard(t(1437),true);function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e){return e?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var s={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&{}.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;o&&(o.get||o.set)?Object.defineProperty(s,n,o):s[n]=e[n]}return s.default=e,t&&t.set(e,s),s}const o=typeof process==="object"&&(process.env.FORCE_COLOR==="0"||process.env.FORCE_COLOR==="false")?(0,n.createColors)(false):n.default;const compose=(e,r)=>t=>e(r(t));const i=new Set(["as","async","from","get","of","set"]);function getDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.gray,invalid:compose(compose(e.white,e.bgRed),e.bold)}}const l=/\r\n|[\n\r\u2028\u2029]/;const c=/^[()[\]{}]$/;let d;{const e=/^[a-z][\w-]*$/i;const getTokenType=function(r,t,s){if(r.type==="name"){if((0,a.isKeyword)(r.value)||(0,a.isStrictReservedWord)(r.value,true)||i.has(r.value)){return"keyword"}if(e.test(r.value)&&(s[t-1]==="<"||s.slice(t-2,t)==="r(e))).join("\n")}else{t+=a}}return t}function shouldHighlight(e){return o.isColorSupported||e.forceColor}let u=undefined;function getColors(e){if(e){var r;(r=u)!=null?r:u=(0,n.createColors)(true);return u}return o}function highlight(e,r={}){if(e!==""&&shouldHighlight(r)){const t=getDefs(getColors(r.forceColor));return highlightTokens(t,e)}else{return e}}{let e,s;r.getChalk=({forceColor:r})=>{var a;(a=e)!=null?a:e=t(6148);if(r){var n;(n=s)!=null?n:s=new e.constructor({enabled:true,level:1});return s}return e}}},3636:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});var s=t(5389);function shouldTransform(e){const{node:r}=e;const t=r.id;if(!t)return false;const s=t.name;const a=e.scope.getOwnBinding(s);if(a===undefined){return false}if(a.kind!=="param"){return false}if(a.identifier===a.path.node){return false}return s}var a=s.declare((e=>{e.assertVersion("^7.16.0");return{name:"plugin-bugfix-safari-id-destructuring-collision-in-function-expression",visitor:{FunctionExpression(e){const r=shouldTransform(e);if(r){const{scope:t}=e;const s=t.generateUid(r);t.rename(r,s)}}}}}));r["default"]=a},3257:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});var s=t(5389);var a=t(8220);var n=t(9769);var o=t(8304);function matchAffectedArguments(e){const r=e.findIndex((e=>o.types.isSpreadElement(e)));return r>=0&&r!==e.length-1}function shouldTransform(e){let r=e;const t=[];for(;;){if(r.isOptionalMemberExpression()){t.push(r.node);r=n.skipTransparentExprWrappers(r.get("object"))}else if(r.isOptionalCallExpression()){t.push(r.node);r=n.skipTransparentExprWrappers(r.get("callee"))}else{break}}for(let e=0;e{var r,t;e.assertVersion(7);const s=(r=e.assumption("noDocumentAll"))!=null?r:false;const n=(t=e.assumption("pureGetters"))!=null?t:false;return{name:"bugfix-v8-spread-parameters-in-optional-chaining",visitor:{"OptionalCallExpression|OptionalMemberExpression"(e){if(shouldTransform(e)){a.transform(e,{noDocumentAll:s,pureGetters:n})}}}}}));r["default"]=i},5806:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(6770);var a=t(7953);var n=(0,s.declare)(((e,r)=>{e.assertVersion(7);return(0,a.createClassFeaturePlugin)({name:"proposal-class-properties",api:e,feature:a.FEATURES.fields,loose:r.loose,manipulateOptions(e,r){r.plugins.push("classProperties","classPrivateProperties")}})}));r["default"]=n},4578:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(6770);var a=t(301);var n=t(8304);var o=(0,s.declare)((e=>{e.assertVersion(7);return{name:"proposal-export-namespace-from",inherits:a.default,visitor:{ExportNamedDeclaration(e){var r;const{node:t,scope:s}=e;const{specifiers:a}=t;const o=n.types.isExportDefaultSpecifier(a[0])?1:0;if(!n.types.isExportNamespaceSpecifier(a[o]))return;const i=[];if(o===1){i.push(n.types.exportNamedDeclaration(null,[a.shift()],t.source))}const l=a.shift();const{exported:c}=l;const d=s.generateUidIdentifier((r=c.name)!=null?r:c.value);i.push(n.types.importDeclaration([n.types.importNamespaceSpecifier(d)],n.types.cloneNode(t.source)),n.types.exportNamedDeclaration(null,[n.types.exportSpecifier(n.types.cloneNode(d),c)]));if(t.specifiers.length>=1){i.push(t)}const[u]=e.replaceWithMultiple(i);e.scope.registerDeclaration(u)}}}}));r["default"]=o},4206:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(6770);var a=t(4100);function remover({node:e}){var r;const{extra:t}=e;if(t!=null&&(r=t.raw)!=null&&r.includes("_")){t.raw=t.raw.replace(/_/g,"")}}var n=(0,s.declare)((e=>{e.assertVersion(7);return{name:"proposal-numeric-separator",inherits:a.default,visitor:{NumericLiteral:remover,BigIntLiteral:remover}}}));r["default"]=n},9050:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});var s=t(6770);var a=t(3322);var n=t(8304);var o=t(7255);var i=t(8522);var l=t(8626);function _interopDefaultLegacy(e){return e&&typeof e==="object"&&"default"in e?e:{default:e}}var c=_interopDefaultLegacy(l);const{isObjectProperty:d,isArrayPattern:u,isObjectPattern:p,isAssignmentPattern:f,isRestElement:y,isIdentifier:g}=n.types;function shouldStoreRHSInTemporaryVariable(e){if(u(e)){const r=e.elements.filter((e=>e!==null));if(r.length>1)return true;else return shouldStoreRHSInTemporaryVariable(r[0])}else if(p(e)){const{properties:r}=e;if(r.length>1)return true;else if(r.length===0)return false;else{const e=r[0];if(d(e)){return shouldStoreRHSInTemporaryVariable(e.value)}else{return shouldStoreRHSInTemporaryVariable(e)}}}else if(f(e)){return shouldStoreRHSInTemporaryVariable(e.left)}else if(y(e)){if(g(e.argument))return true;return shouldStoreRHSInTemporaryVariable(e.argument)}else{return false}}const{isAssignmentPattern:h,isObjectProperty:b}=n.types;{const e=n.types.identifier("a");const r=n.types.objectProperty(n.types.identifier("key"),e);const t=n.types.objectPattern([r]);var x=n.types.isReferenced(e,r,t)?1:0}var v=s.declare(((e,r)=>{var t,s,l,d;e.assertVersion(7);const u=e.targets();const p=!i.isRequired("es6.object.assign",u,{compatData:c["default"]});const{useBuiltIns:f=p,loose:y=false}=r;if(typeof y!=="boolean"){throw new Error(".loose must be a boolean, or undefined")}const g=(t=e.assumption("ignoreFunctionLength"))!=null?t:y;const v=(s=e.assumption("objectRestNoSymbols"))!=null?s:y;const j=(l=e.assumption("pureGetters"))!=null?l:y;const w=(d=e.assumption("setSpreadProperties"))!=null?d:y;function getExtendsHelper(e){return f?n.types.memberExpression(n.types.identifier("Object"),n.types.identifier("assign")):e.addHelper("extends")}function hasRestElement(e){let r=false;visitRestElements(e,(e=>{r=true;e.stop()}));return r}function hasObjectPatternRestElement(e){let r=false;visitRestElements(e,(e=>{if(e.parentPath.isObjectPattern()){r=true;e.stop()}}));return r}function visitRestElements(e,r){e.traverse({Expression(e){const{parent:r,key:t}=e;if(h(r)&&t==="right"||b(r)&&r.computed&&t==="key"){e.skip()}},RestElement:r})}function hasSpread(e){for(const r of e.properties){if(n.types.isSpreadElement(r)){return true}}return false}function extractNormalizedKeys(e){const r=e.properties;const t=[];let s=true;let a=false;for(const e of r){if(n.types.isIdentifier(e.key)&&!e.computed){t.push(n.types.stringLiteral(e.key.name))}else if(n.types.isTemplateLiteral(e.key)){t.push(n.types.cloneNode(e.key));a=true}else if(n.types.isLiteral(e.key)){t.push(n.types.stringLiteral(String(e.key.value)))}else{t.push(n.types.cloneNode(e.key));s=false}}return{keys:t,allLiteral:s,hasTemplateLiteral:a}}function replaceImpureComputedKeys(e,r){const t=[];for(const s of e){const e=s.get("key");if(s.node.computed&&!e.isPure()){const s=r.generateUidBasedOnNode(e.node);const a=n.types.variableDeclarator(n.types.identifier(s),e.node);t.push(a);e.replaceWith(n.types.identifier(s))}}return t}function removeUnusedExcludedKeys(e){const r=e.getOuterBindingIdentifierPaths();Object.keys(r).forEach((t=>{const s=r[t].parentPath;if(e.scope.getBinding(t).references>x||!s.isObjectProperty()){return}s.remove()}))}function createObjectRest(e,r,t){const s=e.get("properties");const a=s[s.length-1];n.types.assertRestElement(a.node);const o=n.types.cloneNode(a.node);a.remove();const i=replaceImpureComputedKeys(e.get("properties"),e.scope);const{keys:l,allLiteral:c,hasTemplateLiteral:d}=extractNormalizedKeys(e.node);if(l.length===0){return[i,o.argument,n.types.callExpression(getExtendsHelper(r),[n.types.objectExpression([]),n.types.sequenceExpression([n.types.callExpression(r.addHelper("objectDestructuringEmpty"),[n.types.cloneNode(t)]),n.types.cloneNode(t)])])]}let u;if(!c){u=n.types.callExpression(n.types.memberExpression(n.types.arrayExpression(l),n.types.identifier("map")),[r.addHelper("toPropertyKey")])}else{u=n.types.arrayExpression(l);if(!d&&!n.types.isProgram(e.scope.block)){const r=e.findParent((e=>e.isProgram()));const t=e.scope.generateUidIdentifier("excluded");r.scope.push({id:t,init:u,kind:"const"});u=n.types.cloneNode(t)}}return[i,o.argument,n.types.callExpression(r.addHelper(`objectWithoutProperties${v?"Loose":""}`),[n.types.cloneNode(t),u])]}function replaceRestElement(e,r,t){if(r.isAssignmentPattern()){replaceRestElement(e,r.get("left"),t);return}if(r.isArrayPattern()&&hasRestElement(r)){const s=r.get("elements");for(let r=0;re.skip(),"ReferencedIdentifier|BindingIdentifier":IdentifierHandler},e.scope)}}}if(!a){for(let s=0;se>=n-1||t.has(e);o.convertFunctionParams(e,g,shouldTransformParam,replaceRestElement)}},VariableDeclarator(e,r){if(!e.get("id").isObjectPattern()){return}let t=e;const s=e;visitRestElements(e.get("id"),(e=>{if(!e.parentPath.isObjectPattern()){return}if(shouldStoreRHSInTemporaryVariable(s.node.id)&&!n.types.isIdentifier(s.node.init)){const r=e.scope.generateUidIdentifierBasedOnNode(s.node.init,"ref");s.insertBefore(n.types.variableDeclarator(r,s.node.init));s.replaceWith(n.types.variableDeclarator(s.node.id,n.types.cloneNode(r)));return}let a=s.node.init;const o=[];let i;e.findParent((e=>{if(e.isObjectProperty()){o.unshift(e)}else if(e.isVariableDeclarator()){i=e.parentPath.node.kind;return true}}));const l=replaceImpureComputedKeys(o,e.scope);o.forEach((e=>{const{node:r}=e;a=n.types.memberExpression(a,n.types.cloneNode(r.key),r.computed||n.types.isLiteral(r.key))}));const c=e.findParent((e=>e.isObjectPattern()));const[d,u,p]=createObjectRest(c,r,a);if(j){removeUnusedExcludedKeys(c)}n.types.assertIdentifier(u);t.insertBefore(d);t.insertBefore(l);t=t.insertAfter(n.types.variableDeclarator(u,p))[0];e.scope.registerBinding(i,t);if(c.node.properties.length===0){c.findParent((e=>e.isObjectProperty()||e.isVariableDeclarator())).remove()}}))},ExportNamedDeclaration(e){const r=e.get("declaration");if(!r.isVariableDeclaration())return;const t=r.get("declarations").some((e=>hasObjectPatternRestElement(e.get("id"))));if(!t)return;const s=[];for(const r of Object.keys(e.getOuterBindingIdentifiers(true))){s.push(n.types.exportSpecifier(n.types.identifier(r),n.types.identifier(r)))}e.replaceWith(r.node);e.insertAfter(n.types.exportNamedDeclaration(null,s))},CatchClause(e){const r=e.get("param");replaceRestElement(e,r)},AssignmentExpression(e,r){const t=e.get("left");if(t.isObjectPattern()&&hasRestElement(t)){const s=[];const a=e.scope.generateUidBasedOnNode(e.node.right,"ref");s.push(n.types.variableDeclaration("var",[n.types.variableDeclarator(n.types.identifier(a),e.node.right)]));const[o,i,l]=createObjectRest(t,r,n.types.identifier(a));if(o.length>0){s.push(n.types.variableDeclaration("var",o))}const c=n.types.cloneNode(e.node);c.right=n.types.identifier(a);s.push(n.types.expressionStatement(c));s.push(n.types.expressionStatement(n.types.assignmentExpression("=",i,l)));s.push(n.types.expressionStatement(n.types.identifier(a)));e.replaceWithMultiple(s)}},ForXStatement(e){const{node:r,scope:t}=e;const s=e.get("left");const a=r.left;if(!hasObjectPatternRestElement(s)){return}if(!n.types.isVariableDeclaration(a)){const s=t.generateUidIdentifier("ref");r.left=n.types.variableDeclaration("var",[n.types.variableDeclarator(s)]);e.ensureBlock();const o=e.node.body;if(o.body.length===0&&e.isCompletionRecord()){o.body.unshift(n.types.expressionStatement(t.buildUndefinedNode()))}o.body.unshift(n.types.expressionStatement(n.types.assignmentExpression("=",a,n.types.cloneNode(s))))}else{const s=a.declarations[0].id;const o=t.generateUidIdentifier("ref");r.left=n.types.variableDeclaration(a.kind,[n.types.variableDeclarator(o,null)]);e.ensureBlock();const i=r.body;i.body.unshift(n.types.variableDeclaration(r.left.kind,[n.types.variableDeclarator(s,n.types.cloneNode(o))]))}},ArrayPattern(e){const r=[];visitRestElements(e,(e=>{if(!e.parentPath.isObjectPattern()){return}const t=e.parentPath;const s=e.scope.generateUidIdentifier("ref");r.push(n.types.variableDeclarator(t.node,s));t.replaceWith(n.types.cloneNode(s));e.skip()}));if(r.length>0){const t=e.getStatementParent();const s=t.node;const a=s.type==="VariableDeclaration"?s.kind:"var";t.insertAfter(n.types.variableDeclaration(a,r))}},ObjectExpression(e,r){if(!hasSpread(e.node))return;let t;if(w){t=getExtendsHelper(r)}else{try{t=r.addHelper("objectSpread2")}catch(e){this.file.declarations["objectSpread2"]=null;t=r.addHelper("objectSpread")}}let s=null;let a=[];function make(){const e=a.length>0;const r=n.types.objectExpression(a);a=[];if(!s){s=n.types.callExpression(t,[r]);return}if(j){if(e){s.arguments.push(r)}return}s=n.types.callExpression(n.types.cloneNode(t),[s,...e?[n.types.objectExpression([]),r]:[]])}for(const r of e.node.properties){if(n.types.isSpreadElement(r)){make();s.arguments.push(r.argument)}else{a.push(r)}}if(a.length)make();e.replaceWith(s)}}}}));r["default"]=v},5579:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-import-assertions",manipulateOptions(e,r){r.plugins.push("importAssertions")}}}));r["default"]=a},4810:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)(((e,{deprecatedAssertSyntax:r})=>{e.assertVersion("^7.22.0");if(r!=null&&typeof r!=="boolean"){throw new Error("'deprecatedAssertSyntax' must be a boolean, if specified.")}return{name:"syntax-import-attributes",manipulateOptions({parserOpts:e,generatorOpts:t}){var s;(s=t.importAttributesKeyword)!=null?s:t.importAttributesKeyword="with";e.plugins.push(["importAttributes",{deprecatedAssertSyntax:Boolean(r)}])}}}));r["default"]=a},6085:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)((e=>{e.assertVersion(7);return{name:"syntax-jsx",manipulateOptions(e,r){{if(r.plugins.some((e=>(Array.isArray(e)?e[0]:e)==="typescript"))){return}}r.plugins.push("jsx")}}}));r["default"]=a},6141:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(8863);{var removePlugin=function(e,r){const t=[];e.forEach(((e,s)=>{const a=Array.isArray(e)?e[0]:e;if(a===r){t.unshift(s)}}));for(const r of t){e.splice(r,1)}}}var a=(0,s.declare)(((e,r)=>{e.assertVersion(7);const{disallowAmbiguousJSXLike:t,dts:s}=r;{var{isTSX:a}=r}return{name:"syntax-typescript",manipulateOptions(e,r){{const{plugins:e}=r;removePlugin(e,"flow");removePlugin(e,"jsx");e.push("objectRestSpread","classProperties");if(a){e.push("jsx")}}r.plugins.push(["typescript",{disallowAmbiguousJSXLike:t,dts:s}])}}}));r["default"]=a},6237:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(2269);var a=t(8863);var n=(0,a.declare)((e=>{e.assertVersion(7);return(0,s.createRegExpFeaturePlugin)({name:"syntax-unicode-sets-regex",feature:"unicodeSetsFlag_syntax",manipulateOptions(e,r){r.plugins.push("regexpUnicodeSets")}})}));r["default"]=n},3628:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=(0,s.declare)(((e,r)=>{var t;e.assertVersion(7);const s=(t=e.assumption("noNewArrows"))!=null?t:!r.spec;return{name:"transform-arrow-functions",visitor:{ArrowFunctionExpression(e){if(!e.isArrowFunctionExpression())return;{e.arrowFunctionToExpression({allowInsertArrow:false,noNewArrows:s,specCompliant:!s})}}}}}));r["default"]=a},1971:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=_default;var s=t(8304);const a=(0,s.template)(`\n async function wrapper() {\n var ITERATOR_ABRUPT_COMPLETION = false;\n var ITERATOR_HAD_ERROR_KEY = false;\n var ITERATOR_ERROR_KEY;\n try {\n for (\n var ITERATOR_KEY = GET_ITERATOR(OBJECT), STEP_KEY;\n ITERATOR_ABRUPT_COMPLETION = !(STEP_KEY = await ITERATOR_KEY.next()).done;\n ITERATOR_ABRUPT_COMPLETION = false\n ) {\n }\n } catch (err) {\n ITERATOR_HAD_ERROR_KEY = true;\n ITERATOR_ERROR_KEY = err;\n } finally {\n try {\n if (ITERATOR_ABRUPT_COMPLETION && ITERATOR_KEY.return != null) {\n await ITERATOR_KEY.return();\n }\n } finally {\n if (ITERATOR_HAD_ERROR_KEY) {\n throw ITERATOR_ERROR_KEY;\n }\n }\n }\n }\n`);function _default(e,{getAsyncIterator:r}){const{node:t,scope:n,parent:o}=e;const i=n.generateUidIdentifier("step");const l=s.types.memberExpression(i,s.types.identifier("value"));const c=t.left;let d;if(s.types.isIdentifier(c)||s.types.isPattern(c)||s.types.isMemberExpression(c)){d=s.types.expressionStatement(s.types.assignmentExpression("=",c,l))}else if(s.types.isVariableDeclaration(c)){d=s.types.variableDeclaration(c.kind,[s.types.variableDeclarator(c.declarations[0].id,l)])}let u=a({ITERATOR_HAD_ERROR_KEY:n.generateUidIdentifier("didIteratorError"),ITERATOR_ABRUPT_COMPLETION:n.generateUidIdentifier("iteratorAbruptCompletion"),ITERATOR_ERROR_KEY:n.generateUidIdentifier("iteratorError"),ITERATOR_KEY:n.generateUidIdentifier("iterator"),GET_ITERATOR:r,OBJECT:t.right,STEP_KEY:s.types.cloneNode(i)});u=u.body.body;const p=s.types.isLabeledStatement(o);const f=u[3].block.body;const y=f[0];if(p){f[0]=s.types.labeledStatement(o.label,y)}return{replaceParent:p,node:u,declar:d,loop:y}}},4766:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(322);var n=t(8304);var o=t(1971);var i=t(8552);var l=(0,s.declare)((e=>{e.assertVersion(7);const r=n.traverse.visitors.merge([{ArrowFunctionExpression(e){e.skip()},YieldExpression({node:e},r){if(!e.delegate)return;const t=n.types.callExpression(r.addHelper("asyncIterator"),[e.argument]);e.argument=n.types.callExpression(r.addHelper("asyncGeneratorDelegate"),[t,r.addHelper("awaitAsyncGenerator")])}},i.default]);const s=n.traverse.visitors.merge([{ArrowFunctionExpression(e){e.skip()},ForOfStatement(e,{file:r}){const{node:t}=e;if(!t.await)return;const s=(0,o.default)(e,{getAsyncIterator:r.addHelper("asyncIterator")});const{declar:a,loop:i}=s;const l=i.body;e.ensureBlock();if(a){l.body.push(a);if(e.node.body.body.length){l.body.push(n.types.blockStatement(e.node.body.body))}}else{l.body.push(...e.node.body.body)}n.types.inherits(i,t);n.types.inherits(i.body,t.body);const c=s.replaceParent?e.parentPath:e;c.replaceWithMultiple(s.node);c.scope.parent.crawl()}},i.default]);const l={Function(e,t){if(!e.node.async)return;e.traverse(s,t);if(!e.node.generator)return;e.traverse(r,t);(0,a.default)(e,{wrapAsync:t.addHelper("wrapAsyncGenerator"),wrapAwait:t.addHelper("awaitAsyncGenerator")})}};return{name:"transform-async-generator-functions",inherits:t(3975)["default"],visitor:{Program(e,r){e.traverse(l,r)}}}}));r["default"]=l},3055:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(322);var n=t(3380);var o=t(8304);var i=(0,s.declare)(((e,r)=>{var t,s;e.assertVersion(7);const{method:i,module:l}=r;const c=(t=e.assumption("noNewArrows"))!=null?t:true;const d=(s=e.assumption("ignoreFunctionLength"))!=null?s:false;if(i&&l){return{name:"transform-async-to-generator",visitor:{Function(e,r){if(!e.node.async||e.node.generator)return;let t=r.methodWrapper;if(t){t=o.types.cloneNode(t)}else{t=r.methodWrapper=(0,n.addNamed)(e,i,l)}(0,a.default)(e,{wrapAsync:t},c,d)}}}}return{name:"transform-async-to-generator",visitor:{Function(e,r){if(!e.node.async||e.node.generator)return;(0,a.default)(e,{wrapAsync:r.addHelper("asyncToGenerator")},c,d)}}}}));r["default"]=i},1242:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(8304);var n=(0,s.declare)((e=>{e.assertVersion(7);function transformStatementList(e){for(const r of e){if(!r.isFunctionDeclaration())continue;const e=r.node;const t=a.types.variableDeclaration("let",[a.types.variableDeclarator(e.id,a.types.toExpression(e))]);t._blockHoist=2;e.id=null;r.replaceWith(t)}}return{name:"transform-block-scoped-functions",visitor:{BlockStatement(e){const{node:r,parent:t}=e;if(a.types.isFunction(t,{body:r})||a.types.isExportDeclaration(t)){return}transformStatementList(e.get("body"))},SwitchCase(e){transformStatementList(e.get("consequent"))}}}}));r["default"]=n},4700:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.annexB33FunctionsVisitor=void 0;r.isVarScope=isVarScope;var s=t(8304);const a={VariableDeclaration(e){if(isStrict(e))return;if(e.node.kind!=="var")return;const r=e.scope.getFunctionParent()||e.scope.getProgramParent();r.path.traverse(n,{names:Object.keys(e.getBindingIdentifiers())})},BlockStatement(e){if(isStrict(e))return;if(s.types.isFunction(e.parent,{body:e.node}))return;transformStatementList(e.get("body"))},SwitchCase(e){if(isStrict(e))return;transformStatementList(e.get("consequent"))}};r.annexB33FunctionsVisitor=a;function transformStatementList(e){e:for(const r of e){if(!r.isFunctionDeclaration())continue;if(r.node.async||r.node.generator)return;const{scope:e}=r.parentPath;if(isVarScope(e))return;const{name:t}=r.node.id;let s=e;do{if(s.parent.hasOwnBinding(t))continue e;s=s.parent}while(!isVarScope(s));maybeTransformBlockScopedFunction(r)}}function maybeTransformBlockScopedFunction(e){const{node:r,parentPath:{scope:t}}=e;const{id:a}=r;t.removeOwnBinding(a.name);r.id=null;const n=s.types.variableDeclaration("var",[s.types.variableDeclarator(a,s.types.toExpression(r))]);n._blockHoist=2;const[o]=e.replaceWith(n);t.registerDeclaration(o)}const n={Scope(e,{names:r}){for(const t of r){const r=e.scope.getOwnBinding(t);if(r&&r.kind==="hoisted"){maybeTransformBlockScopedFunction(r.path)}}},"Expression|Declaration"(e){e.skip()}};function isVarScope(e){return e.path.isFunctionParent()||e.path.isProgram()}function isStrict(e){return!!e.find((({node:e})=>{var r;if(s.types.isProgram(e)){if(e.sourceType==="module")return true}else if(s.types.isClass(e)){return true}else if(!s.types.isBlockStatement(e)){return false}return(r=e.directives)==null?void 0:r.some((e=>e.value.value==="use strict"))}))}},6383:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r["default"]=void 0;var s=t(5389);var a=t(8304);var n=t(6713);var o=t(8643);var i=t(4700);var l=(0,s.declare)(((e,r)=>{e.assertVersion(7);const{throwIfClosureRequired:t=false,tdz:s=false}=r;if(typeof t!=="boolean"){throw new Error(`.throwIfClosureRequired must be a boolean, or undefined`)}if(typeof s!=="boolean"){throw new Error(`.tdz must be a boolean, or undefined`)}return{name:"transform-block-scoping",visitor:a.traverse.visitors.merge([i.annexB33FunctionsVisitor,{Loop(e,r){const a=e.isForStatement();const o=a?e.get("init"):e.isForXStatement()?e.get("left"):null;let i=false;const markNeedsBodyWrap=()=>{if(t){throw e.buildCodeFrameError("Compiling let/const in this block would add a closure "+"(throwIfClosureRequired).")}i=true};const l=e.get("body");let c;if(l.isBlockStatement()){c=l.scope;const r=(0,n.getLoopBodyBindings)(e);for(const t of r){const{capturedInClosure:r}=(0,n.getUsageInBody)(t,e);if(r)markNeedsBodyWrap()}}const d=[];const u=new Map;if(o&&isBlockScoped(o.node)){const r=Object.keys(o.getBindingIdentifiers());const t=o.scope;for(let s of r){var p;if((p=c)!=null&&p.hasOwnBinding(s))continue;let r=t.getOwnBinding(s);if(!r){t.crawl();r=t.getOwnBinding(s)}const{usages:o,capturedInClosure:i,hasConstantViolations:l}=(0,n.getUsageInBody)(r,e);if(t.parent.hasBinding(s)||t.parent.hasGlobal(s)){const e=t.generateUid(s);t.rename(s,e);s=e}if(i){markNeedsBodyWrap();d.push(s)}if(a&&l){u.set(s,o)}}}if(i){const t=(0,n.wrapLoopBody)(e,d,u);if(o!=null&&o.isVariableDeclaration()){transformBlockScopedVariable(o,r,s)}t.get("declarations.0.init").unwrapFunctionEnvironment()}},VariableDeclaration(e,r){transformBlockScopedVariable(e,r,s)},ClassDeclaration(e){const{id:r}=e.node;if(!r)return;const{scope:t}=e.parentPath;if(!(0,i.isVarScope)(t)&&t.parent.hasBinding(r.name,{noUids:true})){e.scope.rename(r.name)}}}])}}));r["default"]=l;const c={Scope(e,{names:r}){for(const t of r){const r=e.scope.getOwnBinding(t);if(r&&r.kind==="hoisted"){e.scope.rename(t)}}},"Expression|Declaration"(e){e.skip()}};function transformBlockScopedVariable(e,r,t){if(!isBlockScoped(e.node))return;const s=(0,o.validateUsage)(e,r,t);e.node.kind="var";const i=Object.keys(e.getBindingIdentifiers());for(const r of i){const t=e.scope.getOwnBinding(r);if(!t)continue;t.kind="var"}if(isInLoop(e)&&!(0,n.isVarInLoopHead)(e)||s.length>0){for(const r of e.node.declarations){var l;(l=r.init)!=null?l:r.init=e.scope.buildUndefinedNode()}}const d=e.scope;const u=d.getFunctionParent()||d.getProgramParent();if(u!==d){for(const e of i){let r=e;if(d.parent.hasBinding(e,{noUids:true})||d.parent.hasGlobal(e)){r=d.generateUid(e);d.rename(e,r)}d.moveBindingTo(r,u)}}d.path.traverse(c,{names:i});for(const t of s){e.scope.push({id:a.types.identifier(t),init:r.addHelper("temporalUndefined")})}}function isLetOrConst(e){return e==="let"||e==="const"}function isInLoop(e){if(!e.parentPath)return false;if(e.parentPath.isLoop())return true;if(e.parentPath.isFunctionParent())return false;return isInLoop(e.parentPath)}function isBlockScoped(e){if(!a.types.isVariableDeclaration(e))return false;if(e[a.types.BLOCK_SCOPED_SYMBOL]){return true}if(!isLetOrConst(e.kind)&&e.kind!=="using"){return false}return true}},6713:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.getLoopBodyBindings=getLoopBodyBindings;r.getUsageInBody=getUsageInBody;r.isVarInLoopHead=isVarInLoopHead;r.wrapLoopBody=wrapLoopBody;var s=t(8304);const a={"Expression|Declaration|Loop"(e){e.skip()},Scope(e,r){if(e.isFunctionParent())e.skip();const{bindings:t}=e.scope;for(const e of Object.keys(t)){const s=t[e];if(s.kind==="let"||s.kind==="const"||s.kind==="hoisted"){r.blockScoped.push(s)}}}};function getLoopBodyBindings(e){const r={blockScoped:[]};e.traverse(a,r);return r.blockScoped}function getUsageInBody(e,r){const t=new WeakSet;let s=false;const a=filterMap(e.constantViolations,(e=>{const{inBody:a,inClosure:n}=relativeLoopLocation(e,r);if(!a)return null;s||(s=n);const o=e.isUpdateExpression()?e.get("argument"):e.isAssignmentExpression()?e.get("left"):null;if(o)t.add(o.node);return o}));const n=filterMap(e.referencePaths,(e=>{if(t.has(e.node))return null;const{inBody:a,inClosure:n}=relativeLoopLocation(e,r);if(!a)return null;s||(s=n);return e}));return{capturedInClosure:s,hasConstantViolations:a.length>0,usages:n.concat(a)}}function relativeLoopLocation(e,r){const t=r.get("body");let s=false;for(let a=e;a;a=a.parentPath){if(a.isFunction()||a.isClass()||a.isMethod()){s=true}if(a===t){return{inBody:true,inClosure:s}}else if(a===r){return{inBody:false,inClosure:s}}}throw new Error("Internal Babel error: path is not in loop. Please report this as a bug.")}const n={Function(e){e.skip()},LabeledStatement:{enter({node:e},r){r.labelsStack.push(e.label.name)},exit({node:e},r){const t=r.labelsStack.pop();if(t!==e.label.name){throw new Error("Assertion failure. Please report this bug to Babel.")}}},Loop:{enter(e,r){r.labellessContinueTargets++;r.labellessBreakTargets++},exit(e,r){r.labellessContinueTargets--;r.labellessBreakTargets--}},SwitchStatement:{enter(e,r){r.labellessBreakTargets++},exit(e,r){r.labellessBreakTargets--}},"BreakStatement|ContinueStatement"(e,r){const{label:t}=e.node;if(t){if(r.labelsStack.includes(t.name))return}else if(e.isBreakStatement()?r.labellessBreakTargets>0:r.labellessContinueTargets>0){return}r.breaksContinues.push(e)},ReturnStatement(e,r){r.returns.push(e)},VariableDeclaration(e,r){if(e.parent===r.loopNode&&isVarInLoopHead(e))return;if(e.node.kind==="var")r.vars.push(e)}};function wrapLoopBody(e,r,t){const a=e.node;const o={breaksContinues:[],returns:[],labelsStack:[],labellessBreakTargets:0,labellessContinueTargets:0,vars:[],loopNode:a};e.traverse(n,o);const i=[];const l=[];const c=[];for(const[r,a]of t){i.push(s.types.identifier(r));const t=e.scope.generateUid(r);l.push(s.types.identifier(t));c.push(s.types.assignmentExpression("=",s.types.identifier(r),s.types.identifier(t)));for(const e of a)e.replaceWith(s.types.identifier(t))}for(const e of r){if(t.has(e))continue;i.push(s.types.identifier(e));l.push(s.types.identifier(e))}const d=e.scope.generateUid("loop");const u=s.types.functionExpression(null,l,s.types.toBlock(a.body));let p=s.types.callExpression(s.types.identifier(d),i);const f=e.findParent((e=>e.isFunction()));if(f){const{async:e,generator:r}=f.node;u.async=e;u.generator=r;if(r)p=s.types.yieldExpression(p,true);else if(e)p=s.types.awaitExpression(p)}const y=c.length>0?s.types.expressionStatement(s.types.sequenceExpression(c)):null;if(y)u.body.body.push(y);const[g]=e.insertBefore(s.types.variableDeclaration("var",[s.types.variableDeclarator(s.types.identifier(d),u)]));const h=[];const b=[];for(const e of o.vars){const r=[];for(const t of e.node.declarations){b.push(...Object.keys(s.types.getBindingIdentifiers(t.id)));if(t.init){r.push(s.types.assignmentExpression("=",t.id,t.init))}}if(r.length>0){let t=r.length===1?r[0]:s.types.sequenceExpression(r);if(!s.types.isForStatement(e.parent,{init:e.node})&&!s.types.isForXStatement(e.parent,{left:e.node})){t=s.types.expressionStatement(t)}e.replaceWith(t)}else{e.remove()}}if(b.length){g.pushContainer("declarations",b.map((e=>s.types.variableDeclarator(s.types.identifier(e)))))}const x=o.breaksContinues.length;const v=o.returns.length;if(x+v===0){h.push(s.types.expressionStatement(p))}else if(x===1&&v===0){for(const e of o.breaksContinues){const{node:r}=e;const{type:t,label:a}=r;let n=t==="BreakStatement"?"break":"continue";if(a)n+=" "+a.name;e.replaceWith(s.types.addComment(s.types.returnStatement(s.types.numericLiteral(1)),"trailing"," "+n,true));if(y)e.insertBefore(s.types.cloneNode(y));h.push(s.template.statement.ast` if (${p}) ${r} `)}}else{const r=e.scope.generateUid("ret");if(g.isVariableDeclaration()){g.pushContainer("declarations",[s.types.variableDeclarator(s.types.identifier(r))]);h.push(s.types.expressionStatement(s.types.assignmentExpression("=",s.types.identifier(r),p)))}else{h.push(s.types.variableDeclaration("var",[s.types.variableDeclarator(s.types.identifier(r),p)]))}const t=[];for(const e of o.breaksContinues){const{node:a}=e;const{type:n,label:o}=a;let i=n==="BreakStatement"?"break":"continue";if(o)i+=" "+o.name;let l=t.indexOf(i);const c=l!==-1;if(!c){t.push(i);l=t.length-1}e.replaceWith(s.types.addComment(s.types.returnStatement(s.types.numericLiteral(l)),"trailing"," "+i,true));if(y)e.insertBefore(s.types.cloneNode(y));if(c)continue;h.push(s.template.statement.ast` if (${s.types.identifier(r)} === ${s.types.numericLiteral(l)}) ${a} diff --git a/packages/next/src/compiled/debug/index.js b/packages/next/src/compiled/debug/index.js index 819ef0a8d9026..87dea6b31eab1 100644 --- a/packages/next/src/compiled/debug/index.js +++ b/packages/next/src/compiled/debug/index.js @@ -1 +1 @@ -(()=>{var e={237:(e,t,r)=>{t.log=log;t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.storage=localstorage();t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function useColors(){if(typeof window!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)){return true}if(typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)){return false}return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function formatArgs(t){t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff);if(!this.useColors){return}const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let s=0;let n=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{if(e==="%%"){return}s++;if(e==="%c"){n=s}}));t.splice(n,0,r)}function log(...e){return typeof console==="object"&&console.log&&console.log(...e)}function save(e){try{if(e){t.storage.setItem("debug",e)}else{t.storage.removeItem("debug")}}catch(e){}}function load(){let e;try{e=t.storage.getItem("debug")}catch(e){}if(!e&&typeof process!=="undefined"&&"env"in process){e=process.env.DEBUG}return e}function localstorage(){try{return localStorage}catch(e){}}e.exports=r(573)(t);const{formatters:s}=e.exports;s.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},573:(e,t,r)=>{function setup(e){createDebug.debug=createDebug;createDebug.default=createDebug;createDebug.coerce=coerce;createDebug.disable=disable;createDebug.enable=enable;createDebug.enabled=enabled;createDebug.humanize=r(958);Object.keys(e).forEach((t=>{createDebug[t]=e[t]}));createDebug.instances=[];createDebug.names=[];createDebug.skips=[];createDebug.formatters={};function selectColor(e){let t=0;for(let r=0;r{if(t==="%%"){return t}o++;const n=createDebug.formatters[s];if(typeof n==="function"){const s=e[o];t=n.call(r,s);e.splice(o,1);o--}return t}));createDebug.formatArgs.call(r,e);const c=r.log||createDebug.log;c.apply(r,e)}debug.namespace=e;debug.enabled=createDebug.enabled(e);debug.useColors=createDebug.useColors();debug.color=selectColor(e);debug.destroy=destroy;debug.extend=extend;if(typeof createDebug.init==="function"){createDebug.init(debug)}createDebug.instances.push(debug);return debug}function destroy(){const e=createDebug.instances.indexOf(this);if(e!==-1){createDebug.instances.splice(e,1);return true}return false}function extend(e,t){const r=createDebug(this.namespace+(typeof t==="undefined"?":":t)+e);r.log=this.log;return r}function enable(e){createDebug.save(e);createDebug.names=[];createDebug.skips=[];let t;const r=(typeof e==="string"?e:"").split(/[\s,]+/);const s=r.length;for(t=0;t"-"+e))].join(",");createDebug.enable("");return e}function enabled(e){if(e[e.length-1]==="*"){return true}let t;let r;for(t=0,r=createDebug.skips.length;t{if(typeof process==="undefined"||process.type==="renderer"||process.browser===true||process.__nwjs){e.exports=r(237)}else{e.exports=r(354)}},354:(e,t,r)=>{const s=r(224);const n=r(837);t.init=init;t.log=log;t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.colors=[6,2,3,4,5,1];try{const e=r(178);if(e&&(e.stderr||e).level>=2){t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const r=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let s=process.env[t];if(/^(yes|on|true|enabled)$/i.test(s)){s=true}else if(/^(no|off|false|disabled)$/i.test(s)){s=false}else if(s==="null"){s=null}else{s=Number(s)}e[r]=s;return e}),{});function useColors(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):s.isatty(process.stderr.fd)}function formatArgs(t){const{namespace:r,useColors:s}=this;if(s){const s=this.color;const n="[3"+(s<8?s:"8;5;"+s);const o=` ${n};1m${r} `;t[0]=o+t[0].split("\n").join("\n"+o);t.push(n+"m+"+e.exports.humanize(this.diff)+"")}else{t[0]=getDate()+r+" "+t[0]}}function getDate(){if(t.inspectOpts.hideDate){return""}return(new Date).toISOString()+" "}function log(...e){return process.stderr.write(n.format(...e)+"\n")}function save(e){if(e){process.env.DEBUG=e}else{delete process.env.DEBUG}}function load(){return process.env.DEBUG}function init(e){e.inspectOpts={};const r=Object.keys(t.inspectOpts);for(let s=0;s{"use strict";e.exports=(e,t=process.argv)=>{const r=e.startsWith("-")?"":e.length===1?"-":"--";const s=t.indexOf(r+e);const n=t.indexOf("--");return s!==-1&&(n===-1||s{var t=1e3;var r=t*60;var s=r*60;var n=s*24;var o=n*7;var c=n*365.25;e.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0){return parse(e)}else if(r==="number"&&isFinite(e)){return t.long?fmtLong(e):fmtShort(e)}throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function parse(e){e=String(e);if(e.length>100){return}var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!a){return}var u=parseFloat(a[1]);var i=(a[2]||"ms").toLowerCase();switch(i){case"years":case"year":case"yrs":case"yr":case"y":return u*c;case"weeks":case"week":case"w":return u*o;case"days":case"day":case"d":return u*n;case"hours":case"hour":case"hrs":case"hr":case"h":return u*s;case"minutes":case"minute":case"mins":case"min":case"m":return u*r;case"seconds":case"second":case"secs":case"sec":case"s":return u*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return u;default:return undefined}}function fmtShort(e){var o=Math.abs(e);if(o>=n){return Math.round(e/n)+"d"}if(o>=s){return Math.round(e/s)+"h"}if(o>=r){return Math.round(e/r)+"m"}if(o>=t){return Math.round(e/t)+"s"}return e+"ms"}function fmtLong(e){var o=Math.abs(e);if(o>=n){return plural(e,o,n,"day")}if(o>=s){return plural(e,o,s,"hour")}if(o>=r){return plural(e,o,r,"minute")}if(o>=t){return plural(e,o,t,"second")}return e+" ms"}function plural(e,t,r,s){var n=t>=r*1.5;return Math.round(e/r)+" "+s+(n?"s":"")}},178:(e,t,r)=>{"use strict";const s=r(37);const n=r(224);const o=r(914);const{env:c}=process;let a;if(o("no-color")||o("no-colors")||o("color=false")||o("color=never")){a=0}else if(o("color")||o("colors")||o("color=true")||o("color=always")){a=1}function envForceColor(){if("FORCE_COLOR"in c){if(c.FORCE_COLOR==="true"){return 1}if(c.FORCE_COLOR==="false"){return 0}return c.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(c.FORCE_COLOR,10),3)}}function translateLevel(e){if(e===0){return false}return{level:e,hasBasic:true,has256:e>=2,has16m:e>=3}}function supportsColor(e,{streamIsTTY:t,sniffFlags:r=true}={}){const n=envForceColor();if(n!==undefined){a=n}const u=r?a:n;if(u===0){return 0}if(r){if(o("color=16m")||o("color=full")||o("color=truecolor")){return 3}if(o("color=256")){return 2}}if(e&&!t&&u===undefined){return 0}const i=u||0;if(c.TERM==="dumb"){return i}if(process.platform==="win32"){const e=s.release().split(".");if(Number(e[0])>=10&&Number(e[2])>=10586){return Number(e[2])>=14931?3:2}return 1}if("CI"in c){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some((e=>e in c))||c.CI_NAME==="codeship"){return 1}return i}if("TEAMCITY_VERSION"in c){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(c.TEAMCITY_VERSION)?1:0}if(c.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in c){const e=Number.parseInt((c.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(c.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(c.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(c.TERM)){return 1}if("COLORTERM"in c){return 1}return i}function getSupportLevel(e,t={}){const r=supportsColor(e,{streamIsTTY:e&&e.isTTY,...t});return translateLevel(r)}e.exports={supportsColor:getSupportLevel,stdout:getSupportLevel({isTTY:n.isatty(1)}),stderr:getSupportLevel({isTTY:n.isatty(2)})}},37:e=>{"use strict";e.exports=require("os")},224:e=>{"use strict";e.exports=require("tty")},837:e=>{"use strict";e.exports=require("util")}};var t={};function __nccwpck_require__(r){var s=t[r];if(s!==undefined){return s.exports}var n=t[r]={exports:{}};var o=true;try{e[r](n,n.exports,__nccwpck_require__);o=false}finally{if(o)delete t[r]}return n.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(792);module.exports=r})(); \ No newline at end of file +(()=>{var e={237:(e,t,r)=>{t.log=log;t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.storage=localstorage();t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function useColors(){if(typeof window!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)){return true}if(typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)){return false}return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function formatArgs(t){t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff);if(!this.useColors){return}const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let s=0;let n=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{if(e==="%%"){return}s++;if(e==="%c"){n=s}}));t.splice(n,0,r)}function log(...e){return typeof console==="object"&&console.log&&console.log(...e)}function save(e){try{if(e){t.storage.setItem("debug",e)}else{t.storage.removeItem("debug")}}catch(e){}}function load(){let e;try{e=t.storage.getItem("debug")}catch(e){}if(!e&&typeof process!=="undefined"&&"env"in process){e=process.env.DEBUG}return e}function localstorage(){try{return localStorage}catch(e){}}e.exports=r(573)(t);const{formatters:s}=e.exports;s.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},573:(e,t,r)=>{function setup(e){createDebug.debug=createDebug;createDebug.default=createDebug;createDebug.coerce=coerce;createDebug.disable=disable;createDebug.enable=enable;createDebug.enabled=enabled;createDebug.humanize=r(958);Object.keys(e).forEach((t=>{createDebug[t]=e[t]}));createDebug.instances=[];createDebug.names=[];createDebug.skips=[];createDebug.formatters={};function selectColor(e){let t=0;for(let r=0;r{if(t==="%%"){return t}o++;const n=createDebug.formatters[s];if(typeof n==="function"){const s=e[o];t=n.call(r,s);e.splice(o,1);o--}return t}));createDebug.formatArgs.call(r,e);const c=r.log||createDebug.log;c.apply(r,e)}debug.namespace=e;debug.enabled=createDebug.enabled(e);debug.useColors=createDebug.useColors();debug.color=selectColor(e);debug.destroy=destroy;debug.extend=extend;if(typeof createDebug.init==="function"){createDebug.init(debug)}createDebug.instances.push(debug);return debug}function destroy(){const e=createDebug.instances.indexOf(this);if(e!==-1){createDebug.instances.splice(e,1);return true}return false}function extend(e,t){const r=createDebug(this.namespace+(typeof t==="undefined"?":":t)+e);r.log=this.log;return r}function enable(e){createDebug.save(e);createDebug.names=[];createDebug.skips=[];let t;const r=(typeof e==="string"?e:"").split(/[\s,]+/);const s=r.length;for(t=0;t"-"+e))].join(",");createDebug.enable("");return e}function enabled(e){if(e[e.length-1]==="*"){return true}let t;let r;for(t=0,r=createDebug.skips.length;t{if(typeof process==="undefined"||process.type==="renderer"||process.browser===true||process.__nwjs){e.exports=r(237)}else{e.exports=r(354)}},354:(e,t,r)=>{const s=r(224);const n=r(837);t.init=init;t.log=log;t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.colors=[6,2,3,4,5,1];try{const e=r(793);if(e&&(e.stderr||e).level>=2){t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const r=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let s=process.env[t];if(/^(yes|on|true|enabled)$/i.test(s)){s=true}else if(/^(no|off|false|disabled)$/i.test(s)){s=false}else if(s==="null"){s=null}else{s=Number(s)}e[r]=s;return e}),{});function useColors(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):s.isatty(process.stderr.fd)}function formatArgs(t){const{namespace:r,useColors:s}=this;if(s){const s=this.color;const n="[3"+(s<8?s:"8;5;"+s);const o=` ${n};1m${r} `;t[0]=o+t[0].split("\n").join("\n"+o);t.push(n+"m+"+e.exports.humanize(this.diff)+"")}else{t[0]=getDate()+r+" "+t[0]}}function getDate(){if(t.inspectOpts.hideDate){return""}return(new Date).toISOString()+" "}function log(...e){return process.stderr.write(n.format(...e)+"\n")}function save(e){if(e){process.env.DEBUG=e}else{delete process.env.DEBUG}}function load(){return process.env.DEBUG}function init(e){e.inspectOpts={};const r=Object.keys(t.inspectOpts);for(let s=0;s{"use strict";e.exports=(e,t=process.argv)=>{const r=e.startsWith("-")?"":e.length===1?"-":"--";const s=t.indexOf(r+e);const n=t.indexOf("--");return s!==-1&&(n===-1||s{var t=1e3;var r=t*60;var s=r*60;var n=s*24;var o=n*7;var c=n*365.25;e.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0){return parse(e)}else if(r==="number"&&isFinite(e)){return t.long?fmtLong(e):fmtShort(e)}throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function parse(e){e=String(e);if(e.length>100){return}var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!a){return}var u=parseFloat(a[1]);var i=(a[2]||"ms").toLowerCase();switch(i){case"years":case"year":case"yrs":case"yr":case"y":return u*c;case"weeks":case"week":case"w":return u*o;case"days":case"day":case"d":return u*n;case"hours":case"hour":case"hrs":case"hr":case"h":return u*s;case"minutes":case"minute":case"mins":case"min":case"m":return u*r;case"seconds":case"second":case"secs":case"sec":case"s":return u*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return u;default:return undefined}}function fmtShort(e){var o=Math.abs(e);if(o>=n){return Math.round(e/n)+"d"}if(o>=s){return Math.round(e/s)+"h"}if(o>=r){return Math.round(e/r)+"m"}if(o>=t){return Math.round(e/t)+"s"}return e+"ms"}function fmtLong(e){var o=Math.abs(e);if(o>=n){return plural(e,o,n,"day")}if(o>=s){return plural(e,o,s,"hour")}if(o>=r){return plural(e,o,r,"minute")}if(o>=t){return plural(e,o,t,"second")}return e+" ms"}function plural(e,t,r,s){var n=t>=r*1.5;return Math.round(e/r)+" "+s+(n?"s":"")}},793:(e,t,r)=>{"use strict";const s=r(37);const n=r(224);const o=r(914);const{env:c}=process;let a;if(o("no-color")||o("no-colors")||o("color=false")||o("color=never")){a=0}else if(o("color")||o("colors")||o("color=true")||o("color=always")){a=1}if("FORCE_COLOR"in c){if(c.FORCE_COLOR==="true"){a=1}else if(c.FORCE_COLOR==="false"){a=0}else{a=c.FORCE_COLOR.length===0?1:Math.min(parseInt(c.FORCE_COLOR,10),3)}}function translateLevel(e){if(e===0){return false}return{level:e,hasBasic:true,has256:e>=2,has16m:e>=3}}function supportsColor(e,t){if(a===0){return 0}if(o("color=16m")||o("color=full")||o("color=truecolor")){return 3}if(o("color=256")){return 2}if(e&&!t&&a===undefined){return 0}const r=a||0;if(c.TERM==="dumb"){return r}if(process.platform==="win32"){const e=s.release().split(".");if(Number(e[0])>=10&&Number(e[2])>=10586){return Number(e[2])>=14931?3:2}return 1}if("CI"in c){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in c))||c.CI_NAME==="codeship"){return 1}return r}if("TEAMCITY_VERSION"in c){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(c.TEAMCITY_VERSION)?1:0}if(c.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in c){const e=parseInt((c.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(c.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(c.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(c.TERM)){return 1}if("COLORTERM"in c){return 1}return r}function getSupportLevel(e){const t=supportsColor(e,e&&e.isTTY);return translateLevel(t)}e.exports={supportsColor:getSupportLevel,stdout:translateLevel(supportsColor(true,n.isatty(1))),stderr:translateLevel(supportsColor(true,n.isatty(2)))}},37:e=>{"use strict";e.exports=require("os")},224:e=>{"use strict";e.exports=require("tty")},837:e=>{"use strict";e.exports=require("util")}};var t={};function __nccwpck_require__(r){var s=t[r];if(s!==undefined){return s.exports}var n=t[r]={exports:{}};var o=true;try{e[r](n,n.exports,__nccwpck_require__);o=false}finally{if(o)delete t[r]}return n.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(792);module.exports=r})(); \ No newline at end of file diff --git a/packages/next/src/compiled/glob/glob.js b/packages/next/src/compiled/glob/glob.js index 53acc94b25eed..4c0401ef2d077 100644 --- a/packages/next/src/compiled/glob/glob.js +++ b/packages/next/src/compiled/glob/glob.js @@ -1 +1 @@ -(()=>{var t={442:t=>{"use strict";t.exports=balanced;function balanced(t,e,r){if(t instanceof RegExp)t=maybeMatch(t,r);if(e instanceof RegExp)e=maybeMatch(e,r);var i=range(t,e,r);return i&&{start:i[0],end:i[1],pre:r.slice(0,i[0]),body:r.slice(i[0]+t.length,i[1]),post:r.slice(i[1]+e.length)}}function maybeMatch(t,e){var r=e.match(t);return r?r[0]:null}balanced.range=range;function range(t,e,r){var i,a,n,s,o;var c=r.indexOf(t);var h=r.indexOf(e,c+1);var l=c;if(c>=0&&h>0){i=[];n=r.length;while(l>=0&&!o){if(l==c){i.push(l);c=r.indexOf(t,l+1)}else if(i.length==1){o=[i.pop(),h]}else{a=i.pop();if(a=0?c:h}if(i.length){o=[n,s]}}return o}},800:(t,e,r)=>{var i=r(381);var a=r(442);t.exports=expandTop;var n="\0SLASH"+Math.random()+"\0";var s="\0OPEN"+Math.random()+"\0";var o="\0CLOSE"+Math.random()+"\0";var c="\0COMMA"+Math.random()+"\0";var h="\0PERIOD"+Math.random()+"\0";function numeric(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function escapeBraces(t){return t.split("\\\\").join(n).split("\\{").join(s).split("\\}").join(o).split("\\,").join(c).split("\\.").join(h)}function unescapeBraces(t){return t.split(n).join("\\").split(s).join("{").split(o).join("}").split(c).join(",").split(h).join(".")}function parseCommaParts(t){if(!t)return[""];var e=[];var r=a("{","}",t);if(!r)return t.split(",");var i=r.pre;var n=r.body;var s=r.post;var o=i.split(",");o[o.length-1]+="{"+n+"}";var c=parseCommaParts(s);if(s.length){o[o.length-1]+=c.shift();o.push.apply(o,c)}e.push.apply(e,o);return e}function expandTop(t){if(!t)return[];if(t.substr(0,2)==="{}"){t="\\{\\}"+t.substr(2)}return expand(escapeBraces(t),true).map(unescapeBraces)}function identity(t){return t}function embrace(t){return"{"+t+"}"}function isPadded(t){return/^-?0\d/.test(t)}function lte(t,e){return t<=e}function gte(t,e){return t>=e}function expand(t,e){var r=[];var n=a("{","}",t);if(!n||/\$$/.test(n.pre))return[t];var s=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body);var c=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body);var h=s||c;var l=n.body.indexOf(",")>=0;if(!h&&!l){if(n.post.match(/,.*\}/)){t=n.pre+"{"+n.body+o+n.post;return expand(t)}return[t]}var u;if(h){u=n.body.split(/\.\./)}else{u=parseCommaParts(n.body);if(u.length===1){u=expand(u[0],false).map(embrace);if(u.length===1){var p=n.post.length?expand(n.post,false):[""];return p.map((function(t){return n.pre+u[0]+t}))}}}var v=n.pre;var p=n.post.length?expand(n.post,false):[""];var d;if(h){var m=numeric(u[0]);var b=numeric(u[1]);var g=Math.max(u[0].length,u[1].length);var y=u.length==3?Math.abs(numeric(u[2])):1;var _=lte;var w=b0){var O=new Array(x+1).join("0");if(S<0)E="-"+O+E.slice(1);else E=O+E}}}d.push(E)}}else{d=i(u,(function(t){return expand(t,false)}))}for(var A=0;A{t.exports=function(t,r){var i=[];for(var a=0;a{t.exports=realpath;realpath.realpath=realpath;realpath.sync=realpathSync;realpath.realpathSync=realpathSync;realpath.monkeypatch=monkeypatch;realpath.unmonkeypatch=unmonkeypatch;var i=r(147);var a=i.realpath;var n=i.realpathSync;var s=process.version;var o=/^v[0-5]\./.test(s);var c=r(623);function newError(t){return t&&t.syscall==="realpath"&&(t.code==="ELOOP"||t.code==="ENOMEM"||t.code==="ENAMETOOLONG")}function realpath(t,e,r){if(o){return a(t,e,r)}if(typeof e==="function"){r=e;e=null}a(t,e,(function(i,a){if(newError(i)){c.realpath(t,e,r)}else{r(i,a)}}))}function realpathSync(t,e){if(o){return n(t,e)}try{return n(t,e)}catch(r){if(newError(r)){return c.realpathSync(t,e)}else{throw r}}}function monkeypatch(){i.realpath=realpath;i.realpathSync=realpathSync}function unmonkeypatch(){i.realpath=a;i.realpathSync=n}},623:(t,e,r)=>{var i=r(17);var a=process.platform==="win32";var n=r(147);var s=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function rethrow(){var t;if(s){var e=new Error;t=debugCallback}else t=missingCallback;return t;function debugCallback(t){if(t){e.message=t.message;t=e;missingCallback(t)}}function missingCallback(t){if(t){if(process.throwDeprecation)throw t;else if(!process.noDeprecation){var e="fs: missing callback "+(t.stack||t.message);if(process.traceDeprecation)console.trace(e);else console.error(e)}}}}function maybeCallback(t){return typeof t==="function"?t:rethrow()}var o=i.normalize;if(a){var c=/(.*?)(?:[\/\\]+|$)/g}else{var c=/(.*?)(?:[\/]+|$)/g}if(a){var h=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/}else{var h=/^[\/]*/}e.realpathSync=function realpathSync(t,e){t=i.resolve(t);if(e&&Object.prototype.hasOwnProperty.call(e,t)){return e[t]}var r=t,s={},o={};var l;var u;var p;var v;start();function start(){var e=h.exec(t);l=e[0].length;u=e[0];p=e[0];v="";if(a&&!o[p]){n.lstatSync(p);o[p]=true}}while(l=t.length){if(e)e[s]=t;return r(null,t)}c.lastIndex=u;var i=c.exec(t);d=p;p+=i[0];v=d+i[1];u=c.lastIndex;if(l[v]||e&&e[v]===v){return process.nextTick(LOOP)}if(e&&Object.prototype.hasOwnProperty.call(e,v)){return gotResolvedLink(e[v])}return n.lstat(v,gotStat)}function gotStat(t,i){if(t)return r(t);if(!i.isSymbolicLink()){l[v]=true;if(e)e[v]=v;return process.nextTick(LOOP)}if(!a){var s=i.dev.toString(32)+":"+i.ino.toString(32);if(o.hasOwnProperty(s)){return gotTarget(null,o[s],v)}}n.stat(v,(function(t){if(t)return r(t);n.readlink(v,(function(t,e){if(!a)o[s]=e;gotTarget(t,e)}))}))}function gotTarget(t,a,n){if(t)return r(t);var s=i.resolve(d,a);if(e)e[n]=s;gotResolvedLink(s)}function gotResolvedLink(e){t=i.resolve(e,t.slice(u));start()}}},129:(t,e,r)=>{e.setopts=setopts;e.ownProp=ownProp;e.makeAbs=makeAbs;e.finish=finish;e.mark=mark;e.isIgnored=isIgnored;e.childrenIgnored=childrenIgnored;function ownProp(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var i=r(17);var a=r(923);var n=r(230);var s=a.Minimatch;function alphasort(t,e){return t.localeCompare(e,"en")}function setupIgnores(t,e){t.ignore=e.ignore||[];if(!Array.isArray(t.ignore))t.ignore=[t.ignore];if(t.ignore.length){t.ignore=t.ignore.map(ignoreMap)}}function ignoreMap(t){var e=null;if(t.slice(-3)==="/**"){var r=t.replace(/(\/\*\*)+$/,"");e=new s(r,{dot:true})}return{matcher:new s(t,{dot:true}),gmatcher:e}}function setopts(t,e,r){if(!r)r={};if(r.matchBase&&-1===e.indexOf("/")){if(r.noglobstar){throw new Error("base matching requires globstar")}e="**/"+e}t.silent=!!r.silent;t.pattern=e;t.strict=r.strict!==false;t.realpath=!!r.realpath;t.realpathCache=r.realpathCache||Object.create(null);t.follow=!!r.follow;t.dot=!!r.dot;t.mark=!!r.mark;t.nodir=!!r.nodir;if(t.nodir)t.mark=true;t.sync=!!r.sync;t.nounique=!!r.nounique;t.nonull=!!r.nonull;t.nosort=!!r.nosort;t.nocase=!!r.nocase;t.stat=!!r.stat;t.noprocess=!!r.noprocess;t.absolute=!!r.absolute;t.maxLength=r.maxLength||Infinity;t.cache=r.cache||Object.create(null);t.statCache=r.statCache||Object.create(null);t.symlinks=r.symlinks||Object.create(null);setupIgnores(t,r);t.changedCwd=false;var a=process.cwd();if(!ownProp(r,"cwd"))t.cwd=a;else{t.cwd=i.resolve(r.cwd);t.changedCwd=t.cwd!==a}t.root=r.root||i.resolve(t.cwd,"/");t.root=i.resolve(t.root);if(process.platform==="win32")t.root=t.root.replace(/\\/g,"/");t.cwdAbs=n(t.cwd)?t.cwd:makeAbs(t,t.cwd);if(process.platform==="win32")t.cwdAbs=t.cwdAbs.replace(/\\/g,"/");t.nomount=!!r.nomount;r.nonegate=true;r.nocomment=true;t.minimatch=new s(e,r);t.options=t.minimatch.options}function finish(t){var e=t.nounique;var r=e?[]:Object.create(null);for(var i=0,a=t.matches.length;i{t.exports=glob;var i=r(147);var a=r(981);var n=r(923);var s=n.Minimatch;var o=r(842);var c=r(361).EventEmitter;var h=r(17);var l=r(491);var u=r(230);var p=r(447);var v=r(129);var d=v.setopts;var m=v.ownProp;var b=r(143);var g=r(837);var y=v.childrenIgnored;var _=v.isIgnored;var w=r(852);function glob(t,e,r){if(typeof e==="function")r=e,e={};if(!e)e={};if(e.sync){if(r)throw new TypeError("callback provided to sync glob");return p(t,e)}return new Glob(t,e,r)}glob.sync=p;var k=glob.GlobSync=p.GlobSync;glob.glob=glob;function extend(t,e){if(e===null||typeof e!=="object"){return t}var r=Object.keys(e);var i=r.length;while(i--){t[r[i]]=e[r[i]]}return t}glob.hasMagic=function(t,e){var r=extend({},e);r.noprocess=true;var i=new Glob(t,r);var a=i.minimatch.set;if(!t)return false;if(a.length>1)return true;for(var n=0;nthis.maxLength)return e();if(!this.stat&&m(this.cache,r)){var n=this.cache[r];if(Array.isArray(n))n="DIR";if(!a||n==="DIR")return e(null,n);if(a&&n==="FILE")return e()}var s;var o=this.statCache[r];if(o!==undefined){if(o===false)return e(null,o);else{var c=o.isDirectory()?"DIR":"FILE";if(a&&c==="FILE")return e();else return e(null,c,o)}}var h=this;var l=b("stat\0"+r,lstatcb_);if(l)i.lstat(r,l);function lstatcb_(a,n){if(n&&n.isSymbolicLink()){return i.stat(r,(function(i,a){if(i)h._stat2(t,r,null,n,e);else h._stat2(t,r,i,a,e)}))}else{h._stat2(t,r,a,n,e)}}};Glob.prototype._stat2=function(t,e,r,i,a){if(r&&(r.code==="ENOENT"||r.code==="ENOTDIR")){this.statCache[e]=false;return a()}var n=t.slice(-1)==="/";this.statCache[e]=i;if(e.slice(-1)==="/"&&i&&!i.isDirectory())return a(null,false,i);var s=true;if(i)s=i.isDirectory()?"DIR":"FILE";this.cache[e]=this.cache[e]||s;if(n&&s==="FILE")return a();return a(null,s,i)}},447:(t,e,r)=>{t.exports=globSync;globSync.GlobSync=GlobSync;var i=r(147);var a=r(981);var n=r(923);var s=n.Minimatch;var o=r(346).Glob;var c=r(837);var h=r(17);var l=r(491);var u=r(230);var p=r(129);var v=p.setopts;var d=p.ownProp;var m=p.childrenIgnored;var b=p.isIgnored;function globSync(t,e){if(typeof e==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");return new GlobSync(t,e).found}function GlobSync(t,e){if(!t)throw new Error("must provide pattern");if(typeof e==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");if(!(this instanceof GlobSync))return new GlobSync(t,e);v(this,t,e);if(this.noprocess)return this;var r=this.minimatch.set.length;this.matches=new Array(r);for(var i=0;ithis.maxLength)return false;if(!this.stat&&d(this.cache,e)){var a=this.cache[e];if(Array.isArray(a))a="DIR";if(!r||a==="DIR")return a;if(r&&a==="FILE")return false}var n;var s=this.statCache[e];if(!s){var o;try{o=i.lstatSync(e)}catch(t){if(t&&(t.code==="ENOENT"||t.code==="ENOTDIR")){this.statCache[e]=false;return false}}if(o&&o.isSymbolicLink()){try{s=i.statSync(e)}catch(t){s=o}}else{s=o}}this.statCache[e]=s;var a=true;if(s)a=s.isDirectory()?"DIR":"FILE";this.cache[e]=this.cache[e]||a;if(r&&a==="FILE")return false;return a};GlobSync.prototype._mark=function(t){return p.mark(this,t)};GlobSync.prototype._makeAbs=function(t){return p.makeAbs(this,t)}},143:(t,e,r)=>{var i=r(270);var a=Object.create(null);var n=r(852);t.exports=i(inflight);function inflight(t,e){if(a[t]){a[t].push(e);return null}else{a[t]=[e];return makeres(t)}}function makeres(t){return n((function RES(){var e=a[t];var r=e.length;var i=slice(arguments);try{for(var n=0;nr){e.splice(0,r);process.nextTick((function(){RES.apply(null,i)}))}else{delete a[t]}}}))}function slice(t){var e=t.length;var r=[];for(var i=0;i{try{var i=r(837);if(typeof i.inherits!=="function")throw"";t.exports=i.inherits}catch(e){t.exports=r(782)}},782:t=>{if(typeof Object.create==="function"){t.exports=function inherits(t,e){if(e){t.super_=e;t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:false,writable:true,configurable:true}})}}}else{t.exports=function inherits(t,e){if(e){t.super_=e;var TempCtor=function(){};TempCtor.prototype=e.prototype;t.prototype=new TempCtor;t.prototype.constructor=t}}}},923:(t,e,r)=>{t.exports=minimatch;minimatch.Minimatch=Minimatch;var i=function(){try{return r(17)}catch(t){}}()||{sep:"/"};minimatch.sep=i.sep;var a=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var n=r(800);var s={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var o="[^/]";var c=o+"*?";var h="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var l="(?:(?!(?:\\/|^)\\.).)*?";var u=charSet("().*{}+?[]^$\\!");function charSet(t){return t.split("").reduce((function(t,e){t[e]=true;return t}),{})}var p=/\/+/;minimatch.filter=filter;function filter(t,e){e=e||{};return function(r,i,a){return minimatch(r,t,e)}}function ext(t,e){e=e||{};var r={};Object.keys(t).forEach((function(e){r[e]=t[e]}));Object.keys(e).forEach((function(t){r[t]=e[t]}));return r}minimatch.defaults=function(t){if(!t||typeof t!=="object"||!Object.keys(t).length){return minimatch}var e=minimatch;var r=function minimatch(r,i,a){return e(r,i,ext(t,a))};r.Minimatch=function Minimatch(r,i){return new e.Minimatch(r,ext(t,i))};r.Minimatch.defaults=function defaults(r){return e.defaults(ext(t,r)).Minimatch};r.filter=function filter(r,i){return e.filter(r,ext(t,i))};r.defaults=function defaults(r){return e.defaults(ext(t,r))};r.makeRe=function makeRe(r,i){return e.makeRe(r,ext(t,i))};r.braceExpand=function braceExpand(r,i){return e.braceExpand(r,ext(t,i))};r.match=function(r,i,a){return e.match(r,i,ext(t,a))};return r};Minimatch.defaults=function(t){return minimatch.defaults(t).Minimatch};function minimatch(t,e,r){assertValidPattern(e);if(!r)r={};if(!r.nocomment&&e.charAt(0)==="#"){return false}return new Minimatch(e,r).match(t)}function Minimatch(t,e){if(!(this instanceof Minimatch)){return new Minimatch(t,e)}assertValidPattern(t);if(!e)e={};t=t.trim();if(!e.allowWindowsEscape&&i.sep!=="/"){t=t.split(i.sep).join("/")}this.options=e;this.set=[];this.pattern=t;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.partial=!!e.partial;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){var t=this.pattern;var e=this.options;if(!e.nocomment&&t.charAt(0)==="#"){this.comment=true;return}if(!t){this.empty=true;return}this.parseNegate();var r=this.globSet=this.braceExpand();if(e.debug)this.debug=function debug(){console.error.apply(console,arguments)};this.debug(this.pattern,r);r=this.globParts=r.map((function(t){return t.split(p)}));this.debug(this.pattern,r);r=r.map((function(t,e,r){return t.map(this.parse,this)}),this);this.debug(this.pattern,r);r=r.filter((function(t){return t.indexOf(false)===-1}));this.debug(this.pattern,r);this.set=r}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var t=this.pattern;var e=false;var r=this.options;var i=0;if(r.nonegate)return;for(var a=0,n=t.length;av){throw new TypeError("pattern is too long")}};Minimatch.prototype.parse=parse;var d={};function parse(t,e){assertValidPattern(t);var r=this.options;if(t==="**"){if(!r.noglobstar)return a;else t="*"}if(t==="")return"";var i="";var n=!!r.nocase;var h=false;var l=[];var p=[];var v;var m=false;var b=-1;var g=-1;var y=t.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";var _=this;function clearStateChar(){if(v){switch(v){case"*":i+=c;n=true;break;case"?":i+=o;n=true;break;default:i+="\\"+v;break}_.debug("clearStateChar %j %j",v,i);v=false}}for(var w=0,k=t.length,S;w-1;M--){var I=p[M];var R=i.slice(0,I.reStart);var C=i.slice(I.reStart,I.reEnd-8);var L=i.slice(I.reEnd-8,I.reEnd);var N=i.slice(I.reEnd);L+=N;var T=R.split("(").length-1;var P=N;for(w=0;w=0;s--){n=t[s];if(n)break}for(s=0;s>> no match, partial?",t,u,e,p);if(u===o)return true}return false}var d;if(typeof h==="string"){d=l===h;this.debug("string match",h,l,d)}else{d=l.match(h);this.debug("pattern match",h,l,d)}if(!d)return false}if(n===o&&s===c){return true}else if(n===o){return r}else if(s===c){return n===o-1&&t[n]===""}throw new Error("wtf?")};function globUnescape(t){return t.replace(/\\(.)/g,"$1")}function regExpEscape(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}},852:(t,e,r)=>{var i=r(270);t.exports=i(once);t.exports.strict=i(onceStrict);once.proto=once((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return once(this)},configurable:true});Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return onceStrict(this)},configurable:true})}));function once(t){var f=function(){if(f.called)return f.value;f.called=true;return f.value=t.apply(this,arguments)};f.called=false;return f}function onceStrict(t){var f=function(){if(f.called)throw new Error(f.onceError);f.called=true;return f.value=t.apply(this,arguments)};var e=t.name||"Function wrapped with `once`";f.onceError=e+" shouldn't be called more than once";f.called=false;return f}},230:t=>{"use strict";function posix(t){return t.charAt(0)==="/"}function win32(t){var e=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;var r=e.exec(t);var i=r[1]||"";var a=Boolean(i&&i.charAt(1)!==":");return Boolean(r[2]||a)}t.exports=process.platform==="win32"?win32:posix;t.exports.posix=posix;t.exports.win32=win32},270:t=>{t.exports=wrappy;function wrappy(t,e){if(t&&e)return wrappy(t)(e);if(typeof t!=="function")throw new TypeError("need wrapper function");Object.keys(t).forEach((function(e){wrapper[e]=t[e]}));return wrapper;function wrapper(){var e=new Array(arguments.length);for(var r=0;r{"use strict";t.exports=require("assert")},361:t=>{"use strict";t.exports=require("events")},147:t=>{"use strict";t.exports=require("fs")},17:t=>{"use strict";t.exports=require("path")},837:t=>{"use strict";t.exports=require("util")}};var e={};function __nccwpck_require__(r){var i=e[r];if(i!==undefined){return i.exports}var a=e[r]={exports:{}};var n=true;try{t[r](a,a.exports,__nccwpck_require__);n=false}finally{if(n)delete e[r]}return a.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(346);module.exports=r})(); \ No newline at end of file +(()=>{var t={218:t=>{"use strict";t.exports=balanced;function balanced(t,e,r){if(t instanceof RegExp)t=maybeMatch(t,r);if(e instanceof RegExp)e=maybeMatch(e,r);var i=range(t,e,r);return i&&{start:i[0],end:i[1],pre:r.slice(0,i[0]),body:r.slice(i[0]+t.length,i[1]),post:r.slice(i[1]+e.length)}}function maybeMatch(t,e){var r=e.match(t);return r?r[0]:null}balanced.range=range;function range(t,e,r){var i,a,n,s,o;var c=r.indexOf(t);var h=r.indexOf(e,c+1);var l=c;if(c>=0&&h>0){if(t===e){return[c,h]}i=[];n=r.length;while(l>=0&&!o){if(l==c){i.push(l);c=r.indexOf(t,l+1)}else if(i.length==1){o=[i.pop(),h]}else{a=i.pop();if(a=0?c:h}if(i.length){o=[n,s]}}return o}},800:(t,e,r)=>{var i=r(381);var a=r(218);t.exports=expandTop;var n="\0SLASH"+Math.random()+"\0";var s="\0OPEN"+Math.random()+"\0";var o="\0CLOSE"+Math.random()+"\0";var c="\0COMMA"+Math.random()+"\0";var h="\0PERIOD"+Math.random()+"\0";function numeric(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function escapeBraces(t){return t.split("\\\\").join(n).split("\\{").join(s).split("\\}").join(o).split("\\,").join(c).split("\\.").join(h)}function unescapeBraces(t){return t.split(n).join("\\").split(s).join("{").split(o).join("}").split(c).join(",").split(h).join(".")}function parseCommaParts(t){if(!t)return[""];var e=[];var r=a("{","}",t);if(!r)return t.split(",");var i=r.pre;var n=r.body;var s=r.post;var o=i.split(",");o[o.length-1]+="{"+n+"}";var c=parseCommaParts(s);if(s.length){o[o.length-1]+=c.shift();o.push.apply(o,c)}e.push.apply(e,o);return e}function expandTop(t){if(!t)return[];if(t.substr(0,2)==="{}"){t="\\{\\}"+t.substr(2)}return expand(escapeBraces(t),true).map(unescapeBraces)}function identity(t){return t}function embrace(t){return"{"+t+"}"}function isPadded(t){return/^-?0\d/.test(t)}function lte(t,e){return t<=e}function gte(t,e){return t>=e}function expand(t,e){var r=[];var n=a("{","}",t);if(!n||/\$$/.test(n.pre))return[t];var s=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body);var c=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body);var h=s||c;var l=n.body.indexOf(",")>=0;if(!h&&!l){if(n.post.match(/,.*\}/)){t=n.pre+"{"+n.body+o+n.post;return expand(t)}return[t]}var u;if(h){u=n.body.split(/\.\./)}else{u=parseCommaParts(n.body);if(u.length===1){u=expand(u[0],false).map(embrace);if(u.length===1){var p=n.post.length?expand(n.post,false):[""];return p.map((function(t){return n.pre+u[0]+t}))}}}var v=n.pre;var p=n.post.length?expand(n.post,false):[""];var d;if(h){var m=numeric(u[0]);var b=numeric(u[1]);var g=Math.max(u[0].length,u[1].length);var y=u.length==3?Math.abs(numeric(u[2])):1;var _=lte;var w=b0){var O=new Array(x+1).join("0");if(S<0)E="-"+O+E.slice(1);else E=O+E}}}d.push(E)}}else{d=i(u,(function(t){return expand(t,false)}))}for(var A=0;A{t.exports=function(t,r){var i=[];for(var a=0;a{t.exports=realpath;realpath.realpath=realpath;realpath.sync=realpathSync;realpath.realpathSync=realpathSync;realpath.monkeypatch=monkeypatch;realpath.unmonkeypatch=unmonkeypatch;var i=r(147);var a=i.realpath;var n=i.realpathSync;var s=process.version;var o=/^v[0-5]\./.test(s);var c=r(623);function newError(t){return t&&t.syscall==="realpath"&&(t.code==="ELOOP"||t.code==="ENOMEM"||t.code==="ENAMETOOLONG")}function realpath(t,e,r){if(o){return a(t,e,r)}if(typeof e==="function"){r=e;e=null}a(t,e,(function(i,a){if(newError(i)){c.realpath(t,e,r)}else{r(i,a)}}))}function realpathSync(t,e){if(o){return n(t,e)}try{return n(t,e)}catch(r){if(newError(r)){return c.realpathSync(t,e)}else{throw r}}}function monkeypatch(){i.realpath=realpath;i.realpathSync=realpathSync}function unmonkeypatch(){i.realpath=a;i.realpathSync=n}},623:(t,e,r)=>{var i=r(17);var a=process.platform==="win32";var n=r(147);var s=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function rethrow(){var t;if(s){var e=new Error;t=debugCallback}else t=missingCallback;return t;function debugCallback(t){if(t){e.message=t.message;t=e;missingCallback(t)}}function missingCallback(t){if(t){if(process.throwDeprecation)throw t;else if(!process.noDeprecation){var e="fs: missing callback "+(t.stack||t.message);if(process.traceDeprecation)console.trace(e);else console.error(e)}}}}function maybeCallback(t){return typeof t==="function"?t:rethrow()}var o=i.normalize;if(a){var c=/(.*?)(?:[\/\\]+|$)/g}else{var c=/(.*?)(?:[\/]+|$)/g}if(a){var h=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/}else{var h=/^[\/]*/}e.realpathSync=function realpathSync(t,e){t=i.resolve(t);if(e&&Object.prototype.hasOwnProperty.call(e,t)){return e[t]}var r=t,s={},o={};var l;var u;var p;var v;start();function start(){var e=h.exec(t);l=e[0].length;u=e[0];p=e[0];v="";if(a&&!o[p]){n.lstatSync(p);o[p]=true}}while(l=t.length){if(e)e[s]=t;return r(null,t)}c.lastIndex=u;var i=c.exec(t);d=p;p+=i[0];v=d+i[1];u=c.lastIndex;if(l[v]||e&&e[v]===v){return process.nextTick(LOOP)}if(e&&Object.prototype.hasOwnProperty.call(e,v)){return gotResolvedLink(e[v])}return n.lstat(v,gotStat)}function gotStat(t,i){if(t)return r(t);if(!i.isSymbolicLink()){l[v]=true;if(e)e[v]=v;return process.nextTick(LOOP)}if(!a){var s=i.dev.toString(32)+":"+i.ino.toString(32);if(o.hasOwnProperty(s)){return gotTarget(null,o[s],v)}}n.stat(v,(function(t){if(t)return r(t);n.readlink(v,(function(t,e){if(!a)o[s]=e;gotTarget(t,e)}))}))}function gotTarget(t,a,n){if(t)return r(t);var s=i.resolve(d,a);if(e)e[n]=s;gotResolvedLink(s)}function gotResolvedLink(e){t=i.resolve(e,t.slice(u));start()}}},129:(t,e,r)=>{e.setopts=setopts;e.ownProp=ownProp;e.makeAbs=makeAbs;e.finish=finish;e.mark=mark;e.isIgnored=isIgnored;e.childrenIgnored=childrenIgnored;function ownProp(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var i=r(17);var a=r(923);var n=r(230);var s=a.Minimatch;function alphasort(t,e){return t.localeCompare(e,"en")}function setupIgnores(t,e){t.ignore=e.ignore||[];if(!Array.isArray(t.ignore))t.ignore=[t.ignore];if(t.ignore.length){t.ignore=t.ignore.map(ignoreMap)}}function ignoreMap(t){var e=null;if(t.slice(-3)==="/**"){var r=t.replace(/(\/\*\*)+$/,"");e=new s(r,{dot:true})}return{matcher:new s(t,{dot:true}),gmatcher:e}}function setopts(t,e,r){if(!r)r={};if(r.matchBase&&-1===e.indexOf("/")){if(r.noglobstar){throw new Error("base matching requires globstar")}e="**/"+e}t.silent=!!r.silent;t.pattern=e;t.strict=r.strict!==false;t.realpath=!!r.realpath;t.realpathCache=r.realpathCache||Object.create(null);t.follow=!!r.follow;t.dot=!!r.dot;t.mark=!!r.mark;t.nodir=!!r.nodir;if(t.nodir)t.mark=true;t.sync=!!r.sync;t.nounique=!!r.nounique;t.nonull=!!r.nonull;t.nosort=!!r.nosort;t.nocase=!!r.nocase;t.stat=!!r.stat;t.noprocess=!!r.noprocess;t.absolute=!!r.absolute;t.maxLength=r.maxLength||Infinity;t.cache=r.cache||Object.create(null);t.statCache=r.statCache||Object.create(null);t.symlinks=r.symlinks||Object.create(null);setupIgnores(t,r);t.changedCwd=false;var a=process.cwd();if(!ownProp(r,"cwd"))t.cwd=a;else{t.cwd=i.resolve(r.cwd);t.changedCwd=t.cwd!==a}t.root=r.root||i.resolve(t.cwd,"/");t.root=i.resolve(t.root);if(process.platform==="win32")t.root=t.root.replace(/\\/g,"/");t.cwdAbs=n(t.cwd)?t.cwd:makeAbs(t,t.cwd);if(process.platform==="win32")t.cwdAbs=t.cwdAbs.replace(/\\/g,"/");t.nomount=!!r.nomount;r.nonegate=true;r.nocomment=true;t.minimatch=new s(e,r);t.options=t.minimatch.options}function finish(t){var e=t.nounique;var r=e?[]:Object.create(null);for(var i=0,a=t.matches.length;i{t.exports=glob;var i=r(147);var a=r(981);var n=r(923);var s=n.Minimatch;var o=r(842);var c=r(361).EventEmitter;var h=r(17);var l=r(491);var u=r(230);var p=r(447);var v=r(129);var d=v.setopts;var m=v.ownProp;var b=r(143);var g=r(837);var y=v.childrenIgnored;var _=v.isIgnored;var w=r(852);function glob(t,e,r){if(typeof e==="function")r=e,e={};if(!e)e={};if(e.sync){if(r)throw new TypeError("callback provided to sync glob");return p(t,e)}return new Glob(t,e,r)}glob.sync=p;var k=glob.GlobSync=p.GlobSync;glob.glob=glob;function extend(t,e){if(e===null||typeof e!=="object"){return t}var r=Object.keys(e);var i=r.length;while(i--){t[r[i]]=e[r[i]]}return t}glob.hasMagic=function(t,e){var r=extend({},e);r.noprocess=true;var i=new Glob(t,r);var a=i.minimatch.set;if(!t)return false;if(a.length>1)return true;for(var n=0;nthis.maxLength)return e();if(!this.stat&&m(this.cache,r)){var n=this.cache[r];if(Array.isArray(n))n="DIR";if(!a||n==="DIR")return e(null,n);if(a&&n==="FILE")return e()}var s;var o=this.statCache[r];if(o!==undefined){if(o===false)return e(null,o);else{var c=o.isDirectory()?"DIR":"FILE";if(a&&c==="FILE")return e();else return e(null,c,o)}}var h=this;var l=b("stat\0"+r,lstatcb_);if(l)i.lstat(r,l);function lstatcb_(a,n){if(n&&n.isSymbolicLink()){return i.stat(r,(function(i,a){if(i)h._stat2(t,r,null,n,e);else h._stat2(t,r,i,a,e)}))}else{h._stat2(t,r,a,n,e)}}};Glob.prototype._stat2=function(t,e,r,i,a){if(r&&(r.code==="ENOENT"||r.code==="ENOTDIR")){this.statCache[e]=false;return a()}var n=t.slice(-1)==="/";this.statCache[e]=i;if(e.slice(-1)==="/"&&i&&!i.isDirectory())return a(null,false,i);var s=true;if(i)s=i.isDirectory()?"DIR":"FILE";this.cache[e]=this.cache[e]||s;if(n&&s==="FILE")return a();return a(null,s,i)}},447:(t,e,r)=>{t.exports=globSync;globSync.GlobSync=GlobSync;var i=r(147);var a=r(981);var n=r(923);var s=n.Minimatch;var o=r(346).Glob;var c=r(837);var h=r(17);var l=r(491);var u=r(230);var p=r(129);var v=p.setopts;var d=p.ownProp;var m=p.childrenIgnored;var b=p.isIgnored;function globSync(t,e){if(typeof e==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");return new GlobSync(t,e).found}function GlobSync(t,e){if(!t)throw new Error("must provide pattern");if(typeof e==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");if(!(this instanceof GlobSync))return new GlobSync(t,e);v(this,t,e);if(this.noprocess)return this;var r=this.minimatch.set.length;this.matches=new Array(r);for(var i=0;ithis.maxLength)return false;if(!this.stat&&d(this.cache,e)){var a=this.cache[e];if(Array.isArray(a))a="DIR";if(!r||a==="DIR")return a;if(r&&a==="FILE")return false}var n;var s=this.statCache[e];if(!s){var o;try{o=i.lstatSync(e)}catch(t){if(t&&(t.code==="ENOENT"||t.code==="ENOTDIR")){this.statCache[e]=false;return false}}if(o&&o.isSymbolicLink()){try{s=i.statSync(e)}catch(t){s=o}}else{s=o}}this.statCache[e]=s;var a=true;if(s)a=s.isDirectory()?"DIR":"FILE";this.cache[e]=this.cache[e]||a;if(r&&a==="FILE")return false;return a};GlobSync.prototype._mark=function(t){return p.mark(this,t)};GlobSync.prototype._makeAbs=function(t){return p.makeAbs(this,t)}},143:(t,e,r)=>{var i=r(270);var a=Object.create(null);var n=r(852);t.exports=i(inflight);function inflight(t,e){if(a[t]){a[t].push(e);return null}else{a[t]=[e];return makeres(t)}}function makeres(t){return n((function RES(){var e=a[t];var r=e.length;var i=slice(arguments);try{for(var n=0;nr){e.splice(0,r);process.nextTick((function(){RES.apply(null,i)}))}else{delete a[t]}}}))}function slice(t){var e=t.length;var r=[];for(var i=0;i{try{var i=r(837);if(typeof i.inherits!=="function")throw"";t.exports=i.inherits}catch(e){t.exports=r(782)}},782:t=>{if(typeof Object.create==="function"){t.exports=function inherits(t,e){if(e){t.super_=e;t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:false,writable:true,configurable:true}})}}}else{t.exports=function inherits(t,e){if(e){t.super_=e;var TempCtor=function(){};TempCtor.prototype=e.prototype;t.prototype=new TempCtor;t.prototype.constructor=t}}}},923:(t,e,r)=>{t.exports=minimatch;minimatch.Minimatch=Minimatch;var i=function(){try{return r(17)}catch(t){}}()||{sep:"/"};minimatch.sep=i.sep;var a=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var n=r(800);var s={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var o="[^/]";var c=o+"*?";var h="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var l="(?:(?!(?:\\/|^)\\.).)*?";var u=charSet("().*{}+?[]^$\\!");function charSet(t){return t.split("").reduce((function(t,e){t[e]=true;return t}),{})}var p=/\/+/;minimatch.filter=filter;function filter(t,e){e=e||{};return function(r,i,a){return minimatch(r,t,e)}}function ext(t,e){e=e||{};var r={};Object.keys(t).forEach((function(e){r[e]=t[e]}));Object.keys(e).forEach((function(t){r[t]=e[t]}));return r}minimatch.defaults=function(t){if(!t||typeof t!=="object"||!Object.keys(t).length){return minimatch}var e=minimatch;var r=function minimatch(r,i,a){return e(r,i,ext(t,a))};r.Minimatch=function Minimatch(r,i){return new e.Minimatch(r,ext(t,i))};r.Minimatch.defaults=function defaults(r){return e.defaults(ext(t,r)).Minimatch};r.filter=function filter(r,i){return e.filter(r,ext(t,i))};r.defaults=function defaults(r){return e.defaults(ext(t,r))};r.makeRe=function makeRe(r,i){return e.makeRe(r,ext(t,i))};r.braceExpand=function braceExpand(r,i){return e.braceExpand(r,ext(t,i))};r.match=function(r,i,a){return e.match(r,i,ext(t,a))};return r};Minimatch.defaults=function(t){return minimatch.defaults(t).Minimatch};function minimatch(t,e,r){assertValidPattern(e);if(!r)r={};if(!r.nocomment&&e.charAt(0)==="#"){return false}return new Minimatch(e,r).match(t)}function Minimatch(t,e){if(!(this instanceof Minimatch)){return new Minimatch(t,e)}assertValidPattern(t);if(!e)e={};t=t.trim();if(!e.allowWindowsEscape&&i.sep!=="/"){t=t.split(i.sep).join("/")}this.options=e;this.set=[];this.pattern=t;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.partial=!!e.partial;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){var t=this.pattern;var e=this.options;if(!e.nocomment&&t.charAt(0)==="#"){this.comment=true;return}if(!t){this.empty=true;return}this.parseNegate();var r=this.globSet=this.braceExpand();if(e.debug)this.debug=function debug(){console.error.apply(console,arguments)};this.debug(this.pattern,r);r=this.globParts=r.map((function(t){return t.split(p)}));this.debug(this.pattern,r);r=r.map((function(t,e,r){return t.map(this.parse,this)}),this);this.debug(this.pattern,r);r=r.filter((function(t){return t.indexOf(false)===-1}));this.debug(this.pattern,r);this.set=r}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var t=this.pattern;var e=false;var r=this.options;var i=0;if(r.nonegate)return;for(var a=0,n=t.length;av){throw new TypeError("pattern is too long")}};Minimatch.prototype.parse=parse;var d={};function parse(t,e){assertValidPattern(t);var r=this.options;if(t==="**"){if(!r.noglobstar)return a;else t="*"}if(t==="")return"";var i="";var n=!!r.nocase;var h=false;var l=[];var p=[];var v;var m=false;var b=-1;var g=-1;var y=t.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";var _=this;function clearStateChar(){if(v){switch(v){case"*":i+=c;n=true;break;case"?":i+=o;n=true;break;default:i+="\\"+v;break}_.debug("clearStateChar %j %j",v,i);v=false}}for(var w=0,k=t.length,S;w-1;M--){var I=p[M];var R=i.slice(0,I.reStart);var C=i.slice(I.reStart,I.reEnd-8);var L=i.slice(I.reEnd-8,I.reEnd);var N=i.slice(I.reEnd);L+=N;var T=R.split("(").length-1;var P=N;for(w=0;w=0;s--){n=t[s];if(n)break}for(s=0;s>> no match, partial?",t,u,e,p);if(u===o)return true}return false}var d;if(typeof h==="string"){d=l===h;this.debug("string match",h,l,d)}else{d=l.match(h);this.debug("pattern match",h,l,d)}if(!d)return false}if(n===o&&s===c){return true}else if(n===o){return r}else if(s===c){return n===o-1&&t[n]===""}throw new Error("wtf?")};function globUnescape(t){return t.replace(/\\(.)/g,"$1")}function regExpEscape(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}},852:(t,e,r)=>{var i=r(270);t.exports=i(once);t.exports.strict=i(onceStrict);once.proto=once((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return once(this)},configurable:true});Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return onceStrict(this)},configurable:true})}));function once(t){var f=function(){if(f.called)return f.value;f.called=true;return f.value=t.apply(this,arguments)};f.called=false;return f}function onceStrict(t){var f=function(){if(f.called)throw new Error(f.onceError);f.called=true;return f.value=t.apply(this,arguments)};var e=t.name||"Function wrapped with `once`";f.onceError=e+" shouldn't be called more than once";f.called=false;return f}},230:t=>{"use strict";function posix(t){return t.charAt(0)==="/"}function win32(t){var e=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;var r=e.exec(t);var i=r[1]||"";var a=Boolean(i&&i.charAt(1)!==":");return Boolean(r[2]||a)}t.exports=process.platform==="win32"?win32:posix;t.exports.posix=posix;t.exports.win32=win32},270:t=>{t.exports=wrappy;function wrappy(t,e){if(t&&e)return wrappy(t)(e);if(typeof t!=="function")throw new TypeError("need wrapper function");Object.keys(t).forEach((function(e){wrapper[e]=t[e]}));return wrapper;function wrapper(){var e=new Array(arguments.length);for(var r=0;r{"use strict";t.exports=require("assert")},361:t=>{"use strict";t.exports=require("events")},147:t=>{"use strict";t.exports=require("fs")},17:t=>{"use strict";t.exports=require("path")},837:t=>{"use strict";t.exports=require("util")}};var e={};function __nccwpck_require__(r){var i=e[r];if(i!==undefined){return i.exports}var a=e[r]={exports:{}};var n=true;try{t[r](a,a.exports,__nccwpck_require__);n=false}finally{if(n)delete e[r]}return a.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(346);module.exports=r})(); \ No newline at end of file diff --git a/packages/next/src/compiled/ora/index.js b/packages/next/src/compiled/ora/index.js index 1cb6c6d35b11d..2a9483c039a73 100644 --- a/packages/next/src/compiled/ora/index.js +++ b/packages/next/src/compiled/ora/index.js @@ -1 +1 @@ -(()=>{var e={535:(e,t,r)=>{"use strict";e=r.nmd(e);const n=r(54);const wrapAnsi16=(e,t)=>function(){const r=e.apply(n,arguments);return`[${r+t}m`};const wrapAnsi256=(e,t)=>function(){const r=e.apply(n,arguments);return`[${38+t};5;${r}m`};const wrapAnsi16m=(e,t)=>function(){const r=e.apply(n,arguments);return`[${38+t};2;${r[0]};${r[1]};${r[2]}m`};function assembleStyles(){const e=new Map;const t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.grey=t.color.gray;for(const r of Object.keys(t)){const n=t[r];for(const r of Object.keys(n)){const s=n[r];t[r]={open:`[${s[0]}m`,close:`[${s[1]}m`};n[r]=t[r];e.set(s[0],s[1])}Object.defineProperty(t,r,{value:n,enumerable:false});Object.defineProperty(t,"codes",{value:e,enumerable:false})}const ansi2ansi=e=>e;const rgb2rgb=(e,t,r)=>[e,t,r];t.color.close="";t.bgColor.close="";t.color.ansi={ansi:wrapAnsi16(ansi2ansi,0)};t.color.ansi256={ansi256:wrapAnsi256(ansi2ansi,0)};t.color.ansi16m={rgb:wrapAnsi16m(rgb2rgb,0)};t.bgColor.ansi={ansi:wrapAnsi16(ansi2ansi,10)};t.bgColor.ansi256={ansi256:wrapAnsi256(ansi2ansi,10)};t.bgColor.ansi16m={rgb:wrapAnsi16m(rgb2rgb,10)};for(let e of Object.keys(n)){if(typeof n[e]!=="object"){continue}const r=n[e];if(e==="ansi16"){e="ansi"}if("ansi16"in r){t.color.ansi[e]=wrapAnsi16(r.ansi16,0);t.bgColor.ansi[e]=wrapAnsi16(r.ansi16,10)}if("ansi256"in r){t.color.ansi256[e]=wrapAnsi256(r.ansi256,0);t.bgColor.ansi256[e]=wrapAnsi256(r.ansi256,10)}if("rgb"in r){t.color.ansi16m[e]=wrapAnsi16m(r.rgb,0);t.bgColor.ansi16m[e]=wrapAnsi16m(r.rgb,10)}}return t}Object.defineProperty(e,"exports",{enumerable:true,get:assembleStyles})},14:(e,t,r)=>{"use strict";e=r.nmd(e);const wrapAnsi16=(e,t)=>(...r)=>{const n=e(...r);return`[${n+t}m`};const wrapAnsi256=(e,t)=>(...r)=>{const n=e(...r);return`[${38+t};5;${n}m`};const wrapAnsi16m=(e,t)=>(...r)=>{const n=e(...r);return`[${38+t};2;${n[0]};${n[1]};${n[2]}m`};const ansi2ansi=e=>e;const rgb2rgb=(e,t,r)=>[e,t,r];const setLazyProperty=(e,t,r)=>{Object.defineProperty(e,t,{get:()=>{const n=r();Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true});return n},enumerable:true,configurable:true})};let n;const makeDynamicStyles=(e,t,s,o)=>{if(n===undefined){n=r(226)}const i=o?10:0;const a={};for(const[r,o]of Object.entries(n)){const n=r==="ansi16"?"ansi":r;if(r===t){a[n]=e(s,i)}else if(typeof o==="object"){a[n]=e(o[t],i)}}return a};function assembleStyles(){const e=new Map;const t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.gray=t.color.blackBright;t.bgColor.bgGray=t.bgColor.bgBlackBright;t.color.grey=t.color.blackBright;t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(const[r,n]of Object.entries(t)){for(const[r,s]of Object.entries(n)){t[r]={open:`[${s[0]}m`,close:`[${s[1]}m`};n[r]=t[r];e.set(s[0],s[1])}Object.defineProperty(t,r,{value:n,enumerable:false})}Object.defineProperty(t,"codes",{value:e,enumerable:false});t.color.close="";t.bgColor.close="";setLazyProperty(t.color,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,false)));setLazyProperty(t.color,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,false)));setLazyProperty(t.color,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,false)));setLazyProperty(t.bgColor,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,true)));setLazyProperty(t.bgColor,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,true)));setLazyProperty(t.bgColor,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,true)));return t}Object.defineProperty(e,"exports",{enumerable:true,get:assembleStyles})},148:(e,t,r)=>{"use strict";const n=r(379);const s=r(535);const o=r(220).stdout;const i=r(299);const a=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm");const l=["ansi","ansi","ansi256","ansi16m"];const u=new Set(["gray"]);const f=Object.create(null);function applyOptions(e,t){t=t||{};const r=o?o.level:0;e.level=t.level===undefined?r:t.level;e.enabled="enabled"in t?t.enabled:e.level>0}function Chalk(e){if(!this||!(this instanceof Chalk)||this.template){const t={};applyOptions(t,e);t.template=function(){const e=[].slice.call(arguments);return chalkTag.apply(null,[t.template].concat(e))};Object.setPrototypeOf(t,Chalk.prototype);Object.setPrototypeOf(t.template,t);t.template.constructor=Chalk;return t.template}applyOptions(this,e)}if(a){s.blue.open=""}for(const e of Object.keys(s)){s[e].closeRe=new RegExp(n(s[e].close),"g");f[e]={get(){const t=s[e];return build.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}}}f.visible={get(){return build.call(this,this._styles||[],true,"visible")}};s.color.closeRe=new RegExp(n(s.color.close),"g");for(const e of Object.keys(s.color.ansi)){if(u.has(e)){continue}f[e]={get(){const t=this.level;return function(){const r=s.color[l[t]][e].apply(null,arguments);const n={open:r,close:s.color.close,closeRe:s.color.closeRe};return build.call(this,this._styles?this._styles.concat(n):[n],this._empty,e)}}}}s.bgColor.closeRe=new RegExp(n(s.bgColor.close),"g");for(const e of Object.keys(s.bgColor.ansi)){if(u.has(e)){continue}const t="bg"+e[0].toUpperCase()+e.slice(1);f[t]={get(){const t=this.level;return function(){const r=s.bgColor[l[t]][e].apply(null,arguments);const n={open:r,close:s.bgColor.close,closeRe:s.bgColor.closeRe};return build.call(this,this._styles?this._styles.concat(n):[n],this._empty,e)}}}}const h=Object.defineProperties((()=>{}),f);function build(e,t,r){const builder=function(){return applyStyle.apply(builder,arguments)};builder._styles=e;builder._empty=t;const n=this;Object.defineProperty(builder,"level",{enumerable:true,get(){return n.level},set(e){n.level=e}});Object.defineProperty(builder,"enabled",{enumerable:true,get(){return n.enabled},set(e){n.enabled=e}});builder.hasGrey=this.hasGrey||r==="gray"||r==="grey";builder.__proto__=h;return builder}function applyStyle(){const e=arguments;const t=e.length;let r=String(arguments[0]);if(t===0){return""}if(t>1){for(let n=1;n{"use strict";const t=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;const r=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;const n=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;const s=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi;const o=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(e){if(e[0]==="u"&&e.length===5||e[0]==="x"&&e.length===3){return String.fromCharCode(parseInt(e.slice(1),16))}return o.get(e)||e}function parseArguments(e,t){const r=[];const o=t.trim().split(/\s*,\s*/g);let i;for(const t of o){if(!isNaN(t)){r.push(Number(t))}else if(i=t.match(n)){r.push(i[2].replace(s,((e,t,r)=>t?unescape(t):r)))}else{throw new Error(`Invalid Chalk template style argument: ${t} (in style '${e}')`)}}return r}function parseStyle(e){r.lastIndex=0;const t=[];let n;while((n=r.exec(e))!==null){const e=n[1];if(n[2]){const r=parseArguments(e,n[2]);t.push([e].concat(r))}else{t.push([e])}}return t}function buildStyle(e,t){const r={};for(const e of t){for(const t of e.styles){r[t[0]]=e.inverse?null:t.slice(1)}}let n=e;for(const e of Object.keys(r)){if(Array.isArray(r[e])){if(!(e in n)){throw new Error(`Unknown Chalk style: ${e}`)}if(r[e].length>0){n=n[e].apply(n,r[e])}else{n=n[e]}}}return n}e.exports=(e,r)=>{const n=[];const s=[];let o=[];r.replace(t,((t,r,i,a,l,u)=>{if(r){o.push(unescape(r))}else if(a){const t=o.join("");o=[];s.push(n.length===0?t:buildStyle(e,n)(t));n.push({inverse:i,styles:parseStyle(a)})}else if(l){if(n.length===0){throw new Error("Found extraneous } in Chalk template literal")}s.push(buildStyle(e,n)(o.join("")));o=[];n.pop()}else{o.push(u)}}));s.push(o.join(""));if(n.length>0){const e=`Chalk template literal is missing ${n.length} closing bracket${n.length===1?"":"s"} (\`}\`)`;throw new Error(e)}return s.join("")}},385:(e,t,r)=>{"use strict";const n=r(14);const{stdout:s,stderr:o}=r(793);const{stringReplaceAll:i,stringEncaseCRLFWithFirstIndex:a}=r(218);const l=["ansi","ansi","ansi256","ansi16m"];const u=Object.create(null);const applyOptions=(e,t={})=>{if(t.level>3||t.level<0){throw new Error("The `level` option should be an integer from 0 to 3")}const r=s?s.level:0;e.level=t.level===undefined?r:t.level};class ChalkClass{constructor(e){return chalkFactory(e)}}const chalkFactory=e=>{const t={};applyOptions(t,e);t.template=(...e)=>chalkTag(t.template,...e);Object.setPrototypeOf(t,Chalk.prototype);Object.setPrototypeOf(t.template,t);t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")};t.template.Instance=ChalkClass;return t.template};function Chalk(e){return chalkFactory(e)}for(const[e,t]of Object.entries(n)){u[e]={get(){const r=createBuilder(this,createStyler(t.open,t.close,this._styler),this._isEmpty);Object.defineProperty(this,e,{value:r});return r}}}u.visible={get(){const e=createBuilder(this,this._styler,true);Object.defineProperty(this,"visible",{value:e});return e}};const f=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const e of f){u[e]={get(){const{level:t}=this;return function(...r){const s=createStyler(n.color[l[t]][e](...r),n.color.close,this._styler);return createBuilder(this,s,this._isEmpty)}}}}for(const e of f){const t="bg"+e[0].toUpperCase()+e.slice(1);u[t]={get(){const{level:t}=this;return function(...r){const s=createStyler(n.bgColor[l[t]][e](...r),n.bgColor.close,this._styler);return createBuilder(this,s,this._isEmpty)}}}}const h=Object.defineProperties((()=>{}),{...u,level:{enumerable:true,get(){return this._generator.level},set(e){this._generator.level=e}}});const createStyler=(e,t,r)=>{let n;let s;if(r===undefined){n=e;s=t}else{n=r.openAll+e;s=t+r.closeAll}return{open:e,close:t,openAll:n,closeAll:s,parent:r}};const createBuilder=(e,t,r)=>{const builder=(...e)=>applyStyle(builder,e.length===1?""+e[0]:e.join(" "));builder.__proto__=h;builder._generator=e;builder._styler=t;builder._isEmpty=r;return builder};const applyStyle=(e,t)=>{if(e.level<=0||!t){return e._isEmpty?"":t}let r=e._styler;if(r===undefined){return t}const{openAll:n,closeAll:s}=r;if(t.indexOf("")!==-1){while(r!==undefined){t=i(t,r.close,r.open);r=r.parent}}const o=t.indexOf("\n");if(o!==-1){t=a(t,s,n,o)}return n+t+s};let p;const chalkTag=(e,...t)=>{const[n]=t;if(!Array.isArray(n)){return t.join(" ")}const s=t.slice(1);const o=[n.raw[0]];for(let e=1;e{"use strict";const t=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;const r=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;const n=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;const s=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi;const o=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(e){const t=e[0]==="u";const r=e[1]==="{";if(t&&!r&&e.length===5||e[0]==="x"&&e.length===3){return String.fromCharCode(parseInt(e.slice(1),16))}if(t&&r){return String.fromCodePoint(parseInt(e.slice(2,-1),16))}return o.get(e)||e}function parseArguments(e,t){const r=[];const o=t.trim().split(/\s*,\s*/g);let i;for(const t of o){const o=Number(t);if(!Number.isNaN(o)){r.push(o)}else if(i=t.match(n)){r.push(i[2].replace(s,((e,t,r)=>t?unescape(t):r)))}else{throw new Error(`Invalid Chalk template style argument: ${t} (in style '${e}')`)}}return r}function parseStyle(e){r.lastIndex=0;const t=[];let n;while((n=r.exec(e))!==null){const e=n[1];if(n[2]){const r=parseArguments(e,n[2]);t.push([e].concat(r))}else{t.push([e])}}return t}function buildStyle(e,t){const r={};for(const e of t){for(const t of e.styles){r[t[0]]=e.inverse?null:t.slice(1)}}let n=e;for(const[e,t]of Object.entries(r)){if(!Array.isArray(t)){continue}if(!(e in n)){throw new Error(`Unknown Chalk style: ${e}`)}n=t.length>0?n[e](...t):n[e]}return n}e.exports=(e,r)=>{const n=[];const s=[];let o=[];r.replace(t,((t,r,i,a,l,u)=>{if(r){o.push(unescape(r))}else if(a){const t=o.join("");o=[];s.push(n.length===0?t:buildStyle(e,n)(t));n.push({inverse:i,styles:parseStyle(a)})}else if(l){if(n.length===0){throw new Error("Found extraneous } in Chalk template literal")}s.push(buildStyle(e,n)(o.join("")));o=[];n.pop()}else{o.push(u)}}));s.push(o.join(""));if(n.length>0){const e=`Chalk template literal is missing ${n.length} closing bracket${n.length===1?"":"s"} (\`}\`)`;throw new Error(e)}return s.join("")}},218:e=>{"use strict";const stringReplaceAll=(e,t,r)=>{let n=e.indexOf(t);if(n===-1){return e}const s=t.length;let o=0;let i="";do{i+=e.substr(o,n-o)+t+r;o=n+s;n=e.indexOf(t,o)}while(n!==-1);i+=e.substr(o);return i};const stringEncaseCRLFWithFirstIndex=(e,t,r,n)=>{let s=0;let o="";do{const i=e[n-1]==="\r";o+=e.substr(s,(i?n-1:n)-s)+t+(i?"\r\n":"\n")+r;s=n+1;n=e.indexOf("\n",s)}while(n!==-1);o+=e.substr(s);return o};e.exports={stringReplaceAll:stringReplaceAll,stringEncaseCRLFWithFirstIndex:stringEncaseCRLFWithFirstIndex}},581:(e,t,r)=>{"use strict";const n=r(154);let s=false;t.show=(e=process.stderr)=>{if(!e.isTTY){return}s=false;e.write("[?25h")};t.hide=(e=process.stderr)=>{if(!e.isTTY){return}n();s=true;e.write("[?25l")};t.toggle=(e,r)=>{if(e!==undefined){s=e}if(s){t.show(r)}else{t.hide(r)}}},494:(e,t,r)=>{"use strict";const n=Object.assign({},r(32));const s=Object.keys(n);Object.defineProperty(n,"random",{get(){const e=Math.floor(Math.random()*s.length);const t=s[e];return n[t]}});e.exports=n},578:e=>{var t=function(){"use strict";function clone(e,t,r,n){var s;if(typeof t==="object"){r=t.depth;n=t.prototype;s=t.filter;t=t.circular}var o=[];var i=[];var a=typeof Buffer!="undefined";if(typeof t=="undefined")t=true;if(typeof r=="undefined")r=Infinity;function _clone(e,r){if(e===null)return null;if(r==0)return e;var s;var l;if(typeof e!="object"){return e}if(clone.__isArray(e)){s=[]}else if(clone.__isRegExp(e)){s=new RegExp(e.source,__getRegExpFlags(e));if(e.lastIndex)s.lastIndex=e.lastIndex}else if(clone.__isDate(e)){s=new Date(e.getTime())}else if(a&&Buffer.isBuffer(e)){if(Buffer.allocUnsafe){s=Buffer.allocUnsafe(e.length)}else{s=new Buffer(e.length)}e.copy(s);return s}else{if(typeof n=="undefined"){l=Object.getPrototypeOf(e);s=Object.create(l)}else{s=Object.create(n);l=n}}if(t){var u=o.indexOf(e);if(u!=-1){return i[u]}o.push(e);i.push(s)}for(var f in e){var h;if(l){h=Object.getOwnPropertyDescriptor(l,f)}if(h&&h.set==null){continue}s[f]=_clone(e[f],r-1)}return s}return _clone(e,r)}clone.clonePrototype=function clonePrototype(e){if(e===null)return null;var c=function(){};c.prototype=e;return new c};function __objToStr(e){return Object.prototype.toString.call(e)}clone.__objToStr=__objToStr;function __isDate(e){return typeof e==="object"&&__objToStr(e)==="[object Date]"}clone.__isDate=__isDate;function __isArray(e){return typeof e==="object"&&__objToStr(e)==="[object Array]"}clone.__isArray=__isArray;function __isRegExp(e){return typeof e==="object"&&__objToStr(e)==="[object RegExp]"}clone.__isRegExp=__isRegExp;function __getRegExpFlags(e){var t="";if(e.global)t+="g";if(e.ignoreCase)t+="i";if(e.multiline)t+="m";return t}clone.__getRegExpFlags=__getRegExpFlags;return clone}();if(true&&e.exports){e.exports=t}},117:(e,t,r)=>{var n=r(251);var s={};for(var o in n){if(n.hasOwnProperty(o)){s[n[o]]=o}}var i=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var a in i){if(i.hasOwnProperty(a)){if(!("channels"in i[a])){throw new Error("missing channels property: "+a)}if(!("labels"in i[a])){throw new Error("missing channel labels property: "+a)}if(i[a].labels.length!==i[a].channels){throw new Error("channel and label counts mismatch: "+a)}var l=i[a].channels;var u=i[a].labels;delete i[a].channels;delete i[a].labels;Object.defineProperty(i[a],"channels",{value:l});Object.defineProperty(i[a],"labels",{value:u})}}i.rgb.hsl=function(e){var t=e[0]/255;var r=e[1]/255;var n=e[2]/255;var s=Math.min(t,r,n);var o=Math.max(t,r,n);var i=o-s;var a;var l;var u;if(o===s){a=0}else if(t===o){a=(r-n)/i}else if(r===o){a=2+(n-t)/i}else if(n===o){a=4+(t-r)/i}a=Math.min(a*60,360);if(a<0){a+=360}u=(s+o)/2;if(o===s){l=0}else if(u<=.5){l=i/(o+s)}else{l=i/(2-o-s)}return[a,l*100,u*100]};i.rgb.hsv=function(e){var t;var r;var n;var s;var o;var i=e[0]/255;var a=e[1]/255;var l=e[2]/255;var u=Math.max(i,a,l);var f=u-Math.min(i,a,l);var diffc=function(e){return(u-e)/6/f+1/2};if(f===0){s=o=0}else{o=f/u;t=diffc(i);r=diffc(a);n=diffc(l);if(i===u){s=n-r}else if(a===u){s=1/3+t-n}else if(l===u){s=2/3+r-t}if(s<0){s+=1}else if(s>1){s-=1}}return[s*360,o*100,u*100]};i.rgb.hwb=function(e){var t=e[0];var r=e[1];var n=e[2];var s=i.rgb.hsl(e)[0];var o=1/255*Math.min(t,Math.min(r,n));n=1-1/255*Math.max(t,Math.max(r,n));return[s,o*100,n*100]};i.rgb.cmyk=function(e){var t=e[0]/255;var r=e[1]/255;var n=e[2]/255;var s;var o;var i;var a;a=Math.min(1-t,1-r,1-n);s=(1-t-a)/(1-a)||0;o=(1-r-a)/(1-a)||0;i=(1-n-a)/(1-a)||0;return[s*100,o*100,i*100,a*100]};function comparativeDistance(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)+Math.pow(e[2]-t[2],2)}i.rgb.keyword=function(e){var t=s[e];if(t){return t}var r=Infinity;var o;for(var i in n){if(n.hasOwnProperty(i)){var a=n[i];var l=comparativeDistance(e,a);if(l.04045?Math.pow((t+.055)/1.055,2.4):t/12.92;r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92;n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92;var s=t*.4124+r*.3576+n*.1805;var o=t*.2126+r*.7152+n*.0722;var i=t*.0193+r*.1192+n*.9505;return[s*100,o*100,i*100]};i.rgb.lab=function(e){var t=i.rgb.xyz(e);var r=t[0];var n=t[1];var s=t[2];var o;var a;var l;r/=95.047;n/=100;s/=108.883;r=r>.008856?Math.pow(r,1/3):7.787*r+16/116;n=n>.008856?Math.pow(n,1/3):7.787*n+16/116;s=s>.008856?Math.pow(s,1/3):7.787*s+16/116;o=116*n-16;a=500*(r-n);l=200*(n-s);return[o,a,l]};i.hsl.rgb=function(e){var t=e[0]/360;var r=e[1]/100;var n=e[2]/100;var s;var o;var i;var a;var l;if(r===0){l=n*255;return[l,l,l]}if(n<.5){o=n*(1+r)}else{o=n+r-n*r}s=2*n-o;a=[0,0,0];for(var u=0;u<3;u++){i=t+1/3*-(u-1);if(i<0){i++}if(i>1){i--}if(6*i<1){l=s+(o-s)*6*i}else if(2*i<1){l=o}else if(3*i<2){l=s+(o-s)*(2/3-i)*6}else{l=s}a[u]=l*255}return a};i.hsl.hsv=function(e){var t=e[0];var r=e[1]/100;var n=e[2]/100;var s=r;var o=Math.max(n,.01);var i;var a;n*=2;r*=n<=1?n:2-n;s*=o<=1?o:2-o;a=(n+r)/2;i=n===0?2*s/(o+s):2*r/(n+r);return[t,i*100,a*100]};i.hsv.rgb=function(e){var t=e[0]/60;var r=e[1]/100;var n=e[2]/100;var s=Math.floor(t)%6;var o=t-Math.floor(t);var i=255*n*(1-r);var a=255*n*(1-r*o);var l=255*n*(1-r*(1-o));n*=255;switch(s){case 0:return[n,l,i];case 1:return[a,n,i];case 2:return[i,n,l];case 3:return[i,a,n];case 4:return[l,i,n];case 5:return[n,i,a]}};i.hsv.hsl=function(e){var t=e[0];var r=e[1]/100;var n=e[2]/100;var s=Math.max(n,.01);var o;var i;var a;a=(2-r)*n;o=(2-r)*s;i=r*s;i/=o<=1?o:2-o;i=i||0;a/=2;return[t,i*100,a*100]};i.hwb.rgb=function(e){var t=e[0]/360;var r=e[1]/100;var n=e[2]/100;var s=r+n;var o;var i;var a;var l;if(s>1){r/=s;n/=s}o=Math.floor(6*t);i=1-n;a=6*t-o;if((o&1)!==0){a=1-a}l=r+a*(i-r);var u;var f;var h;switch(o){default:case 6:case 0:u=i;f=l;h=r;break;case 1:u=l;f=i;h=r;break;case 2:u=r;f=i;h=l;break;case 3:u=r;f=l;h=i;break;case 4:u=l;f=r;h=i;break;case 5:u=i;f=r;h=l;break}return[u*255,f*255,h*255]};i.cmyk.rgb=function(e){var t=e[0]/100;var r=e[1]/100;var n=e[2]/100;var s=e[3]/100;var o;var i;var a;o=1-Math.min(1,t*(1-s)+s);i=1-Math.min(1,r*(1-s)+s);a=1-Math.min(1,n*(1-s)+s);return[o*255,i*255,a*255]};i.xyz.rgb=function(e){var t=e[0]/100;var r=e[1]/100;var n=e[2]/100;var s;var o;var i;s=t*3.2406+r*-1.5372+n*-.4986;o=t*-.9689+r*1.8758+n*.0415;i=t*.0557+r*-.204+n*1.057;s=s>.0031308?1.055*Math.pow(s,1/2.4)-.055:s*12.92;o=o>.0031308?1.055*Math.pow(o,1/2.4)-.055:o*12.92;i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*12.92;s=Math.min(Math.max(0,s),1);o=Math.min(Math.max(0,o),1);i=Math.min(Math.max(0,i),1);return[s*255,o*255,i*255]};i.xyz.lab=function(e){var t=e[0];var r=e[1];var n=e[2];var s;var o;var i;t/=95.047;r/=100;n/=108.883;t=t>.008856?Math.pow(t,1/3):7.787*t+16/116;r=r>.008856?Math.pow(r,1/3):7.787*r+16/116;n=n>.008856?Math.pow(n,1/3):7.787*n+16/116;s=116*r-16;o=500*(t-r);i=200*(r-n);return[s,o,i]};i.lab.xyz=function(e){var t=e[0];var r=e[1];var n=e[2];var s;var o;var i;o=(t+16)/116;s=r/500+o;i=o-n/200;var a=Math.pow(o,3);var l=Math.pow(s,3);var u=Math.pow(i,3);o=a>.008856?a:(o-16/116)/7.787;s=l>.008856?l:(s-16/116)/7.787;i=u>.008856?u:(i-16/116)/7.787;s*=95.047;o*=100;i*=108.883;return[s,o,i]};i.lab.lch=function(e){var t=e[0];var r=e[1];var n=e[2];var s;var o;var i;s=Math.atan2(n,r);o=s*360/2/Math.PI;if(o<0){o+=360}i=Math.sqrt(r*r+n*n);return[t,i,o]};i.lch.lab=function(e){var t=e[0];var r=e[1];var n=e[2];var s;var o;var i;i=n/360*2*Math.PI;s=r*Math.cos(i);o=r*Math.sin(i);return[t,s,o]};i.rgb.ansi16=function(e){var t=e[0];var r=e[1];var n=e[2];var s=1 in arguments?arguments[1]:i.rgb.hsv(e)[2];s=Math.round(s/50);if(s===0){return 30}var o=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(t/255));if(s===2){o+=60}return o};i.hsv.ansi16=function(e){return i.rgb.ansi16(i.hsv.rgb(e),e[2])};i.rgb.ansi256=function(e){var t=e[0];var r=e[1];var n=e[2];if(t===r&&r===n){if(t<8){return 16}if(t>248){return 231}return Math.round((t-8)/247*24)+232}var s=16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5);return s};i.ansi16.rgb=function(e){var t=e%10;if(t===0||t===7){if(e>50){t+=3.5}t=t/10.5*255;return[t,t,t]}var r=(~~(e>50)+1)*.5;var n=(t&1)*r*255;var s=(t>>1&1)*r*255;var o=(t>>2&1)*r*255;return[n,s,o]};i.ansi256.rgb=function(e){if(e>=232){var t=(e-232)*10+8;return[t,t,t]}e-=16;var r;var n=Math.floor(e/36)/5*255;var s=Math.floor((r=e%36)/6)/5*255;var o=r%6/5*255;return[n,s,o]};i.rgb.hex=function(e){var t=((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255);var r=t.toString(16).toUpperCase();return"000000".substring(r.length)+r};i.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t){return[0,0,0]}var r=t[0];if(t[0].length===3){r=r.split("").map((function(e){return e+e})).join("")}var n=parseInt(r,16);var s=n>>16&255;var o=n>>8&255;var i=n&255;return[s,o,i]};i.rgb.hcg=function(e){var t=e[0]/255;var r=e[1]/255;var n=e[2]/255;var s=Math.max(Math.max(t,r),n);var o=Math.min(Math.min(t,r),n);var i=s-o;var a;var l;if(i<1){a=o/(1-i)}else{a=0}if(i<=0){l=0}else if(s===t){l=(r-n)/i%6}else if(s===r){l=2+(n-t)/i}else{l=4+(t-r)/i+4}l/=6;l%=1;return[l*360,i*100,a*100]};i.hsl.hcg=function(e){var t=e[1]/100;var r=e[2]/100;var n=1;var s=0;if(r<.5){n=2*t*r}else{n=2*t*(1-r)}if(n<1){s=(r-.5*n)/(1-n)}return[e[0],n*100,s*100]};i.hsv.hcg=function(e){var t=e[1]/100;var r=e[2]/100;var n=t*r;var s=0;if(n<1){s=(r-n)/(1-n)}return[e[0],n*100,s*100]};i.hcg.rgb=function(e){var t=e[0]/360;var r=e[1]/100;var n=e[2]/100;if(r===0){return[n*255,n*255,n*255]}var s=[0,0,0];var o=t%1*6;var i=o%1;var a=1-i;var l=0;switch(Math.floor(o)){case 0:s[0]=1;s[1]=i;s[2]=0;break;case 1:s[0]=a;s[1]=1;s[2]=0;break;case 2:s[0]=0;s[1]=1;s[2]=i;break;case 3:s[0]=0;s[1]=a;s[2]=1;break;case 4:s[0]=i;s[1]=0;s[2]=1;break;default:s[0]=1;s[1]=0;s[2]=a}l=(1-r)*n;return[(r*s[0]+l)*255,(r*s[1]+l)*255,(r*s[2]+l)*255]};i.hcg.hsv=function(e){var t=e[1]/100;var r=e[2]/100;var n=t+r*(1-t);var s=0;if(n>0){s=t/n}return[e[0],s*100,n*100]};i.hcg.hsl=function(e){var t=e[1]/100;var r=e[2]/100;var n=r*(1-t)+.5*t;var s=0;if(n>0&&n<.5){s=t/(2*n)}else if(n>=.5&&n<1){s=t/(2*(1-n))}return[e[0],s*100,n*100]};i.hcg.hwb=function(e){var t=e[1]/100;var r=e[2]/100;var n=t+r*(1-t);return[e[0],(n-t)*100,(1-n)*100]};i.hwb.hcg=function(e){var t=e[1]/100;var r=e[2]/100;var n=1-r;var s=n-t;var o=0;if(s<1){o=(n-s)/(1-s)}return[e[0],s*100,o*100]};i.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};i.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};i.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};i.gray.hsl=i.gray.hsv=function(e){return[0,0,e[0]]};i.gray.hwb=function(e){return[0,100,e[0]]};i.gray.cmyk=function(e){return[0,0,0,e[0]]};i.gray.lab=function(e){return[e[0],0,0]};i.gray.hex=function(e){var t=Math.round(e[0]/100*255)&255;var r=(t<<16)+(t<<8)+t;var n=r.toString(16).toUpperCase();return"000000".substring(n.length)+n};i.rgb.gray=function(e){var t=(e[0]+e[1]+e[2])/3;return[t/255*100]}},54:(e,t,r)=>{var n=r(117);var s=r(528);var o={};var i=Object.keys(n);function wrapRaw(e){var wrappedFn=function(t){if(t===undefined||t===null){return t}if(arguments.length>1){t=Array.prototype.slice.call(arguments)}return e(t)};if("conversion"in e){wrappedFn.conversion=e.conversion}return wrappedFn}function wrapRounded(e){var wrappedFn=function(t){if(t===undefined||t===null){return t}if(arguments.length>1){t=Array.prototype.slice.call(arguments)}var r=e(t);if(typeof r==="object"){for(var n=r.length,s=0;s{var n=r(117);function buildGraph(){var e={};var t=Object.keys(n);for(var r=t.length,s=0;s{const n=r(993);const s={};for(const e of Object.keys(n)){s[n[e]]=e}const o={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};e.exports=o;for(const e of Object.keys(o)){if(!("channels"in o[e])){throw new Error("missing channels property: "+e)}if(!("labels"in o[e])){throw new Error("missing channel labels property: "+e)}if(o[e].labels.length!==o[e].channels){throw new Error("channel and label counts mismatch: "+e)}const{channels:t,labels:r}=o[e];delete o[e].channels;delete o[e].labels;Object.defineProperty(o[e],"channels",{value:t});Object.defineProperty(o[e],"labels",{value:r})}o.rgb.hsl=function(e){const t=e[0]/255;const r=e[1]/255;const n=e[2]/255;const s=Math.min(t,r,n);const o=Math.max(t,r,n);const i=o-s;let a;let l;if(o===s){a=0}else if(t===o){a=(r-n)/i}else if(r===o){a=2+(n-t)/i}else if(n===o){a=4+(t-r)/i}a=Math.min(a*60,360);if(a<0){a+=360}const u=(s+o)/2;if(o===s){l=0}else if(u<=.5){l=i/(o+s)}else{l=i/(2-o-s)}return[a,l*100,u*100]};o.rgb.hsv=function(e){let t;let r;let n;let s;let o;const i=e[0]/255;const a=e[1]/255;const l=e[2]/255;const u=Math.max(i,a,l);const f=u-Math.min(i,a,l);const diffc=function(e){return(u-e)/6/f+1/2};if(f===0){s=0;o=0}else{o=f/u;t=diffc(i);r=diffc(a);n=diffc(l);if(i===u){s=n-r}else if(a===u){s=1/3+t-n}else if(l===u){s=2/3+r-t}if(s<0){s+=1}else if(s>1){s-=1}}return[s*360,o*100,u*100]};o.rgb.hwb=function(e){const t=e[0];const r=e[1];let n=e[2];const s=o.rgb.hsl(e)[0];const i=1/255*Math.min(t,Math.min(r,n));n=1-1/255*Math.max(t,Math.max(r,n));return[s,i*100,n*100]};o.rgb.cmyk=function(e){const t=e[0]/255;const r=e[1]/255;const n=e[2]/255;const s=Math.min(1-t,1-r,1-n);const o=(1-t-s)/(1-s)||0;const i=(1-r-s)/(1-s)||0;const a=(1-n-s)/(1-s)||0;return[o*100,i*100,a*100,s*100]};function comparativeDistance(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}o.rgb.keyword=function(e){const t=s[e];if(t){return t}let r=Infinity;let o;for(const t of Object.keys(n)){const s=n[t];const i=comparativeDistance(e,s);if(i.04045?((t+.055)/1.055)**2.4:t/12.92;r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;const s=t*.4124+r*.3576+n*.1805;const o=t*.2126+r*.7152+n*.0722;const i=t*.0193+r*.1192+n*.9505;return[s*100,o*100,i*100]};o.rgb.lab=function(e){const t=o.rgb.xyz(e);let r=t[0];let n=t[1];let s=t[2];r/=95.047;n/=100;s/=108.883;r=r>.008856?r**(1/3):7.787*r+16/116;n=n>.008856?n**(1/3):7.787*n+16/116;s=s>.008856?s**(1/3):7.787*s+16/116;const i=116*n-16;const a=500*(r-n);const l=200*(n-s);return[i,a,l]};o.hsl.rgb=function(e){const t=e[0]/360;const r=e[1]/100;const n=e[2]/100;let s;let o;let i;if(r===0){i=n*255;return[i,i,i]}if(n<.5){s=n*(1+r)}else{s=n+r-n*r}const a=2*n-s;const l=[0,0,0];for(let e=0;e<3;e++){o=t+1/3*-(e-1);if(o<0){o++}if(o>1){o--}if(6*o<1){i=a+(s-a)*6*o}else if(2*o<1){i=s}else if(3*o<2){i=a+(s-a)*(2/3-o)*6}else{i=a}l[e]=i*255}return l};o.hsl.hsv=function(e){const t=e[0];let r=e[1]/100;let n=e[2]/100;let s=r;const o=Math.max(n,.01);n*=2;r*=n<=1?n:2-n;s*=o<=1?o:2-o;const i=(n+r)/2;const a=n===0?2*s/(o+s):2*r/(n+r);return[t,a*100,i*100]};o.hsv.rgb=function(e){const t=e[0]/60;const r=e[1]/100;let n=e[2]/100;const s=Math.floor(t)%6;const o=t-Math.floor(t);const i=255*n*(1-r);const a=255*n*(1-r*o);const l=255*n*(1-r*(1-o));n*=255;switch(s){case 0:return[n,l,i];case 1:return[a,n,i];case 2:return[i,n,l];case 3:return[i,a,n];case 4:return[l,i,n];case 5:return[n,i,a]}};o.hsv.hsl=function(e){const t=e[0];const r=e[1]/100;const n=e[2]/100;const s=Math.max(n,.01);let o;let i;i=(2-r)*n;const a=(2-r)*s;o=r*s;o/=a<=1?a:2-a;o=o||0;i/=2;return[t,o*100,i*100]};o.hwb.rgb=function(e){const t=e[0]/360;let r=e[1]/100;let n=e[2]/100;const s=r+n;let o;if(s>1){r/=s;n/=s}const i=Math.floor(6*t);const a=1-n;o=6*t-i;if((i&1)!==0){o=1-o}const l=r+o*(a-r);let u;let f;let h;switch(i){default:case 6:case 0:u=a;f=l;h=r;break;case 1:u=l;f=a;h=r;break;case 2:u=r;f=a;h=l;break;case 3:u=r;f=l;h=a;break;case 4:u=l;f=r;h=a;break;case 5:u=a;f=r;h=l;break}return[u*255,f*255,h*255]};o.cmyk.rgb=function(e){const t=e[0]/100;const r=e[1]/100;const n=e[2]/100;const s=e[3]/100;const o=1-Math.min(1,t*(1-s)+s);const i=1-Math.min(1,r*(1-s)+s);const a=1-Math.min(1,n*(1-s)+s);return[o*255,i*255,a*255]};o.xyz.rgb=function(e){const t=e[0]/100;const r=e[1]/100;const n=e[2]/100;let s;let o;let i;s=t*3.2406+r*-1.5372+n*-.4986;o=t*-.9689+r*1.8758+n*.0415;i=t*.0557+r*-.204+n*1.057;s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92;o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92;i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92;s=Math.min(Math.max(0,s),1);o=Math.min(Math.max(0,o),1);i=Math.min(Math.max(0,i),1);return[s*255,o*255,i*255]};o.xyz.lab=function(e){let t=e[0];let r=e[1];let n=e[2];t/=95.047;r/=100;n/=108.883;t=t>.008856?t**(1/3):7.787*t+16/116;r=r>.008856?r**(1/3):7.787*r+16/116;n=n>.008856?n**(1/3):7.787*n+16/116;const s=116*r-16;const o=500*(t-r);const i=200*(r-n);return[s,o,i]};o.lab.xyz=function(e){const t=e[0];const r=e[1];const n=e[2];let s;let o;let i;o=(t+16)/116;s=r/500+o;i=o-n/200;const a=o**3;const l=s**3;const u=i**3;o=a>.008856?a:(o-16/116)/7.787;s=l>.008856?l:(s-16/116)/7.787;i=u>.008856?u:(i-16/116)/7.787;s*=95.047;o*=100;i*=108.883;return[s,o,i]};o.lab.lch=function(e){const t=e[0];const r=e[1];const n=e[2];let s;const o=Math.atan2(n,r);s=o*360/2/Math.PI;if(s<0){s+=360}const i=Math.sqrt(r*r+n*n);return[t,i,s]};o.lch.lab=function(e){const t=e[0];const r=e[1];const n=e[2];const s=n/360*2*Math.PI;const o=r*Math.cos(s);const i=r*Math.sin(s);return[t,o,i]};o.rgb.ansi16=function(e,t=null){const[r,n,s]=e;let i=t===null?o.rgb.hsv(e)[2]:t;i=Math.round(i/50);if(i===0){return 30}let a=30+(Math.round(s/255)<<2|Math.round(n/255)<<1|Math.round(r/255));if(i===2){a+=60}return a};o.hsv.ansi16=function(e){return o.rgb.ansi16(o.hsv.rgb(e),e[2])};o.rgb.ansi256=function(e){const t=e[0];const r=e[1];const n=e[2];if(t===r&&r===n){if(t<8){return 16}if(t>248){return 231}return Math.round((t-8)/247*24)+232}const s=16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5);return s};o.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7){if(e>50){t+=3.5}t=t/10.5*255;return[t,t,t]}const r=(~~(e>50)+1)*.5;const n=(t&1)*r*255;const s=(t>>1&1)*r*255;const o=(t>>2&1)*r*255;return[n,s,o]};o.ansi256.rgb=function(e){if(e>=232){const t=(e-232)*10+8;return[t,t,t]}e-=16;let t;const r=Math.floor(e/36)/5*255;const n=Math.floor((t=e%36)/6)/5*255;const s=t%6/5*255;return[r,n,s]};o.rgb.hex=function(e){const t=((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255);const r=t.toString(16).toUpperCase();return"000000".substring(r.length)+r};o.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t){return[0,0,0]}let r=t[0];if(t[0].length===3){r=r.split("").map((e=>e+e)).join("")}const n=parseInt(r,16);const s=n>>16&255;const o=n>>8&255;const i=n&255;return[s,o,i]};o.rgb.hcg=function(e){const t=e[0]/255;const r=e[1]/255;const n=e[2]/255;const s=Math.max(Math.max(t,r),n);const o=Math.min(Math.min(t,r),n);const i=s-o;let a;let l;if(i<1){a=o/(1-i)}else{a=0}if(i<=0){l=0}else if(s===t){l=(r-n)/i%6}else if(s===r){l=2+(n-t)/i}else{l=4+(t-r)/i}l/=6;l%=1;return[l*360,i*100,a*100]};o.hsl.hcg=function(e){const t=e[1]/100;const r=e[2]/100;const n=r<.5?2*t*r:2*t*(1-r);let s=0;if(n<1){s=(r-.5*n)/(1-n)}return[e[0],n*100,s*100]};o.hsv.hcg=function(e){const t=e[1]/100;const r=e[2]/100;const n=t*r;let s=0;if(n<1){s=(r-n)/(1-n)}return[e[0],n*100,s*100]};o.hcg.rgb=function(e){const t=e[0]/360;const r=e[1]/100;const n=e[2]/100;if(r===0){return[n*255,n*255,n*255]}const s=[0,0,0];const o=t%1*6;const i=o%1;const a=1-i;let l=0;switch(Math.floor(o)){case 0:s[0]=1;s[1]=i;s[2]=0;break;case 1:s[0]=a;s[1]=1;s[2]=0;break;case 2:s[0]=0;s[1]=1;s[2]=i;break;case 3:s[0]=0;s[1]=a;s[2]=1;break;case 4:s[0]=i;s[1]=0;s[2]=1;break;default:s[0]=1;s[1]=0;s[2]=a}l=(1-r)*n;return[(r*s[0]+l)*255,(r*s[1]+l)*255,(r*s[2]+l)*255]};o.hcg.hsv=function(e){const t=e[1]/100;const r=e[2]/100;const n=t+r*(1-t);let s=0;if(n>0){s=t/n}return[e[0],s*100,n*100]};o.hcg.hsl=function(e){const t=e[1]/100;const r=e[2]/100;const n=r*(1-t)+.5*t;let s=0;if(n>0&&n<.5){s=t/(2*n)}else if(n>=.5&&n<1){s=t/(2*(1-n))}return[e[0],s*100,n*100]};o.hcg.hwb=function(e){const t=e[1]/100;const r=e[2]/100;const n=t+r*(1-t);return[e[0],(n-t)*100,(1-n)*100]};o.hwb.hcg=function(e){const t=e[1]/100;const r=e[2]/100;const n=1-r;const s=n-t;let o=0;if(s<1){o=(n-s)/(1-s)}return[e[0],s*100,o*100]};o.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};o.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};o.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};o.gray.hsl=function(e){return[0,0,e[0]]};o.gray.hsv=o.gray.hsl;o.gray.hwb=function(e){return[0,100,e[0]]};o.gray.cmyk=function(e){return[0,0,0,e[0]]};o.gray.lab=function(e){return[e[0],0,0]};o.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255;const r=(t<<16)+(t<<8)+t;const n=r.toString(16).toUpperCase();return"000000".substring(n.length)+n};o.rgb.gray=function(e){const t=(e[0]+e[1]+e[2])/3;return[t/255*100]}},226:(e,t,r)=>{const n=r(113);const s=r(971);const o={};const i=Object.keys(n);function wrapRaw(e){const wrappedFn=function(...t){const r=t[0];if(r===undefined||r===null){return r}if(r.length>1){t=r}return e(t)};if("conversion"in e){wrappedFn.conversion=e.conversion}return wrappedFn}function wrapRounded(e){const wrappedFn=function(...t){const r=t[0];if(r===undefined||r===null){return r}if(r.length>1){t=r}const n=e(t);if(typeof n==="object"){for(let e=n.length,t=0;t{o[e]={};Object.defineProperty(o[e],"channels",{value:n[e].channels});Object.defineProperty(o[e],"labels",{value:n[e].labels});const t=s(e);const r=Object.keys(t);r.forEach((r=>{const n=t[r];o[e][r]=wrapRounded(n);o[e][r].raw=wrapRaw(n)}))}));e.exports=o},971:(e,t,r)=>{const n=r(113);function buildGraph(){const e={};const t=Object.keys(n);for(let r=t.length,n=0;n{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},993:e=>{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},987:(e,t,r)=>{var n=r(578);e.exports=function(e,t){e=e||{};Object.keys(t).forEach((function(r){if(typeof e[r]==="undefined"){e[r]=n(t[r])}}));return e}},379:e=>{"use strict";var t=/[|\\{}()[\]^$+*?.]/g;e.exports=function(e){if(typeof e!=="string"){throw new TypeError("Expected a string")}return e.replace(t,"\\$&")}},343:e=>{"use strict";e.exports=(e,t)=>{t=t||process.argv;const r=e.startsWith("-")?"":e.length===1?"-":"--";const n=t.indexOf(r+e);const s=t.indexOf("--");return n!==-1&&(s===-1?true:n{"use strict";e.exports=(e,t=process.argv)=>{const r=e.startsWith("-")?"":e.length===1?"-":"--";const n=t.indexOf(r+e);const s=t.indexOf("--");return n!==-1&&(s===-1||n{"use strict";e.exports=({stream:e=process.stdout}={})=>Boolean(e&&e.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))},663:(e,t,r)=>{"use strict";const n=r(148);const s=process.platform!=="win32"||process.env.CI||process.env.TERM==="xterm-256color";const o={info:n.blue("ℹ"),success:n.green("✔"),warning:n.yellow("⚠"),error:n.red("✖")};const i={info:n.blue("i"),success:n.green("√"),warning:n.yellow("‼"),error:n.red("×")};e.exports=s?o:i},469:e=>{"use strict";const mimicFn=(e,t)=>{for(const r of Reflect.ownKeys(t)){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}return e};e.exports=mimicFn;e.exports["default"]=mimicFn},502:(e,t,r)=>{var n=r(955);e.exports=MuteStream;function MuteStream(e){n.apply(this);e=e||{};this.writable=this.readable=true;this.muted=false;this.on("pipe",this._onpipe);this.replace=e.replace;this._prompt=e.prompt||null;this._hadControl=false}MuteStream.prototype=Object.create(n.prototype);Object.defineProperty(MuteStream.prototype,"constructor",{value:MuteStream,enumerable:false});MuteStream.prototype.mute=function(){this.muted=true};MuteStream.prototype.unmute=function(){this.muted=false};Object.defineProperty(MuteStream.prototype,"_onpipe",{value:onPipe,enumerable:false,writable:true,configurable:true});function onPipe(e){this._src=e}Object.defineProperty(MuteStream.prototype,"isTTY",{get:getIsTTY,set:setIsTTY,enumerable:true,configurable:true});function getIsTTY(){return this._dest?this._dest.isTTY:this._src?this._src.isTTY:false}function setIsTTY(e){Object.defineProperty(this,"isTTY",{value:e,enumerable:true,writable:true,configurable:true})}Object.defineProperty(MuteStream.prototype,"rows",{get:function(){return this._dest?this._dest.rows:this._src?this._src.rows:undefined},enumerable:true,configurable:true});Object.defineProperty(MuteStream.prototype,"columns",{get:function(){return this._dest?this._dest.columns:this._src?this._src.columns:undefined},enumerable:true,configurable:true});MuteStream.prototype.pipe=function(e,t){this._dest=e;return n.prototype.pipe.call(this,e,t)};MuteStream.prototype.pause=function(){if(this._src)return this._src.pause()};MuteStream.prototype.resume=function(){if(this._src)return this._src.resume()};MuteStream.prototype.write=function(e){if(this.muted){if(!this.replace)return true;if(e.match(/^\u001b/)){if(e.indexOf(this._prompt)===0){e=e.substr(this._prompt.length);e=e.replace(/./g,this.replace);e=this._prompt+e}this._hadControl=true;return this.emit("data",e)}else{if(this._prompt&&this._hadControl&&e.indexOf(this._prompt)===0){this._hadControl=false;this.emit("data",this._prompt);e=e.substr(this._prompt.length)}e=e.toString().replace(/./g,this.replace)}}this.emit("data",e)};MuteStream.prototype.end=function(e){if(this.muted){if(e&&this.replace){e=e.toString().replace(/./g,this.replace)}else{e=null}}if(e)this.emit("data",e);this.emit("end")};function proxy(e){return function(){var t=this._dest;var r=this._src;if(t&&t[e])t[e].apply(t,arguments);if(r&&r[e])r[e].apply(r,arguments)}}MuteStream.prototype.destroy=proxy("destroy");MuteStream.prototype.destroySoon=proxy("destroySoon");MuteStream.prototype.close=proxy("close")},430:(e,t,r)=>{"use strict";const n=r(469);const s=new WeakMap;const onetime=(e,t={})=>{if(typeof e!=="function"){throw new TypeError("Expected a function")}let r;let o=0;const i=e.displayName||e.name||"";const onetime=function(...n){s.set(onetime,++o);if(o===1){r=e.apply(this,n);e=null}else if(t.throw===true){throw new Error(`Function \`${i}\` can only be called once`)}return r};n(onetime,e);s.set(onetime,o);return onetime};e.exports=onetime;e.exports["default"]=onetime;e.exports.callCount=e=>{if(!s.has(e)){throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`)}return s.get(e)}},327:(e,t,r)=>{"use strict";const n=r(521);const s=r(385);const o=r(581);const i=r(494);const a=r(663);const l=r(518);const u=r(457);const f=r(934);const h=r(502);const p=Symbol("text");const g=Symbol("prefixText");const d=3;class StdinDiscarder{constructor(){this.requests=0;this.mutedStream=new h;this.mutedStream.pipe(process.stdout);this.mutedStream.mute();const e=this;this.ourEmit=function(t,r,...n){const{stdin:s}=process;if(e.requests>0||s.emit===e.ourEmit){if(t==="keypress"){return}if(t==="data"&&r.includes(d)){process.emit("SIGINT")}Reflect.apply(e.oldEmit,this,[t,r,...n])}else{Reflect.apply(process.stdin.emit,this,[t,r,...n])}}}start(){this.requests++;if(this.requests===1){this.realStart()}}stop(){if(this.requests<=0){throw new Error("`stop` called more times than `start`")}this.requests--;if(this.requests===0){this.realStop()}}realStart(){if(process.platform==="win32"){return}this.rl=n.createInterface({input:process.stdin,output:this.mutedStream});this.rl.on("SIGINT",(()=>{if(process.listenerCount("SIGINT")===0){process.emit("SIGINT")}else{this.rl.close();process.kill(process.pid,"SIGINT")}}))}realStop(){if(process.platform==="win32"){return}this.rl.close();this.rl=undefined}}const v=new StdinDiscarder;class Ora{constructor(e){if(typeof e==="string"){e={text:e}}this.options={text:"",color:"cyan",stream:process.stderr,discardStdin:true,...e};this.spinner=this.options.spinner;this.color=this.options.color;this.hideCursor=this.options.hideCursor!==false;this.interval=this.options.interval||this.spinner.interval||100;this.stream=this.options.stream;this.id=undefined;this.isEnabled=typeof this.options.isEnabled==="boolean"?this.options.isEnabled:f({stream:this.stream});this.text=this.options.text;this.prefixText=this.options.prefixText;this.linesToClear=0;this.indent=this.options.indent;this.discardStdin=this.options.discardStdin;this.isDiscardingStdin=false}get indent(){return this._indent}set indent(e=0){if(!(e>=0&&Number.isInteger(e))){throw new Error("The `indent` option must be an integer from 0 and up")}this._indent=e}_updateInterval(e){if(e!==undefined){this.interval=e}}get spinner(){return this._spinner}set spinner(e){this.frameIndex=0;if(typeof e==="object"){if(e.frames===undefined){throw new Error("The given spinner must have a `frames` property")}this._spinner=e}else if(process.platform==="win32"){this._spinner=i.line}else if(e===undefined){this._spinner=i.dots}else if(i[e]){this._spinner=i[e]}else{throw new Error(`There is no built-in spinner named '${e}'. See https://github.com/sindresorhus/cli-spinners/blob/master/spinners.json for a full list.`)}this._updateInterval(this._spinner.interval)}get text(){return this[p]}get prefixText(){return this[g]}get isSpinning(){return this.id!==undefined}updateLineCount(){const e=this.stream.columns||80;const t=typeof this[g]==="string"?this[g]+"-":"";this.lineCount=l(t+"--"+this[p]).split("\n").reduce(((t,r)=>t+Math.max(1,Math.ceil(u(r)/e))),0)}set text(e){this[p]=e;this.updateLineCount()}set prefixText(e){this[g]=e;this.updateLineCount()}frame(){const{frames:e}=this.spinner;let t=e[this.frameIndex];if(this.color){t=s[this.color](t)}this.frameIndex=++this.frameIndex%e.length;const r=typeof this.prefixText==="string"&&this.prefixText!==""?this.prefixText+" ":"";const n=typeof this.text==="string"?" "+this.text:"";return r+t+n}clear(){if(!this.isEnabled||!this.stream.isTTY){return this}for(let e=0;e0){this.stream.moveCursor(0,-1)}this.stream.clearLine();this.stream.cursorTo(this.indent)}this.linesToClear=0;return this}render(){this.clear();this.stream.write(this.frame());this.linesToClear=this.lineCount;return this}start(e){if(e){this.text=e}if(!this.isEnabled){if(this.text){this.stream.write(`- ${this.text}\n`)}return this}if(this.isSpinning){return this}if(this.hideCursor){o.hide(this.stream)}if(this.discardStdin&&process.stdin.isTTY){this.isDiscardingStdin=true;v.start()}this.render();this.id=setInterval(this.render.bind(this),this.interval);return this}stop(){if(!this.isEnabled){return this}clearInterval(this.id);this.id=undefined;this.frameIndex=0;this.clear();if(this.hideCursor){o.show(this.stream)}if(this.discardStdin&&process.stdin.isTTY&&this.isDiscardingStdin){v.stop();this.isDiscardingStdin=false}return this}succeed(e){return this.stopAndPersist({symbol:a.success,text:e})}fail(e){return this.stopAndPersist({symbol:a.error,text:e})}warn(e){return this.stopAndPersist({symbol:a.warning,text:e})}info(e){return this.stopAndPersist({symbol:a.info,text:e})}stopAndPersist(e={}){const t=e.prefixText||this.prefixText;const r=typeof t==="string"&&t!==""?t+" ":"";const n=e.text||this.text;const s=typeof n==="string"?" "+n:"";this.stop();this.stream.write(`${r}${e.symbol||" "}${s}\n`);return this}}const oraFactory=function(e){return new Ora(e)};e.exports=oraFactory;e.exports.promise=(e,t)=>{if(typeof e.then!=="function"){throw new TypeError("Parameter `action` must be a Promise")}const r=new Ora(t);r.start();(async()=>{try{await e;r.succeed()}catch(e){r.fail()}})();return r}},154:(e,t,r)=>{"use strict";const n=r(430);const s=r(234);e.exports=n((()=>{s((()=>{process.stderr.write("[?25h")}),{alwaysLast:true})}))},234:(e,t,r)=>{var n=global.process;const processOk=function(e){return e&&typeof e==="object"&&typeof e.removeListener==="function"&&typeof e.emit==="function"&&typeof e.reallyExit==="function"&&typeof e.listeners==="function"&&typeof e.kill==="function"&&typeof e.pid==="number"&&typeof e.on==="function"};if(!processOk(n)){e.exports=function(){return function(){}}}else{var s=r(491);var o=r(986);var i=/^win/i.test(n.platform);var a=r(361);if(typeof a!=="function"){a=a.EventEmitter}var l;if(n.__signal_exit_emitter__){l=n.__signal_exit_emitter__}else{l=n.__signal_exit_emitter__=new a;l.count=0;l.emitted={}}if(!l.infinite){l.setMaxListeners(Infinity);l.infinite=true}e.exports=function(e,t){if(!processOk(global.process)){return function(){}}s.equal(typeof e,"function","a callback must be provided for exit handler");if(p===false){g()}var r="exit";if(t&&t.alwaysLast){r="afterexit"}var remove=function(){l.removeListener(r,e);if(l.listeners("exit").length===0&&l.listeners("afterexit").length===0){u()}};l.on(r,e);return remove};var u=function unload(){if(!p||!processOk(global.process)){return}p=false;o.forEach((function(e){try{n.removeListener(e,h[e])}catch(e){}}));n.emit=b;n.reallyExit=d;l.count-=1};e.exports.unload=u;var f=function emit(e,t,r){if(l.emitted[e]){return}l.emitted[e]=true;l.emit(e,t,r)};var h={};o.forEach((function(e){h[e]=function listener(){if(!processOk(global.process)){return}var t=n.listeners(e);if(t.length===l.count){u();f("exit",null,e);f("afterexit",null,e);if(i&&e==="SIGHUP"){e="SIGINT"}n.kill(n.pid,e)}}}));e.exports.signals=function(){return o};var p=false;var g=function load(){if(p||!processOk(global.process)){return}p=true;l.count+=1;o=o.filter((function(e){try{n.on(e,h[e]);return true}catch(e){return false}}));n.emit=m;n.reallyExit=v};e.exports.load=g;var d=n.reallyExit;var v=function processReallyExit(e){if(!processOk(global.process)){return}n.exitCode=e||0;f("exit",n.exitCode,null);f("afterexit",n.exitCode,null);d.call(n,n.exitCode)};var b=n.emit;var m=function processEmit(e,t){if(e==="exit"&&processOk(global.process)){if(t!==undefined){n.exitCode=t}var r=b.apply(this,arguments);f("exit",n.exitCode,null);f("afterexit",n.exitCode,null);return r}else{return b.apply(this,arguments)}}}},986:e=>{e.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];if(process.platform!=="win32"){e.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT")}if(process.platform==="linux"){e.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")}},220:(e,t,r)=>{"use strict";const n=r(37);const s=r(343);const o=process.env;let i;if(s("no-color")||s("no-colors")||s("color=false")){i=false}else if(s("color")||s("colors")||s("color=true")||s("color=always")){i=true}if("FORCE_COLOR"in o){i=o.FORCE_COLOR.length===0||parseInt(o.FORCE_COLOR,10)!==0}function translateLevel(e){if(e===0){return false}return{level:e,hasBasic:true,has256:e>=2,has16m:e>=3}}function supportsColor(e){if(i===false){return 0}if(s("color=16m")||s("color=full")||s("color=truecolor")){return 3}if(s("color=256")){return 2}if(e&&!e.isTTY&&i!==true){return 0}const t=i?1:0;if(process.platform==="win32"){const e=n.release().split(".");if(Number(process.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586){return Number(e[2])>=14931?3:2}return 1}if("CI"in o){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((e=>e in o))||o.CI_NAME==="codeship"){return 1}return t}if("TEAMCITY_VERSION"in o){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(o.TEAMCITY_VERSION)?1:0}if(o.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in o){const e=parseInt((o.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(o.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(o.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(o.TERM)){return 1}if("COLORTERM"in o){return 1}if(o.TERM==="dumb"){return t}return t}function getSupportLevel(e){const t=supportsColor(e);return translateLevel(t)}e.exports={supportsColor:getSupportLevel,stdout:getSupportLevel(process.stdout),stderr:getSupportLevel(process.stderr)}},793:(e,t,r)=>{"use strict";const n=r(37);const s=r(224);const o=r(914);const{env:i}=process;let a;if(o("no-color")||o("no-colors")||o("color=false")||o("color=never")){a=0}else if(o("color")||o("colors")||o("color=true")||o("color=always")){a=1}if("FORCE_COLOR"in i){if(i.FORCE_COLOR==="true"){a=1}else if(i.FORCE_COLOR==="false"){a=0}else{a=i.FORCE_COLOR.length===0?1:Math.min(parseInt(i.FORCE_COLOR,10),3)}}function translateLevel(e){if(e===0){return false}return{level:e,hasBasic:true,has256:e>=2,has16m:e>=3}}function supportsColor(e,t){if(a===0){return 0}if(o("color=16m")||o("color=full")||o("color=truecolor")){return 3}if(o("color=256")){return 2}if(e&&!t&&a===undefined){return 0}const r=a||0;if(i.TERM==="dumb"){return r}if(process.platform==="win32"){const e=n.release().split(".");if(Number(e[0])>=10&&Number(e[2])>=10586){return Number(e[2])>=14931?3:2}return 1}if("CI"in i){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in i))||i.CI_NAME==="codeship"){return 1}return r}if("TEAMCITY_VERSION"in i){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0}if(i.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in i){const e=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(i.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(i.TERM)){return 1}if("COLORTERM"in i){return 1}return r}function getSupportLevel(e){const t=supportsColor(e,e&&e.isTTY);return translateLevel(t)}e.exports={supportsColor:getSupportLevel,stdout:translateLevel(supportsColor(true,s.isatty(1))),stderr:translateLevel(supportsColor(true,s.isatty(2)))}},567:e=>{e.exports=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531],[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]]},457:(e,t,r)=>{"use strict";var n=r(987);var s=r(567);var o={nul:0,control:0};e.exports=function wcwidth(e){return wcswidth(e,o)};e.exports.config=function(e){e=n(e||{},o);return function wcwidth(t){return wcswidth(t,e)}};function wcswidth(e,t){if(typeof e!=="string")return wcwidth(e,t);var r=0;for(var n=0;n=127&&e<160)return t.control;if(bisearch(e))return 0;return 1+(e>=4352&&(e<=4447||e==9001||e==9002||e>=11904&&e<=42191&&e!=12351||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65135||e>=65280&&e<=65376||e>=65504&&e<=65510||e>=131072&&e<=196605||e>=196608&&e<=262141))}function bisearch(e){var t=0;var r=s.length-1;var n;if(es[r][1])return false;while(r>=t){n=Math.floor((t+r)/2);if(e>s[n][1])t=n+1;else if(e{"use strict";e.exports=require("assert")},361:e=>{"use strict";e.exports=require("events")},518:e=>{"use strict";e.exports=require("next/dist/compiled/strip-ansi")},37:e=>{"use strict";e.exports=require("os")},521:e=>{"use strict";e.exports=require("readline")},955:e=>{"use strict";e.exports=require("stream")},224:e=>{"use strict";e.exports=require("tty")},32:e=>{"use strict";e.exports=JSON.parse('{"dots":{"interval":80,"frames":["⠋","⠙","⠹","⠸","⠼","⠴","⠦","⠧","⠇","⠏"]},"dots2":{"interval":80,"frames":["⣾","⣽","⣻","⢿","⡿","⣟","⣯","⣷"]},"dots3":{"interval":80,"frames":["⠋","⠙","⠚","⠞","⠖","⠦","⠴","⠲","⠳","⠓"]},"dots4":{"interval":80,"frames":["⠄","⠆","⠇","⠋","⠙","⠸","⠰","⠠","⠰","⠸","⠙","⠋","⠇","⠆"]},"dots5":{"interval":80,"frames":["⠋","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋"]},"dots6":{"interval":80,"frames":["⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠴","⠲","⠒","⠂","⠂","⠒","⠚","⠙","⠉","⠁"]},"dots7":{"interval":80,"frames":["⠈","⠉","⠋","⠓","⠒","⠐","⠐","⠒","⠖","⠦","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈"]},"dots8":{"interval":80,"frames":["⠁","⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈","⠈"]},"dots9":{"interval":80,"frames":["⢹","⢺","⢼","⣸","⣇","⡧","⡗","⡏"]},"dots10":{"interval":80,"frames":["⢄","⢂","⢁","⡁","⡈","⡐","⡠"]},"dots11":{"interval":100,"frames":["⠁","⠂","⠄","⡀","⢀","⠠","⠐","⠈"]},"dots12":{"interval":80,"frames":["⢀⠀","⡀⠀","⠄⠀","⢂⠀","⡂⠀","⠅⠀","⢃⠀","⡃⠀","⠍⠀","⢋⠀","⡋⠀","⠍⠁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⢈⠩","⡀⢙","⠄⡙","⢂⠩","⡂⢘","⠅⡘","⢃⠨","⡃⢐","⠍⡐","⢋⠠","⡋⢀","⠍⡁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⠈⠩","⠀⢙","⠀⡙","⠀⠩","⠀⢘","⠀⡘","⠀⠨","⠀⢐","⠀⡐","⠀⠠","⠀⢀","⠀⡀"]},"dots8Bit":{"interval":80,"frames":["⠀","⠁","⠂","⠃","⠄","⠅","⠆","⠇","⡀","⡁","⡂","⡃","⡄","⡅","⡆","⡇","⠈","⠉","⠊","⠋","⠌","⠍","⠎","⠏","⡈","⡉","⡊","⡋","⡌","⡍","⡎","⡏","⠐","⠑","⠒","⠓","⠔","⠕","⠖","⠗","⡐","⡑","⡒","⡓","⡔","⡕","⡖","⡗","⠘","⠙","⠚","⠛","⠜","⠝","⠞","⠟","⡘","⡙","⡚","⡛","⡜","⡝","⡞","⡟","⠠","⠡","⠢","⠣","⠤","⠥","⠦","⠧","⡠","⡡","⡢","⡣","⡤","⡥","⡦","⡧","⠨","⠩","⠪","⠫","⠬","⠭","⠮","⠯","⡨","⡩","⡪","⡫","⡬","⡭","⡮","⡯","⠰","⠱","⠲","⠳","⠴","⠵","⠶","⠷","⡰","⡱","⡲","⡳","⡴","⡵","⡶","⡷","⠸","⠹","⠺","⠻","⠼","⠽","⠾","⠿","⡸","⡹","⡺","⡻","⡼","⡽","⡾","⡿","⢀","⢁","⢂","⢃","⢄","⢅","⢆","⢇","⣀","⣁","⣂","⣃","⣄","⣅","⣆","⣇","⢈","⢉","⢊","⢋","⢌","⢍","⢎","⢏","⣈","⣉","⣊","⣋","⣌","⣍","⣎","⣏","⢐","⢑","⢒","⢓","⢔","⢕","⢖","⢗","⣐","⣑","⣒","⣓","⣔","⣕","⣖","⣗","⢘","⢙","⢚","⢛","⢜","⢝","⢞","⢟","⣘","⣙","⣚","⣛","⣜","⣝","⣞","⣟","⢠","⢡","⢢","⢣","⢤","⢥","⢦","⢧","⣠","⣡","⣢","⣣","⣤","⣥","⣦","⣧","⢨","⢩","⢪","⢫","⢬","⢭","⢮","⢯","⣨","⣩","⣪","⣫","⣬","⣭","⣮","⣯","⢰","⢱","⢲","⢳","⢴","⢵","⢶","⢷","⣰","⣱","⣲","⣳","⣴","⣵","⣶","⣷","⢸","⢹","⢺","⢻","⢼","⢽","⢾","⢿","⣸","⣹","⣺","⣻","⣼","⣽","⣾","⣿"]},"line":{"interval":130,"frames":["-","\\\\","|","/"]},"line2":{"interval":100,"frames":["⠂","-","–","—","–","-"]},"pipe":{"interval":100,"frames":["┤","┘","┴","└","├","┌","┬","┐"]},"simpleDots":{"interval":400,"frames":[". ",".. ","..."," "]},"simpleDotsScrolling":{"interval":200,"frames":[". ",".. ","..."," .."," ."," "]},"star":{"interval":70,"frames":["✶","✸","✹","✺","✹","✷"]},"star2":{"interval":80,"frames":["+","x","*"]},"flip":{"interval":70,"frames":["_","_","_","-","`","`","\'","´","-","_","_","_"]},"hamburger":{"interval":100,"frames":["☱","☲","☴"]},"growVertical":{"interval":120,"frames":["▁","▃","▄","▅","▆","▇","▆","▅","▄","▃"]},"growHorizontal":{"interval":120,"frames":["▏","▎","▍","▌","▋","▊","▉","▊","▋","▌","▍","▎"]},"balloon":{"interval":140,"frames":[" ",".","o","O","@","*"," "]},"balloon2":{"interval":120,"frames":[".","o","O","°","O","o","."]},"noise":{"interval":100,"frames":["▓","▒","░"]},"bounce":{"interval":120,"frames":["⠁","⠂","⠄","⠂"]},"boxBounce":{"interval":120,"frames":["▖","▘","▝","▗"]},"boxBounce2":{"interval":100,"frames":["▌","▀","▐","▄"]},"triangle":{"interval":50,"frames":["◢","◣","◤","◥"]},"arc":{"interval":100,"frames":["◜","◠","◝","◞","◡","◟"]},"circle":{"interval":120,"frames":["◡","⊙","◠"]},"squareCorners":{"interval":180,"frames":["◰","◳","◲","◱"]},"circleQuarters":{"interval":120,"frames":["◴","◷","◶","◵"]},"circleHalves":{"interval":50,"frames":["◐","◓","◑","◒"]},"squish":{"interval":100,"frames":["╫","╪"]},"toggle":{"interval":250,"frames":["⊶","⊷"]},"toggle2":{"interval":80,"frames":["▫","▪"]},"toggle3":{"interval":120,"frames":["□","■"]},"toggle4":{"interval":100,"frames":["■","□","▪","▫"]},"toggle5":{"interval":100,"frames":["▮","▯"]},"toggle6":{"interval":300,"frames":["ဝ","၀"]},"toggle7":{"interval":80,"frames":["⦾","⦿"]},"toggle8":{"interval":100,"frames":["◍","◌"]},"toggle9":{"interval":100,"frames":["◉","◎"]},"toggle10":{"interval":100,"frames":["㊂","㊀","㊁"]},"toggle11":{"interval":50,"frames":["⧇","⧆"]},"toggle12":{"interval":120,"frames":["☗","☖"]},"toggle13":{"interval":80,"frames":["=","*","-"]},"arrow":{"interval":100,"frames":["←","↖","↑","↗","→","↘","↓","↙"]},"arrow2":{"interval":80,"frames":["⬆️ ","↗️ ","➡️ ","↘️ ","⬇️ ","↙️ ","⬅️ ","↖️ "]},"arrow3":{"interval":120,"frames":["▹▹▹▹▹","▸▹▹▹▹","▹▸▹▹▹","▹▹▸▹▹","▹▹▹▸▹","▹▹▹▹▸"]},"bouncingBar":{"interval":80,"frames":["[ ]","[= ]","[== ]","[=== ]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},"bouncingBall":{"interval":80,"frames":["( ● )","( ● )","( ● )","( ● )","( ●)","( ● )","( ● )","( ● )","( ● )","(● )"]},"smiley":{"interval":200,"frames":["😄 ","😝 "]},"monkey":{"interval":300,"frames":["🙈 ","🙈 ","🙉 ","🙊 "]},"hearts":{"interval":100,"frames":["💛 ","💙 ","💜 ","💚 ","❤️ "]},"clock":{"interval":100,"frames":["🕛 ","🕐 ","🕑 ","🕒 ","🕓 ","🕔 ","🕕 ","🕖 ","🕗 ","🕘 ","🕙 ","🕚 "]},"earth":{"interval":180,"frames":["🌍 ","🌎 ","🌏 "]},"material":{"interval":17,"frames":["█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","███▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","████▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁","███████▁▁▁▁▁▁▁▁▁▁▁▁▁","████████▁▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","██████████▁▁▁▁▁▁▁▁▁▁","███████████▁▁▁▁▁▁▁▁▁","█████████████▁▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁▁██████████████▁▁▁▁","▁▁▁██████████████▁▁▁","▁▁▁▁█████████████▁▁▁","▁▁▁▁██████████████▁▁","▁▁▁▁██████████████▁▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁▁██████████████","▁▁▁▁▁▁██████████████","▁▁▁▁▁▁▁█████████████","▁▁▁▁▁▁▁█████████████","▁▁▁▁▁▁▁▁████████████","▁▁▁▁▁▁▁▁████████████","▁▁▁▁▁▁▁▁▁███████████","▁▁▁▁▁▁▁▁▁███████████","▁▁▁▁▁▁▁▁▁▁██████████","▁▁▁▁▁▁▁▁▁▁██████████","▁▁▁▁▁▁▁▁▁▁▁▁████████","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁██████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","███▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","████▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","██████▁▁▁▁▁▁▁▁▁▁▁▁▁█","████████▁▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","███████████▁▁▁▁▁▁▁▁▁","████████████▁▁▁▁▁▁▁▁","████████████▁▁▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁▁▁█████████████▁▁▁▁","▁▁▁▁▁████████████▁▁▁","▁▁▁▁▁████████████▁▁▁","▁▁▁▁▁▁███████████▁▁▁","▁▁▁▁▁▁▁▁█████████▁▁▁","▁▁▁▁▁▁▁▁█████████▁▁▁","▁▁▁▁▁▁▁▁▁█████████▁▁","▁▁▁▁▁▁▁▁▁█████████▁▁","▁▁▁▁▁▁▁▁▁▁█████████▁","▁▁▁▁▁▁▁▁▁▁▁████████▁","▁▁▁▁▁▁▁▁▁▁▁████████▁","▁▁▁▁▁▁▁▁▁▁▁▁███████▁","▁▁▁▁▁▁▁▁▁▁▁▁███████▁","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁"]},"moon":{"interval":80,"frames":["🌑 ","🌒 ","🌓 ","🌔 ","🌕 ","🌖 ","🌗 ","🌘 "]},"runner":{"interval":140,"frames":["🚶 ","🏃 "]},"pong":{"interval":80,"frames":["▐⠂ ▌","▐⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂▌","▐ ⠠▌","▐ ⡀▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐⠠ ▌"]},"shark":{"interval":120,"frames":["▐|\\\\____________▌","▐_|\\\\___________▌","▐__|\\\\__________▌","▐___|\\\\_________▌","▐____|\\\\________▌","▐_____|\\\\_______▌","▐______|\\\\______▌","▐_______|\\\\_____▌","▐________|\\\\____▌","▐_________|\\\\___▌","▐__________|\\\\__▌","▐___________|\\\\_▌","▐____________|\\\\▌","▐____________/|▌","▐___________/|_▌","▐__________/|__▌","▐_________/|___▌","▐________/|____▌","▐_______/|_____▌","▐______/|______▌","▐_____/|_______▌","▐____/|________▌","▐___/|_________▌","▐__/|__________▌","▐_/|___________▌","▐/|____________▌"]},"dqpb":{"interval":100,"frames":["d","q","p","b"]},"weather":{"interval":100,"frames":["☀️ ","☀️ ","☀️ ","🌤 ","⛅️ ","🌥 ","☁️ ","🌧 ","🌨 ","🌧 ","🌨 ","🌧 ","🌨 ","⛈ ","🌨 ","🌧 ","🌨 ","☁️ ","🌥 ","⛅️ ","🌤 ","☀️ ","☀️ "]},"christmas":{"interval":400,"frames":["🌲","🎄"]},"grenade":{"interval":80,"frames":["، ","′ "," ´ "," ‾ "," ⸌"," ⸊"," |"," ⁎"," ⁕"," ෴ "," ⁓"," "," "," "]},"point":{"interval":125,"frames":["∙∙∙","●∙∙","∙●∙","∙∙●","∙∙∙"]},"layer":{"interval":150,"frames":["-","=","≡"]},"betaWave":{"interval":80,"frames":["ρββββββ","βρβββββ","ββρββββ","βββρβββ","ββββρββ","βββββρβ","ββββββρ"]},"fingerDance":{"interval":160,"frames":["🤘 ","🤟 ","🖖 ","✋ ","🤚 ","👆 "]},"fistBump":{"interval":80,"frames":["🤜    🤛 ","🤜    🤛 ","🤜    🤛 "," 🤜  🤛  ","  🤜🤛   "," 🤜✨🤛   ","🤜 ✨ 🤛  "]},"soccerHeader":{"interval":80,"frames":[" 🧑⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 "]},"mindblown":{"interval":160,"frames":["😐 ","😐 ","😮 ","😮 ","😦 ","😦 ","😧 ","😧 ","🤯 ","💥 ","✨ ","  ","  ","  "]},"speaker":{"interval":160,"frames":["🔈 ","🔉 ","🔊 ","🔉 "]},"orangePulse":{"interval":100,"frames":["🔸 ","🔶 ","🟠 ","🟠 ","🔶 "]},"bluePulse":{"interval":100,"frames":["🔹 ","🔷 ","🔵 ","🔵 ","🔷 "]},"orangeBluePulse":{"interval":100,"frames":["🔸 ","🔶 ","🟠 ","🟠 ","🔶 ","🔹 ","🔷 ","🔵 ","🔵 ","🔷 "]},"timeTravel":{"interval":100,"frames":["🕛 ","🕚 ","🕙 ","🕘 ","🕗 ","🕖 ","🕕 ","🕔 ","🕓 ","🕒 ","🕑 ","🕐 "]},"aesthetic":{"interval":80,"frames":["▰▱▱▱▱▱▱","▰▰▱▱▱▱▱","▰▰▰▱▱▱▱","▰▰▰▰▱▱▱","▰▰▰▰▰▱▱","▰▰▰▰▰▰▱","▰▰▰▰▰▰▰","▰▱▱▱▱▱▱"]}}')}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var s=t[r]={id:r,loaded:false,exports:{}};var o=true;try{e[r](s,s.exports,__nccwpck_require__);o=false}finally{if(o)delete t[r]}s.loaded=true;return s.exports}(()=>{__nccwpck_require__.nmd=e=>{e.paths=[];if(!e.children)e.children=[];return e}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(327);module.exports=r})(); \ No newline at end of file +(()=>{var e={535:(e,t,r)=>{"use strict";e=r.nmd(e);const n=r(54);const wrapAnsi16=(e,t)=>function(){const r=e.apply(n,arguments);return`[${r+t}m`};const wrapAnsi256=(e,t)=>function(){const r=e.apply(n,arguments);return`[${38+t};5;${r}m`};const wrapAnsi16m=(e,t)=>function(){const r=e.apply(n,arguments);return`[${38+t};2;${r[0]};${r[1]};${r[2]}m`};function assembleStyles(){const e=new Map;const t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.grey=t.color.gray;for(const r of Object.keys(t)){const n=t[r];for(const r of Object.keys(n)){const s=n[r];t[r]={open:`[${s[0]}m`,close:`[${s[1]}m`};n[r]=t[r];e.set(s[0],s[1])}Object.defineProperty(t,r,{value:n,enumerable:false});Object.defineProperty(t,"codes",{value:e,enumerable:false})}const ansi2ansi=e=>e;const rgb2rgb=(e,t,r)=>[e,t,r];t.color.close="";t.bgColor.close="";t.color.ansi={ansi:wrapAnsi16(ansi2ansi,0)};t.color.ansi256={ansi256:wrapAnsi256(ansi2ansi,0)};t.color.ansi16m={rgb:wrapAnsi16m(rgb2rgb,0)};t.bgColor.ansi={ansi:wrapAnsi16(ansi2ansi,10)};t.bgColor.ansi256={ansi256:wrapAnsi256(ansi2ansi,10)};t.bgColor.ansi16m={rgb:wrapAnsi16m(rgb2rgb,10)};for(let e of Object.keys(n)){if(typeof n[e]!=="object"){continue}const r=n[e];if(e==="ansi16"){e="ansi"}if("ansi16"in r){t.color.ansi[e]=wrapAnsi16(r.ansi16,0);t.bgColor.ansi[e]=wrapAnsi16(r.ansi16,10)}if("ansi256"in r){t.color.ansi256[e]=wrapAnsi256(r.ansi256,0);t.bgColor.ansi256[e]=wrapAnsi256(r.ansi256,10)}if("rgb"in r){t.color.ansi16m[e]=wrapAnsi16m(r.rgb,0);t.bgColor.ansi16m[e]=wrapAnsi16m(r.rgb,10)}}return t}Object.defineProperty(e,"exports",{enumerable:true,get:assembleStyles})},14:(e,t,r)=>{"use strict";e=r.nmd(e);const wrapAnsi16=(e,t)=>(...r)=>{const n=e(...r);return`[${n+t}m`};const wrapAnsi256=(e,t)=>(...r)=>{const n=e(...r);return`[${38+t};5;${n}m`};const wrapAnsi16m=(e,t)=>(...r)=>{const n=e(...r);return`[${38+t};2;${n[0]};${n[1]};${n[2]}m`};const ansi2ansi=e=>e;const rgb2rgb=(e,t,r)=>[e,t,r];const setLazyProperty=(e,t,r)=>{Object.defineProperty(e,t,{get:()=>{const n=r();Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true});return n},enumerable:true,configurable:true})};let n;const makeDynamicStyles=(e,t,s,o)=>{if(n===undefined){n=r(226)}const i=o?10:0;const a={};for(const[r,o]of Object.entries(n)){const n=r==="ansi16"?"ansi":r;if(r===t){a[n]=e(s,i)}else if(typeof o==="object"){a[n]=e(o[t],i)}}return a};function assembleStyles(){const e=new Map;const t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.gray=t.color.blackBright;t.bgColor.bgGray=t.bgColor.bgBlackBright;t.color.grey=t.color.blackBright;t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(const[r,n]of Object.entries(t)){for(const[r,s]of Object.entries(n)){t[r]={open:`[${s[0]}m`,close:`[${s[1]}m`};n[r]=t[r];e.set(s[0],s[1])}Object.defineProperty(t,r,{value:n,enumerable:false})}Object.defineProperty(t,"codes",{value:e,enumerable:false});t.color.close="";t.bgColor.close="";setLazyProperty(t.color,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,false)));setLazyProperty(t.color,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,false)));setLazyProperty(t.color,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,false)));setLazyProperty(t.bgColor,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,true)));setLazyProperty(t.bgColor,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,true)));setLazyProperty(t.bgColor,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,true)));return t}Object.defineProperty(e,"exports",{enumerable:true,get:assembleStyles})},148:(e,t,r)=>{"use strict";const n=r(379);const s=r(535);const o=r(220).stdout;const i=r(299);const a=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm");const l=["ansi","ansi","ansi256","ansi16m"];const u=new Set(["gray"]);const f=Object.create(null);function applyOptions(e,t){t=t||{};const r=o?o.level:0;e.level=t.level===undefined?r:t.level;e.enabled="enabled"in t?t.enabled:e.level>0}function Chalk(e){if(!this||!(this instanceof Chalk)||this.template){const t={};applyOptions(t,e);t.template=function(){const e=[].slice.call(arguments);return chalkTag.apply(null,[t.template].concat(e))};Object.setPrototypeOf(t,Chalk.prototype);Object.setPrototypeOf(t.template,t);t.template.constructor=Chalk;return t.template}applyOptions(this,e)}if(a){s.blue.open=""}for(const e of Object.keys(s)){s[e].closeRe=new RegExp(n(s[e].close),"g");f[e]={get(){const t=s[e];return build.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}}}f.visible={get(){return build.call(this,this._styles||[],true,"visible")}};s.color.closeRe=new RegExp(n(s.color.close),"g");for(const e of Object.keys(s.color.ansi)){if(u.has(e)){continue}f[e]={get(){const t=this.level;return function(){const r=s.color[l[t]][e].apply(null,arguments);const n={open:r,close:s.color.close,closeRe:s.color.closeRe};return build.call(this,this._styles?this._styles.concat(n):[n],this._empty,e)}}}}s.bgColor.closeRe=new RegExp(n(s.bgColor.close),"g");for(const e of Object.keys(s.bgColor.ansi)){if(u.has(e)){continue}const t="bg"+e[0].toUpperCase()+e.slice(1);f[t]={get(){const t=this.level;return function(){const r=s.bgColor[l[t]][e].apply(null,arguments);const n={open:r,close:s.bgColor.close,closeRe:s.bgColor.closeRe};return build.call(this,this._styles?this._styles.concat(n):[n],this._empty,e)}}}}const h=Object.defineProperties((()=>{}),f);function build(e,t,r){const builder=function(){return applyStyle.apply(builder,arguments)};builder._styles=e;builder._empty=t;const n=this;Object.defineProperty(builder,"level",{enumerable:true,get(){return n.level},set(e){n.level=e}});Object.defineProperty(builder,"enabled",{enumerable:true,get(){return n.enabled},set(e){n.enabled=e}});builder.hasGrey=this.hasGrey||r==="gray"||r==="grey";builder.__proto__=h;return builder}function applyStyle(){const e=arguments;const t=e.length;let r=String(arguments[0]);if(t===0){return""}if(t>1){for(let n=1;n{"use strict";const t=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;const r=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;const n=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;const s=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi;const o=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(e){if(e[0]==="u"&&e.length===5||e[0]==="x"&&e.length===3){return String.fromCharCode(parseInt(e.slice(1),16))}return o.get(e)||e}function parseArguments(e,t){const r=[];const o=t.trim().split(/\s*,\s*/g);let i;for(const t of o){if(!isNaN(t)){r.push(Number(t))}else if(i=t.match(n)){r.push(i[2].replace(s,((e,t,r)=>t?unescape(t):r)))}else{throw new Error(`Invalid Chalk template style argument: ${t} (in style '${e}')`)}}return r}function parseStyle(e){r.lastIndex=0;const t=[];let n;while((n=r.exec(e))!==null){const e=n[1];if(n[2]){const r=parseArguments(e,n[2]);t.push([e].concat(r))}else{t.push([e])}}return t}function buildStyle(e,t){const r={};for(const e of t){for(const t of e.styles){r[t[0]]=e.inverse?null:t.slice(1)}}let n=e;for(const e of Object.keys(r)){if(Array.isArray(r[e])){if(!(e in n)){throw new Error(`Unknown Chalk style: ${e}`)}if(r[e].length>0){n=n[e].apply(n,r[e])}else{n=n[e]}}}return n}e.exports=(e,r)=>{const n=[];const s=[];let o=[];r.replace(t,((t,r,i,a,l,u)=>{if(r){o.push(unescape(r))}else if(a){const t=o.join("");o=[];s.push(n.length===0?t:buildStyle(e,n)(t));n.push({inverse:i,styles:parseStyle(a)})}else if(l){if(n.length===0){throw new Error("Found extraneous } in Chalk template literal")}s.push(buildStyle(e,n)(o.join("")));o=[];n.pop()}else{o.push(u)}}));s.push(o.join(""));if(n.length>0){const e=`Chalk template literal is missing ${n.length} closing bracket${n.length===1?"":"s"} (\`}\`)`;throw new Error(e)}return s.join("")}},385:(e,t,r)=>{"use strict";const n=r(14);const{stdout:s,stderr:o}=r(793);const{stringReplaceAll:i,stringEncaseCRLFWithFirstIndex:a}=r(218);const l=["ansi","ansi","ansi256","ansi16m"];const u=Object.create(null);const applyOptions=(e,t={})=>{if(t.level>3||t.level<0){throw new Error("The `level` option should be an integer from 0 to 3")}const r=s?s.level:0;e.level=t.level===undefined?r:t.level};class ChalkClass{constructor(e){return chalkFactory(e)}}const chalkFactory=e=>{const t={};applyOptions(t,e);t.template=(...e)=>chalkTag(t.template,...e);Object.setPrototypeOf(t,Chalk.prototype);Object.setPrototypeOf(t.template,t);t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")};t.template.Instance=ChalkClass;return t.template};function Chalk(e){return chalkFactory(e)}for(const[e,t]of Object.entries(n)){u[e]={get(){const r=createBuilder(this,createStyler(t.open,t.close,this._styler),this._isEmpty);Object.defineProperty(this,e,{value:r});return r}}}u.visible={get(){const e=createBuilder(this,this._styler,true);Object.defineProperty(this,"visible",{value:e});return e}};const f=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const e of f){u[e]={get(){const{level:t}=this;return function(...r){const s=createStyler(n.color[l[t]][e](...r),n.color.close,this._styler);return createBuilder(this,s,this._isEmpty)}}}}for(const e of f){const t="bg"+e[0].toUpperCase()+e.slice(1);u[t]={get(){const{level:t}=this;return function(...r){const s=createStyler(n.bgColor[l[t]][e](...r),n.bgColor.close,this._styler);return createBuilder(this,s,this._isEmpty)}}}}const h=Object.defineProperties((()=>{}),{...u,level:{enumerable:true,get(){return this._generator.level},set(e){this._generator.level=e}}});const createStyler=(e,t,r)=>{let n;let s;if(r===undefined){n=e;s=t}else{n=r.openAll+e;s=t+r.closeAll}return{open:e,close:t,openAll:n,closeAll:s,parent:r}};const createBuilder=(e,t,r)=>{const builder=(...e)=>applyStyle(builder,e.length===1?""+e[0]:e.join(" "));builder.__proto__=h;builder._generator=e;builder._styler=t;builder._isEmpty=r;return builder};const applyStyle=(e,t)=>{if(e.level<=0||!t){return e._isEmpty?"":t}let r=e._styler;if(r===undefined){return t}const{openAll:n,closeAll:s}=r;if(t.indexOf("")!==-1){while(r!==undefined){t=i(t,r.close,r.open);r=r.parent}}const o=t.indexOf("\n");if(o!==-1){t=a(t,s,n,o)}return n+t+s};let p;const chalkTag=(e,...t)=>{const[n]=t;if(!Array.isArray(n)){return t.join(" ")}const s=t.slice(1);const o=[n.raw[0]];for(let e=1;e{"use strict";const t=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;const r=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;const n=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;const s=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi;const o=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(e){const t=e[0]==="u";const r=e[1]==="{";if(t&&!r&&e.length===5||e[0]==="x"&&e.length===3){return String.fromCharCode(parseInt(e.slice(1),16))}if(t&&r){return String.fromCodePoint(parseInt(e.slice(2,-1),16))}return o.get(e)||e}function parseArguments(e,t){const r=[];const o=t.trim().split(/\s*,\s*/g);let i;for(const t of o){const o=Number(t);if(!Number.isNaN(o)){r.push(o)}else if(i=t.match(n)){r.push(i[2].replace(s,((e,t,r)=>t?unescape(t):r)))}else{throw new Error(`Invalid Chalk template style argument: ${t} (in style '${e}')`)}}return r}function parseStyle(e){r.lastIndex=0;const t=[];let n;while((n=r.exec(e))!==null){const e=n[1];if(n[2]){const r=parseArguments(e,n[2]);t.push([e].concat(r))}else{t.push([e])}}return t}function buildStyle(e,t){const r={};for(const e of t){for(const t of e.styles){r[t[0]]=e.inverse?null:t.slice(1)}}let n=e;for(const[e,t]of Object.entries(r)){if(!Array.isArray(t)){continue}if(!(e in n)){throw new Error(`Unknown Chalk style: ${e}`)}n=t.length>0?n[e](...t):n[e]}return n}e.exports=(e,r)=>{const n=[];const s=[];let o=[];r.replace(t,((t,r,i,a,l,u)=>{if(r){o.push(unescape(r))}else if(a){const t=o.join("");o=[];s.push(n.length===0?t:buildStyle(e,n)(t));n.push({inverse:i,styles:parseStyle(a)})}else if(l){if(n.length===0){throw new Error("Found extraneous } in Chalk template literal")}s.push(buildStyle(e,n)(o.join("")));o=[];n.pop()}else{o.push(u)}}));s.push(o.join(""));if(n.length>0){const e=`Chalk template literal is missing ${n.length} closing bracket${n.length===1?"":"s"} (\`}\`)`;throw new Error(e)}return s.join("")}},218:e=>{"use strict";const stringReplaceAll=(e,t,r)=>{let n=e.indexOf(t);if(n===-1){return e}const s=t.length;let o=0;let i="";do{i+=e.substr(o,n-o)+t+r;o=n+s;n=e.indexOf(t,o)}while(n!==-1);i+=e.substr(o);return i};const stringEncaseCRLFWithFirstIndex=(e,t,r,n)=>{let s=0;let o="";do{const i=e[n-1]==="\r";o+=e.substr(s,(i?n-1:n)-s)+t+(i?"\r\n":"\n")+r;s=n+1;n=e.indexOf("\n",s)}while(n!==-1);o+=e.substr(s);return o};e.exports={stringReplaceAll:stringReplaceAll,stringEncaseCRLFWithFirstIndex:stringEncaseCRLFWithFirstIndex}},581:(e,t,r)=>{"use strict";const n=r(154);let s=false;t.show=(e=process.stderr)=>{if(!e.isTTY){return}s=false;e.write("[?25h")};t.hide=(e=process.stderr)=>{if(!e.isTTY){return}n();s=true;e.write("[?25l")};t.toggle=(e,r)=>{if(e!==undefined){s=e}if(s){t.show(r)}else{t.hide(r)}}},97:(e,t,r)=>{"use strict";const n=Object.assign({},r(432));const s=Object.keys(n);Object.defineProperty(n,"random",{get(){const e=Math.floor(Math.random()*s.length);const t=s[e];return n[t]}});e.exports=n},578:e=>{var t=function(){"use strict";function clone(e,t,r,n){var s;if(typeof t==="object"){r=t.depth;n=t.prototype;s=t.filter;t=t.circular}var o=[];var i=[];var a=typeof Buffer!="undefined";if(typeof t=="undefined")t=true;if(typeof r=="undefined")r=Infinity;function _clone(e,r){if(e===null)return null;if(r==0)return e;var s;var l;if(typeof e!="object"){return e}if(clone.__isArray(e)){s=[]}else if(clone.__isRegExp(e)){s=new RegExp(e.source,__getRegExpFlags(e));if(e.lastIndex)s.lastIndex=e.lastIndex}else if(clone.__isDate(e)){s=new Date(e.getTime())}else if(a&&Buffer.isBuffer(e)){if(Buffer.allocUnsafe){s=Buffer.allocUnsafe(e.length)}else{s=new Buffer(e.length)}e.copy(s);return s}else{if(typeof n=="undefined"){l=Object.getPrototypeOf(e);s=Object.create(l)}else{s=Object.create(n);l=n}}if(t){var u=o.indexOf(e);if(u!=-1){return i[u]}o.push(e);i.push(s)}for(var f in e){var h;if(l){h=Object.getOwnPropertyDescriptor(l,f)}if(h&&h.set==null){continue}s[f]=_clone(e[f],r-1)}return s}return _clone(e,r)}clone.clonePrototype=function clonePrototype(e){if(e===null)return null;var c=function(){};c.prototype=e;return new c};function __objToStr(e){return Object.prototype.toString.call(e)}clone.__objToStr=__objToStr;function __isDate(e){return typeof e==="object"&&__objToStr(e)==="[object Date]"}clone.__isDate=__isDate;function __isArray(e){return typeof e==="object"&&__objToStr(e)==="[object Array]"}clone.__isArray=__isArray;function __isRegExp(e){return typeof e==="object"&&__objToStr(e)==="[object RegExp]"}clone.__isRegExp=__isRegExp;function __getRegExpFlags(e){var t="";if(e.global)t+="g";if(e.ignoreCase)t+="i";if(e.multiline)t+="m";return t}clone.__getRegExpFlags=__getRegExpFlags;return clone}();if(true&&e.exports){e.exports=t}},117:(e,t,r)=>{var n=r(251);var s={};for(var o in n){if(n.hasOwnProperty(o)){s[n[o]]=o}}var i=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var a in i){if(i.hasOwnProperty(a)){if(!("channels"in i[a])){throw new Error("missing channels property: "+a)}if(!("labels"in i[a])){throw new Error("missing channel labels property: "+a)}if(i[a].labels.length!==i[a].channels){throw new Error("channel and label counts mismatch: "+a)}var l=i[a].channels;var u=i[a].labels;delete i[a].channels;delete i[a].labels;Object.defineProperty(i[a],"channels",{value:l});Object.defineProperty(i[a],"labels",{value:u})}}i.rgb.hsl=function(e){var t=e[0]/255;var r=e[1]/255;var n=e[2]/255;var s=Math.min(t,r,n);var o=Math.max(t,r,n);var i=o-s;var a;var l;var u;if(o===s){a=0}else if(t===o){a=(r-n)/i}else if(r===o){a=2+(n-t)/i}else if(n===o){a=4+(t-r)/i}a=Math.min(a*60,360);if(a<0){a+=360}u=(s+o)/2;if(o===s){l=0}else if(u<=.5){l=i/(o+s)}else{l=i/(2-o-s)}return[a,l*100,u*100]};i.rgb.hsv=function(e){var t;var r;var n;var s;var o;var i=e[0]/255;var a=e[1]/255;var l=e[2]/255;var u=Math.max(i,a,l);var f=u-Math.min(i,a,l);var diffc=function(e){return(u-e)/6/f+1/2};if(f===0){s=o=0}else{o=f/u;t=diffc(i);r=diffc(a);n=diffc(l);if(i===u){s=n-r}else if(a===u){s=1/3+t-n}else if(l===u){s=2/3+r-t}if(s<0){s+=1}else if(s>1){s-=1}}return[s*360,o*100,u*100]};i.rgb.hwb=function(e){var t=e[0];var r=e[1];var n=e[2];var s=i.rgb.hsl(e)[0];var o=1/255*Math.min(t,Math.min(r,n));n=1-1/255*Math.max(t,Math.max(r,n));return[s,o*100,n*100]};i.rgb.cmyk=function(e){var t=e[0]/255;var r=e[1]/255;var n=e[2]/255;var s;var o;var i;var a;a=Math.min(1-t,1-r,1-n);s=(1-t-a)/(1-a)||0;o=(1-r-a)/(1-a)||0;i=(1-n-a)/(1-a)||0;return[s*100,o*100,i*100,a*100]};function comparativeDistance(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)+Math.pow(e[2]-t[2],2)}i.rgb.keyword=function(e){var t=s[e];if(t){return t}var r=Infinity;var o;for(var i in n){if(n.hasOwnProperty(i)){var a=n[i];var l=comparativeDistance(e,a);if(l.04045?Math.pow((t+.055)/1.055,2.4):t/12.92;r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92;n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92;var s=t*.4124+r*.3576+n*.1805;var o=t*.2126+r*.7152+n*.0722;var i=t*.0193+r*.1192+n*.9505;return[s*100,o*100,i*100]};i.rgb.lab=function(e){var t=i.rgb.xyz(e);var r=t[0];var n=t[1];var s=t[2];var o;var a;var l;r/=95.047;n/=100;s/=108.883;r=r>.008856?Math.pow(r,1/3):7.787*r+16/116;n=n>.008856?Math.pow(n,1/3):7.787*n+16/116;s=s>.008856?Math.pow(s,1/3):7.787*s+16/116;o=116*n-16;a=500*(r-n);l=200*(n-s);return[o,a,l]};i.hsl.rgb=function(e){var t=e[0]/360;var r=e[1]/100;var n=e[2]/100;var s;var o;var i;var a;var l;if(r===0){l=n*255;return[l,l,l]}if(n<.5){o=n*(1+r)}else{o=n+r-n*r}s=2*n-o;a=[0,0,0];for(var u=0;u<3;u++){i=t+1/3*-(u-1);if(i<0){i++}if(i>1){i--}if(6*i<1){l=s+(o-s)*6*i}else if(2*i<1){l=o}else if(3*i<2){l=s+(o-s)*(2/3-i)*6}else{l=s}a[u]=l*255}return a};i.hsl.hsv=function(e){var t=e[0];var r=e[1]/100;var n=e[2]/100;var s=r;var o=Math.max(n,.01);var i;var a;n*=2;r*=n<=1?n:2-n;s*=o<=1?o:2-o;a=(n+r)/2;i=n===0?2*s/(o+s):2*r/(n+r);return[t,i*100,a*100]};i.hsv.rgb=function(e){var t=e[0]/60;var r=e[1]/100;var n=e[2]/100;var s=Math.floor(t)%6;var o=t-Math.floor(t);var i=255*n*(1-r);var a=255*n*(1-r*o);var l=255*n*(1-r*(1-o));n*=255;switch(s){case 0:return[n,l,i];case 1:return[a,n,i];case 2:return[i,n,l];case 3:return[i,a,n];case 4:return[l,i,n];case 5:return[n,i,a]}};i.hsv.hsl=function(e){var t=e[0];var r=e[1]/100;var n=e[2]/100;var s=Math.max(n,.01);var o;var i;var a;a=(2-r)*n;o=(2-r)*s;i=r*s;i/=o<=1?o:2-o;i=i||0;a/=2;return[t,i*100,a*100]};i.hwb.rgb=function(e){var t=e[0]/360;var r=e[1]/100;var n=e[2]/100;var s=r+n;var o;var i;var a;var l;if(s>1){r/=s;n/=s}o=Math.floor(6*t);i=1-n;a=6*t-o;if((o&1)!==0){a=1-a}l=r+a*(i-r);var u;var f;var h;switch(o){default:case 6:case 0:u=i;f=l;h=r;break;case 1:u=l;f=i;h=r;break;case 2:u=r;f=i;h=l;break;case 3:u=r;f=l;h=i;break;case 4:u=l;f=r;h=i;break;case 5:u=i;f=r;h=l;break}return[u*255,f*255,h*255]};i.cmyk.rgb=function(e){var t=e[0]/100;var r=e[1]/100;var n=e[2]/100;var s=e[3]/100;var o;var i;var a;o=1-Math.min(1,t*(1-s)+s);i=1-Math.min(1,r*(1-s)+s);a=1-Math.min(1,n*(1-s)+s);return[o*255,i*255,a*255]};i.xyz.rgb=function(e){var t=e[0]/100;var r=e[1]/100;var n=e[2]/100;var s;var o;var i;s=t*3.2406+r*-1.5372+n*-.4986;o=t*-.9689+r*1.8758+n*.0415;i=t*.0557+r*-.204+n*1.057;s=s>.0031308?1.055*Math.pow(s,1/2.4)-.055:s*12.92;o=o>.0031308?1.055*Math.pow(o,1/2.4)-.055:o*12.92;i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*12.92;s=Math.min(Math.max(0,s),1);o=Math.min(Math.max(0,o),1);i=Math.min(Math.max(0,i),1);return[s*255,o*255,i*255]};i.xyz.lab=function(e){var t=e[0];var r=e[1];var n=e[2];var s;var o;var i;t/=95.047;r/=100;n/=108.883;t=t>.008856?Math.pow(t,1/3):7.787*t+16/116;r=r>.008856?Math.pow(r,1/3):7.787*r+16/116;n=n>.008856?Math.pow(n,1/3):7.787*n+16/116;s=116*r-16;o=500*(t-r);i=200*(r-n);return[s,o,i]};i.lab.xyz=function(e){var t=e[0];var r=e[1];var n=e[2];var s;var o;var i;o=(t+16)/116;s=r/500+o;i=o-n/200;var a=Math.pow(o,3);var l=Math.pow(s,3);var u=Math.pow(i,3);o=a>.008856?a:(o-16/116)/7.787;s=l>.008856?l:(s-16/116)/7.787;i=u>.008856?u:(i-16/116)/7.787;s*=95.047;o*=100;i*=108.883;return[s,o,i]};i.lab.lch=function(e){var t=e[0];var r=e[1];var n=e[2];var s;var o;var i;s=Math.atan2(n,r);o=s*360/2/Math.PI;if(o<0){o+=360}i=Math.sqrt(r*r+n*n);return[t,i,o]};i.lch.lab=function(e){var t=e[0];var r=e[1];var n=e[2];var s;var o;var i;i=n/360*2*Math.PI;s=r*Math.cos(i);o=r*Math.sin(i);return[t,s,o]};i.rgb.ansi16=function(e){var t=e[0];var r=e[1];var n=e[2];var s=1 in arguments?arguments[1]:i.rgb.hsv(e)[2];s=Math.round(s/50);if(s===0){return 30}var o=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(t/255));if(s===2){o+=60}return o};i.hsv.ansi16=function(e){return i.rgb.ansi16(i.hsv.rgb(e),e[2])};i.rgb.ansi256=function(e){var t=e[0];var r=e[1];var n=e[2];if(t===r&&r===n){if(t<8){return 16}if(t>248){return 231}return Math.round((t-8)/247*24)+232}var s=16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5);return s};i.ansi16.rgb=function(e){var t=e%10;if(t===0||t===7){if(e>50){t+=3.5}t=t/10.5*255;return[t,t,t]}var r=(~~(e>50)+1)*.5;var n=(t&1)*r*255;var s=(t>>1&1)*r*255;var o=(t>>2&1)*r*255;return[n,s,o]};i.ansi256.rgb=function(e){if(e>=232){var t=(e-232)*10+8;return[t,t,t]}e-=16;var r;var n=Math.floor(e/36)/5*255;var s=Math.floor((r=e%36)/6)/5*255;var o=r%6/5*255;return[n,s,o]};i.rgb.hex=function(e){var t=((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255);var r=t.toString(16).toUpperCase();return"000000".substring(r.length)+r};i.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t){return[0,0,0]}var r=t[0];if(t[0].length===3){r=r.split("").map((function(e){return e+e})).join("")}var n=parseInt(r,16);var s=n>>16&255;var o=n>>8&255;var i=n&255;return[s,o,i]};i.rgb.hcg=function(e){var t=e[0]/255;var r=e[1]/255;var n=e[2]/255;var s=Math.max(Math.max(t,r),n);var o=Math.min(Math.min(t,r),n);var i=s-o;var a;var l;if(i<1){a=o/(1-i)}else{a=0}if(i<=0){l=0}else if(s===t){l=(r-n)/i%6}else if(s===r){l=2+(n-t)/i}else{l=4+(t-r)/i+4}l/=6;l%=1;return[l*360,i*100,a*100]};i.hsl.hcg=function(e){var t=e[1]/100;var r=e[2]/100;var n=1;var s=0;if(r<.5){n=2*t*r}else{n=2*t*(1-r)}if(n<1){s=(r-.5*n)/(1-n)}return[e[0],n*100,s*100]};i.hsv.hcg=function(e){var t=e[1]/100;var r=e[2]/100;var n=t*r;var s=0;if(n<1){s=(r-n)/(1-n)}return[e[0],n*100,s*100]};i.hcg.rgb=function(e){var t=e[0]/360;var r=e[1]/100;var n=e[2]/100;if(r===0){return[n*255,n*255,n*255]}var s=[0,0,0];var o=t%1*6;var i=o%1;var a=1-i;var l=0;switch(Math.floor(o)){case 0:s[0]=1;s[1]=i;s[2]=0;break;case 1:s[0]=a;s[1]=1;s[2]=0;break;case 2:s[0]=0;s[1]=1;s[2]=i;break;case 3:s[0]=0;s[1]=a;s[2]=1;break;case 4:s[0]=i;s[1]=0;s[2]=1;break;default:s[0]=1;s[1]=0;s[2]=a}l=(1-r)*n;return[(r*s[0]+l)*255,(r*s[1]+l)*255,(r*s[2]+l)*255]};i.hcg.hsv=function(e){var t=e[1]/100;var r=e[2]/100;var n=t+r*(1-t);var s=0;if(n>0){s=t/n}return[e[0],s*100,n*100]};i.hcg.hsl=function(e){var t=e[1]/100;var r=e[2]/100;var n=r*(1-t)+.5*t;var s=0;if(n>0&&n<.5){s=t/(2*n)}else if(n>=.5&&n<1){s=t/(2*(1-n))}return[e[0],s*100,n*100]};i.hcg.hwb=function(e){var t=e[1]/100;var r=e[2]/100;var n=t+r*(1-t);return[e[0],(n-t)*100,(1-n)*100]};i.hwb.hcg=function(e){var t=e[1]/100;var r=e[2]/100;var n=1-r;var s=n-t;var o=0;if(s<1){o=(n-s)/(1-s)}return[e[0],s*100,o*100]};i.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};i.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};i.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};i.gray.hsl=i.gray.hsv=function(e){return[0,0,e[0]]};i.gray.hwb=function(e){return[0,100,e[0]]};i.gray.cmyk=function(e){return[0,0,0,e[0]]};i.gray.lab=function(e){return[e[0],0,0]};i.gray.hex=function(e){var t=Math.round(e[0]/100*255)&255;var r=(t<<16)+(t<<8)+t;var n=r.toString(16).toUpperCase();return"000000".substring(n.length)+n};i.rgb.gray=function(e){var t=(e[0]+e[1]+e[2])/3;return[t/255*100]}},54:(e,t,r)=>{var n=r(117);var s=r(528);var o={};var i=Object.keys(n);function wrapRaw(e){var wrappedFn=function(t){if(t===undefined||t===null){return t}if(arguments.length>1){t=Array.prototype.slice.call(arguments)}return e(t)};if("conversion"in e){wrappedFn.conversion=e.conversion}return wrappedFn}function wrapRounded(e){var wrappedFn=function(t){if(t===undefined||t===null){return t}if(arguments.length>1){t=Array.prototype.slice.call(arguments)}var r=e(t);if(typeof r==="object"){for(var n=r.length,s=0;s{var n=r(117);function buildGraph(){var e={};var t=Object.keys(n);for(var r=t.length,s=0;s{const n=r(993);const s={};for(const e of Object.keys(n)){s[n[e]]=e}const o={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};e.exports=o;for(const e of Object.keys(o)){if(!("channels"in o[e])){throw new Error("missing channels property: "+e)}if(!("labels"in o[e])){throw new Error("missing channel labels property: "+e)}if(o[e].labels.length!==o[e].channels){throw new Error("channel and label counts mismatch: "+e)}const{channels:t,labels:r}=o[e];delete o[e].channels;delete o[e].labels;Object.defineProperty(o[e],"channels",{value:t});Object.defineProperty(o[e],"labels",{value:r})}o.rgb.hsl=function(e){const t=e[0]/255;const r=e[1]/255;const n=e[2]/255;const s=Math.min(t,r,n);const o=Math.max(t,r,n);const i=o-s;let a;let l;if(o===s){a=0}else if(t===o){a=(r-n)/i}else if(r===o){a=2+(n-t)/i}else if(n===o){a=4+(t-r)/i}a=Math.min(a*60,360);if(a<0){a+=360}const u=(s+o)/2;if(o===s){l=0}else if(u<=.5){l=i/(o+s)}else{l=i/(2-o-s)}return[a,l*100,u*100]};o.rgb.hsv=function(e){let t;let r;let n;let s;let o;const i=e[0]/255;const a=e[1]/255;const l=e[2]/255;const u=Math.max(i,a,l);const f=u-Math.min(i,a,l);const diffc=function(e){return(u-e)/6/f+1/2};if(f===0){s=0;o=0}else{o=f/u;t=diffc(i);r=diffc(a);n=diffc(l);if(i===u){s=n-r}else if(a===u){s=1/3+t-n}else if(l===u){s=2/3+r-t}if(s<0){s+=1}else if(s>1){s-=1}}return[s*360,o*100,u*100]};o.rgb.hwb=function(e){const t=e[0];const r=e[1];let n=e[2];const s=o.rgb.hsl(e)[0];const i=1/255*Math.min(t,Math.min(r,n));n=1-1/255*Math.max(t,Math.max(r,n));return[s,i*100,n*100]};o.rgb.cmyk=function(e){const t=e[0]/255;const r=e[1]/255;const n=e[2]/255;const s=Math.min(1-t,1-r,1-n);const o=(1-t-s)/(1-s)||0;const i=(1-r-s)/(1-s)||0;const a=(1-n-s)/(1-s)||0;return[o*100,i*100,a*100,s*100]};function comparativeDistance(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}o.rgb.keyword=function(e){const t=s[e];if(t){return t}let r=Infinity;let o;for(const t of Object.keys(n)){const s=n[t];const i=comparativeDistance(e,s);if(i.04045?((t+.055)/1.055)**2.4:t/12.92;r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;const s=t*.4124+r*.3576+n*.1805;const o=t*.2126+r*.7152+n*.0722;const i=t*.0193+r*.1192+n*.9505;return[s*100,o*100,i*100]};o.rgb.lab=function(e){const t=o.rgb.xyz(e);let r=t[0];let n=t[1];let s=t[2];r/=95.047;n/=100;s/=108.883;r=r>.008856?r**(1/3):7.787*r+16/116;n=n>.008856?n**(1/3):7.787*n+16/116;s=s>.008856?s**(1/3):7.787*s+16/116;const i=116*n-16;const a=500*(r-n);const l=200*(n-s);return[i,a,l]};o.hsl.rgb=function(e){const t=e[0]/360;const r=e[1]/100;const n=e[2]/100;let s;let o;let i;if(r===0){i=n*255;return[i,i,i]}if(n<.5){s=n*(1+r)}else{s=n+r-n*r}const a=2*n-s;const l=[0,0,0];for(let e=0;e<3;e++){o=t+1/3*-(e-1);if(o<0){o++}if(o>1){o--}if(6*o<1){i=a+(s-a)*6*o}else if(2*o<1){i=s}else if(3*o<2){i=a+(s-a)*(2/3-o)*6}else{i=a}l[e]=i*255}return l};o.hsl.hsv=function(e){const t=e[0];let r=e[1]/100;let n=e[2]/100;let s=r;const o=Math.max(n,.01);n*=2;r*=n<=1?n:2-n;s*=o<=1?o:2-o;const i=(n+r)/2;const a=n===0?2*s/(o+s):2*r/(n+r);return[t,a*100,i*100]};o.hsv.rgb=function(e){const t=e[0]/60;const r=e[1]/100;let n=e[2]/100;const s=Math.floor(t)%6;const o=t-Math.floor(t);const i=255*n*(1-r);const a=255*n*(1-r*o);const l=255*n*(1-r*(1-o));n*=255;switch(s){case 0:return[n,l,i];case 1:return[a,n,i];case 2:return[i,n,l];case 3:return[i,a,n];case 4:return[l,i,n];case 5:return[n,i,a]}};o.hsv.hsl=function(e){const t=e[0];const r=e[1]/100;const n=e[2]/100;const s=Math.max(n,.01);let o;let i;i=(2-r)*n;const a=(2-r)*s;o=r*s;o/=a<=1?a:2-a;o=o||0;i/=2;return[t,o*100,i*100]};o.hwb.rgb=function(e){const t=e[0]/360;let r=e[1]/100;let n=e[2]/100;const s=r+n;let o;if(s>1){r/=s;n/=s}const i=Math.floor(6*t);const a=1-n;o=6*t-i;if((i&1)!==0){o=1-o}const l=r+o*(a-r);let u;let f;let h;switch(i){default:case 6:case 0:u=a;f=l;h=r;break;case 1:u=l;f=a;h=r;break;case 2:u=r;f=a;h=l;break;case 3:u=r;f=l;h=a;break;case 4:u=l;f=r;h=a;break;case 5:u=a;f=r;h=l;break}return[u*255,f*255,h*255]};o.cmyk.rgb=function(e){const t=e[0]/100;const r=e[1]/100;const n=e[2]/100;const s=e[3]/100;const o=1-Math.min(1,t*(1-s)+s);const i=1-Math.min(1,r*(1-s)+s);const a=1-Math.min(1,n*(1-s)+s);return[o*255,i*255,a*255]};o.xyz.rgb=function(e){const t=e[0]/100;const r=e[1]/100;const n=e[2]/100;let s;let o;let i;s=t*3.2406+r*-1.5372+n*-.4986;o=t*-.9689+r*1.8758+n*.0415;i=t*.0557+r*-.204+n*1.057;s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92;o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92;i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92;s=Math.min(Math.max(0,s),1);o=Math.min(Math.max(0,o),1);i=Math.min(Math.max(0,i),1);return[s*255,o*255,i*255]};o.xyz.lab=function(e){let t=e[0];let r=e[1];let n=e[2];t/=95.047;r/=100;n/=108.883;t=t>.008856?t**(1/3):7.787*t+16/116;r=r>.008856?r**(1/3):7.787*r+16/116;n=n>.008856?n**(1/3):7.787*n+16/116;const s=116*r-16;const o=500*(t-r);const i=200*(r-n);return[s,o,i]};o.lab.xyz=function(e){const t=e[0];const r=e[1];const n=e[2];let s;let o;let i;o=(t+16)/116;s=r/500+o;i=o-n/200;const a=o**3;const l=s**3;const u=i**3;o=a>.008856?a:(o-16/116)/7.787;s=l>.008856?l:(s-16/116)/7.787;i=u>.008856?u:(i-16/116)/7.787;s*=95.047;o*=100;i*=108.883;return[s,o,i]};o.lab.lch=function(e){const t=e[0];const r=e[1];const n=e[2];let s;const o=Math.atan2(n,r);s=o*360/2/Math.PI;if(s<0){s+=360}const i=Math.sqrt(r*r+n*n);return[t,i,s]};o.lch.lab=function(e){const t=e[0];const r=e[1];const n=e[2];const s=n/360*2*Math.PI;const o=r*Math.cos(s);const i=r*Math.sin(s);return[t,o,i]};o.rgb.ansi16=function(e,t=null){const[r,n,s]=e;let i=t===null?o.rgb.hsv(e)[2]:t;i=Math.round(i/50);if(i===0){return 30}let a=30+(Math.round(s/255)<<2|Math.round(n/255)<<1|Math.round(r/255));if(i===2){a+=60}return a};o.hsv.ansi16=function(e){return o.rgb.ansi16(o.hsv.rgb(e),e[2])};o.rgb.ansi256=function(e){const t=e[0];const r=e[1];const n=e[2];if(t===r&&r===n){if(t<8){return 16}if(t>248){return 231}return Math.round((t-8)/247*24)+232}const s=16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5);return s};o.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7){if(e>50){t+=3.5}t=t/10.5*255;return[t,t,t]}const r=(~~(e>50)+1)*.5;const n=(t&1)*r*255;const s=(t>>1&1)*r*255;const o=(t>>2&1)*r*255;return[n,s,o]};o.ansi256.rgb=function(e){if(e>=232){const t=(e-232)*10+8;return[t,t,t]}e-=16;let t;const r=Math.floor(e/36)/5*255;const n=Math.floor((t=e%36)/6)/5*255;const s=t%6/5*255;return[r,n,s]};o.rgb.hex=function(e){const t=((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255);const r=t.toString(16).toUpperCase();return"000000".substring(r.length)+r};o.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t){return[0,0,0]}let r=t[0];if(t[0].length===3){r=r.split("").map((e=>e+e)).join("")}const n=parseInt(r,16);const s=n>>16&255;const o=n>>8&255;const i=n&255;return[s,o,i]};o.rgb.hcg=function(e){const t=e[0]/255;const r=e[1]/255;const n=e[2]/255;const s=Math.max(Math.max(t,r),n);const o=Math.min(Math.min(t,r),n);const i=s-o;let a;let l;if(i<1){a=o/(1-i)}else{a=0}if(i<=0){l=0}else if(s===t){l=(r-n)/i%6}else if(s===r){l=2+(n-t)/i}else{l=4+(t-r)/i}l/=6;l%=1;return[l*360,i*100,a*100]};o.hsl.hcg=function(e){const t=e[1]/100;const r=e[2]/100;const n=r<.5?2*t*r:2*t*(1-r);let s=0;if(n<1){s=(r-.5*n)/(1-n)}return[e[0],n*100,s*100]};o.hsv.hcg=function(e){const t=e[1]/100;const r=e[2]/100;const n=t*r;let s=0;if(n<1){s=(r-n)/(1-n)}return[e[0],n*100,s*100]};o.hcg.rgb=function(e){const t=e[0]/360;const r=e[1]/100;const n=e[2]/100;if(r===0){return[n*255,n*255,n*255]}const s=[0,0,0];const o=t%1*6;const i=o%1;const a=1-i;let l=0;switch(Math.floor(o)){case 0:s[0]=1;s[1]=i;s[2]=0;break;case 1:s[0]=a;s[1]=1;s[2]=0;break;case 2:s[0]=0;s[1]=1;s[2]=i;break;case 3:s[0]=0;s[1]=a;s[2]=1;break;case 4:s[0]=i;s[1]=0;s[2]=1;break;default:s[0]=1;s[1]=0;s[2]=a}l=(1-r)*n;return[(r*s[0]+l)*255,(r*s[1]+l)*255,(r*s[2]+l)*255]};o.hcg.hsv=function(e){const t=e[1]/100;const r=e[2]/100;const n=t+r*(1-t);let s=0;if(n>0){s=t/n}return[e[0],s*100,n*100]};o.hcg.hsl=function(e){const t=e[1]/100;const r=e[2]/100;const n=r*(1-t)+.5*t;let s=0;if(n>0&&n<.5){s=t/(2*n)}else if(n>=.5&&n<1){s=t/(2*(1-n))}return[e[0],s*100,n*100]};o.hcg.hwb=function(e){const t=e[1]/100;const r=e[2]/100;const n=t+r*(1-t);return[e[0],(n-t)*100,(1-n)*100]};o.hwb.hcg=function(e){const t=e[1]/100;const r=e[2]/100;const n=1-r;const s=n-t;let o=0;if(s<1){o=(n-s)/(1-s)}return[e[0],s*100,o*100]};o.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};o.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};o.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};o.gray.hsl=function(e){return[0,0,e[0]]};o.gray.hsv=o.gray.hsl;o.gray.hwb=function(e){return[0,100,e[0]]};o.gray.cmyk=function(e){return[0,0,0,e[0]]};o.gray.lab=function(e){return[e[0],0,0]};o.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255;const r=(t<<16)+(t<<8)+t;const n=r.toString(16).toUpperCase();return"000000".substring(n.length)+n};o.rgb.gray=function(e){const t=(e[0]+e[1]+e[2])/3;return[t/255*100]}},226:(e,t,r)=>{const n=r(113);const s=r(971);const o={};const i=Object.keys(n);function wrapRaw(e){const wrappedFn=function(...t){const r=t[0];if(r===undefined||r===null){return r}if(r.length>1){t=r}return e(t)};if("conversion"in e){wrappedFn.conversion=e.conversion}return wrappedFn}function wrapRounded(e){const wrappedFn=function(...t){const r=t[0];if(r===undefined||r===null){return r}if(r.length>1){t=r}const n=e(t);if(typeof n==="object"){for(let e=n.length,t=0;t{o[e]={};Object.defineProperty(o[e],"channels",{value:n[e].channels});Object.defineProperty(o[e],"labels",{value:n[e].labels});const t=s(e);const r=Object.keys(t);r.forEach((r=>{const n=t[r];o[e][r]=wrapRounded(n);o[e][r].raw=wrapRaw(n)}))}));e.exports=o},971:(e,t,r)=>{const n=r(113);function buildGraph(){const e={};const t=Object.keys(n);for(let r=t.length,n=0;n{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},993:e=>{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},987:(e,t,r)=>{var n=r(578);e.exports=function(e,t){e=e||{};Object.keys(t).forEach((function(r){if(typeof e[r]==="undefined"){e[r]=n(t[r])}}));return e}},379:e=>{"use strict";var t=/[|\\{}()[\]^$+*?.]/g;e.exports=function(e){if(typeof e!=="string"){throw new TypeError("Expected a string")}return e.replace(t,"\\$&")}},343:e=>{"use strict";e.exports=(e,t)=>{t=t||process.argv;const r=e.startsWith("-")?"":e.length===1?"-":"--";const n=t.indexOf(r+e);const s=t.indexOf("--");return n!==-1&&(s===-1?true:n{"use strict";e.exports=(e,t=process.argv)=>{const r=e.startsWith("-")?"":e.length===1?"-":"--";const n=t.indexOf(r+e);const s=t.indexOf("--");return n!==-1&&(s===-1||n{"use strict";e.exports=({stream:e=process.stdout}={})=>Boolean(e&&e.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))},663:(e,t,r)=>{"use strict";const n=r(148);const s=process.platform!=="win32"||process.env.CI||process.env.TERM==="xterm-256color";const o={info:n.blue("ℹ"),success:n.green("✔"),warning:n.yellow("⚠"),error:n.red("✖")};const i={info:n.blue("i"),success:n.green("√"),warning:n.yellow("‼"),error:n.red("×")};e.exports=s?o:i},469:e=>{"use strict";const mimicFn=(e,t)=>{for(const r of Reflect.ownKeys(t)){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}return e};e.exports=mimicFn;e.exports["default"]=mimicFn},502:(e,t,r)=>{var n=r(955);e.exports=MuteStream;function MuteStream(e){n.apply(this);e=e||{};this.writable=this.readable=true;this.muted=false;this.on("pipe",this._onpipe);this.replace=e.replace;this._prompt=e.prompt||null;this._hadControl=false}MuteStream.prototype=Object.create(n.prototype);Object.defineProperty(MuteStream.prototype,"constructor",{value:MuteStream,enumerable:false});MuteStream.prototype.mute=function(){this.muted=true};MuteStream.prototype.unmute=function(){this.muted=false};Object.defineProperty(MuteStream.prototype,"_onpipe",{value:onPipe,enumerable:false,writable:true,configurable:true});function onPipe(e){this._src=e}Object.defineProperty(MuteStream.prototype,"isTTY",{get:getIsTTY,set:setIsTTY,enumerable:true,configurable:true});function getIsTTY(){return this._dest?this._dest.isTTY:this._src?this._src.isTTY:false}function setIsTTY(e){Object.defineProperty(this,"isTTY",{value:e,enumerable:true,writable:true,configurable:true})}Object.defineProperty(MuteStream.prototype,"rows",{get:function(){return this._dest?this._dest.rows:this._src?this._src.rows:undefined},enumerable:true,configurable:true});Object.defineProperty(MuteStream.prototype,"columns",{get:function(){return this._dest?this._dest.columns:this._src?this._src.columns:undefined},enumerable:true,configurable:true});MuteStream.prototype.pipe=function(e,t){this._dest=e;return n.prototype.pipe.call(this,e,t)};MuteStream.prototype.pause=function(){if(this._src)return this._src.pause()};MuteStream.prototype.resume=function(){if(this._src)return this._src.resume()};MuteStream.prototype.write=function(e){if(this.muted){if(!this.replace)return true;if(e.match(/^\u001b/)){if(e.indexOf(this._prompt)===0){e=e.substr(this._prompt.length);e=e.replace(/./g,this.replace);e=this._prompt+e}this._hadControl=true;return this.emit("data",e)}else{if(this._prompt&&this._hadControl&&e.indexOf(this._prompt)===0){this._hadControl=false;this.emit("data",this._prompt);e=e.substr(this._prompt.length)}e=e.toString().replace(/./g,this.replace)}}this.emit("data",e)};MuteStream.prototype.end=function(e){if(this.muted){if(e&&this.replace){e=e.toString().replace(/./g,this.replace)}else{e=null}}if(e)this.emit("data",e);this.emit("end")};function proxy(e){return function(){var t=this._dest;var r=this._src;if(t&&t[e])t[e].apply(t,arguments);if(r&&r[e])r[e].apply(r,arguments)}}MuteStream.prototype.destroy=proxy("destroy");MuteStream.prototype.destroySoon=proxy("destroySoon");MuteStream.prototype.close=proxy("close")},430:(e,t,r)=>{"use strict";const n=r(469);const s=new WeakMap;const onetime=(e,t={})=>{if(typeof e!=="function"){throw new TypeError("Expected a function")}let r;let o=0;const i=e.displayName||e.name||"";const onetime=function(...n){s.set(onetime,++o);if(o===1){r=e.apply(this,n);e=null}else if(t.throw===true){throw new Error(`Function \`${i}\` can only be called once`)}return r};n(onetime,e);s.set(onetime,o);return onetime};e.exports=onetime;e.exports["default"]=onetime;e.exports.callCount=e=>{if(!s.has(e)){throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`)}return s.get(e)}},327:(e,t,r)=>{"use strict";const n=r(521);const s=r(385);const o=r(581);const i=r(97);const a=r(663);const l=r(518);const u=r(457);const f=r(934);const h=r(502);const p=Symbol("text");const g=Symbol("prefixText");const d=3;class StdinDiscarder{constructor(){this.requests=0;this.mutedStream=new h;this.mutedStream.pipe(process.stdout);this.mutedStream.mute();const e=this;this.ourEmit=function(t,r,...n){const{stdin:s}=process;if(e.requests>0||s.emit===e.ourEmit){if(t==="keypress"){return}if(t==="data"&&r.includes(d)){process.emit("SIGINT")}Reflect.apply(e.oldEmit,this,[t,r,...n])}else{Reflect.apply(process.stdin.emit,this,[t,r,...n])}}}start(){this.requests++;if(this.requests===1){this.realStart()}}stop(){if(this.requests<=0){throw new Error("`stop` called more times than `start`")}this.requests--;if(this.requests===0){this.realStop()}}realStart(){if(process.platform==="win32"){return}this.rl=n.createInterface({input:process.stdin,output:this.mutedStream});this.rl.on("SIGINT",(()=>{if(process.listenerCount("SIGINT")===0){process.emit("SIGINT")}else{this.rl.close();process.kill(process.pid,"SIGINT")}}))}realStop(){if(process.platform==="win32"){return}this.rl.close();this.rl=undefined}}const v=new StdinDiscarder;class Ora{constructor(e){if(typeof e==="string"){e={text:e}}this.options={text:"",color:"cyan",stream:process.stderr,discardStdin:true,...e};this.spinner=this.options.spinner;this.color=this.options.color;this.hideCursor=this.options.hideCursor!==false;this.interval=this.options.interval||this.spinner.interval||100;this.stream=this.options.stream;this.id=undefined;this.isEnabled=typeof this.options.isEnabled==="boolean"?this.options.isEnabled:f({stream:this.stream});this.text=this.options.text;this.prefixText=this.options.prefixText;this.linesToClear=0;this.indent=this.options.indent;this.discardStdin=this.options.discardStdin;this.isDiscardingStdin=false}get indent(){return this._indent}set indent(e=0){if(!(e>=0&&Number.isInteger(e))){throw new Error("The `indent` option must be an integer from 0 and up")}this._indent=e}_updateInterval(e){if(e!==undefined){this.interval=e}}get spinner(){return this._spinner}set spinner(e){this.frameIndex=0;if(typeof e==="object"){if(e.frames===undefined){throw new Error("The given spinner must have a `frames` property")}this._spinner=e}else if(process.platform==="win32"){this._spinner=i.line}else if(e===undefined){this._spinner=i.dots}else if(i[e]){this._spinner=i[e]}else{throw new Error(`There is no built-in spinner named '${e}'. See https://github.com/sindresorhus/cli-spinners/blob/master/spinners.json for a full list.`)}this._updateInterval(this._spinner.interval)}get text(){return this[p]}get prefixText(){return this[g]}get isSpinning(){return this.id!==undefined}updateLineCount(){const e=this.stream.columns||80;const t=typeof this[g]==="string"?this[g]+"-":"";this.lineCount=l(t+"--"+this[p]).split("\n").reduce(((t,r)=>t+Math.max(1,Math.ceil(u(r)/e))),0)}set text(e){this[p]=e;this.updateLineCount()}set prefixText(e){this[g]=e;this.updateLineCount()}frame(){const{frames:e}=this.spinner;let t=e[this.frameIndex];if(this.color){t=s[this.color](t)}this.frameIndex=++this.frameIndex%e.length;const r=typeof this.prefixText==="string"&&this.prefixText!==""?this.prefixText+" ":"";const n=typeof this.text==="string"?" "+this.text:"";return r+t+n}clear(){if(!this.isEnabled||!this.stream.isTTY){return this}for(let e=0;e0){this.stream.moveCursor(0,-1)}this.stream.clearLine();this.stream.cursorTo(this.indent)}this.linesToClear=0;return this}render(){this.clear();this.stream.write(this.frame());this.linesToClear=this.lineCount;return this}start(e){if(e){this.text=e}if(!this.isEnabled){if(this.text){this.stream.write(`- ${this.text}\n`)}return this}if(this.isSpinning){return this}if(this.hideCursor){o.hide(this.stream)}if(this.discardStdin&&process.stdin.isTTY){this.isDiscardingStdin=true;v.start()}this.render();this.id=setInterval(this.render.bind(this),this.interval);return this}stop(){if(!this.isEnabled){return this}clearInterval(this.id);this.id=undefined;this.frameIndex=0;this.clear();if(this.hideCursor){o.show(this.stream)}if(this.discardStdin&&process.stdin.isTTY&&this.isDiscardingStdin){v.stop();this.isDiscardingStdin=false}return this}succeed(e){return this.stopAndPersist({symbol:a.success,text:e})}fail(e){return this.stopAndPersist({symbol:a.error,text:e})}warn(e){return this.stopAndPersist({symbol:a.warning,text:e})}info(e){return this.stopAndPersist({symbol:a.info,text:e})}stopAndPersist(e={}){const t=e.prefixText||this.prefixText;const r=typeof t==="string"&&t!==""?t+" ":"";const n=e.text||this.text;const s=typeof n==="string"?" "+n:"";this.stop();this.stream.write(`${r}${e.symbol||" "}${s}\n`);return this}}const oraFactory=function(e){return new Ora(e)};e.exports=oraFactory;e.exports.promise=(e,t)=>{if(typeof e.then!=="function"){throw new TypeError("Parameter `action` must be a Promise")}const r=new Ora(t);r.start();(async()=>{try{await e;r.succeed()}catch(e){r.fail()}})();return r}},154:(e,t,r)=>{"use strict";const n=r(430);const s=r(234);e.exports=n((()=>{s((()=>{process.stderr.write("[?25h")}),{alwaysLast:true})}))},234:(e,t,r)=>{var n=global.process;const processOk=function(e){return e&&typeof e==="object"&&typeof e.removeListener==="function"&&typeof e.emit==="function"&&typeof e.reallyExit==="function"&&typeof e.listeners==="function"&&typeof e.kill==="function"&&typeof e.pid==="number"&&typeof e.on==="function"};if(!processOk(n)){e.exports=function(){return function(){}}}else{var s=r(491);var o=r(986);var i=/^win/i.test(n.platform);var a=r(361);if(typeof a!=="function"){a=a.EventEmitter}var l;if(n.__signal_exit_emitter__){l=n.__signal_exit_emitter__}else{l=n.__signal_exit_emitter__=new a;l.count=0;l.emitted={}}if(!l.infinite){l.setMaxListeners(Infinity);l.infinite=true}e.exports=function(e,t){if(!processOk(global.process)){return function(){}}s.equal(typeof e,"function","a callback must be provided for exit handler");if(p===false){g()}var r="exit";if(t&&t.alwaysLast){r="afterexit"}var remove=function(){l.removeListener(r,e);if(l.listeners("exit").length===0&&l.listeners("afterexit").length===0){u()}};l.on(r,e);return remove};var u=function unload(){if(!p||!processOk(global.process)){return}p=false;o.forEach((function(e){try{n.removeListener(e,h[e])}catch(e){}}));n.emit=b;n.reallyExit=d;l.count-=1};e.exports.unload=u;var f=function emit(e,t,r){if(l.emitted[e]){return}l.emitted[e]=true;l.emit(e,t,r)};var h={};o.forEach((function(e){h[e]=function listener(){if(!processOk(global.process)){return}var t=n.listeners(e);if(t.length===l.count){u();f("exit",null,e);f("afterexit",null,e);if(i&&e==="SIGHUP"){e="SIGINT"}n.kill(n.pid,e)}}}));e.exports.signals=function(){return o};var p=false;var g=function load(){if(p||!processOk(global.process)){return}p=true;l.count+=1;o=o.filter((function(e){try{n.on(e,h[e]);return true}catch(e){return false}}));n.emit=m;n.reallyExit=v};e.exports.load=g;var d=n.reallyExit;var v=function processReallyExit(e){if(!processOk(global.process)){return}n.exitCode=e||0;f("exit",n.exitCode,null);f("afterexit",n.exitCode,null);d.call(n,n.exitCode)};var b=n.emit;var m=function processEmit(e,t){if(e==="exit"&&processOk(global.process)){if(t!==undefined){n.exitCode=t}var r=b.apply(this,arguments);f("exit",n.exitCode,null);f("afterexit",n.exitCode,null);return r}else{return b.apply(this,arguments)}}}},986:e=>{e.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];if(process.platform!=="win32"){e.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT")}if(process.platform==="linux"){e.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")}},220:(e,t,r)=>{"use strict";const n=r(37);const s=r(343);const o=process.env;let i;if(s("no-color")||s("no-colors")||s("color=false")){i=false}else if(s("color")||s("colors")||s("color=true")||s("color=always")){i=true}if("FORCE_COLOR"in o){i=o.FORCE_COLOR.length===0||parseInt(o.FORCE_COLOR,10)!==0}function translateLevel(e){if(e===0){return false}return{level:e,hasBasic:true,has256:e>=2,has16m:e>=3}}function supportsColor(e){if(i===false){return 0}if(s("color=16m")||s("color=full")||s("color=truecolor")){return 3}if(s("color=256")){return 2}if(e&&!e.isTTY&&i!==true){return 0}const t=i?1:0;if(process.platform==="win32"){const e=n.release().split(".");if(Number(process.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586){return Number(e[2])>=14931?3:2}return 1}if("CI"in o){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((e=>e in o))||o.CI_NAME==="codeship"){return 1}return t}if("TEAMCITY_VERSION"in o){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(o.TEAMCITY_VERSION)?1:0}if(o.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in o){const e=parseInt((o.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(o.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(o.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(o.TERM)){return 1}if("COLORTERM"in o){return 1}if(o.TERM==="dumb"){return t}return t}function getSupportLevel(e){const t=supportsColor(e);return translateLevel(t)}e.exports={supportsColor:getSupportLevel,stdout:getSupportLevel(process.stdout),stderr:getSupportLevel(process.stderr)}},793:(e,t,r)=>{"use strict";const n=r(37);const s=r(224);const o=r(914);const{env:i}=process;let a;if(o("no-color")||o("no-colors")||o("color=false")||o("color=never")){a=0}else if(o("color")||o("colors")||o("color=true")||o("color=always")){a=1}if("FORCE_COLOR"in i){if(i.FORCE_COLOR==="true"){a=1}else if(i.FORCE_COLOR==="false"){a=0}else{a=i.FORCE_COLOR.length===0?1:Math.min(parseInt(i.FORCE_COLOR,10),3)}}function translateLevel(e){if(e===0){return false}return{level:e,hasBasic:true,has256:e>=2,has16m:e>=3}}function supportsColor(e,t){if(a===0){return 0}if(o("color=16m")||o("color=full")||o("color=truecolor")){return 3}if(o("color=256")){return 2}if(e&&!t&&a===undefined){return 0}const r=a||0;if(i.TERM==="dumb"){return r}if(process.platform==="win32"){const e=n.release().split(".");if(Number(e[0])>=10&&Number(e[2])>=10586){return Number(e[2])>=14931?3:2}return 1}if("CI"in i){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in i))||i.CI_NAME==="codeship"){return 1}return r}if("TEAMCITY_VERSION"in i){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0}if(i.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in i){const e=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(i.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(i.TERM)){return 1}if("COLORTERM"in i){return 1}return r}function getSupportLevel(e){const t=supportsColor(e,e&&e.isTTY);return translateLevel(t)}e.exports={supportsColor:getSupportLevel,stdout:translateLevel(supportsColor(true,s.isatty(1))),stderr:translateLevel(supportsColor(true,s.isatty(2)))}},567:e=>{e.exports=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531],[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]]},457:(e,t,r)=>{"use strict";var n=r(987);var s=r(567);var o={nul:0,control:0};e.exports=function wcwidth(e){return wcswidth(e,o)};e.exports.config=function(e){e=n(e||{},o);return function wcwidth(t){return wcswidth(t,e)}};function wcswidth(e,t){if(typeof e!=="string")return wcwidth(e,t);var r=0;for(var n=0;n=127&&e<160)return t.control;if(bisearch(e))return 0;return 1+(e>=4352&&(e<=4447||e==9001||e==9002||e>=11904&&e<=42191&&e!=12351||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65135||e>=65280&&e<=65376||e>=65504&&e<=65510||e>=131072&&e<=196605||e>=196608&&e<=262141))}function bisearch(e){var t=0;var r=s.length-1;var n;if(es[r][1])return false;while(r>=t){n=Math.floor((t+r)/2);if(e>s[n][1])t=n+1;else if(e{"use strict";e.exports=require("assert")},361:e=>{"use strict";e.exports=require("events")},518:e=>{"use strict";e.exports=require("next/dist/compiled/strip-ansi")},37:e=>{"use strict";e.exports=require("os")},521:e=>{"use strict";e.exports=require("readline")},955:e=>{"use strict";e.exports=require("stream")},224:e=>{"use strict";e.exports=require("tty")},432:e=>{"use strict";e.exports=JSON.parse('{"dots":{"interval":80,"frames":["⠋","⠙","⠹","⠸","⠼","⠴","⠦","⠧","⠇","⠏"]},"dots2":{"interval":80,"frames":["⣾","⣽","⣻","⢿","⡿","⣟","⣯","⣷"]},"dots3":{"interval":80,"frames":["⠋","⠙","⠚","⠞","⠖","⠦","⠴","⠲","⠳","⠓"]},"dots4":{"interval":80,"frames":["⠄","⠆","⠇","⠋","⠙","⠸","⠰","⠠","⠰","⠸","⠙","⠋","⠇","⠆"]},"dots5":{"interval":80,"frames":["⠋","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋"]},"dots6":{"interval":80,"frames":["⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠴","⠲","⠒","⠂","⠂","⠒","⠚","⠙","⠉","⠁"]},"dots7":{"interval":80,"frames":["⠈","⠉","⠋","⠓","⠒","⠐","⠐","⠒","⠖","⠦","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈"]},"dots8":{"interval":80,"frames":["⠁","⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈","⠈"]},"dots9":{"interval":80,"frames":["⢹","⢺","⢼","⣸","⣇","⡧","⡗","⡏"]},"dots10":{"interval":80,"frames":["⢄","⢂","⢁","⡁","⡈","⡐","⡠"]},"dots11":{"interval":100,"frames":["⠁","⠂","⠄","⡀","⢀","⠠","⠐","⠈"]},"dots12":{"interval":80,"frames":["⢀⠀","⡀⠀","⠄⠀","⢂⠀","⡂⠀","⠅⠀","⢃⠀","⡃⠀","⠍⠀","⢋⠀","⡋⠀","⠍⠁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⢈⠩","⡀⢙","⠄⡙","⢂⠩","⡂⢘","⠅⡘","⢃⠨","⡃⢐","⠍⡐","⢋⠠","⡋⢀","⠍⡁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⠈⠩","⠀⢙","⠀⡙","⠀⠩","⠀⢘","⠀⡘","⠀⠨","⠀⢐","⠀⡐","⠀⠠","⠀⢀","⠀⡀"]},"dots13":{"interval":80,"frames":["⣼","⣹","⢻","⠿","⡟","⣏","⣧","⣶"]},"dots8Bit":{"interval":80,"frames":["⠀","⠁","⠂","⠃","⠄","⠅","⠆","⠇","⡀","⡁","⡂","⡃","⡄","⡅","⡆","⡇","⠈","⠉","⠊","⠋","⠌","⠍","⠎","⠏","⡈","⡉","⡊","⡋","⡌","⡍","⡎","⡏","⠐","⠑","⠒","⠓","⠔","⠕","⠖","⠗","⡐","⡑","⡒","⡓","⡔","⡕","⡖","⡗","⠘","⠙","⠚","⠛","⠜","⠝","⠞","⠟","⡘","⡙","⡚","⡛","⡜","⡝","⡞","⡟","⠠","⠡","⠢","⠣","⠤","⠥","⠦","⠧","⡠","⡡","⡢","⡣","⡤","⡥","⡦","⡧","⠨","⠩","⠪","⠫","⠬","⠭","⠮","⠯","⡨","⡩","⡪","⡫","⡬","⡭","⡮","⡯","⠰","⠱","⠲","⠳","⠴","⠵","⠶","⠷","⡰","⡱","⡲","⡳","⡴","⡵","⡶","⡷","⠸","⠹","⠺","⠻","⠼","⠽","⠾","⠿","⡸","⡹","⡺","⡻","⡼","⡽","⡾","⡿","⢀","⢁","⢂","⢃","⢄","⢅","⢆","⢇","⣀","⣁","⣂","⣃","⣄","⣅","⣆","⣇","⢈","⢉","⢊","⢋","⢌","⢍","⢎","⢏","⣈","⣉","⣊","⣋","⣌","⣍","⣎","⣏","⢐","⢑","⢒","⢓","⢔","⢕","⢖","⢗","⣐","⣑","⣒","⣓","⣔","⣕","⣖","⣗","⢘","⢙","⢚","⢛","⢜","⢝","⢞","⢟","⣘","⣙","⣚","⣛","⣜","⣝","⣞","⣟","⢠","⢡","⢢","⢣","⢤","⢥","⢦","⢧","⣠","⣡","⣢","⣣","⣤","⣥","⣦","⣧","⢨","⢩","⢪","⢫","⢬","⢭","⢮","⢯","⣨","⣩","⣪","⣫","⣬","⣭","⣮","⣯","⢰","⢱","⢲","⢳","⢴","⢵","⢶","⢷","⣰","⣱","⣲","⣳","⣴","⣵","⣶","⣷","⢸","⢹","⢺","⢻","⢼","⢽","⢾","⢿","⣸","⣹","⣺","⣻","⣼","⣽","⣾","⣿"]},"sand":{"interval":80,"frames":["⠁","⠂","⠄","⡀","⡈","⡐","⡠","⣀","⣁","⣂","⣄","⣌","⣔","⣤","⣥","⣦","⣮","⣶","⣷","⣿","⡿","⠿","⢟","⠟","⡛","⠛","⠫","⢋","⠋","⠍","⡉","⠉","⠑","⠡","⢁"]},"line":{"interval":130,"frames":["-","\\\\","|","/"]},"line2":{"interval":100,"frames":["⠂","-","–","—","–","-"]},"pipe":{"interval":100,"frames":["┤","┘","┴","└","├","┌","┬","┐"]},"simpleDots":{"interval":400,"frames":[". ",".. ","..."," "]},"simpleDotsScrolling":{"interval":200,"frames":[". ",".. ","..."," .."," ."," "]},"star":{"interval":70,"frames":["✶","✸","✹","✺","✹","✷"]},"star2":{"interval":80,"frames":["+","x","*"]},"flip":{"interval":70,"frames":["_","_","_","-","`","`","\'","´","-","_","_","_"]},"hamburger":{"interval":100,"frames":["☱","☲","☴"]},"growVertical":{"interval":120,"frames":["▁","▃","▄","▅","▆","▇","▆","▅","▄","▃"]},"growHorizontal":{"interval":120,"frames":["▏","▎","▍","▌","▋","▊","▉","▊","▋","▌","▍","▎"]},"balloon":{"interval":140,"frames":[" ",".","o","O","@","*"," "]},"balloon2":{"interval":120,"frames":[".","o","O","°","O","o","."]},"noise":{"interval":100,"frames":["▓","▒","░"]},"bounce":{"interval":120,"frames":["⠁","⠂","⠄","⠂"]},"boxBounce":{"interval":120,"frames":["▖","▘","▝","▗"]},"boxBounce2":{"interval":100,"frames":["▌","▀","▐","▄"]},"triangle":{"interval":50,"frames":["◢","◣","◤","◥"]},"binary":{"interval":80,"frames":["010010","001100","100101","111010","111101","010111","101011","111000","110011","110101"]},"arc":{"interval":100,"frames":["◜","◠","◝","◞","◡","◟"]},"circle":{"interval":120,"frames":["◡","⊙","◠"]},"squareCorners":{"interval":180,"frames":["◰","◳","◲","◱"]},"circleQuarters":{"interval":120,"frames":["◴","◷","◶","◵"]},"circleHalves":{"interval":50,"frames":["◐","◓","◑","◒"]},"squish":{"interval":100,"frames":["╫","╪"]},"toggle":{"interval":250,"frames":["⊶","⊷"]},"toggle2":{"interval":80,"frames":["▫","▪"]},"toggle3":{"interval":120,"frames":["□","■"]},"toggle4":{"interval":100,"frames":["■","□","▪","▫"]},"toggle5":{"interval":100,"frames":["▮","▯"]},"toggle6":{"interval":300,"frames":["ဝ","၀"]},"toggle7":{"interval":80,"frames":["⦾","⦿"]},"toggle8":{"interval":100,"frames":["◍","◌"]},"toggle9":{"interval":100,"frames":["◉","◎"]},"toggle10":{"interval":100,"frames":["㊂","㊀","㊁"]},"toggle11":{"interval":50,"frames":["⧇","⧆"]},"toggle12":{"interval":120,"frames":["☗","☖"]},"toggle13":{"interval":80,"frames":["=","*","-"]},"arrow":{"interval":100,"frames":["←","↖","↑","↗","→","↘","↓","↙"]},"arrow2":{"interval":80,"frames":["⬆️ ","↗️ ","➡️ ","↘️ ","⬇️ ","↙️ ","⬅️ ","↖️ "]},"arrow3":{"interval":120,"frames":["▹▹▹▹▹","▸▹▹▹▹","▹▸▹▹▹","▹▹▸▹▹","▹▹▹▸▹","▹▹▹▹▸"]},"bouncingBar":{"interval":80,"frames":["[ ]","[= ]","[== ]","[=== ]","[====]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},"bouncingBall":{"interval":80,"frames":["( ● )","( ● )","( ● )","( ● )","( ●)","( ● )","( ● )","( ● )","( ● )","(● )"]},"smiley":{"interval":200,"frames":["😄 ","😝 "]},"monkey":{"interval":300,"frames":["🙈 ","🙈 ","🙉 ","🙊 "]},"hearts":{"interval":100,"frames":["💛 ","💙 ","💜 ","💚 ","❤️ "]},"clock":{"interval":100,"frames":["🕛 ","🕐 ","🕑 ","🕒 ","🕓 ","🕔 ","🕕 ","🕖 ","🕗 ","🕘 ","🕙 ","🕚 "]},"earth":{"interval":180,"frames":["🌍 ","🌎 ","🌏 "]},"material":{"interval":17,"frames":["█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","███▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","████▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁","███████▁▁▁▁▁▁▁▁▁▁▁▁▁","████████▁▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","██████████▁▁▁▁▁▁▁▁▁▁","███████████▁▁▁▁▁▁▁▁▁","█████████████▁▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁▁██████████████▁▁▁▁","▁▁▁██████████████▁▁▁","▁▁▁▁█████████████▁▁▁","▁▁▁▁██████████████▁▁","▁▁▁▁██████████████▁▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁▁██████████████","▁▁▁▁▁▁██████████████","▁▁▁▁▁▁▁█████████████","▁▁▁▁▁▁▁█████████████","▁▁▁▁▁▁▁▁████████████","▁▁▁▁▁▁▁▁████████████","▁▁▁▁▁▁▁▁▁███████████","▁▁▁▁▁▁▁▁▁███████████","▁▁▁▁▁▁▁▁▁▁██████████","▁▁▁▁▁▁▁▁▁▁██████████","▁▁▁▁▁▁▁▁▁▁▁▁████████","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁██████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","███▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","████▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","██████▁▁▁▁▁▁▁▁▁▁▁▁▁█","████████▁▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","███████████▁▁▁▁▁▁▁▁▁","████████████▁▁▁▁▁▁▁▁","████████████▁▁▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁▁▁█████████████▁▁▁▁","▁▁▁▁▁████████████▁▁▁","▁▁▁▁▁████████████▁▁▁","▁▁▁▁▁▁███████████▁▁▁","▁▁▁▁▁▁▁▁█████████▁▁▁","▁▁▁▁▁▁▁▁█████████▁▁▁","▁▁▁▁▁▁▁▁▁█████████▁▁","▁▁▁▁▁▁▁▁▁█████████▁▁","▁▁▁▁▁▁▁▁▁▁█████████▁","▁▁▁▁▁▁▁▁▁▁▁████████▁","▁▁▁▁▁▁▁▁▁▁▁████████▁","▁▁▁▁▁▁▁▁▁▁▁▁███████▁","▁▁▁▁▁▁▁▁▁▁▁▁███████▁","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁"]},"moon":{"interval":80,"frames":["🌑 ","🌒 ","🌓 ","🌔 ","🌕 ","🌖 ","🌗 ","🌘 "]},"runner":{"interval":140,"frames":["🚶 ","🏃 "]},"pong":{"interval":80,"frames":["▐⠂ ▌","▐⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂▌","▐ ⠠▌","▐ ⡀▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐⠠ ▌"]},"shark":{"interval":120,"frames":["▐|\\\\____________▌","▐_|\\\\___________▌","▐__|\\\\__________▌","▐___|\\\\_________▌","▐____|\\\\________▌","▐_____|\\\\_______▌","▐______|\\\\______▌","▐_______|\\\\_____▌","▐________|\\\\____▌","▐_________|\\\\___▌","▐__________|\\\\__▌","▐___________|\\\\_▌","▐____________|\\\\▌","▐____________/|▌","▐___________/|_▌","▐__________/|__▌","▐_________/|___▌","▐________/|____▌","▐_______/|_____▌","▐______/|______▌","▐_____/|_______▌","▐____/|________▌","▐___/|_________▌","▐__/|__________▌","▐_/|___________▌","▐/|____________▌"]},"dqpb":{"interval":100,"frames":["d","q","p","b"]},"weather":{"interval":100,"frames":["☀️ ","☀️ ","☀️ ","🌤 ","⛅️ ","🌥 ","☁️ ","🌧 ","🌨 ","🌧 ","🌨 ","🌧 ","🌨 ","⛈ ","🌨 ","🌧 ","🌨 ","☁️ ","🌥 ","⛅️ ","🌤 ","☀️ ","☀️ "]},"christmas":{"interval":400,"frames":["🌲","🎄"]},"grenade":{"interval":80,"frames":["، ","′ "," ´ "," ‾ "," ⸌"," ⸊"," |"," ⁎"," ⁕"," ෴ "," ⁓"," "," "," "]},"point":{"interval":125,"frames":["∙∙∙","●∙∙","∙●∙","∙∙●","∙∙∙"]},"layer":{"interval":150,"frames":["-","=","≡"]},"betaWave":{"interval":80,"frames":["ρββββββ","βρβββββ","ββρββββ","βββρβββ","ββββρββ","βββββρβ","ββββββρ"]},"fingerDance":{"interval":160,"frames":["🤘 ","🤟 ","🖖 ","✋ ","🤚 ","👆 "]},"fistBump":{"interval":80,"frames":["🤜    🤛 ","🤜    🤛 ","🤜    🤛 "," 🤜  🤛  ","  🤜🤛   "," 🤜✨🤛   ","🤜 ✨ 🤛  "]},"soccerHeader":{"interval":80,"frames":[" 🧑⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 "]},"mindblown":{"interval":160,"frames":["😐 ","😐 ","😮 ","😮 ","😦 ","😦 ","😧 ","😧 ","🤯 ","💥 ","✨ ","  ","  ","  "]},"speaker":{"interval":160,"frames":["🔈 ","🔉 ","🔊 ","🔉 "]},"orangePulse":{"interval":100,"frames":["🔸 ","🔶 ","🟠 ","🟠 ","🔶 "]},"bluePulse":{"interval":100,"frames":["🔹 ","🔷 ","🔵 ","🔵 ","🔷 "]},"orangeBluePulse":{"interval":100,"frames":["🔸 ","🔶 ","🟠 ","🟠 ","🔶 ","🔹 ","🔷 ","🔵 ","🔵 ","🔷 "]},"timeTravel":{"interval":100,"frames":["🕛 ","🕚 ","🕙 ","🕘 ","🕗 ","🕖 ","🕕 ","🕔 ","🕓 ","🕒 ","🕑 ","🕐 "]},"aesthetic":{"interval":80,"frames":["▰▱▱▱▱▱▱","▰▰▱▱▱▱▱","▰▰▰▱▱▱▱","▰▰▰▰▱▱▱","▰▰▰▰▰▱▱","▰▰▰▰▰▰▱","▰▰▰▰▰▰▰","▰▱▱▱▱▱▱"]},"dwarfFortress":{"interval":80,"frames":[" ██████£££ ","☺██████£££ ","☺██████£££ ","☺▓█████£££ ","☺▓█████£££ ","☺▒█████£££ ","☺▒█████£££ ","☺░█████£££ ","☺░█████£££ ","☺ █████£££ "," ☺█████£££ "," ☺█████£££ "," ☺▓████£££ "," ☺▓████£££ "," ☺▒████£££ "," ☺▒████£££ "," ☺░████£££ "," ☺░████£££ "," ☺ ████£££ "," ☺████£££ "," ☺████£££ "," ☺▓███£££ "," ☺▓███£££ "," ☺▒███£££ "," ☺▒███£££ "," ☺░███£££ "," ☺░███£££ "," ☺ ███£££ "," ☺███£££ "," ☺███£££ "," ☺▓██£££ "," ☺▓██£££ "," ☺▒██£££ "," ☺▒██£££ "," ☺░██£££ "," ☺░██£££ "," ☺ ██£££ "," ☺██£££ "," ☺██£££ "," ☺▓█£££ "," ☺▓█£££ "," ☺▒█£££ "," ☺▒█£££ "," ☺░█£££ "," ☺░█£££ "," ☺ █£££ "," ☺█£££ "," ☺█£££ "," ☺▓£££ "," ☺▓£££ "," ☺▒£££ "," ☺▒£££ "," ☺░£££ "," ☺░£££ "," ☺ £££ "," ☺£££ "," ☺£££ "," ☺▓££ "," ☺▓££ "," ☺▒££ "," ☺▒££ "," ☺░££ "," ☺░££ "," ☺ ££ "," ☺££ "," ☺££ "," ☺▓£ "," ☺▓£ "," ☺▒£ "," ☺▒£ "," ☺░£ "," ☺░£ "," ☺ £ "," ☺£ "," ☺£ "," ☺▓ "," ☺▓ "," ☺▒ "," ☺▒ "," ☺░ "," ☺░ "," ☺ "," ☺ &"," ☺ ☼&"," ☺ ☼ &"," ☺☼ &"," ☺☼ & "," ‼ & "," ☺ & "," ‼ & "," ☺ & "," ‼ & "," ☺ & ","‼ & "," & "," & "," & ░ "," & ▒ "," & ▓ "," & £ "," & ░£ "," & ▒£ "," & ▓£ "," & ££ "," & ░££ "," & ▒££ ","& ▓££ ","& £££ "," ░£££ "," ▒£££ "," ▓£££ "," █£££ "," ░█£££ "," ▒█£££ "," ▓█£££ "," ██£££ "," ░██£££ "," ▒██£££ "," ▓██£££ "," ███£££ "," ░███£££ "," ▒███£££ "," ▓███£££ "," ████£££ "," ░████£££ "," ▒████£££ "," ▓████£££ "," █████£££ "," ░█████£££ "," ▒█████£££ "," ▓█████£££ "," ██████£££ "," ██████£££ "]}}')}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var s=t[r]={id:r,loaded:false,exports:{}};var o=true;try{e[r](s,s.exports,__nccwpck_require__);o=false}finally{if(o)delete t[r]}s.loaded=true;return s.exports}(()=>{__nccwpck_require__.nmd=e=>{e.paths=[];if(!e.children)e.children=[];return e}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(327);module.exports=r})(); \ No newline at end of file diff --git a/packages/next/src/compiled/postcss-safe-parser/safe-parse.js b/packages/next/src/compiled/postcss-safe-parser/safe-parse.js index 7957c097b736b..852d3161c45b6 100644 --- a/packages/next/src/compiled/postcss-safe-parser/safe-parse.js +++ b/packages/next/src/compiled/postcss-safe-parser/safe-parse.js @@ -1 +1 @@ -(()=>{var e={306:(e,t,r)=>{let s=r(224);let i=!("NO_COLOR"in process.env||process.argv.includes("--no-color"))&&("FORCE_COLOR"in process.env||process.argv.includes("--color")||process.platform==="win32"||s.isatty(1)&&process.env.TERM!=="dumb"||"CI"in process.env);let formatter=(e,t,r=e)=>s=>{let i=""+s;let n=i.indexOf(t,e.length);return~n?e+replaceClose(i,t,r,n)+t:e+i+t};let replaceClose=(e,t,r,s)=>{let i=e.substring(0,s)+r;let n=e.substring(s+t.length);let o=n.indexOf(t);return~o?i+replaceClose(n,t,r,o):i+n};let createColors=(e=i)=>({isColorSupported:e,reset:e?e=>`${e}`:String,bold:e?formatter("","",""):String,dim:e?formatter("","",""):String,italic:e?formatter("",""):String,underline:e?formatter("",""):String,inverse:e?formatter("",""):String,hidden:e?formatter("",""):String,strikethrough:e?formatter("",""):String,black:e?formatter("",""):String,red:e?formatter("",""):String,green:e?formatter("",""):String,yellow:e?formatter("",""):String,blue:e?formatter("",""):String,magenta:e?formatter("",""):String,cyan:e?formatter("",""):String,white:e?formatter("",""):String,gray:e?formatter("",""):String,bgBlack:e?formatter("",""):String,bgRed:e?formatter("",""):String,bgGreen:e?formatter("",""):String,bgYellow:e?formatter("",""):String,bgBlue:e?formatter("",""):String,bgMagenta:e?formatter("",""):String,bgCyan:e?formatter("",""):String,bgWhite:e?formatter("",""):String});e.exports=createColors();e.exports.createColors=createColors},534:(e,t,r)=>{let{Input:s}=r(977);let i=r(702);e.exports=function safeParse(e,t){let r=new s(e,t);let n=new i(r);n.parse();return n.root}},702:(e,t,r)=>{let s=r(970);let i=r(865);let n=r(38);class SafeParser extends n{createTokenizer(){this.tokenizer=s(this.input,{ignoreErrors:true})}comment(e){let t=new i;this.init(t,e[2]);let r=this.input.fromOffset(e[3])||this.input.fromOffset(this.input.css.length-1);t.source.end={offset:e[3],line:r.line,column:r.col};let s=e[1].slice(2);if(s.slice(-2)==="*/")s=s.slice(0,-2);if(/^\s*$/.test(s)){t.text="";t.raws.left=s;t.raws.right=""}else{let e=s.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2];t.raws.left=e[1];t.raws.right=e[3]}}decl(e){if(e.length>1&&e.some((e=>e[0]==="word"))){super.decl(e)}}unclosedBracket(){}unknownWord(e){this.spaces+=e.map((e=>e[1])).join("")}unexpectedClose(){this.current.raws.after+="}"}doubleColon(){}unnamedAtrule(e){e.name=""}precheckMissedSemicolon(e){let t=this.colon(e);if(t===false)return;let r,s;for(r=t-1;r>=0;r--){if(e[r][0]==="word")break}if(r===0)return;for(s=r-1;s>=0;s--){if(e[s][0]!=="space"){s+=1;break}}let i=e.slice(r);let n=e.slice(s,r);e.splice(s,e.length-s);this.spaces=n.map((e=>e[1])).join("");this.decl(i)}checkMissedSemicolon(){}endFile(){if(this.current.nodes&&this.current.nodes.length){this.current.raws.semicolon=this.semicolon}this.current.raws.after=(this.current.raws.after||"")+this.spaces;while(this.current.parent){this.current=this.current.parent;this.current.raws.after=""}}}e.exports=SafeParser},60:(e,t,r)=>{"use strict";let s=r(911);class AtRule extends s{constructor(e){super(e);this.type="atrule"}append(...e){if(!this.proxyOf.nodes)this.nodes=[];return super.append(...e)}prepend(...e){if(!this.proxyOf.nodes)this.nodes=[];return super.prepend(...e)}}e.exports=AtRule;AtRule.default=AtRule;s.registerAtRule(AtRule)},865:(e,t,r)=>{"use strict";let s=r(490);class Comment extends s{constructor(e){super(e);this.type="comment"}}e.exports=Comment;Comment.default=Comment},911:(e,t,r)=>{"use strict";let{isClean:s,my:i}=r(522);let n=r(258);let o=r(865);let l=r(490);let a,f,h,c;function cleanSource(e){return e.map((e=>{if(e.nodes)e.nodes=cleanSource(e.nodes);delete e.source;return e}))}function markDirtyUp(e){e[s]=false;if(e.proxyOf.nodes){for(let t of e.proxyOf.nodes){markDirtyUp(t)}}}class Container extends l{append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}this.markDirty();return this}cleanRaws(e){super.cleanRaws(e);if(this.nodes){for(let t of this.nodes)t.cleanRaws(e)}}each(e){if(!this.proxyOf.nodes)return undefined;let t=this.getIterator();let r,s;while(this.indexes[t]e[t](...r.map((e=>{if(typeof e==="function"){return(t,r)=>e(t.toProxy(),r)}else{return e}})))}else if(t==="every"||t==="some"){return r=>e[t](((e,...t)=>r(e.toProxy(),...t)))}else if(t==="root"){return()=>e.root().toProxy()}else if(t==="nodes"){return e.nodes.map((e=>e.toProxy()))}else if(t==="first"||t==="last"){return e[t].toProxy()}else{return e[t]}},set(e,t,r){if(e[t]===r)return true;e[t]=r;if(t==="name"||t==="params"||t==="selector"){e.markDirty()}return true}}}index(e){if(typeof e==="number")return e;if(e.proxyOf)e=e.proxyOf;return this.proxyOf.nodes.indexOf(e)}insertAfter(e,t){let r=this.index(e);let s=this.normalize(t,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let e of s)this.proxyOf.nodes.splice(r+1,0,e);let i;for(let e in this.indexes){i=this.indexes[e];if(r{if(!e[i])Container.rebuild(e);e=e.proxyOf;if(e.parent)e.parent.removeChild(e);if(e[s])markDirtyUp(e);if(typeof e.raws.before==="undefined"){if(t&&typeof t.raws.before!=="undefined"){e.raws.before=t.raws.before.replace(/\S/g,"")}}e.parent=this.proxyOf;return e}));return r}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes){this.indexes[t]=this.indexes[t]+e.length}}this.markDirty();return this}push(e){e.parent=this;this.proxyOf.nodes.push(e);return this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=undefined;this.proxyOf.nodes=[];this.markDirty();return this}removeChild(e){e=this.index(e);this.proxyOf.nodes[e].parent=undefined;this.proxyOf.nodes.splice(e,1);let t;for(let r in this.indexes){t=this.indexes[r];if(t>=e){this.indexes[r]=t-1}}this.markDirty();return this}replaceValues(e,t,r){if(!r){r=t;t={}}this.walkDecls((s=>{if(t.props&&!t.props.includes(s.prop))return;if(t.fast&&!s.value.includes(t.fast))return;s.value=s.value.replace(e,r)}));this.markDirty();return this}some(e){return this.nodes.some(e)}walk(e){return this.each(((t,r)=>{let s;try{s=e(t,r)}catch(e){throw t.addToError(e)}if(s!==false&&t.walk){s=t.walk(e)}return s}))}walkAtRules(e,t){if(!t){t=e;return this.walk(((e,r)=>{if(e.type==="atrule"){return t(e,r)}}))}if(e instanceof RegExp){return this.walk(((r,s)=>{if(r.type==="atrule"&&e.test(r.name)){return t(r,s)}}))}return this.walk(((r,s)=>{if(r.type==="atrule"&&r.name===e){return t(r,s)}}))}walkComments(e){return this.walk(((t,r)=>{if(t.type==="comment"){return e(t,r)}}))}walkDecls(e,t){if(!t){t=e;return this.walk(((e,r)=>{if(e.type==="decl"){return t(e,r)}}))}if(e instanceof RegExp){return this.walk(((r,s)=>{if(r.type==="decl"&&e.test(r.prop)){return t(r,s)}}))}return this.walk(((r,s)=>{if(r.type==="decl"&&r.prop===e){return t(r,s)}}))}walkRules(e,t){if(!t){t=e;return this.walk(((e,r)=>{if(e.type==="rule"){return t(e,r)}}))}if(e instanceof RegExp){return this.walk(((r,s)=>{if(r.type==="rule"&&e.test(r.selector)){return t(r,s)}}))}return this.walk(((r,s)=>{if(r.type==="rule"&&r.selector===e){return t(r,s)}}))}get first(){if(!this.proxyOf.nodes)return undefined;return this.proxyOf.nodes[0]}get last(){if(!this.proxyOf.nodes)return undefined;return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}Container.registerParse=e=>{a=e};Container.registerRule=e=>{f=e};Container.registerAtRule=e=>{h=e};Container.registerRoot=e=>{c=e};e.exports=Container;Container.default=Container;Container.rebuild=e=>{if(e.type==="atrule"){Object.setPrototypeOf(e,h.prototype)}else if(e.type==="rule"){Object.setPrototypeOf(e,f.prototype)}else if(e.type==="decl"){Object.setPrototypeOf(e,n.prototype)}else if(e.type==="comment"){Object.setPrototypeOf(e,o.prototype)}else if(e.type==="root"){Object.setPrototypeOf(e,c.prototype)}e[i]=true;if(e.nodes){e.nodes.forEach((e=>{Container.rebuild(e)}))}}},430:(e,t,r)=>{"use strict";let s=r(306);let i=r(364);class CssSyntaxError extends Error{constructor(e,t,r,s,i,n){super(e);this.name="CssSyntaxError";this.reason=e;if(i){this.file=i}if(s){this.source=s}if(n){this.plugin=n}if(typeof t!=="undefined"&&typeof r!=="undefined"){if(typeof t==="number"){this.line=t;this.column=r}else{this.line=t.line;this.column=t.column;this.endLine=r.line;this.endColumn=r.column}}this.setMessage();if(Error.captureStackTrace){Error.captureStackTrace(this,CssSyntaxError)}}setMessage(){this.message=this.plugin?this.plugin+": ":"";this.message+=this.file?this.file:"";if(typeof this.line!=="undefined"){this.message+=":"+this.line+":"+this.column}this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;if(e==null)e=s.isColorSupported;if(i){if(e)t=i(t)}let r=t.split(/\r?\n/);let n=Math.max(this.line-3,0);let o=Math.min(this.line+2,r.length);let l=String(o).length;let a,f;if(e){let{bold:e,gray:t,red:r}=s.createColors(true);a=t=>e(r(t));f=e=>t(e)}else{a=f=e=>e}return r.slice(n,o).map(((e,t)=>{let r=n+1+t;let s=" "+(" "+r).slice(-l)+" | ";if(r===this.line){let t=f(s.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return a(">")+f(s)+e+"\n "+t+a("^")}return" "+f(s)+e})).join("\n")}toString(){let e=this.showSourceCode();if(e){e="\n\n"+e+"\n"}return this.name+": "+this.message+e}}e.exports=CssSyntaxError;CssSyntaxError.default=CssSyntaxError},258:(e,t,r)=>{"use strict";let s=r(490);class Declaration extends s{constructor(e){if(e&&typeof e.value!=="undefined"&&typeof e.value!=="string"){e={...e,value:String(e.value)}}super(e);this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}}e.exports=Declaration;Declaration.default=Declaration},726:e=>{"use strict";let t={comma(e){return t.split(e,[","],true)},space(e){let r=[" ","\n","\t"];return t.split(e,r)},split(e,t,r){let s=[];let i="";let n=false;let o=0;let l=false;let a="";let f=false;for(let r of e){if(f){f=false}else if(r==="\\"){f=true}else if(l){if(r===a){l=false}}else if(r==='"'||r==="'"){l=true;a=r}else if(r==="("){o+=1}else if(r===")"){if(o>0)o-=1}else if(o===0){if(t.includes(r))n=true}if(n){if(i!=="")s.push(i.trim());i="";n=false}else{i+=r}}if(r||i!=="")s.push(i.trim());return s}};e.exports=t;t.default=t},490:(e,t,r)=>{"use strict";let{isClean:s,my:i}=r(522);let n=r(430);let o=r(943);let l=r(34);function cloneNode(e,t){let r=new e.constructor;for(let s in e){if(!Object.prototype.hasOwnProperty.call(e,s)){continue}if(s==="proxyCache")continue;let i=e[s];let n=typeof i;if(s==="parent"&&n==="object"){if(t)r[s]=t}else if(s==="source"){r[s]=i}else if(Array.isArray(i)){r[s]=i.map((e=>cloneNode(e,r)))}else{if(n==="object"&&i!==null)i=cloneNode(i);r[s]=i}}return r}class Node{constructor(e={}){this.raws={};this[s]=false;this[i]=true;for(let t in e){if(t==="nodes"){this.nodes=[];for(let r of e[t]){if(typeof r.clone==="function"){this.append(r.clone())}else{this.append(r)}}}else{this[t]=e[t]}}}addToError(e){e.postcssNode=this;if(e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){this.parent.insertAfter(this,e);return this}assign(e={}){for(let t in e){this[t]=e[t]}return this}before(e){this.parent.insertBefore(this,e);return this}cleanRaws(e){delete this.raws.before;delete this.raws.after;if(!e)delete this.raws.between}clone(e={}){let t=cloneNode(this);for(let r in e){t[r]=e[r]}return t}cloneAfter(e={}){let t=this.clone(e);this.parent.insertAfter(this,t);return t}cloneBefore(e={}){let t=this.clone(e);this.parent.insertBefore(this,t);return t}error(e,t={}){if(this.source){let{end:r,start:s}=this.rangeBy(t);return this.source.input.error(e,{column:s.column,line:s.line},{column:r.column,line:r.line},t)}return new n(e)}getProxyProcessor(){return{get(e,t){if(t==="proxyOf"){return e}else if(t==="root"){return()=>e.root().toProxy()}else{return e[t]}},set(e,t,r){if(e[t]===r)return true;e[t]=r;if(t==="prop"||t==="value"||t==="name"||t==="params"||t==="important"||t==="text"){e.markDirty()}return true}}}markDirty(){if(this[s]){this[s]=false;let e=this;while(e=e.parent){e[s]=false}}}next(){if(!this.parent)return undefined;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e,t){let r=this.source.start;if(e.index){r=this.positionInside(e.index,t)}else if(e.word){t=this.toString();let s=t.indexOf(e.word);if(s!==-1)r=this.positionInside(s,t)}return r}positionInside(e,t){let r=t||this.toString();let s=this.source.start.column;let i=this.source.start.line;for(let t=0;t{if(typeof e==="object"&&e.toJSON){return e.toJSON(null,t)}else{return e}}))}else if(typeof s==="object"&&s.toJSON){r[e]=s.toJSON(null,t)}else if(e==="source"){let n=t.get(s.input);if(n==null){n=i;t.set(s.input,i);i++}r[e]={end:s.end,inputId:n,start:s.start}}else{r[e]=s}}if(s){r.inputs=[...t.keys()].map((e=>e.toJSON()))}return r}toProxy(){if(!this.proxyCache){this.proxyCache=new Proxy(this,this.getProxyProcessor())}return this.proxyCache}toString(e=l){if(e.stringify)e=e.stringify;let t="";e(this,(e=>{t+=e}));return t}warn(e,t,r){let s={node:this};for(let e in r)s[e]=r[e];return e.warn(t,s)}get proxyOf(){return this}}e.exports=Node;Node.default=Node},38:(e,t,r)=>{"use strict";let s=r(258);let i=r(970);let n=r(865);let o=r(60);let l=r(991);let a=r(202);const f={empty:true,space:true};function findLastWithPosition(e){for(let t=e.length-1;t>=0;t--){let r=e[t];let s=r[3]||r[2];if(s)return s}}class Parser{constructor(e){this.input=e;this.root=new l;this.current=this.root;this.spaces="";this.semicolon=false;this.customProperty=false;this.createTokenizer();this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t=new o;t.name=e[1].slice(1);if(t.name===""){this.unnamedAtrule(t,e)}this.init(t,e[2]);let r;let s;let i;let n=false;let l=false;let a=[];let f=[];while(!this.tokenizer.endOfFile()){e=this.tokenizer.nextToken();r=e[0];if(r==="("||r==="["){f.push(r==="("?")":"]")}else if(r==="{"&&f.length>0){f.push("}")}else if(r===f[f.length-1]){f.pop()}if(f.length===0){if(r===";"){t.source.end=this.getPosition(e[2]);t.source.end.offset++;this.semicolon=true;break}else if(r==="{"){l=true;break}else if(r==="}"){if(a.length>0){i=a.length-1;s=a[i];while(s&&s[0]==="space"){s=a[--i]}if(s){t.source.end=this.getPosition(s[3]||s[2]);t.source.end.offset++}}this.end(e);break}else{a.push(e)}}else{a.push(e)}if(this.tokenizer.endOfFile()){n=true;break}}t.raws.between=this.spacesAndCommentsFromEnd(a);if(a.length){t.raws.afterName=this.spacesAndCommentsFromStart(a);this.raw(t,"params",a);if(n){e=a[a.length-1];t.source.end=this.getPosition(e[3]||e[2]);t.source.end.offset++;this.spaces=t.raws.between;t.raws.between=""}}else{t.raws.afterName="";t.params=""}if(l){t.nodes=[];this.current=t}}checkMissedSemicolon(e){let t=this.colon(e);if(t===false)return;let r=0;let s;for(let i=t-1;i>=0;i--){s=e[i];if(s[0]!=="space"){r+=1;if(r===2)break}}throw this.input.error("Missed semicolon",s[0]==="word"?s[3]+1:s[2])}colon(e){let t=0;let r,s,i;for(let[n,o]of e.entries()){r=o;s=r[0];if(s==="("){t+=1}if(s===")"){t-=1}if(t===0&&s===":"){if(!i){this.doubleColon(r)}else if(i[0]==="word"&&i[1]==="progid"){continue}else{return n}}i=r}return false}comment(e){let t=new n;this.init(t,e[2]);t.source.end=this.getPosition(e[3]||e[2]);t.source.end.offset++;let r=e[1].slice(2,-2);if(/^\s*$/.test(r)){t.text="";t.raws.left=r;t.raws.right=""}else{let e=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2];t.raws.left=e[1];t.raws.right=e[3]}}createTokenizer(){this.tokenizer=i(this.input)}decl(e,t){let r=new s;this.init(r,e[0][2]);let i=e[e.length-1];if(i[0]===";"){this.semicolon=true;e.pop()}r.source.end=this.getPosition(i[3]||i[2]||findLastWithPosition(e));r.source.end.offset++;while(e[0][0]!=="word"){if(e.length===1)this.unknownWord(e);r.raws.before+=e.shift()[1]}r.source.start=this.getPosition(e[0][2]);r.prop="";while(e.length){let t=e[0][0];if(t===":"||t==="space"||t==="comment"){break}r.prop+=e.shift()[1]}r.raws.between="";let n;while(e.length){n=e.shift();if(n[0]===":"){r.raws.between+=n[1];break}else{if(n[0]==="word"&&/\w/.test(n[1])){this.unknownWord([n])}r.raws.between+=n[1]}}if(r.prop[0]==="_"||r.prop[0]==="*"){r.raws.before+=r.prop[0];r.prop=r.prop.slice(1)}let o=[];let l;while(e.length){l=e[0][0];if(l!=="space"&&l!=="comment")break;o.push(e.shift())}this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){n=e[t];if(n[1].toLowerCase()==="!important"){r.important=true;let s=this.stringFrom(e,t);s=this.spacesFromEnd(e)+s;if(s!==" !important")r.raws.important=s;break}else if(n[1].toLowerCase()==="important"){let s=e.slice(0);let i="";for(let e=t;e>0;e--){let t=s[e][0];if(i.trim().indexOf("!")===0&&t!=="space"){break}i=s.pop()[1]+i}if(i.trim().indexOf("!")===0){r.important=true;r.raws.important=i;e=s}}if(n[0]!=="space"&&n[0]!=="comment"){break}}let a=e.some((e=>e[0]!=="space"&&e[0]!=="comment"));if(a){r.raws.between+=o.map((e=>e[1])).join("");o=[]}this.raw(r,"value",o.concat(e),t);if(r.value.includes(":")&&!t){this.checkMissedSemicolon(e)}}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new a;this.init(t,e[2]);t.selector="";t.raws.between="";this.current=t}end(e){if(this.current.nodes&&this.current.nodes.length){this.current.raws.semicolon=this.semicolon}this.semicolon=false;this.current.raws.after=(this.current.raws.after||"")+this.spaces;this.spaces="";if(this.current.parent){this.current.source.end=this.getPosition(e[2]);this.current.source.end.offset++;this.current=this.current.parent}else{this.unexpectedClose(e)}}endFile(){if(this.current.parent)this.unclosedBlock();if(this.current.nodes&&this.current.nodes.length){this.current.raws.semicolon=this.semicolon}this.current.raws.after=(this.current.raws.after||"")+this.spaces;this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){this.spaces+=e[1];if(this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];if(e&&e.type==="rule"&&!e.raws.ownSemicolon){e.raws.ownSemicolon=this.spaces;this.spaces=""}}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e);e.source={input:this.input,start:this.getPosition(t)};e.raws.before=this.spaces;this.spaces="";if(e.type!=="comment")this.semicolon=false}other(e){let t=false;let r=null;let s=false;let i=null;let n=[];let o=e[1].startsWith("--");let l=[];let a=e;while(a){r=a[0];l.push(a);if(r==="("||r==="["){if(!i)i=a;n.push(r==="("?")":"]")}else if(o&&s&&r==="{"){if(!i)i=a;n.push("}")}else if(n.length===0){if(r===";"){if(s){this.decl(l,o);return}else{break}}else if(r==="{"){this.rule(l);return}else if(r==="}"){this.tokenizer.back(l.pop());t=true;break}else if(r===":"){s=true}}else if(r===n[n.length-1]){n.pop();if(n.length===0)i=null}a=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile())t=true;if(n.length>0)this.unclosedBracket(i);if(t&&s){if(!o){while(l.length){a=l[l.length-1][0];if(a!=="space"&&a!=="comment")break;this.tokenizer.back(l.pop())}}this.decl(l,o)}else{this.unknownWord(l)}}parse(){let e;while(!this.tokenizer.endOfFile()){e=this.tokenizer.nextToken();switch(e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}}this.endFile()}precheckMissedSemicolon(){}raw(e,t,r,s){let i,n;let o=r.length;let l="";let a=true;let h,c;for(let e=0;ee+t[1]),"");e.raws[t]={raw:s,value:l}}e[t]=l}rule(e){e.pop();let t=new a;this.init(t,e[0][2]);t.raws.between=this.spacesAndCommentsFromEnd(e);this.raw(t,"selector",e);this.current=t}spacesAndCommentsFromEnd(e){let t;let r="";while(e.length){t=e[e.length-1][0];if(t!=="space"&&t!=="comment")break;r=e.pop()[1]+r}return r}spacesAndCommentsFromStart(e){let t;let r="";while(e.length){t=e[0][0];if(t!=="space"&&t!=="comment")break;r+=e.shift()[1]}return r}spacesFromEnd(e){let t;let r="";while(e.length){t=e[e.length-1][0];if(t!=="space")break;r=e.pop()[1]+r}return r}stringFrom(e,t){let r="";for(let s=t;s{"use strict";let s=r(911);let i,n;class Root extends s{constructor(e){super(e);this.type="root";if(!this.nodes)this.nodes=[]}normalize(e,t,r){let s=super.normalize(e);if(t){if(r==="prepend"){if(this.nodes.length>1){t.raws.before=this.nodes[1].raws.before}else{delete t.raws.before}}else if(this.first!==t){for(let e of s){e.raws.before=t.raws.before}}}return s}removeChild(e,t){let r=this.index(e);if(!t&&r===0&&this.nodes.length>1){this.nodes[1].raws.before=this.nodes[r].raws.before}return super.removeChild(e)}toResult(e={}){let t=new i(new n,this,e);return t.stringify()}}Root.registerLazyResult=e=>{i=e};Root.registerProcessor=e=>{n=e};e.exports=Root;Root.default=Root;s.registerRoot(Root)},202:(e,t,r)=>{"use strict";let s=r(911);let i=r(726);class Rule extends s{constructor(e){super(e);this.type="rule";if(!this.nodes)this.nodes=[]}get selectors(){return i.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null;let r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}}e.exports=Rule;Rule.default=Rule;s.registerRule(Rule)},943:e=>{"use strict";const t={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:false};function capitalize(e){return e[0].toUpperCase()+e.slice(1)}class Stringifier{constructor(e){this.builder=e}atrule(e,t){let r="@"+e.name;let s=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName!=="undefined"){r+=e.raws.afterName}else if(s){r+=" "}if(e.nodes){this.block(e,r+s)}else{let i=(e.raws.between||"")+(t?";":"");this.builder(r+s+i,e)}}beforeAfter(e,t){let r;if(e.type==="decl"){r=this.raw(e,null,"beforeDecl")}else if(e.type==="comment"){r=this.raw(e,null,"beforeComment")}else if(t==="before"){r=this.raw(e,null,"beforeRule")}else{r=this.raw(e,null,"beforeClose")}let s=e.parent;let i=0;while(s&&s.type!=="root"){i+=1;s=s.parent}if(r.includes("\n")){let t=this.raw(e,null,"indent");if(t.length){for(let e=0;e0){if(e.nodes[t].type!=="comment")break;t-=1}let r=this.raw(e,"semicolon");for(let s=0;s{i=e.raws[r];if(typeof i!=="undefined")return false}))}}if(typeof i==="undefined")i=t[s];o.rawCache[s]=i;return i}rawBeforeClose(e){let t;e.walk((e=>{if(e.nodes&&e.nodes.length>0){if(typeof e.raws.after!=="undefined"){t=e.raws.after;if(t.includes("\n")){t=t.replace(/[^\n]+$/,"")}return false}}}));if(t)t=t.replace(/\S/g,"");return t}rawBeforeComment(e,t){let r;e.walkComments((e=>{if(typeof e.raws.before!=="undefined"){r=e.raws.before;if(r.includes("\n")){r=r.replace(/[^\n]+$/,"")}return false}}));if(typeof r==="undefined"){r=this.raw(t,null,"beforeDecl")}else if(r){r=r.replace(/\S/g,"")}return r}rawBeforeDecl(e,t){let r;e.walkDecls((e=>{if(typeof e.raws.before!=="undefined"){r=e.raws.before;if(r.includes("\n")){r=r.replace(/[^\n]+$/,"")}return false}}));if(typeof r==="undefined"){r=this.raw(t,null,"beforeRule")}else if(r){r=r.replace(/\S/g,"")}return r}rawBeforeOpen(e){let t;e.walk((e=>{if(e.type!=="decl"){t=e.raws.between;if(typeof t!=="undefined")return false}}));return t}rawBeforeRule(e){let t;e.walk((r=>{if(r.nodes&&(r.parent!==e||e.first!==r)){if(typeof r.raws.before!=="undefined"){t=r.raws.before;if(t.includes("\n")){t=t.replace(/[^\n]+$/,"")}return false}}}));if(t)t=t.replace(/\S/g,"");return t}rawColon(e){let t;e.walkDecls((e=>{if(typeof e.raws.between!=="undefined"){t=e.raws.between.replace(/[^\s:]/g,"");return false}}));return t}rawEmptyBody(e){let t;e.walk((e=>{if(e.nodes&&e.nodes.length===0){t=e.raws.after;if(typeof t!=="undefined")return false}}));return t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;e.walk((r=>{let s=r.parent;if(s&&s!==e&&s.parent&&s.parent===e){if(typeof r.raws.before!=="undefined"){let e=r.raws.before.split("\n");t=e[e.length-1];t=t.replace(/\S/g,"");return false}}}));return t}rawSemicolon(e){let t;e.walk((e=>{if(e.nodes&&e.nodes.length&&e.last.type==="decl"){t=e.raws.semicolon;if(typeof t!=="undefined")return false}}));return t}rawValue(e,t){let r=e[t];let s=e.raws[t];if(s&&s.value===r){return s.raw}return r}root(e){this.body(e);if(e.raws.after)this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector"));if(e.raws.ownSemicolon){this.builder(e.raws.ownSemicolon,e,"end")}}stringify(e,t){if(!this[e.type]){throw new Error("Unknown AST node type "+e.type+". "+"Maybe you need to change PostCSS stringifier.")}this[e.type](e,t)}}e.exports=Stringifier;Stringifier.default=Stringifier},34:(e,t,r)=>{"use strict";let s=r(943);function stringify(e,t){let r=new s(t);r.stringify(e)}e.exports=stringify;stringify.default=stringify},522:e=>{"use strict";e.exports.isClean=Symbol("isClean");e.exports.my=Symbol("my")},364:(e,t,r)=>{"use strict";let s=r(306);let i=r(970);let n;function registerInput(e){n=e}const o={";":s.yellow,":":s.yellow,"(":s.cyan,")":s.cyan,"[":s.yellow,"]":s.yellow,"{":s.yellow,"}":s.yellow,"at-word":s.cyan,brackets:s.cyan,call:s.cyan,class:s.yellow,comment:s.gray,hash:s.magenta,string:s.green};function getTokenType([e,t],r){if(e==="word"){if(t[0]==="."){return"class"}if(t[0]==="#"){return"hash"}}if(!r.endOfFile()){let e=r.nextToken();r.back(e);if(e[0]==="brackets"||e[0]==="(")return"call"}return e}function terminalHighlight(e){let t=i(new n(e),{ignoreErrors:true});let r="";while(!t.endOfFile()){let e=t.nextToken();let s=o[getTokenType(e,t)];if(s){r+=e[1].split(/\r?\n/).map((e=>s(e))).join("\n")}else{r+=e[1]}}return r}terminalHighlight.registerInput=registerInput;e.exports=terminalHighlight},970:e=>{"use strict";const t="'".charCodeAt(0);const r='"'.charCodeAt(0);const s="\\".charCodeAt(0);const i="/".charCodeAt(0);const n="\n".charCodeAt(0);const o=" ".charCodeAt(0);const l="\f".charCodeAt(0);const a="\t".charCodeAt(0);const f="\r".charCodeAt(0);const h="[".charCodeAt(0);const c="]".charCodeAt(0);const u="(".charCodeAt(0);const p=")".charCodeAt(0);const d="{".charCodeAt(0);const m="}".charCodeAt(0);const w=";".charCodeAt(0);const g="*".charCodeAt(0);const y=":".charCodeAt(0);const b="@".charCodeAt(0);const x=/[\t\n\f\r "#'()/;[\\\]{}]/g;const k=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g;const C=/.[\r\n"'(/\\]/;const S=/[\da-f]/i;e.exports=function tokenizer(e,O={}){let A=e.css.valueOf();let v=O.ignoreErrors;let R,P,E,_,z;let D,I,B,F,T;let N=A.length;let j=0;let M=[];let $=[];function position(){return j}function unclosed(t){throw e.error("Unclosed "+t,j)}function endOfFile(){return $.length===0&&j>=N}function nextToken(e){if($.length)return $.pop();if(j>=N)return;let O=e?e.ignoreUnclosed:false;R=A.charCodeAt(j);switch(R){case n:case o:case a:case f:case l:{P=j;do{P+=1;R=A.charCodeAt(P)}while(R===o||R===n||R===a||R===f||R===l);T=["space",A.slice(j,P)];j=P-1;break}case h:case c:case d:case m:case y:case w:case p:{let e=String.fromCharCode(R);T=[e,e,j];break}case u:{B=M.length?M.pop()[1]:"";F=A.charCodeAt(j+1);if(B==="url"&&F!==t&&F!==r&&F!==o&&F!==n&&F!==a&&F!==l&&F!==f){P=j;do{D=false;P=A.indexOf(")",P+1);if(P===-1){if(v||O){P=j;break}else{unclosed("bracket")}}I=P;while(A.charCodeAt(I-1)===s){I-=1;D=!D}}while(D);T=["brackets",A.slice(j,P+1),j,P];j=P}else{P=A.indexOf(")",j+1);_=A.slice(j,P+1);if(P===-1||C.test(_)){T=["(","(",j]}else{T=["brackets",_,j,P];j=P}}break}case t:case r:{E=R===t?"'":'"';P=j;do{D=false;P=A.indexOf(E,P+1);if(P===-1){if(v||O){P=j+1;break}else{unclosed("string")}}I=P;while(A.charCodeAt(I-1)===s){I-=1;D=!D}}while(D);T=["string",A.slice(j,P+1),j,P];j=P;break}case b:{x.lastIndex=j+1;x.test(A);if(x.lastIndex===0){P=A.length-1}else{P=x.lastIndex-2}T=["at-word",A.slice(j,P+1),j,P];j=P;break}case s:{P=j;z=true;while(A.charCodeAt(P+1)===s){P+=1;z=!z}R=A.charCodeAt(P+1);if(z&&R!==i&&R!==o&&R!==n&&R!==a&&R!==f&&R!==l){P+=1;if(S.test(A.charAt(P))){while(S.test(A.charAt(P+1))){P+=1}if(A.charCodeAt(P+1)===o){P+=1}}}T=["word",A.slice(j,P+1),j,P];j=P;break}default:{if(R===i&&A.charCodeAt(j+1)===g){P=A.indexOf("*/",j+2)+1;if(P===0){if(v||O){P=A.length}else{unclosed("comment")}}T=["comment",A.slice(j,P+1),j,P];j=P}else{k.lastIndex=j+1;k.test(A);if(k.lastIndex===0){P=A.length-1}else{P=k.lastIndex-2}T=["word",A.slice(j,P+1),j,P];M.push(T);j=P}break}}j++;return T}function back(e){$.push(e)}return{back:back,endOfFile:endOfFile,nextToken:nextToken,position:position}}},977:e=>{"use strict";e.exports=require("postcss")},224:e=>{"use strict";e.exports=require("tty")}};var t={};function __nccwpck_require__(r){var s=t[r];if(s!==undefined){return s.exports}var i=t[r]={exports:{}};var n=true;try{e[r](i,i.exports,__nccwpck_require__);n=false}finally{if(n)delete t[r]}return i.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(534);module.exports=r})(); \ No newline at end of file +(()=>{var e={448:(e,t,r)=>{let s=process.argv||[],i=process.env;let n=!("NO_COLOR"in i||s.includes("--no-color"))&&("FORCE_COLOR"in i||s.includes("--color")||process.platform==="win32"||require!=null&&r(224).isatty(1)&&i.TERM!=="dumb"||"CI"in i);let formatter=(e,t,r=e)=>s=>{let i=""+s;let n=i.indexOf(t,e.length);return~n?e+replaceClose(i,t,r,n)+t:e+i+t};let replaceClose=(e,t,r,s)=>{let i="";let n=0;do{i+=e.substring(n,s)+r;n=s+t.length;s=e.indexOf(t,n)}while(~s);return i+e.substring(n)};let createColors=(e=n)=>{let t=e?formatter:()=>String;return{isColorSupported:e,reset:t("",""),bold:t("","",""),dim:t("","",""),italic:t("",""),underline:t("",""),inverse:t("",""),hidden:t("",""),strikethrough:t("",""),black:t("",""),red:t("",""),green:t("",""),yellow:t("",""),blue:t("",""),magenta:t("",""),cyan:t("",""),white:t("",""),gray:t("",""),bgBlack:t("",""),bgRed:t("",""),bgGreen:t("",""),bgYellow:t("",""),bgBlue:t("",""),bgMagenta:t("",""),bgCyan:t("",""),bgWhite:t("",""),blackBright:t("",""),redBright:t("",""),greenBright:t("",""),yellowBright:t("",""),blueBright:t("",""),magentaBright:t("",""),cyanBright:t("",""),whiteBright:t("",""),bgBlackBright:t("",""),bgRedBright:t("",""),bgGreenBright:t("",""),bgYellowBright:t("",""),bgBlueBright:t("",""),bgMagentaBright:t("",""),bgCyanBright:t("",""),bgWhiteBright:t("","")}};e.exports=createColors();e.exports.createColors=createColors},534:(e,t,r)=>{let{Input:s}=r(977);let i=r(702);e.exports=function safeParse(e,t){let r=new s(e,t);let n=new i(r);n.parse();return n.root}},702:(e,t,r)=>{let s=r(970);let i=r(865);let n=r(38);class SafeParser extends n{createTokenizer(){this.tokenizer=s(this.input,{ignoreErrors:true})}comment(e){let t=new i;this.init(t,e[2]);let r=this.input.fromOffset(e[3])||this.input.fromOffset(this.input.css.length-1);t.source.end={offset:e[3],line:r.line,column:r.col};let s=e[1].slice(2);if(s.slice(-2)==="*/")s=s.slice(0,-2);if(/^\s*$/.test(s)){t.text="";t.raws.left=s;t.raws.right=""}else{let e=s.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2];t.raws.left=e[1];t.raws.right=e[3]}}decl(e){if(e.length>1&&e.some((e=>e[0]==="word"))){super.decl(e)}}unclosedBracket(){}unknownWord(e){this.spaces+=e.map((e=>e[1])).join("")}unexpectedClose(){this.current.raws.after+="}"}doubleColon(){}unnamedAtrule(e){e.name=""}precheckMissedSemicolon(e){let t=this.colon(e);if(t===false)return;let r,s;for(r=t-1;r>=0;r--){if(e[r][0]==="word")break}if(r===0)return;for(s=r-1;s>=0;s--){if(e[s][0]!=="space"){s+=1;break}}let i=e.slice(r);let n=e.slice(s,r);e.splice(s,e.length-s);this.spaces=n.map((e=>e[1])).join("");this.decl(i)}checkMissedSemicolon(){}endFile(){if(this.current.nodes&&this.current.nodes.length){this.current.raws.semicolon=this.semicolon}this.current.raws.after=(this.current.raws.after||"")+this.spaces;while(this.current.parent){this.current=this.current.parent;this.current.raws.after=""}}}e.exports=SafeParser},60:(e,t,r)=>{"use strict";let s=r(911);class AtRule extends s{constructor(e){super(e);this.type="atrule"}append(...e){if(!this.proxyOf.nodes)this.nodes=[];return super.append(...e)}prepend(...e){if(!this.proxyOf.nodes)this.nodes=[];return super.prepend(...e)}}e.exports=AtRule;AtRule.default=AtRule;s.registerAtRule(AtRule)},865:(e,t,r)=>{"use strict";let s=r(490);class Comment extends s{constructor(e){super(e);this.type="comment"}}e.exports=Comment;Comment.default=Comment},911:(e,t,r)=>{"use strict";let{isClean:s,my:i}=r(522);let n=r(258);let o=r(865);let l=r(490);let a,f,h,u;function cleanSource(e){return e.map((e=>{if(e.nodes)e.nodes=cleanSource(e.nodes);delete e.source;return e}))}function markDirtyUp(e){e[s]=false;if(e.proxyOf.nodes){for(let t of e.proxyOf.nodes){markDirtyUp(t)}}}class Container extends l{append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}this.markDirty();return this}cleanRaws(e){super.cleanRaws(e);if(this.nodes){for(let t of this.nodes)t.cleanRaws(e)}}each(e){if(!this.proxyOf.nodes)return undefined;let t=this.getIterator();let r,s;while(this.indexes[t]e[t](...r.map((e=>{if(typeof e==="function"){return(t,r)=>e(t.toProxy(),r)}else{return e}})))}else if(t==="every"||t==="some"){return r=>e[t](((e,...t)=>r(e.toProxy(),...t)))}else if(t==="root"){return()=>e.root().toProxy()}else if(t==="nodes"){return e.nodes.map((e=>e.toProxy()))}else if(t==="first"||t==="last"){return e[t].toProxy()}else{return e[t]}},set(e,t,r){if(e[t]===r)return true;e[t]=r;if(t==="name"||t==="params"||t==="selector"){e.markDirty()}return true}}}index(e){if(typeof e==="number")return e;if(e.proxyOf)e=e.proxyOf;return this.proxyOf.nodes.indexOf(e)}insertAfter(e,t){let r=this.index(e);let s=this.normalize(t,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let e of s)this.proxyOf.nodes.splice(r+1,0,e);let i;for(let e in this.indexes){i=this.indexes[e];if(r{if(!e[i])Container.rebuild(e);e=e.proxyOf;if(e.parent)e.parent.removeChild(e);if(e[s])markDirtyUp(e);if(typeof e.raws.before==="undefined"){if(t&&typeof t.raws.before!=="undefined"){e.raws.before=t.raws.before.replace(/\S/g,"")}}e.parent=this.proxyOf;return e}));return r}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes){this.indexes[t]=this.indexes[t]+e.length}}this.markDirty();return this}push(e){e.parent=this;this.proxyOf.nodes.push(e);return this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=undefined;this.proxyOf.nodes=[];this.markDirty();return this}removeChild(e){e=this.index(e);this.proxyOf.nodes[e].parent=undefined;this.proxyOf.nodes.splice(e,1);let t;for(let r in this.indexes){t=this.indexes[r];if(t>=e){this.indexes[r]=t-1}}this.markDirty();return this}replaceValues(e,t,r){if(!r){r=t;t={}}this.walkDecls((s=>{if(t.props&&!t.props.includes(s.prop))return;if(t.fast&&!s.value.includes(t.fast))return;s.value=s.value.replace(e,r)}));this.markDirty();return this}some(e){return this.nodes.some(e)}walk(e){return this.each(((t,r)=>{let s;try{s=e(t,r)}catch(e){throw t.addToError(e)}if(s!==false&&t.walk){s=t.walk(e)}return s}))}walkAtRules(e,t){if(!t){t=e;return this.walk(((e,r)=>{if(e.type==="atrule"){return t(e,r)}}))}if(e instanceof RegExp){return this.walk(((r,s)=>{if(r.type==="atrule"&&e.test(r.name)){return t(r,s)}}))}return this.walk(((r,s)=>{if(r.type==="atrule"&&r.name===e){return t(r,s)}}))}walkComments(e){return this.walk(((t,r)=>{if(t.type==="comment"){return e(t,r)}}))}walkDecls(e,t){if(!t){t=e;return this.walk(((e,r)=>{if(e.type==="decl"){return t(e,r)}}))}if(e instanceof RegExp){return this.walk(((r,s)=>{if(r.type==="decl"&&e.test(r.prop)){return t(r,s)}}))}return this.walk(((r,s)=>{if(r.type==="decl"&&r.prop===e){return t(r,s)}}))}walkRules(e,t){if(!t){t=e;return this.walk(((e,r)=>{if(e.type==="rule"){return t(e,r)}}))}if(e instanceof RegExp){return this.walk(((r,s)=>{if(r.type==="rule"&&e.test(r.selector)){return t(r,s)}}))}return this.walk(((r,s)=>{if(r.type==="rule"&&r.selector===e){return t(r,s)}}))}get first(){if(!this.proxyOf.nodes)return undefined;return this.proxyOf.nodes[0]}get last(){if(!this.proxyOf.nodes)return undefined;return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}Container.registerParse=e=>{a=e};Container.registerRule=e=>{f=e};Container.registerAtRule=e=>{h=e};Container.registerRoot=e=>{u=e};e.exports=Container;Container.default=Container;Container.rebuild=e=>{if(e.type==="atrule"){Object.setPrototypeOf(e,h.prototype)}else if(e.type==="rule"){Object.setPrototypeOf(e,f.prototype)}else if(e.type==="decl"){Object.setPrototypeOf(e,n.prototype)}else if(e.type==="comment"){Object.setPrototypeOf(e,o.prototype)}else if(e.type==="root"){Object.setPrototypeOf(e,u.prototype)}e[i]=true;if(e.nodes){e.nodes.forEach((e=>{Container.rebuild(e)}))}}},430:(e,t,r)=>{"use strict";let s=r(448);let i=r(364);class CssSyntaxError extends Error{constructor(e,t,r,s,i,n){super(e);this.name="CssSyntaxError";this.reason=e;if(i){this.file=i}if(s){this.source=s}if(n){this.plugin=n}if(typeof t!=="undefined"&&typeof r!=="undefined"){if(typeof t==="number"){this.line=t;this.column=r}else{this.line=t.line;this.column=t.column;this.endLine=r.line;this.endColumn=r.column}}this.setMessage();if(Error.captureStackTrace){Error.captureStackTrace(this,CssSyntaxError)}}setMessage(){this.message=this.plugin?this.plugin+": ":"";this.message+=this.file?this.file:"";if(typeof this.line!=="undefined"){this.message+=":"+this.line+":"+this.column}this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;if(e==null)e=s.isColorSupported;if(i){if(e)t=i(t)}let r=t.split(/\r?\n/);let n=Math.max(this.line-3,0);let o=Math.min(this.line+2,r.length);let l=String(o).length;let a,f;if(e){let{bold:e,gray:t,red:r}=s.createColors(true);a=t=>e(r(t));f=e=>t(e)}else{a=f=e=>e}return r.slice(n,o).map(((e,t)=>{let r=n+1+t;let s=" "+(" "+r).slice(-l)+" | ";if(r===this.line){let t=f(s.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return a(">")+f(s)+e+"\n "+t+a("^")}return" "+f(s)+e})).join("\n")}toString(){let e=this.showSourceCode();if(e){e="\n\n"+e+"\n"}return this.name+": "+this.message+e}}e.exports=CssSyntaxError;CssSyntaxError.default=CssSyntaxError},258:(e,t,r)=>{"use strict";let s=r(490);class Declaration extends s{constructor(e){if(e&&typeof e.value!=="undefined"&&typeof e.value!=="string"){e={...e,value:String(e.value)}}super(e);this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}}e.exports=Declaration;Declaration.default=Declaration},726:e=>{"use strict";let t={comma(e){return t.split(e,[","],true)},space(e){let r=[" ","\n","\t"];return t.split(e,r)},split(e,t,r){let s=[];let i="";let n=false;let o=0;let l=false;let a="";let f=false;for(let r of e){if(f){f=false}else if(r==="\\"){f=true}else if(l){if(r===a){l=false}}else if(r==='"'||r==="'"){l=true;a=r}else if(r==="("){o+=1}else if(r===")"){if(o>0)o-=1}else if(o===0){if(t.includes(r))n=true}if(n){if(i!=="")s.push(i.trim());i="";n=false}else{i+=r}}if(r||i!=="")s.push(i.trim());return s}};e.exports=t;t.default=t},490:(e,t,r)=>{"use strict";let{isClean:s,my:i}=r(522);let n=r(430);let o=r(943);let l=r(34);function cloneNode(e,t){let r=new e.constructor;for(let s in e){if(!Object.prototype.hasOwnProperty.call(e,s)){continue}if(s==="proxyCache")continue;let i=e[s];let n=typeof i;if(s==="parent"&&n==="object"){if(t)r[s]=t}else if(s==="source"){r[s]=i}else if(Array.isArray(i)){r[s]=i.map((e=>cloneNode(e,r)))}else{if(n==="object"&&i!==null)i=cloneNode(i);r[s]=i}}return r}class Node{constructor(e={}){this.raws={};this[s]=false;this[i]=true;for(let t in e){if(t==="nodes"){this.nodes=[];for(let r of e[t]){if(typeof r.clone==="function"){this.append(r.clone())}else{this.append(r)}}}else{this[t]=e[t]}}}addToError(e){e.postcssNode=this;if(e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){this.parent.insertAfter(this,e);return this}assign(e={}){for(let t in e){this[t]=e[t]}return this}before(e){this.parent.insertBefore(this,e);return this}cleanRaws(e){delete this.raws.before;delete this.raws.after;if(!e)delete this.raws.between}clone(e={}){let t=cloneNode(this);for(let r in e){t[r]=e[r]}return t}cloneAfter(e={}){let t=this.clone(e);this.parent.insertAfter(this,t);return t}cloneBefore(e={}){let t=this.clone(e);this.parent.insertBefore(this,t);return t}error(e,t={}){if(this.source){let{end:r,start:s}=this.rangeBy(t);return this.source.input.error(e,{column:s.column,line:s.line},{column:r.column,line:r.line},t)}return new n(e)}getProxyProcessor(){return{get(e,t){if(t==="proxyOf"){return e}else if(t==="root"){return()=>e.root().toProxy()}else{return e[t]}},set(e,t,r){if(e[t]===r)return true;e[t]=r;if(t==="prop"||t==="value"||t==="name"||t==="params"||t==="important"||t==="text"){e.markDirty()}return true}}}markDirty(){if(this[s]){this[s]=false;let e=this;while(e=e.parent){e[s]=false}}}next(){if(!this.parent)return undefined;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e,t){let r=this.source.start;if(e.index){r=this.positionInside(e.index,t)}else if(e.word){t=this.toString();let s=t.indexOf(e.word);if(s!==-1)r=this.positionInside(s,t)}return r}positionInside(e,t){let r=t||this.toString();let s=this.source.start.column;let i=this.source.start.line;for(let t=0;t{if(typeof e==="object"&&e.toJSON){return e.toJSON(null,t)}else{return e}}))}else if(typeof s==="object"&&s.toJSON){r[e]=s.toJSON(null,t)}else if(e==="source"){let n=t.get(s.input);if(n==null){n=i;t.set(s.input,i);i++}r[e]={end:s.end,inputId:n,start:s.start}}else{r[e]=s}}if(s){r.inputs=[...t.keys()].map((e=>e.toJSON()))}return r}toProxy(){if(!this.proxyCache){this.proxyCache=new Proxy(this,this.getProxyProcessor())}return this.proxyCache}toString(e=l){if(e.stringify)e=e.stringify;let t="";e(this,(e=>{t+=e}));return t}warn(e,t,r){let s={node:this};for(let e in r)s[e]=r[e];return e.warn(t,s)}get proxyOf(){return this}}e.exports=Node;Node.default=Node},38:(e,t,r)=>{"use strict";let s=r(258);let i=r(970);let n=r(865);let o=r(60);let l=r(991);let a=r(202);const f={empty:true,space:true};function findLastWithPosition(e){for(let t=e.length-1;t>=0;t--){let r=e[t];let s=r[3]||r[2];if(s)return s}}class Parser{constructor(e){this.input=e;this.root=new l;this.current=this.root;this.spaces="";this.semicolon=false;this.customProperty=false;this.createTokenizer();this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t=new o;t.name=e[1].slice(1);if(t.name===""){this.unnamedAtrule(t,e)}this.init(t,e[2]);let r;let s;let i;let n=false;let l=false;let a=[];let f=[];while(!this.tokenizer.endOfFile()){e=this.tokenizer.nextToken();r=e[0];if(r==="("||r==="["){f.push(r==="("?")":"]")}else if(r==="{"&&f.length>0){f.push("}")}else if(r===f[f.length-1]){f.pop()}if(f.length===0){if(r===";"){t.source.end=this.getPosition(e[2]);t.source.end.offset++;this.semicolon=true;break}else if(r==="{"){l=true;break}else if(r==="}"){if(a.length>0){i=a.length-1;s=a[i];while(s&&s[0]==="space"){s=a[--i]}if(s){t.source.end=this.getPosition(s[3]||s[2]);t.source.end.offset++}}this.end(e);break}else{a.push(e)}}else{a.push(e)}if(this.tokenizer.endOfFile()){n=true;break}}t.raws.between=this.spacesAndCommentsFromEnd(a);if(a.length){t.raws.afterName=this.spacesAndCommentsFromStart(a);this.raw(t,"params",a);if(n){e=a[a.length-1];t.source.end=this.getPosition(e[3]||e[2]);t.source.end.offset++;this.spaces=t.raws.between;t.raws.between=""}}else{t.raws.afterName="";t.params=""}if(l){t.nodes=[];this.current=t}}checkMissedSemicolon(e){let t=this.colon(e);if(t===false)return;let r=0;let s;for(let i=t-1;i>=0;i--){s=e[i];if(s[0]!=="space"){r+=1;if(r===2)break}}throw this.input.error("Missed semicolon",s[0]==="word"?s[3]+1:s[2])}colon(e){let t=0;let r,s,i;for(let[n,o]of e.entries()){r=o;s=r[0];if(s==="("){t+=1}if(s===")"){t-=1}if(t===0&&s===":"){if(!i){this.doubleColon(r)}else if(i[0]==="word"&&i[1]==="progid"){continue}else{return n}}i=r}return false}comment(e){let t=new n;this.init(t,e[2]);t.source.end=this.getPosition(e[3]||e[2]);t.source.end.offset++;let r=e[1].slice(2,-2);if(/^\s*$/.test(r)){t.text="";t.raws.left=r;t.raws.right=""}else{let e=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2];t.raws.left=e[1];t.raws.right=e[3]}}createTokenizer(){this.tokenizer=i(this.input)}decl(e,t){let r=new s;this.init(r,e[0][2]);let i=e[e.length-1];if(i[0]===";"){this.semicolon=true;e.pop()}r.source.end=this.getPosition(i[3]||i[2]||findLastWithPosition(e));r.source.end.offset++;while(e[0][0]!=="word"){if(e.length===1)this.unknownWord(e);r.raws.before+=e.shift()[1]}r.source.start=this.getPosition(e[0][2]);r.prop="";while(e.length){let t=e[0][0];if(t===":"||t==="space"||t==="comment"){break}r.prop+=e.shift()[1]}r.raws.between="";let n;while(e.length){n=e.shift();if(n[0]===":"){r.raws.between+=n[1];break}else{if(n[0]==="word"&&/\w/.test(n[1])){this.unknownWord([n])}r.raws.between+=n[1]}}if(r.prop[0]==="_"||r.prop[0]==="*"){r.raws.before+=r.prop[0];r.prop=r.prop.slice(1)}let o=[];let l;while(e.length){l=e[0][0];if(l!=="space"&&l!=="comment")break;o.push(e.shift())}this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){n=e[t];if(n[1].toLowerCase()==="!important"){r.important=true;let s=this.stringFrom(e,t);s=this.spacesFromEnd(e)+s;if(s!==" !important")r.raws.important=s;break}else if(n[1].toLowerCase()==="important"){let s=e.slice(0);let i="";for(let e=t;e>0;e--){let t=s[e][0];if(i.trim().indexOf("!")===0&&t!=="space"){break}i=s.pop()[1]+i}if(i.trim().indexOf("!")===0){r.important=true;r.raws.important=i;e=s}}if(n[0]!=="space"&&n[0]!=="comment"){break}}let a=e.some((e=>e[0]!=="space"&&e[0]!=="comment"));if(a){r.raws.between+=o.map((e=>e[1])).join("");o=[]}this.raw(r,"value",o.concat(e),t);if(r.value.includes(":")&&!t){this.checkMissedSemicolon(e)}}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new a;this.init(t,e[2]);t.selector="";t.raws.between="";this.current=t}end(e){if(this.current.nodes&&this.current.nodes.length){this.current.raws.semicolon=this.semicolon}this.semicolon=false;this.current.raws.after=(this.current.raws.after||"")+this.spaces;this.spaces="";if(this.current.parent){this.current.source.end=this.getPosition(e[2]);this.current.source.end.offset++;this.current=this.current.parent}else{this.unexpectedClose(e)}}endFile(){if(this.current.parent)this.unclosedBlock();if(this.current.nodes&&this.current.nodes.length){this.current.raws.semicolon=this.semicolon}this.current.raws.after=(this.current.raws.after||"")+this.spaces;this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){this.spaces+=e[1];if(this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];if(e&&e.type==="rule"&&!e.raws.ownSemicolon){e.raws.ownSemicolon=this.spaces;this.spaces=""}}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e);e.source={input:this.input,start:this.getPosition(t)};e.raws.before=this.spaces;this.spaces="";if(e.type!=="comment")this.semicolon=false}other(e){let t=false;let r=null;let s=false;let i=null;let n=[];let o=e[1].startsWith("--");let l=[];let a=e;while(a){r=a[0];l.push(a);if(r==="("||r==="["){if(!i)i=a;n.push(r==="("?")":"]")}else if(o&&s&&r==="{"){if(!i)i=a;n.push("}")}else if(n.length===0){if(r===";"){if(s){this.decl(l,o);return}else{break}}else if(r==="{"){this.rule(l);return}else if(r==="}"){this.tokenizer.back(l.pop());t=true;break}else if(r===":"){s=true}}else if(r===n[n.length-1]){n.pop();if(n.length===0)i=null}a=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile())t=true;if(n.length>0)this.unclosedBracket(i);if(t&&s){if(!o){while(l.length){a=l[l.length-1][0];if(a!=="space"&&a!=="comment")break;this.tokenizer.back(l.pop())}}this.decl(l,o)}else{this.unknownWord(l)}}parse(){let e;while(!this.tokenizer.endOfFile()){e=this.tokenizer.nextToken();switch(e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}}this.endFile()}precheckMissedSemicolon(){}raw(e,t,r,s){let i,n;let o=r.length;let l="";let a=true;let h,u;for(let e=0;ee+t[1]),"");e.raws[t]={raw:s,value:l}}e[t]=l}rule(e){e.pop();let t=new a;this.init(t,e[0][2]);t.raws.between=this.spacesAndCommentsFromEnd(e);this.raw(t,"selector",e);this.current=t}spacesAndCommentsFromEnd(e){let t;let r="";while(e.length){t=e[e.length-1][0];if(t!=="space"&&t!=="comment")break;r=e.pop()[1]+r}return r}spacesAndCommentsFromStart(e){let t;let r="";while(e.length){t=e[0][0];if(t!=="space"&&t!=="comment")break;r+=e.shift()[1]}return r}spacesFromEnd(e){let t;let r="";while(e.length){t=e[e.length-1][0];if(t!=="space")break;r=e.pop()[1]+r}return r}stringFrom(e,t){let r="";for(let s=t;s{"use strict";let s=r(911);let i,n;class Root extends s{constructor(e){super(e);this.type="root";if(!this.nodes)this.nodes=[]}normalize(e,t,r){let s=super.normalize(e);if(t){if(r==="prepend"){if(this.nodes.length>1){t.raws.before=this.nodes[1].raws.before}else{delete t.raws.before}}else if(this.first!==t){for(let e of s){e.raws.before=t.raws.before}}}return s}removeChild(e,t){let r=this.index(e);if(!t&&r===0&&this.nodes.length>1){this.nodes[1].raws.before=this.nodes[r].raws.before}return super.removeChild(e)}toResult(e={}){let t=new i(new n,this,e);return t.stringify()}}Root.registerLazyResult=e=>{i=e};Root.registerProcessor=e=>{n=e};e.exports=Root;Root.default=Root;s.registerRoot(Root)},202:(e,t,r)=>{"use strict";let s=r(911);let i=r(726);class Rule extends s{constructor(e){super(e);this.type="rule";if(!this.nodes)this.nodes=[]}get selectors(){return i.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null;let r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}}e.exports=Rule;Rule.default=Rule;s.registerRule(Rule)},943:e=>{"use strict";const t={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:false};function capitalize(e){return e[0].toUpperCase()+e.slice(1)}class Stringifier{constructor(e){this.builder=e}atrule(e,t){let r="@"+e.name;let s=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName!=="undefined"){r+=e.raws.afterName}else if(s){r+=" "}if(e.nodes){this.block(e,r+s)}else{let i=(e.raws.between||"")+(t?";":"");this.builder(r+s+i,e)}}beforeAfter(e,t){let r;if(e.type==="decl"){r=this.raw(e,null,"beforeDecl")}else if(e.type==="comment"){r=this.raw(e,null,"beforeComment")}else if(t==="before"){r=this.raw(e,null,"beforeRule")}else{r=this.raw(e,null,"beforeClose")}let s=e.parent;let i=0;while(s&&s.type!=="root"){i+=1;s=s.parent}if(r.includes("\n")){let t=this.raw(e,null,"indent");if(t.length){for(let e=0;e0){if(e.nodes[t].type!=="comment")break;t-=1}let r=this.raw(e,"semicolon");for(let s=0;s{i=e.raws[r];if(typeof i!=="undefined")return false}))}}if(typeof i==="undefined")i=t[s];o.rawCache[s]=i;return i}rawBeforeClose(e){let t;e.walk((e=>{if(e.nodes&&e.nodes.length>0){if(typeof e.raws.after!=="undefined"){t=e.raws.after;if(t.includes("\n")){t=t.replace(/[^\n]+$/,"")}return false}}}));if(t)t=t.replace(/\S/g,"");return t}rawBeforeComment(e,t){let r;e.walkComments((e=>{if(typeof e.raws.before!=="undefined"){r=e.raws.before;if(r.includes("\n")){r=r.replace(/[^\n]+$/,"")}return false}}));if(typeof r==="undefined"){r=this.raw(t,null,"beforeDecl")}else if(r){r=r.replace(/\S/g,"")}return r}rawBeforeDecl(e,t){let r;e.walkDecls((e=>{if(typeof e.raws.before!=="undefined"){r=e.raws.before;if(r.includes("\n")){r=r.replace(/[^\n]+$/,"")}return false}}));if(typeof r==="undefined"){r=this.raw(t,null,"beforeRule")}else if(r){r=r.replace(/\S/g,"")}return r}rawBeforeOpen(e){let t;e.walk((e=>{if(e.type!=="decl"){t=e.raws.between;if(typeof t!=="undefined")return false}}));return t}rawBeforeRule(e){let t;e.walk((r=>{if(r.nodes&&(r.parent!==e||e.first!==r)){if(typeof r.raws.before!=="undefined"){t=r.raws.before;if(t.includes("\n")){t=t.replace(/[^\n]+$/,"")}return false}}}));if(t)t=t.replace(/\S/g,"");return t}rawColon(e){let t;e.walkDecls((e=>{if(typeof e.raws.between!=="undefined"){t=e.raws.between.replace(/[^\s:]/g,"");return false}}));return t}rawEmptyBody(e){let t;e.walk((e=>{if(e.nodes&&e.nodes.length===0){t=e.raws.after;if(typeof t!=="undefined")return false}}));return t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;e.walk((r=>{let s=r.parent;if(s&&s!==e&&s.parent&&s.parent===e){if(typeof r.raws.before!=="undefined"){let e=r.raws.before.split("\n");t=e[e.length-1];t=t.replace(/\S/g,"");return false}}}));return t}rawSemicolon(e){let t;e.walk((e=>{if(e.nodes&&e.nodes.length&&e.last.type==="decl"){t=e.raws.semicolon;if(typeof t!=="undefined")return false}}));return t}rawValue(e,t){let r=e[t];let s=e.raws[t];if(s&&s.value===r){return s.raw}return r}root(e){this.body(e);if(e.raws.after)this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector"));if(e.raws.ownSemicolon){this.builder(e.raws.ownSemicolon,e,"end")}}stringify(e,t){if(!this[e.type]){throw new Error("Unknown AST node type "+e.type+". "+"Maybe you need to change PostCSS stringifier.")}this[e.type](e,t)}}e.exports=Stringifier;Stringifier.default=Stringifier},34:(e,t,r)=>{"use strict";let s=r(943);function stringify(e,t){let r=new s(t);r.stringify(e)}e.exports=stringify;stringify.default=stringify},522:e=>{"use strict";e.exports.isClean=Symbol("isClean");e.exports.my=Symbol("my")},364:(e,t,r)=>{"use strict";let s=r(448);let i=r(970);let n;function registerInput(e){n=e}const o={";":s.yellow,":":s.yellow,"(":s.cyan,")":s.cyan,"[":s.yellow,"]":s.yellow,"{":s.yellow,"}":s.yellow,"at-word":s.cyan,brackets:s.cyan,call:s.cyan,class:s.yellow,comment:s.gray,hash:s.magenta,string:s.green};function getTokenType([e,t],r){if(e==="word"){if(t[0]==="."){return"class"}if(t[0]==="#"){return"hash"}}if(!r.endOfFile()){let e=r.nextToken();r.back(e);if(e[0]==="brackets"||e[0]==="(")return"call"}return e}function terminalHighlight(e){let t=i(new n(e),{ignoreErrors:true});let r="";while(!t.endOfFile()){let e=t.nextToken();let s=o[getTokenType(e,t)];if(s){r+=e[1].split(/\r?\n/).map((e=>s(e))).join("\n")}else{r+=e[1]}}return r}terminalHighlight.registerInput=registerInput;e.exports=terminalHighlight},970:e=>{"use strict";const t="'".charCodeAt(0);const r='"'.charCodeAt(0);const s="\\".charCodeAt(0);const i="/".charCodeAt(0);const n="\n".charCodeAt(0);const o=" ".charCodeAt(0);const l="\f".charCodeAt(0);const a="\t".charCodeAt(0);const f="\r".charCodeAt(0);const h="[".charCodeAt(0);const u="]".charCodeAt(0);const c="(".charCodeAt(0);const p=")".charCodeAt(0);const d="{".charCodeAt(0);const m="}".charCodeAt(0);const w=";".charCodeAt(0);const g="*".charCodeAt(0);const y=":".charCodeAt(0);const b="@".charCodeAt(0);const x=/[\t\n\f\r "#'()/;[\\\]{}]/g;const k=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g;const C=/.[\r\n"'(/\\]/;const O=/[\da-f]/i;e.exports=function tokenizer(e,S={}){let A=e.css.valueOf();let R=S.ignoreErrors;let v,P,B,E,_;let z,D,I,F,T;let N=A.length;let j=0;let M=[];let $=[];function position(){return j}function unclosed(t){throw e.error("Unclosed "+t,j)}function endOfFile(){return $.length===0&&j>=N}function nextToken(e){if($.length)return $.pop();if(j>=N)return;let S=e?e.ignoreUnclosed:false;v=A.charCodeAt(j);switch(v){case n:case o:case a:case f:case l:{P=j;do{P+=1;v=A.charCodeAt(P)}while(v===o||v===n||v===a||v===f||v===l);T=["space",A.slice(j,P)];j=P-1;break}case h:case u:case d:case m:case y:case w:case p:{let e=String.fromCharCode(v);T=[e,e,j];break}case c:{I=M.length?M.pop()[1]:"";F=A.charCodeAt(j+1);if(I==="url"&&F!==t&&F!==r&&F!==o&&F!==n&&F!==a&&F!==l&&F!==f){P=j;do{z=false;P=A.indexOf(")",P+1);if(P===-1){if(R||S){P=j;break}else{unclosed("bracket")}}D=P;while(A.charCodeAt(D-1)===s){D-=1;z=!z}}while(z);T=["brackets",A.slice(j,P+1),j,P];j=P}else{P=A.indexOf(")",j+1);E=A.slice(j,P+1);if(P===-1||C.test(E)){T=["(","(",j]}else{T=["brackets",E,j,P];j=P}}break}case t:case r:{B=v===t?"'":'"';P=j;do{z=false;P=A.indexOf(B,P+1);if(P===-1){if(R||S){P=j+1;break}else{unclosed("string")}}D=P;while(A.charCodeAt(D-1)===s){D-=1;z=!z}}while(z);T=["string",A.slice(j,P+1),j,P];j=P;break}case b:{x.lastIndex=j+1;x.test(A);if(x.lastIndex===0){P=A.length-1}else{P=x.lastIndex-2}T=["at-word",A.slice(j,P+1),j,P];j=P;break}case s:{P=j;_=true;while(A.charCodeAt(P+1)===s){P+=1;_=!_}v=A.charCodeAt(P+1);if(_&&v!==i&&v!==o&&v!==n&&v!==a&&v!==f&&v!==l){P+=1;if(O.test(A.charAt(P))){while(O.test(A.charAt(P+1))){P+=1}if(A.charCodeAt(P+1)===o){P+=1}}}T=["word",A.slice(j,P+1),j,P];j=P;break}default:{if(v===i&&A.charCodeAt(j+1)===g){P=A.indexOf("*/",j+2)+1;if(P===0){if(R||S){P=A.length}else{unclosed("comment")}}T=["comment",A.slice(j,P+1),j,P];j=P}else{k.lastIndex=j+1;k.test(A);if(k.lastIndex===0){P=A.length-1}else{P=k.lastIndex-2}T=["word",A.slice(j,P+1),j,P];M.push(T);j=P}break}}j++;return T}function back(e){$.push(e)}return{back:back,endOfFile:endOfFile,nextToken:nextToken,position:position}}},977:e=>{"use strict";e.exports=require("postcss")},224:e=>{"use strict";e.exports=require("tty")}};var t={};function __nccwpck_require__(r){var s=t[r];if(s!==undefined){return s.exports}var i=t[r]={exports:{}};var n=true;try{e[r](i,i.exports,__nccwpck_require__);n=false}finally{if(n)delete t[r]}return i.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(534);module.exports=r})(); \ No newline at end of file diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js index 9adeffadf740e..9fc79fa112425 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js @@ -3758,6 +3758,22 @@ topLevelEventsToReactNames.set(domEventName, reactName); registerTwoPhaseEvent(reactName, [domEventName]); } + function logComponentEffect(fiber, startTime, endTime, selfTime) { + fiber = getComponentNameFromFiber(fiber); + null !== fiber && + supportsUserTiming && + ((reusableComponentDevToolDetails.color = + 1 > selfTime + ? "secondary-light" + : 100 > selfTime + ? "secondary" + : 500 > selfTime + ? "secondary-dark" + : "error"), + (reusableComponentOptions.start = startTime), + (reusableComponentOptions.end = endTime), + performance.measure(fiber, reusableComponentOptions)); + } function finishQueueingConcurrentUpdates() { for ( var endIndex = concurrentQueuesIndex, @@ -3962,6 +3978,22 @@ staleFamilies ); } + function startUpdateTimerByLane(lane) { + var JSCompiler_temp; + (JSCompiler_temp = 0 !== (lane & 3)) || + (JSCompiler_temp = 0 !== (lane & 60)); + JSCompiler_temp + ? 0 > blockingUpdateTime && + ((blockingUpdateTime = now()), + (blockingEventTime = resolveEventTimeStamp()), + (blockingEventType = resolveEventType())) + : 0 !== (lane & 4194176) && + 0 > transitionUpdateTime && + ((transitionUpdateTime = now()), + 0 > transitionStartTime && + ((transitionEventTime = resolveEventTimeStamp()), + (transitionEventType = resolveEventType()))); + } function pushNestedEffectDurations() { var prevEffectDuration = profilerEffectDuration; profilerEffectDuration = 0; @@ -4030,22 +4062,6 @@ for (var child = fiber.child; child; ) (fiber.actualDuration += child.actualDuration), (child = child.sibling); } - function logComponentEffect(fiber, startTime, endTime, selfTime) { - fiber = getComponentNameFromFiber(fiber); - null !== fiber && - supportsUserTiming && - ((reusableComponentDevToolDetails.color = - 1 > selfTime - ? "secondary-light" - : 100 > selfTime - ? "secondary" - : 500 > selfTime - ? "secondary-dark" - : "error"), - (reusableComponentOptions.start = startTime), - (reusableComponentOptions.end = endTime), - performance.measure(fiber, reusableComponentOptions)); - } function createCapturedValueAtFiber(value, source) { if ("object" === typeof value && null !== value) { var stack = CapturedStacks.get(value); @@ -5696,8 +5712,9 @@ } function pingEngtangledActionScope() { if ( - null !== currentEntangledListeners && - 0 === --currentEntangledPendingCount + 0 === --currentEntangledPendingCount && + (-1 < transitionUpdateTime || (transitionStartTime = -1.1), + null !== currentEntangledListeners) ) { null !== currentEntangledActionThenable && (currentEntangledActionThenable.status = "fulfilled"); @@ -7065,14 +7082,26 @@ returnValue, finishedState ); - dispatchSetState(fiber, queue, thenableForFinishedState); - } else dispatchSetState(fiber, queue, finishedState); + dispatchSetStateInternal( + fiber, + queue, + thenableForFinishedState, + requestUpdateLane(fiber) + ); + } else + dispatchSetStateInternal( + fiber, + queue, + finishedState, + requestUpdateLane(fiber) + ); } catch (error) { - dispatchSetState(fiber, queue, { - then: function () {}, - status: "rejected", - reason: error - }); + dispatchSetStateInternal( + fiber, + queue, + { then: function () {}, status: "rejected", reason: error }, + requestUpdateLane(fiber) + ); } finally { (ReactDOMSharedInternals.p = previousPriority), (ReactSharedInternals.T = prevTransition), @@ -7146,7 +7175,12 @@ "requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition." ); var resetStateQueue = ensureFormComponentIsStateful(formFiber).next.queue; - dispatchSetState(formFiber, resetStateQueue, {}); + dispatchSetStateInternal( + formFiber, + resetStateQueue, + {}, + requestUpdateLane(formFiber) + ); } function mountTransition() { var stateHook = mountStateImpl(!1); @@ -7218,7 +7252,8 @@ fiber = createUpdate(lane); var root = enqueueUpdate(provider, fiber, lane); null !== root && - (scheduleUpdateOnFiber(root, provider, lane), + (startUpdateTimerByLane(lane), + scheduleUpdateOnFiber(root, provider, lane), entangleTransitions(root, provider, lane)); provider = createCache(); null !== seedKey && @@ -7259,7 +7294,8 @@ JSCompiler_OptimizeArgumentsArray_p0 )), null !== action && - (scheduleUpdateOnFiber( + (startUpdateTimerByLane(JSCompiler_OptimizeArgumentsArray_p0), + scheduleUpdateOnFiber( action, fiber, JSCompiler_OptimizeArgumentsArray_p0 @@ -7281,8 +7317,16 @@ "State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()." ); JSCompiler_OptimizeArgumentsArray_p1 = requestUpdateLane(fiber); + dispatchSetStateInternal( + fiber, + queue, + action, + JSCompiler_OptimizeArgumentsArray_p1 + ) && startUpdateTimerByLane(JSCompiler_OptimizeArgumentsArray_p1); + } + function dispatchSetStateInternal(fiber, queue, action, lane) { var update = { - lane: JSCompiler_OptimizeArgumentsArray_p1, + lane: lane, revertLane: 0, action: action, hasEagerState: !1, @@ -7304,34 +7348,27 @@ eagerState = alternate(currentState, action); update.hasEagerState = !0; update.eagerState = eagerState; - if (objectIs(eagerState, currentState)) { - enqueueUpdate$1(fiber, queue, update, 0); - null === workInProgressRoot && finishQueueingConcurrentUpdates(); - return; - } + if (objectIs(eagerState, currentState)) + return ( + enqueueUpdate$1(fiber, queue, update, 0), + null === workInProgressRoot && + finishQueueingConcurrentUpdates(), + !1 + ); } catch (error) { } finally { ReactSharedInternals.H = prevDispatcher; } } - action = enqueueConcurrentHookUpdate( - fiber, - queue, - update, - JSCompiler_OptimizeArgumentsArray_p1 - ); - null !== action && - (scheduleUpdateOnFiber( - action, - fiber, - JSCompiler_OptimizeArgumentsArray_p1 - ), - entangleTransitionUpdate( - action, - queue, - JSCompiler_OptimizeArgumentsArray_p1 - )); + action = enqueueConcurrentHookUpdate(fiber, queue, update, lane); + if (null !== action) + return ( + scheduleUpdateOnFiber(action, fiber, lane), + entangleTransitionUpdate(action, queue, lane), + !0 + ); } + return !1; } function dispatchOptimisticSetState( fiber, @@ -7364,7 +7401,8 @@ 2 )), null !== throwIfDuringRender && - scheduleUpdateOnFiber(throwIfDuringRender, fiber, 2); + (startUpdateTimerByLane(2), + scheduleUpdateOnFiber(throwIfDuringRender, fiber, 2)); } function isRenderPhaseUpdate(fiber) { var alternate = fiber.alternate; @@ -8814,33 +8852,33 @@ return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_componentStack_2238; - var JSCompiler_object_inline_stack_2237 = workInProgress.pendingProps; + var JSCompiler_object_inline_componentStack_2262; + var JSCompiler_object_inline_stack_2261 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_message_2235 = !1; + var JSCompiler_object_inline_message_2259 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_componentStack_2238 = didSuspend) || - (JSCompiler_object_inline_componentStack_2238 = + (JSCompiler_object_inline_componentStack_2262 = didSuspend) || + (JSCompiler_object_inline_componentStack_2262 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_componentStack_2238 && - ((JSCompiler_object_inline_message_2235 = !0), + JSCompiler_object_inline_componentStack_2262 && + ((JSCompiler_object_inline_message_2259 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_componentStack_2238 = + JSCompiler_object_inline_componentStack_2262 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_message_2235 + JSCompiler_object_inline_message_2259 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_digest_2236 = nextHydratableInstance; + var JSCompiler_object_inline_digest_2260 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_digest_2236)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_digest_2260)) { c: { - var instance = JSCompiler_object_inline_digest_2236; + var instance = JSCompiler_object_inline_digest_2260; for ( JSCompiler_temp = rootOrSingletonContext; 8 !== instance.nodeType; @@ -8881,19 +8919,19 @@ JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_digest_2236 + JSCompiler_object_inline_digest_2260 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_digest_2236 = workInProgress.memoizedState; + JSCompiler_object_inline_digest_2260 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_digest_2236 && - ((JSCompiler_object_inline_digest_2236 = - JSCompiler_object_inline_digest_2236.dehydrated), - null !== JSCompiler_object_inline_digest_2236) + null !== JSCompiler_object_inline_digest_2260 && + ((JSCompiler_object_inline_digest_2260 = + JSCompiler_object_inline_digest_2260.dehydrated), + null !== JSCompiler_object_inline_digest_2260) ) return ( - JSCompiler_object_inline_digest_2236.data === + JSCompiler_object_inline_digest_2260.data === SUSPENSE_FALLBACK_START_DATA ? (workInProgress.lanes = 16) : (workInProgress.lanes = 536870912), @@ -8901,68 +8939,68 @@ ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_digest_2236 = - JSCompiler_object_inline_stack_2237.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2237.fallback; - if (JSCompiler_object_inline_message_2235) + JSCompiler_object_inline_digest_2260 = + JSCompiler_object_inline_stack_2261.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2261.fallback; + if (JSCompiler_object_inline_message_2259) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2237 = + (JSCompiler_object_inline_stack_2261 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_digest_2236, + JSCompiler_object_inline_digest_2260, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_message_2235 = workInProgress.child), - (JSCompiler_object_inline_message_2235.memoizedState = + (JSCompiler_object_inline_message_2259 = workInProgress.child), + (JSCompiler_object_inline_message_2259.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_message_2235.childLanes = + (JSCompiler_object_inline_message_2259.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2238, + JSCompiler_object_inline_componentStack_2262, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2237 + JSCompiler_object_inline_stack_2261 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2237.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2261.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2237 = + (JSCompiler_object_inline_stack_2261 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_digest_2236, + JSCompiler_object_inline_digest_2260, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_message_2235 = workInProgress.child), - (JSCompiler_object_inline_message_2235.memoizedState = + (JSCompiler_object_inline_message_2259 = workInProgress.child), + (JSCompiler_object_inline_message_2259.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_message_2235.childLanes = + (JSCompiler_object_inline_message_2259.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2238, + JSCompiler_object_inline_componentStack_2262, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2237 + JSCompiler_object_inline_stack_2261 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_digest_2236 + JSCompiler_object_inline_digest_2260 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_digest_2236 = prevState.dehydrated), - null !== JSCompiler_object_inline_digest_2236) + ((JSCompiler_object_inline_digest_2260 = prevState.dehydrated), + null !== JSCompiler_object_inline_digest_2260) ) { if (didSuspend) workInProgress.flags & 256 @@ -8979,94 +9017,94 @@ (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_message_2235 = - JSCompiler_object_inline_stack_2237.fallback), - (JSCompiler_object_inline_digest_2236 = workInProgress.mode), - (JSCompiler_object_inline_stack_2237 = + (JSCompiler_object_inline_message_2259 = + JSCompiler_object_inline_stack_2261.fallback), + (JSCompiler_object_inline_digest_2260 = workInProgress.mode), + (JSCompiler_object_inline_stack_2261 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2237.children + children: JSCompiler_object_inline_stack_2261.children }, - JSCompiler_object_inline_digest_2236 + JSCompiler_object_inline_digest_2260 )), - (JSCompiler_object_inline_message_2235 = + (JSCompiler_object_inline_message_2259 = createFiberFromFragment( - JSCompiler_object_inline_message_2235, - JSCompiler_object_inline_digest_2236, + JSCompiler_object_inline_message_2259, + JSCompiler_object_inline_digest_2260, renderLanes, null )), - (JSCompiler_object_inline_message_2235.flags |= 2), - (JSCompiler_object_inline_stack_2237.return = workInProgress), - (JSCompiler_object_inline_message_2235.return = workInProgress), - (JSCompiler_object_inline_stack_2237.sibling = - JSCompiler_object_inline_message_2235), - (workInProgress.child = JSCompiler_object_inline_stack_2237), + (JSCompiler_object_inline_message_2259.flags |= 2), + (JSCompiler_object_inline_stack_2261.return = workInProgress), + (JSCompiler_object_inline_message_2259.return = workInProgress), + (JSCompiler_object_inline_stack_2261.sibling = + JSCompiler_object_inline_message_2259), + (workInProgress.child = JSCompiler_object_inline_stack_2261), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2237 = workInProgress.child), - (JSCompiler_object_inline_stack_2237.memoizedState = + (JSCompiler_object_inline_stack_2261 = workInProgress.child), + (JSCompiler_object_inline_stack_2261.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2237.childLanes = + (JSCompiler_object_inline_stack_2261.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2238, + JSCompiler_object_inline_componentStack_2262, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = JSCompiler_object_inline_message_2235)); + (workInProgress = JSCompiler_object_inline_message_2259)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && console.error( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - JSCompiler_object_inline_digest_2236.data === + JSCompiler_object_inline_digest_2260.data === SUSPENSE_FALLBACK_START_DATA) ) { - JSCompiler_object_inline_componentStack_2238 = - JSCompiler_object_inline_digest_2236.nextSibling && - JSCompiler_object_inline_digest_2236.nextSibling.dataset; - if (JSCompiler_object_inline_componentStack_2238) { - JSCompiler_temp = JSCompiler_object_inline_componentStack_2238.dgst; - var message = JSCompiler_object_inline_componentStack_2238.msg; - instance = JSCompiler_object_inline_componentStack_2238.stck; + JSCompiler_object_inline_componentStack_2262 = + JSCompiler_object_inline_digest_2260.nextSibling && + JSCompiler_object_inline_digest_2260.nextSibling.dataset; + if (JSCompiler_object_inline_componentStack_2262) { + JSCompiler_temp = JSCompiler_object_inline_componentStack_2262.dgst; + var message = JSCompiler_object_inline_componentStack_2262.msg; + instance = JSCompiler_object_inline_componentStack_2262.stck; var componentStack = - JSCompiler_object_inline_componentStack_2238.cstck; + JSCompiler_object_inline_componentStack_2262.cstck; } - JSCompiler_object_inline_message_2235 = message; - JSCompiler_object_inline_digest_2236 = JSCompiler_temp; - JSCompiler_object_inline_stack_2237 = instance; - JSCompiler_object_inline_componentStack_2238 = componentStack; - "POSTPONE" !== JSCompiler_object_inline_digest_2236 && - ((JSCompiler_object_inline_message_2235 = - JSCompiler_object_inline_message_2235 - ? Error(JSCompiler_object_inline_message_2235) + JSCompiler_object_inline_message_2259 = message; + JSCompiler_object_inline_digest_2260 = JSCompiler_temp; + JSCompiler_object_inline_stack_2261 = instance; + JSCompiler_object_inline_componentStack_2262 = componentStack; + "POSTPONE" !== JSCompiler_object_inline_digest_2260 && + ((JSCompiler_object_inline_message_2259 = + JSCompiler_object_inline_message_2259 + ? Error(JSCompiler_object_inline_message_2259) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." )), - (JSCompiler_object_inline_message_2235.stack = - JSCompiler_object_inline_stack_2237 || ""), - (JSCompiler_object_inline_message_2235.digest = - JSCompiler_object_inline_digest_2236), - (JSCompiler_object_inline_componentStack_2238 = - void 0 === JSCompiler_object_inline_componentStack_2238 + (JSCompiler_object_inline_message_2259.stack = + JSCompiler_object_inline_stack_2261 || ""), + (JSCompiler_object_inline_message_2259.digest = + JSCompiler_object_inline_digest_2260), + (JSCompiler_object_inline_componentStack_2262 = + void 0 === JSCompiler_object_inline_componentStack_2262 ? null - : JSCompiler_object_inline_componentStack_2238), - "string" === typeof JSCompiler_object_inline_componentStack_2238 && + : JSCompiler_object_inline_componentStack_2262), + "string" === typeof JSCompiler_object_inline_componentStack_2262 && CapturedStacks.set( - JSCompiler_object_inline_message_2235, - JSCompiler_object_inline_componentStack_2238 + JSCompiler_object_inline_message_2259, + JSCompiler_object_inline_componentStack_2262 ), queueHydrationError({ - value: JSCompiler_object_inline_message_2235, + value: JSCompiler_object_inline_message_2259, source: null, - stack: JSCompiler_object_inline_componentStack_2238 + stack: JSCompiler_object_inline_componentStack_2262 })); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9081,25 +9119,25 @@ renderLanes, !1 ), - (JSCompiler_object_inline_componentStack_2238 = + (JSCompiler_object_inline_componentStack_2262 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_componentStack_2238) + didReceiveUpdate || JSCompiler_object_inline_componentStack_2262) ) { - JSCompiler_object_inline_componentStack_2238 = workInProgressRoot; - if (null !== JSCompiler_object_inline_componentStack_2238) { - JSCompiler_object_inline_stack_2237 = renderLanes & -renderLanes; - if (0 !== (JSCompiler_object_inline_stack_2237 & 42)) - JSCompiler_object_inline_stack_2237 = 1; + JSCompiler_object_inline_componentStack_2262 = workInProgressRoot; + if (null !== JSCompiler_object_inline_componentStack_2262) { + JSCompiler_object_inline_stack_2261 = renderLanes & -renderLanes; + if (0 !== (JSCompiler_object_inline_stack_2261 & 42)) + JSCompiler_object_inline_stack_2261 = 1; else - switch (JSCompiler_object_inline_stack_2237) { + switch (JSCompiler_object_inline_stack_2261) { case 2: - JSCompiler_object_inline_stack_2237 = 1; + JSCompiler_object_inline_stack_2261 = 1; break; case 8: - JSCompiler_object_inline_stack_2237 = 4; + JSCompiler_object_inline_stack_2261 = 4; break; case 32: - JSCompiler_object_inline_stack_2237 = 16; + JSCompiler_object_inline_stack_2261 = 16; break; case 128: case 256: @@ -9120,40 +9158,40 @@ case 8388608: case 16777216: case 33554432: - JSCompiler_object_inline_stack_2237 = 64; + JSCompiler_object_inline_stack_2261 = 64; break; case 268435456: - JSCompiler_object_inline_stack_2237 = 134217728; + JSCompiler_object_inline_stack_2261 = 134217728; break; default: - JSCompiler_object_inline_stack_2237 = 0; + JSCompiler_object_inline_stack_2261 = 0; } - JSCompiler_object_inline_stack_2237 = + JSCompiler_object_inline_stack_2261 = 0 !== - (JSCompiler_object_inline_stack_2237 & - (JSCompiler_object_inline_componentStack_2238.suspendedLanes | + (JSCompiler_object_inline_stack_2261 & + (JSCompiler_object_inline_componentStack_2262.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2237; + : JSCompiler_object_inline_stack_2261; if ( - 0 !== JSCompiler_object_inline_stack_2237 && - JSCompiler_object_inline_stack_2237 !== prevState.retryLane + 0 !== JSCompiler_object_inline_stack_2261 && + JSCompiler_object_inline_stack_2261 !== prevState.retryLane ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2237), + ((prevState.retryLane = JSCompiler_object_inline_stack_2261), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2237 + JSCompiler_object_inline_stack_2261 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_componentStack_2238, + JSCompiler_object_inline_componentStack_2262, current, - JSCompiler_object_inline_stack_2237 + JSCompiler_object_inline_stack_2261 ), SelectiveHydrationException) ); } - JSCompiler_object_inline_digest_2236.data === + JSCompiler_object_inline_digest_2260.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9161,7 +9199,7 @@ renderLanes ); } else - JSCompiler_object_inline_digest_2236.data === + JSCompiler_object_inline_digest_2260.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 128), (workInProgress.child = current.child), @@ -9169,12 +9207,12 @@ null, current )), - (JSCompiler_object_inline_digest_2236._reactRetry = + (JSCompiler_object_inline_digest_2260._reactRetry = workInProgress), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_digest_2236.nextSibling + JSCompiler_object_inline_digest_2260.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9192,54 +9230,54 @@ (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2237.children + JSCompiler_object_inline_stack_2261.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_message_2235) + if (JSCompiler_object_inline_message_2259) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_message_2235 = - JSCompiler_object_inline_stack_2237.fallback), - (JSCompiler_object_inline_digest_2236 = workInProgress.mode), + (JSCompiler_object_inline_message_2259 = + JSCompiler_object_inline_stack_2261.fallback), + (JSCompiler_object_inline_digest_2260 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2237 = createWorkInProgress( + (JSCompiler_object_inline_stack_2261 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2237.children + children: JSCompiler_object_inline_stack_2261.children } )), - (JSCompiler_object_inline_stack_2237.subtreeFlags = + (JSCompiler_object_inline_stack_2261.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280), null !== instance - ? (JSCompiler_object_inline_message_2235 = createWorkInProgress( + ? (JSCompiler_object_inline_message_2259 = createWorkInProgress( instance, - JSCompiler_object_inline_message_2235 + JSCompiler_object_inline_message_2259 )) - : ((JSCompiler_object_inline_message_2235 = createFiberFromFragment( - JSCompiler_object_inline_message_2235, - JSCompiler_object_inline_digest_2236, + : ((JSCompiler_object_inline_message_2259 = createFiberFromFragment( + JSCompiler_object_inline_message_2259, + JSCompiler_object_inline_digest_2260, renderLanes, null )), - (JSCompiler_object_inline_message_2235.flags |= 2)), - (JSCompiler_object_inline_message_2235.return = workInProgress), - (JSCompiler_object_inline_stack_2237.return = workInProgress), - (JSCompiler_object_inline_stack_2237.sibling = - JSCompiler_object_inline_message_2235), - (workInProgress.child = JSCompiler_object_inline_stack_2237), - (JSCompiler_object_inline_stack_2237 = - JSCompiler_object_inline_message_2235), - (JSCompiler_object_inline_message_2235 = workInProgress.child), - (JSCompiler_object_inline_digest_2236 = current.child.memoizedState), - null === JSCompiler_object_inline_digest_2236 - ? (JSCompiler_object_inline_digest_2236 = + (JSCompiler_object_inline_message_2259.flags |= 2)), + (JSCompiler_object_inline_message_2259.return = workInProgress), + (JSCompiler_object_inline_stack_2261.return = workInProgress), + (JSCompiler_object_inline_stack_2261.sibling = + JSCompiler_object_inline_message_2259), + (workInProgress.child = JSCompiler_object_inline_stack_2261), + (JSCompiler_object_inline_stack_2261 = + JSCompiler_object_inline_message_2259), + (JSCompiler_object_inline_message_2259 = workInProgress.child), + (JSCompiler_object_inline_digest_2260 = current.child.memoizedState), + null === JSCompiler_object_inline_digest_2260 + ? (JSCompiler_object_inline_digest_2260 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_digest_2236.cachePool), + JSCompiler_object_inline_digest_2260.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9247,38 +9285,38 @@ ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_digest_2236 = { + (JSCompiler_object_inline_digest_2260 = { baseLanes: - JSCompiler_object_inline_digest_2236.baseLanes | renderLanes, + JSCompiler_object_inline_digest_2260.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_message_2235.memoizedState = - JSCompiler_object_inline_digest_2236), - (JSCompiler_object_inline_message_2235.childLanes = + (JSCompiler_object_inline_message_2259.memoizedState = + JSCompiler_object_inline_digest_2260), + (JSCompiler_object_inline_message_2259.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2238, + JSCompiler_object_inline_componentStack_2262, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2237 + JSCompiler_object_inline_stack_2261 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2237.children + children: JSCompiler_object_inline_stack_2261.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_componentStack_2238 = + ((JSCompiler_object_inline_componentStack_2262 = workInProgress.deletions), - null === JSCompiler_object_inline_componentStack_2238 + null === JSCompiler_object_inline_componentStack_2262 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_componentStack_2238.push(current)); + : JSCompiler_object_inline_componentStack_2262.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -14927,18 +14965,94 @@ workInProgress = null; } } + function finalizeRender(lanes, finalizationTime) { + if (0 !== (lanes & 3) || 0 !== (lanes & 60)) + 0 <= blockingUpdateTime && + blockingUpdateTime < finalizationTime && + (blockingUpdateTime = finalizationTime), + 0 <= blockingEventTime && + blockingEventTime < finalizationTime && + (blockingEventTime = finalizationTime); + 0 !== (lanes & 4194176) && + (0 <= transitionStartTime && + transitionStartTime < finalizationTime && + (transitionStartTime = finalizationTime), + 0 <= transitionUpdateTime && + transitionUpdateTime < finalizationTime && + (transitionUpdateTime = finalizationTime), + 0 <= transitionEventTime && + transitionEventTime < finalizationTime && + (transitionEventTime = finalizationTime)); + } function prepareFreshStack(root, lanes) { + renderStartTime = now(); + finalizeRender(workInProgressRootRenderLanes, renderStartTime); + if (0 !== (lanes & 3) || 0 !== (lanes & 60)) { + var updateTime = blockingUpdateTime, + eventTime = blockingEventTime, + eventType = blockingEventType, + renderStartTime$jscomp$0 = renderStartTime; + supportsUserTiming && + ((reusableComponentDevToolDetails.track = "Blocking"), + 0 < eventTime && + null !== eventType && + ((reusableComponentDevToolDetails.color = "secondary-dark"), + (reusableComponentOptions.start = eventTime), + (reusableComponentOptions.end = + 0 < updateTime ? updateTime : renderStartTime$jscomp$0), + performance.measure(eventType, reusableComponentOptions)), + 0 < updateTime && + ((reusableComponentDevToolDetails.color = "primary-light"), + (reusableComponentOptions.start = updateTime), + (reusableComponentOptions.end = renderStartTime$jscomp$0), + performance.measure("Blocked", reusableComponentOptions))); + blockingUpdateTime = -1.1; + } + if (0 !== (lanes & 4194176)) { + updateTime = transitionStartTime; + eventTime = transitionUpdateTime; + eventType = transitionEventTime; + renderStartTime$jscomp$0 = transitionEventType; + var renderStartTime$jscomp$1 = renderStartTime; + supportsUserTiming && + ((reusableComponentDevToolDetails.track = "Transition"), + 0 < eventType && + null !== renderStartTime$jscomp$0 && + ((reusableComponentDevToolDetails.color = "secondary-dark"), + (reusableComponentOptions.start = eventType), + (reusableComponentOptions.end = + 0 < updateTime + ? updateTime + : 0 < eventTime + ? eventTime + : renderStartTime$jscomp$1), + performance.measure( + renderStartTime$jscomp$0, + reusableComponentOptions + )), + 0 < updateTime && + ((reusableComponentDevToolDetails.color = "primary-dark"), + (reusableComponentOptions.start = updateTime), + (reusableComponentOptions.end = + 0 < eventTime ? eventTime : renderStartTime$jscomp$1), + performance.measure("Action", reusableComponentOptions)), + 0 < eventTime && + ((reusableComponentDevToolDetails.color = "primary-light"), + (reusableComponentOptions.start = eventTime), + (reusableComponentOptions.end = renderStartTime$jscomp$1), + performance.measure("Blocked", reusableComponentOptions))); + transitionUpdateTime = transitionStartTime = -1.1; + } root.finishedWork = null; root.finishedLanes = 0; - var timeoutHandle = root.timeoutHandle; - timeoutHandle !== noTimeout && - ((root.timeoutHandle = noTimeout), cancelTimeout(timeoutHandle)); - timeoutHandle = root.cancelPendingCommit; - null !== timeoutHandle && - ((root.cancelPendingCommit = null), timeoutHandle()); + updateTime = root.timeoutHandle; + updateTime !== noTimeout && + ((root.timeoutHandle = noTimeout), cancelTimeout(updateTime)); + updateTime = root.cancelPendingCommit; + null !== updateTime && ((root.cancelPendingCommit = null), updateTime()); resetWorkInProgressStack(); workInProgressRoot = root; - workInProgress = timeoutHandle = createWorkInProgress(root.current, null); + workInProgress = updateTime = createWorkInProgress(root.current, null); workInProgressRootRenderLanes = lanes; workInProgressSuspendedReason = NotSuspended; workInProgressThrownValue = null; @@ -14955,22 +15069,17 @@ null; workInProgressRootDidIncludeRecursiveRenderUpdate = !1; 0 !== (lanes & 8) && (lanes |= lanes & 32); - var allEntangledLanes = root.entangledLanes; - if (0 !== allEntangledLanes) - for ( - root = root.entanglements, allEntangledLanes &= lanes; - 0 < allEntangledLanes; - - ) { - var index = 31 - clz32(allEntangledLanes), - lane = 1 << index; - lanes |= root[index]; - allEntangledLanes &= ~lane; - } + eventTime = root.entangledLanes; + if (0 !== eventTime) + for (root = root.entanglements, eventTime &= lanes; 0 < eventTime; ) + (eventType = 31 - clz32(eventTime)), + (renderStartTime$jscomp$0 = 1 << eventType), + (lanes |= root[eventType]), + (eventTime &= ~renderStartTime$jscomp$0); entangledRenderLanes = lanes; finishQueueingConcurrentUpdates(); ReactStrictModeWarnings.discardPendingWarnings(); - return timeoutHandle; + return updateTime; } function handleThrow(root, thrownValue) { currentlyRenderingFiber$1 = null; @@ -15581,12 +15690,12 @@ finishedWork++ ) (remainingLanes = recoverableErrors[finishedWork]), - (transitions = makeErrorInfo(remainingLanes.stack)), + (spawnedLane = makeErrorInfo(remainingLanes.stack)), runWithFiberInDEV( remainingLanes.source, renderPriorityLevel, remainingLanes.value, - transitions + spawnedLane ); 0 !== (pendingPassiveEffectsLanes & 3) && flushPassiveEffects(); remainingLanes = root.pendingLanes; @@ -15598,6 +15707,7 @@ ? nestedUpdateCount++ : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))) : (nestedUpdateCount = 0); + transitions || finalizeRender(lanes, now$1()); flushSyncWorkAcrossRoots_impl(0, !1); return null; } @@ -15677,6 +15787,7 @@ ); commitDoubleInvokeEffectsInDEV(root$jscomp$0); executionContext = prevExecutionContext; + finalizeRender(lanes, now$1()); flushSyncWorkAcrossRoots_impl(0, !1); didScheduleUpdateDuringPassiveEffects ? root$jscomp$0 === rootWithPassiveNestedUpdates @@ -19248,6 +19359,14 @@ currentPopstateTransitionEvent = null; return !1; } + function resolveEventType() { + var event = window.event; + return event ? event.type : null; + } + function resolveEventTimeStamp() { + var event = window.event; + return event ? event.timeStamp : -1.1; + } function handleErrorInNextTick(error) { setTimeout(function () { throw error; @@ -20451,7 +20570,8 @@ (container.callback = callback)); element = enqueueUpdate(rootFiber, container, lane); null !== element && - (scheduleUpdateOnFiber(element, rootFiber, lane), + (startUpdateTimerByLane(lane), + scheduleUpdateOnFiber(element, rootFiber, lane), entangleTransitions(element, rootFiber, lane)); } function markRetryLaneImpl(fiber, retryLane) { @@ -22337,6 +22457,20 @@ "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll scrollEnd toggle touchMove waiting wheel".split( " " ), + supportsUserTiming = + "undefined" !== typeof performance && + "function" === typeof performance.measure, + reusableComponentDevToolDetails = { + dataType: "track-entry", + color: "primary", + track: "Blocking", + trackGroup: "Components \u269b" + }, + reusableComponentOptions = { + start: -0, + end: -0, + detail: { devtools: reusableComponentDevToolDetails } + }, OffscreenVisible = 1, OffscreenDetached = 2, OffscreenPassiveEffectsConnected = 4, @@ -22354,6 +22488,7 @@ StrictEffectsMode = 16, NoStrictPassiveEffectsMode = 64, now = Scheduler.unstable_now, + renderStartTime = -0, completeTime = -0, commitTime = -0, profilerStartTime = -1.1, @@ -22361,22 +22496,15 @@ componentEffectDuration = -0, componentEffectStartTime = -1.1, componentEffectEndTime = -1.1, + blockingUpdateTime = -1.1, + blockingEventTime = -1.1, + blockingEventType = null, + transitionStartTime = -1.1, + transitionUpdateTime = -1.1, + transitionEventTime = -1.1, + transitionEventType = null, currentUpdateIsNested = !1, nestedUpdateScheduled = !1, - supportsUserTiming = - "undefined" !== typeof performance && - "function" === typeof performance.measure, - reusableComponentDevToolDetails = { - dataType: "track-entry", - color: "primary", - track: "Blocking", - trackGroup: "Components \u269b" - }, - reusableComponentOptions = { - start: -0, - end: -0, - detail: { devtools: reusableComponentDevToolDetails } - }, ReactStrictModeWarnings = { recordUnsafeLifecycleWarnings: function () {}, flushPendingUnsafeLifecycleWarnings: function () {}, @@ -22832,7 +22960,12 @@ "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && - entangleAsyncAction(transition, returnValue); + (0 > transitionStartTime && + 0 > transitionUpdateTime && + ((transitionStartTime = now()), + (transitionEventTime = resolveEventTimeStamp()), + (transitionEventType = resolveEventType())), + entangleAsyncAction(transition, returnValue)); null !== prevOnStartTransitionFinish && prevOnStartTransitionFinish(transition, returnValue); }; @@ -23997,7 +24130,8 @@ (warnOnInvalidCallback(callback), (update.callback = callback)); payload = enqueueUpdate(inst, update, lane); null !== payload && - (scheduleUpdateOnFiber(payload, inst, lane), + (startUpdateTimerByLane(lane), + scheduleUpdateOnFiber(payload, inst, lane), entangleTransitions(payload, inst, lane)); }, enqueueReplaceState: function (inst, payload, callback) { @@ -24011,7 +24145,8 @@ (warnOnInvalidCallback(callback), (update.callback = callback)); payload = enqueueUpdate(inst, update, lane); null !== payload && - (scheduleUpdateOnFiber(payload, inst, lane), + (startUpdateTimerByLane(lane), + scheduleUpdateOnFiber(payload, inst, lane), entangleTransitions(payload, inst, lane)); }, enqueueForceUpdate: function (inst, callback) { @@ -24024,7 +24159,8 @@ (warnOnInvalidCallback(callback), (update.callback = callback)); callback = enqueueUpdate(inst, update, lane); null !== callback && - (scheduleUpdateOnFiber(callback, inst, lane), + (startUpdateTimerByLane(lane), + scheduleUpdateOnFiber(callback, inst, lane), entangleTransitions(callback, inst, lane)); } }, @@ -24738,11 +24874,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-e740d4b1-20240919" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-5d19e1c8-20240923" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-experimental-e740d4b1-20240919\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-5d19e1c8-20240923\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -24779,11 +24915,11 @@ !(function () { var internals = { bundleType: 1, - version: "19.0.0-experimental-e740d4b1-20240919", + version: "19.0.0-experimental-5d19e1c8-20240923", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-experimental-e740d4b1-20240919" + reconcilerVersion: "19.0.0-experimental-5d19e1c8-20240923" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -24925,7 +25061,7 @@ listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; - exports.version = "19.0.0-experimental-e740d4b1-20240919"; + exports.version = "19.0.0-experimental-5d19e1c8-20240923"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.production.js index ab4e85ca0a91f..36aabe44a73cf 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.production.js @@ -3602,8 +3602,8 @@ function entangleAsyncAction(transition, thenable) { } function pingEngtangledActionScope() { if ( - null !== currentEntangledListeners && - 0 === --currentEntangledPendingCount + 0 === --currentEntangledPendingCount && + null !== currentEntangledListeners ) { null !== currentEntangledActionThenable && (currentEntangledActionThenable.status = "fulfilled"); @@ -4555,14 +4555,26 @@ function startTransition(fiber, queue, pendingState, finishedState, callback) { returnValue, finishedState ); - dispatchSetState(fiber, queue, thenableForFinishedState); - } else dispatchSetState(fiber, queue, finishedState); + dispatchSetStateInternal( + fiber, + queue, + thenableForFinishedState, + requestUpdateLane(fiber) + ); + } else + dispatchSetStateInternal( + fiber, + queue, + finishedState, + requestUpdateLane(fiber) + ); } catch (error) { - dispatchSetState(fiber, queue, { - then: function () {}, - status: "rejected", - reason: error - }); + dispatchSetStateInternal( + fiber, + queue, + { then: function () {}, status: "rejected", reason: error }, + requestUpdateLane() + ); } finally { (ReactDOMSharedInternals.p = previousPriority), (ReactSharedInternals.T = prevTransition); @@ -4622,7 +4634,7 @@ function ensureFormComponentIsStateful(formFiber) { } function requestFormReset$1(formFiber) { var resetStateQueue = ensureFormComponentIsStateful(formFiber).next.queue; - dispatchSetState(formFiber, resetStateQueue, {}); + dispatchSetStateInternal(formFiber, resetStateQueue, {}, requestUpdateLane()); } function useHostTransitionStatus() { return readContext(HostTransitionContext); @@ -4673,15 +4685,18 @@ function dispatchReducerAction(fiber, queue, action) { entangleTransitionUpdate(action, queue, lane))); } function dispatchSetState(fiber, queue, action) { - var lane = requestUpdateLane(), - update = { - lane: lane, - revertLane: 0, - action: action, - hasEagerState: !1, - eagerState: null, - next: null - }; + var lane = requestUpdateLane(); + dispatchSetStateInternal(fiber, queue, action, lane); +} +function dispatchSetStateInternal(fiber, queue, action, lane) { + var update = { + lane: lane, + revertLane: 0, + action: action, + hasEagerState: !1, + eagerState: null, + next: null + }; if (isRenderPhaseUpdate(fiber)) enqueueRenderPhaseUpdate(queue, update); else { var alternate = fiber.alternate; @@ -4695,19 +4710,24 @@ function dispatchSetState(fiber, queue, action) { eagerState = alternate(currentState, action); update.hasEagerState = !0; update.eagerState = eagerState; - if (objectIs(eagerState, currentState)) { - enqueueUpdate$1(fiber, queue, update, 0); - null === workInProgressRoot && finishQueueingConcurrentUpdates(); - return; - } + if (objectIs(eagerState, currentState)) + return ( + enqueueUpdate$1(fiber, queue, update, 0), + null === workInProgressRoot && finishQueueingConcurrentUpdates(), + !1 + ); } catch (error) { } finally { } action = enqueueConcurrentHookUpdate(fiber, queue, update, lane); - null !== action && - (scheduleUpdateOnFiber(action, fiber, lane), - entangleTransitionUpdate(action, queue, lane)); + if (null !== action) + return ( + scheduleUpdateOnFiber(action, fiber, lane), + entangleTransitionUpdate(action, queue, lane), + !0 + ); } + return !1; } function dispatchOptimisticSetState(fiber, throwIfDuringRender, queue, action) { action = { @@ -15171,14 +15191,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_1651 = React.version; if ( - "19.0.0-experimental-e740d4b1-20240919" !== + "19.0.0-experimental-5d19e1c8-20240923" !== isomorphicReactPackageVersion$jscomp$inline_1651 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1651, - "19.0.0-experimental-e740d4b1-20240919" + "19.0.0-experimental-5d19e1c8-20240923" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -15200,11 +15220,11 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2111 = { bundleType: 0, - version: "19.0.0-experimental-e740d4b1-20240919", + version: "19.0.0-experimental-5d19e1c8-20240923", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-experimental-e740d4b1-20240919" + reconcilerVersion: "19.0.0-experimental-5d19e1c8-20240923" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2112 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -15308,4 +15328,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.0.0-experimental-e740d4b1-20240919"; +exports.version = "19.0.0-experimental-5d19e1c8-20240923"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.development.js index 21c6ab22c1ae4..31949e978046b 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.development.js @@ -3766,6 +3766,22 @@ topLevelEventsToReactNames.set(domEventName, reactName); registerTwoPhaseEvent(reactName, [domEventName]); } + function logComponentEffect(fiber, startTime, endTime, selfTime) { + fiber = getComponentNameFromFiber(fiber); + null !== fiber && + supportsUserTiming && + ((reusableComponentDevToolDetails.color = + 1 > selfTime + ? "secondary-light" + : 100 > selfTime + ? "secondary" + : 500 > selfTime + ? "secondary-dark" + : "error"), + (reusableComponentOptions.start = startTime), + (reusableComponentOptions.end = endTime), + performance.measure(fiber, reusableComponentOptions)); + } function finishQueueingConcurrentUpdates() { for ( var endIndex = concurrentQueuesIndex, @@ -3970,6 +3986,22 @@ staleFamilies ); } + function startUpdateTimerByLane(lane) { + var JSCompiler_temp; + (JSCompiler_temp = 0 !== (lane & 3)) || + (JSCompiler_temp = 0 !== (lane & 60)); + JSCompiler_temp + ? 0 > blockingUpdateTime && + ((blockingUpdateTime = now()), + (blockingEventTime = resolveEventTimeStamp()), + (blockingEventType = resolveEventType())) + : 0 !== (lane & 4194176) && + 0 > transitionUpdateTime && + ((transitionUpdateTime = now()), + 0 > transitionStartTime && + ((transitionEventTime = resolveEventTimeStamp()), + (transitionEventType = resolveEventType()))); + } function pushNestedEffectDurations() { var prevEffectDuration = profilerEffectDuration; profilerEffectDuration = 0; @@ -4038,22 +4070,6 @@ for (var child = fiber.child; child; ) (fiber.actualDuration += child.actualDuration), (child = child.sibling); } - function logComponentEffect(fiber, startTime, endTime, selfTime) { - fiber = getComponentNameFromFiber(fiber); - null !== fiber && - supportsUserTiming && - ((reusableComponentDevToolDetails.color = - 1 > selfTime - ? "secondary-light" - : 100 > selfTime - ? "secondary" - : 500 > selfTime - ? "secondary-dark" - : "error"), - (reusableComponentOptions.start = startTime), - (reusableComponentOptions.end = endTime), - performance.measure(fiber, reusableComponentOptions)); - } function createCapturedValueAtFiber(value, source) { if ("object" === typeof value && null !== value) { var stack = CapturedStacks.get(value); @@ -5704,8 +5720,9 @@ } function pingEngtangledActionScope() { if ( - null !== currentEntangledListeners && - 0 === --currentEntangledPendingCount + 0 === --currentEntangledPendingCount && + (-1 < transitionUpdateTime || (transitionStartTime = -1.1), + null !== currentEntangledListeners) ) { null !== currentEntangledActionThenable && (currentEntangledActionThenable.status = "fulfilled"); @@ -7073,14 +7090,26 @@ returnValue, finishedState ); - dispatchSetState(fiber, queue, thenableForFinishedState); - } else dispatchSetState(fiber, queue, finishedState); + dispatchSetStateInternal( + fiber, + queue, + thenableForFinishedState, + requestUpdateLane(fiber) + ); + } else + dispatchSetStateInternal( + fiber, + queue, + finishedState, + requestUpdateLane(fiber) + ); } catch (error) { - dispatchSetState(fiber, queue, { - then: function () {}, - status: "rejected", - reason: error - }); + dispatchSetStateInternal( + fiber, + queue, + { then: function () {}, status: "rejected", reason: error }, + requestUpdateLane(fiber) + ); } finally { (ReactDOMSharedInternals.p = previousPriority), (ReactSharedInternals.T = prevTransition), @@ -7154,7 +7183,12 @@ "requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition." ); var resetStateQueue = ensureFormComponentIsStateful(formFiber).next.queue; - dispatchSetState(formFiber, resetStateQueue, {}); + dispatchSetStateInternal( + formFiber, + resetStateQueue, + {}, + requestUpdateLane(formFiber) + ); } function mountTransition() { var stateHook = mountStateImpl(!1); @@ -7226,7 +7260,8 @@ fiber = createUpdate(lane); var root = enqueueUpdate(provider, fiber, lane); null !== root && - (scheduleUpdateOnFiber(root, provider, lane), + (startUpdateTimerByLane(lane), + scheduleUpdateOnFiber(root, provider, lane), entangleTransitions(root, provider, lane)); provider = createCache(); null !== seedKey && @@ -7267,7 +7302,8 @@ JSCompiler_OptimizeArgumentsArray_p0 )), null !== action && - (scheduleUpdateOnFiber( + (startUpdateTimerByLane(JSCompiler_OptimizeArgumentsArray_p0), + scheduleUpdateOnFiber( action, fiber, JSCompiler_OptimizeArgumentsArray_p0 @@ -7289,8 +7325,16 @@ "State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()." ); JSCompiler_OptimizeArgumentsArray_p1 = requestUpdateLane(fiber); + dispatchSetStateInternal( + fiber, + queue, + action, + JSCompiler_OptimizeArgumentsArray_p1 + ) && startUpdateTimerByLane(JSCompiler_OptimizeArgumentsArray_p1); + } + function dispatchSetStateInternal(fiber, queue, action, lane) { var update = { - lane: JSCompiler_OptimizeArgumentsArray_p1, + lane: lane, revertLane: 0, action: action, hasEagerState: !1, @@ -7312,34 +7356,27 @@ eagerState = alternate(currentState, action); update.hasEagerState = !0; update.eagerState = eagerState; - if (objectIs(eagerState, currentState)) { - enqueueUpdate$1(fiber, queue, update, 0); - null === workInProgressRoot && finishQueueingConcurrentUpdates(); - return; - } + if (objectIs(eagerState, currentState)) + return ( + enqueueUpdate$1(fiber, queue, update, 0), + null === workInProgressRoot && + finishQueueingConcurrentUpdates(), + !1 + ); } catch (error) { } finally { ReactSharedInternals.H = prevDispatcher; } } - action = enqueueConcurrentHookUpdate( - fiber, - queue, - update, - JSCompiler_OptimizeArgumentsArray_p1 - ); - null !== action && - (scheduleUpdateOnFiber( - action, - fiber, - JSCompiler_OptimizeArgumentsArray_p1 - ), - entangleTransitionUpdate( - action, - queue, - JSCompiler_OptimizeArgumentsArray_p1 - )); + action = enqueueConcurrentHookUpdate(fiber, queue, update, lane); + if (null !== action) + return ( + scheduleUpdateOnFiber(action, fiber, lane), + entangleTransitionUpdate(action, queue, lane), + !0 + ); } + return !1; } function dispatchOptimisticSetState( fiber, @@ -7372,7 +7409,8 @@ 2 )), null !== throwIfDuringRender && - scheduleUpdateOnFiber(throwIfDuringRender, fiber, 2); + (startUpdateTimerByLane(2), + scheduleUpdateOnFiber(throwIfDuringRender, fiber, 2)); } function isRenderPhaseUpdate(fiber) { var alternate = fiber.alternate; @@ -8822,33 +8860,33 @@ return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_componentStack_2243; - var JSCompiler_object_inline_stack_2242 = workInProgress.pendingProps; + var JSCompiler_object_inline_componentStack_2267; + var JSCompiler_object_inline_stack_2266 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_message_2240 = !1; + var JSCompiler_object_inline_message_2264 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_componentStack_2243 = didSuspend) || - (JSCompiler_object_inline_componentStack_2243 = + (JSCompiler_object_inline_componentStack_2267 = didSuspend) || + (JSCompiler_object_inline_componentStack_2267 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_componentStack_2243 && - ((JSCompiler_object_inline_message_2240 = !0), + JSCompiler_object_inline_componentStack_2267 && + ((JSCompiler_object_inline_message_2264 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_componentStack_2243 = + JSCompiler_object_inline_componentStack_2267 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_message_2240 + JSCompiler_object_inline_message_2264 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_digest_2241 = nextHydratableInstance; + var JSCompiler_object_inline_digest_2265 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_digest_2241)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_digest_2265)) { c: { - var instance = JSCompiler_object_inline_digest_2241; + var instance = JSCompiler_object_inline_digest_2265; for ( JSCompiler_temp = rootOrSingletonContext; 8 !== instance.nodeType; @@ -8889,19 +8927,19 @@ JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_digest_2241 + JSCompiler_object_inline_digest_2265 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_digest_2241 = workInProgress.memoizedState; + JSCompiler_object_inline_digest_2265 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_digest_2241 && - ((JSCompiler_object_inline_digest_2241 = - JSCompiler_object_inline_digest_2241.dehydrated), - null !== JSCompiler_object_inline_digest_2241) + null !== JSCompiler_object_inline_digest_2265 && + ((JSCompiler_object_inline_digest_2265 = + JSCompiler_object_inline_digest_2265.dehydrated), + null !== JSCompiler_object_inline_digest_2265) ) return ( - JSCompiler_object_inline_digest_2241.data === + JSCompiler_object_inline_digest_2265.data === SUSPENSE_FALLBACK_START_DATA ? (workInProgress.lanes = 16) : (workInProgress.lanes = 536870912), @@ -8909,68 +8947,68 @@ ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_digest_2241 = - JSCompiler_object_inline_stack_2242.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2242.fallback; - if (JSCompiler_object_inline_message_2240) + JSCompiler_object_inline_digest_2265 = + JSCompiler_object_inline_stack_2266.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2266.fallback; + if (JSCompiler_object_inline_message_2264) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2242 = + (JSCompiler_object_inline_stack_2266 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_digest_2241, + JSCompiler_object_inline_digest_2265, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_message_2240 = workInProgress.child), - (JSCompiler_object_inline_message_2240.memoizedState = + (JSCompiler_object_inline_message_2264 = workInProgress.child), + (JSCompiler_object_inline_message_2264.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_message_2240.childLanes = + (JSCompiler_object_inline_message_2264.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2243, + JSCompiler_object_inline_componentStack_2267, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2242 + JSCompiler_object_inline_stack_2266 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2242.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2266.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2242 = + (JSCompiler_object_inline_stack_2266 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_digest_2241, + JSCompiler_object_inline_digest_2265, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_message_2240 = workInProgress.child), - (JSCompiler_object_inline_message_2240.memoizedState = + (JSCompiler_object_inline_message_2264 = workInProgress.child), + (JSCompiler_object_inline_message_2264.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_message_2240.childLanes = + (JSCompiler_object_inline_message_2264.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2243, + JSCompiler_object_inline_componentStack_2267, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2242 + JSCompiler_object_inline_stack_2266 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_digest_2241 + JSCompiler_object_inline_digest_2265 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_digest_2241 = prevState.dehydrated), - null !== JSCompiler_object_inline_digest_2241) + ((JSCompiler_object_inline_digest_2265 = prevState.dehydrated), + null !== JSCompiler_object_inline_digest_2265) ) { if (didSuspend) workInProgress.flags & 256 @@ -8987,94 +9025,94 @@ (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_message_2240 = - JSCompiler_object_inline_stack_2242.fallback), - (JSCompiler_object_inline_digest_2241 = workInProgress.mode), - (JSCompiler_object_inline_stack_2242 = + (JSCompiler_object_inline_message_2264 = + JSCompiler_object_inline_stack_2266.fallback), + (JSCompiler_object_inline_digest_2265 = workInProgress.mode), + (JSCompiler_object_inline_stack_2266 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2242.children + children: JSCompiler_object_inline_stack_2266.children }, - JSCompiler_object_inline_digest_2241 + JSCompiler_object_inline_digest_2265 )), - (JSCompiler_object_inline_message_2240 = + (JSCompiler_object_inline_message_2264 = createFiberFromFragment( - JSCompiler_object_inline_message_2240, - JSCompiler_object_inline_digest_2241, + JSCompiler_object_inline_message_2264, + JSCompiler_object_inline_digest_2265, renderLanes, null )), - (JSCompiler_object_inline_message_2240.flags |= 2), - (JSCompiler_object_inline_stack_2242.return = workInProgress), - (JSCompiler_object_inline_message_2240.return = workInProgress), - (JSCompiler_object_inline_stack_2242.sibling = - JSCompiler_object_inline_message_2240), - (workInProgress.child = JSCompiler_object_inline_stack_2242), + (JSCompiler_object_inline_message_2264.flags |= 2), + (JSCompiler_object_inline_stack_2266.return = workInProgress), + (JSCompiler_object_inline_message_2264.return = workInProgress), + (JSCompiler_object_inline_stack_2266.sibling = + JSCompiler_object_inline_message_2264), + (workInProgress.child = JSCompiler_object_inline_stack_2266), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2242 = workInProgress.child), - (JSCompiler_object_inline_stack_2242.memoizedState = + (JSCompiler_object_inline_stack_2266 = workInProgress.child), + (JSCompiler_object_inline_stack_2266.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2242.childLanes = + (JSCompiler_object_inline_stack_2266.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2243, + JSCompiler_object_inline_componentStack_2267, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = JSCompiler_object_inline_message_2240)); + (workInProgress = JSCompiler_object_inline_message_2264)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && console.error( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - JSCompiler_object_inline_digest_2241.data === + JSCompiler_object_inline_digest_2265.data === SUSPENSE_FALLBACK_START_DATA) ) { - JSCompiler_object_inline_componentStack_2243 = - JSCompiler_object_inline_digest_2241.nextSibling && - JSCompiler_object_inline_digest_2241.nextSibling.dataset; - if (JSCompiler_object_inline_componentStack_2243) { - JSCompiler_temp = JSCompiler_object_inline_componentStack_2243.dgst; - var message = JSCompiler_object_inline_componentStack_2243.msg; - instance = JSCompiler_object_inline_componentStack_2243.stck; + JSCompiler_object_inline_componentStack_2267 = + JSCompiler_object_inline_digest_2265.nextSibling && + JSCompiler_object_inline_digest_2265.nextSibling.dataset; + if (JSCompiler_object_inline_componentStack_2267) { + JSCompiler_temp = JSCompiler_object_inline_componentStack_2267.dgst; + var message = JSCompiler_object_inline_componentStack_2267.msg; + instance = JSCompiler_object_inline_componentStack_2267.stck; var componentStack = - JSCompiler_object_inline_componentStack_2243.cstck; + JSCompiler_object_inline_componentStack_2267.cstck; } - JSCompiler_object_inline_message_2240 = message; - JSCompiler_object_inline_digest_2241 = JSCompiler_temp; - JSCompiler_object_inline_stack_2242 = instance; - JSCompiler_object_inline_componentStack_2243 = componentStack; - "POSTPONE" !== JSCompiler_object_inline_digest_2241 && - ((JSCompiler_object_inline_message_2240 = - JSCompiler_object_inline_message_2240 - ? Error(JSCompiler_object_inline_message_2240) + JSCompiler_object_inline_message_2264 = message; + JSCompiler_object_inline_digest_2265 = JSCompiler_temp; + JSCompiler_object_inline_stack_2266 = instance; + JSCompiler_object_inline_componentStack_2267 = componentStack; + "POSTPONE" !== JSCompiler_object_inline_digest_2265 && + ((JSCompiler_object_inline_message_2264 = + JSCompiler_object_inline_message_2264 + ? Error(JSCompiler_object_inline_message_2264) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." )), - (JSCompiler_object_inline_message_2240.stack = - JSCompiler_object_inline_stack_2242 || ""), - (JSCompiler_object_inline_message_2240.digest = - JSCompiler_object_inline_digest_2241), - (JSCompiler_object_inline_componentStack_2243 = - void 0 === JSCompiler_object_inline_componentStack_2243 + (JSCompiler_object_inline_message_2264.stack = + JSCompiler_object_inline_stack_2266 || ""), + (JSCompiler_object_inline_message_2264.digest = + JSCompiler_object_inline_digest_2265), + (JSCompiler_object_inline_componentStack_2267 = + void 0 === JSCompiler_object_inline_componentStack_2267 ? null - : JSCompiler_object_inline_componentStack_2243), - "string" === typeof JSCompiler_object_inline_componentStack_2243 && + : JSCompiler_object_inline_componentStack_2267), + "string" === typeof JSCompiler_object_inline_componentStack_2267 && CapturedStacks.set( - JSCompiler_object_inline_message_2240, - JSCompiler_object_inline_componentStack_2243 + JSCompiler_object_inline_message_2264, + JSCompiler_object_inline_componentStack_2267 ), queueHydrationError({ - value: JSCompiler_object_inline_message_2240, + value: JSCompiler_object_inline_message_2264, source: null, - stack: JSCompiler_object_inline_componentStack_2243 + stack: JSCompiler_object_inline_componentStack_2267 })); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9089,25 +9127,25 @@ renderLanes, !1 ), - (JSCompiler_object_inline_componentStack_2243 = + (JSCompiler_object_inline_componentStack_2267 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_componentStack_2243) + didReceiveUpdate || JSCompiler_object_inline_componentStack_2267) ) { - JSCompiler_object_inline_componentStack_2243 = workInProgressRoot; - if (null !== JSCompiler_object_inline_componentStack_2243) { - JSCompiler_object_inline_stack_2242 = renderLanes & -renderLanes; - if (0 !== (JSCompiler_object_inline_stack_2242 & 42)) - JSCompiler_object_inline_stack_2242 = 1; + JSCompiler_object_inline_componentStack_2267 = workInProgressRoot; + if (null !== JSCompiler_object_inline_componentStack_2267) { + JSCompiler_object_inline_stack_2266 = renderLanes & -renderLanes; + if (0 !== (JSCompiler_object_inline_stack_2266 & 42)) + JSCompiler_object_inline_stack_2266 = 1; else - switch (JSCompiler_object_inline_stack_2242) { + switch (JSCompiler_object_inline_stack_2266) { case 2: - JSCompiler_object_inline_stack_2242 = 1; + JSCompiler_object_inline_stack_2266 = 1; break; case 8: - JSCompiler_object_inline_stack_2242 = 4; + JSCompiler_object_inline_stack_2266 = 4; break; case 32: - JSCompiler_object_inline_stack_2242 = 16; + JSCompiler_object_inline_stack_2266 = 16; break; case 128: case 256: @@ -9128,40 +9166,40 @@ case 8388608: case 16777216: case 33554432: - JSCompiler_object_inline_stack_2242 = 64; + JSCompiler_object_inline_stack_2266 = 64; break; case 268435456: - JSCompiler_object_inline_stack_2242 = 134217728; + JSCompiler_object_inline_stack_2266 = 134217728; break; default: - JSCompiler_object_inline_stack_2242 = 0; + JSCompiler_object_inline_stack_2266 = 0; } - JSCompiler_object_inline_stack_2242 = + JSCompiler_object_inline_stack_2266 = 0 !== - (JSCompiler_object_inline_stack_2242 & - (JSCompiler_object_inline_componentStack_2243.suspendedLanes | + (JSCompiler_object_inline_stack_2266 & + (JSCompiler_object_inline_componentStack_2267.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2242; + : JSCompiler_object_inline_stack_2266; if ( - 0 !== JSCompiler_object_inline_stack_2242 && - JSCompiler_object_inline_stack_2242 !== prevState.retryLane + 0 !== JSCompiler_object_inline_stack_2266 && + JSCompiler_object_inline_stack_2266 !== prevState.retryLane ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2242), + ((prevState.retryLane = JSCompiler_object_inline_stack_2266), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2242 + JSCompiler_object_inline_stack_2266 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_componentStack_2243, + JSCompiler_object_inline_componentStack_2267, current, - JSCompiler_object_inline_stack_2242 + JSCompiler_object_inline_stack_2266 ), SelectiveHydrationException) ); } - JSCompiler_object_inline_digest_2241.data === + JSCompiler_object_inline_digest_2265.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9169,7 +9207,7 @@ renderLanes ); } else - JSCompiler_object_inline_digest_2241.data === + JSCompiler_object_inline_digest_2265.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 128), (workInProgress.child = current.child), @@ -9177,12 +9215,12 @@ null, current )), - (JSCompiler_object_inline_digest_2241._reactRetry = + (JSCompiler_object_inline_digest_2265._reactRetry = workInProgress), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_digest_2241.nextSibling + JSCompiler_object_inline_digest_2265.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9200,54 +9238,54 @@ (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2242.children + JSCompiler_object_inline_stack_2266.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_message_2240) + if (JSCompiler_object_inline_message_2264) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_message_2240 = - JSCompiler_object_inline_stack_2242.fallback), - (JSCompiler_object_inline_digest_2241 = workInProgress.mode), + (JSCompiler_object_inline_message_2264 = + JSCompiler_object_inline_stack_2266.fallback), + (JSCompiler_object_inline_digest_2265 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2242 = createWorkInProgress( + (JSCompiler_object_inline_stack_2266 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2242.children + children: JSCompiler_object_inline_stack_2266.children } )), - (JSCompiler_object_inline_stack_2242.subtreeFlags = + (JSCompiler_object_inline_stack_2266.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280), null !== instance - ? (JSCompiler_object_inline_message_2240 = createWorkInProgress( + ? (JSCompiler_object_inline_message_2264 = createWorkInProgress( instance, - JSCompiler_object_inline_message_2240 + JSCompiler_object_inline_message_2264 )) - : ((JSCompiler_object_inline_message_2240 = createFiberFromFragment( - JSCompiler_object_inline_message_2240, - JSCompiler_object_inline_digest_2241, + : ((JSCompiler_object_inline_message_2264 = createFiberFromFragment( + JSCompiler_object_inline_message_2264, + JSCompiler_object_inline_digest_2265, renderLanes, null )), - (JSCompiler_object_inline_message_2240.flags |= 2)), - (JSCompiler_object_inline_message_2240.return = workInProgress), - (JSCompiler_object_inline_stack_2242.return = workInProgress), - (JSCompiler_object_inline_stack_2242.sibling = - JSCompiler_object_inline_message_2240), - (workInProgress.child = JSCompiler_object_inline_stack_2242), - (JSCompiler_object_inline_stack_2242 = - JSCompiler_object_inline_message_2240), - (JSCompiler_object_inline_message_2240 = workInProgress.child), - (JSCompiler_object_inline_digest_2241 = current.child.memoizedState), - null === JSCompiler_object_inline_digest_2241 - ? (JSCompiler_object_inline_digest_2241 = + (JSCompiler_object_inline_message_2264.flags |= 2)), + (JSCompiler_object_inline_message_2264.return = workInProgress), + (JSCompiler_object_inline_stack_2266.return = workInProgress), + (JSCompiler_object_inline_stack_2266.sibling = + JSCompiler_object_inline_message_2264), + (workInProgress.child = JSCompiler_object_inline_stack_2266), + (JSCompiler_object_inline_stack_2266 = + JSCompiler_object_inline_message_2264), + (JSCompiler_object_inline_message_2264 = workInProgress.child), + (JSCompiler_object_inline_digest_2265 = current.child.memoizedState), + null === JSCompiler_object_inline_digest_2265 + ? (JSCompiler_object_inline_digest_2265 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_digest_2241.cachePool), + JSCompiler_object_inline_digest_2265.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9255,38 +9293,38 @@ ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_digest_2241 = { + (JSCompiler_object_inline_digest_2265 = { baseLanes: - JSCompiler_object_inline_digest_2241.baseLanes | renderLanes, + JSCompiler_object_inline_digest_2265.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_message_2240.memoizedState = - JSCompiler_object_inline_digest_2241), - (JSCompiler_object_inline_message_2240.childLanes = + (JSCompiler_object_inline_message_2264.memoizedState = + JSCompiler_object_inline_digest_2265), + (JSCompiler_object_inline_message_2264.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2243, + JSCompiler_object_inline_componentStack_2267, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2242 + JSCompiler_object_inline_stack_2266 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2242.children + children: JSCompiler_object_inline_stack_2266.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_componentStack_2243 = + ((JSCompiler_object_inline_componentStack_2267 = workInProgress.deletions), - null === JSCompiler_object_inline_componentStack_2243 + null === JSCompiler_object_inline_componentStack_2267 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_componentStack_2243.push(current)); + : JSCompiler_object_inline_componentStack_2267.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -14939,18 +14977,94 @@ workInProgress = null; } } + function finalizeRender(lanes, finalizationTime) { + if (0 !== (lanes & 3) || 0 !== (lanes & 60)) + 0 <= blockingUpdateTime && + blockingUpdateTime < finalizationTime && + (blockingUpdateTime = finalizationTime), + 0 <= blockingEventTime && + blockingEventTime < finalizationTime && + (blockingEventTime = finalizationTime); + 0 !== (lanes & 4194176) && + (0 <= transitionStartTime && + transitionStartTime < finalizationTime && + (transitionStartTime = finalizationTime), + 0 <= transitionUpdateTime && + transitionUpdateTime < finalizationTime && + (transitionUpdateTime = finalizationTime), + 0 <= transitionEventTime && + transitionEventTime < finalizationTime && + (transitionEventTime = finalizationTime)); + } function prepareFreshStack(root, lanes) { + renderStartTime = now(); + finalizeRender(workInProgressRootRenderLanes, renderStartTime); + if (0 !== (lanes & 3) || 0 !== (lanes & 60)) { + var updateTime = blockingUpdateTime, + eventTime = blockingEventTime, + eventType = blockingEventType, + renderStartTime$jscomp$0 = renderStartTime; + supportsUserTiming && + ((reusableComponentDevToolDetails.track = "Blocking"), + 0 < eventTime && + null !== eventType && + ((reusableComponentDevToolDetails.color = "secondary-dark"), + (reusableComponentOptions.start = eventTime), + (reusableComponentOptions.end = + 0 < updateTime ? updateTime : renderStartTime$jscomp$0), + performance.measure(eventType, reusableComponentOptions)), + 0 < updateTime && + ((reusableComponentDevToolDetails.color = "primary-light"), + (reusableComponentOptions.start = updateTime), + (reusableComponentOptions.end = renderStartTime$jscomp$0), + performance.measure("Blocked", reusableComponentOptions))); + blockingUpdateTime = -1.1; + } + if (0 !== (lanes & 4194176)) { + updateTime = transitionStartTime; + eventTime = transitionUpdateTime; + eventType = transitionEventTime; + renderStartTime$jscomp$0 = transitionEventType; + var renderStartTime$jscomp$1 = renderStartTime; + supportsUserTiming && + ((reusableComponentDevToolDetails.track = "Transition"), + 0 < eventType && + null !== renderStartTime$jscomp$0 && + ((reusableComponentDevToolDetails.color = "secondary-dark"), + (reusableComponentOptions.start = eventType), + (reusableComponentOptions.end = + 0 < updateTime + ? updateTime + : 0 < eventTime + ? eventTime + : renderStartTime$jscomp$1), + performance.measure( + renderStartTime$jscomp$0, + reusableComponentOptions + )), + 0 < updateTime && + ((reusableComponentDevToolDetails.color = "primary-dark"), + (reusableComponentOptions.start = updateTime), + (reusableComponentOptions.end = + 0 < eventTime ? eventTime : renderStartTime$jscomp$1), + performance.measure("Action", reusableComponentOptions)), + 0 < eventTime && + ((reusableComponentDevToolDetails.color = "primary-light"), + (reusableComponentOptions.start = eventTime), + (reusableComponentOptions.end = renderStartTime$jscomp$1), + performance.measure("Blocked", reusableComponentOptions))); + transitionUpdateTime = transitionStartTime = -1.1; + } root.finishedWork = null; root.finishedLanes = 0; - var timeoutHandle = root.timeoutHandle; - timeoutHandle !== noTimeout && - ((root.timeoutHandle = noTimeout), cancelTimeout(timeoutHandle)); - timeoutHandle = root.cancelPendingCommit; - null !== timeoutHandle && - ((root.cancelPendingCommit = null), timeoutHandle()); + updateTime = root.timeoutHandle; + updateTime !== noTimeout && + ((root.timeoutHandle = noTimeout), cancelTimeout(updateTime)); + updateTime = root.cancelPendingCommit; + null !== updateTime && ((root.cancelPendingCommit = null), updateTime()); resetWorkInProgressStack(); workInProgressRoot = root; - workInProgress = timeoutHandle = createWorkInProgress(root.current, null); + workInProgress = updateTime = createWorkInProgress(root.current, null); workInProgressRootRenderLanes = lanes; workInProgressSuspendedReason = NotSuspended; workInProgressThrownValue = null; @@ -14967,22 +15081,17 @@ null; workInProgressRootDidIncludeRecursiveRenderUpdate = !1; 0 !== (lanes & 8) && (lanes |= lanes & 32); - var allEntangledLanes = root.entangledLanes; - if (0 !== allEntangledLanes) - for ( - root = root.entanglements, allEntangledLanes &= lanes; - 0 < allEntangledLanes; - - ) { - var index = 31 - clz32(allEntangledLanes), - lane = 1 << index; - lanes |= root[index]; - allEntangledLanes &= ~lane; - } + eventTime = root.entangledLanes; + if (0 !== eventTime) + for (root = root.entanglements, eventTime &= lanes; 0 < eventTime; ) + (eventType = 31 - clz32(eventTime)), + (renderStartTime$jscomp$0 = 1 << eventType), + (lanes |= root[eventType]), + (eventTime &= ~renderStartTime$jscomp$0); entangledRenderLanes = lanes; finishQueueingConcurrentUpdates(); ReactStrictModeWarnings.discardPendingWarnings(); - return timeoutHandle; + return updateTime; } function handleThrow(root, thrownValue) { currentlyRenderingFiber$1 = null; @@ -15593,12 +15702,12 @@ finishedWork++ ) (remainingLanes = recoverableErrors[finishedWork]), - (transitions = makeErrorInfo(remainingLanes.stack)), + (spawnedLane = makeErrorInfo(remainingLanes.stack)), runWithFiberInDEV( remainingLanes.source, renderPriorityLevel, remainingLanes.value, - transitions + spawnedLane ); 0 !== (pendingPassiveEffectsLanes & 3) && flushPassiveEffects(); remainingLanes = root.pendingLanes; @@ -15610,6 +15719,7 @@ ? nestedUpdateCount++ : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))) : (nestedUpdateCount = 0); + transitions || finalizeRender(lanes, now$1()); flushSyncWorkAcrossRoots_impl(0, !1); return null; } @@ -15689,6 +15799,7 @@ ); commitDoubleInvokeEffectsInDEV(root$jscomp$0); executionContext = prevExecutionContext; + finalizeRender(lanes, now$1()); flushSyncWorkAcrossRoots_impl(0, !1); didScheduleUpdateDuringPassiveEffects ? root$jscomp$0 === rootWithPassiveNestedUpdates @@ -19260,6 +19371,14 @@ currentPopstateTransitionEvent = null; return !1; } + function resolveEventType() { + var event = window.event; + return event ? event.type : null; + } + function resolveEventTimeStamp() { + var event = window.event; + return event ? event.timeStamp : -1.1; + } function handleErrorInNextTick(error) { setTimeout(function () { throw error; @@ -20480,7 +20599,8 @@ (container.callback = callback)); element = enqueueUpdate(rootFiber, container, lane); null !== element && - (scheduleUpdateOnFiber(element, rootFiber, lane), + (startUpdateTimerByLane(lane), + scheduleUpdateOnFiber(element, rootFiber, lane), entangleTransitions(element, rootFiber, lane)); } function markRetryLaneImpl(fiber, retryLane) { @@ -22394,6 +22514,20 @@ "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll scrollEnd toggle touchMove waiting wheel".split( " " ), + supportsUserTiming = + "undefined" !== typeof performance && + "function" === typeof performance.measure, + reusableComponentDevToolDetails = { + dataType: "track-entry", + color: "primary", + track: "Blocking", + trackGroup: "Components \u269b" + }, + reusableComponentOptions = { + start: -0, + end: -0, + detail: { devtools: reusableComponentDevToolDetails } + }, OffscreenVisible = 1, OffscreenDetached = 2, OffscreenPassiveEffectsConnected = 4, @@ -22411,6 +22545,7 @@ StrictEffectsMode = 16, NoStrictPassiveEffectsMode = 64, now = Scheduler.unstable_now, + renderStartTime = -0, completeTime = -0, commitTime = -0, profilerStartTime = -1.1, @@ -22418,22 +22553,15 @@ componentEffectDuration = -0, componentEffectStartTime = -1.1, componentEffectEndTime = -1.1, + blockingUpdateTime = -1.1, + blockingEventTime = -1.1, + blockingEventType = null, + transitionStartTime = -1.1, + transitionUpdateTime = -1.1, + transitionEventTime = -1.1, + transitionEventType = null, currentUpdateIsNested = !1, nestedUpdateScheduled = !1, - supportsUserTiming = - "undefined" !== typeof performance && - "function" === typeof performance.measure, - reusableComponentDevToolDetails = { - dataType: "track-entry", - color: "primary", - track: "Blocking", - trackGroup: "Components \u269b" - }, - reusableComponentOptions = { - start: -0, - end: -0, - detail: { devtools: reusableComponentDevToolDetails } - }, ReactStrictModeWarnings = { recordUnsafeLifecycleWarnings: function () {}, flushPendingUnsafeLifecycleWarnings: function () {}, @@ -22889,7 +23017,12 @@ "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && - entangleAsyncAction(transition, returnValue); + (0 > transitionStartTime && + 0 > transitionUpdateTime && + ((transitionStartTime = now()), + (transitionEventTime = resolveEventTimeStamp()), + (transitionEventType = resolveEventType())), + entangleAsyncAction(transition, returnValue)); null !== prevOnStartTransitionFinish && prevOnStartTransitionFinish(transition, returnValue); }; @@ -24054,7 +24187,8 @@ (warnOnInvalidCallback(callback), (update.callback = callback)); payload = enqueueUpdate(inst, update, lane); null !== payload && - (scheduleUpdateOnFiber(payload, inst, lane), + (startUpdateTimerByLane(lane), + scheduleUpdateOnFiber(payload, inst, lane), entangleTransitions(payload, inst, lane)); }, enqueueReplaceState: function (inst, payload, callback) { @@ -24068,7 +24202,8 @@ (warnOnInvalidCallback(callback), (update.callback = callback)); payload = enqueueUpdate(inst, update, lane); null !== payload && - (scheduleUpdateOnFiber(payload, inst, lane), + (startUpdateTimerByLane(lane), + scheduleUpdateOnFiber(payload, inst, lane), entangleTransitions(payload, inst, lane)); }, enqueueForceUpdate: function (inst, callback) { @@ -24081,7 +24216,8 @@ (warnOnInvalidCallback(callback), (update.callback = callback)); callback = enqueueUpdate(inst, update, lane); null !== callback && - (scheduleUpdateOnFiber(callback, inst, lane), + (startUpdateTimerByLane(lane), + scheduleUpdateOnFiber(callback, inst, lane), entangleTransitions(callback, inst, lane)); } }, @@ -24795,11 +24931,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-e740d4b1-20240919" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-5d19e1c8-20240923" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-experimental-e740d4b1-20240919\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-5d19e1c8-20240923\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -24836,11 +24972,11 @@ !(function () { var internals = { bundleType: 1, - version: "19.0.0-experimental-e740d4b1-20240919", + version: "19.0.0-experimental-5d19e1c8-20240923", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-experimental-e740d4b1-20240919" + reconcilerVersion: "19.0.0-experimental-5d19e1c8-20240923" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -25312,7 +25448,7 @@ exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-experimental-e740d4b1-20240919"; + exports.version = "19.0.0-experimental-5d19e1c8-20240923"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.profiling.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.profiling.js index ff3dbc2bbba9a..a502438334dff 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.profiling.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.profiling.js @@ -2089,19 +2089,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) { } var isInputEventSupported = !1; if (canUseDOM) { - var JSCompiler_inline_result$jscomp$296; + var JSCompiler_inline_result$jscomp$297; if (canUseDOM) { - var isSupported$jscomp$inline_432 = "oninput" in document; - if (!isSupported$jscomp$inline_432) { - var element$jscomp$inline_433 = document.createElement("div"); - element$jscomp$inline_433.setAttribute("oninput", "return;"); - isSupported$jscomp$inline_432 = - "function" === typeof element$jscomp$inline_433.oninput; + var isSupported$jscomp$inline_433 = "oninput" in document; + if (!isSupported$jscomp$inline_433) { + var element$jscomp$inline_434 = document.createElement("div"); + element$jscomp$inline_434.setAttribute("oninput", "return;"); + isSupported$jscomp$inline_433 = + "function" === typeof element$jscomp$inline_434.oninput; } - JSCompiler_inline_result$jscomp$296 = isSupported$jscomp$inline_432; - } else JSCompiler_inline_result$jscomp$296 = !1; + JSCompiler_inline_result$jscomp$297 = isSupported$jscomp$inline_433; + } else JSCompiler_inline_result$jscomp$297 = !1; isInputEventSupported = - JSCompiler_inline_result$jscomp$296 && + JSCompiler_inline_result$jscomp$297 && (!document.documentMode || 9 < document.documentMode); } function stopWatchingForValueChange() { @@ -2439,6 +2439,36 @@ function registerSimpleEvent(domEventName, reactName) { topLevelEventsToReactNames.set(domEventName, reactName); registerTwoPhaseEvent(reactName, [domEventName]); } +var supportsUserTiming = + "undefined" !== typeof performance && + "function" === typeof performance.measure, + reusableComponentDevToolDetails = { + dataType: "track-entry", + color: "primary", + track: "Blocking", + trackGroup: "Components \u269b" + }, + reusableComponentOptions = { + start: -0, + end: -0, + detail: { devtools: reusableComponentDevToolDetails } + }; +function logComponentEffect(fiber, startTime, endTime, selfTime) { + fiber = getComponentNameFromFiber(fiber); + null !== fiber && + supportsUserTiming && + ((reusableComponentDevToolDetails.color = + 1 > selfTime + ? "secondary-light" + : 100 > selfTime + ? "secondary" + : 500 > selfTime + ? "secondary-dark" + : "error"), + (reusableComponentOptions.start = startTime), + (reusableComponentOptions.end = endTime), + performance.measure(fiber, reusableComponentOptions)); +} var concurrentQueues = [], concurrentQueuesIndex = 0, concurrentlyUpdatedLanes = 0; @@ -2518,13 +2548,36 @@ function getRootForUpdatedFiber(sourceFiber) { } var emptyContextObject = {}, now = Scheduler.unstable_now, + renderStartTime = -0, completeTime = -0, commitTime = -0, profilerStartTime = -1.1, profilerEffectDuration = -0, componentEffectDuration = -0, componentEffectStartTime = -1.1, - componentEffectEndTime = -1.1; + componentEffectEndTime = -1.1, + blockingUpdateTime = -1.1, + blockingEventTime = -1.1, + blockingEventType = null, + transitionStartTime = -1.1, + transitionUpdateTime = -1.1, + transitionEventTime = -1.1, + transitionEventType = null; +function startUpdateTimerByLane(lane) { + var JSCompiler_temp; + (JSCompiler_temp = 0 !== (lane & 3)) || (JSCompiler_temp = 0 !== (lane & 60)); + JSCompiler_temp + ? 0 > blockingUpdateTime && + ((blockingUpdateTime = now()), + (blockingEventTime = resolveEventTimeStamp()), + (blockingEventType = resolveEventType())) + : 0 !== (lane & 4194176) && + 0 > transitionUpdateTime && + ((transitionUpdateTime = now()), + 0 > transitionStartTime && + ((transitionEventTime = resolveEventTimeStamp()), + (transitionEventType = resolveEventType()))); +} function pushNestedEffectDurations() { var prevEffectDuration = profilerEffectDuration; profilerEffectDuration = 0; @@ -2593,36 +2646,6 @@ function transferActualDuration(fiber) { for (var child = fiber.child; child; ) (fiber.actualDuration += child.actualDuration), (child = child.sibling); } -var supportsUserTiming = - "undefined" !== typeof performance && - "function" === typeof performance.measure, - reusableComponentDevToolDetails = { - dataType: "track-entry", - color: "primary", - track: "Blocking", - trackGroup: "Components \u269b" - }, - reusableComponentOptions = { - start: -0, - end: -0, - detail: { devtools: reusableComponentDevToolDetails } - }; -function logComponentEffect(fiber, startTime, endTime, selfTime) { - fiber = getComponentNameFromFiber(fiber); - null !== fiber && - supportsUserTiming && - ((reusableComponentDevToolDetails.color = - 1 > selfTime - ? "secondary-light" - : 100 > selfTime - ? "secondary" - : 500 > selfTime - ? "secondary-dark" - : "error"), - (reusableComponentOptions.start = startTime), - (reusableComponentOptions.end = endTime), - performance.measure(fiber, reusableComponentOptions)); -} var CapturedStacks = new WeakMap(); function createCapturedValueAtFiber(value, source) { if ("object" === typeof value && null !== value) { @@ -3816,8 +3839,9 @@ function entangleAsyncAction(transition, thenable) { } function pingEngtangledActionScope() { if ( - null !== currentEntangledListeners && - 0 === --currentEntangledPendingCount + 0 === --currentEntangledPendingCount && + (-1 < transitionUpdateTime || (transitionStartTime = -1.1), + null !== currentEntangledListeners) ) { null !== currentEntangledActionThenable && (currentEntangledActionThenable.status = "fulfilled"); @@ -3858,7 +3882,12 @@ ReactSharedInternals.S = function (transition, returnValue) { "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && - entangleAsyncAction(transition, returnValue); + (0 > transitionStartTime && + 0 > transitionUpdateTime && + ((transitionStartTime = now()), + (transitionEventTime = resolveEventTimeStamp()), + (transitionEventType = resolveEventType())), + entangleAsyncAction(transition, returnValue)); null !== prevOnStartTransitionFinish && prevOnStartTransitionFinish(transition, returnValue); }; @@ -4769,14 +4798,26 @@ function startTransition(fiber, queue, pendingState, finishedState, callback) { returnValue, finishedState ); - dispatchSetState(fiber, queue, thenableForFinishedState); - } else dispatchSetState(fiber, queue, finishedState); + dispatchSetStateInternal( + fiber, + queue, + thenableForFinishedState, + requestUpdateLane(fiber) + ); + } else + dispatchSetStateInternal( + fiber, + queue, + finishedState, + requestUpdateLane(fiber) + ); } catch (error) { - dispatchSetState(fiber, queue, { - then: function () {}, - status: "rejected", - reason: error - }); + dispatchSetStateInternal( + fiber, + queue, + { then: function () {}, status: "rejected", reason: error }, + requestUpdateLane() + ); } finally { (ReactDOMSharedInternals.p = previousPriority), (ReactSharedInternals.T = prevTransition); @@ -4836,7 +4877,7 @@ function ensureFormComponentIsStateful(formFiber) { } function requestFormReset$2(formFiber) { var resetStateQueue = ensureFormComponentIsStateful(formFiber).next.queue; - dispatchSetState(formFiber, resetStateQueue, {}); + dispatchSetStateInternal(formFiber, resetStateQueue, {}, requestUpdateLane()); } function useHostTransitionStatus() { return readContext(HostTransitionContext); @@ -4856,7 +4897,8 @@ function refreshCache(fiber, seedKey, seedValue) { fiber = createUpdate(lane); var root$66 = enqueueUpdate(provider, fiber, lane); null !== root$66 && - (scheduleUpdateOnFiber(root$66, provider, lane), + (startUpdateTimerByLane(lane), + scheduleUpdateOnFiber(root$66, provider, lane), entangleTransitions(root$66, provider, lane)); provider = createCache(); null !== seedKey && @@ -4883,19 +4925,24 @@ function dispatchReducerAction(fiber, queue, action) { ? enqueueRenderPhaseUpdate(queue, action) : ((action = enqueueConcurrentHookUpdate(fiber, queue, action, lane)), null !== action && - (scheduleUpdateOnFiber(action, fiber, lane), + (startUpdateTimerByLane(lane), + scheduleUpdateOnFiber(action, fiber, lane), entangleTransitionUpdate(action, queue, lane))); } function dispatchSetState(fiber, queue, action) { - var lane = requestUpdateLane(), - update = { - lane: lane, - revertLane: 0, - action: action, - hasEagerState: !1, - eagerState: null, - next: null - }; + var lane = requestUpdateLane(); + dispatchSetStateInternal(fiber, queue, action, lane) && + startUpdateTimerByLane(lane); +} +function dispatchSetStateInternal(fiber, queue, action, lane) { + var update = { + lane: lane, + revertLane: 0, + action: action, + hasEagerState: !1, + eagerState: null, + next: null + }; if (isRenderPhaseUpdate(fiber)) enqueueRenderPhaseUpdate(queue, update); else { var alternate = fiber.alternate; @@ -4909,19 +4956,24 @@ function dispatchSetState(fiber, queue, action) { eagerState = alternate(currentState, action); update.hasEagerState = !0; update.eagerState = eagerState; - if (objectIs(eagerState, currentState)) { - enqueueUpdate$1(fiber, queue, update, 0); - null === workInProgressRoot && finishQueueingConcurrentUpdates(); - return; - } + if (objectIs(eagerState, currentState)) + return ( + enqueueUpdate$1(fiber, queue, update, 0), + null === workInProgressRoot && finishQueueingConcurrentUpdates(), + !1 + ); } catch (error) { } finally { } action = enqueueConcurrentHookUpdate(fiber, queue, update, lane); - null !== action && - (scheduleUpdateOnFiber(action, fiber, lane), - entangleTransitionUpdate(action, queue, lane)); + if (null !== action) + return ( + scheduleUpdateOnFiber(action, fiber, lane), + entangleTransitionUpdate(action, queue, lane), + !0 + ); } + return !1; } function dispatchOptimisticSetState(fiber, throwIfDuringRender, queue, action) { action = { @@ -4942,7 +4994,8 @@ function dispatchOptimisticSetState(fiber, throwIfDuringRender, queue, action) { 2 )), null !== throwIfDuringRender && - scheduleUpdateOnFiber(throwIfDuringRender, fiber, 2); + (startUpdateTimerByLane(2), + scheduleUpdateOnFiber(throwIfDuringRender, fiber, 2)); } function isRenderPhaseUpdate(fiber) { var alternate = fiber.alternate; @@ -5318,7 +5371,8 @@ var classComponentUpdater = { void 0 !== callback && null !== callback && (update.callback = callback); payload = enqueueUpdate(inst, update, lane); null !== payload && - (scheduleUpdateOnFiber(payload, inst, lane), + (startUpdateTimerByLane(lane), + scheduleUpdateOnFiber(payload, inst, lane), entangleTransitions(payload, inst, lane)); }, enqueueReplaceState: function (inst, payload, callback) { @@ -5330,7 +5384,8 @@ var classComponentUpdater = { void 0 !== callback && null !== callback && (update.callback = callback); payload = enqueueUpdate(inst, update, lane); null !== payload && - (scheduleUpdateOnFiber(payload, inst, lane), + (startUpdateTimerByLane(lane), + scheduleUpdateOnFiber(payload, inst, lane), entangleTransitions(payload, inst, lane)); }, enqueueForceUpdate: function (inst, callback) { @@ -5341,7 +5396,8 @@ var classComponentUpdater = { void 0 !== callback && null !== callback && (update.callback = callback); callback = enqueueUpdate(inst, update, lane); null !== callback && - (scheduleUpdateOnFiber(callback, inst, lane), + (startUpdateTimerByLane(lane), + scheduleUpdateOnFiber(callback, inst, lane), entangleTransitions(callback, inst, lane)); } }; @@ -11347,18 +11403,93 @@ function resetWorkInProgressStack() { workInProgress = null; } } +function finalizeRender(lanes, finalizationTime) { + if (0 !== (lanes & 3) || 0 !== (lanes & 60)) + 0 <= blockingUpdateTime && + blockingUpdateTime < finalizationTime && + (blockingUpdateTime = finalizationTime), + 0 <= blockingEventTime && + blockingEventTime < finalizationTime && + (blockingEventTime = finalizationTime); + 0 !== (lanes & 4194176) && + (0 <= transitionStartTime && + transitionStartTime < finalizationTime && + (transitionStartTime = finalizationTime), + 0 <= transitionUpdateTime && + transitionUpdateTime < finalizationTime && + (transitionUpdateTime = finalizationTime), + 0 <= transitionEventTime && + transitionEventTime < finalizationTime && + (transitionEventTime = finalizationTime)); +} function prepareFreshStack(root, lanes) { + renderStartTime = now(); + finalizeRender(workInProgressRootRenderLanes, renderStartTime); + if (0 !== (lanes & 3) || 0 !== (lanes & 60)) { + var updateTime = blockingUpdateTime, + eventTime = blockingEventTime, + eventType = blockingEventType, + renderStartTime$jscomp$0 = renderStartTime; + supportsUserTiming && + ((reusableComponentDevToolDetails.track = "Blocking"), + 0 < eventTime && + null !== eventType && + ((reusableComponentDevToolDetails.color = "secondary-dark"), + (reusableComponentOptions.start = eventTime), + (reusableComponentOptions.end = + 0 < updateTime ? updateTime : renderStartTime$jscomp$0), + performance.measure(eventType, reusableComponentOptions)), + 0 < updateTime && + ((reusableComponentDevToolDetails.color = "primary-light"), + (reusableComponentOptions.start = updateTime), + (reusableComponentOptions.end = renderStartTime$jscomp$0), + performance.measure("Blocked", reusableComponentOptions))); + blockingUpdateTime = -1.1; + } + if (0 !== (lanes & 4194176)) { + updateTime = transitionStartTime; + eventTime = transitionUpdateTime; + eventType = transitionEventTime; + renderStartTime$jscomp$0 = transitionEventType; + var renderStartTime$jscomp$1 = renderStartTime; + supportsUserTiming && + ((reusableComponentDevToolDetails.track = "Transition"), + 0 < eventType && + null !== renderStartTime$jscomp$0 && + ((reusableComponentDevToolDetails.color = "secondary-dark"), + (reusableComponentOptions.start = eventType), + (reusableComponentOptions.end = + 0 < updateTime + ? updateTime + : 0 < eventTime + ? eventTime + : renderStartTime$jscomp$1), + performance.measure( + renderStartTime$jscomp$0, + reusableComponentOptions + )), + 0 < updateTime && + ((reusableComponentDevToolDetails.color = "primary-dark"), + (reusableComponentOptions.start = updateTime), + (reusableComponentOptions.end = + 0 < eventTime ? eventTime : renderStartTime$jscomp$1), + performance.measure("Action", reusableComponentOptions)), + 0 < eventTime && + ((reusableComponentDevToolDetails.color = "primary-light"), + (reusableComponentOptions.start = eventTime), + (reusableComponentOptions.end = renderStartTime$jscomp$1), + performance.measure("Blocked", reusableComponentOptions))); + transitionUpdateTime = transitionStartTime = -1.1; + } root.finishedWork = null; root.finishedLanes = 0; - var timeoutHandle = root.timeoutHandle; - -1 !== timeoutHandle && - ((root.timeoutHandle = -1), cancelTimeout(timeoutHandle)); - timeoutHandle = root.cancelPendingCommit; - null !== timeoutHandle && - ((root.cancelPendingCommit = null), timeoutHandle()); + updateTime = root.timeoutHandle; + -1 !== updateTime && ((root.timeoutHandle = -1), cancelTimeout(updateTime)); + updateTime = root.cancelPendingCommit; + null !== updateTime && ((root.cancelPendingCommit = null), updateTime()); resetWorkInProgressStack(); workInProgressRoot = root; - workInProgress = timeoutHandle = createWorkInProgress(root.current, null); + workInProgress = updateTime = createWorkInProgress(root.current, null); workInProgressRootRenderLanes = lanes; workInProgressSuspendedReason = 0; workInProgressThrownValue = null; @@ -11375,21 +11506,16 @@ function prepareFreshStack(root, lanes) { null; workInProgressRootDidIncludeRecursiveRenderUpdate = !1; 0 !== (lanes & 8) && (lanes |= lanes & 32); - var allEntangledLanes = root.entangledLanes; - if (0 !== allEntangledLanes) - for ( - root = root.entanglements, allEntangledLanes &= lanes; - 0 < allEntangledLanes; - - ) { - var index$4 = 31 - clz32(allEntangledLanes), - lane = 1 << index$4; - lanes |= root[index$4]; - allEntangledLanes &= ~lane; - } + eventTime = root.entangledLanes; + if (0 !== eventTime) + for (root = root.entanglements, eventTime &= lanes; 0 < eventTime; ) + (eventType = 31 - clz32(eventTime)), + (renderStartTime$jscomp$0 = 1 << eventType), + (lanes |= root[eventType]), + (eventTime &= ~renderStartTime$jscomp$0); entangledRenderLanes = lanes; finishQueueingConcurrentUpdates(); - return timeoutHandle; + return updateTime; } function handleThrow(root, thrownValue) { currentlyRenderingFiber$1 = null; @@ -11891,7 +12017,7 @@ function commitRootImpl( (ReactDOMSharedInternals.p = spawnedLane), (ReactSharedInternals.T = transitions)) : ((root.current = finishedWork), (commitTime = now())); - rootDoesHavePassiveEffects + (transitions = rootDoesHavePassiveEffects) ? ((rootDoesHavePassiveEffects = !1), (rootWithPendingPassiveEffects = root), (pendingPassiveEffectsLanes = lanes)) @@ -11921,6 +12047,7 @@ function commitRootImpl( ? nestedUpdateCount++ : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))) : (nestedUpdateCount = 0); + transitions || finalizeRender(lanes, now$1()); flushSyncWorkAcrossRoots_impl(0, !1); return null; } @@ -11977,6 +12104,7 @@ function flushPassiveEffects() { completeTime ); executionContext = prevExecutionContext; + finalizeRender(lanes, now$1()); flushSyncWorkAcrossRoots_impl(0, !1); if ( injectedHook && @@ -12401,20 +12529,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1452 = 0; - i$jscomp$inline_1452 < simpleEventPluginEvents.length; - i$jscomp$inline_1452++ + var i$jscomp$inline_1476 = 0; + i$jscomp$inline_1476 < simpleEventPluginEvents.length; + i$jscomp$inline_1476++ ) { - var eventName$jscomp$inline_1453 = - simpleEventPluginEvents[i$jscomp$inline_1452], - domEventName$jscomp$inline_1454 = - eventName$jscomp$inline_1453.toLowerCase(), - capitalizedEvent$jscomp$inline_1455 = - eventName$jscomp$inline_1453[0].toUpperCase() + - eventName$jscomp$inline_1453.slice(1); + var eventName$jscomp$inline_1477 = + simpleEventPluginEvents[i$jscomp$inline_1476], + domEventName$jscomp$inline_1478 = + eventName$jscomp$inline_1477.toLowerCase(), + capitalizedEvent$jscomp$inline_1479 = + eventName$jscomp$inline_1477[0].toUpperCase() + + eventName$jscomp$inline_1477.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1454, - "on" + capitalizedEvent$jscomp$inline_1455 + domEventName$jscomp$inline_1478, + "on" + capitalizedEvent$jscomp$inline_1479 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -14165,6 +14293,14 @@ function shouldAttemptEagerTransition() { currentPopstateTransitionEvent = null; return !1; } +function resolveEventType() { + var event = window.event; + return event ? event.type : null; +} +function resolveEventTimeStamp() { + var event = window.event; + return event ? event.timeStamp : -1.1; +} var scheduleTimeout = "function" === typeof setTimeout ? setTimeout : void 0, cancelTimeout = "function" === typeof clearTimeout ? clearTimeout : void 0, localPromise = "function" === typeof Promise ? Promise : void 0, @@ -15250,7 +15386,8 @@ function updateContainerImpl( null !== callback && (container.callback = callback); element = enqueueUpdate(rootFiber, container, lane); null !== element && - (scheduleUpdateOnFiber(element, rootFiber, lane), + (startUpdateTimerByLane(lane), + scheduleUpdateOnFiber(element, rootFiber, lane), entangleTransitions(element, rootFiber, lane)); } function markRetryLaneImpl(fiber, retryLane) { @@ -15871,16 +16008,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { 0 === i && attemptExplicitHydrationTarget(target); } }; -var isomorphicReactPackageVersion$jscomp$inline_1699 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1723 = React.version; if ( - "19.0.0-experimental-e740d4b1-20240919" !== - isomorphicReactPackageVersion$jscomp$inline_1699 + "19.0.0-experimental-5d19e1c8-20240923" !== + isomorphicReactPackageVersion$jscomp$inline_1723 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1699, - "19.0.0-experimental-e740d4b1-20240919" + isomorphicReactPackageVersion$jscomp$inline_1723, + "19.0.0-experimental-5d19e1c8-20240923" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -15900,25 +16037,25 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; -var internals$jscomp$inline_2124 = { +var internals$jscomp$inline_2148 = { bundleType: 0, - version: "19.0.0-experimental-e740d4b1-20240919", + version: "19.0.0-experimental-5d19e1c8-20240923", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-experimental-e740d4b1-20240919" + reconcilerVersion: "19.0.0-experimental-5d19e1c8-20240923" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2125 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2149 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2125.isDisabled && - hook$jscomp$inline_2125.supportsFiber + !hook$jscomp$inline_2149.isDisabled && + hook$jscomp$inline_2149.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2125.inject( - internals$jscomp$inline_2124 + (rendererID = hook$jscomp$inline_2149.inject( + internals$jscomp$inline_2148 )), - (injectedHook = hook$jscomp$inline_2125); + (injectedHook = hook$jscomp$inline_2149); } catch (err) {} } function noop() {} @@ -16171,7 +16308,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-experimental-e740d4b1-20240919"; +exports.version = "19.0.0-experimental-5d19e1c8-20240923"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js index f34176d792ee8..c0b38c953bd05 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js @@ -6598,52 +6598,51 @@ if (6 === segment.status) return; segment.status = 3; } + var errorInfo = getThrownInfo(task.componentStack); if (null === boundary) { - if ( - ((boundary = {}), 2 !== request.status && request.status !== CLOSED) - ) { - var replay = task.replay; - if (null === replay) { + if (2 !== request.status && request.status !== CLOSED) { + boundary = task.replay; + if (null === boundary) { "object" === typeof error && null !== error && error.$$typeof === REACT_POSTPONE_TYPE - ? ((replay = request.trackedPostpones), - null !== replay && null !== segment - ? (logPostpone(request, error.message, boundary, null), - trackPostpone(request, replay, task, segment), + ? ((boundary = request.trackedPostpones), + null !== boundary && null !== segment + ? (logPostpone(request, error.message, errorInfo, null), + trackPostpone(request, boundary, task, segment), finishedTask(request, null, segment)) : ((task = Error( "The render was aborted with postpone when the shell is incomplete. Reason: " + error.message )), - logRecoverableError(request, task, boundary, null), - fatalError(request, task, boundary, null))) + logRecoverableError(request, task, errorInfo, null), + fatalError(request, task, errorInfo, null))) : null !== request.trackedPostpones && null !== segment - ? ((replay = request.trackedPostpones), - logRecoverableError(request, error, boundary, null), - trackPostpone(request, replay, task, segment), + ? ((boundary = request.trackedPostpones), + logRecoverableError(request, error, errorInfo, null), + trackPostpone(request, boundary, task, segment), finishedTask(request, null, segment)) - : (logRecoverableError(request, error, boundary, null), - fatalError(request, error, boundary, null)); + : (logRecoverableError(request, error, errorInfo, null), + fatalError(request, error, errorInfo, null)); return; } - replay.pendingTasks--; - 0 === replay.pendingTasks && - 0 < replay.nodes.length && + boundary.pendingTasks--; + 0 === boundary.pendingTasks && + 0 < boundary.nodes.length && ("object" === typeof error && null !== error && error.$$typeof === REACT_POSTPONE_TYPE - ? (logPostpone(request, error.message, boundary, null), + ? (logPostpone(request, error.message, errorInfo, null), (task = "POSTPONE")) - : (task = logRecoverableError(request, error, boundary, null)), + : (task = logRecoverableError(request, error, errorInfo, null)), abortRemainingReplayNodes( request, null, - replay.nodes, - replay.slots, + boundary.nodes, + boundary.slots, error, task, - boundary, + errorInfo, !0 )); request.pendingRootTasks--; @@ -6651,7 +6650,6 @@ } } else { boundary.pendingTasks--; - replay = getThrownInfo(task.componentStack); var _trackedPostpones2 = request.trackedPostpones; if (boundary.status !== CLIENT_RENDERED) { if (null !== _trackedPostpones2 && null !== segment) @@ -6659,8 +6657,8 @@ "object" === typeof error && null !== error && error.$$typeof === REACT_POSTPONE_TYPE - ? logPostpone(request, error.message, replay, null) - : logRecoverableError(request, error, replay, null), + ? logPostpone(request, error.message, errorInfo, null) + : logRecoverableError(request, error, errorInfo, null), trackPostpone(request, _trackedPostpones2, task, segment), boundary.fallbackAbortableTasks.forEach(function (fallbackTask) { return abortTask(fallbackTask, request, error); @@ -6674,7 +6672,7 @@ null !== error && error.$$typeof === REACT_POSTPONE_TYPE ) { - logPostpone(request, error.message, replay, null); + logPostpone(request, error.message, errorInfo, null); if (null !== request.trackedPostpones && null !== segment) { trackPostpone(request, request.trackedPostpones, task, segment); finishedTask(request, task.blockedBoundary, segment); @@ -6685,9 +6683,9 @@ return; } task = "POSTPONE"; - } else task = logRecoverableError(request, error, replay, null); + } else task = logRecoverableError(request, error, errorInfo, null); boundary.status = CLIENT_RENDERED; - encodeErrorForBoundary(boundary, task, error, replay, !0); + encodeErrorForBoundary(boundary, task, error, errorInfo, !0); untrackBoundary(request, boundary); boundary.parentFlushed && request.clientRenderedBoundaries.push(boundary); @@ -9290,5 +9288,5 @@ 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; - exports.version = "19.0.0-experimental-e740d4b1-20240919"; + exports.version = "19.0.0-experimental-5d19e1c8-20240923"; })(); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js index 13bb78def450e..bb2264c70d295 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js @@ -2668,16 +2668,16 @@ function createRenderState(resumableState, generateStaticMarkup) { "\x3c/script>" ); bootstrapScriptContent = idPrefix + "P:"; - var JSCompiler_object_inline_segmentPrefix_1647 = idPrefix + "S:"; + var JSCompiler_object_inline_segmentPrefix_1646 = idPrefix + "S:"; idPrefix += "B:"; - var JSCompiler_object_inline_preconnects_1661 = new Set(), - JSCompiler_object_inline_fontPreloads_1662 = new Set(), - JSCompiler_object_inline_highImagePreloads_1663 = new Set(), - JSCompiler_object_inline_styles_1664 = new Map(), - JSCompiler_object_inline_bootstrapScripts_1665 = new Set(), - JSCompiler_object_inline_scripts_1666 = new Set(), - JSCompiler_object_inline_bulkPreloads_1667 = new Set(), - JSCompiler_object_inline_preloads_1668 = { + var JSCompiler_object_inline_preconnects_1660 = new Set(), + JSCompiler_object_inline_fontPreloads_1661 = new Set(), + JSCompiler_object_inline_highImagePreloads_1662 = new Set(), + JSCompiler_object_inline_styles_1663 = new Map(), + JSCompiler_object_inline_bootstrapScripts_1664 = new Set(), + JSCompiler_object_inline_scripts_1665 = new Set(), + JSCompiler_object_inline_bulkPreloads_1666 = new Set(), + JSCompiler_object_inline_preloads_1667 = { images: new Map(), stylesheets: new Map(), scripts: new Map(), @@ -2714,7 +2714,7 @@ function createRenderState(resumableState, generateStaticMarkup) { scriptConfig.moduleScriptResources[href] = null; scriptConfig = []; pushLinkImpl(scriptConfig, props); - JSCompiler_object_inline_bootstrapScripts_1665.add(scriptConfig); + JSCompiler_object_inline_bootstrapScripts_1664.add(scriptConfig); bootstrapChunks.push('", relative_path)); } else if relative_path.ends_with(".css") { @@ -199,7 +195,7 @@ impl DevHtmlAssetContent { } } - let body = match &this.body { + let body = match &self.body { Some(body) => body.as_str(), None => "", }; @@ -245,7 +241,7 @@ struct DevHtmlAssetVersion { #[turbo_tasks::value_impl] impl Version for DevHtmlAssetVersion { #[turbo_tasks::function] - async fn id(&self) -> Result> { + fn id(&self) -> Result> { let mut hasher = Xxh3Hash64Hasher::new(); for relative_path in &*self.content.chunk_paths { hasher.write_ref(relative_path); diff --git a/turbopack/crates/turbopack-dev-server/src/source/asset_graph.rs b/turbopack/crates/turbopack-dev-server/src/source/asset_graph.rs index 9d95aa7d644ca..5cef57d77ed25 100644 --- a/turbopack/crates/turbopack-dev-server/src/source/asset_graph.rs +++ b/turbopack/crates/turbopack-dev-server/src/source/asset_graph.rs @@ -88,13 +88,12 @@ impl AssetGraphContentSource { } #[turbo_tasks::function] - async fn all_assets_map(self: Vc) -> Result> { - let this = self.await?; + async fn all_assets_map(&self) -> Result> { Ok(Vc::cell( expand( - &*this.root_assets.await?, - &*this.root_path.await?, - this.expanded.as_ref(), + &*self.root_assets.await?, + &*self.root_path.await?, + self.expanded.as_ref(), ) .await?, )) diff --git a/turbopack/crates/turbopack-dev-server/src/source/conditional.rs b/turbopack/crates/turbopack-dev-server/src/source/conditional.rs index 6638ef21a6235..7d22af561452f 100644 --- a/turbopack/crates/turbopack-dev-server/src/source/conditional.rs +++ b/turbopack/crates/turbopack-dev-server/src/source/conditional.rs @@ -108,7 +108,7 @@ impl Introspectable for ConditionalContentSource { } #[turbo_tasks::function] - async fn details(&self) -> Result> { + fn details(&self) -> Result> { Ok(Vc::cell( if *self.activated.get() { "activated" diff --git a/turbopack/crates/turbopack-dev-server/src/source/router.rs b/turbopack/crates/turbopack-dev-server/src/source/router.rs index d62db2a1f891f..fea17074e90ef 100644 --- a/turbopack/crates/turbopack-dev-server/src/source/router.rs +++ b/turbopack/crates/turbopack-dev-server/src/source/router.rs @@ -25,7 +25,7 @@ pub struct PrefixedRouterContentSource { #[turbo_tasks::value_impl] impl PrefixedRouterContentSource { #[turbo_tasks::function] - pub async fn new( + pub fn new( prefix: Vc, routes: Vec<(RcStr, Vc>)>, fallback: Vc>, diff --git a/turbopack/crates/turbopack-dev-server/src/source/wrapping_source.rs b/turbopack/crates/turbopack-dev-server/src/source/wrapping_source.rs index 513e1704bf602..235c9c2ce0ed3 100644 --- a/turbopack/crates/turbopack-dev-server/src/source/wrapping_source.rs +++ b/turbopack/crates/turbopack-dev-server/src/source/wrapping_source.rs @@ -31,7 +31,7 @@ pub struct WrappedGetContentSourceContent { #[turbo_tasks::value_impl] impl WrappedGetContentSourceContent { #[turbo_tasks::function] - pub async fn new( + pub fn new( inner: Vc>, processor: Vc>, ) -> Vc { diff --git a/turbopack/crates/turbopack-ecmascript-plugins/src/transform/swc_ecma_transform_plugins.rs b/turbopack/crates/turbopack-ecmascript-plugins/src/transform/swc_ecma_transform_plugins.rs index 359c89433c3cc..fe7a4be6a92cd 100644 --- a/turbopack/crates/turbopack-ecmascript-plugins/src/transform/swc_ecma_transform_plugins.rs +++ b/turbopack/crates/turbopack-ecmascript-plugins/src/transform/swc_ecma_transform_plugins.rs @@ -64,7 +64,7 @@ impl Issue for UnsupportedSwcEcmaTransformPluginsIssue { } #[turbo_tasks::function] - async fn title(&self) -> Result> { + fn title(&self) -> Result> { Ok(StyledString::Text( "Unsupported SWC EcmaScript transform plugins on this platform.".into(), ) diff --git a/turbopack/crates/turbopack-ecmascript-runtime/js/package.json b/turbopack/crates/turbopack-ecmascript-runtime/js/package.json index e9d1421f77411..b5ff2686751c3 100644 --- a/turbopack/crates/turbopack-ecmascript-runtime/js/package.json +++ b/turbopack/crates/turbopack-ecmascript-runtime/js/package.json @@ -8,9 +8,9 @@ "check": "run-p check:*", "check:nodejs": "tsc -p src/nodejs", "check:browser-dev-client": "tsc -p src/browser/dev/hmr-client", - "check:browser-dev-runtime-base": "tsc -p src/browser/dev/runtime/base", - "check:browser-dev-runtime-dom": "tsc -p src/browser/dev/runtime/dom", - "check:browser-dev-runtime-edge": "tsc -p src/browser/dev/runtime/edge" + "check:browser-runtime-base": "tsc -p src/browser/runtime/base", + "check:browser-runtime-dom": "tsc -p src/browser/runtime/dom", + "check:browser-runtime-edge": "tsc -p src/browser/runtime/edge" }, "exports": { ".": "./src/main.js", diff --git a/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/dev/hmr-client/hmr-client.ts b/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/dev/hmr-client/hmr-client.ts index fc011843a752c..a8423a2d78fb1 100644 --- a/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/dev/hmr-client/hmr-client.ts +++ b/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/dev/hmr-client/hmr-client.ts @@ -1,7 +1,7 @@ /// -/// -/// -/// +/// +/// +/// import { addMessageListener as turboSocketAddMessageListener, diff --git a/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/base/build-base.ts b/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/base/build-base.ts new file mode 100644 index 0000000000000..a3968238aadc7 --- /dev/null +++ b/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/base/build-base.ts @@ -0,0 +1,144 @@ +/// +/// + +declare var augmentContext: ((context: unknown) => unknown); + +const moduleCache: ModuleCache = {}; + +/** + * Gets or instantiates a runtime module. + */ +// @ts-ignore +// eslint-disable-next-line @typescript-eslint/no-unused-vars +function getOrInstantiateRuntimeModule( + moduleId: ModuleId, + chunkPath: ChunkPath, +): Module { + const module = moduleCache[moduleId]; + if (module) { + if (module.error) { + throw module.error; + } + return module; + } + + return instantiateModule(moduleId, { type: SourceType.Runtime, chunkPath }); +} + +/** + * Retrieves a module from the cache, or instantiate it if it is not cached. + */ +// Used by the backend +// @ts-ignore +// eslint-disable-next-line @typescript-eslint/no-unused-vars +const getOrInstantiateModuleFromParent: GetOrInstantiateModuleFromParent = ( + id, + sourceModule +) => { + const module = moduleCache[id]; + + if (module) { + return module; + } + + return instantiateModule(id, { + type: SourceType.Parent, + parentId: sourceModule.id, + }); +}; + +function instantiateModule(id: ModuleId, source: SourceInfo): Module { + const moduleFactory = moduleFactories[id]; + if (typeof moduleFactory !== "function") { + // This can happen if modules incorrectly handle HMR disposes/updates, + // e.g. when they keep a `setTimeout` around which still executes old code + // and contains e.g. a `require("something")` call. + let instantiationReason; + switch (source.type) { + case SourceType.Runtime: + instantiationReason = `as a runtime entry of chunk ${source.chunkPath}`; + break; + case SourceType.Parent: + instantiationReason = `because it was required from module ${source.parentId}`; + break; + case SourceType.Update: + instantiationReason = "because of an HMR update"; + break; + default: + invariant(source, (source) => `Unknown source type: ${source?.type}`); + } + throw new Error( + `Module ${id} was instantiated ${instantiationReason}, but the module factory is not available. It might have been deleted in an HMR update.` + ); + } + + switch (source.type) { + case SourceType.Runtime: + runtimeModules.add(id); + break; + case SourceType.Parent: + // No need to add this module as a child of the parent module here, this + // has already been taken care of in `getOrInstantiateModuleFromParent`. + break; + case SourceType.Update: + throw new Error('Unexpected') + default: + invariant(source, (source) => `Unknown source type: ${source?.type}`); + } + + const module: Module = { + exports: {}, + error: undefined, + loaded: false, + id, + namespaceObject: undefined, + }; + + moduleCache[id] = module; + + // NOTE(alexkirsz) This can fail when the module encounters a runtime error. + try { + const sourceInfo: SourceInfo = { type: SourceType.Parent, parentId: id }; + + const r = commonJsRequire.bind(null, module); + moduleFactory.call( + module.exports, + augmentContext({ + a: asyncModule.bind(null, module), + e: module.exports, + r: commonJsRequire.bind(null, module), + t: runtimeRequire, + f: moduleContext, + i: esmImport.bind(null, module), + s: esmExport.bind(null, module, module.exports), + j: dynamicExport.bind(null, module, module.exports), + v: exportValue.bind(null, module), + n: exportNamespace.bind(null, module), + m: module, + c: moduleCache, + M: moduleFactories, + l: loadChunk.bind(null, sourceInfo), + w: loadWebAssembly.bind(null, sourceInfo), + u: loadWebAssemblyModule.bind(null, sourceInfo), + g: globalThis, + P: resolveAbsolutePath, + U: relativeURL, + R: createResolvePathFromModule(r), + b: getWorkerBlobURL, + __dirname: typeof module.id === "string" ? module.id.replace(/(^|\/)\/+$/, "") : module.id + }) + ); + } catch (error) { + module.error = error as any; + throw error; + } + + module.loaded = true; + if (module.namespaceObject && module.exports !== module.namespaceObject) { + // in case of a circular dependency: cjs1 -> esm2 -> cjs1 + interopEsm(module.exports, module.namespaceObject); + } + + return module; +} + diff --git a/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/dev/runtime/base/runtime-base.ts b/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/base/dev-base.ts similarity index 75% rename from turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/dev/runtime/base/runtime-base.ts rename to turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/base/dev-base.ts index 5f722f6f9c534..ea88ef16ed1b8 100644 --- a/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/dev/runtime/base/runtime-base.ts +++ b/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/base/dev-base.ts @@ -1,3 +1,7 @@ +/// +/// +/// + /** * This file contains runtime types and functions that are shared between all * Turbopack *development* ECMAScript runtimes. @@ -8,10 +12,7 @@ /* eslint-disable @typescript-eslint/no-unused-vars */ -/// -/// -/// -/// +const devModuleCache: ModuleCache = Object.create(null); // This file must not use `import` and `export` statements. Otherwise, it // becomes impossible to augment interfaces declared in ``d files @@ -21,8 +22,8 @@ type RefreshRuntimeGlobals = // Workers are loaded via blob object urls and aren't relative to the main context, this gets // prefixed to chunk urls in the worker. -declare var TURBOPACK_WORKER_LOCATION: string; -declare var CHUNK_BASE_PATH: string; +// declare var TURBOPACK_WORKER_LOCATION: string; +// declare var CHUNK_BASE_PATH: string; declare var $RefreshHelpers$: RefreshRuntimeGlobals["$RefreshHelpers$"]; declare var $RefreshReg$: RefreshRuntimeGlobals["$RefreshReg$"]; declare var $RefreshSig$: RefreshRuntimeGlobals["$RefreshSig$"]; @@ -37,74 +38,21 @@ type RefreshContext = { type RefreshHelpers = RefreshRuntimeGlobals["$RefreshHelpers$"]; -interface TurbopackDevBaseContext extends TurbopackBaseContext { +interface TurbopackDevBaseContext extends TurbopackBaseContext { k: RefreshContext; R: ResolvePathFromModule; } interface TurbopackDevContext extends TurbopackDevBaseContext {} -// string encoding of a module factory (used in hmr updates) -type ModuleFactoryString = string; - type ModuleFactory = ( this: Module["exports"], - context: TurbopackDevContext -) => undefined; - -type DevRuntimeParams = { - otherChunks: ChunkData[]; - runtimeModuleIds: ModuleId[]; -}; - -type ChunkRegistration = [ - chunkPath: ChunkPath, - chunkModules: ModuleFactories, - params: DevRuntimeParams | undefined -]; -type ChunkList = { - path: ChunkPath; - chunks: ChunkData[]; - source: "entry" | "dynamic"; -}; - -enum SourceType { - /** - * The module was instantiated because it was included in an evaluated chunk's - * runtime. - */ - Runtime = 0, - /** - * The module was instantiated because a parent module imported it. - */ - Parent = 1, - /** - * The module was instantiated because it was included in a chunk's hot module - * update. - */ - Update = 2, -} - -type SourceInfo = - | { - type: SourceType.Runtime; - chunkPath: ChunkPath; - } - | { - type: SourceType.Parent; - parentId: ModuleId; - } - | { - type: SourceType.Update; - parents?: ModuleId[]; - }; + context: TurbopackDevBaseContext +) => undefined -interface RuntimeBackend { - registerChunk: (chunkPath: ChunkPath, params?: DevRuntimeParams) => void; - loadChunk: (chunkPath: ChunkPath, source: SourceInfo) => Promise; +interface DevRuntimeBackend { reloadChunk?: (chunkPath: ChunkPath) => Promise; unloadChunk?: (chunkPath: ChunkPath) => void; - restart: () => void; } @@ -119,8 +67,6 @@ class UpdateApplyError extends Error { } } -const moduleFactories: ModuleFactories = Object.create(null); -const moduleCache: ModuleCache = Object.create(null); /** * Maps module IDs to persisted data between executions of their hot module * implementation (`hot.data`). @@ -134,161 +80,62 @@ const moduleHotState: Map = new Map(); * Modules that call `module.hot.invalidate()` (while being updated). */ const queuedInvalidatedModules: Set = new Set(); + /** - * Module IDs that are instantiated as part of the runtime of a chunk. - */ -const runtimeModules: Set = new Set(); -/** - * Map from module ID to the chunks that contain this module. - * - * In HMR, we need to keep track of which modules are contained in which so - * chunks. This is so we don't eagerly dispose of a module when it is removed - * from chunk A, but still exists in chunk B. - */ -const moduleChunksMap: Map> = new Map(); -/** - * Map from a chunk path to all modules it contains. - */ -const chunkModulesMap: Map> = new Map(); -/** - * Chunk lists that contain a runtime. When these chunk lists receive an update - * that can't be reconciled with the current state of the page, we need to - * reload the runtime entirely. - */ -const runtimeChunkLists: Set = new Set(); -/** - * Map from a chunk list to the chunk paths it contains. - */ -const chunkListChunksMap: Map> = new Map(); -/** - * Map from a chunk path to the chunk lists it belongs to. + * Gets or instantiates a runtime module. */ -const chunkChunkListsMap: Map> = new Map(); - -const availableModules: Map | true> = new Map(); - -const availableModuleChunks: Map | true> = new Map(); - -async function loadChunk( - source: SourceInfo, - chunkData: ChunkData -): Promise { - if (typeof chunkData === "string") { - return loadChunkPath(source, chunkData); - } - - const includedList = chunkData.included || []; - const modulesPromises = includedList.map((included) => { - if (moduleFactories[included]) return true; - return availableModules.get(included); - }); - if (modulesPromises.length > 0 && modulesPromises.every((p) => p)) { - // When all included items are already loaded or loading, we can skip loading ourselves - return Promise.all(modulesPromises); - } - - const includedModuleChunksList = chunkData.moduleChunks || []; - const moduleChunksPromises = includedModuleChunksList - .map((included) => { - // TODO(alexkirsz) Do we need this check? - // if (moduleFactories[included]) return true; - return availableModuleChunks.get(included); - }) - .filter((p) => p); - - let promise; - if (moduleChunksPromises.length > 0) { - // Some module chunks are already loaded or loading. - - if (moduleChunksPromises.length === includedModuleChunksList.length) { - // When all included module chunks are already loaded or loading, we can skip loading ourselves - return Promise.all(moduleChunksPromises); - } - - const moduleChunksToLoad: Set = new Set(); - for (const moduleChunk of includedModuleChunksList) { - if (!availableModuleChunks.has(moduleChunk)) { - moduleChunksToLoad.add(moduleChunk); - } +// @ts-ignore +function getOrInstantiateRuntimeModule( + moduleId: ModuleId, + chunkPath: ChunkPath, +): Module { + const module = devModuleCache[moduleId]; + if (module) { + if (module.error) { + throw module.error; } + return module; + } - for (const moduleChunkToLoad of moduleChunksToLoad) { - const promise = loadChunkPath(source, moduleChunkToLoad); - - availableModuleChunks.set(moduleChunkToLoad, promise); + // @ts-ignore + return instantiateModule(moduleId, { type: SourceType.Runtime, chunkPath }); +} - moduleChunksPromises.push(promise); - } +/** + * Retrieves a module from the cache, or instantiate it if it is not cached. + */ +// @ts-ignore Defined in `runtime-utils.ts` +const getOrInstantiateModuleFromParent: GetOrInstantiateModuleFromParent = ( + id, + sourceModule, +) => { + if (!sourceModule.hot.active) { + console.warn( + `Unexpected import of module ${id} from module ${sourceModule.id}, which was deleted by an HMR update` + ); + } - promise = Promise.all(moduleChunksPromises); - } else { - promise = loadChunkPath(source, chunkData.path); + const module = devModuleCache[id]; - // Mark all included module chunks as loading if they are not already loaded or loading. - for (const includedModuleChunk of includedModuleChunksList) { - if (!availableModuleChunks.has(includedModuleChunk)) { - availableModuleChunks.set(includedModuleChunk, promise); - } - } + if (sourceModule.children.indexOf(id) === -1) { + sourceModule.children.push(id); } - for (const included of includedList) { - if (!availableModules.has(included)) { - // It might be better to race old and new promises, but it's rare that the new promise will be faster than a request started earlier. - // In production it's even more rare, because the chunk optimization tries to deduplicate modules anyway. - availableModules.set(included, promise); + if (module) { + if (module.parents.indexOf(sourceModule.id) === -1) { + module.parents.push(sourceModule.id); } - } - - return promise; -} -async function loadChunkPath( - source: SourceInfo, - chunkPath: ChunkPath -): Promise { - try { - await BACKEND.loadChunk(chunkPath, source); - } catch (error) { - let loadReason; - switch (source.type) { - case SourceType.Runtime: - loadReason = `as a runtime dependency of chunk ${source.chunkPath}`; - break; - case SourceType.Parent: - loadReason = `from module ${source.parentId}`; - break; - case SourceType.Update: - loadReason = "from an HMR update"; - break; - default: - invariant(source, (source) => `Unknown source type: ${source?.type}`); - } - throw new Error( - `Failed to load chunk ${chunkPath} ${loadReason}${ - error ? `: ${error}` : "" - }`, - error - ? { - cause: error, - } - : undefined - ); + return module; } -} -/** - * Returns an absolute url to an asset. - */ -function createResolvePathFromModule( - resolver: (moduleId: string) => Exports -): (moduleId: string) => string { - return function resolvePathFromModule(moduleId: string): string { - const exported = resolver(moduleId); - return exported?.default ?? exported; - }; -} + return instantiateModule(id, { + type: SourceType.Parent, + parentId: sourceModule.id, + }); +}; +// @ts-ignore Defined in `runtime-base.ts` function instantiateModule(id: ModuleId, source: SourceInfo): Module { const moduleFactory = moduleFactories[id]; if (typeof moduleFactory !== "function") { @@ -335,7 +182,7 @@ function instantiateModule(id: ModuleId, source: SourceInfo): Module { invariant(source, (source) => `Unknown source type: ${source?.type}`); } - const module: Module = { + const module: HotModule = { exports: {}, error: undefined, loaded: false, @@ -346,7 +193,7 @@ function instantiateModule(id: ModuleId, source: SourceInfo): Module { hot, }; - moduleCache[id] = module; + devModuleCache[id] = module; moduleHotState.set(module, hotState); // NOTE(alexkirsz) This can fail when the module encounters a runtime error. @@ -369,7 +216,7 @@ function instantiateModule(id: ModuleId, source: SourceInfo): Module { v: exportValue.bind(null, module), n: exportNamespace.bind(null, module), m: module, - c: moduleCache, + c: devModuleCache, M: moduleFactories, l: loadChunk.bind(null, sourceInfo), w: loadWebAssembly.bind(null, sourceInfo), @@ -380,6 +227,7 @@ function instantiateModule(id: ModuleId, source: SourceInfo): Module { k: refresh, R: createResolvePathFromModule(r), b: getWorkerBlobURL, + z: requireStub, __dirname: typeof module.id === "string" ? module.id.replace(/(^|\/)\/+$/, "") : module.id }) ); @@ -398,20 +246,6 @@ function instantiateModule(id: ModuleId, source: SourceInfo): Module { return module; } -/** - * no-op for browser - * @param modulePath - */ -function resolveAbsolutePath(modulePath?: string): string { - return `/ROOT/${modulePath ?? ""}`; -} - -function getWorkerBlobURL(chunks: ChunkPath[]): string { - let bootstrap = `TURBOPACK_WORKER_LOCATION = ${JSON.stringify(location.origin)};importScripts(${chunks.map(c => (`TURBOPACK_WORKER_LOCATION + ${JSON.stringify(getChunkRelativeUrl(c))}`)).join(", ")});`; - let blob = new Blob([bootstrap], { type: "text/javascript" }); - return URL.createObjectURL(blob); -} - /** * NOTE(alexkirsz) Webpack has a "module execution" interception hook that * Next.js' React Refresh runtime hooks into to add module context to the @@ -440,44 +274,11 @@ function runModuleExecutionHooks( } } -/** - * Retrieves a module from the cache, or instantiate it if it is not cached. - */ -const getOrInstantiateModuleFromParent: GetOrInstantiateModuleFromParent = ( - id, - sourceModule -) => { - if (!sourceModule.hot.active) { - console.warn( - `Unexpected import of module ${id} from module ${sourceModule.id}, which was deleted by an HMR update` - ); - } - - const module = moduleCache[id]; - - if (sourceModule.children.indexOf(id) === -1) { - sourceModule.children.push(id); - } - - if (module) { - if (module.parents.indexOf(sourceModule.id) === -1) { - module.parents.push(sourceModule.id); - } - - return module; - } - - return instantiateModule(id, { - type: SourceType.Parent, - parentId: sourceModule.id, - }); -}; - /** * This is adapted from https://github.com/vercel/next.js/blob/3466862d9dc9c8bb3131712134d38757b918d1c0/packages/react-refresh-utils/internal/ReactRefreshModule.runtime.ts */ function registerExportsAndSetupBoundaryForReactRefresh( - module: Module, + module: HotModule, helpers: RefreshHelpers ) { const currentExports = module.exports; @@ -599,9 +400,9 @@ function computedInvalidatedModules( function computeOutdatedSelfAcceptedModules( outdatedModules: Iterable ): { moduleId: ModuleId; errorHandler: true | Function }[] { - const outdatedSelfAcceptedModules = []; + const outdatedSelfAcceptedModules: { moduleId: ModuleId; errorHandler: true | Function }[] = []; for (const moduleId of outdatedModules) { - const module = moduleCache[moduleId]; + const module = devModuleCache[moduleId]; const hotState = moduleHotState.get(module)!; if (module && hotState.selfAccepted && !hotState.selfInvalidated) { outdatedSelfAcceptedModules.push({ @@ -656,9 +457,9 @@ function disposePhase( // We also want to keep track of previous parents of the outdated modules. const outdatedModuleParents = new Map(); for (const moduleId of outdatedModules) { - const oldModule = moduleCache[moduleId]; + const oldModule = devModuleCache[moduleId]; outdatedModuleParents.set(moduleId, oldModule?.parents); - delete moduleCache[moduleId]; + delete devModuleCache[moduleId]; } // TODO(alexkirsz) Dependencies: remove outdated dependency from module @@ -673,15 +474,15 @@ function disposePhase( * Returns the persistent hot data that should be kept for the next module * instance. * - * NOTE: mode = "replace" will not remove modules from the moduleCache. + * NOTE: mode = "replace" will not remove modules from the devModuleCache * This must be done in a separate step afterwards. * This is important because all modules need to be disposed to update the - * parent/child relationships before they are actually removed from the moduleCache. + * parent/child relationships before they are actually removed from the devModuleCache. * If this was done in this method, the following disposeModule calls won't find * the module from the module id in the cache. */ function disposeModule(moduleId: ModuleId, mode: "clear" | "replace") { - const module = moduleCache[moduleId]; + const module = devModuleCache[moduleId]; if (!module) { return; } @@ -707,7 +508,7 @@ function disposeModule(moduleId: ModuleId, mode: "clear" | "replace") { // It will be added back once the module re-instantiates and imports its // children again. for (const childId of module.children) { - const child = moduleCache[childId]; + const child = devModuleCache[childId]; if (!child) { continue; } @@ -720,7 +521,7 @@ function disposeModule(moduleId: ModuleId, mode: "clear" | "replace") { switch (mode) { case "clear": - delete moduleCache[module.id]; + delete devModuleCache[module.id]; moduleHotData.delete(module.id); break; case "replace": @@ -759,7 +560,7 @@ function applyPhase( } catch (err) { if (typeof errorHandler === "function") { try { - errorHandler(err, { moduleId, module: moduleCache[moduleId] }); + errorHandler(err, { moduleId, module: devModuleCache[moduleId] }); } catch (err2) { reportError(err2); reportError(err); @@ -801,10 +602,10 @@ function applyChunkListUpdate(update: ChunkListUpdate) { BACKEND.loadChunk(chunkPath, { type: SourceType.Update }); break; case "total": - BACKEND.reloadChunk?.(chunkPath); + DEV_BACKEND.reloadChunk?.(chunkPath); break; case "deleted": - BACKEND.unloadChunk?.(chunkPath); + DEV_BACKEND.unloadChunk?.(chunkPath); break; case "partial": invariant( @@ -1018,7 +819,7 @@ function getAffectedModuleEffects(moduleId: ModuleId): ModuleEffect { }; } - const module = moduleCache[moduleId]; + const module = devModuleCache[moduleId]; const hotState = moduleHotState.get(module)!; if ( @@ -1048,7 +849,7 @@ function getAffectedModuleEffects(moduleId: ModuleId): ModuleEffect { } for (const parentId of module.parents) { - const parent = moduleCache[parentId]; + const parent = devModuleCache[parentId]; if (!parent) { // TODO(alexkirsz) Is this even possible? @@ -1083,7 +884,7 @@ function handleApply(chunkListPath: ChunkPath, update: ServerMessage) { // This indicates that there is no way to apply the update to the // current state of the application, and that the application must be // restarted. - BACKEND.restart(); + DEV_BACKEND.restart(); break; } case "notFound": { @@ -1092,7 +893,7 @@ function handleApply(chunkListPath: ChunkPath, update: ServerMessage) { // If it is a dynamic import, we simply discard all modules that the chunk has exclusive access to. // If it is a runtime chunk list, we restart the application. if (runtimeChunkLists.has(chunkListPath)) { - BACKEND.restart(); + DEV_BACKEND.restart(); } else { disposeChunkList(chunkListPath); } @@ -1183,41 +984,6 @@ function createModuleHot( return { hot, hotState }; } -/** - * Adds a module to a chunk. - */ -function addModuleToChunk(moduleId: ModuleId, chunkPath: ChunkPath) { - let moduleChunks = moduleChunksMap.get(moduleId); - if (!moduleChunks) { - moduleChunks = new Set([chunkPath]); - moduleChunksMap.set(moduleId, moduleChunks); - } else { - moduleChunks.add(chunkPath); - } - - let chunkModules = chunkModulesMap.get(chunkPath); - if (!chunkModules) { - chunkModules = new Set([moduleId]); - chunkModulesMap.set(chunkPath, chunkModules); - } else { - chunkModules.add(moduleId); - } -} - -/** - * Returns the first chunk that included a module. - * This is used by the Node.js backend, hence why it's marked as unused in this - * file. - */ -function getFirstModuleChunk(moduleId: ModuleId) { - const moduleChunkPaths = moduleChunksMap.get(moduleId); - if (moduleChunkPaths == null) { - return null; - } - - return moduleChunkPaths.values().next().value; -} - /** * Removes a module from a chunk. * Returns `true` if there are no remaining chunks including this module. @@ -1267,7 +1033,7 @@ function disposeChunkList(chunkListPath: ChunkPath): boolean { // We must also dispose of the chunk list's chunk itself to ensure it may // be reloaded properly in the future. - BACKEND.unloadChunk?.(chunkListPath); + DEV_BACKEND.unloadChunk?.(chunkListPath); return true; } @@ -1280,7 +1046,7 @@ function disposeChunkList(chunkListPath: ChunkPath): boolean { function disposeChunk(chunkPath: ChunkPath): boolean { // This should happen whether the chunk has any modules in it or not. // For instance, CSS chunks have no modules in them, but they still need to be unloaded. - BACKEND.unloadChunk?.(chunkPath); + DEV_BACKEND.unloadChunk?.(chunkPath); const chunkModules = chunkModulesMap.get(chunkPath); if (chunkModules == null) { @@ -1303,43 +1069,6 @@ function disposeChunk(chunkPath: ChunkPath): boolean { return true; } -/** - * Instantiates a runtime module. - */ -function instantiateRuntimeModule( - moduleId: ModuleId, - chunkPath: ChunkPath -): Module { - return instantiateModule(moduleId, { type: SourceType.Runtime, chunkPath }); -} - -/** - * Gets or instantiates a runtime module. - */ -function getOrInstantiateRuntimeModule( - moduleId: ModuleId, - chunkPath: ChunkPath -): Module { - const module = moduleCache[moduleId]; - if (module) { - if (module.error) { - throw module.error; - } - return module; - } - - return instantiateModule(moduleId, { type: SourceType.Runtime, chunkPath }); -} - -/** - * Returns the URL relative to the origin where a chunk can be fetched from. - */ -function getChunkRelativeUrl(chunkPath: ChunkPath): string { - return `${CHUNK_BASE_PATH}${chunkPath - .split("/") - .map((p) => encodeURIComponent(p)) - .join("/")}`; -} /** * Subscribes to chunk list updates from the update server and applies them. @@ -1371,30 +1100,6 @@ function registerChunkList( } } -/** - * Marks a chunk list as a runtime chunk list. There can be more than one - * runtime chunk list. For instance, integration tests can have multiple chunk - * groups loaded at runtime, each with its own chunk list. - */ -function markChunkListAsRuntime(chunkListPath: ChunkPath) { - runtimeChunkLists.add(chunkListPath); -} - -function registerChunk([ - chunkPath, - chunkModules, - runtimeParams, -]: ChunkRegistration) { - for (const [moduleId, moduleFactory] of Object.entries(chunkModules)) { - if (!moduleFactories[moduleId]) { - moduleFactories[moduleId] = moduleFactory; - } - addModuleToChunk(moduleId, chunkPath); - } - - return BACKEND.registerChunk(chunkPath, runtimeParams); -} - globalThis.TURBOPACK_CHUNK_UPDATE_LISTENERS ??= []; const chunkListsToRegister = globalThis.TURBOPACK_CHUNK_LISTS; diff --git a/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/base/dev-dummy.ts b/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/base/dev-dummy.ts new file mode 100644 index 0000000000000..0f88f5c15b3a4 --- /dev/null +++ b/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/base/dev-dummy.ts @@ -0,0 +1,17 @@ +/** + * This file acts as a dummy implementor for the interface that + * `runtime-base.ts` expects to be available in the global scope. + * + * This interface will be implemented by runtime backends. + */ + +/* eslint-disable @typescript-eslint/no-unused-vars */ + +declare var DEV_BACKEND: DevRuntimeBackend; +declare var _eval: (code: EcmascriptModuleEntry) => any; +/** + * Adds additional properties to the `TurbopackDevBaseContext` interface. + */ +declare var augmentContext: ( + context: TurbopackDevBaseContext +) => TurbopackDevContext; diff --git a/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/dev/runtime/base/extensions.d.ts b/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/base/dev-extensions.ts similarity index 83% rename from turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/dev/runtime/base/extensions.d.ts rename to turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/base/dev-extensions.ts index a6f011eb863b2..5ad1ee7b9b096 100644 --- a/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/dev/runtime/base/extensions.d.ts +++ b/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/base/dev-extensions.ts @@ -1,3 +1,5 @@ +/// + /** * Extensions to the shared runtime types that are specific to the development * runtime (e.g. `module.hot`). @@ -13,6 +15,8 @@ interface HotData { prevExports?: Exports; } +// Used through reference comments +// eslint-disable-next-line @typescript-eslint/no-unused-vars interface HotState { selfAccepted: boolean | Function; selfDeclined: boolean; @@ -60,6 +64,8 @@ interface Hot { check: (autoApply: boolean) => Promise; } -interface Module { +// Used through reference comments +// eslint-disable-next-line @typescript-eslint/no-unused-vars +interface HotModule extends ModuleWithDirection { hot: Hot; } diff --git a/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/dev/runtime/base/globals.d.ts b/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/base/dev-globals.d.ts similarity index 67% rename from turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/dev/runtime/base/globals.d.ts rename to turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/base/dev-globals.d.ts index eae4e2323ee6c..97a17fee8b8aa 100644 --- a/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/dev/runtime/base/globals.d.ts +++ b/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/base/dev-globals.d.ts @@ -7,20 +7,10 @@ type UpdateCallback = (update: ServerMessage) => void; -type ChunkRegistry = { - push: (registration: ChunkRegistration) => void; -}; - -type ChunkListProvider = { - push: (registration: ChunkList) => void; -}; - type ChunkUpdateProvider = { push: (registration: [ChunkPath, UpdateCallback]) => void; }; -declare var TURBOPACK: ChunkRegistry | ChunkRegistration[] | undefined; -declare var TURBOPACK_CHUNK_LISTS: ChunkListProvider | ChunkList[] | undefined; declare var TURBOPACK_CHUNK_UPDATE_LISTENERS: | ChunkUpdateProvider | [ChunkPath, UpdateCallback][] diff --git a/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/dev/runtime/base/protocol.d.ts b/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/base/dev-protocol.d.ts similarity index 96% rename from turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/dev/runtime/base/protocol.d.ts rename to turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/base/dev-protocol.d.ts index 2123ac8e8e888..b683e3cf73c2f 100644 --- a/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/dev/runtime/base/protocol.d.ts +++ b/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/base/dev-protocol.d.ts @@ -9,6 +9,9 @@ type PartialServerMessage = { instruction: PartialUpdate; }; +// string encoding of a module factory (used in hmr updates) +type ModuleFactoryString = string; + type ServerMessage = { resource: ResourceIdentifier; issues: Issue[]; diff --git a/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/dev/runtime/base/dummy.ts b/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/base/dummy.ts similarity index 66% rename from turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/dev/runtime/base/dummy.ts rename to turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/base/dummy.ts index f839299329602..fd5e03937a0f3 100644 --- a/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/dev/runtime/base/dummy.ts +++ b/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/base/dummy.ts @@ -7,16 +7,10 @@ /* eslint-disable @typescript-eslint/no-unused-vars */ -/// +/// +/// declare var BACKEND: RuntimeBackend; -declare var _eval: (code: EcmascriptModuleEntry) => any; -/** - * Adds additional properties to the `TurbopackDevBaseContext` interface. - */ -declare var augmentContext: ( - context: TurbopackDevBaseContext -) => TurbopackDevContext; declare var loadWebAssembly: ( source: SourceInfo, wasmChunkPath: ChunkPath, diff --git a/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/base/globals.d.ts b/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/base/globals.d.ts new file mode 100644 index 0000000000000..7699194a40e35 --- /dev/null +++ b/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/base/globals.d.ts @@ -0,0 +1,11 @@ +type ChunkRegistry = { + push: (registration: ChunkRegistration) => void; +}; + +type ChunkListProvider = { + push: (registration: ChunkList) => void; +}; + + +declare var TURBOPACK: ChunkRegistry | ChunkRegistration[] | undefined; +declare var TURBOPACK_CHUNK_LISTS: ChunkListProvider | ChunkList[] | undefined; diff --git a/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/base/runtime-base.ts b/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/base/runtime-base.ts new file mode 100644 index 0000000000000..36adb88621566 --- /dev/null +++ b/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/base/runtime-base.ts @@ -0,0 +1,324 @@ +/** + * This file contains runtime types and functions that are shared between all + * Turbopack *development* ECMAScript runtimes. + * + * It will be appended to the runtime code of each runtime right after the + * shared runtime utils. + */ + +/* eslint-disable @typescript-eslint/no-unused-vars */ + +/// +/// + +declare var TURBOPACK_WORKER_LOCATION: string; +declare var CHUNK_BASE_PATH: string; +declare function instantiateModule(id: ModuleId, source: SourceInfo): Module; + +type RuntimeParams = { + otherChunks: ChunkData[]; + runtimeModuleIds: ModuleId[]; +}; + +type ChunkRegistration = [ + chunkPath: ChunkPath, + chunkModules: ModuleFactories, + params: RuntimeParams | undefined +]; + +type ChunkList = { + path: ChunkPath; + chunks: ChunkData[]; + source: "entry" | "dynamic"; +}; + +enum SourceType { + /** + * The module was instantiated because it was included in an evaluated chunk's + * runtime. + */ + Runtime = 0, + /** + * The module was instantiated because a parent module imported it. + */ + Parent = 1, + /** + * The module was instantiated because it was included in a chunk's hot module + * update. + */ + Update = 2, +} + +type SourceInfo = + | { + type: SourceType.Runtime; + chunkPath: ChunkPath; + } + | { + type: SourceType.Parent; + parentId: ModuleId; + } + | { + type: SourceType.Update; + parents?: ModuleId[]; + }; + +interface RuntimeBackend { + registerChunk: (chunkPath: ChunkPath, params?: RuntimeParams) => void; + loadChunk: (chunkPath: ChunkPath, source: SourceInfo) => Promise; +} + +interface DevRuntimeBackend { + reloadChunk?: (chunkPath: ChunkPath) => Promise; + unloadChunk?: (chunkPath: ChunkPath) => void; + restart: () => void; +} + +const moduleFactories: ModuleFactories = Object.create(null); +/** + * Module IDs that are instantiated as part of the runtime of a chunk. + */ +const runtimeModules: Set = new Set(); +/** + * Map from module ID to the chunks that contain this module. + * + * In HMR, we need to keep track of which modules are contained in which so + * chunks. This is so we don't eagerly dispose of a module when it is removed + * from chunk A, but still exists in chunk B. + */ +const moduleChunksMap: Map> = new Map(); +/** + * Map from a chunk path to all modules it contains. + */ +const chunkModulesMap: Map> = new Map(); +/** + * Chunk lists that contain a runtime. When these chunk lists receive an update + * that can't be reconciled with the current state of the page, we need to + * reload the runtime entirely. + */ +const runtimeChunkLists: Set = new Set(); +/** + * Map from a chunk list to the chunk paths it contains. + */ +const chunkListChunksMap: Map> = new Map(); +/** + * Map from a chunk path to the chunk lists it belongs to. + */ +const chunkChunkListsMap: Map> = new Map(); + +const availableModules: Map | true> = new Map(); + +const availableModuleChunks: Map | true> = new Map(); + +async function loadChunk( + source: SourceInfo, + chunkData: ChunkData +): Promise { + if (typeof chunkData === "string") { + return loadChunkPath(source, chunkData); + } + + const includedList = chunkData.included || []; + const modulesPromises = includedList.map((included) => { + if (moduleFactories[included]) return true; + return availableModules.get(included); + }); + if (modulesPromises.length > 0 && modulesPromises.every((p) => p)) { + // When all included items are already loaded or loading, we can skip loading ourselves + return Promise.all(modulesPromises); + } + + const includedModuleChunksList = chunkData.moduleChunks || []; + const moduleChunksPromises = includedModuleChunksList + .map((included) => { + // TODO(alexkirsz) Do we need this check? + // if (moduleFactories[included]) return true; + return availableModuleChunks.get(included); + }) + .filter((p) => p); + + let promise; + if (moduleChunksPromises.length > 0) { + // Some module chunks are already loaded or loading. + + if (moduleChunksPromises.length === includedModuleChunksList.length) { + // When all included module chunks are already loaded or loading, we can skip loading ourselves + return Promise.all(moduleChunksPromises); + } + + const moduleChunksToLoad: Set = new Set(); + for (const moduleChunk of includedModuleChunksList) { + if (!availableModuleChunks.has(moduleChunk)) { + moduleChunksToLoad.add(moduleChunk); + } + } + + for (const moduleChunkToLoad of moduleChunksToLoad) { + const promise = loadChunkPath(source, moduleChunkToLoad); + + availableModuleChunks.set(moduleChunkToLoad, promise); + + moduleChunksPromises.push(promise); + } + + promise = Promise.all(moduleChunksPromises); + } else { + promise = loadChunkPath(source, chunkData.path); + + // Mark all included module chunks as loading if they are not already loaded or loading. + for (const includedModuleChunk of includedModuleChunksList) { + if (!availableModuleChunks.has(includedModuleChunk)) { + availableModuleChunks.set(includedModuleChunk, promise); + } + } + } + + for (const included of includedList) { + if (!availableModules.has(included)) { + // It might be better to race old and new promises, but it's rare that the new promise will be faster than a request started earlier. + // In production it's even more rare, because the chunk optimization tries to deduplicate modules anyway. + availableModules.set(included, promise); + } + } + + return promise; +} + +async function loadChunkPath( + source: SourceInfo, + chunkPath: ChunkPath +): Promise { + try { + await BACKEND.loadChunk(chunkPath, source); + } catch (error) { + let loadReason; + switch (source.type) { + case SourceType.Runtime: + loadReason = `as a runtime dependency of chunk ${source.chunkPath}`; + break; + case SourceType.Parent: + loadReason = `from module ${source.parentId}`; + break; + case SourceType.Update: + loadReason = "from an HMR update"; + break; + default: + invariant(source, (source) => `Unknown source type: ${source?.type}`); + } + throw new Error( + `Failed to load chunk ${chunkPath} ${loadReason}${ + error ? `: ${error}` : "" + }`, + error + ? { + cause: error, + } + : undefined + ); + } +} + +/** + * Returns an absolute url to an asset. + */ +function createResolvePathFromModule( + resolver: (moduleId: string) => Exports +): (moduleId: string) => string { + return function resolvePathFromModule(moduleId: string): string { + const exported = resolver(moduleId); + return exported?.default ?? exported; + }; +} + +/** + * no-op for browser + * @param modulePath + */ +function resolveAbsolutePath(modulePath?: string): string { + return `/ROOT/${modulePath ?? ""}`; +} + +function getWorkerBlobURL(chunks: ChunkPath[]): string { + let bootstrap = `TURBOPACK_WORKER_LOCATION = ${JSON.stringify(location.origin)};importScripts(${chunks.map(c => (`TURBOPACK_WORKER_LOCATION + ${JSON.stringify(getChunkRelativeUrl(c))}`)).join(", ")});`; + let blob = new Blob([bootstrap], { type: "text/javascript" }); + return URL.createObjectURL(blob); +} + +/** + * Adds a module to a chunk. + */ +function addModuleToChunk(moduleId: ModuleId, chunkPath: ChunkPath) { + let moduleChunks = moduleChunksMap.get(moduleId); + if (!moduleChunks) { + moduleChunks = new Set([chunkPath]); + moduleChunksMap.set(moduleId, moduleChunks); + } else { + moduleChunks.add(chunkPath); + } + + let chunkModules = chunkModulesMap.get(chunkPath); + if (!chunkModules) { + chunkModules = new Set([moduleId]); + chunkModulesMap.set(chunkPath, chunkModules); + } else { + chunkModules.add(moduleId); + } +} + +/** + * Returns the first chunk that included a module. + * This is used by the Node.js backend, hence why it's marked as unused in this + * file. + */ +function getFirstModuleChunk(moduleId: ModuleId) { + const moduleChunkPaths = moduleChunksMap.get(moduleId); + if (moduleChunkPaths == null) { + return null; + } + + return moduleChunkPaths.values().next().value; +} + +/** + * Instantiates a runtime module. + */ +function instantiateRuntimeModule( + moduleId: ModuleId, + chunkPath: ChunkPath +): Module { + return instantiateModule(moduleId, { type: SourceType.Runtime, chunkPath }); +} + +/** + * Returns the URL relative to the origin where a chunk can be fetched from. + */ +function getChunkRelativeUrl(chunkPath: ChunkPath): string { + return `${CHUNK_BASE_PATH}${chunkPath + .split("/") + .map((p) => encodeURIComponent(p)) + .join("/")}`; +} + +/** + * Marks a chunk list as a runtime chunk list. There can be more than one + * runtime chunk list. For instance, integration tests can have multiple chunk + * groups loaded at runtime, each with its own chunk list. + */ +function markChunkListAsRuntime(chunkListPath: ChunkPath) { + runtimeChunkLists.add(chunkListPath); +} + +function registerChunk([ + chunkPath, + chunkModules, + runtimeParams, +]: ChunkRegistration) { + for (const [moduleId, moduleFactory] of Object.entries(chunkModules)) { + if (!moduleFactories[moduleId]) { + moduleFactories[moduleId] = moduleFactory; + } + addModuleToChunk(moduleId, chunkPath); + } + + return BACKEND.registerChunk(chunkPath, runtimeParams); +} diff --git a/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/dev/runtime/base/tsconfig.json b/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/base/tsconfig.json similarity index 78% rename from turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/dev/runtime/base/tsconfig.json rename to turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/base/tsconfig.json index cc70058649bb6..5aa7968522993 100644 --- a/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/dev/runtime/base/tsconfig.json +++ b/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/base/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../tsconfig.base.json", "compilerOptions": { // environment, we need WebWorker for WebAssembly types "lib": ["ESNext", "WebWorker"] diff --git a/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/dom/dev-backend-dom.ts b/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/dom/dev-backend-dom.ts new file mode 100644 index 0000000000000..7ce31930e4ab1 --- /dev/null +++ b/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/dom/dev-backend-dom.ts @@ -0,0 +1,130 @@ +/** + * This file contains the runtime code specific to the Turbopack development + * ECMAScript DOM runtime. + * + * It will be appended to the base development runtime code. + */ + +/* eslint-disable @typescript-eslint/no-unused-vars */ + +/// +/// +/// +/// + +let DEV_BACKEND: DevRuntimeBackend; + +(() => { + DEV_BACKEND = { + unloadChunk(chunkPath) { + deleteResolver(chunkPath); + + const chunkUrl = getChunkRelativeUrl(chunkPath); + // TODO(PACK-2140): remove this once all filenames are guaranteed to be escaped. + const decodedChunkUrl = decodeURI(chunkUrl); + + if (chunkPath.endsWith(".css")) { + const links = document.querySelectorAll( + `link[href="${chunkUrl}"],link[href^="${chunkUrl}?"],link[href="${decodedChunkUrl}"],link[href^="${decodedChunkUrl}?"]` + ); + for (const link of Array.from(links)) { + link.remove(); + } + } else if (chunkPath.endsWith(".js")) { + // Unloading a JS chunk would have no effect, as it lives in the JS + // runtime once evaluated. + // However, we still want to remove the script tag from the DOM to keep + // the HTML somewhat consistent from the user's perspective. + const scripts = document.querySelectorAll( + `script[src="${chunkUrl}"],script[src^="${chunkUrl}?"],script[src="${decodedChunkUrl}"],script[src^="${decodedChunkUrl}?"]` + ); + for (const script of Array.from(scripts)) { + script.remove(); + } + } else { + throw new Error(`can't infer type of chunk from path ${chunkPath}`); + } + }, + + reloadChunk(chunkPath) { + return new Promise((resolve, reject) => { + if (!chunkPath.endsWith(".css")) { + reject(new Error("The DOM backend can only reload CSS chunks")); + return; + } + + const chunkUrl = getChunkRelativeUrl(chunkPath); + const decodedChunkUrl = decodeURI(chunkUrl); + + const previousLinks = document.querySelectorAll( + `link[rel=stylesheet][href="${chunkUrl}"],link[rel=stylesheet][href^="${chunkUrl}?"],link[rel=stylesheet][href="${decodedChunkUrl}"],link[rel=stylesheet][href^="${decodedChunkUrl}?"]` + ); + + if (previousLinks.length === 0) { + reject(new Error(`No link element found for chunk ${chunkPath}`)); + return; + } + + const link = document.createElement("link"); + link.rel = "stylesheet"; + + if (navigator.userAgent.includes("Firefox")) { + // Firefox won't reload CSS files that were previously loaded on the current page, + // we need to add a query param to make sure CSS is actually reloaded from the server. + // + // I believe this is this issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1037506 + // + // Safari has a similar issue, but only if you have a `` tag + // pointing to the same URL as the stylesheet: https://bugs.webkit.org/show_bug.cgi?id=187726 + link.href = `${chunkUrl}?ts=${Date.now()}`; + } else { + link.href = chunkUrl; + } + + link.onerror = () => { + reject(); + }; + link.onload = () => { + // First load the new CSS, then remove the old ones. This prevents visible + // flickering that would happen in-between removing the previous CSS and + // loading the new one. + for (const previousLink of Array.from(previousLinks)) + previousLink.remove(); + + // CSS chunks do not register themselves, and as such must be marked as + // loaded instantly. + resolve(); + }; + + // Make sure to insert the new CSS right after the previous one, so that + // its precedence is higher. + previousLinks[0].parentElement!.insertBefore( + link, + previousLinks[0].nextSibling + ); + }); + }, + + restart: () => self.location.reload(), + }; + + function deleteResolver(chunkPath: ChunkPath) { + chunkResolvers.delete(chunkPath); + } +})(); + +function _eval({ code, url, map }: EcmascriptModuleEntry): ModuleFactory { + code += `\n\n//# sourceURL=${encodeURI( + location.origin + CHUNK_BASE_PATH + url + )}`; + if (map) { + code += `\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,${btoa( + // btoa doesn't handle nonlatin characters, so escape them as \x sequences + // See https://stackoverflow.com/a/26603875 + unescape(encodeURIComponent(map)) + )}`; + } + + // eslint-disable-next-line no-eval + return eval(code); +} diff --git a/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/dev/runtime/dom/runtime-backend-dom.ts b/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/dom/runtime-backend-dom.ts similarity index 57% rename from turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/dev/runtime/dom/runtime-backend-dom.ts rename to turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/dom/runtime-backend-dom.ts index 21dfa240f74de..9e59a8fb71050 100644 --- a/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/dev/runtime/dom/runtime-backend-dom.ts +++ b/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/dom/runtime-backend-dom.ts @@ -7,8 +7,8 @@ /* eslint-disable @typescript-eslint/no-unused-vars */ -/// -/// +/// +/// type ChunkResolver = { resolved: boolean; @@ -19,7 +19,7 @@ type ChunkResolver = { let BACKEND: RuntimeBackend; -function augmentContext(context: TurbopackDevBaseContext): TurbopackDevContext { +function augmentContext(context: unknown): unknown { return context; } @@ -28,7 +28,7 @@ function fetchWebAssembly(wasmChunkPath: ChunkPath) { } async function loadWebAssembly( - _source: SourceInfo, + _source: unknown, wasmChunkPath: ChunkPath, importsObj: WebAssembly.Imports ): Promise { @@ -40,7 +40,7 @@ async function loadWebAssembly( } async function loadWebAssemblyModule( - _source: SourceInfo, + _source: unknown, wasmChunkPath: ChunkPath ): Promise { const req = fetchWebAssembly(wasmChunkPath); @@ -48,6 +48,11 @@ async function loadWebAssemblyModule( return await WebAssembly.compileStreaming(req); } +/** + * Maps chunk paths to the corresponding resolver. + */ +const chunkResolvers: Map = new Map(); + (() => { BACKEND = { async registerChunk(chunkPath, params) { @@ -81,104 +86,8 @@ async function loadWebAssemblyModule( loadChunk(chunkPath, source) { return doLoadChunk(chunkPath, source); }, - - unloadChunk(chunkPath) { - deleteResolver(chunkPath); - - const chunkUrl = getChunkRelativeUrl(chunkPath); - // TODO(PACK-2140): remove this once all filenames are guaranteed to be escaped. - const decodedChunkUrl = decodeURI(chunkUrl); - - if (chunkPath.endsWith(".css")) { - const links = document.querySelectorAll( - `link[href="${chunkUrl}"],link[href^="${chunkUrl}?"],link[href="${decodedChunkUrl}"],link[href^="${decodedChunkUrl}?"]` - ); - for (const link of Array.from(links)) { - link.remove(); - } - } else if (chunkPath.endsWith(".js")) { - // Unloading a JS chunk would have no effect, as it lives in the JS - // runtime once evaluated. - // However, we still want to remove the script tag from the DOM to keep - // the HTML somewhat consistent from the user's perspective. - const scripts = document.querySelectorAll( - `script[src="${chunkUrl}"],script[src^="${chunkUrl}?"],script[src="${decodedChunkUrl}"],script[src^="${decodedChunkUrl}?"]` - ); - for (const script of Array.from(scripts)) { - script.remove(); - } - } else { - throw new Error(`can't infer type of chunk from path ${chunkPath}`); - } - }, - - reloadChunk(chunkPath) { - return new Promise((resolve, reject) => { - if (!chunkPath.endsWith(".css")) { - reject(new Error("The DOM backend can only reload CSS chunks")); - return; - } - - const chunkUrl = getChunkRelativeUrl(chunkPath); - const decodedChunkUrl = decodeURI(chunkUrl); - - const previousLinks = document.querySelectorAll( - `link[rel=stylesheet][href="${chunkUrl}"],link[rel=stylesheet][href^="${chunkUrl}?"],link[rel=stylesheet][href="${decodedChunkUrl}"],link[rel=stylesheet][href^="${decodedChunkUrl}?"]` - ); - - if (previousLinks.length === 0) { - reject(new Error(`No link element found for chunk ${chunkPath}`)); - return; - } - - const link = document.createElement("link"); - link.rel = "stylesheet"; - - if (navigator.userAgent.includes("Firefox")) { - // Firefox won't reload CSS files that were previously loaded on the current page, - // we need to add a query param to make sure CSS is actually reloaded from the server. - // - // I believe this is this issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1037506 - // - // Safari has a similar issue, but only if you have a `` tag - // pointing to the same URL as the stylesheet: https://bugs.webkit.org/show_bug.cgi?id=187726 - link.href = `${chunkUrl}?ts=${Date.now()}`; - } else { - link.href = chunkUrl; - } - - link.onerror = () => { - reject(); - }; - link.onload = () => { - // First load the new CSS, then remove the old ones. This prevents visible - // flickering that would happen in-between removing the previous CSS and - // loading the new one. - for (const previousLink of Array.from(previousLinks)) - previousLink.remove(); - - // CSS chunks do not register themselves, and as such must be marked as - // loaded instantly. - resolve(); - }; - - // Make sure to insert the new CSS right after the previous one, so that - // its precedence is higher. - previousLinks[0].parentElement!.insertBefore( - link, - previousLinks[0].nextSibling - ); - }); - }, - - restart: () => self.location.reload(), }; - /** - * Maps chunk paths to the corresponding resolver. - */ - const chunkResolvers: Map = new Map(); - function getOrCreateResolver(chunkPath: ChunkPath): ChunkResolver { let resolver = chunkResolvers.get(chunkPath); if (!resolver) { @@ -202,10 +111,6 @@ async function loadWebAssemblyModule( return resolver; } - function deleteResolver(chunkPath: ChunkPath) { - chunkResolvers.delete(chunkPath); - } - /** * Loads the given chunk, and returns a promise that resolves once the chunk * has been loaded. @@ -299,19 +204,3 @@ async function loadWebAssemblyModule( return resolver.promise; } })(); - -function _eval({ code, url, map }: EcmascriptModuleEntry): ModuleFactory { - code += `\n\n//# sourceURL=${encodeURI( - location.origin + CHUNK_BASE_PATH + url - )}`; - if (map) { - code += `\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,${btoa( - // btoa doesn't handle nonlatin characters, so escape them as \x sequences - // See https://stackoverflow.com/a/26603875 - unescape(encodeURIComponent(map)) - )}`; - } - - // eslint-disable-next-line no-eval - return eval(code); -} diff --git a/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/dev/runtime/dom/tsconfig.json b/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/dom/tsconfig.json similarity index 73% rename from turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/dev/runtime/dom/tsconfig.json rename to turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/dom/tsconfig.json index 2f29983db98d0..4908beba8e3ea 100644 --- a/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/dev/runtime/dom/tsconfig.json +++ b/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/dom/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../tsconfig.base.json", "compilerOptions": { // environment "lib": ["ESNext", "DOM", "WebWorker.ImportScripts"] diff --git a/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/edge/dev-backend-edge.ts b/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/edge/dev-backend-edge.ts new file mode 100644 index 0000000000000..4f0c15e6598dd --- /dev/null +++ b/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/edge/dev-backend-edge.ts @@ -0,0 +1,24 @@ +/** + * This file contains the runtime code specific to the Turbopack development + * ECMAScript "None" runtime (e.g. for Edge). + * + * It will be appended to the base development runtime code. + */ + +/* eslint-disable @typescript-eslint/no-unused-vars */ + +/// + +let DEV_BACKEND: DevRuntimeBackend; + +(() => { + DEV_BACKEND = { + restart: () => { + throw new Error("restart is not supported"); + }, + }; +})(); + +function _eval(_: EcmascriptModuleEntry) { + throw new Error("HMR evaluation is not implemented on this backend"); +} diff --git a/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/dev/runtime/edge/runtime-backend-edge.ts b/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/edge/runtime-backend-edge.ts similarity index 90% rename from turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/dev/runtime/edge/runtime-backend-edge.ts rename to turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/edge/runtime-backend-edge.ts index 232078a3bb90b..e38695fc3d488 100644 --- a/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/dev/runtime/edge/runtime-backend-edge.ts +++ b/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/edge/runtime-backend-edge.ts @@ -8,8 +8,8 @@ /* eslint-disable @typescript-eslint/no-unused-vars */ /// -/// -/// +/// +/// type ChunkRunner = { requiredChunks: Set; @@ -23,15 +23,16 @@ type ExternalRequire = ( id: ModuleId, esm?: boolean ) => Exports | EsmNamespaceObject; + type ExternalImport = (id: ModuleId) => Promise; -interface TurbopackDevContext extends TurbopackDevBaseContext { +interface TurbopackEdgeContext extends TurbopackBaseContext { x: ExternalRequire; y: ExternalImport; } -function augmentContext(context: TurbopackDevBaseContext): TurbopackDevContext { - const nodejsContext = context as TurbopackDevContext; +function augmentContext(context: TurbopackBaseContext): TurbopackEdgeContext { + const nodejsContext = context as TurbopackEdgeContext; nodejsContext.x = externalRequire; nodejsContext.y = externalImport; return nodejsContext; @@ -121,10 +122,6 @@ async function loadWebAssemblyModule( loadChunk(_chunkPath, _fromChunkPath) { throw new Error("chunk loading is not supported"); }, - - restart: () => { - throw new Error("restart is not supported"); - }, }; const registeredChunks: Set = new Set(); @@ -198,7 +195,3 @@ async function loadWebAssemblyModule( } } })(); - -function _eval(_: EcmascriptModuleEntry): ModuleFactory { - throw new Error("HMR evaluation is not implemented on this backend"); -} diff --git a/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/dev/runtime/edge/tsconfig.json b/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/edge/tsconfig.json similarity index 76% rename from turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/dev/runtime/edge/tsconfig.json rename to turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/edge/tsconfig.json index fabb2ed16dbbb..5722142375561 100644 --- a/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/dev/runtime/edge/tsconfig.json +++ b/turbopack/crates/turbopack-ecmascript-runtime/js/src/browser/runtime/edge/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../tsconfig.base.json", "compilerOptions": { // environment, we need WebWorker for WebAssembly types "lib": ["ESNext", "WebWorker"] diff --git a/turbopack/crates/turbopack-ecmascript-runtime/js/src/nodejs/runtime.ts b/turbopack/crates/turbopack-ecmascript-runtime/js/src/nodejs/runtime.ts index 034488a5bdb7c..15ca270206cc4 100644 --- a/turbopack/crates/turbopack-ecmascript-runtime/js/src/nodejs/runtime.ts +++ b/turbopack/crates/turbopack-ecmascript-runtime/js/src/nodejs/runtime.ts @@ -41,7 +41,7 @@ function stringifySourceInfo(source: SourceInfo): string { type ExternalRequire = (id: ModuleId) => Exports | EsmNamespaceObject; type ExternalImport = (id: ModuleId) => Promise; -interface TurbopackNodeBuildContext extends TurbopackBaseContext { +interface TurbopackNodeBuildContext extends TurbopackBaseContext { R: ResolvePathFromModule; x: ExternalRequire; y: ExternalImport; @@ -57,7 +57,7 @@ const fs = require("fs/promises"); const vm = require("vm"); const moduleFactories: ModuleFactories = Object.create(null); -const moduleCache: ModuleCache = Object.create(null); +const moduleCache: ModuleCache = Object.create(null); /** * Returns an absolute path to the given module's id. @@ -177,11 +177,11 @@ function loadWebAssemblyModule(chunkPath: ChunkPath) { return compileWebAssemblyFromPath(resolved); } -function getWorkerBlobURL(_chunks: ChunkPath[]) { +function getWorkerBlobURL(_chunks: ChunkPath[]): string { throw new Error("Worker blobs are not implemented yet for Node.js"); } -function instantiateModule(id: ModuleId, source: SourceInfo): Module { +function instantiateModule(id: ModuleId, source: SourceInfo): ModuleWithDirection { const moduleFactory = moduleFactories[id]; if (typeof moduleFactory !== "function") { // This can happen if modules incorrectly handle HMR disposes/updates, @@ -217,7 +217,7 @@ function instantiateModule(id: ModuleId, source: SourceInfo): Module { invariant(source, (source) => `Unknown source type: ${source?.type}`); } - const module: Module = { + const module: ModuleWithDirection = { exports: {}, error: undefined, loaded: false, @@ -255,6 +255,7 @@ function instantiateModule(id: ModuleId, source: SourceInfo): Module { U: relativeURL, R: createResolvePathFromModule(r), b: getWorkerBlobURL, + z: requireStub, __dirname: typeof module.id === "string" ? module.id.replace(/(^|\/)\/+$/, "") : module.id }); } catch (error) { @@ -274,10 +275,11 @@ function instantiateModule(id: ModuleId, source: SourceInfo): Module { /** * Retrieves a module from the cache, or instantiate it if it is not cached. */ +// @ts-ignore function getOrInstantiateModuleFromParent( id: ModuleId, - sourceModule: Module -): Module { + sourceModule: ModuleWithDirection +): ModuleWithDirection { const module = moduleCache[id]; if (sourceModule.children.indexOf(id) === -1) { @@ -311,6 +313,7 @@ function instantiateRuntimeModule( /** * Retrieves a module from the cache, or instantiate it as a runtime module if it is not cached. */ +// @ts-ignore TypeScript doesn't separate this module space from the browser runtime function getOrInstantiateRuntimeModule( moduleId: ModuleId, chunkPath: ChunkPath diff --git a/turbopack/crates/turbopack-ecmascript-runtime/js/src/shared/dummy.ts b/turbopack/crates/turbopack-ecmascript-runtime/js/src/shared/dummy.ts index 7a6071d133166..f60125232b9a4 100644 --- a/turbopack/crates/turbopack-ecmascript-runtime/js/src/shared/dummy.ts +++ b/turbopack/crates/turbopack-ecmascript-runtime/js/src/shared/dummy.ts @@ -7,4 +7,7 @@ * This interface will be implemented by runtimes. */ -declare var getOrInstantiateModuleFromParent: GetOrInstantiateModuleFromParent; +declare function getOrInstantiateModuleFromParent( + id: ModuleId, + sourceModule: M +): M; diff --git a/turbopack/crates/turbopack-ecmascript-runtime/js/src/shared/runtime-types.d.ts b/turbopack/crates/turbopack-ecmascript-runtime/js/src/shared/runtime-types.d.ts index 53b0ffaded23c..e4cb9900931de 100644 --- a/turbopack/crates/turbopack-ecmascript-runtime/js/src/shared/runtime-types.d.ts +++ b/turbopack/crates/turbopack-ecmascript-runtime/js/src/shared/runtime-types.d.ts @@ -10,6 +10,12 @@ type ChunkPath = string; type ModuleId = string; +interface Exports { + __esModule?: boolean; + + [key: string]: any; +} + type ChunkData = | ChunkPath | { @@ -37,8 +43,8 @@ type LoadWebAssembly = ( ) => Exports; type LoadWebAssemblyModule = (wasmChunkPath: ChunkPath) => WebAssembly.Module; -type ModuleCache = Record; -type ModuleFactories = Record; +type ModuleCache = Record; +type ModuleFactories = Record; type RelativeURL = (inputUrl: string) => void; type ResolvePathFromModule = (moduleId: string) => string; @@ -56,7 +62,25 @@ type AsyncModule = ( type ResolveAbsolutePath = (modulePath?: string) => string; type GetWorkerBlobURL = (chunks: ChunkPath[]) => string; -interface TurbopackBaseContext { +interface Module { + exports: Function | Exports | Promise | AsyncModulePromise; + error: Error | undefined; + loaded: boolean; + id: ModuleId; + namespaceObject?: + | EsmNamespaceObject + | Promise + | AsyncModulePromise; + [REEXPORTED_OBJECTS]?: any[]; +} + +interface ModuleWithDirection extends Module { + children: ModuleId[]; + parents: ModuleId[]; +} + + +interface TurbopackBaseContext { a: AsyncModule; e: Module["exports"]; r: CommonJsRequire; @@ -68,7 +92,7 @@ interface TurbopackBaseContext { v: ExportValue; n: ExportNamespace; m: Module; - c: ModuleCache; + c: ModuleCache; M: ModuleFactories; l: LoadChunk; w: LoadWebAssembly; @@ -77,5 +101,6 @@ interface TurbopackBaseContext { P: ResolveAbsolutePath; U: RelativeURL; b: GetWorkerBlobURL, + z: CommonJsRequire __dirname: string; } diff --git a/turbopack/crates/turbopack-ecmascript-runtime/js/src/shared/runtime-utils.ts b/turbopack/crates/turbopack-ecmascript-runtime/js/src/shared/runtime-utils.ts index e74d2f08302ad..61c0ceb80fd84 100644 --- a/turbopack/crates/turbopack-ecmascript-runtime/js/src/shared/runtime-utils.ts +++ b/turbopack/crates/turbopack-ecmascript-runtime/js/src/shared/runtime-utils.ts @@ -9,31 +9,15 @@ /// -interface Exports { - __esModule?: boolean; - - [key: string]: any; -} - type EsmNamespaceObject = Record; -const REEXPORTED_OBJECTS = Symbol("reexported objects"); - -interface BaseModule { - exports: Function | Exports | Promise | AsyncModulePromise; - error: Error | undefined; - loaded: boolean; - id: ModuleId; - children: ModuleId[]; - parents: ModuleId[]; - namespaceObject?: - | EsmNamespaceObject - | Promise - | AsyncModulePromise; - [REEXPORTED_OBJECTS]?: any[]; -} +// @ts-ignore Defined in `dev-base.ts` +declare function getOrInstantiateModuleFromParent( + id: ModuleId, + sourceModule: M +): M; -interface Module extends BaseModule {} +const REEXPORTED_OBJECTS = Symbol("reexported objects"); type ModuleContextMap = Record; @@ -54,10 +38,12 @@ interface ModuleContext { resolve(moduleId: ModuleId): ModuleId; } -type GetOrInstantiateModuleFromParent = ( +type GetOrInstantiateModuleFromParent = ( moduleId: ModuleId, - parentModule: Module -) => Module; + parentModule: M +) => M; + +declare function getOrInstantiateRuntimeModule(moduleId: ModuleId, chunkPath: ChunkPath): Module; const hasOwnProperty = Object.prototype.hasOwnProperty; const toStringTag = typeof Symbol !== "undefined" && Symbol.toStringTag; @@ -211,7 +197,7 @@ function interopEsm( return ns; } -function createNS(raw: BaseModule["exports"]): EsmNamespaceObject { +function createNS(raw: Module["exports"]): EsmNamespaceObject { if (typeof raw === "function") { return function (this: any, ...args: any[]) { return raw.apply(this, args); @@ -243,7 +229,9 @@ function esmImport( // Add a simple runtime require so that environments without one can still pass // `typeof require` CommonJS checks so that exports are correctly registered. const runtimeRequire = + // @ts-ignore typeof require === "function" + // @ts-ignore ? require : function require() { throw new Error("Unexpected use of runtime require"); @@ -521,3 +509,10 @@ relativeURL.prototype = URL.prototype; function invariant(never: never, computeMessage: (arg: any) => string): never { throw new Error(`Invariant: ${computeMessage(never)}`); } + +/** + * A stub function to make `require` available but non-functional in ESM. + */ +function requireStub(_moduleId: ModuleId): never { + throw new Error("dynamic usage of require is not supported"); +} diff --git a/turbopack/crates/turbopack-ecmascript-runtime/src/browser_runtime.rs b/turbopack/crates/turbopack-ecmascript-runtime/src/browser_runtime.rs index 3ef6e5f8f01e5..4ffbb5f7f2ba8 100644 --- a/turbopack/crates/turbopack-ecmascript-runtime/src/browser_runtime.rs +++ b/turbopack/crates/turbopack-ecmascript-runtime/src/browser_runtime.rs @@ -2,7 +2,7 @@ use std::io::Write; use anyhow::Result; use indoc::writedoc; -use turbo_tasks::{RcStr, Vc}; +use turbo_tasks::{RcStr, Value, Vc}; use turbopack_core::{ code_builder::{Code, CodeBuilder}, context::AssetContext, @@ -10,23 +10,32 @@ use turbopack_core::{ }; use turbopack_ecmascript::utils::StringifyJs; -use crate::{asset_context::get_runtime_asset_context, embed_js::embed_static_code}; +use crate::{asset_context::get_runtime_asset_context, embed_js::embed_static_code, RuntimeType}; -/// Returns the code for the development ECMAScript runtime. +/// Returns the code for the ECMAScript runtime. #[turbo_tasks::function] pub async fn get_browser_runtime_code( environment: Vc, chunk_base_path: Vc>, + runtime_type: Value, output_root: Vc, ) -> Result> { let asset_context = get_runtime_asset_context(environment); let shared_runtime_utils_code = embed_static_code(asset_context, "shared/runtime-utils.ts".into()); - let runtime_base_code = embed_static_code( - asset_context, - "browser/dev/runtime/base/runtime-base.ts".into(), - ); + + let mut runtime_base_code = vec!["browser/runtime/base/runtime-base.ts"]; + match *runtime_type { + RuntimeType::Production => runtime_base_code.push("browser/runtime/base/build-base.ts"), + RuntimeType::Development => { + runtime_base_code.push("browser/runtime/base/dev-base.ts"); + } + #[cfg(feature = "test")] + RuntimeType::Dummy => { + panic!("This configuration is not supported in the browser runtime") + } + } let chunk_loading = &*asset_context .compile_time_info() @@ -34,17 +43,33 @@ pub async fn get_browser_runtime_code( .chunk_loading() .await?; - let runtime_backend_code = embed_static_code( - asset_context, - match chunk_loading { - ChunkLoading::Edge => "browser/dev/runtime/edge/runtime-backend-edge.ts".into(), - // This case should never be hit. - ChunkLoading::NodeJs => { - panic!("Node.js runtime is not supported in the browser runtime!") - } - ChunkLoading::Dom => "browser/dev/runtime/dom/runtime-backend-dom.ts".into(), - }, - ); + let mut runtime_backend_code = vec![]; + match (chunk_loading, *runtime_type) { + (ChunkLoading::Edge, RuntimeType::Development) => { + runtime_backend_code.push("browser/runtime/edge/runtime-backend-edge.ts"); + runtime_backend_code.push("browser/runtime/edge/dev-backend-edge.ts"); + } + (ChunkLoading::Edge, RuntimeType::Production) => { + runtime_backend_code.push("browser/runtime/edge/runtime-backend-edge.ts"); + } + // This case should never be hit. + (ChunkLoading::NodeJs, _) => { + panic!("Node.js runtime is not supported in the browser runtime!") + } + (ChunkLoading::Dom, RuntimeType::Development) => { + runtime_backend_code.push("browser/runtime/dom/runtime-backend-dom.ts"); + runtime_backend_code.push("browser/runtime/dom/dev-backend-dom.ts"); + } + (ChunkLoading::Dom, RuntimeType::Production) => { + // TODO + runtime_backend_code.push("browser/runtime/dom/runtime-backend-dom.ts"); + } + + #[cfg(feature = "test")] + (_, RuntimeType::Dummy) => { + panic!("This configuration is not supported in the browser runtime") + } + }; let mut code: CodeBuilder = CodeBuilder::default(); let output_root = output_root.await?.to_string(); @@ -69,7 +94,9 @@ pub async fn get_browser_runtime_code( )?; code.push_code(&*shared_runtime_utils_code.await?); - code.push_code(&*runtime_base_code.await?); + for runtime_code in runtime_base_code { + code.push_code(&*embed_static_code(asset_context, runtime_code.into()).await?); + } if *environment.supports_commonjs_externals().await? { code.push_code( @@ -89,7 +116,9 @@ pub async fn get_browser_runtime_code( ); } - code.push_code(&*runtime_backend_code.await?); + for backend_code in runtime_backend_code { + code.push_code(&*embed_static_code(asset_context, backend_code.into()).await?); + } // Registering chunks depends on the BACKEND variable, which is set by the // specific runtime code, hence it must be appended after it. diff --git a/turbopack/crates/turbopack-ecmascript/src/async_chunk/chunk_item.rs b/turbopack/crates/turbopack-ecmascript/src/async_chunk/chunk_item.rs index 6fd76155f6e6b..77134077a1cf9 100644 --- a/turbopack/crates/turbopack-ecmascript/src/async_chunk/chunk_item.rs +++ b/turbopack/crates/turbopack-ecmascript/src/async_chunk/chunk_item.rs @@ -30,15 +30,14 @@ pub struct AsyncLoaderChunkItem { #[turbo_tasks::value_impl] impl AsyncLoaderChunkItem { #[turbo_tasks::function] - pub(super) async fn chunks(self: Vc) -> Result> { - let this = self.await?; - let module = this.module.await?; + pub(super) async fn chunks(&self) -> Result> { + let module = self.module.await?; if let Some(chunk_items) = module.availability_info.available_chunk_items() { if chunk_items .get( module .inner - .as_chunk_item(Vc::upcast(this.chunking_context)) + .as_chunk_item(Vc::upcast(self.chunking_context)) .resolve() .await?, ) @@ -48,7 +47,7 @@ impl AsyncLoaderChunkItem { return Ok(Vc::cell(vec![])); } } - Ok(this.chunking_context.chunk_group_assets( + Ok(self.chunking_context.chunk_group_assets( Vc::upcast(module.inner), Value::new(module.availability_info), )) @@ -197,7 +196,7 @@ impl ChunkItem for AsyncLoaderChunkItem { } #[turbo_tasks::function] - async fn chunking_context(&self) -> Vc> { + fn chunking_context(&self) -> Vc> { Vc::upcast(self.chunking_context) } diff --git a/turbopack/crates/turbopack-ecmascript/src/async_chunk/module.rs b/turbopack/crates/turbopack-ecmascript/src/async_chunk/module.rs index 460067b09c86a..94daedfed109f 100644 --- a/turbopack/crates/turbopack-ecmascript/src/async_chunk/module.rs +++ b/turbopack/crates/turbopack-ecmascript/src/async_chunk/module.rs @@ -77,7 +77,7 @@ impl Asset for AsyncLoaderModule { #[turbo_tasks::value_impl] impl ChunkableModule for AsyncLoaderModule { #[turbo_tasks::function] - async fn as_chunk_item( + fn as_chunk_item( self: Vc, chunking_context: Vc>, ) -> Result>> { diff --git a/turbopack/crates/turbopack-ecmascript/src/chunk/item.rs b/turbopack/crates/turbopack-ecmascript/src/chunk/item.rs index b5cab6b92c740..88a12c1fb6248 100644 --- a/turbopack/crates/turbopack-ecmascript/src/chunk/item.rs +++ b/turbopack/crates/turbopack-ecmascript/src/chunk/item.rs @@ -54,6 +54,7 @@ impl EcmascriptChunkItemContent { refresh, externals, async_module, + stub_require: true, ..Default::default() } } else { @@ -67,7 +68,6 @@ impl EcmascriptChunkItemContent { // These things are not available in ESM module: true, exports: true, - require: true, this: true, ..Default::default() } @@ -78,8 +78,7 @@ impl EcmascriptChunkItemContent { } #[turbo_tasks::function] - pub async fn module_factory(self: Vc) -> Result> { - let this = self.await?; + pub async fn module_factory(&self) -> Result> { let mut args = vec![ "r: __turbopack_require__", "f: __turbopack_module_context__", @@ -99,63 +98,66 @@ impl EcmascriptChunkItemContent { // HACK "__dirname", ]; - if this.options.async_module.is_some() { + if self.options.async_module.is_some() { args.push("a: __turbopack_async_module__"); } - if this.options.externals { + if self.options.externals { args.push("x: __turbopack_external_require__"); args.push("y: __turbopack_external_import__"); } - if this.options.refresh { + if self.options.refresh { args.push("k: __turbopack_refresh__"); } - if this.options.module || this.options.refresh { + if self.options.module || self.options.refresh { args.push("m: module"); } - if this.options.exports { + if self.options.exports { args.push("e: exports"); } - if this.options.require { + if self.options.stub_require { + args.push("z: require"); + } else { args.push("t: require"); } - if this.options.wasm { + if self.options.wasm { args.push("w: __turbopack_wasm__"); args.push("u: __turbopack_wasm_module__"); } let mut code = CodeBuilder::default(); let args = FormatIter(|| args.iter().copied().intersperse(", ")); - if this.options.this { - writeln!(code, "(function({{ {} }}) {{ !function() {{", args,)?; + if self.options.this { + code += "(function(__turbopack_context__) {\n"; } else { - writeln!(code, "(({{ {} }}) => (() => {{", args,)?; + code += "((__turbopack_context__) => {\n"; } - if this.options.strict { + if self.options.strict { code += "\"use strict\";\n\n"; } else { code += "\n"; } + writeln!(code, "var {{ {} }} = __turbopack_context__;", args)?; - if this.options.async_module.is_some() { + if self.options.async_module.is_some() { code += "__turbopack_async_module__(async (__turbopack_handle_async_dependencies__, \ __turbopack_async_result__) => { try {\n"; + } else { + code += "{\n"; } - code.push_source(&this.inner_code, this.source_map); + code.push_source(&self.inner_code, self.source_map); - if let Some(opts) = &this.options.async_module { + if let Some(opts) = &self.options.async_module { write!( code, "__turbopack_async_result__();\n}} catch(e) {{ __turbopack_async_result__(e); }} \ }}, {});", opts.has_top_level_await )?; - } - - if this.options.this { - code += "\n}.call(this) })"; } else { - code += "\n})())"; + code += "}"; } + + code += "})"; Ok(code.build().cell()) } } @@ -173,9 +175,9 @@ pub struct EcmascriptChunkItemOptions { /// Whether this chunk item's module factory should include an `exports` /// argument. pub exports: bool, - /// Whether this chunk item's module factory should include a `require` - /// argument. - pub require: bool, + /// Whether this chunk item's module factory should include an argument for the real `require`, + /// or just a throwing stub (for ESM) + pub stub_require: bool, /// Whether this chunk item's module factory should include a /// `__turbopack_external_require__` argument. pub externals: bool, diff --git a/turbopack/crates/turbopack-ecmascript/src/chunk/mod.rs b/turbopack/crates/turbopack-ecmascript/src/chunk/mod.rs index a45ad1374fe72..ff631b9d6f80d 100644 --- a/turbopack/crates/turbopack-ecmascript/src/chunk/mod.rs +++ b/turbopack/crates/turbopack-ecmascript/src/chunk/mod.rs @@ -45,7 +45,7 @@ pub struct EcmascriptChunks(Vec>); #[turbo_tasks::value_impl] impl EcmascriptChunk { #[turbo_tasks::function] - pub async fn new( + pub fn new( chunking_context: Vc>, content: Vc, ) -> Result> { @@ -57,7 +57,7 @@ impl EcmascriptChunk { } #[turbo_tasks::function] - pub async fn entry_ids(self: Vc) -> Result> { + pub fn entry_ids(self: Vc) -> Result> { // TODO return something usefull Ok(Vc::cell(Default::default())) } @@ -76,12 +76,10 @@ fn availability_root_key() -> Vc { #[turbo_tasks::value_impl] impl Chunk for EcmascriptChunk { #[turbo_tasks::function] - async fn ident(self: Vc) -> Result> { - let this = self.await?; - + async fn ident(&self) -> Result> { let mut assets = Vec::new(); - let EcmascriptChunkContent { chunk_items, .. } = &*this.content.await?; + let EcmascriptChunkContent { chunk_items, .. } = &*self.content.await?; let mut common_path = if let Some((chunk_item, _)) = chunk_items.first() { let path = chunk_item.asset_ident().path().resolve().await?; Some((path, path.await?)) @@ -135,9 +133,8 @@ impl Chunk for EcmascriptChunk { } #[turbo_tasks::function] - async fn references(self: Vc) -> Result> { - let this = self.await?; - let content = this.content.await?; + async fn references(&self) -> Result> { + let content = self.content.await?; Ok(Vc::cell(content.referenced_output_assets.clone())) } } diff --git a/turbopack/crates/turbopack-ecmascript/src/chunk_group_files_asset.rs b/turbopack/crates/turbopack-ecmascript/src/chunk_group_files_asset.rs index b02d89c551f85..fd9c8d972b34e 100644 --- a/turbopack/crates/turbopack-ecmascript/src/chunk_group_files_asset.rs +++ b/turbopack/crates/turbopack-ecmascript/src/chunk_group_files_asset.rs @@ -124,9 +124,8 @@ struct ChunkGroupFilesChunkItem { #[turbo_tasks::value_impl] impl ChunkGroupFilesChunkItem { #[turbo_tasks::function] - async fn chunks(self: Vc) -> Result> { - let this = self.await?; - let inner = this.inner.await?; + async fn chunks(&self) -> Result> { + let inner = self.inner.await?; let chunks = if let Some(ecma) = Vc::try_resolve_sidecast::>(inner.module).await? { @@ -215,7 +214,7 @@ impl ChunkItem for ChunkGroupFilesChunkItem { } #[turbo_tasks::function] - async fn chunking_context(&self) -> Vc> { + fn chunking_context(&self) -> Vc> { Vc::upcast(self.chunking_context) } @@ -250,11 +249,11 @@ impl Introspectable for ChunkGroupFilesAsset { } #[turbo_tasks::function] - async fn children(self: Vc) -> Result> { + fn children(&self) -> Result> { let mut children = IndexSet::new(); children.insert(( Vc::cell("inner asset".into()), - IntrospectableModule::new(Vc::upcast(self.await?.module)), + IntrospectableModule::new(Vc::upcast(self.module)), )); Ok(Vc::cell(children)) } diff --git a/turbopack/crates/turbopack-ecmascript/src/lib.rs b/turbopack/crates/turbopack-ecmascript/src/lib.rs index f171c318e886c..4b45c88067ab7 100644 --- a/turbopack/crates/turbopack-ecmascript/src/lib.rs +++ b/turbopack/crates/turbopack-ecmascript/src/lib.rs @@ -352,13 +352,13 @@ impl EcmascriptParsable for EcmascriptModuleAsset { } #[turbo_tasks::function] - async fn parse_original(self: Vc) -> Result> { + fn parse_original(self: Vc) -> Result> { Ok(self.failsafe_parse()) } #[turbo_tasks::function] - async fn ty(self: Vc) -> Result> { - Ok(self.await?.ty.cell()) + fn ty(&self) -> Result> { + Ok(self.ty.cell()) } } @@ -461,8 +461,8 @@ impl EcmascriptModuleAsset { } #[turbo_tasks::function] - pub async fn source(self: Vc) -> Result>> { - Ok(self.await?.source) + pub fn source(&self) -> Result>> { + Ok(self.source) } #[turbo_tasks::function] @@ -471,8 +471,8 @@ impl EcmascriptModuleAsset { } #[turbo_tasks::function] - pub async fn options(self: Vc) -> Result> { - Ok(self.await?.options) + pub fn options(&self) -> Result> { + Ok(self.options) } #[turbo_tasks::function] @@ -569,7 +569,7 @@ impl Asset for EcmascriptModuleAsset { #[turbo_tasks::value_impl] impl ChunkableModule for EcmascriptModuleAsset { #[turbo_tasks::function] - async fn as_chunk_item( + fn as_chunk_item( self: Vc, chunking_context: Vc>, ) -> Result>> { @@ -641,7 +641,7 @@ impl ChunkItem for ModuleChunkItem { } #[turbo_tasks::function] - async fn chunking_context(&self) -> Vc> { + fn chunking_context(&self) -> Vc> { Vc::upcast(self.chunking_context) } diff --git a/turbopack/crates/turbopack-ecmascript/src/manifest/chunk_asset.rs b/turbopack/crates/turbopack-ecmascript/src/manifest/chunk_asset.rs index deacb22cfa791..eed27101735f8 100644 --- a/turbopack/crates/turbopack-ecmascript/src/manifest/chunk_asset.rs +++ b/turbopack/crates/turbopack-ecmascript/src/manifest/chunk_asset.rs @@ -52,11 +52,10 @@ impl ManifestAsyncModule { } #[turbo_tasks::function] - pub(super) async fn chunks(self: Vc) -> Result> { - let this = self.await?; - Ok(this + pub(super) fn chunks(&self) -> Result> { + Ok(self .chunking_context - .chunk_group_assets(Vc::upcast(this.inner), Value::new(this.availability_info))) + .chunk_group_assets(Vc::upcast(self.inner), Value::new(self.availability_info))) } #[turbo_tasks::function] @@ -140,7 +139,7 @@ impl Asset for ManifestAsyncModule { #[turbo_tasks::value_impl] impl ChunkableModule for ManifestAsyncModule { #[turbo_tasks::function] - async fn as_chunk_item( + fn as_chunk_item( self: Vc, chunking_context: Vc>, ) -> Result>> { diff --git a/turbopack/crates/turbopack-ecmascript/src/manifest/chunk_item.rs b/turbopack/crates/turbopack-ecmascript/src/manifest/chunk_item.rs index 9080b7558857c..4d09a1aac005e 100644 --- a/turbopack/crates/turbopack-ecmascript/src/manifest/chunk_item.rs +++ b/turbopack/crates/turbopack-ecmascript/src/manifest/chunk_item.rs @@ -29,11 +29,10 @@ pub(super) struct ManifestChunkItem { #[turbo_tasks::value_impl] impl ManifestChunkItem { #[turbo_tasks::function] - async fn chunks_data(self: Vc) -> Result> { - let this = self.await?; + fn chunks_data(&self) -> Result> { Ok(ChunkData::from_assets( - this.chunking_context.output_root(), - this.manifest.chunks(), + self.chunking_context.output_root(), + self.manifest.chunks(), )) } } @@ -98,7 +97,7 @@ impl ChunkItem for ManifestChunkItem { } #[turbo_tasks::function] - async fn chunking_context(&self) -> Vc> { + fn chunking_context(&self) -> Vc> { Vc::upcast(self.chunking_context) } diff --git a/turbopack/crates/turbopack-ecmascript/src/manifest/loader_item.rs b/turbopack/crates/turbopack-ecmascript/src/manifest/loader_item.rs index 5c9fc07495288..ece48fa38f8b1 100644 --- a/turbopack/crates/turbopack-ecmascript/src/manifest/loader_item.rs +++ b/turbopack/crates/turbopack-ecmascript/src/manifest/loader_item.rs @@ -58,11 +58,10 @@ impl ManifestLoaderChunkItem { } #[turbo_tasks::function] - pub async fn chunks_data(self: Vc) -> Result> { - let this = self.await?; - let chunks = this.manifest.manifest_chunks(); + pub fn chunks_data(&self) -> Result> { + let chunks = self.manifest.manifest_chunks(); Ok(ChunkData::from_assets( - this.chunking_context.output_root(), + self.chunking_context.output_root(), chunks, )) } @@ -125,7 +124,7 @@ impl ChunkItem for ManifestLoaderChunkItem { } #[turbo_tasks::function] - async fn chunking_context(&self) -> Result>> { + fn chunking_context(&self) -> Result>> { Ok(Vc::upcast(self.chunking_context)) } diff --git a/turbopack/crates/turbopack-ecmascript/src/references/async_module.rs b/turbopack/crates/turbopack-ecmascript/src/references/async_module.rs index b371c14f5af43..72635f242690c 100644 --- a/turbopack/crates/turbopack-ecmascript/src/references/async_module.rs +++ b/turbopack/crates/turbopack-ecmascript/src/references/async_module.rs @@ -173,8 +173,8 @@ impl AsyncModule { /// Returns #[turbo_tasks::function] - pub async fn module_options( - self: Vc, + pub fn module_options( + &self, async_module_info: Option>, ) -> Result> { if async_module_info.is_none() { @@ -182,7 +182,7 @@ impl AsyncModule { } Ok(Vc::cell(Some(AsyncModuleOptions { - has_top_level_await: self.await?.has_top_level_await, + has_top_level_await: self.has_top_level_await, }))) } diff --git a/turbopack/crates/turbopack-ecmascript/src/references/esm/binding.rs b/turbopack/crates/turbopack-ecmascript/src/references/esm/binding.rs index 4e3b9c8dd1fdc..266fdef6a2f0d 100644 --- a/turbopack/crates/turbopack-ecmascript/src/references/esm/binding.rs +++ b/turbopack/crates/turbopack-ecmascript/src/references/esm/binding.rs @@ -151,12 +151,11 @@ impl EsmBinding { impl CodeGenerateable for EsmBindings { #[turbo_tasks::function] async fn code_generation( - self: Vc, + &self, _context: Vc>, ) -> Result> { - let this = self.await?; let mut visitors = Vec::new(); - let bindings = this.bindings.clone(); + let bindings = self.bindings.clone(); for item in bindings.into_iter() { item.to_visitors(&mut visitors).await?; diff --git a/turbopack/crates/turbopack-ecmascript/src/references/esm/url.rs b/turbopack/crates/turbopack-ecmascript/src/references/esm/url.rs index 89bf7cf20dc74..85461158f1e29 100644 --- a/turbopack/crates/turbopack-ecmascript/src/references/esm/url.rs +++ b/turbopack/crates/turbopack-ecmascript/src/references/esm/url.rs @@ -90,7 +90,7 @@ impl UrlAssetReference { #[turbo_tasks::value_impl] impl ModuleReference for UrlAssetReference { #[turbo_tasks::function] - async fn resolve_reference(&self) -> Vc { + fn resolve_reference(&self) -> Vc { url_resolve( self.origin, self.request, diff --git a/turbopack/crates/turbopack-ecmascript/src/references/external_module.rs b/turbopack/crates/turbopack-ecmascript/src/references/external_module.rs index 65e16b175fbce..7b2f8876f9582 100644 --- a/turbopack/crates/turbopack-ecmascript/src/references/external_module.rs +++ b/turbopack/crates/turbopack-ecmascript/src/references/external_module.rs @@ -122,7 +122,7 @@ impl Asset for CachedExternalModule { #[turbo_tasks::value_impl] impl ChunkableModule for CachedExternalModule { #[turbo_tasks::function] - async fn as_chunk_item( + fn as_chunk_item( self: Vc, chunking_context: Vc>, ) -> Result>> { @@ -227,7 +227,7 @@ impl EcmascriptChunkItem for CachedExternalModuleChunkItem { } #[turbo_tasks::function] - async fn content_with_async_module_info( + fn content_with_async_module_info( &self, async_module_info: Option>, ) -> Result> { diff --git a/turbopack/crates/turbopack-ecmascript/src/references/require_context.rs b/turbopack/crates/turbopack-ecmascript/src/references/require_context.rs index 6c1db7bd6412d..8a067f9dd16fd 100644 --- a/turbopack/crates/turbopack-ecmascript/src/references/require_context.rs +++ b/turbopack/crates/turbopack-ecmascript/src/references/require_context.rs @@ -317,7 +317,7 @@ impl ModuleReference for ResolvedModuleReference { #[turbo_tasks::value_impl] impl ValueToString for ResolvedModuleReference { #[turbo_tasks::function] - async fn to_string(&self) -> Result> { + fn to_string(&self) -> Result> { Ok(Vc::cell("resolved reference".into())) } } @@ -509,7 +509,7 @@ impl ChunkItem for RequireContextChunkItem { } #[turbo_tasks::function] - async fn chunking_context(&self) -> Vc> { + fn chunking_context(&self) -> Vc> { Vc::upcast(self.chunking_context) } diff --git a/turbopack/crates/turbopack-ecmascript/src/side_effect_optimization/facade/module.rs b/turbopack/crates/turbopack-ecmascript/src/side_effect_optimization/facade/module.rs index 51853796f0a25..b8de4653482b9 100644 --- a/turbopack/crates/turbopack-ecmascript/src/side_effect_optimization/facade/module.rs +++ b/turbopack/crates/turbopack-ecmascript/src/side_effect_optimization/facade/module.rs @@ -40,9 +40,9 @@ impl EcmascriptModuleFacadeModule { } #[turbo_tasks::function] - pub async fn async_module(self: Vc) -> Result> { + pub async fn async_module(&self) -> Result> { let (import_externals, has_top_level_await) = - if let Some(async_module) = *self.await?.module.get_async_module().await? { + if let Some(async_module) = *self.module.get_async_module().await? { ( async_module.await?.import_externals, async_module.await?.has_top_level_await, @@ -61,7 +61,7 @@ impl EcmascriptModuleFacadeModule { #[turbo_tasks::value_impl] impl Module for EcmascriptModuleFacadeModule { #[turbo_tasks::function] - async fn ident(&self) -> Result> { + fn ident(&self) -> Result> { let inner = self.module.ident(); Ok(inner.with_part(self.ty)) @@ -135,7 +135,7 @@ impl Module for EcmascriptModuleFacadeModule { #[turbo_tasks::value_impl] impl Asset for EcmascriptModuleFacadeModule { #[turbo_tasks::function] - async fn content(&self) -> Result> { + fn content(&self) -> Result> { let f = File::from(""); Ok(AssetContent::file(FileContent::Content(f).cell())) @@ -283,7 +283,7 @@ impl EcmascriptChunkPlaceable for EcmascriptModuleFacadeModule { #[turbo_tasks::value_impl] impl ChunkableModule for EcmascriptModuleFacadeModule { #[turbo_tasks::function] - async fn as_chunk_item( + fn as_chunk_item( self: Vc, chunking_context: Vc>, ) -> Result>> { diff --git a/turbopack/crates/turbopack-ecmascript/src/side_effect_optimization/locals/module.rs b/turbopack/crates/turbopack-ecmascript/src/side_effect_optimization/locals/module.rs index 0cc104ef0b999..97b20bbcdcfbb 100644 --- a/turbopack/crates/turbopack-ecmascript/src/side_effect_optimization/locals/module.rs +++ b/turbopack/crates/turbopack-ecmascript/src/side_effect_optimization/locals/module.rs @@ -41,7 +41,7 @@ impl EcmascriptModuleLocalsModule { #[turbo_tasks::value_impl] impl Module for EcmascriptModuleLocalsModule { #[turbo_tasks::function] - async fn ident(&self) -> Result> { + fn ident(&self) -> Result> { let inner = self.module.ident(); Ok(inner.with_part(ModulePart::locals())) @@ -112,7 +112,7 @@ impl EcmascriptChunkPlaceable for EcmascriptModuleLocalsModule { #[turbo_tasks::value_impl] impl ChunkableModule for EcmascriptModuleLocalsModule { #[turbo_tasks::function] - async fn as_chunk_item( + fn as_chunk_item( self: Vc, chunking_context: Vc>, ) -> Result>> { diff --git a/turbopack/crates/turbopack-ecmascript/src/static_code.rs b/turbopack/crates/turbopack-ecmascript/src/static_code.rs index 450e8e7788c8c..7e0339c56bcb0 100644 --- a/turbopack/crates/turbopack-ecmascript/src/static_code.rs +++ b/turbopack/crates/turbopack-ecmascript/src/static_code.rs @@ -47,9 +47,8 @@ impl StaticEcmascriptCode { /// Computes the contents of the asset and pushes it to /// the code builder, including the source map if available. #[turbo_tasks::function] - pub async fn code(self: Vc) -> Result> { - let this = self.await?; - let runtime_base_content = this.asset.module_content_without_analysis().await?; + pub async fn code(&self) -> Result> { + let runtime_base_content = self.asset.module_content_without_analysis().await?; let mut code = CodeBuilder::default(); code.push_source( &runtime_base_content.inner_code, diff --git a/turbopack/crates/turbopack-ecmascript/src/tree_shake/asset.rs b/turbopack/crates/turbopack-ecmascript/src/tree_shake/asset.rs index c807df3900fd8..155ec5a95872b 100644 --- a/turbopack/crates/turbopack-ecmascript/src/tree_shake/asset.rs +++ b/turbopack/crates/turbopack-ecmascript/src/tree_shake/asset.rs @@ -11,7 +11,7 @@ use turbopack_core::{ use super::{ chunk_item::EcmascriptModulePartChunkItem, get_part_id, part_of_module, split, split_module, - Key, PartId, SplitResult, + PartId, SplitResult, }; use crate::{ chunk::{EcmascriptChunkPlaceable, EcmascriptExports}, @@ -33,17 +33,15 @@ pub struct EcmascriptModulePartAsset { #[turbo_tasks::value_impl] impl EcmascriptParsable for EcmascriptModulePartAsset { #[turbo_tasks::function] - async fn failsafe_parse(self: Vc) -> Result> { - let this = self.await?; - - let parsed = this.full_module.failsafe_parse(); + async fn failsafe_parse(&self) -> Result> { + let parsed = self.full_module.failsafe_parse(); let split_data = split( - this.full_module.ident(), - this.full_module.source(), + self.full_module.ident(), + self.full_module.source(), parsed, - this.full_module.options().await?.special_exports, + self.full_module.options().await?.special_exports, ); - Ok(part_of_module(split_data, this.part)) + Ok(part_of_module(split_data, self.part)) } #[turbo_tasks::function] fn parse_original(&self) -> Result> { @@ -51,7 +49,7 @@ impl EcmascriptParsable for EcmascriptModulePartAsset { } #[turbo_tasks::function] - async fn ty(&self) -> Result> { + fn ty(&self) -> Result> { Ok(self.full_module.ty()) } } @@ -59,27 +57,23 @@ impl EcmascriptParsable for EcmascriptModulePartAsset { #[turbo_tasks::value_impl] impl EcmascriptAnalyzable for EcmascriptModulePartAsset { #[turbo_tasks::function] - async fn analyze(self: Vc) -> Result> { - let this = self.await?; - let part = this.part; - Ok(analyse_ecmascript_module(this.full_module, Some(part))) + fn analyze(&self) -> Result> { + let part = self.part; + Ok(analyse_ecmascript_module(self.full_module, Some(part))) } #[turbo_tasks::function] - async fn module_content_without_analysis( - self: Vc, - ) -> Result> { - Ok(self.await?.full_module.module_content_without_analysis()) + fn module_content_without_analysis(&self) -> Result> { + Ok(self.full_module.module_content_without_analysis()) } #[turbo_tasks::function] - async fn module_content( - self: Vc, + fn module_content( + &self, chunking_context: Vc>, async_module_info: Option>, ) -> Result> { Ok(self - .await? .full_module .module_content(chunking_context, async_module_info)) } @@ -145,64 +139,16 @@ impl Module for EcmascriptModulePartAsset { let analyze = analyze(self.full_module, self.part).await?; - let (deps, entrypoints) = match &*split_data { - SplitResult::Ok { - deps, entrypoints, .. - } => (deps, entrypoints), + let deps = match &*split_data { + SplitResult::Ok { deps, .. } => deps, SplitResult::Failed { .. } => return Ok(analyze.references), }; // Facade depends on evaluation and re-exports - if matches!(&*self.part.await?, ModulePart::Facade) { - let mut references = vec![]; - - let reference = Vc::upcast(SingleModuleReference::new( - Vc::upcast(EcmascriptModulePartAsset::new( - self.full_module, - ModulePart::evaluation(), - )), - Vc::cell("ecmascript module evaluation".into()), - )); - - references.push(reference); - - let reference = Vc::upcast(SingleModuleReference::new( - Vc::upcast(EcmascriptModulePartAsset::new( - self.full_module, - ModulePart::exports(), - )), - Vc::cell("ecmascript reexports".into()), - )); - - references.push(reference); - - references.extend(analyze.references.await?.iter().cloned()); - - return Ok(Vc::cell(references)); + if matches!(&*self.part.await?, ModulePart::Facade | ModulePart::Exports) { + return Ok(analyze.references); } - // ModulePart::Exports contains all reexports and a reexport of the Locals - if matches!(&*self.part.await?, ModulePart::Exports) { - let mut references = vec![]; - - for key in entrypoints.keys() { - if let Key::Export(e) = key { - let reference = Vc::upcast(SingleModuleReference::new( - Vc::upcast(EcmascriptModulePartAsset::new( - self.full_module, - ModulePart::export(e.clone()), - )), - Vc::cell(format!("ecmascript export '{e}'").into()), - )); - - references.push(reference); - } - } - - references.extend(analyze.references.await?.iter().cloned()); - - return Ok(Vc::cell(references)); - } let deps = { let part_id = get_part_id(&split_data, self.part) .await @@ -258,7 +204,7 @@ impl EcmascriptChunkPlaceable for EcmascriptModulePartAsset { #[turbo_tasks::value_impl] impl ChunkableModule for EcmascriptModulePartAsset { #[turbo_tasks::function] - async fn as_chunk_item( + fn as_chunk_item( self: Vc, chunking_context: Vc>, ) -> Result>> { @@ -275,10 +221,8 @@ impl ChunkableModule for EcmascriptModulePartAsset { #[turbo_tasks::value_impl] impl EcmascriptModulePartAsset { #[turbo_tasks::function] - pub(super) async fn analyze(self: Vc) -> Result> { - let this = self.await?; - - Ok(analyze(this.full_module, this.part)) + pub(super) fn analyze(&self) -> Result> { + Ok(analyze(self.full_module, self.part)) } } diff --git a/turbopack/crates/turbopack-ecmascript/src/tree_shake/chunk_item.rs b/turbopack/crates/turbopack-ecmascript/src/tree_shake/chunk_item.rs index 61095d9c1ba6e..ef58aa17deeea 100644 --- a/turbopack/crates/turbopack-ecmascript/src/tree_shake/chunk_item.rs +++ b/turbopack/crates/turbopack-ecmascript/src/tree_shake/chunk_item.rs @@ -32,16 +32,15 @@ impl EcmascriptChunkItem for EcmascriptModulePartChunkItem { #[turbo_tasks::function] async fn content_with_async_module_info( - self: Vc, + &self, async_module_info: Option>, ) -> Result> { - let this = self.await?; - let module = this.module.await?; + let module = self.module.await?; let split_data = split_module(module.full_module); let parsed = part_of_module(split_data, module.part); - let analyze = this.module.analyze().await?; + let analyze = self.module.analyze().await?; let async_module_options = analyze.async_module.module_options(async_module_info); let module_type_result = *module.full_module.determine_module_type().await?; @@ -50,7 +49,7 @@ impl EcmascriptChunkItem for EcmascriptModulePartChunkItem { parsed, module.full_module.ident(), module_type_result.module_type, - this.chunking_context, + self.chunking_context, analyze.references, analyze.code_generation, analyze.async_module, @@ -61,7 +60,7 @@ impl EcmascriptChunkItem for EcmascriptModulePartChunkItem { Ok(EcmascriptChunkItemContent::new( content, - this.chunking_context, + self.chunking_context, module.full_module.await?.options, async_module_options, )) @@ -76,17 +75,17 @@ impl EcmascriptChunkItem for EcmascriptModulePartChunkItem { #[turbo_tasks::value_impl] impl ChunkItem for EcmascriptModulePartChunkItem { #[turbo_tasks::function] - async fn references(&self) -> Vc { + fn references(&self) -> Vc { self.module.references() } #[turbo_tasks::function] - async fn asset_ident(&self) -> Result> { + fn asset_ident(&self) -> Result> { Ok(self.module.ident()) } #[turbo_tasks::function] - async fn chunking_context(&self) -> Vc> { + fn chunking_context(&self) -> Vc> { Vc::upcast(self.chunking_context) } diff --git a/turbopack/crates/turbopack-ecmascript/src/tree_shake/graph.rs b/turbopack/crates/turbopack-ecmascript/src/tree_shake/graph.rs index ad59e7fe9f397..3470d62597c9a 100644 --- a/turbopack/crates/turbopack-ecmascript/src/tree_shake/graph.rs +++ b/turbopack/crates/turbopack-ecmascript/src/tree_shake/graph.rs @@ -390,13 +390,13 @@ impl DepGraph { // Workaround for implcit export issue of server actions. // - // Inline server actions require the generated `$$ACTION_0` to be **exported**. + // Inline server actions require the generated `$$RSC_SERVER_0` to be **exported**. // - // But tree shaking works by removing unused code, and the **export** of $$ACTION_0 is - // cleary not used from the external module as it does not exist at all in the user - // code. + // But tree shaking works by removing unused code, and the **export** of $$RSC_SERVER_0 + // is cleary not used from the external module as it does not exist at all + // in the user code. // - // So we need to add an import for $$ACTION_0 to the module, so that the export is + // So we need to add an import for $$RSC_SERVER_0 to the module, so that the export is // preserved. if use_export_instead_of_declarator { for (other_ix, other_group) in groups.graph_ix.iter().enumerate() { @@ -408,7 +408,7 @@ impl DepGraph { for other_item in other_group { if let ItemId::Group(ItemIdGroupKind::Export(export, _)) = other_item { - if !export.0.as_str().starts_with("$$ACTION_") { + if !export.0.as_str().starts_with("$$RSC_SERVER_") { continue; } @@ -575,7 +575,7 @@ impl DepGraph { /// performance. pub(super) fn finalize( &self, - _data: &FxHashMap, + data: &FxHashMap, ) -> InternedGraph> { let graph = self.g.idx_graph.clone().into_graph::(); @@ -584,7 +584,7 @@ impl DepGraph { let mut new_graph = InternedGraph::default(); let mut done = FxHashSet::default(); - let mapped = condensed.map( + let mapped = condensed.filter_map( |_, node| { let mut item_ids = node .iter() @@ -596,9 +596,9 @@ impl DepGraph { .collect::>(); item_ids.sort(); - new_graph.node(&item_ids) + Some(new_graph.node(&item_ids)) }, - |_, edge| *edge, + |_, edge| Some(*edge), ); let map = GraphMap::from_graph(mapped); @@ -607,7 +607,12 @@ impl DepGraph { for node in self.g.graph_ix.iter() { let ix = self.g.get_node(node); + if !done.contains(&ix) { + if data[node].pure { + continue; + } + let item_ids = vec![node.clone()]; new_graph.node(&item_ids); } diff --git a/turbopack/crates/turbopack-ecmascript/src/webpack/mod.rs b/turbopack/crates/turbopack-ecmascript/src/webpack/mod.rs index 8e0630f76ef74..3a332a812daf3 100644 --- a/turbopack/crates/turbopack-ecmascript/src/webpack/mod.rs +++ b/turbopack/crates/turbopack-ecmascript/src/webpack/mod.rs @@ -147,7 +147,7 @@ impl ModuleReference for WebpackEntryAssetReference { #[turbo_tasks::value_impl] impl ValueToString for WebpackEntryAssetReference { #[turbo_tasks::function] - async fn to_string(&self) -> Result> { + fn to_string(&self) -> Result> { Ok(Vc::cell("webpack entry".into())) } } diff --git a/turbopack/crates/turbopack-ecmascript/src/worker_chunk/chunk_item.rs b/turbopack/crates/turbopack-ecmascript/src/worker_chunk/chunk_item.rs index c6cce6a9ba3eb..174c3d8a8a994 100644 --- a/turbopack/crates/turbopack-ecmascript/src/worker_chunk/chunk_item.rs +++ b/turbopack/crates/turbopack-ecmascript/src/worker_chunk/chunk_item.rs @@ -35,9 +35,8 @@ pub fn worker_modifier() -> Vc { #[turbo_tasks::value_impl] impl WorkerLoaderChunkItem { #[turbo_tasks::function] - async fn chunks(self: Vc) -> Result> { - let this = self.await?; - let module = this.module.await?; + async fn chunks(&self) -> Result> { + let module = self.module.await?; let Some(evaluatable) = Vc::try_resolve_downcast::>(module.inner).await? @@ -48,9 +47,9 @@ impl WorkerLoaderChunkItem { ); }; - Ok(this.chunking_context.evaluated_chunk_group_assets( + Ok(self.chunking_context.evaluated_chunk_group_assets( AssetIdent::from_path( - this.chunking_context + self.chunking_context .chunk_path(module.inner.ident(), ".js".into()), ) .with_modifier(worker_modifier()), @@ -113,7 +112,7 @@ impl ChunkItem for WorkerLoaderChunkItem { } #[turbo_tasks::function] - async fn content_ident(&self) -> Result> { + fn content_ident(&self) -> Result> { Ok(self.module.ident()) } @@ -137,7 +136,7 @@ impl ChunkItem for WorkerLoaderChunkItem { } #[turbo_tasks::function] - async fn chunking_context(&self) -> Vc> { + fn chunking_context(&self) -> Vc> { Vc::upcast(self.chunking_context) } diff --git a/turbopack/crates/turbopack-ecmascript/src/worker_chunk/module.rs b/turbopack/crates/turbopack-ecmascript/src/worker_chunk/module.rs index 547f1cd745539..3468d9734930b 100644 --- a/turbopack/crates/turbopack-ecmascript/src/worker_chunk/module.rs +++ b/turbopack/crates/turbopack-ecmascript/src/worker_chunk/module.rs @@ -67,7 +67,7 @@ impl Asset for WorkerLoaderModule { #[turbo_tasks::value_impl] impl ChunkableModule for WorkerLoaderModule { #[turbo_tasks::function] - async fn as_chunk_item( + fn as_chunk_item( self: Vc, chunking_context: Vc>, ) -> Result>> { diff --git a/turbopack/crates/turbopack-json/src/lib.rs b/turbopack/crates/turbopack-json/src/lib.rs index 0005a466f7914..af2d42ab2e17e 100644 --- a/turbopack/crates/turbopack-json/src/lib.rs +++ b/turbopack/crates/turbopack-json/src/lib.rs @@ -63,7 +63,7 @@ impl Asset for JsonModuleAsset { #[turbo_tasks::value_impl] impl ChunkableModule for JsonModuleAsset { #[turbo_tasks::function] - async fn as_chunk_item( + fn as_chunk_item( self: Vc, chunking_context: Vc>, ) -> Result>> { @@ -101,7 +101,7 @@ impl ChunkItem for JsonChunkItem { } #[turbo_tasks::function] - async fn chunking_context(&self) -> Vc> { + fn chunking_context(&self) -> Vc> { Vc::upcast(self.chunking_context) } diff --git a/turbopack/crates/turbopack-mdx/src/lib.rs b/turbopack/crates/turbopack-mdx/src/lib.rs index d7cf78fff4aee..7d1c741c47b8c 100644 --- a/turbopack/crates/turbopack-mdx/src/lib.rs +++ b/turbopack/crates/turbopack-mdx/src/lib.rs @@ -134,10 +134,9 @@ impl Asset for MdxTransformedAsset { #[turbo_tasks::value_impl] impl MdxTransformedAsset { #[turbo_tasks::function] - async fn process(self: Vc) -> Result> { - let this = self.await?; - let content = this.source.content().await?; - let transform_options = this.options.await?; + async fn process(&self) -> Result> { + let content = self.source.content().await?; + let transform_options = self.options.await?; let AssetContent::File(file) = &*content else { anyhow::bail!("Unexpected mdx asset content"); @@ -175,7 +174,7 @@ impl MdxTransformedAsset { .jsx_import_source .clone() .map(RcStr::into_owned), - filepath: Some(this.source.ident().path().await?.to_string()), + filepath: Some(self.source.ident().path().await?.to_string()), ..Default::default() }; @@ -210,11 +209,11 @@ impl MdxTransformedAsset { } }; - IssueSource::from_line_col(this.source, start, end) + IssueSource::from_line_col(self.source, start, end) }); MdxIssue { - path: this.source.ident().path(), + path: self.source.ident().path(), loc, reason: err.reason, mdx_rule_id: *err.rule_id, diff --git a/turbopack/crates/turbopack-node/js/src/ipc/index.ts b/turbopack/crates/turbopack-node/js/src/ipc/index.ts index 0c1820b6790ab..0f1dfdbfde1e7 100644 --- a/turbopack/crates/turbopack-node/js/src/ipc/index.ts +++ b/turbopack/crates/turbopack-node/js/src/ipc/index.ts @@ -7,6 +7,7 @@ export type StructuredError = { name: string; message: string; stack: StackFrame[]; + cause: StructuredError | undefined }; export function structuredError(e: Error): StructuredError { @@ -16,6 +17,7 @@ export function structuredError(e: Error): StructuredError { name: e.name, message: e.message, stack: typeof e.stack === "string" ? parseStackTrace(e.stack!) : [], + cause: e.cause ? structuredError(getProperError(e.cause)) : undefined, }; } diff --git a/turbopack/crates/turbopack-node/src/evaluate.rs b/turbopack/crates/turbopack-node/src/evaluate.rs index fa7f5ba9a7be8..44fe5220e3abc 100644 --- a/turbopack/crates/turbopack-node/src/evaluate.rs +++ b/turbopack/crates/turbopack-node/src/evaluate.rs @@ -29,6 +29,7 @@ use turbopack_core::{ ident::AssetIdent, issue::{Issue, IssueExt, IssueStage, OptionStyledString, StyledString}, module::Module, + output::OutputAssets, reference_type::{InnerAssets, ReferenceType}, virtual_source::VirtualSource, }; @@ -150,8 +151,12 @@ pub async fn get_evaluate_pool( Vc::::cell(entries) }; - let bootstrap = - chunking_context.root_entry_chunk_group_asset(path, entry_module, runtime_entries); + let bootstrap = chunking_context.root_entry_chunk_group_asset( + path, + entry_module, + OutputAssets::empty(), + runtime_entries, + ); let output_root: Vc = chunking_context.output_root(); let _ = emit_package_json(output_root); diff --git a/turbopack/crates/turbopack-node/src/execution_context.rs b/turbopack/crates/turbopack-node/src/execution_context.rs index a6846c75e082e..1b831721c52d8 100644 --- a/turbopack/crates/turbopack-node/src/execution_context.rs +++ b/turbopack/crates/turbopack-node/src/execution_context.rs @@ -28,17 +28,17 @@ impl ExecutionContext { } #[turbo_tasks::function] - pub async fn project_path(self: Vc) -> Result> { - Ok(self.await?.project_path) + pub fn project_path(&self) -> Result> { + Ok(self.project_path) } #[turbo_tasks::function] - pub async fn chunking_context(self: Vc) -> Result>> { - Ok(self.await?.chunking_context) + pub fn chunking_context(&self) -> Result>> { + Ok(self.chunking_context) } #[turbo_tasks::function] - pub async fn env(self: Vc) -> Result>> { - Ok(self.await?.env) + pub fn env(&self) -> Result>> { + Ok(self.env) } } diff --git a/turbopack/crates/turbopack-node/src/lib.rs b/turbopack/crates/turbopack-node/src/lib.rs index 278f404fa1f29..3aadebbfaf0c0 100644 --- a/turbopack/crates/turbopack-node/src/lib.rs +++ b/turbopack/crates/turbopack-node/src/lib.rs @@ -18,7 +18,7 @@ use turbopack_core::{ asset::{Asset, AssetContent}, chunk::{ChunkingContext, ChunkingContextExt, EvaluatableAssets}, module::Module, - output::{OutputAsset, OutputAssetsSet}, + output::{OutputAsset, OutputAssets, OutputAssetsSet}, source_map::GenerateSourceMap, virtual_output::VirtualOutputAsset, }; @@ -257,7 +257,7 @@ pub async fn get_renderer_pool( /// Converts a module graph into node.js executable assets #[turbo_tasks::function] -pub async fn get_intermediate_asset( +pub fn get_intermediate_asset( chunking_context: Vc>, main_entry: Vc>, other_entries: Vc, @@ -265,6 +265,7 @@ pub async fn get_intermediate_asset( Ok(Vc::upcast(chunking_context.root_entry_chunk_group_asset( chunking_context.chunk_path(main_entry.ident(), ".js".into()), main_entry, + OutputAssets::empty(), other_entries, ))) } diff --git a/turbopack/crates/turbopack-node/src/render/node_api_source.rs b/turbopack/crates/turbopack-node/src/render/node_api_source.rs index d81e0819c6a9f..8b83c3961b517 100644 --- a/turbopack/crates/turbopack-node/src/render/node_api_source.rs +++ b/turbopack/crates/turbopack-node/src/render/node_api_source.rs @@ -71,8 +71,8 @@ pub struct NodeApiContentSource { #[turbo_tasks::value_impl] impl NodeApiContentSource { #[turbo_tasks::function] - pub async fn get_pathname(self: Vc) -> Result> { - Ok(self.await?.pathname) + pub fn get_pathname(&self) -> Result> { + Ok(self.pathname) } } diff --git a/turbopack/crates/turbopack-node/src/render/rendered_source.rs b/turbopack/crates/turbopack-node/src/render/rendered_source.rs index 7dc57cfa900a0..cf0d5851ff47b 100644 --- a/turbopack/crates/turbopack-node/src/render/rendered_source.rs +++ b/turbopack/crates/turbopack-node/src/render/rendered_source.rs @@ -99,8 +99,8 @@ pub struct NodeRenderContentSource { #[turbo_tasks::value_impl] impl NodeRenderContentSource { #[turbo_tasks::function] - pub async fn get_pathname(self: Vc) -> Result> { - Ok(self.await?.pathname) + pub fn get_pathname(&self) -> Result> { + Ok(self.pathname) } } diff --git a/turbopack/crates/turbopack-node/src/source_map/mod.rs b/turbopack/crates/turbopack-node/src/source_map/mod.rs index 122ca62951b86..35025ef863c99 100644 --- a/turbopack/crates/turbopack-node/src/source_map/mod.rs +++ b/turbopack/crates/turbopack-node/src/source_map/mod.rs @@ -267,6 +267,7 @@ pub struct StructuredError { pub message: String, #[turbo_tasks(trace_ignore)] stack: Vec>, + cause: Option>, } impl StructuredError { @@ -305,6 +306,20 @@ impl StructuredError { formatting_mode, )?; } + + if let Some(cause) = &self.cause { + message.write_str("\nCaused by: ")?; + message.write_str( + &Box::pin(cause.print( + assets_for_source_mapping, + root, + project_dir, + formatting_mode, + )) + .await?, + )?; + } + Ok(message) } } diff --git a/turbopack/crates/turbopack-node/src/source_map/trace.rs b/turbopack/crates/turbopack-node/src/source_map/trace.rs index 433ed0d523d76..3c858cddc86fc 100644 --- a/turbopack/crates/turbopack-node/src/source_map/trace.rs +++ b/turbopack/crates/turbopack-node/src/source_map/trace.rs @@ -102,12 +102,7 @@ pub enum TraceResult { #[turbo_tasks::value_impl] impl SourceMapTrace { #[turbo_tasks::function] - pub async fn new( - map: Vc, - line: usize, - column: usize, - name: Option, - ) -> Vc { + pub fn new(map: Vc, line: usize, column: usize, name: Option) -> Vc { SourceMapTrace { map, line, @@ -128,12 +123,10 @@ impl SourceMapTrace { /// the individual sections of the JS file's map without the /// serialization. #[turbo_tasks::function] - pub async fn trace(self: Vc) -> Result> { - let this = self.await?; - - let token = this + pub async fn trace(&self) -> Result> { + let token = self .map - .lookup_token(this.line.saturating_sub(1), this.column.saturating_sub(1)) + .lookup_token(self.line.saturating_sub(1), self.column.saturating_sub(1)) .await?; let result = match &*token { Token::Original(t) => TraceResult::Found(StackFrame { @@ -143,7 +136,7 @@ impl SourceMapTrace { name: t .name .clone() - .or_else(|| this.name.clone()) + .or_else(|| self.name.clone()) .map(|v| v.into_owned()) .map(Cow::Owned), }), diff --git a/turbopack/crates/turbopack-node/src/transforms/postcss.rs b/turbopack/crates/turbopack-node/src/transforms/postcss.rs index d0a8004c9759f..af9f2fc6267e8 100644 --- a/turbopack/crates/turbopack-node/src/transforms/postcss.rs +++ b/turbopack/crates/turbopack-node/src/transforms/postcss.rs @@ -356,7 +356,7 @@ pub(crate) async fn config_loader_source( } #[turbo_tasks::function] -async fn postcss_executor( +fn postcss_executor( asset_context: Vc>, project_path: Vc, postcss_config_path: Vc, @@ -424,13 +424,12 @@ impl GenerateSourceMap for PostCssTransformedAsset { #[turbo_tasks::value_impl] impl PostCssTransformedAsset { #[turbo_tasks::function] - async fn process(self: Vc) -> Result> { - let this = self.await?; + async fn process(&self) -> Result> { let ExecutionContext { project_path, chunking_context, env, - } = *this.execution_context.await?; + } = *self.execution_context.await?; // For this postcss transform, there is no gaurantee that looking up for the // source path will arrives specific project config for the postcss. @@ -444,16 +443,16 @@ impl PostCssTransformedAsset { // // We look for the config in the project path first, then the source path let Some(config_path) = - find_config_in_location(project_path, this.config_location, this.source).await? + find_config_in_location(project_path, self.config_location, self.source).await? else { return Ok(ProcessPostCssResult { - content: this.source.content(), + content: self.source.content(), assets: Vec::new(), } .cell()); }; - let source_content = this.source.content(); + let source_content = self.source.content(); let AssetContent::File(file) = *source_content.await? else { bail!("PostCSS transform only support transforming files"); }; @@ -465,14 +464,14 @@ impl PostCssTransformedAsset { .cell()); }; let content = content.content().to_str()?; - let evaluate_context = this.evaluate_context; + let evaluate_context = self.evaluate_context; // This invalidates the transform when the config changes. let config_changed = config_changed(evaluate_context, config_path); let postcss_executor = postcss_executor(evaluate_context, project_path, config_path).module(); - let css_fs_path = this.source.ident().path(); + let css_fs_path = self.source.ident().path(); // We need to get a path relative to the project because the postcss loader // runs with the project as the current working directory. @@ -490,7 +489,7 @@ impl PostCssTransformedAsset { module_asset: postcss_executor, cwd: project_path, env, - context_ident_for_issue: this.source.ident(), + context_ident_for_issue: self.source.ident(), asset_context: evaluate_context, chunking_context, resolve_options_context: None, diff --git a/turbopack/crates/turbopack-node/src/transforms/webpack.rs b/turbopack/crates/turbopack-node/src/transforms/webpack.rs index a864721f10874..118808443a248 100644 --- a/turbopack/crates/turbopack-node/src/transforms/webpack.rs +++ b/turbopack/crates/turbopack-node/src/transforms/webpack.rs @@ -820,7 +820,7 @@ impl Issue for EvaluateErrorLoggingIssue { } #[turbo_tasks::function] - async fn description(&self) -> Result> { + fn description(&self) -> Result> { fn fmt_args(prefix: String, args: &[JsonValue]) -> String { let mut iter = args.iter(); let Some(first) = iter.next() else { diff --git a/turbopack/crates/turbopack-nodejs/src/chunking_context.rs b/turbopack/crates/turbopack-nodejs/src/chunking_context.rs index 1416df86bb0f5..c764bb20afd44 100644 --- a/turbopack/crates/turbopack-nodejs/src/chunking_context.rs +++ b/turbopack/crates/turbopack-nodejs/src/chunking_context.rs @@ -15,7 +15,7 @@ use turbopack_core::{ environment::Environment, ident::AssetIdent, module::Module, - output::OutputAsset, + output::{OutputAsset, OutputAssets}, }; use turbopack_ecmascript::{ async_chunk::module::AsyncLoaderModule, @@ -304,6 +304,7 @@ impl ChunkingContext for NodeJsChunkingContext { path: Vc, module: Vc>, evaluatable_assets: Vc, + extra_chunks: Vc, availability_info: Value, ) -> Result> { let availability_info = availability_info.into_value(); @@ -323,9 +324,11 @@ impl ChunkingContext for NodeJsChunkingContext { ) .await?; - let other_chunks: Vec<_> = chunks + let extra_chunks = extra_chunks.await?; + let other_chunks: Vec<_> = extra_chunks .iter() - .map(|chunk| self.generate_chunk(*chunk)) + .copied() + .chain(chunks.iter().map(|chunk| self.generate_chunk(*chunk))) .collect(); let Some(module) = Vc::try_resolve_downcast(module).await? else { @@ -360,11 +363,8 @@ impl ChunkingContext for NodeJsChunkingContext { } #[turbo_tasks::function] - async fn chunk_item_id_from_ident( - self: Vc, - ident: Vc, - ) -> Result> { - Ok(self.await?.module_id_strategy.get_module_id(ident)) + fn chunk_item_id_from_ident(&self, ident: Vc) -> Result> { + Ok(self.module_id_strategy.get_module_id(ident)) } #[turbo_tasks::function] diff --git a/turbopack/crates/turbopack-nodejs/src/ecmascript/node/chunk.rs b/turbopack/crates/turbopack-nodejs/src/ecmascript/node/chunk.rs index a06e53d7ef58c..9bb2679641de4 100644 --- a/turbopack/crates/turbopack-nodejs/src/ecmascript/node/chunk.rs +++ b/turbopack/crates/turbopack-nodejs/src/ecmascript/node/chunk.rs @@ -41,7 +41,7 @@ impl EcmascriptBuildNodeChunk { #[turbo_tasks::value_impl] impl ValueToString for EcmascriptBuildNodeChunk { #[turbo_tasks::function] - async fn to_string(&self) -> Result> { + fn to_string(&self) -> Result> { Ok(Vc::cell("Ecmascript Build Node Chunk".into())) } } diff --git a/turbopack/crates/turbopack-nodejs/src/ecmascript/node/content.rs b/turbopack/crates/turbopack-nodejs/src/ecmascript/node/content.rs index e59f63591002d..58394fe768e14 100644 --- a/turbopack/crates/turbopack-nodejs/src/ecmascript/node/content.rs +++ b/turbopack/crates/turbopack-nodejs/src/ecmascript/node/content.rs @@ -31,7 +31,7 @@ pub(super) struct EcmascriptBuildNodeChunkContent { #[turbo_tasks::value_impl] impl EcmascriptBuildNodeChunkContent { #[turbo_tasks::function] - pub(crate) async fn new( + pub(crate) fn new( chunking_context: Vc, chunk: Vc, content: Vc, @@ -109,13 +109,12 @@ impl EcmascriptBuildNodeChunkContent { } #[turbo_tasks::function] - pub(crate) async fn own_version(self: Vc) -> Result> { - let this = self.await?; + pub(crate) async fn own_version(&self) -> Result> { Ok(EcmascriptBuildNodeChunkVersion::new( - this.chunking_context.output_root(), - this.chunk.ident().path(), - this.content, - this.chunking_context.await?.minify_type(), + self.chunking_context.output_root(), + self.chunk.ident().path(), + self.content, + self.chunking_context.await?.minify_type(), )) } } diff --git a/turbopack/crates/turbopack-nodejs/src/ecmascript/node/entry/chunk.rs b/turbopack/crates/turbopack-nodejs/src/ecmascript/node/entry/chunk.rs index 2ec6829da495d..06f5c37e01ad5 100644 --- a/turbopack/crates/turbopack-nodejs/src/ecmascript/node/entry/chunk.rs +++ b/turbopack/crates/turbopack-nodejs/src/ecmascript/node/entry/chunk.rs @@ -144,16 +144,15 @@ impl EcmascriptBuildNodeEntryChunk { } #[turbo_tasks::function] - async fn runtime_chunk(self: Vc) -> Result> { - let this = self.await?; - Ok(EcmascriptBuildNodeRuntimeChunk::new(this.chunking_context)) + fn runtime_chunk(&self) -> Result> { + Ok(EcmascriptBuildNodeRuntimeChunk::new(self.chunking_context)) } } #[turbo_tasks::value_impl] impl ValueToString for EcmascriptBuildNodeEntryChunk { #[turbo_tasks::function] - async fn to_string(&self) -> Result> { + fn to_string(&self) -> Result> { Ok(Vc::cell("Ecmascript Build Node Evaluate Chunk".into())) } } diff --git a/turbopack/crates/turbopack-nodejs/src/ecmascript/node/entry/runtime.rs b/turbopack/crates/turbopack-nodejs/src/ecmascript/node/entry/runtime.rs index 25e7f37ac389d..c0a1f580548b7 100644 --- a/turbopack/crates/turbopack-nodejs/src/ecmascript/node/entry/runtime.rs +++ b/turbopack/crates/turbopack-nodejs/src/ecmascript/node/entry/runtime.rs @@ -91,7 +91,7 @@ impl EcmascriptBuildNodeRuntimeChunk { #[turbo_tasks::value_impl] impl ValueToString for EcmascriptBuildNodeRuntimeChunk { #[turbo_tasks::function] - async fn to_string(&self) -> Result> { + fn to_string(&self) -> Result> { Ok(Vc::cell("Ecmascript Build Node Runtime Chunk".into())) } } diff --git a/turbopack/crates/turbopack-resolve/src/resolve.rs b/turbopack/crates/turbopack-resolve/src/resolve.rs index 9f65b51b9226a..f43e257b07418 100644 --- a/turbopack/crates/turbopack-resolve/src/resolve.rs +++ b/turbopack/crates/turbopack-resolve/src/resolve.rs @@ -15,7 +15,7 @@ use crate::{ typescript::{apply_tsconfig_resolve_options, tsconfig, tsconfig_resolve_options}, }; -const NODE_EXTERNALS: [&str; 51] = [ +const NODE_EXTERNALS: [&str; 63] = [ "assert", "async_hooks", "buffer", @@ -67,6 +67,18 @@ const NODE_EXTERNALS: [&str; 51] = [ "worker_threads", "zlib", "pnpapi", + "_http_agent", + "_http_client", + "_http_common", + "_http_incoming", + "_http_outgoing", + "_http_server", + "_stream_duplex", + "_stream_passthrough", + "_stream_readable", + "_stream_transform", + "_stream_wrap", + "_stream_writable", ]; const EDGE_NODE_EXTERNALS: [&str; 5] = ["buffer", "events", "assert", "util", "async_hooks"]; diff --git a/turbopack/crates/turbopack-resolve/src/typescript.rs b/turbopack/crates/turbopack-resolve/src/typescript.rs index af91e6e91d0e0..18daee0caae02 100644 --- a/turbopack/crates/turbopack-resolve/src/typescript.rs +++ b/turbopack/crates/turbopack-resolve/src/typescript.rs @@ -1,6 +1,7 @@ use std::{collections::HashMap, fmt::Write, mem::take}; use anyhow::Result; +use indexmap::IndexSet; use serde_json::Value as JsonValue; use turbo_tasks::{RcStr, Value, ValueDefault, Vc}; use turbo_tasks_fs::{FileContent, FileJsonContent, FileSystemPath}; @@ -357,9 +358,14 @@ pub async fn apply_tsconfig_resolve_options( if let Some(base_url) = tsconfig_resolve_options.base_url { // We want to resolve in `compilerOptions.baseUrl` first, then in other // locations as a fallback. - resolve_options - .modules - .insert(0, ResolveModules::Path(base_url)); + resolve_options.modules.insert( + 0, + ResolveModules::Path { + dir: base_url, + // tsconfig basepath doesn't apply to json requests + excluded_extensions: Vc::cell(IndexSet::from([".json".into()])), + }, + ); } if let Some(tsconfig_import_map) = tsconfig_resolve_options.import_map { resolve_options.import_map = Some( @@ -513,7 +519,7 @@ impl Issue for TsConfigIssue { } #[turbo_tasks::function] - async fn title(&self) -> Result> { + fn title(&self) -> Result> { Ok( StyledString::Text("An issue occurred while parsing a tsconfig.json file.".into()) .cell(), diff --git a/turbopack/crates/turbopack-static/src/fixed.rs b/turbopack/crates/turbopack-static/src/fixed.rs index b5c2831e1ba9f..45c2924d6b69e 100644 --- a/turbopack/crates/turbopack-static/src/fixed.rs +++ b/turbopack/crates/turbopack-static/src/fixed.rs @@ -31,7 +31,7 @@ impl FixedStaticAsset { #[turbo_tasks::value_impl] impl OutputAsset for FixedStaticAsset { #[turbo_tasks::function] - async fn ident(&self) -> Result> { + fn ident(&self) -> Result> { Ok(AssetIdent::from_path(self.output_path)) } } diff --git a/turbopack/crates/turbopack-static/src/lib.rs b/turbopack/crates/turbopack-static/src/lib.rs index dac5336fe4d8c..51b47a37cb748 100644 --- a/turbopack/crates/turbopack-static/src/lib.rs +++ b/turbopack/crates/turbopack-static/src/lib.rs @@ -60,11 +60,11 @@ impl StaticModuleAsset { } #[turbo_tasks::function] - async fn static_asset( - self: Vc, + fn static_asset( + &self, chunking_context: Vc>, ) -> Result> { - Ok(StaticAsset::new(chunking_context, self.await?.source)) + Ok(StaticAsset::new(chunking_context, self.source)) } } @@ -90,7 +90,7 @@ impl Asset for StaticModuleAsset { #[turbo_tasks::value_impl] impl ChunkableModule for StaticModuleAsset { #[turbo_tasks::function] - async fn as_chunk_item( + fn as_chunk_item( self: Vc, chunking_context: Vc>, ) -> Result>> { @@ -139,7 +139,7 @@ impl ChunkItem for ModuleChunkItem { } #[turbo_tasks::function] - async fn chunking_context(&self) -> Vc> { + fn chunking_context(&self) -> Vc> { Vc::upcast(self.chunking_context) } diff --git a/turbopack/crates/turbopack-tests/tests/execution/turbopack/code-gen/esm-declare-globals/input/index.js b/turbopack/crates/turbopack-tests/tests/execution/turbopack/code-gen/esm-declare-globals/input/index.js new file mode 100644 index 0000000000000..7ff083287a22c --- /dev/null +++ b/turbopack/crates/turbopack-tests/tests/execution/turbopack/code-gen/esm-declare-globals/input/index.js @@ -0,0 +1,11 @@ +import './module.js' + +const require = () => 'result' +const __dirname = 'something' +const __filename = 'something/else' + +it('should allow declaring CJS globals in ESM', () => { + expect(require()).toBe('result') + expect(__dirname).toBe('something') + expect(__filename).toBe('something/else') +}) diff --git a/turbopack/crates/turbopack-tests/tests/execution/turbopack/code-gen/esm-declare-globals/input/module.js b/turbopack/crates/turbopack-tests/tests/execution/turbopack/code-gen/esm-declare-globals/input/module.js new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/turbopack/crates/turbopack-tests/tests/snapshot.rs b/turbopack/crates/turbopack-tests/tests/snapshot.rs index fdab8e73f04bf..e7513fa953685 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot.rs +++ b/turbopack/crates/turbopack-tests/tests/snapshot.rs @@ -45,7 +45,7 @@ use turbopack_core::{ free_var_references, issue::{Issue, IssueDescriptionExt}, module::Module, - output::OutputAsset, + output::{OutputAsset, OutputAssets}, reference_type::{EntryReferenceSubType, ReferenceType}, source::Source, }; @@ -397,6 +397,7 @@ async fn run_test(resource: RcStr) -> Result> { runtime_entries .unwrap_or_else(EvaluatableAssets::empty) .with_entry(Vc::upcast(ecmascript)), + OutputAssets::empty(), Value::new(AvailabilityInfo::Root), ) .await? diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/output/4c35f_tests_snapshot_basic-tree-shake_dynamic-import_input_index_92a5f4.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/output/4c35f_tests_snapshot_basic-tree-shake_dynamic-import_input_index_92a5f4.js index 2d5f977a9258d..ad06ec90a0c3a 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/output/4c35f_tests_snapshot_basic-tree-shake_dynamic-import_input_index_92a5f4.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/output/4c35f_tests_snapshot_basic-tree-shake_dynamic-import_input_index_92a5f4.js @@ -1,14 +1,15 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/4c35f_tests_snapshot_basic-tree-shake_dynamic-import_input_index_92a5f4.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/index.js [test] (ecmascript)": (function({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require }) { !function() { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/index.js [test] (ecmascript)": (function(__turbopack_context__) { +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require } = __turbopack_context__; +{ async function main() { const lib = await __turbopack_require__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript, async loader)")(__turbopack_import__); console.log(lib.cat); } main(); - -}.call(this) }), +}}), }]); //# sourceMappingURL=4c35f_tests_snapshot_basic-tree-shake_dynamic-import_input_index_92a5f4.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/output/4c35f_tests_snapshot_basic-tree-shake_dynamic-import_input_index_92a5f4.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/output/4c35f_tests_snapshot_basic-tree-shake_dynamic-import_input_index_92a5f4.js.map index 731f043dde671..020ff04ea3aec 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/output/4c35f_tests_snapshot_basic-tree-shake_dynamic-import_input_index_92a5f4.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/output/4c35f_tests_snapshot_basic-tree-shake_dynamic-import_input_index_92a5f4.js.map @@ -2,6 +2,6 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/index.js"],"sourcesContent":["async function main() {\n const lib = await import(\"./lib\");\n console.log(lib.cat);\n}\n\n\nmain()\n"],"names":[],"mappings":"AAAA,eAAe;IACb,MAAM,MAAM;IACZ,QAAQ,GAAG,CAAC,IAAI,GAAG;AACrB;AAGA"}}, - {"offset": {"line": 9, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 6, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/index.js"],"sourcesContent":["async function main() {\n const lib = await import(\"./lib\");\n console.log(lib.cat);\n}\n\n\nmain()\n"],"names":[],"mappings":"AAAA,eAAe;IACb,MAAM,MAAM;IACZ,QAAQ,GAAG,CAAC,IAAI,GAAG;AACrB;AAGA"}}, + {"offset": {"line": 11, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_dynamic-import_input_lib_44a9b7.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_dynamic-import_input_lib_44a9b7.js index e67fb76969f36..e912d3960080e 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_dynamic-import_input_lib_44a9b7.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_dynamic-import_input_lib_44a9b7.js @@ -1,7 +1,9 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_dynamic-import_input_lib_44a9b7.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript, async loader)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript, async loader)": ((__turbopack_context__) => { +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, t: require } = __turbopack_context__; +{ __turbopack_export_value__((__turbopack_import__) => { return Promise.all([ "output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_dynamic-import_input_lib_e521f1.js" @@ -9,6 +11,5 @@ __turbopack_export_value__((__turbopack_import__) => { return __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript)"); }); }); - -})()), +}}), }]); \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_dynamic-import_input_lib_e521f1.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_dynamic-import_input_lib_e521f1.js index 5e8c8a7ace1d4..d2f74e2974740 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_dynamic-import_input_lib_e521f1.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_dynamic-import_input_lib_e521f1.js @@ -1,8 +1,10 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_dynamic-import_input_lib_e521f1.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "c": [ ()=>dog, @@ -11,22 +13,24 @@ __turbopack_esm__({ }); let dog = "dog"; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) "); "__TURBOPACK__ecmascript__hoisting__location__"; ; ; __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"] += "!"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__6$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) "); @@ -35,11 +39,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"] += "!"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__7$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) "); @@ -48,11 +53,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"] += "!"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__6$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) "); @@ -61,11 +67,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"]); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__7$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) "); @@ -76,11 +83,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"]); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__8$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) "); @@ -93,11 +101,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"]); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__16$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__15$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) "); @@ -107,11 +116,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; "module evaluation"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "a": [ ()=>cat, @@ -120,11 +130,12 @@ __turbopack_esm__({ }); let cat = "cat"; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "cat": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__["a"] }); @@ -133,11 +144,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "f": [ ()=>getDog, @@ -154,11 +166,12 @@ function getDog() { return __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"]; } ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "d": [ ()=>setDog, @@ -173,11 +186,12 @@ function setDog(newDog) { __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"] = newDog; } ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "g": [ ()=>dogRef, @@ -202,11 +216,12 @@ const dogRef = { set: __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__5$3e$__["d"] }; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "dogRef": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__12$3e$__["g"] }); @@ -215,11 +230,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "e": [ ()=>getChimera, @@ -239,11 +255,12 @@ function getChimera() { return __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__["a"] + __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"]; } ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "getChimera": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__9$3e$__["e"] }); @@ -252,11 +269,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "b": [ ()=>initialCat, @@ -269,11 +287,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; const initialCat = __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__["a"]; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "initialCat": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__2$3e$__["b"] }); @@ -282,11 +301,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "cat": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$export__cat$3e$__["cat"], "dogRef": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$export__dogRef$3e$__["dogRef"], @@ -302,11 +322,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "cat": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$exports$3e$__["cat"], "dogRef": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$dynamic$2d$import$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$exports$3e$__["dogRef"], @@ -318,8 +339,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo "__TURBOPACK__ecmascript__hoisting__location__"; ; ; - -})()), +}}), }]); //# sourceMappingURL=b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_dynamic-import_input_lib_e521f1.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_dynamic-import_input_lib_e521f1.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_dynamic-import_input_lib_e521f1.js.map index a6b770e39ccef..51be1ef630519 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_dynamic-import_input_lib_e521f1.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_dynamic-import_input_lib_e521f1.js.map @@ -2,44 +2,44 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;AAAA,IAAI,MAAM"}}, - {"offset": {"line": 13, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 18, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;AAEA,kPAAA,CAAA,IAAG,IAAI"}}, - {"offset": {"line": 24, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 29, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAUA,kPAAA,CAAA,IAAG,IAAI"}}, - {"offset": {"line": 37, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 42, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAkBA,kPAAA,CAAA,IAAG,IAAI"}}, - {"offset": {"line": 50, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 55, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAIA,QAAQ,GAAG,CAAC,kPAAA,CAAA,IAAG"}}, - {"offset": {"line": 63, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 68, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;AAYA,QAAQ,GAAG,CAAC,kPAAA,CAAA,IAAG"}}, - {"offset": {"line": 78, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 83, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;AAoBA,QAAQ,GAAG,CAAC,kPAAA,CAAA,IAAG"}}, - {"offset": {"line": 95, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 100, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 109, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 114, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;AA4BO,IAAI,MAAM"}}, - {"offset": {"line": 122, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 127, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 135, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 140, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;;AAMA,SAAS;IACP,OAAO,kPAAA,CAAA,IAAG;AACZ"}}, - {"offset": {"line": 156, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 161, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;AAcA,SAAS,OAAO,MAAM;IACpB,kPAAA,CAAA,IAAG,GAAG;AACR"}}, - {"offset": {"line": 175, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 180, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAsBO,MAAM,SAAS;IACpB,SAAS,kPAAA,CAAA,IAAG;IACZ,KAAK,mPAAA,CAAA,IAAM;IACX,KAAK,kPAAA,CAAA,IAAM;AACb"}}, - {"offset": {"line": 204, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 209, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 217, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 222, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAgCO,SAAS;IACd,OAAO,kPAAA,CAAA,IAAG,GAAG,kPAAA,CAAA,IAAG;AAClB"}}, - {"offset": {"line": 241, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 246, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 254, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 259, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;AA8BO,MAAM,aAAa,kPAAA,CAAA,IAAG"}}, + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;AAAA,IAAI,MAAM"}}, + {"offset": {"line": 15, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 21, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;AAEA,kPAAA,CAAA,IAAG,IAAI"}}, + {"offset": {"line": 27, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 33, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAUA,kPAAA,CAAA,IAAG,IAAI"}}, + {"offset": {"line": 41, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 47, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAkBA,kPAAA,CAAA,IAAG,IAAI"}}, + {"offset": {"line": 55, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 61, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAIA,QAAQ,GAAG,CAAC,kPAAA,CAAA,IAAG"}}, + {"offset": {"line": 69, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 75, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;AAYA,QAAQ,GAAG,CAAC,kPAAA,CAAA,IAAG"}}, + {"offset": {"line": 85, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 91, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;AAoBA,QAAQ,GAAG,CAAC,kPAAA,CAAA,IAAG"}}, + {"offset": {"line": 103, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 109, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 118, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 124, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;AA4BO,IAAI,MAAM"}}, + {"offset": {"line": 132, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 138, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 146, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 152, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;;AAMA,SAAS;IACP,OAAO,kPAAA,CAAA,IAAG;AACZ"}}, + {"offset": {"line": 168, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 174, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;AAcA,SAAS,OAAO,MAAM;IACpB,kPAAA,CAAA,IAAG,GAAG;AACR"}}, + {"offset": {"line": 188, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 194, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAsBO,MAAM,SAAS;IACpB,SAAS,kPAAA,CAAA,IAAG;IACZ,KAAK,mPAAA,CAAA,IAAM;IACX,KAAK,kPAAA,CAAA,IAAM;AACb"}}, + {"offset": {"line": 218, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 224, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 232, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 238, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAgCO,SAAS;IACd,OAAO,kPAAA,CAAA,IAAG,GAAG,kPAAA,CAAA,IAAG;AAClB"}}, + {"offset": {"line": 257, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 263, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, {"offset": {"line": 271, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 276, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 284, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 289, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 304, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 277, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;AA8BO,MAAM,aAAa,kPAAA,CAAA,IAAG"}}, + {"offset": {"line": 289, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 295, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 303, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, {"offset": {"line": 309, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 320, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 324, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 330, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 341, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-named_input_1823b4._.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-named_input_1823b4._.js index a453e0167da3d..4e3cf09f65539 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-named_input_1823b4._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-named_input_1823b4._.js @@ -1,8 +1,10 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-named_input_1823b4._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "c": [ ()=>dog, @@ -11,22 +13,24 @@ __turbopack_esm__({ }); let dog = "dog"; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js [test] (ecmascript) "); "__TURBOPACK__ecmascript__hoisting__location__"; ; ; __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"] += "!"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__6$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js [test] (ecmascript) "); @@ -35,11 +39,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"] += "!"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__7$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js [test] (ecmascript) "); @@ -48,11 +53,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"] += "!"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__6$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js [test] (ecmascript) "); @@ -61,11 +67,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"]); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__7$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js [test] (ecmascript) "); @@ -76,11 +83,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"]); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__8$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js [test] (ecmascript) "); @@ -93,11 +101,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"]); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__16$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__15$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js [test] (ecmascript) "); @@ -107,39 +116,43 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; "module evaluation"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/module.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/module.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$module__evaluation$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js [test] (ecmascript) "); "__TURBOPACK__ecmascript__hoisting__location__"; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/module.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/module.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$named$2f$input$2f$module$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/module.js [test] (ecmascript) "); "__TURBOPACK__ecmascript__hoisting__location__"; ; "module evaluation"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$named$2f$input$2f$module$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$module__evaluation$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/module.js [test] (ecmascript) "); "__TURBOPACK__ecmascript__hoisting__location__"; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "a": [ ()=>cat, @@ -148,11 +161,12 @@ __turbopack_esm__({ }); let cat = "cat"; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "cat": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__["a"] }); @@ -161,11 +175,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/module.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/module.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "a": [ ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$export__cat$3e$__["cat"], @@ -177,11 +192,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo "__TURBOPACK__ecmascript__hoisting__location__"; ; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/module.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/module.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "fakeCat": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$named$2f$input$2f$module$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__2$3e$__["a"] }); @@ -190,11 +206,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "a": [ ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$named$2f$input$2f$module$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$export__fakeCat$3e$__["fakeCat"], @@ -206,11 +223,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo "__TURBOPACK__ecmascript__hoisting__location__"; ; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$named$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__1$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/index.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$named$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/index.js [test] (ecmascript) "); @@ -219,11 +237,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$named$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__1$3e$__["a"]); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$named$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/index.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$named$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__2$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/index.js [test] (ecmascript) "); @@ -231,18 +250,18 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; "module evaluation"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$named$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$module__evaluation$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/index.js [test] (ecmascript) "); "__TURBOPACK__ecmascript__hoisting__location__"; ; ; - -})()), +}}), }]); //# sourceMappingURL=b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-named_input_1823b4._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-named_input_1823b4._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-named_input_1823b4._.js.map index beb5526aa823f..20987b8ef1de9 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-named_input_1823b4._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-named_input_1823b4._.js.map @@ -2,42 +2,42 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;AAAA,IAAI,MAAM"}}, - {"offset": {"line": 13, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 18, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;AAEA,gPAAA,CAAA,IAAG,IAAI"}}, - {"offset": {"line": 24, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 29, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAUA,gPAAA,CAAA,IAAG,IAAI"}}, - {"offset": {"line": 37, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 42, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAkBA,gPAAA,CAAA,IAAG,IAAI"}}, - {"offset": {"line": 50, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 55, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAIA,QAAQ,GAAG,CAAC,gPAAA,CAAA,IAAG"}}, - {"offset": {"line": 63, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 68, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;AAYA,QAAQ,GAAG,CAAC,gPAAA,CAAA,IAAG"}}, - {"offset": {"line": 78, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 83, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;AAoBA,QAAQ,GAAG,CAAC,gPAAA,CAAA,IAAG"}}, - {"offset": {"line": 95, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 100, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 109, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 114, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;AAAA,IAAI,MAAM"}}, + {"offset": {"line": 15, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 21, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;AAEA,gPAAA,CAAA,IAAG,IAAI"}}, + {"offset": {"line": 27, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 33, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAUA,gPAAA,CAAA,IAAG,IAAI"}}, + {"offset": {"line": 41, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 47, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAkBA,gPAAA,CAAA,IAAG,IAAI"}}, + {"offset": {"line": 55, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 61, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAIA,QAAQ,GAAG,CAAC,gPAAA,CAAA,IAAG"}}, + {"offset": {"line": 69, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 75, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;AAYA,QAAQ,GAAG,CAAC,gPAAA,CAAA,IAAG"}}, + {"offset": {"line": 85, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 91, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;AAoBA,QAAQ,GAAG,CAAC,gPAAA,CAAA,IAAG"}}, + {"offset": {"line": 103, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 109, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, {"offset": {"line": 118, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 123, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 124, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, {"offset": {"line": 128, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 133, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 137, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 142, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;AA4BO,IAAI,MAAM"}}, - {"offset": {"line": 150, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 155, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 134, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 139, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 145, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 149, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 155, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;AA4BO,IAAI,MAAM"}}, {"offset": {"line": 163, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 168, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 179, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 184, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 192, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 197, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 169, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 177, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 183, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 194, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 200, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, {"offset": {"line": 208, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 213, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/index.js"],"sourcesContent":["import { fakeCat } from \"./module\";\n\n\nconsole.log(fakeCat)\n"],"names":[],"mappings":";;;;;;;AAGA,QAAQ,GAAG,CAAC,kPAAA,CAAA,IAAO"}}, - {"offset": {"line": 221, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 226, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 233, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 238, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 243, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 214, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 225, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 231, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/index.js"],"sourcesContent":["import { fakeCat } from \"./module\";\n\n\nconsole.log(fakeCat)\n"],"names":[],"mappings":";;;;;;;AAGA,QAAQ,GAAG,CAAC,kPAAA,CAAA,IAAO"}}, + {"offset": {"line": 239, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 245, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 252, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 258, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 263, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-namespace_input_6b9ee3._.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-namespace_input_6b9ee3._.js index 3efd4c1fe0ba1..b135e128475e4 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-namespace_input_6b9ee3._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-namespace_input_6b9ee3._.js @@ -1,8 +1,10 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-namespace_input_6b9ee3._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "c": [ ()=>dog, @@ -11,22 +13,24 @@ __turbopack_esm__({ }); let dog = "dog"; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) "); "__TURBOPACK__ecmascript__hoisting__location__"; ; ; __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"] += "!"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__6$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) "); @@ -35,11 +39,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"] += "!"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__7$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) "); @@ -48,11 +53,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"] += "!"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__6$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) "); @@ -61,11 +67,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"]); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__7$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) "); @@ -76,11 +83,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"]); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__8$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) "); @@ -93,11 +101,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"]); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__16$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__15$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) "); @@ -107,39 +116,43 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; "module evaluation"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/module.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/module.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$module__evaluation$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) "); "__TURBOPACK__ecmascript__hoisting__location__"; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/module.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/module.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$module$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/module.js [test] (ecmascript) "); "__TURBOPACK__ecmascript__hoisting__location__"; ; "module evaluation"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$module$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$module__evaluation$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/module.js [test] (ecmascript) "); "__TURBOPACK__ecmascript__hoisting__location__"; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "a": [ ()=>cat, @@ -148,11 +161,12 @@ __turbopack_esm__({ }); let cat = "cat"; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "cat": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__["a"] }); @@ -161,11 +175,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "f": [ ()=>getDog, @@ -182,11 +197,12 @@ function getDog() { return __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"]; } ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "d": [ ()=>setDog, @@ -201,11 +217,12 @@ function setDog(newDog) { __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"] = newDog; } ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "g": [ ()=>dogRef, @@ -230,11 +247,12 @@ const dogRef = { set: __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__5$3e$__["d"] }; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "dogRef": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__12$3e$__["g"] }); @@ -243,11 +261,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "e": [ ()=>getChimera, @@ -267,11 +286,12 @@ function getChimera() { return __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__["a"] + __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"]; } ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "getChimera": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__9$3e$__["e"] }); @@ -280,11 +300,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "b": [ ()=>initialCat, @@ -297,11 +318,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; const initialCat = __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__["a"]; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "initialCat": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__2$3e$__["b"] }); @@ -310,11 +332,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "cat": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$export__cat$3e$__["cat"], "dogRef": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$export__dogRef$3e$__["dogRef"], @@ -330,11 +353,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/module.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/module.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "a": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$exports$3e$__ }); @@ -343,11 +367,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo "__TURBOPACK__ecmascript__hoisting__location__"; ; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/module.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/module.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "lib": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$module$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__2$3e$__["a"] }); @@ -356,11 +381,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "a": [ ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$module$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$export__lib$3e$__["lib"], @@ -372,11 +398,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo "__TURBOPACK__ecmascript__hoisting__location__"; ; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__1$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/index.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/index.js [test] (ecmascript) "); @@ -385,11 +412,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__1$3e$__["a"].cat); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/index.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__2$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/index.js [test] (ecmascript) "); @@ -397,18 +425,18 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; "module evaluation"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$export$2d$namespace$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$module__evaluation$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/index.js [test] (ecmascript) "); "__TURBOPACK__ecmascript__hoisting__location__"; ; ; - -})()), +}}), }]); //# sourceMappingURL=b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-namespace_input_6b9ee3._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-namespace_input_6b9ee3._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-namespace_input_6b9ee3._.js.map index 14c288d08b77c..06c999b2f36e4 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-namespace_input_6b9ee3._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-namespace_input_6b9ee3._.js.map @@ -2,60 +2,60 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;AAAA,IAAI,MAAM"}}, - {"offset": {"line": 13, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 18, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;AAEA,oPAAA,CAAA,IAAG,IAAI"}}, - {"offset": {"line": 24, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 29, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAUA,oPAAA,CAAA,IAAG,IAAI"}}, - {"offset": {"line": 37, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 42, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAkBA,oPAAA,CAAA,IAAG,IAAI"}}, - {"offset": {"line": 50, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 55, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAIA,QAAQ,GAAG,CAAC,oPAAA,CAAA,IAAG"}}, - {"offset": {"line": 63, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 68, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;AAYA,QAAQ,GAAG,CAAC,oPAAA,CAAA,IAAG"}}, - {"offset": {"line": 78, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 83, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;AAoBA,QAAQ,GAAG,CAAC,oPAAA,CAAA,IAAG"}}, - {"offset": {"line": 95, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 100, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 109, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 114, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;AAAA,IAAI,MAAM"}}, + {"offset": {"line": 15, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 21, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;AAEA,oPAAA,CAAA,IAAG,IAAI"}}, + {"offset": {"line": 27, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 33, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAUA,oPAAA,CAAA,IAAG,IAAI"}}, + {"offset": {"line": 41, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 47, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAkBA,oPAAA,CAAA,IAAG,IAAI"}}, + {"offset": {"line": 55, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 61, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAIA,QAAQ,GAAG,CAAC,oPAAA,CAAA,IAAG"}}, + {"offset": {"line": 69, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 75, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;AAYA,QAAQ,GAAG,CAAC,oPAAA,CAAA,IAAG"}}, + {"offset": {"line": 85, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 91, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;AAoBA,QAAQ,GAAG,CAAC,oPAAA,CAAA,IAAG"}}, + {"offset": {"line": 103, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 109, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, {"offset": {"line": 118, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 123, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 124, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, {"offset": {"line": 128, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 133, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 137, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 142, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;AA4BO,IAAI,MAAM"}}, - {"offset": {"line": 150, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 155, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 134, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 139, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 145, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 149, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 155, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;AA4BO,IAAI,MAAM"}}, {"offset": {"line": 163, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 168, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;;AAMA,SAAS;IACP,OAAO,oPAAA,CAAA,IAAG;AACZ"}}, - {"offset": {"line": 184, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 189, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;AAcA,SAAS,OAAO,MAAM;IACpB,oPAAA,CAAA,IAAG,GAAG;AACR"}}, - {"offset": {"line": 203, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 208, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAsBO,MAAM,SAAS;IACpB,SAAS,oPAAA,CAAA,IAAG;IACZ,KAAK,qPAAA,CAAA,IAAM;IACX,KAAK,oPAAA,CAAA,IAAM;AACb"}}, - {"offset": {"line": 232, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 237, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 245, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 250, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAgCO,SAAS;IACd,OAAO,oPAAA,CAAA,IAAG,GAAG,oPAAA,CAAA,IAAG;AAClB"}}, - {"offset": {"line": 269, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 274, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 282, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 287, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;AA8BO,MAAM,aAAa,oPAAA,CAAA,IAAG"}}, - {"offset": {"line": 299, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 304, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 312, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 317, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 332, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 337, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 345, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 350, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 358, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 363, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 374, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 379, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/index.js"],"sourcesContent":["import {lib} from './module'\n\nconsole.log(lib.cat)\n"],"names":[],"mappings":";;;;;;;AAEA,QAAQ,GAAG,CAAC,sPAAA,CAAA,IAAG,CAAC,GAAG"}}, - {"offset": {"line": 387, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 392, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 399, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 404, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 409, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 169, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 177, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 183, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;;AAMA,SAAS;IACP,OAAO,oPAAA,CAAA,IAAG;AACZ"}}, + {"offset": {"line": 199, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 205, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;AAcA,SAAS,OAAO,MAAM;IACpB,oPAAA,CAAA,IAAG,GAAG;AACR"}}, + {"offset": {"line": 219, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 225, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAsBO,MAAM,SAAS;IACpB,SAAS,oPAAA,CAAA,IAAG;IACZ,KAAK,qPAAA,CAAA,IAAM;IACX,KAAK,oPAAA,CAAA,IAAM;AACb"}}, + {"offset": {"line": 249, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 255, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 263, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 269, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAgCO,SAAS;IACd,OAAO,oPAAA,CAAA,IAAG,GAAG,oPAAA,CAAA,IAAG;AAClB"}}, + {"offset": {"line": 288, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 294, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 302, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 308, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;AA8BO,MAAM,aAAa,oPAAA,CAAA,IAAG"}}, + {"offset": {"line": 320, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 326, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 334, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 340, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 355, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 361, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 369, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 375, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 383, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 389, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 400, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 406, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/index.js"],"sourcesContent":["import {lib} from './module'\n\nconsole.log(lib.cat)\n"],"names":[],"mappings":";;;;;;;AAEA,QAAQ,GAAG,CAAC,sPAAA,CAAA,IAAG,CAAC,GAAG"}}, + {"offset": {"line": 414, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 420, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 427, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 433, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 438, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named-all_input_84a6ca._.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named-all_input_84a6ca._.js index 47086000ed855..3eef8f6ba6918 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named-all_input_84a6ca._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named-all_input_84a6ca._.js @@ -1,8 +1,10 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named-all_input_84a6ca._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "c": [ ()=>dog, @@ -11,22 +13,24 @@ __turbopack_esm__({ }); let dog = "dog"; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2d$all$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js [test] (ecmascript) "); "__TURBOPACK__ecmascript__hoisting__location__"; ; ; __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2d$all$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"] += "!"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2d$all$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__6$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2d$all$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js [test] (ecmascript) "); @@ -35,11 +39,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2d$all$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"] += "!"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2d$all$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__7$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2d$all$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js [test] (ecmascript) "); @@ -48,11 +53,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2d$all$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"] += "!"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2d$all$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__6$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2d$all$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js [test] (ecmascript) "); @@ -61,11 +67,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2d$all$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"]); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2d$all$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__7$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2d$all$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js [test] (ecmascript) "); @@ -76,11 +83,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2d$all$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"]); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2d$all$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__8$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2d$all$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js [test] (ecmascript) "); @@ -93,11 +101,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2d$all$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"]); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2d$all$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__16$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2d$all$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__15$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js [test] (ecmascript) "); @@ -107,20 +116,22 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; "module evaluation"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2d$all$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$module__evaluation$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js [test] (ecmascript) "); "__TURBOPACK__ecmascript__hoisting__location__"; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "a": [ ()=>cat, @@ -129,11 +140,12 @@ __turbopack_esm__({ }); let cat = "cat"; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "cat": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2d$all$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__["a"] }); @@ -142,11 +154,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "a": [ ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2d$all$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$export__cat$3e$__["cat"], @@ -158,11 +171,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo "__TURBOPACK__ecmascript__hoisting__location__"; ; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2d$all$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__1$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/index.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2d$all$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/index.js [test] (ecmascript) "); @@ -172,11 +186,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2d$all$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__1$3e$__["a"]) // TODO: Execution ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2d$all$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/index.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2d$all$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__2$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/index.js [test] (ecmascript) "); @@ -184,18 +199,18 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; "module evaluation"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2d$all$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$module__evaluation$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/index.js [test] (ecmascript) "); "__TURBOPACK__ecmascript__hoisting__location__"; ; ; - -})()), +}}), }]); //# sourceMappingURL=b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named-all_input_84a6ca._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named-all_input_84a6ca._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named-all_input_84a6ca._.js.map index d07de3cf83ca8..9e8afc629548a 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named-all_input_84a6ca._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named-all_input_84a6ca._.js.map @@ -2,34 +2,34 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;AAAA,IAAI,MAAM"}}, - {"offset": {"line": 13, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 18, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;AAEA,uPAAA,CAAA,IAAG,IAAI"}}, - {"offset": {"line": 24, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 29, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAUA,uPAAA,CAAA,IAAG,IAAI"}}, - {"offset": {"line": 37, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 42, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAkBA,uPAAA,CAAA,IAAG,IAAI"}}, - {"offset": {"line": 50, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 55, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAIA,QAAQ,GAAG,CAAC,uPAAA,CAAA,IAAG"}}, - {"offset": {"line": 63, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 68, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;AAYA,QAAQ,GAAG,CAAC,uPAAA,CAAA,IAAG"}}, - {"offset": {"line": 78, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 83, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;AAoBA,QAAQ,GAAG,CAAC,uPAAA,CAAA,IAAG"}}, - {"offset": {"line": 95, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 100, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 109, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 114, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;AAAA,IAAI,MAAM"}}, + {"offset": {"line": 15, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 21, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;AAEA,uPAAA,CAAA,IAAG,IAAI"}}, + {"offset": {"line": 27, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 33, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAUA,uPAAA,CAAA,IAAG,IAAI"}}, + {"offset": {"line": 41, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 47, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAkBA,uPAAA,CAAA,IAAG,IAAI"}}, + {"offset": {"line": 55, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 61, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAIA,QAAQ,GAAG,CAAC,uPAAA,CAAA,IAAG"}}, + {"offset": {"line": 69, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 75, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;AAYA,QAAQ,GAAG,CAAC,uPAAA,CAAA,IAAG"}}, + {"offset": {"line": 85, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 91, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;AAoBA,QAAQ,GAAG,CAAC,uPAAA,CAAA,IAAG"}}, + {"offset": {"line": 103, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 109, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, {"offset": {"line": 118, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 123, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;AA4BO,IAAI,MAAM"}}, - {"offset": {"line": 131, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 136, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 144, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 149, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 160, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 165, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/index.js"],"sourcesContent":["import {cat as c,dogRef,initialCat,getChimera} from './lib'\n\nconsole.log(c)\n\n// TODO: Execution\n"],"names":[],"mappings":";;;;;;;AAEA,QAAQ,GAAG,CAAC,yPAAA,CAAA,IAAC,EAEb,kBAAkB"}}, - {"offset": {"line": 174, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 179, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 186, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 191, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 196, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 124, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 128, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 134, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;AA4BO,IAAI,MAAM"}}, + {"offset": {"line": 142, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 148, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 156, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 162, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 173, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 179, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/index.js"],"sourcesContent":["import {cat as c,dogRef,initialCat,getChimera} from './lib'\n\nconsole.log(c)\n\n// TODO: Execution\n"],"names":[],"mappings":";;;;;;;AAEA,QAAQ,GAAG,CAAC,yPAAA,CAAA,IAAC,EAEb,kBAAkB"}}, + {"offset": {"line": 188, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 194, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 201, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 207, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 212, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named_input_4f48a0._.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named_input_4f48a0._.js index 4a2ab3854824e..b80bccc4d46c5 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named_input_4f48a0._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named_input_4f48a0._.js @@ -1,8 +1,10 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named_input_4f48a0._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "c": [ ()=>dog, @@ -11,22 +13,24 @@ __turbopack_esm__({ }); let dog = "dog"; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js [test] (ecmascript) "); "__TURBOPACK__ecmascript__hoisting__location__"; ; ; __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"] += "!"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__6$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js [test] (ecmascript) "); @@ -35,11 +39,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"] += "!"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__7$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js [test] (ecmascript) "); @@ -48,11 +53,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"] += "!"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__6$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js [test] (ecmascript) "); @@ -61,11 +67,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"]); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__7$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js [test] (ecmascript) "); @@ -76,11 +83,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"]); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__8$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js [test] (ecmascript) "); @@ -93,11 +101,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"]); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__16$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__15$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js [test] (ecmascript) "); @@ -107,20 +116,22 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; "module evaluation"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$module__evaluation$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js [test] (ecmascript) "); "__TURBOPACK__ecmascript__hoisting__location__"; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "a": [ ()=>cat, @@ -129,11 +140,12 @@ __turbopack_esm__({ }); let cat = "cat"; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "cat": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__["a"] }); @@ -142,11 +154,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "a": [ ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$export__cat$3e$__["cat"], @@ -158,11 +171,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo "__TURBOPACK__ecmascript__hoisting__location__"; ; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__1$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/index.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/index.js [test] (ecmascript) "); @@ -171,11 +185,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__1$3e$__["a"]); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/index.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__2$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/index.js [test] (ecmascript) "); @@ -183,18 +198,18 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; "module evaluation"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$named$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$module__evaluation$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/index.js [test] (ecmascript) "); "__TURBOPACK__ecmascript__hoisting__location__"; ; ; - -})()), +}}), }]); //# sourceMappingURL=b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named_input_4f48a0._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named_input_4f48a0._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named_input_4f48a0._.js.map index 1ca345da3656e..4248dfd9611db 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named_input_4f48a0._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named_input_4f48a0._.js.map @@ -2,34 +2,34 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;AAAA,IAAI,MAAM"}}, - {"offset": {"line": 13, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 18, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;AAEA,gPAAA,CAAA,IAAG,IAAI"}}, - {"offset": {"line": 24, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 29, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAUA,gPAAA,CAAA,IAAG,IAAI"}}, - {"offset": {"line": 37, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 42, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAkBA,gPAAA,CAAA,IAAG,IAAI"}}, - {"offset": {"line": 50, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 55, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAIA,QAAQ,GAAG,CAAC,gPAAA,CAAA,IAAG"}}, - {"offset": {"line": 63, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 68, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;AAYA,QAAQ,GAAG,CAAC,gPAAA,CAAA,IAAG"}}, - {"offset": {"line": 78, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 83, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;AAoBA,QAAQ,GAAG,CAAC,gPAAA,CAAA,IAAG"}}, - {"offset": {"line": 95, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 100, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 109, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 114, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;AAAA,IAAI,MAAM"}}, + {"offset": {"line": 15, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 21, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;AAEA,gPAAA,CAAA,IAAG,IAAI"}}, + {"offset": {"line": 27, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 33, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAUA,gPAAA,CAAA,IAAG,IAAI"}}, + {"offset": {"line": 41, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 47, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAkBA,gPAAA,CAAA,IAAG,IAAI"}}, + {"offset": {"line": 55, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 61, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAIA,QAAQ,GAAG,CAAC,gPAAA,CAAA,IAAG"}}, + {"offset": {"line": 69, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 75, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;AAYA,QAAQ,GAAG,CAAC,gPAAA,CAAA,IAAG"}}, + {"offset": {"line": 85, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 91, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;AAoBA,QAAQ,GAAG,CAAC,gPAAA,CAAA,IAAG"}}, + {"offset": {"line": 103, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 109, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, {"offset": {"line": 118, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 123, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;AA4BO,IAAI,MAAM"}}, - {"offset": {"line": 131, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 136, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 144, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 149, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 160, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 165, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/index.js"],"sourcesContent":["import {cat as c} from './lib'\n\nconsole.log(c)\n"],"names":[],"mappings":";;;;;;;AAEA,QAAQ,GAAG,CAAC,kPAAA,CAAA,IAAC"}}, + {"offset": {"line": 124, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 128, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 134, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;AA4BO,IAAI,MAAM"}}, + {"offset": {"line": 142, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 148, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 156, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 162, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, {"offset": {"line": 173, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 178, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 185, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 190, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 195, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 179, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/index.js"],"sourcesContent":["import {cat as c} from './lib'\n\nconsole.log(c)\n"],"names":[],"mappings":";;;;;;;AAEA,QAAQ,GAAG,CAAC,kPAAA,CAAA,IAAC"}}, + {"offset": {"line": 187, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 193, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 200, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 206, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 211, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-namespace_input_519014._.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-namespace_input_519014._.js index 5b12aa879eff8..cedbeb8d916c6 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-namespace_input_519014._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-namespace_input_519014._.js @@ -1,8 +1,10 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-namespace_input_519014._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "c": [ ()=>dog, @@ -11,22 +13,24 @@ __turbopack_esm__({ }); let dog = "dog"; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) "); "__TURBOPACK__ecmascript__hoisting__location__"; ; ; __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"] += "!"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__6$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) "); @@ -35,11 +39,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"] += "!"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__7$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) "); @@ -48,11 +53,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"] += "!"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__6$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) "); @@ -61,11 +67,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"]); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__7$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) "); @@ -76,11 +83,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"]); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__8$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) "); @@ -93,11 +101,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"]); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__16$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__15$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) "); @@ -107,20 +116,22 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; "module evaluation"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$module__evaluation$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) "); "__TURBOPACK__ecmascript__hoisting__location__"; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "a": [ ()=>cat, @@ -129,11 +140,12 @@ __turbopack_esm__({ }); let cat = "cat"; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "cat": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__["a"] }); @@ -142,11 +154,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "f": [ ()=>getDog, @@ -163,11 +176,12 @@ function getDog() { return __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"]; } ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "d": [ ()=>setDog, @@ -182,11 +196,12 @@ function setDog(newDog) { __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"] = newDog; } ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "g": [ ()=>dogRef, @@ -211,11 +226,12 @@ const dogRef = { set: __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__5$3e$__["d"] }; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "dogRef": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__12$3e$__["g"] }); @@ -224,11 +240,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "e": [ ()=>getChimera, @@ -248,11 +265,12 @@ function getChimera() { return __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__["a"] + __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"]; } ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "getChimera": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__9$3e$__["e"] }); @@ -261,11 +279,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "b": [ ()=>initialCat, @@ -278,11 +297,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; const initialCat = __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__["a"]; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "initialCat": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__2$3e$__["b"] }); @@ -291,11 +311,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "cat": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$export__cat$3e$__["cat"], "dogRef": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$export__dogRef$3e$__["dogRef"], @@ -311,11 +332,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "a": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$exports$3e$__ }); @@ -324,11 +346,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo "__TURBOPACK__ecmascript__hoisting__location__"; ; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__1$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/index.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/index.js [test] (ecmascript) "); @@ -337,11 +360,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__1$3e$__["a"].cat); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/index.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__2$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/index.js [test] (ecmascript) "); @@ -349,18 +373,18 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; "module evaluation"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$namespace$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$module__evaluation$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/index.js [test] (ecmascript) "); "__TURBOPACK__ecmascript__hoisting__location__"; ; ; - -})()), +}}), }]); //# sourceMappingURL=b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-namespace_input_519014._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-namespace_input_519014._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-namespace_input_519014._.js.map index 0a444c4006049..cfd529f4f9ebd 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-namespace_input_519014._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-namespace_input_519014._.js.map @@ -2,52 +2,52 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;AAAA,IAAI,MAAM"}}, - {"offset": {"line": 13, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 18, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;AAEA,oPAAA,CAAA,IAAG,IAAI"}}, - {"offset": {"line": 24, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 29, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAUA,oPAAA,CAAA,IAAG,IAAI"}}, - {"offset": {"line": 37, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 42, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAkBA,oPAAA,CAAA,IAAG,IAAI"}}, - {"offset": {"line": 50, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 55, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAIA,QAAQ,GAAG,CAAC,oPAAA,CAAA,IAAG"}}, - {"offset": {"line": 63, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 68, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;AAYA,QAAQ,GAAG,CAAC,oPAAA,CAAA,IAAG"}}, - {"offset": {"line": 78, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 83, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;AAoBA,QAAQ,GAAG,CAAC,oPAAA,CAAA,IAAG"}}, - {"offset": {"line": 95, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 100, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 109, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 114, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;AAAA,IAAI,MAAM"}}, + {"offset": {"line": 15, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 21, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;AAEA,oPAAA,CAAA,IAAG,IAAI"}}, + {"offset": {"line": 27, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 33, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAUA,oPAAA,CAAA,IAAG,IAAI"}}, + {"offset": {"line": 41, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 47, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAkBA,oPAAA,CAAA,IAAG,IAAI"}}, + {"offset": {"line": 55, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 61, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAIA,QAAQ,GAAG,CAAC,oPAAA,CAAA,IAAG"}}, + {"offset": {"line": 69, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 75, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;AAYA,QAAQ,GAAG,CAAC,oPAAA,CAAA,IAAG"}}, + {"offset": {"line": 85, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 91, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;AAoBA,QAAQ,GAAG,CAAC,oPAAA,CAAA,IAAG"}}, + {"offset": {"line": 103, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 109, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, {"offset": {"line": 118, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 123, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;AA4BO,IAAI,MAAM"}}, - {"offset": {"line": 131, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 136, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 144, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 149, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;;AAMA,SAAS;IACP,OAAO,oPAAA,CAAA,IAAG;AACZ"}}, - {"offset": {"line": 165, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 170, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;AAcA,SAAS,OAAO,MAAM;IACpB,oPAAA,CAAA,IAAG,GAAG;AACR"}}, - {"offset": {"line": 184, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 189, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAsBO,MAAM,SAAS;IACpB,SAAS,oPAAA,CAAA,IAAG;IACZ,KAAK,qPAAA,CAAA,IAAM;IACX,KAAK,oPAAA,CAAA,IAAM;AACb"}}, - {"offset": {"line": 213, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 218, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 226, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 231, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAgCO,SAAS;IACd,OAAO,oPAAA,CAAA,IAAG,GAAG,oPAAA,CAAA,IAAG;AAClB"}}, - {"offset": {"line": 250, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 255, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 263, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 268, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;AA8BO,MAAM,aAAa,oPAAA,CAAA,IAAG"}}, - {"offset": {"line": 280, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 285, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 293, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 298, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 124, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 128, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 134, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;AA4BO,IAAI,MAAM"}}, + {"offset": {"line": 142, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 148, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 156, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 162, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;;AAMA,SAAS;IACP,OAAO,oPAAA,CAAA,IAAG;AACZ"}}, + {"offset": {"line": 178, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 184, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;AAcA,SAAS,OAAO,MAAM;IACpB,oPAAA,CAAA,IAAG,GAAG;AACR"}}, + {"offset": {"line": 198, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 204, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAsBO,MAAM,SAAS;IACpB,SAAS,oPAAA,CAAA,IAAG;IACZ,KAAK,qPAAA,CAAA,IAAM;IACX,KAAK,oPAAA,CAAA,IAAM;AACb"}}, + {"offset": {"line": 228, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 234, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 242, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 248, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAgCO,SAAS;IACd,OAAO,oPAAA,CAAA,IAAG,GAAG,oPAAA,CAAA,IAAG;AAClB"}}, + {"offset": {"line": 267, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 273, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 281, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 287, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;AA8BO,MAAM,aAAa,oPAAA,CAAA,IAAG"}}, + {"offset": {"line": 299, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 305, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, {"offset": {"line": 313, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 318, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 326, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 331, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/index.js"],"sourcesContent":["import * as lib from './lib'\n\nconsole.log(lib.cat)\n"],"names":[],"mappings":";;;;;;;AAEA,QAAQ,GAAG,CAAC,sPAAA,CAAA,IAAG,CAAC,GAAG"}}, - {"offset": {"line": 339, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 344, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 351, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 356, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 361, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 319, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 334, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 340, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 348, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 354, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/index.js"],"sourcesContent":["import * as lib from './lib'\n\nconsole.log(lib.cat)\n"],"names":[],"mappings":";;;;;;;AAEA,QAAQ,GAAG,CAAC,sPAAA,CAAA,IAAG,CAAC,GAAG"}}, + {"offset": {"line": 362, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 368, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 375, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 381, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 386, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-side-effect_input_55cb06._.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-side-effect_input_55cb06._.js index c52c380f4ebaa..2ab78d5eb24d2 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-side-effect_input_55cb06._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-side-effect_input_55cb06._.js @@ -1,8 +1,10 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-side-effect_input_55cb06._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "c": [ ()=>dog, @@ -11,22 +13,24 @@ __turbopack_esm__({ }); let dog = "dog"; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js [test] (ecmascript) "); "__TURBOPACK__ecmascript__hoisting__location__"; ; ; __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"] += "!"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__6$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js [test] (ecmascript) "); @@ -35,11 +39,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"] += "!"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__7$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js [test] (ecmascript) "); @@ -48,11 +53,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"] += "!"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__6$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js [test] (ecmascript) "); @@ -61,11 +67,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"]); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__7$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js [test] (ecmascript) "); @@ -76,11 +83,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"]); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__8$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js [test] (ecmascript) "); @@ -93,11 +101,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"]); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__16$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__15$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js [test] (ecmascript) "); @@ -107,37 +116,39 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; "module evaluation"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$module__evaluation$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js [test] (ecmascript) "); "__TURBOPACK__ecmascript__hoisting__location__"; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$side$2d$effect$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/index.js [test] (ecmascript) "); "__TURBOPACK__ecmascript__hoisting__location__"; ; "module evaluation"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$side$2d$effect$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$module__evaluation$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/index.js [test] (ecmascript) "); "__TURBOPACK__ecmascript__hoisting__location__"; ; ; - -})()), +}}), }]); //# sourceMappingURL=b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-side-effect_input_55cb06._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-side-effect_input_55cb06._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-side-effect_input_55cb06._.js.map index 8cfb104923312..a993a9be292a1 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-side-effect_input_55cb06._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-side-effect_input_55cb06._.js.map @@ -2,26 +2,26 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;AAAA,IAAI,MAAM"}}, - {"offset": {"line": 13, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 18, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;AAEA,yPAAA,CAAA,IAAG,IAAI"}}, - {"offset": {"line": 24, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 29, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAUA,yPAAA,CAAA,IAAG,IAAI"}}, - {"offset": {"line": 37, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 42, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAkBA,yPAAA,CAAA,IAAG,IAAI"}}, - {"offset": {"line": 50, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 55, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAIA,QAAQ,GAAG,CAAC,yPAAA,CAAA,IAAG"}}, - {"offset": {"line": 63, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 68, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;AAYA,QAAQ,GAAG,CAAC,yPAAA,CAAA,IAAG"}}, - {"offset": {"line": 78, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 83, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;AAoBA,QAAQ,GAAG,CAAC,yPAAA,CAAA,IAAG"}}, - {"offset": {"line": 95, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 100, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 109, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 114, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;AAAA,IAAI,MAAM"}}, + {"offset": {"line": 15, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 21, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;AAEA,yPAAA,CAAA,IAAG,IAAI"}}, + {"offset": {"line": 27, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 33, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAUA,yPAAA,CAAA,IAAG,IAAI"}}, + {"offset": {"line": 41, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 47, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAkBA,yPAAA,CAAA,IAAG,IAAI"}}, + {"offset": {"line": 55, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 61, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAIA,QAAQ,GAAG,CAAC,yPAAA,CAAA,IAAG"}}, + {"offset": {"line": 69, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 75, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;AAYA,QAAQ,GAAG,CAAC,yPAAA,CAAA,IAAG"}}, + {"offset": {"line": 85, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 91, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;AAoBA,QAAQ,GAAG,CAAC,yPAAA,CAAA,IAAG"}}, + {"offset": {"line": 103, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 109, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, {"offset": {"line": 118, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 123, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 124, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, {"offset": {"line": 128, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 133, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 138, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 134, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 139, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 145, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 150, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/output/4c35f_tests_snapshot_basic-tree-shake_require-side-effect_input_c7b81e._.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/output/4c35f_tests_snapshot_basic-tree-shake_require-side-effect_input_c7b81e._.js index 5114e34d53066..f0f20be8c82d5 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/output/4c35f_tests_snapshot_basic-tree-shake_require-side-effect_input_c7b81e._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/output/4c35f_tests_snapshot_basic-tree-shake_require-side-effect_input_c7b81e._.js @@ -1,8 +1,10 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/4c35f_tests_snapshot_basic-tree-shake_require-side-effect_input_c7b81e._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "c": [ ()=>dog, @@ -11,22 +13,24 @@ __turbopack_esm__({ }); let dog = "dog"; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) "); "__TURBOPACK__ecmascript__hoisting__location__"; ; ; __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"] += "!"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__6$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) "); @@ -35,11 +39,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"] += "!"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__7$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) "); @@ -48,11 +53,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"] += "!"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__6$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) "); @@ -61,11 +67,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"]); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__7$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) "); @@ -76,11 +83,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"]); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__8$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) "); @@ -93,11 +101,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"]); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__16$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__15$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) "); @@ -107,11 +116,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; "module evaluation"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "a": [ ()=>cat, @@ -120,11 +130,12 @@ __turbopack_esm__({ }); let cat = "cat"; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "cat": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__["a"] }); @@ -133,11 +144,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "f": [ ()=>getDog, @@ -154,11 +166,12 @@ function getDog() { return __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"]; } ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "d": [ ()=>setDog, @@ -173,11 +186,12 @@ function setDog(newDog) { __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"] = newDog; } ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "g": [ ()=>dogRef, @@ -202,11 +216,12 @@ const dogRef = { set: __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__5$3e$__["d"] }; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "dogRef": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__12$3e$__["g"] }); @@ -215,11 +230,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "e": [ ()=>getChimera, @@ -239,11 +255,12 @@ function getChimera() { return __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__["a"] + __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"]; } ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "getChimera": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__9$3e$__["e"] }); @@ -252,11 +269,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "b": [ ()=>initialCat, @@ -269,11 +287,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; const initialCat = __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__["a"]; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "initialCat": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__2$3e$__["b"] }); @@ -282,11 +301,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "cat": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$export__cat$3e$__["cat"], "dogRef": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$export__dogRef$3e$__["dogRef"], @@ -302,11 +322,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "cat": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$exports$3e$__["cat"], "dogRef": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$require$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$exports$3e$__["dogRef"], @@ -318,13 +339,13 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo "__TURBOPACK__ecmascript__hoisting__location__"; ; ; +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/index.js [test] (ecmascript)": (function(__turbopack_context__) { -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/index.js [test] (ecmascript)": (function({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require }) { !function() { - +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require } = __turbopack_context__; +{ const { cat } = __turbopack_require__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js [test] (ecmascript)"); - -}.call(this) }), +}}), }]); //# sourceMappingURL=4c35f_tests_snapshot_basic-tree-shake_require-side-effect_input_c7b81e._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/output/4c35f_tests_snapshot_basic-tree-shake_require-side-effect_input_c7b81e._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/output/4c35f_tests_snapshot_basic-tree-shake_require-side-effect_input_c7b81e._.js.map index aff51ebdf84e2..eed96fbd24538 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/output/4c35f_tests_snapshot_basic-tree-shake_require-side-effect_input_c7b81e._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/output/4c35f_tests_snapshot_basic-tree-shake_require-side-effect_input_c7b81e._.js.map @@ -2,46 +2,46 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;AAAA,IAAI,MAAM"}}, - {"offset": {"line": 13, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 18, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;AAEA,0PAAA,CAAA,IAAG,IAAI"}}, - {"offset": {"line": 24, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 29, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAUA,0PAAA,CAAA,IAAG,IAAI"}}, - {"offset": {"line": 37, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 42, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAkBA,0PAAA,CAAA,IAAG,IAAI"}}, - {"offset": {"line": 50, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 55, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAIA,QAAQ,GAAG,CAAC,0PAAA,CAAA,IAAG"}}, - {"offset": {"line": 63, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 68, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;AAYA,QAAQ,GAAG,CAAC,0PAAA,CAAA,IAAG"}}, - {"offset": {"line": 78, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 83, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;AAoBA,QAAQ,GAAG,CAAC,0PAAA,CAAA,IAAG"}}, - {"offset": {"line": 95, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 100, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 109, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 114, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;AA4BO,IAAI,MAAM"}}, - {"offset": {"line": 122, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 127, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 135, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 140, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;;AAMA,SAAS;IACP,OAAO,0PAAA,CAAA,IAAG;AACZ"}}, - {"offset": {"line": 156, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 161, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;AAcA,SAAS,OAAO,MAAM;IACpB,0PAAA,CAAA,IAAG,GAAG;AACR"}}, - {"offset": {"line": 175, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 180, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAsBO,MAAM,SAAS;IACpB,SAAS,0PAAA,CAAA,IAAG;IACZ,KAAK,2PAAA,CAAA,IAAM;IACX,KAAK,0PAAA,CAAA,IAAM;AACb"}}, - {"offset": {"line": 204, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 209, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 217, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 222, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAgCO,SAAS;IACd,OAAO,0PAAA,CAAA,IAAG,GAAG,0PAAA,CAAA,IAAG;AAClB"}}, - {"offset": {"line": 241, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 246, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 254, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 259, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;AA8BO,MAAM,aAAa,0PAAA,CAAA,IAAG"}}, + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;AAAA,IAAI,MAAM"}}, + {"offset": {"line": 15, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 21, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;AAEA,0PAAA,CAAA,IAAG,IAAI"}}, + {"offset": {"line": 27, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 33, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAUA,0PAAA,CAAA,IAAG,IAAI"}}, + {"offset": {"line": 41, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 47, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAkBA,0PAAA,CAAA,IAAG,IAAI"}}, + {"offset": {"line": 55, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 61, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAIA,QAAQ,GAAG,CAAC,0PAAA,CAAA,IAAG"}}, + {"offset": {"line": 69, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 75, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;AAYA,QAAQ,GAAG,CAAC,0PAAA,CAAA,IAAG"}}, + {"offset": {"line": 85, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 91, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;AAoBA,QAAQ,GAAG,CAAC,0PAAA,CAAA,IAAG"}}, + {"offset": {"line": 103, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 109, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 118, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 124, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;AA4BO,IAAI,MAAM"}}, + {"offset": {"line": 132, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 138, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 146, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 152, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;;AAMA,SAAS;IACP,OAAO,0PAAA,CAAA,IAAG;AACZ"}}, + {"offset": {"line": 168, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 174, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;AAcA,SAAS,OAAO,MAAM;IACpB,0PAAA,CAAA,IAAG,GAAG;AACR"}}, + {"offset": {"line": 188, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 194, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAsBO,MAAM,SAAS;IACpB,SAAS,0PAAA,CAAA,IAAG;IACZ,KAAK,2PAAA,CAAA,IAAM;IACX,KAAK,0PAAA,CAAA,IAAM;AACb"}}, + {"offset": {"line": 218, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 224, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 232, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 238, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAgCO,SAAS;IACd,OAAO,0PAAA,CAAA,IAAG,GAAG,0PAAA,CAAA,IAAG;AAClB"}}, + {"offset": {"line": 257, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 263, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, {"offset": {"line": 271, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 276, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 284, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 289, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 304, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 277, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/lib.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;AA8BO,MAAM,aAAa,0PAAA,CAAA,IAAG"}}, + {"offset": {"line": 289, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 295, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 303, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, {"offset": {"line": 309, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 320, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 324, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/index.js"],"sourcesContent":["const {cat} = require('./lib')\n"],"names":[],"mappings":"AAAA,MAAM,EAAC,GAAG,EAAC"}}, - {"offset": {"line": 325, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 324, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 330, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 341, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 346, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/index.js"],"sourcesContent":["const {cat} = require('./lib')\n"],"names":[],"mappings":"AAAA,MAAM,EAAC,GAAG,EAAC"}}, + {"offset": {"line": 347, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/output/4c35f_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_950e23.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/output/4c35f_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_950e23.js index 78d41adf09427..dfc368614aec3 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/output/4c35f_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_950e23.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/output/4c35f_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_950e23.js @@ -1,8 +1,10 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/4c35f_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_950e23.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "c": [ ()=>dog, @@ -11,22 +13,24 @@ __turbopack_esm__({ }); let dog = "dog"; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) "); "__TURBOPACK__ecmascript__hoisting__location__"; ; ; __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"] += "!"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__6$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) "); @@ -35,11 +39,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"] += "!"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__7$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) "); @@ -48,11 +53,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"] += "!"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__6$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) "); @@ -61,11 +67,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"]); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__7$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) "); @@ -76,11 +83,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"]); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__8$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) "); @@ -93,11 +101,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"]); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__16$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) "); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__15$3e$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) "); @@ -107,11 +116,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; "module evaluation"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "a": [ ()=>cat, @@ -120,11 +130,12 @@ __turbopack_esm__({ }); let cat = "cat"; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "cat": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__["a"] }); @@ -133,11 +144,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "f": [ ()=>getDog, @@ -154,11 +166,12 @@ function getDog() { return __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"]; } ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "d": [ ()=>setDog, @@ -173,11 +186,12 @@ function setDog(newDog) { __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"] = newDog; } ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "g": [ ()=>dogRef, @@ -202,11 +216,12 @@ const dogRef = { set: __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__5$3e$__["d"] }; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "dogRef": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__12$3e$__["g"] }); @@ -215,11 +230,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "e": [ ()=>getChimera, @@ -239,11 +255,12 @@ function getChimera() { return __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__["a"] + __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__4$3e$__["c"]; } ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "getChimera": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__9$3e$__["e"] }); @@ -252,11 +269,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "b": [ ()=>initialCat, @@ -269,11 +287,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; const initialCat = __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__["a"]; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "initialCat": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__2$3e$__["b"] }); @@ -282,11 +301,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript) ": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "cat": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$export__cat$3e$__["cat"], "dogRef": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$export__dogRef$3e$__["dogRef"], @@ -302,11 +322,12 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; ; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "cat": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$exports$3e$__["cat"], "dogRef": ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$tree$2d$shake$2d$test$2d$1$2f$input$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$exports$3e$__["dogRef"], @@ -318,8 +339,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo "__TURBOPACK__ecmascript__hoisting__location__"; ; ; - -})()), +}}), }]); //# sourceMappingURL=4c35f_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_950e23.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/output/4c35f_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_950e23.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/output/4c35f_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_950e23.js.map index d2c57bc6dbc2f..c9fec8650a2ba 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/output/4c35f_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_950e23.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/output/4c35f_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_950e23.js.map @@ -2,44 +2,44 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;AAAA,IAAI,MAAM"}}, - {"offset": {"line": 13, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 18, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;AAEA,6PAAA,CAAA,IAAG,IAAI"}}, - {"offset": {"line": 24, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 29, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAUA,6PAAA,CAAA,IAAG,IAAI"}}, - {"offset": {"line": 37, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 42, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAkBA,6PAAA,CAAA,IAAG,IAAI"}}, - {"offset": {"line": 50, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 55, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAIA,QAAQ,GAAG,CAAC,6PAAA,CAAA,IAAG"}}, - {"offset": {"line": 63, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 68, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;AAYA,QAAQ,GAAG,CAAC,6PAAA,CAAA,IAAG"}}, - {"offset": {"line": 78, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 83, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;AAoBA,QAAQ,GAAG,CAAC,6PAAA,CAAA,IAAG"}}, - {"offset": {"line": 95, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 100, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 109, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 114, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;AA4BO,IAAI,MAAM"}}, - {"offset": {"line": 122, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 127, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 135, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 140, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;;AAMA,SAAS;IACP,OAAO,6PAAA,CAAA,IAAG;AACZ"}}, - {"offset": {"line": 156, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 161, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;AAcA,SAAS,OAAO,MAAM;IACpB,6PAAA,CAAA,IAAG,GAAG;AACR"}}, - {"offset": {"line": 175, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 180, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAsBO,MAAM,SAAS;IACpB,SAAS,6PAAA,CAAA,IAAG;IACZ,KAAK,8PAAA,CAAA,IAAM;IACX,KAAK,6PAAA,CAAA,IAAM;AACb"}}, - {"offset": {"line": 204, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 209, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 217, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 222, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAgCO,SAAS;IACd,OAAO,6PAAA,CAAA,IAAG,GAAG,6PAAA,CAAA,IAAG;AAClB"}}, - {"offset": {"line": 241, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 246, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 254, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 259, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;AA8BO,MAAM,aAAa,6PAAA,CAAA,IAAG"}}, + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;AAAA,IAAI,MAAM"}}, + {"offset": {"line": 15, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 21, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;AAEA,6PAAA,CAAA,IAAG,IAAI"}}, + {"offset": {"line": 27, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 33, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAUA,6PAAA,CAAA,IAAG,IAAI"}}, + {"offset": {"line": 41, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 47, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAkBA,6PAAA,CAAA,IAAG,IAAI"}}, + {"offset": {"line": 55, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 61, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;AAIA,QAAQ,GAAG,CAAC,6PAAA,CAAA,IAAG"}}, + {"offset": {"line": 69, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 75, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;AAYA,QAAQ,GAAG,CAAC,6PAAA,CAAA,IAAG"}}, + {"offset": {"line": 85, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 91, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;AAoBA,QAAQ,GAAG,CAAC,6PAAA,CAAA,IAAG"}}, + {"offset": {"line": 103, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 109, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 118, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 124, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;AA4BO,IAAI,MAAM"}}, + {"offset": {"line": 132, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 138, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 146, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 152, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;;AAMA,SAAS;IACP,OAAO,6PAAA,CAAA,IAAG;AACZ"}}, + {"offset": {"line": 168, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 174, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;AAcA,SAAS,OAAO,MAAM;IACpB,6PAAA,CAAA,IAAG,GAAG;AACR"}}, + {"offset": {"line": 188, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 194, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAsBO,MAAM,SAAS;IACpB,SAAS,6PAAA,CAAA,IAAG;IACZ,KAAK,8PAAA,CAAA,IAAM;IACX,KAAK,6PAAA,CAAA,IAAM;AACb"}}, + {"offset": {"line": 218, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 224, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 232, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 238, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAgCO,SAAS;IACd,OAAO,6PAAA,CAAA,IAAG,GAAG,6PAAA,CAAA,IAAG;AAClB"}}, + {"offset": {"line": 257, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 263, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, {"offset": {"line": 271, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 276, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 284, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 289, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 304, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 277, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js"],"sourcesContent":["let dog = \"dog\";\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction getDog() {\n return dog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nfunction setDog(newDog) {\n dog = newDog;\n}\n\ndog += \"!\";\n\nconsole.log(dog);\n\nexport const dogRef = {\n initial: dog,\n get: getDog,\n set: setDog,\n};\n\nexport let cat = \"cat\";\n\nexport const initialCat = cat;\n\nexport function getChimera() {\n return cat + dog;\n}\n"],"names":[],"mappings":";;;;;;;;;;AA8BO,MAAM,aAAa,6PAAA,CAAA,IAAG"}}, + {"offset": {"line": 289, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 295, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 303, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, {"offset": {"line": 309, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 320, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 324, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 330, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 341, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_import_46e42b.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_import_46e42b.js index 871bd632a9dc5..ac03d8d0f7684 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_import_46e42b.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_import_46e42b.js @@ -1,7 +1,9 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_import_46e42b.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/input/import.js [test] (ecmascript, async loader)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/input/import.js [test] (ecmascript, async loader)": ((__turbopack_context__) => { +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, t: require } = __turbopack_context__; +{ __turbopack_export_value__((__turbopack_import__) => { return Promise.all([ "output/turbopack_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_b274c7._.js" @@ -9,6 +11,5 @@ __turbopack_export_value__((__turbopack_import__) => { return __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/input/import.js [test] (ecmascript)"); }); }); - -})()), +}}), }]); \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_463663._.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_463663._.js index 9afb52ef25e9c..21103dc7b9c6d 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_463663._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_463663._.js @@ -1,13 +1,16 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/turbopack_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_463663._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/input/shared.js [test] (ecmascript)": (function({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require }) { !function() { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/input/shared.js [test] (ecmascript)": (function(__turbopack_context__) { +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require } = __turbopack_context__; +{ // shared package - -}.call(this) }), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2f$async_chunk$2f$input$2f$node_modules$2f$bar$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/input/node_modules/bar/index.js [test] (ecmascript)"); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2f$async_chunk$2f$input$2f$shared$2e$js__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/input/shared.js [test] (ecmascript)"); @@ -18,19 +21,19 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo __turbopack_require__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/input/import.js [test] (ecmascript, async loader)")(__turbopack_import__).then(({ foo })=>{ foo(true); }); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/input/node_modules/bar/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/input/node_modules/bar/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "bar": ()=>bar }); function bar(value) { console.assert(value); } - -})()), +}}), }]); //# sourceMappingURL=turbopack_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_463663._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_463663._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_463663._.js.map index d2384dd5586c8..7b2f9bd624ca1 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_463663._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_463663._.js.map @@ -2,10 +2,10 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/input/shared.js"],"sourcesContent":["// shared package\n"],"names":[],"mappings":"AAAA,iBAAiB"}}, - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 10, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/input/index.js"],"sourcesContent":["import { bar } from \"bar\";\nimport \"./shared\";\n\nbar(true);\n\nimport(\"./import\").then(({ foo }) => {\n foo(true);\n});\n"],"names":[],"mappings":";;;;;;AAGA,CAAA,GAAA,yNAAA,CAAA,MAAG,AAAD,EAAE;AAEJ,6KAAmB,IAAI,CAAC,CAAC,EAAE,GAAG,EAAE;IAC9B,IAAI;AACN"}}, - {"offset": {"line": 20, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 25, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/input/node_modules/bar/index.js"],"sourcesContent":["export function bar(value) {\n console.assert(value);\n}\n"],"names":[],"mappings":";;;AAAO,SAAS,IAAI,KAAK;IACvB,QAAQ,MAAM,CAAC;AACjB"}}, - {"offset": {"line": 31, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 6, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/input/shared.js"],"sourcesContent":["// shared package\n"],"names":[],"mappings":"AAAA,iBAAiB"}}, + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 13, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/input/index.js"],"sourcesContent":["import { bar } from \"bar\";\nimport \"./shared\";\n\nbar(true);\n\nimport(\"./import\").then(({ foo }) => {\n foo(true);\n});\n"],"names":[],"mappings":";;;;;;AAGA,CAAA,GAAA,yNAAA,CAAA,MAAG,AAAD,EAAE;AAEJ,6KAAmB,IAAI,CAAC,CAAC,EAAE,GAAG,EAAE;IAC9B,IAAI;AACN"}}, + {"offset": {"line": 23, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 29, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/input/node_modules/bar/index.js"],"sourcesContent":["export function bar(value) {\n console.assert(value);\n}\n"],"names":[],"mappings":";;;AAAO,SAAS,IAAI,KAAK;IACvB,QAAQ,MAAM,CAAC;AACjB"}}, + {"offset": {"line": 35, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_b274c7._.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_b274c7._.js index f4e1c9f79b010..0849f6e839c25 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_b274c7._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_b274c7._.js @@ -1,8 +1,10 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/turbopack_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_b274c7._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/input/import.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/input/import.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2f$async_chunk$2f$input$2f$node_modules$2f$foo$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/input/node_modules/foo/index.js [test] (ecmascript)"); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2f$async_chunk$2f$input$2f$node_modules$2f$bar$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/input/node_modules/bar/index.js [test] (ecmascript)"); @@ -13,19 +15,19 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; (0, __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2f$async_chunk$2f$input$2f$node_modules$2f$foo$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__["foo"])(true); (0, __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2f$async_chunk$2f$input$2f$node_modules$2f$bar$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__["bar"])(true); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/input/node_modules/foo/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/input/node_modules/foo/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "foo": ()=>foo }); function foo(value) { console.assert(value); } - -})()), +}}), }]); //# sourceMappingURL=turbopack_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_b274c7._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_b274c7._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_b274c7._.js.map index 45b04ca75392b..18c27808c8812 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_b274c7._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_b274c7._.js.map @@ -2,8 +2,8 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/input/import.js"],"sourcesContent":["import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport \"./shared\";\n\nfoo(true);\nbar(true);\n"],"names":[],"mappings":";;;;;;;;AAIA,CAAA,GAAA,yNAAA,CAAA,MAAG,AAAD,EAAE;AACJ,CAAA,GAAA,yNAAA,CAAA,MAAG,AAAD,EAAE"}}, - {"offset": {"line": 15, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 20, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/input/node_modules/foo/index.js"],"sourcesContent":["export function foo(value) {\n console.assert(value);\n}\n"],"names":[],"mappings":";;;AAAO,SAAS,IAAI,KAAK;IACvB,QAAQ,MAAM,CAAC;AACjB"}}, - {"offset": {"line": 26, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/input/import.js"],"sourcesContent":["import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport \"./shared\";\n\nfoo(true);\nbar(true);\n"],"names":[],"mappings":";;;;;;;;AAIA,CAAA,GAAA,yNAAA,CAAA,MAAG,AAAD,EAAE;AACJ,CAAA,GAAA,yNAAA,CAAA,MAAG,AAAD,EAAE"}}, + {"offset": {"line": 17, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 23, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/input/node_modules/foo/index.js"],"sourcesContent":["export function foo(value) {\n console.assert(value);\n}\n"],"names":[],"mappings":";;;AAAO,SAAS,IAAI,KAAK;IACvB,QAAQ,MAAM,CAAC;AACjB"}}, + {"offset": {"line": 29, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/output/4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_build_input_1e4137._.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/output/4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_build_input_1e4137._.js index 1f6ebfa611c6a..f83e9c67768ec 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/output/4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_build_input_1e4137._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/output/4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_build_input_1e4137._.js @@ -1,13 +1,16 @@ module.exports = { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/input/shared.js [test] (ecmascript)": (function({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require }) { !function() { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/input/shared.js [test] (ecmascript)": (function(__turbopack_context__) { +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require } = __turbopack_context__; +{ // shared package - -}.call(this) }), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2f$async_chunk_build$2f$input$2f$node_modules$2f$bar$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/input/node_modules/bar/index.js [test] (ecmascript)"); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2f$async_chunk_build$2f$input$2f$shared$2e$js__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/input/shared.js [test] (ecmascript)"); @@ -18,19 +21,19 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo __turbopack_require__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/input/import.js [test] (ecmascript, async loader)")(__turbopack_import__).then(({ foo })=>{ foo(true); }); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/input/node_modules/bar/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/input/node_modules/bar/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "bar": ()=>bar }); function bar(value) { console.assert(value); } - -})()), +}}), }; diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/output/4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_build_input_1e4137._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/output/4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_build_input_1e4137._.js.map index f6e439d078c94..46270e319987b 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/output/4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_build_input_1e4137._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/output/4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_build_input_1e4137._.js.map @@ -2,10 +2,10 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/input/shared.js"],"sourcesContent":["// shared package\n"],"names":[],"mappings":"AAAA,iBAAiB"}}, - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 10, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/input/index.js"],"sourcesContent":["import { bar } from \"bar\";\nimport \"./shared\";\n\nbar(true);\n\nimport(\"./import\").then(({ foo }) => {\n foo(true);\n});\n"],"names":[],"mappings":";;;;;;AAGA,CAAA,GAAA,+NAAA,CAAA,MAAG,AAAD,EAAE;AAEJ,mLAAmB,IAAI,CAAC,CAAC,EAAE,GAAG,EAAE;IAC9B,IAAI;AACN"}}, - {"offset": {"line": 20, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 25, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/input/node_modules/bar/index.js"],"sourcesContent":["export function bar(value) {\n console.assert(value);\n}\n"],"names":[],"mappings":";;;AAAO,SAAS,IAAI,KAAK;IACvB,QAAQ,MAAM,CAAC;AACjB"}}, - {"offset": {"line": 31, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 6, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/input/shared.js"],"sourcesContent":["// shared package\n"],"names":[],"mappings":"AAAA,iBAAiB"}}, + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 13, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/input/index.js"],"sourcesContent":["import { bar } from \"bar\";\nimport \"./shared\";\n\nbar(true);\n\nimport(\"./import\").then(({ foo }) => {\n foo(true);\n});\n"],"names":[],"mappings":";;;;;;AAGA,CAAA,GAAA,+NAAA,CAAA,MAAG,AAAD,EAAE;AAEJ,mLAAmB,IAAI,CAAC,CAAC,EAAE,GAAG,EAAE;IAC9B,IAAI;AACN"}}, + {"offset": {"line": 23, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 29, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/input/node_modules/bar/index.js"],"sourcesContent":["export function bar(value) {\n console.assert(value);\n}\n"],"names":[],"mappings":";;;AAAO,SAAS,IAAI,KAAK;IACvB,QAAQ,MAAM,CAAC;AACjB"}}, + {"offset": {"line": 35, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/output/4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_build_input_23e8ba._.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/output/4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_build_input_23e8ba._.js index a6ba362c29cfa..41300ded90ccd 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/output/4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_build_input_23e8ba._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/output/4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_build_input_23e8ba._.js @@ -1,8 +1,10 @@ module.exports = { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/input/import.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/input/import.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2f$async_chunk_build$2f$input$2f$node_modules$2f$foo$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/input/node_modules/foo/index.js [test] (ecmascript)"); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2f$async_chunk_build$2f$input$2f$node_modules$2f$bar$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/input/node_modules/bar/index.js [test] (ecmascript)"); @@ -13,19 +15,19 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; (0, __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2f$async_chunk_build$2f$input$2f$node_modules$2f$foo$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__["foo"])(true); (0, __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2f$async_chunk_build$2f$input$2f$node_modules$2f$bar$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__["bar"])(true); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/input/node_modules/foo/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/input/node_modules/foo/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "foo": ()=>foo }); function foo(value) { console.assert(value); } - -})()), +}}), }; diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/output/4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_build_input_23e8ba._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/output/4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_build_input_23e8ba._.js.map index 7cec78b9a7d34..99eec93770288 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/output/4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_build_input_23e8ba._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/output/4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_build_input_23e8ba._.js.map @@ -2,8 +2,8 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/input/import.js"],"sourcesContent":["import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport \"./shared\";\n\nfoo(true);\nbar(true);\n"],"names":[],"mappings":";;;;;;;;AAIA,CAAA,GAAA,+NAAA,CAAA,MAAG,AAAD,EAAE;AACJ,CAAA,GAAA,+NAAA,CAAA,MAAG,AAAD,EAAE"}}, - {"offset": {"line": 15, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 20, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/input/node_modules/foo/index.js"],"sourcesContent":["export function foo(value) {\n console.assert(value);\n}\n"],"names":[],"mappings":";;;AAAO,SAAS,IAAI,KAAK;IACvB,QAAQ,MAAM,CAAC;AACjB"}}, - {"offset": {"line": 26, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/input/import.js"],"sourcesContent":["import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport \"./shared\";\n\nfoo(true);\nbar(true);\n"],"names":[],"mappings":";;;;;;;;AAIA,CAAA,GAAA,+NAAA,CAAA,MAAG,AAAD,EAAE;AACJ,CAAA,GAAA,+NAAA,CAAA,MAAG,AAAD,EAAE"}}, + {"offset": {"line": 17, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 23, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/input/node_modules/foo/index.js"],"sourcesContent":["export function foo(value) {\n console.assert(value);\n}\n"],"names":[],"mappings":";;;AAAO,SAAS,IAAI,KAAK;IACvB,QAAQ,MAAM,CAAC;AACjB"}}, + {"offset": {"line": 29, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/output/b1abf_turbopack-tests_tests_snapshot_basic_async_chunk_build_input_import_6f110a.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/output/b1abf_turbopack-tests_tests_snapshot_basic_async_chunk_build_input_import_6f110a.js index eb2ea152fcfb5..6e8709d725dff 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/output/b1abf_turbopack-tests_tests_snapshot_basic_async_chunk_build_input_import_6f110a.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/output/b1abf_turbopack-tests_tests_snapshot_basic_async_chunk_build_input_import_6f110a.js @@ -1,7 +1,9 @@ module.exports = { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/input/import.js [test] (ecmascript, async loader)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/input/import.js [test] (ecmascript, async loader)": ((__turbopack_context__) => { +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, t: require } = __turbopack_context__; +{ __turbopack_export_value__((__turbopack_import__) => { return Promise.all([ "output/4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_build_input_23e8ba._.js" @@ -9,7 +11,6 @@ __turbopack_export_value__((__turbopack_import__) => { return __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/input/import.js [test] (ecmascript)"); }); }); - -})()), +}}), }; \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic/chunked/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_chunked_input_1efdac._.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic/chunked/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_chunked_input_1efdac._.js index 7252648bd5035..4eda0ffa656cb 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic/chunked/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_chunked_input_1efdac._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic/chunked/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_chunked_input_1efdac._.js @@ -1,26 +1,28 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/turbopack_crates_turbopack-tests_tests_snapshot_basic_chunked_input_1efdac._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/chunked/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/chunked/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2f$chunked$2f$input$2f$node_modules$2f$foo$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/chunked/input/node_modules/foo/index.js [test] (ecmascript)"); "__TURBOPACK__ecmascript__hoisting__location__"; ; (0, __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2f$chunked$2f$input$2f$node_modules$2f$foo$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__["foo"])(true); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/chunked/input/node_modules/foo/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/chunked/input/node_modules/foo/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "foo": ()=>foo }); function foo(value) { console.assert(value); } - -})()), +}}), }]); //# sourceMappingURL=turbopack_crates_turbopack-tests_tests_snapshot_basic_chunked_input_1efdac._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic/chunked/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_chunked_input_1efdac._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/basic/chunked/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_chunked_input_1efdac._.js.map index 4988bf587c779..15dbd0f2eaa4a 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic/chunked/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_chunked_input_1efdac._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic/chunked/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_chunked_input_1efdac._.js.map @@ -2,8 +2,8 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/chunked/input/index.js"],"sourcesContent":["import { foo } from \"foo\";\n\nfoo(true);\n"],"names":[],"mappings":";;;;AAEA,CAAA,GAAA,qNAAA,CAAA,MAAG,AAAD,EAAE"}}, - {"offset": {"line": 10, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 15, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/chunked/input/node_modules/foo/index.js"],"sourcesContent":["export function foo(value) {\n console.assert(value);\n}\n"],"names":[],"mappings":";;;AAAO,SAAS,IAAI,KAAK;IACvB,QAAQ,MAAM,CAAC;AACjB"}}, - {"offset": {"line": 21, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/chunked/input/index.js"],"sourcesContent":["import { foo } from \"foo\";\n\nfoo(true);\n"],"names":[],"mappings":";;;;AAEA,CAAA,GAAA,qNAAA,CAAA,MAAG,AAAD,EAAE"}}, + {"offset": {"line": 12, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 18, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/chunked/input/node_modules/foo/index.js"],"sourcesContent":["export function foo(value) {\n console.assert(value);\n}\n"],"names":[],"mappings":";;;AAAO,SAAS,IAAI,KAAK;IACvB,QAAQ,MAAM,CAAC;AACjB"}}, + {"offset": {"line": 24, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic/ecmascript_minify/output/b1abf_turbopack-tests_tests_snapshot_basic_ecmascript_minify_input_index_6869f8.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic/ecmascript_minify/output/b1abf_turbopack-tests_tests_snapshot_basic_ecmascript_minify_input_index_6869f8.js index 2d329cefbd855..970f2b5ce5ca6 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic/ecmascript_minify/output/b1abf_turbopack-tests_tests_snapshot_basic_ecmascript_minify_input_index_6869f8.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic/ecmascript_minify/output/b1abf_turbopack-tests_tests_snapshot_basic_ecmascript_minify_input_index_6869f8.js @@ -1,3 +1,3 @@ -module.exports={"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/ecmascript_minify/input/index.js [test] (ecmascript)":function({r:t,f:o,i:s,s:e,v:c,n:l,c:i,M:n,l:r,j:a,P:p,U:u,R:m,b:b,g:f,__dirname:d,m:g,e:j,t:h}){(function(){let t="Hello";console.log("Hello, world!",3,t),console.log(t)}).call(this)}}; +module.exports={"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/ecmascript_minify/input/index.js [test] (ecmascript)":function(t){var{r:e,f:o,i:s,s:c,v:l,n:r,c:i,M:n,l:a,j:p,P:m,U:u,R:b,b:d,g:f,__dirname:g,m:j,e:k,t:v}=t;{let t="Hello";console.log("Hello, world!",3,t),console.log(t)}}}; //# sourceMappingURL=b1abf_turbopack-tests_tests_snapshot_basic_ecmascript_minify_input_index_6869f8.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic/ecmascript_minify/output/b1abf_turbopack-tests_tests_snapshot_basic_ecmascript_minify_input_index_6869f8.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/basic/ecmascript_minify/output/b1abf_turbopack-tests_tests_snapshot_basic_ecmascript_minify_input_index_6869f8.js.map index 229aaee99c8d9..aeadaefed4a49 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic/ecmascript_minify/output/b1abf_turbopack-tests_tests_snapshot_basic_ecmascript_minify_input_index_6869f8.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic/ecmascript_minify/output/b1abf_turbopack-tests_tests_snapshot_basic_ecmascript_minify_input_index_6869f8.js.map @@ -2,6 +2,6 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 0, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/ecmascript_minify/input/index.js"],"sourcesContent":["const inlined = 3;\nconst message = getMessage();\n\nconsole.log(\"Hello,\" + \" world!\", inlined, message);\nconsole.log(message);\n\nfunction getMessage() {\n return \"Hello\";\n}\n"],"names":[],"mappings":"mPACA,IAAM,EAMG,QANO,AAEhB,QAAQ,GAAG,CAAC,WAAW,KAHP,EAG2B,GAC3C,CADkC,OAC1B,GAAG,CAAC"}}, - {"offset": {"line": 0, "column": 320}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 0, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/ecmascript_minify/input/index.js"],"sourcesContent":["const inlined = 3;\nconst message = getMessage();\n\nconsole.log(\"Hello,\" + \" world!\", inlined, message);\nconsole.log(message);\n\nfunction getMessage() {\n return \"Hello\";\n}\n"],"names":[],"mappings":"+OACA,IAAM,EAMG,QANO,AAEhB,QAAQ,GAAG,CAAC,WAAW,KAHP,EAG2B,GAC3C,CADkC,OAC1B,GAAG,CAAC,E,C"}}, + {"offset": {"line": 0, "column": 304}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic/shebang/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_shebang_input_d5e8dc._.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic/shebang/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_shebang_input_d5e8dc._.js index 028b1b684fef9..c29dd05a7adad 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic/shebang/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_shebang_input_d5e8dc._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic/shebang/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_shebang_input_d5e8dc._.js @@ -1,26 +1,28 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/turbopack_crates_turbopack-tests_tests_snapshot_basic_shebang_input_d5e8dc._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/shebang/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/shebang/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2f$shebang$2f$input$2f$node_modules$2f$foo$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/shebang/input/node_modules/foo/index.js [test] (ecmascript)"); "__TURBOPACK__ecmascript__hoisting__location__"; ; (0, __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2f$shebang$2f$input$2f$node_modules$2f$foo$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__["foo"])(true); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/shebang/input/node_modules/foo/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/shebang/input/node_modules/foo/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "foo": ()=>foo }); function foo(value) { console.assert(value); } - -})()), +}}), }]); //# sourceMappingURL=turbopack_crates_turbopack-tests_tests_snapshot_basic_shebang_input_d5e8dc._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic/shebang/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_shebang_input_d5e8dc._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/basic/shebang/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_shebang_input_d5e8dc._.js.map index a50dc63a12c50..e1ec3f9171637 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic/shebang/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_shebang_input_d5e8dc._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic/shebang/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_shebang_input_d5e8dc._.js.map @@ -2,8 +2,8 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/shebang/input/index.js"],"sourcesContent":["#!/usr/bin/env node\n\nimport { foo } from \"foo\";\n\nfoo(true);\n"],"names":[],"mappings":";;;;AAIA,CAAA,GAAA,qNAAA,CAAA,MAAG,AAAD,EAAE"}}, - {"offset": {"line": 10, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 15, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/shebang/input/node_modules/foo/index.js"],"sourcesContent":["#!/usr/bin/env node\n\nexport function foo(value) {\n console.assert(value);\n}\n"],"names":[],"mappings":";;;AAEO,SAAS,IAAI,KAAK;IACvB,QAAQ,MAAM,CAAC;AACjB"}}, - {"offset": {"line": 21, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/shebang/input/index.js"],"sourcesContent":["#!/usr/bin/env node\n\nimport { foo } from \"foo\";\n\nfoo(true);\n"],"names":[],"mappings":";;;;AAIA,CAAA,GAAA,qNAAA,CAAA,MAAG,AAAD,EAAE"}}, + {"offset": {"line": 12, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 18, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/shebang/input/node_modules/foo/index.js"],"sourcesContent":["#!/usr/bin/env node\n\nexport function foo(value) {\n console.assert(value);\n}\n"],"names":[],"mappings":";;;AAEO,SAAS,IAAI,KAAK;IACvB,QAAQ,MAAM,CAAC;AACjB"}}, + {"offset": {"line": 24, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/output/4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_9acd43._.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/output/4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_9acd43._.js index 56020891054df..68eb6654d7911 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/output/4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_9acd43._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/output/4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_9acd43._.js @@ -1,8 +1,10 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_9acd43._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/input/Actions.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/input/Actions.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ // import() doesn't care about whether a module is an async module or not __turbopack_esm__({ "AlternativeCreateUserAction": ()=>AlternativeCreateUserAction, @@ -20,11 +22,12 @@ const AlternativeCreateUserAction = async (name)=>{ await createUser(name); }; // Note: Using await import() at top-level doesn't make much sense // except in rare cases. It will import modules sequentially. - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2f$top$2d$level$2d$await$2f$input$2f$Actions$2e$js__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/input/Actions.js [test] (ecmascript)"); "__TURBOPACK__ecmascript__hoisting__location__"; @@ -33,8 +36,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo await (0, __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2f$top$2d$level$2d$await$2f$input$2f$Actions$2e$js__$5b$test$5d$__$28$ecmascript$29$__["CreateUserAction"])("John"); console.log("created user John"); })(); - -})()), +}}), }]); //# sourceMappingURL=4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_9acd43._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/output/4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_9acd43._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/output/4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_9acd43._.js.map index 2d0c0bf6ee653..0851e35f2b605 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/output/4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_9acd43._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/output/4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_9acd43._.js.map @@ -2,8 +2,8 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/input/Actions.js"],"sourcesContent":["// import() doesn't care about whether a module is an async module or not\nconst UserApi = import(\"./UserAPI.js\");\n\nexport const CreateUserAction = async (name) => {\n console.log(\"Creating user\", name);\n // These are normal awaits, because they are in an async function\n const { createUser } = await UserApi;\n await createUser(name);\n};\n\n// You can place import() where you like\n// Placing it at top-level will start loading and evaluating on\n// module evaluation.\n// see CreateUserAction above\n// Here: Connecting to the DB starts when the application starts\n// Placing it inside of an (async) function will start loading\n// and evaluating when the function is called for the first time\n// which basically makes it lazy-loaded.\n// see AlternativeCreateUserAction below\n// Here: Connecting to the DB starts when AlternativeCreateUserAction\n// is called\nexport const AlternativeCreateUserAction = async (name) => {\n const { createUser } = await import(\"./UserAPI.js\");\n await createUser(name);\n};\n\n// Note: Using await import() at top-level doesn't make much sense\n// except in rare cases. It will import modules sequentially.\n"],"names":[],"mappings":"AAAA,yEAAyE;;;;;AACzE,MAAM;AAEC,MAAM,mBAAmB,OAAO;IACrC,QAAQ,GAAG,CAAC,iBAAiB;IAC7B,iEAAiE;IACjE,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM;IAC7B,MAAM,WAAW;AACnB;AAaO,MAAM,8BAA8B,OAAO;IAChD,MAAM,EAAE,UAAU,EAAE,GAAG;IACvB,MAAM,WAAW;AACnB,GAEA,kEAAkE;CAClE,mEAAmE"}}, - {"offset": {"line": 22, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 27, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/input/index.js"],"sourcesContent":["import { CreateUserAction } from \"./Actions.js\";\n\n(async () => {\n await CreateUserAction(\"John\");\n console.log(\"created user John\");\n})();\n"],"names":[],"mappings":";;;;AAEA,CAAC;IACC,MAAM,CAAA,GAAA,8MAAA,CAAA,mBAAgB,AAAD,EAAE;IACvB,QAAQ,GAAG,CAAC;AACd,CAAC"}}, - {"offset": {"line": 35, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/input/Actions.js"],"sourcesContent":["// import() doesn't care about whether a module is an async module or not\nconst UserApi = import(\"./UserAPI.js\");\n\nexport const CreateUserAction = async (name) => {\n console.log(\"Creating user\", name);\n // These are normal awaits, because they are in an async function\n const { createUser } = await UserApi;\n await createUser(name);\n};\n\n// You can place import() where you like\n// Placing it at top-level will start loading and evaluating on\n// module evaluation.\n// see CreateUserAction above\n// Here: Connecting to the DB starts when the application starts\n// Placing it inside of an (async) function will start loading\n// and evaluating when the function is called for the first time\n// which basically makes it lazy-loaded.\n// see AlternativeCreateUserAction below\n// Here: Connecting to the DB starts when AlternativeCreateUserAction\n// is called\nexport const AlternativeCreateUserAction = async (name) => {\n const { createUser } = await import(\"./UserAPI.js\");\n await createUser(name);\n};\n\n// Note: Using await import() at top-level doesn't make much sense\n// except in rare cases. It will import modules sequentially.\n"],"names":[],"mappings":"AAAA,yEAAyE;;;;;AACzE,MAAM;AAEC,MAAM,mBAAmB,OAAO;IACrC,QAAQ,GAAG,CAAC,iBAAiB;IAC7B,iEAAiE;IACjE,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM;IAC7B,MAAM,WAAW;AACnB;AAaO,MAAM,8BAA8B,OAAO;IAChD,MAAM,EAAE,UAAU,EAAE,GAAG;IACvB,MAAM,WAAW;AACnB,GAEA,kEAAkE;CAClE,mEAAmE"}}, + {"offset": {"line": 24, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 30, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/input/index.js"],"sourcesContent":["import { CreateUserAction } from \"./Actions.js\";\n\n(async () => {\n await CreateUserAction(\"John\");\n console.log(\"created user John\");\n})();\n"],"names":[],"mappings":";;;;AAEA,CAAC;IACC,MAAM,CAAA,GAAA,8MAAA,CAAA,mBAAgB,AAAD,EAAE;IACvB,QAAQ,GAAG,CAAC;AACd,CAAC"}}, + {"offset": {"line": 38, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/output/4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_aa0a0c._.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/output/4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_aa0a0c._.js index b23ce400bb7e9..c2aec605eedf0 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/output/4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_aa0a0c._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/output/4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_aa0a0c._.js @@ -1,8 +1,9 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_aa0a0c._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/input/db-connection.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, a: __turbopack_async_module__ }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/input/db-connection.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, a: __turbopack_async_module__, z: require } = __turbopack_context__; __turbopack_async_module__(async (__turbopack_handle_async_dependencies__, __turbopack_async_result__) => { try { __turbopack_esm__({ "close": ()=>close, @@ -24,11 +25,11 @@ const close = ()=>{ console.log("closes the DB connection"); }; __turbopack_async_result__(); -} catch(e) { __turbopack_async_result__(e); } }, true); -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/input/UserAPI.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, a: __turbopack_async_module__ }) => (() => { +} catch(e) { __turbopack_async_result__(e); } }, true);}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/input/UserAPI.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, a: __turbopack_async_module__, z: require } = __turbopack_context__; __turbopack_async_module__(async (__turbopack_handle_async_dependencies__, __turbopack_async_result__) => { try { __turbopack_esm__({ "createUser": ()=>createUser @@ -48,8 +49,7 @@ const createUser = async (name)=>{ }); }; __turbopack_async_result__(); -} catch(e) { __turbopack_async_result__(e); } }, false); -})()), +} catch(e) { __turbopack_async_result__(e); } }, false);}), }]); //# sourceMappingURL=4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_aa0a0c._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/output/4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_aa0a0c._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/output/4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_aa0a0c._.js.map index 405263649ecce..c7efd0b6a2dad 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/output/4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_aa0a0c._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/output/4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_aa0a0c._.js.map @@ -2,8 +2,8 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 6, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/input/db-connection.js"],"sourcesContent":["const connectToDB = async (url) => {\n console.log(\"connecting to db\", url);\n await new Promise((r) => setTimeout(r, 1000));\n};\n\n// This is a top-level-await\nawait connectToDB(\"my-sql://example.com\");\n\nexport const dbCall = async (data) => {\n console.log(\"dbCall\", data);\n // This is a normal await, because it's in an async function\n await new Promise((r) => setTimeout(r, 100));\n return \"fake data\";\n};\n\nexport const close = () => {\n console.log(\"closes the DB connection\");\n};\n"],"names":[],"mappings":";;;;AAAA,MAAM,cAAc,OAAO;IACzB,QAAQ,GAAG,CAAC,oBAAoB;IAChC,MAAM,IAAI,QAAQ,CAAC,IAAM,WAAW,GAAG;AACzC;AAEA,4BAA4B;AAC5B,MAAM,YAAY;AAEX,MAAM,SAAS,OAAO;IAC3B,QAAQ,GAAG,CAAC,UAAU;IACtB,4DAA4D;IAC5D,MAAM,IAAI,QAAQ,CAAC,IAAM,WAAW,GAAG;IACvC,OAAO;AACT;AAEO,MAAM,QAAQ;IACnB,QAAQ,GAAG,CAAC;AACd"}}, - {"offset": {"line": 25, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 32, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/input/UserAPI.js"],"sourcesContent":["import { dbCall } from \"./db-connection.js\";\n\nexport const createUser = async (name) => {\n const command = `CREATE USER ${name}`;\n // This is a normal await, because it's in an async function\n await dbCall({ command });\n};\n"],"names":[],"mappings":";;;;;;;;;;AAEO,MAAM,aAAa,OAAO;IAC/B,MAAM,UAAU,CAAC,YAAY,EAAE,KAAK,CAAC;IACrC,4DAA4D;IAC5D,MAAM,CAAA,GAAA,uNAAA,CAAA,SAAM,AAAD,EAAE;QAAE;IAAQ;AACzB"}}, - {"offset": {"line": 49, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/input/db-connection.js"],"sourcesContent":["const connectToDB = async (url) => {\n console.log(\"connecting to db\", url);\n await new Promise((r) => setTimeout(r, 1000));\n};\n\n// This is a top-level-await\nawait connectToDB(\"my-sql://example.com\");\n\nexport const dbCall = async (data) => {\n console.log(\"dbCall\", data);\n // This is a normal await, because it's in an async function\n await new Promise((r) => setTimeout(r, 100));\n return \"fake data\";\n};\n\nexport const close = () => {\n console.log(\"closes the DB connection\");\n};\n"],"names":[],"mappings":";;;;AAAA,MAAM,cAAc,OAAO;IACzB,QAAQ,GAAG,CAAC,oBAAoB;IAChC,MAAM,IAAI,QAAQ,CAAC,IAAM,WAAW,GAAG;AACzC;AAEA,4BAA4B;AAC5B,MAAM,YAAY;AAEX,MAAM,SAAS,OAAO;IAC3B,QAAQ,GAAG,CAAC,UAAU;IACtB,4DAA4D;IAC5D,MAAM,IAAI,QAAQ,CAAC,IAAM,WAAW,GAAG;IACvC,OAAO;AACT;AAEO,MAAM,QAAQ;IACnB,QAAQ,GAAG,CAAC;AACd"}}, + {"offset": {"line": 26, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 33, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/input/UserAPI.js"],"sourcesContent":["import { dbCall } from \"./db-connection.js\";\n\nexport const createUser = async (name) => {\n const command = `CREATE USER ${name}`;\n // This is a normal await, because it's in an async function\n await dbCall({ command });\n};\n"],"names":[],"mappings":";;;;;;;;;;AAEO,MAAM,aAAa,OAAO;IAC/B,MAAM,UAAU,CAAC,YAAY,EAAE,KAAK,CAAC;IACrC,4DAA4D;IAC5D,MAAM,CAAA,GAAA,uNAAA,CAAA,SAAM,AAAD,EAAE;QAAE;IAAQ;AACzB"}}, + {"offset": {"line": 50, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/output/b1abf_turbopack-tests_tests_snapshot_basic_top-level-await_input_UserAPI_ba56f9.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/output/b1abf_turbopack-tests_tests_snapshot_basic_top-level-await_input_UserAPI_ba56f9.js index c7c5cab9dc0b0..8921298a347bd 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/output/b1abf_turbopack-tests_tests_snapshot_basic_top-level-await_input_UserAPI_ba56f9.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/output/b1abf_turbopack-tests_tests_snapshot_basic_top-level-await_input_UserAPI_ba56f9.js @@ -1,7 +1,9 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/b1abf_turbopack-tests_tests_snapshot_basic_top-level-await_input_UserAPI_ba56f9.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/input/UserAPI.js [test] (ecmascript, async loader)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/input/UserAPI.js [test] (ecmascript, async loader)": ((__turbopack_context__) => { +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, t: require } = __turbopack_context__; +{ __turbopack_export_value__((__turbopack_import__) => { return Promise.all([ "output/4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_aa0a0c._.js" @@ -9,6 +11,5 @@ __turbopack_export_value__((__turbopack_import__) => { return __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/input/UserAPI.js [test] (ecmascript)"); }); }); - -})()), +}}), }]); \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/comptime/define/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_define_input_index_4d74c0.js b/turbopack/crates/turbopack-tests/tests/snapshot/comptime/define/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_define_input_index_4d74c0.js index e4ef29715d14e..36c347a32c113 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/comptime/define/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_define_input_index_4d74c0.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/comptime/define/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_define_input_index_4d74c0.js @@ -1,7 +1,9 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/4e721_crates_turbopack-tests_tests_snapshot_comptime_define_input_index_4d74c0.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/define/input/index.js [test] (ecmascript)": (function({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require }) { !function() { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/define/input/index.js [test] (ecmascript)": (function(__turbopack_context__) { +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require } = __turbopack_context__; +{ if ("TURBOPACK compile-time truthy", 1) { console.log('DEFINED_VALUE'); } @@ -28,8 +30,7 @@ if ("TURBOPACK compile-time falsy", 0) { // TODO short-circuit is not implemented yet ("TURBOPACK compile-time value", "development") != 'production' && console.log('development'); ("TURBOPACK compile-time value", "development") == 'production' && console.log('production'); - -}.call(this) }), +}}), }]); //# sourceMappingURL=4e721_crates_turbopack-tests_tests_snapshot_comptime_define_input_index_4d74c0.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/comptime/define/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_define_input_index_4d74c0.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/comptime/define/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_define_input_index_4d74c0.js.map index 0632db1c55590..a2c0ab2dde71f 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/comptime/define/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_define_input_index_4d74c0.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/comptime/define/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_define_input_index_4d74c0.js.map @@ -2,6 +2,6 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/define/input/index.js"],"sourcesContent":["if (DEFINED_VALUE) {\n console.log('DEFINED_VALUE');\n}\n\nif (DEFINED_TRUE) {\n console.log('DEFINED_VALUE');\n}\n\nif (A.VERY.LONG.DEFINED.VALUE) {\n console.log('A.VERY.LONG.DEFINED.VALUE');\n}\n\nif (process.env.NODE_ENV) {\n console.log('something');\n}\n\nif (process.env.NODE_ENV === 'production') {\n console.log('production');\n}\n\nvar p = process;\n\nconsole.log(A.VERY.LONG.DEFINED.VALUE);\nconsole.log(DEFINED_VALUE);\nconsole.log(p.env.NODE_ENV);\n\nif (p.env.NODE_ENV === 'production') {\n console.log('production');\n}\n\np.env.NODE_ENV == 'production' ? console.log('production') : console.log('development');\n\n// TODO short-circuit is not implemented yet\np.env.NODE_ENV != 'production' && console.log('development');\np.env.NODE_ENV == 'production' && console.log('production');\n"],"names":[],"mappings":"AAAA,wCAAmB;IACjB,QAAQ,GAAG,CAAC;AACd;AAEA,wCAAkB;IAChB,QAAQ,GAAG,CAAC;AACd;AAEA,iEAA+B;IAC7B,QAAQ,GAAG,CAAC;AACd;AAEA,wCAA0B;IACxB,QAAQ,GAAG,CAAC;AACd;AAEA,uCAA2C;;AAE3C;AAEA,IAAI,IAAI;AAER,QAAQ,GAAG;AACX,QAAQ,GAAG;AACX,QAAQ,GAAG;AAEX,uCAAqC;;AAErC;AAEA,6EAA6D,QAAQ,GAAG,CAAC;AAEzE,4CAA4C;AAC5C,mDAAkB,gBAAgB,QAAQ,GAAG,CAAC;AAC9C,mDAAkB,gBAAgB,QAAQ,GAAG,CAAC"}}, - {"offset": {"line": 30, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 6, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/define/input/index.js"],"sourcesContent":["if (DEFINED_VALUE) {\n console.log('DEFINED_VALUE');\n}\n\nif (DEFINED_TRUE) {\n console.log('DEFINED_VALUE');\n}\n\nif (A.VERY.LONG.DEFINED.VALUE) {\n console.log('A.VERY.LONG.DEFINED.VALUE');\n}\n\nif (process.env.NODE_ENV) {\n console.log('something');\n}\n\nif (process.env.NODE_ENV === 'production') {\n console.log('production');\n}\n\nvar p = process;\n\nconsole.log(A.VERY.LONG.DEFINED.VALUE);\nconsole.log(DEFINED_VALUE);\nconsole.log(p.env.NODE_ENV);\n\nif (p.env.NODE_ENV === 'production') {\n console.log('production');\n}\n\np.env.NODE_ENV == 'production' ? console.log('production') : console.log('development');\n\n// TODO short-circuit is not implemented yet\np.env.NODE_ENV != 'production' && console.log('development');\np.env.NODE_ENV == 'production' && console.log('production');\n"],"names":[],"mappings":"AAAA,wCAAmB;IACjB,QAAQ,GAAG,CAAC;AACd;AAEA,wCAAkB;IAChB,QAAQ,GAAG,CAAC;AACd;AAEA,iEAA+B;IAC7B,QAAQ,GAAG,CAAC;AACd;AAEA,wCAA0B;IACxB,QAAQ,GAAG,CAAC;AACd;AAEA,uCAA2C;;AAE3C;AAEA,IAAI,IAAI;AAER,QAAQ,GAAG;AACX,QAAQ,GAAG;AACX,QAAQ,GAAG;AAEX,uCAAqC;;AAErC;AAEA,6EAA6D,QAAQ,GAAG,CAAC;AAEzE,4CAA4C;AAC5C,mDAAkB,gBAAgB,QAAQ,GAAG,CAAC;AAC9C,mDAAkB,gBAAgB,QAAQ,GAAG,CAAC"}}, + {"offset": {"line": 32, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/comptime/early-return/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_early-return_input_82bbae._.js b/turbopack/crates/turbopack-tests/tests/snapshot/comptime/early-return/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_early-return_input_82bbae._.js index 34d406a42ba77..848f0ef286e31 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/comptime/early-return/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_early-return_input_82bbae._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/comptime/early-return/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_early-return_input_82bbae._.js @@ -1,8 +1,10 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/4e721_crates_turbopack-tests_tests_snapshot_comptime_early-return_input_82bbae._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/early-return/input/module.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/early-return/input/module.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "a": ()=>a, "b": ()=>b, @@ -174,18 +176,18 @@ function p() { z1(); return; z2(); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/early-return/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/early-return/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$comptime$2f$early$2d$return$2f$input$2f$module$2e$js__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/early-return/input/module.js [test] (ecmascript)"); "__TURBOPACK__ecmascript__hoisting__location__"; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$comptime$2f$early$2d$return$2f$input$2f$module$2e$js__$5b$test$5d$__$28$ecmascript$29$__); - -})()), +}}), }]); //# sourceMappingURL=4e721_crates_turbopack-tests_tests_snapshot_comptime_early-return_input_82bbae._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/comptime/early-return/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_early-return_input_82bbae._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/comptime/early-return/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_early-return_input_82bbae._.js.map index 547b77f4ffad8..9ae5077fbfe77 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/comptime/early-return/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_early-return_input_82bbae._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/comptime/early-return/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_early-return_input_82bbae._.js.map @@ -2,8 +2,8 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/early-return/input/module.js"],"sourcesContent":["export function a() {\n if (true) {\n a1();\n return;\n }\n a2();\n var a3 = 3;\n function a4() {\n var a5;\n }\n (function a6() {\n var a7;\n });\n const a8 = () => {\n var a9;\n };\n class a10 {}\n let a11 = 11;\n let {\n a12 = 12,\n a14: {\n a15,\n a16: [a17, ...a18],\n },\n ...a19\n } = {};\n function a20() {\n return;\n a21();\n }\n ({\n get a22() {\n var a23;\n },\n set a22(value) {\n var a24;\n },\n a25() {\n var a26;\n },\n });\n {\n let a27;\n var a28;\n }\n}\n\nexport function b() {\n if (true) {\n b1();\n return;\n } else {\n b2();\n }\n b3();\n}\n\nexport function c() {\n if (true) {\n return;\n }\n c1();\n}\n\nexport function d() {\n if (true) {\n return;\n } else {\n d1();\n }\n d2();\n}\n\nexport function e() {\n if (false) {\n e1();\n } else {\n return;\n }\n e2();\n}\n\nexport function f() {\n if (false) {\n } else {\n return;\n }\n f1();\n}\n\nexport function g() {\n if (false) {\n g1();\n } else {\n g2();\n return;\n }\n g3();\n}\n\nexport function h() {\n if (false) {\n } else {\n h1();\n return;\n }\n h2();\n}\n\nexport function i(j) {\n if (j < 1) return i1();\n return i2();\n}\n\nexport function j(j) {\n if (j < 1) {\n return i1();\n }\n return i2();\n}\n\nclass K {\n constructor() {\n try {\n k1();\n } catch (e) {\n k2();\n return;\n k3();\n } finally {\n k4();\n }\n k5();\n }\n\n l() {\n try {\n l1();\n } catch (e) {\n l2();\n } finally {\n l3();\n return;\n l4();\n }\n l5();\n }\n\n get m() {\n if (true) {\n m1();\n return;\n }\n m2();\n }\n\n set m(value) {\n m1();\n return m2();\n m3();\n }\n\n n = () => {\n switch (42) {\n case 1:\n n1();\n return;\n n2();\n case 2:\n n3();\n break;\n default:\n n4();\n }\n n5();\n };\n\n o() {\n if (something) {\n require(\"./module\");\n return;\n } else {\n require(\"./module\");\n return;\n }\n }\n}\n\nfunction p() {\n class C {\n constructor() {\n p1();\n return;\n p2();\n }\n }\n\n p3();\n return;\n p4();\n}\n\nz1();\n\nreturn;\n\nz2();\n"],"names":[],"mappings":";;;;;;;;;;;;AAAO,SAAS;IACd,wCAAU;QACR;QACA;IACF;;IAEA,IAAI;IACJ,SAAS;QACP,IAAI;IACN;IAIA,MAAM;IAGA,IAAA;IACN,IAAI;IACJ,IACE,KAEE,KACM,KAAQ,KAEb;IAEL,SAAS;QACP;;IAEF;IAcE,IAAI;AAER;AAEO,SAAS;IACd,wCAAU;QACR;QACA;IACF,OAAO;;IAEP;;AAEF;AAEO,SAAS;IACd,wCAAU;QACR;IACF;;AAEF;AAEO,SAAS;IACd,wCAAU;QACR;IACF,OAAO;;IAEP;;AAEF;AAEO,SAAS;IACd,uCAAW;;IAEX,OAAO;QACL;IACF;;AAEF;AAEO,SAAS;IACd,uCAAW,CACX,OAAO;QACL;IACF;;AAEF;AAEO,SAAS;IACd,uCAAW;;IAEX,OAAO;QACL;QACA;IACF;;AAEF;AAEO,SAAS;IACd,uCAAW,CACX,OAAO;QACL;QACA;IACF;;AAEF;AAEO,SAAS,EAAE,CAAC;IACjB,IAAI,IAAI,GAAG,OAAO;IAClB,OAAO;AACT;AAEO,SAAS,EAAE,CAAC;IACjB,IAAI,IAAI,GAAG;QACT,OAAO;IACT;IACA,OAAO;AACT;AAEA,MAAM;IACJ,aAAc;QACZ,IAAI;YACF;QACF,EAAE,OAAO,GAAG;YACV;YACA;;QAEF,SAAU;YACR;QACF;QACA;IACF;IAEA,IAAI;QACF,IAAI;YACF;QACF,EAAE,OAAO,GAAG;YACV;QACF,SAAU;YACR;YACA;;QAEF;;IAEF;IAEA,IAAI,IAAI;QACN,wCAAU;YACR;YACA;QACF;;IAEF;IAEA,IAAI,EAAE,KAAK,EAAE;QACX;QACA,OAAO;;IAET;IAEA,IAAI;QACF,OAAQ;YACN,KAAK;gBACH;gBACA;;YAEF,KAAK;gBACH;gBACA;YACF;gBACE;QACJ;QACA;IACF,EAAE;IAEF,IAAI;QACF,IAAI,WAAW;;YAEb;QACF,OAAO;;YAEL;QACF;IACF;AACF;AAEA,SAAS;IACP,MAAM;QACJ,aAAc;YACZ;YACA;;QAEF;IACF;IAEA;IACA;;AAEF;AAEA;AAEA;AAEA"}}, - {"offset": {"line": 176, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 181, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/early-return/input/index.js"],"sourcesContent":["import * as module from \"./module\";\nconsole.log(module);\n"],"names":[],"mappings":";;;;AACA,QAAQ,GAAG,CAAC"}}, - {"offset": {"line": 186, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/early-return/input/module.js"],"sourcesContent":["export function a() {\n if (true) {\n a1();\n return;\n }\n a2();\n var a3 = 3;\n function a4() {\n var a5;\n }\n (function a6() {\n var a7;\n });\n const a8 = () => {\n var a9;\n };\n class a10 {}\n let a11 = 11;\n let {\n a12 = 12,\n a14: {\n a15,\n a16: [a17, ...a18],\n },\n ...a19\n } = {};\n function a20() {\n return;\n a21();\n }\n ({\n get a22() {\n var a23;\n },\n set a22(value) {\n var a24;\n },\n a25() {\n var a26;\n },\n });\n {\n let a27;\n var a28;\n }\n}\n\nexport function b() {\n if (true) {\n b1();\n return;\n } else {\n b2();\n }\n b3();\n}\n\nexport function c() {\n if (true) {\n return;\n }\n c1();\n}\n\nexport function d() {\n if (true) {\n return;\n } else {\n d1();\n }\n d2();\n}\n\nexport function e() {\n if (false) {\n e1();\n } else {\n return;\n }\n e2();\n}\n\nexport function f() {\n if (false) {\n } else {\n return;\n }\n f1();\n}\n\nexport function g() {\n if (false) {\n g1();\n } else {\n g2();\n return;\n }\n g3();\n}\n\nexport function h() {\n if (false) {\n } else {\n h1();\n return;\n }\n h2();\n}\n\nexport function i(j) {\n if (j < 1) return i1();\n return i2();\n}\n\nexport function j(j) {\n if (j < 1) {\n return i1();\n }\n return i2();\n}\n\nclass K {\n constructor() {\n try {\n k1();\n } catch (e) {\n k2();\n return;\n k3();\n } finally {\n k4();\n }\n k5();\n }\n\n l() {\n try {\n l1();\n } catch (e) {\n l2();\n } finally {\n l3();\n return;\n l4();\n }\n l5();\n }\n\n get m() {\n if (true) {\n m1();\n return;\n }\n m2();\n }\n\n set m(value) {\n m1();\n return m2();\n m3();\n }\n\n n = () => {\n switch (42) {\n case 1:\n n1();\n return;\n n2();\n case 2:\n n3();\n break;\n default:\n n4();\n }\n n5();\n };\n\n o() {\n if (something) {\n require(\"./module\");\n return;\n } else {\n require(\"./module\");\n return;\n }\n }\n}\n\nfunction p() {\n class C {\n constructor() {\n p1();\n return;\n p2();\n }\n }\n\n p3();\n return;\n p4();\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L;QACF;IACF;AACF;AAEA,SAAS;IACP,MAAM;QACJ,aAAc;YACZ;YACA;;QAEF;IACF;IAEA;IACA;;AAEF;AAEA;AAEA;AAEA"}}, + {"offset": {"line": 178, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 184, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/early-return/input/index.js"],"sourcesContent":["import * as module from \"./module\";\nconsole.log(module);\n"],"names":[],"mappings":";;;;AACA,QAAQ,GAAG,CAAC"}}, + {"offset": {"line": 189, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/output/turbopack_crates_turbopack-tests_tests_snapshot_comptime_typeof_input_80f572._.js b/turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/output/turbopack_crates_turbopack-tests_tests_snapshot_comptime_typeof_input_80f572._.js index 9b0d13e2bf63f..fad10676d7666 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/output/turbopack_crates_turbopack-tests_tests_snapshot_comptime_typeof_input_80f572._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/output/turbopack_crates_turbopack-tests_tests_snapshot_comptime_typeof_input_80f572._.js @@ -1,7 +1,9 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/turbopack_crates_turbopack-tests_tests_snapshot_comptime_typeof_input_80f572._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/input/cjs.js [test] (ecmascript)": (function({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require }) { !function() { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/input/cjs.js [test] (ecmascript)": (function(__turbopack_context__) { +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require } = __turbopack_context__; +{ const __TURBOPACK__import$2e$meta__ = { get url () { return `file://${__turbopack_resolve_absolute_path__("turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/input/cjs.js")}`; @@ -13,15 +15,17 @@ console.log("typeof import.meta", ("TURBOPACK compile-time value", "object")); // CJS, should be `object` console.log("typeof module", ("TURBOPACK compile-time value", "object")); console.log("typeof exports", ("TURBOPACK compile-time value", "object")); +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/input/dep.js [test] (ecmascript)": (function(__turbopack_context__) { -}.call(this) }), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/input/dep.js [test] (ecmascript)": (function({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require }) { !function() { - - -}.call(this) }), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/input/esm-automatic.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require } = __turbopack_context__; +{ +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/input/esm-automatic.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$comptime$2f$typeof$2f$input$2f$dep$2e$js__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/input/dep.js [test] (ecmascript)"); const __TURBOPACK__import$2e$meta__ = { @@ -36,11 +40,12 @@ console.log("typeof import.meta", ("TURBOPACK compile-time value", "object")); // ESM, should be `undefined` console.log("typeof module", ("TURBOPACK compile-time value", "undefined")); console.log("typeof exports", ("TURBOPACK compile-time value", "undefined")); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/input/esm-specified.mjs [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/input/esm-specified.mjs [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); const __TURBOPACK__import$2e$meta__ = { get url () { @@ -53,11 +58,12 @@ console.log("typeof import.meta", ("TURBOPACK compile-time value", "object")); // ESM, should be `undefined` console.log("typeof module", ("TURBOPACK compile-time value", "undefined")); console.log("typeof exports", ("TURBOPACK compile-time value", "undefined")); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$comptime$2f$typeof$2f$input$2f$cjs$2e$js__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/input/cjs.js [test] (ecmascript)"); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$comptime$2f$typeof$2f$input$2f$esm$2d$automatic$2e$js__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/input/esm-automatic.js [test] (ecmascript)"); @@ -66,8 +72,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; ; - -})()), +}}), }]); //# sourceMappingURL=turbopack_crates_turbopack-tests_tests_snapshot_comptime_typeof_input_80f572._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/output/turbopack_crates_turbopack-tests_tests_snapshot_comptime_typeof_input_80f572._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/output/turbopack_crates_turbopack-tests_tests_snapshot_comptime_typeof_input_80f572._.js.map index 3586e3bf43204..2602f93800584 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/output/turbopack_crates_turbopack-tests_tests_snapshot_comptime_typeof_input_80f572._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/output/turbopack_crates_turbopack-tests_tests_snapshot_comptime_typeof_input_80f572._.js.map @@ -2,14 +2,14 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/input/cjs.js"],"sourcesContent":["console.log(\"typeof require\", typeof require)\nconsole.log(\"typeof import.meta\", typeof import.meta)\n// CJS, should be `object`\nconsole.log(\"typeof module\", typeof module)\nconsole.log(\"typeof exports\", typeof exports)\n"],"names":[],"mappings":";;;;;;AAAA,QAAQ,GAAG,CAAC;AACZ,QAAQ,GAAG,CAAC;AACZ,0BAA0B;AAC1B,QAAQ,GAAG,CAAC;AACZ,QAAQ,GAAG,CAAC"}}, - {"offset": {"line": 15, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 19, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 19, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 24, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/input/esm-automatic.js"],"sourcesContent":["import './dep.js'\n\nconsole.log(\"typeof require\", typeof require)\nconsole.log(\"typeof import.meta\", typeof import.meta)\n// ESM, should be `undefined`\nconsole.log(\"typeof module\", typeof module)\nconsole.log(\"typeof exports\", typeof exports)\n"],"names":[],"mappings":";;;;;;;;;AAEA,QAAQ,GAAG,CAAC;AACZ,QAAQ,GAAG,CAAC;AACZ,6BAA6B;AAC7B,QAAQ,GAAG,CAAC;AACZ,QAAQ,GAAG,CAAC"}}, - {"offset": {"line": 38, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 43, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/input/esm-specified.mjs"],"sourcesContent":["console.log(\"typeof require\", typeof require)\nconsole.log(\"typeof import.meta\", typeof import.meta)\n// ESM, should be `undefined`\nconsole.log(\"typeof module\", typeof module)\nconsole.log(\"typeof exports\", typeof exports)\n"],"names":[],"mappings":";;;;;;;AAAA,QAAQ,GAAG,CAAC;AACZ,QAAQ,GAAG,CAAC;AACZ,6BAA6B;AAC7B,QAAQ,GAAG,CAAC;AACZ,QAAQ,GAAG,CAAC"}}, - {"offset": {"line": 55, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 60, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 68, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 6, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/input/cjs.js"],"sourcesContent":["console.log(\"typeof require\", typeof require)\nconsole.log(\"typeof import.meta\", typeof import.meta)\n// CJS, should be `object`\nconsole.log(\"typeof module\", typeof module)\nconsole.log(\"typeof exports\", typeof exports)\n"],"names":[],"mappings":";;;;;;AAAA,QAAQ,GAAG,CAAC;AACZ,QAAQ,GAAG,CAAC;AACZ,0BAA0B;AAC1B,QAAQ,GAAG,CAAC;AACZ,QAAQ,GAAG,CAAC"}}, + {"offset": {"line": 17, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 22, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 22, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 28, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/input/esm-automatic.js"],"sourcesContent":["import './dep.js'\n\nconsole.log(\"typeof require\", typeof require)\nconsole.log(\"typeof import.meta\", typeof import.meta)\n// ESM, should be `undefined`\nconsole.log(\"typeof module\", typeof module)\nconsole.log(\"typeof exports\", typeof exports)\n"],"names":[],"mappings":";;;;;;;;;AAEA,QAAQ,GAAG,CAAC;AACZ,QAAQ,GAAG,CAAC;AACZ,6BAA6B;AAC7B,QAAQ,GAAG,CAAC;AACZ,QAAQ,GAAG,CAAC"}}, + {"offset": {"line": 42, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 48, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/input/esm-specified.mjs"],"sourcesContent":["console.log(\"typeof require\", typeof require)\nconsole.log(\"typeof import.meta\", typeof import.meta)\n// ESM, should be `undefined`\nconsole.log(\"typeof module\", typeof module)\nconsole.log(\"typeof exports\", typeof exports)\n"],"names":[],"mappings":";;;;;;;AAAA,QAAQ,GAAG,CAAC;AACZ,QAAQ,GAAG,CAAC;AACZ,6BAA6B;AAC7B,QAAQ,GAAG,CAAC;AACZ,QAAQ,GAAG,CAAC"}}, + {"offset": {"line": 60, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 66, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 74, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/css/absolute-uri-import/output/b1abf_turbopack-tests_tests_snapshot_css_absolute-uri-import_input_index_e42d0f.js b/turbopack/crates/turbopack-tests/tests/snapshot/css/absolute-uri-import/output/b1abf_turbopack-tests_tests_snapshot_css_absolute-uri-import_input_index_e42d0f.js index 9cb172ab51525..b56e965288f2b 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/css/absolute-uri-import/output/b1abf_turbopack-tests_tests_snapshot_css_absolute-uri-import_input_index_e42d0f.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/css/absolute-uri-import/output/b1abf_turbopack-tests_tests_snapshot_css_absolute-uri-import_input_index_e42d0f.js @@ -1,12 +1,13 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/b1abf_turbopack-tests_tests_snapshot_css_absolute-uri-import_input_index_e42d0f.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/absolute-uri-import/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/absolute-uri-import/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); ; - -})()), +}}), }]); //# sourceMappingURL=b1abf_turbopack-tests_tests_snapshot_css_absolute-uri-import_input_index_e42d0f.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/css/absolute-uri-import/output/b1abf_turbopack-tests_tests_snapshot_css_absolute-uri-import_input_index_e42d0f.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/css/absolute-uri-import/output/b1abf_turbopack-tests_tests_snapshot_css_absolute-uri-import_input_index_e42d0f.js.map index db99d8aab4c56..73e1eff2edb79 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/css/absolute-uri-import/output/b1abf_turbopack-tests_tests_snapshot_css_absolute-uri-import_input_index_e42d0f.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/css/absolute-uri-import/output/b1abf_turbopack-tests_tests_snapshot_css_absolute-uri-import_input_index_e42d0f.js.map @@ -2,6 +2,6 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 9, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/css/chained-attributes/output/4e721_crates_turbopack-tests_tests_snapshot_css_chained-attributes_input_index_0d5b04.js b/turbopack/crates/turbopack-tests/tests/snapshot/css/chained-attributes/output/4e721_crates_turbopack-tests_tests_snapshot_css_chained-attributes_input_index_0d5b04.js index a58473417447c..f691f718d1c6f 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/css/chained-attributes/output/4e721_crates_turbopack-tests_tests_snapshot_css_chained-attributes_input_index_0d5b04.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/css/chained-attributes/output/4e721_crates_turbopack-tests_tests_snapshot_css_chained-attributes_input_index_0d5b04.js @@ -1,12 +1,13 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/4e721_crates_turbopack-tests_tests_snapshot_css_chained-attributes_input_index_0d5b04.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/chained-attributes/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/chained-attributes/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); ; - -})()), +}}), }]); //# sourceMappingURL=4e721_crates_turbopack-tests_tests_snapshot_css_chained-attributes_input_index_0d5b04.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/css/chained-attributes/output/4e721_crates_turbopack-tests_tests_snapshot_css_chained-attributes_input_index_0d5b04.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/css/chained-attributes/output/4e721_crates_turbopack-tests_tests_snapshot_css_chained-attributes_input_index_0d5b04.js.map index db99d8aab4c56..73e1eff2edb79 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/css/chained-attributes/output/4e721_crates_turbopack-tests_tests_snapshot_css_chained-attributes_input_index_0d5b04.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/css/chained-attributes/output/4e721_crates_turbopack-tests_tests_snapshot_css_chained-attributes_input_index_0d5b04.js.map @@ -2,6 +2,6 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 9, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/css/css-legacy-nesting/output/4e721_crates_turbopack-tests_tests_snapshot_css_css-legacy-nesting_input_index_49d4ed.js b/turbopack/crates/turbopack-tests/tests/snapshot/css/css-legacy-nesting/output/4e721_crates_turbopack-tests_tests_snapshot_css_css-legacy-nesting_input_index_49d4ed.js index 4f598975d56cc..a6e28aae458d5 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/css/css-legacy-nesting/output/4e721_crates_turbopack-tests_tests_snapshot_css_css-legacy-nesting_input_index_49d4ed.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/css/css-legacy-nesting/output/4e721_crates_turbopack-tests_tests_snapshot_css_css-legacy-nesting_input_index_49d4ed.js @@ -1,13 +1,14 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/4e721_crates_turbopack-tests_tests_snapshot_css_css-legacy-nesting_input_index_49d4ed.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css-legacy-nesting/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css-legacy-nesting/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); ; console.log('css-legacy-nesting'); - -})()), +}}), }]); //# sourceMappingURL=4e721_crates_turbopack-tests_tests_snapshot_css_css-legacy-nesting_input_index_49d4ed.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/css/css-legacy-nesting/output/4e721_crates_turbopack-tests_tests_snapshot_css_css-legacy-nesting_input_index_49d4ed.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/css/css-legacy-nesting/output/4e721_crates_turbopack-tests_tests_snapshot_css_css-legacy-nesting_input_index_49d4ed.js.map index 68dc9c212a13c..96327d730d4c4 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/css/css-legacy-nesting/output/4e721_crates_turbopack-tests_tests_snapshot_css_css-legacy-nesting_input_index_49d4ed.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/css/css-legacy-nesting/output/4e721_crates_turbopack-tests_tests_snapshot_css_css-legacy-nesting_input_index_49d4ed.js.map @@ -2,6 +2,6 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css-legacy-nesting/input/index.js"],"sourcesContent":["import \"./style.css\";\n\nconsole.log('css-legacy-nesting');\n"],"names":[],"mappings":";;AAEA,QAAQ,GAAG,CAAC"}}, - {"offset": {"line": 8, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css-legacy-nesting/input/index.js"],"sourcesContent":["import \"./style.css\";\n\nconsole.log('css-legacy-nesting');\n"],"names":[],"mappings":";;AAEA,QAAQ,GAAG,CAAC"}}, + {"offset": {"line": 10, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/output/b1abf_turbopack-tests_tests_snapshot_css_css-modules_input_style_module_css_adb3ea._.js b/turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/output/b1abf_turbopack-tests_tests_snapshot_css_css-modules_input_style_module_css_adb3ea._.js index f6b116c0b82cc..85f15d4238a1e 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/output/b1abf_turbopack-tests_tests_snapshot_css_css-modules_input_style_module_css_adb3ea._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/output/b1abf_turbopack-tests_tests_snapshot_css_css-modules_input_style_module_css_adb3ea._.js @@ -1,12 +1,13 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/b1abf_turbopack-tests_tests_snapshot_css_css-modules_input_style_module_css_adb3ea._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/input/style.module.css [test] (css module, async loader)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/input/style.module.css [test] (css module, async loader)": ((__turbopack_context__) => { +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, t: require } = __turbopack_context__; +{ __turbopack_export_value__((__turbopack_import__) => { return Promise.resolve().then(() => { return __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/input/style.module.css [test] (css module)"); }); }); - -})()), +}}), }]); \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/output/turbopack_crates_turbopack-tests_tests_snapshot_css_css-modules_input_8f2e7f._.js b/turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/output/turbopack_crates_turbopack-tests_tests_snapshot_css_css-modules_input_8f2e7f._.js index 576ece9e13476..9b2791e2dd74c 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/output/turbopack_crates_turbopack-tests_tests_snapshot_css_css-modules_input_8f2e7f._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/output/turbopack_crates_turbopack-tests_tests_snapshot_css_css-modules_input_8f2e7f._.js @@ -1,22 +1,24 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/turbopack_crates_turbopack-tests_tests_snapshot_css_css-modules_input_8f2e7f._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/input/style.module.css [test] (css module)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/input/style.module.css [test] (css module)": ((__turbopack_context__) => { +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, t: require } = __turbopack_context__; +{ __turbopack_export_value__({ "module-style": "style-module__cu3fEW__module-style", }); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$css$2f$css$2d$modules$2f$input$2f$style$2e$module$2e$css__$5b$test$5d$__$28$css__module$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/input/style.module.css [test] (css module)"); "__TURBOPACK__ecmascript__hoisting__location__"; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$css$2f$css$2d$modules$2f$input$2f$style$2e$module$2e$css__$5b$test$5d$__$28$css__module$29$__["default"], __turbopack_require__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/input/style.module.css [test] (css module, async loader)")(__turbopack_import__)); - -})()), +}}), }]); //# sourceMappingURL=turbopack_crates_turbopack-tests_tests_snapshot_css_css-modules_input_8f2e7f._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/output/turbopack_crates_turbopack-tests_tests_snapshot_css_css-modules_input_8f2e7f._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/output/turbopack_crates_turbopack-tests_tests_snapshot_css_css-modules_input_8f2e7f._.js.map index c43cfe11c77a3..4a29f1ea54a65 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/output/turbopack_crates_turbopack-tests_tests_snapshot_css_css-modules_input_8f2e7f._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/output/turbopack_crates_turbopack-tests_tests_snapshot_css_css-modules_input_8f2e7f._.js.map @@ -2,8 +2,8 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/input/style.module.css [test] (css module)"],"sourcesContent":["__turbopack_export_value__({\n \"module-style\": \"style-module__cu3fEW__module-style\",\n});\n"],"names":[],"mappings":"AAAA;AACA;AACA"}}, - {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 12, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/input/index.js"],"sourcesContent":["import style from \"./style.module.css\";\n\nconsole.log(style, import(\"./style.module.css\"));\n"],"names":[],"mappings":";;;;AAEA,QAAQ,GAAG,CAAC,+MAAA,CAAA,UAAK"}}, - {"offset": {"line": 17, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 6, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/input/style.module.css [test] (css module)"],"sourcesContent":["__turbopack_export_value__({\n \"module-style\": \"style-module__cu3fEW__module-style\",\n});\n"],"names":[],"mappings":"AAAA;AACA;AACA"}}, + {"offset": {"line": 9, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 15, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/input/index.js"],"sourcesContent":["import style from \"./style.module.css\";\n\nconsole.log(style, import(\"./style.module.css\"));\n"],"names":[],"mappings":";;;;AAEA,QAAQ,GAAG,CAAC,+MAAA,CAAA,UAAK"}}, + {"offset": {"line": 20, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/css/css/output/08d19_foo_style_css_1f8924._.js b/turbopack/crates/turbopack-tests/tests/snapshot/css/css/output/08d19_foo_style_css_1f8924._.js index ff5fcbb2de804..6279a96bc489f 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/css/css/output/08d19_foo_style_css_1f8924._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/css/css/output/08d19_foo_style_css_1f8924._.js @@ -1,10 +1,11 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/08d19_foo_style_css_1f8924._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css/input/node_modules/foo/style.css [test] (css, async loader)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css/input/node_modules/foo/style.css [test] (css, async loader)": ((__turbopack_context__) => { +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, t: require } = __turbopack_context__; +{ __turbopack_export_value__((__turbopack_import__) => { return Promise.resolve(); }); - -})()), +}}), }]); \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/css/css/output/turbopack_crates_turbopack-tests_tests_snapshot_css_css_input_6dc4af._.js b/turbopack/crates/turbopack-tests/tests/snapshot/css/css/output/turbopack_crates_turbopack-tests_tests_snapshot_css_css_input_6dc4af._.js index 8493611ffcf73..33a553c3cd9c3 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/css/css/output/turbopack_crates_turbopack-tests_tests_snapshot_css_css_input_6dc4af._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/css/css/output/turbopack_crates_turbopack-tests_tests_snapshot_css_css_input_6dc4af._.js @@ -1,18 +1,21 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/turbopack_crates_turbopack-tests_tests_snapshot_css_css_input_6dc4af._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css/input/style.module.css [test] (css module)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css/input/style.module.css [test] (css module)": ((__turbopack_context__) => { +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, t: require } = __turbopack_context__; +{ __turbopack_export_value__({ "another-composed-module-style": "style-module__Iu_hLa__another-composed-module-style" + " " + __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css/input/node_modules/foo/style.module.css [test] (css module)")["foo-module-style"], "composed-module-style": "style-module__Iu_hLa__composed-module-style" + " " + __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css/input/node_modules/foo/style.module.css [test] (css module)")["foo-module-style"], "inner": "style-module__Iu_hLa__inner", "module-style": "style-module__Iu_hLa__module-style", }); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$css$2f$css$2f$input$2f$node_modules$2f$foo$2f$style$2e$module$2e$css__$5b$test$5d$__$28$css__module$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css/input/node_modules/foo/style.module.css [test] (css module)"); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$css$2f$css$2f$input$2f$style$2e$module$2e$css__$5b$test$5d$__$28$css__module$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css/input/style.module.css [test] (css module)"); @@ -23,15 +26,15 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$css$2f$css$2f$input$2f$style$2e$module$2e$css__$5b$test$5d$__$28$css__module$29$__["default"], __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$css$2f$css$2f$input$2f$node_modules$2f$foo$2f$style$2e$module$2e$css__$5b$test$5d$__$28$css__module$29$__["default"], __turbopack_require__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css/input/node_modules/foo/style.css [test] (css, async loader)")(__turbopack_import__)); +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css/input/node_modules/foo/style.module.css [test] (css module)": ((__turbopack_context__) => { -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css/input/node_modules/foo/style.module.css [test] (css module)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { - +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, t: require } = __turbopack_context__; +{ __turbopack_export_value__({ "foo-module-style": "style-module__CEkn7G__foo-module-style", }); - -})()), +}}), }]); //# sourceMappingURL=turbopack_crates_turbopack-tests_tests_snapshot_css_css_input_6dc4af._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/css/css/output/turbopack_crates_turbopack-tests_tests_snapshot_css_css_input_6dc4af._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/css/css/output/turbopack_crates_turbopack-tests_tests_snapshot_css_css_input_6dc4af._.js.map index a08fef3279650..0d8bc87eb5ce4 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/css/css/output/turbopack_crates_turbopack-tests_tests_snapshot_css_css_input_6dc4af._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/css/css/output/turbopack_crates_turbopack-tests_tests_snapshot_css_css_input_6dc4af._.js.map @@ -2,10 +2,10 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css/input/style.module.css [test] (css module)"],"sourcesContent":["__turbopack_export_value__({\n \"another-composed-module-style\": \"style-module__Iu_hLa__another-composed-module-style\" + \" \" + __turbopack_import__(\"[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css/input/node_modules/foo/style.module.css [test] (css module)\")[\"foo-module-style\"],\n \"composed-module-style\": \"style-module__Iu_hLa__composed-module-style\" + \" \" + __turbopack_import__(\"[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css/input/node_modules/foo/style.module.css [test] (css module)\")[\"foo-module-style\"],\n \"inner\": \"style-module__Iu_hLa__inner\",\n \"module-style\": \"style-module__Iu_hLa__module-style\",\n});\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA"}}, - {"offset": {"line": 10, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 15, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css/input/index.js"],"sourcesContent":["import \"foo/style.css\";\nimport \"foo\";\nimport \"./style.css\";\nimport fooStyle from \"foo/style.module.css\";\nimport style from \"./style.module.css\";\n\nconsole.log(style, fooStyle, import(\"foo\"));\n"],"names":[],"mappings":";;;;;;;;;AAMA,QAAQ,GAAG,CAAC,oMAAA,CAAA,UAAK,EAAE,2NAAA,CAAA,UAAQ"}}, - {"offset": {"line": 25, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 29, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css/input/node_modules/foo/style.module.css [test] (css module)"],"sourcesContent":["__turbopack_export_value__({\n \"foo-module-style\": \"style-module__CEkn7G__foo-module-style\",\n});\n"],"names":[],"mappings":"AAAA;AACA;AACA"}}, - {"offset": {"line": 32, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 6, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css/input/style.module.css [test] (css module)"],"sourcesContent":["__turbopack_export_value__({\n \"another-composed-module-style\": \"style-module__Iu_hLa__another-composed-module-style\" + \" \" + __turbopack_import__(\"[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css/input/node_modules/foo/style.module.css [test] (css module)\")[\"foo-module-style\"],\n \"composed-module-style\": \"style-module__Iu_hLa__composed-module-style\" + \" \" + __turbopack_import__(\"[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css/input/node_modules/foo/style.module.css [test] (css module)\")[\"foo-module-style\"],\n \"inner\": \"style-module__Iu_hLa__inner\",\n \"module-style\": \"style-module__Iu_hLa__module-style\",\n});\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA"}}, + {"offset": {"line": 12, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 18, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css/input/index.js"],"sourcesContent":["import \"foo/style.css\";\nimport \"foo\";\nimport \"./style.css\";\nimport fooStyle from \"foo/style.module.css\";\nimport style from \"./style.module.css\";\n\nconsole.log(style, fooStyle, import(\"foo\"));\n"],"names":[],"mappings":";;;;;;;;;AAMA,QAAQ,GAAG,CAAC,oMAAA,CAAA,UAAK,EAAE,2NAAA,CAAA,UAAQ"}}, + {"offset": {"line": 28, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 33, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css/input/node_modules/foo/style.module.css [test] (css module)"],"sourcesContent":["__turbopack_export_value__({\n \"foo-module-style\": \"style-module__CEkn7G__foo-module-style\",\n});\n"],"names":[],"mappings":"AAAA;AACA;AACA"}}, + {"offset": {"line": 36, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/css/relative-uri-import/output/b1abf_turbopack-tests_tests_snapshot_css_relative-uri-import_input_index_8ff755.js b/turbopack/crates/turbopack-tests/tests/snapshot/css/relative-uri-import/output/b1abf_turbopack-tests_tests_snapshot_css_relative-uri-import_input_index_8ff755.js index 4eb981d1e4593..09165c9a12da8 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/css/relative-uri-import/output/b1abf_turbopack-tests_tests_snapshot_css_relative-uri-import_input_index_8ff755.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/css/relative-uri-import/output/b1abf_turbopack-tests_tests_snapshot_css_relative-uri-import_input_index_8ff755.js @@ -1,12 +1,13 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/b1abf_turbopack-tests_tests_snapshot_css_relative-uri-import_input_index_8ff755.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/relative-uri-import/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/relative-uri-import/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); ; - -})()), +}}), }]); //# sourceMappingURL=b1abf_turbopack-tests_tests_snapshot_css_relative-uri-import_input_index_8ff755.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/css/relative-uri-import/output/b1abf_turbopack-tests_tests_snapshot_css_relative-uri-import_input_index_8ff755.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/css/relative-uri-import/output/b1abf_turbopack-tests_tests_snapshot_css_relative-uri-import_input_index_8ff755.js.map index db99d8aab4c56..73e1eff2edb79 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/css/relative-uri-import/output/b1abf_turbopack-tests_tests_snapshot_css_relative-uri-import_input_index_8ff755.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/css/relative-uri-import/output/b1abf_turbopack-tests_tests_snapshot_css_relative-uri-import_input_index_8ff755.js.map @@ -2,6 +2,6 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 9, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/css/scss/output/turbopack_crates_turbopack-tests_tests_snapshot_css_scss_input_index_37ce57.js b/turbopack/crates/turbopack-tests/tests/snapshot/css/scss/output/turbopack_crates_turbopack-tests_tests_snapshot_css_scss_input_index_37ce57.js index c8991f80331d0..52d1df4074b3d 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/css/scss/output/turbopack_crates_turbopack-tests_tests_snapshot_css_scss_input_index_37ce57.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/css/scss/output/turbopack_crates_turbopack-tests_tests_snapshot_css_scss_input_index_37ce57.js @@ -1,9 +1,10 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/turbopack_crates_turbopack-tests_tests_snapshot_css_scss_input_index_37ce57.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/scss/input/index.js [test] (ecmascript)": (function({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require }) { !function() { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/scss/input/index.js [test] (ecmascript)": (function(__turbopack_context__) { +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require } = __turbopack_context__; +{ const e = new Error("Could not parse module '[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/scss/input/index.js'"); e.code = 'MODULE_UNPARSEABLE'; -throw e; -}.call(this) }), +throw e;}}), }]); \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/css/url-in-supports-query/output/b1abf_turbopack-tests_tests_snapshot_css_url-in-supports-query_input_index_160b9e.js b/turbopack/crates/turbopack-tests/tests/snapshot/css/url-in-supports-query/output/b1abf_turbopack-tests_tests_snapshot_css_url-in-supports-query_input_index_160b9e.js index 6b1d0a79f1f61..cc63324f7f243 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/css/url-in-supports-query/output/b1abf_turbopack-tests_tests_snapshot_css_url-in-supports-query_input_index_160b9e.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/css/url-in-supports-query/output/b1abf_turbopack-tests_tests_snapshot_css_url-in-supports-query_input_index_160b9e.js @@ -1,12 +1,13 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/b1abf_turbopack-tests_tests_snapshot_css_url-in-supports-query_input_index_160b9e.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/url-in-supports-query/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/url-in-supports-query/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); ; - -})()), +}}), }]); //# sourceMappingURL=b1abf_turbopack-tests_tests_snapshot_css_url-in-supports-query_input_index_160b9e.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/css/url-in-supports-query/output/b1abf_turbopack-tests_tests_snapshot_css_url-in-supports-query_input_index_160b9e.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/css/url-in-supports-query/output/b1abf_turbopack-tests_tests_snapshot_css_url-in-supports-query_input_index_160b9e.js.map index db99d8aab4c56..73e1eff2edb79 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/css/url-in-supports-query/output/b1abf_turbopack-tests_tests_snapshot_css_url-in-supports-query_input_index_160b9e.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/css/url-in-supports-query/output/b1abf_turbopack-tests_tests_snapshot_css_url-in-supports-query_input_index_160b9e.js.map @@ -2,6 +2,6 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 9, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/composes/output/turbopack_crates_turbopack-tests_tests_snapshot_cssmodules_composes_input_8bd350._.js b/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/composes/output/turbopack_crates_turbopack-tests_tests_snapshot_cssmodules_composes_input_8bd350._.js index 768c6b22938fa..3e6c300c0e421 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/composes/output/turbopack_crates_turbopack-tests_tests_snapshot_cssmodules_composes_input_8bd350._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/composes/output/turbopack_crates_turbopack-tests_tests_snapshot_cssmodules_composes_input_8bd350._.js @@ -1,22 +1,24 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/turbopack_crates_turbopack-tests_tests_snapshot_cssmodules_composes_input_8bd350._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/composes/input/index.module.css [test] (css module)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/composes/input/index.module.css [test] (css module)": ((__turbopack_context__) => { +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, t: require } = __turbopack_context__; +{ __turbopack_export_value__({ "className": "index-module__H6xp9G__className", "subClass": "index-module__H6xp9G__subClass" + " " + "index-module__H6xp9G__className", }); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/composes/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/composes/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$cssmodules$2f$composes$2f$input$2f$index$2e$module$2e$css__$5b$test$5d$__$28$css__module$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/composes/input/index.module.css [test] (css module)"); "__TURBOPACK__ecmascript__hoisting__location__"; ; - -})()), +}}), }]); //# sourceMappingURL=turbopack_crates_turbopack-tests_tests_snapshot_cssmodules_composes_input_8bd350._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/composes/output/turbopack_crates_turbopack-tests_tests_snapshot_cssmodules_composes_input_8bd350._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/composes/output/turbopack_crates_turbopack-tests_tests_snapshot_cssmodules_composes_input_8bd350._.js.map index d41ebb6141bf1..62982b140ebd2 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/composes/output/turbopack_crates_turbopack-tests_tests_snapshot_cssmodules_composes_input_8bd350._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/composes/output/turbopack_crates_turbopack-tests_tests_snapshot_cssmodules_composes_input_8bd350._.js.map @@ -2,8 +2,8 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/composes/input/index.module.css [test] (css module)"],"sourcesContent":["__turbopack_export_value__({\n \"className\": \"index-module__H6xp9G__className\",\n \"subClass\": \"index-module__H6xp9G__subClass\" + \" \" + \"index-module__H6xp9G__className\",\n});\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA"}}, - {"offset": {"line": 8, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 13, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 17, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 6, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/composes/input/index.module.css [test] (css module)"],"sourcesContent":["__turbopack_export_value__({\n \"className\": \"index-module__H6xp9G__className\",\n \"subClass\": \"index-module__H6xp9G__subClass\" + \" \" + \"index-module__H6xp9G__className\",\n});\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA"}}, + {"offset": {"line": 10, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 16, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 20, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/relative-uri-import/output/b1abf_turbopack-tests_tests_snapshot_cssmodules_relative-uri-import_input_65c884._.js b/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/relative-uri-import/output/b1abf_turbopack-tests_tests_snapshot_cssmodules_relative-uri-import_input_65c884._.js index a45d069aebf81..bc667b8b4fe0a 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/relative-uri-import/output/b1abf_turbopack-tests_tests_snapshot_cssmodules_relative-uri-import_input_65c884._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/relative-uri-import/output/b1abf_turbopack-tests_tests_snapshot_cssmodules_relative-uri-import_input_65c884._.js @@ -1,28 +1,31 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/b1abf_turbopack-tests_tests_snapshot_cssmodules_relative-uri-import_input_65c884._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/relative-uri-import/input/other.module.css [test] (css module)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/relative-uri-import/input/other.module.css [test] (css module)": ((__turbopack_context__) => { +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, t: require } = __turbopack_context__; +{ __turbopack_export_value__({ "foo": "other-module__NjlEuq__foo", }); +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/relative-uri-import/input/index.module.css [test] (css module)": ((__turbopack_context__) => { -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/relative-uri-import/input/index.module.css [test] (css module)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { - +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, t: require } = __turbopack_context__; +{ __turbopack_export_value__({ "bar": "index-module__jZ0vmq__bar" + " " + __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/relative-uri-import/input/other.module.css [test] (css module)")["foo"], }); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/relative-uri-import/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/relative-uri-import/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$cssmodules$2f$relative$2d$uri$2d$import$2f$input$2f$index$2e$module$2e$css__$5b$test$5d$__$28$css__module$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/relative-uri-import/input/index.module.css [test] (css module)"); "__TURBOPACK__ecmascript__hoisting__location__"; ; - -})()), +}}), }]); //# sourceMappingURL=b1abf_turbopack-tests_tests_snapshot_cssmodules_relative-uri-import_input_65c884._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/relative-uri-import/output/b1abf_turbopack-tests_tests_snapshot_cssmodules_relative-uri-import_input_65c884._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/relative-uri-import/output/b1abf_turbopack-tests_tests_snapshot_cssmodules_relative-uri-import_input_65c884._.js.map index 497acfea70670..f2b62347acd84 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/relative-uri-import/output/b1abf_turbopack-tests_tests_snapshot_cssmodules_relative-uri-import_input_65c884._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/relative-uri-import/output/b1abf_turbopack-tests_tests_snapshot_cssmodules_relative-uri-import_input_65c884._.js.map @@ -2,10 +2,10 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/relative-uri-import/input/other.module.css [test] (css module)"],"sourcesContent":["__turbopack_export_value__({\n \"foo\": \"other-module__NjlEuq__foo\",\n});\n"],"names":[],"mappings":"AAAA;AACA;AACA"}}, - {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 11, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/relative-uri-import/input/index.module.css [test] (css module)"],"sourcesContent":["__turbopack_export_value__({\n \"bar\": \"index-module__jZ0vmq__bar\" + \" \" + __turbopack_import__(\"[project]/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/relative-uri-import/input/other.module.css [test] (css module)\")[\"foo\"],\n});\n"],"names":[],"mappings":"AAAA;AACA;AACA"}}, - {"offset": {"line": 14, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 19, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 23, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 6, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/relative-uri-import/input/other.module.css [test] (css module)"],"sourcesContent":["__turbopack_export_value__({\n \"foo\": \"other-module__NjlEuq__foo\",\n});\n"],"names":[],"mappings":"AAAA;AACA;AACA"}}, + {"offset": {"line": 9, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 14, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/relative-uri-import/input/index.module.css [test] (css module)"],"sourcesContent":["__turbopack_export_value__({\n \"bar\": \"index-module__jZ0vmq__bar\" + \" \" + __turbopack_import__(\"[project]/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/relative-uri-import/input/other.module.css [test] (css module)\")[\"foo\"],\n});\n"],"names":[],"mappings":"AAAA;AACA;AACA"}}, + {"offset": {"line": 17, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 23, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 27, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/dynamic-request/very-dynamic/output/b1abf_turbopack-tests_tests_snapshot_dynamic-request_very-dynamic_input_index_c4e3aa.js b/turbopack/crates/turbopack-tests/tests/snapshot/dynamic-request/very-dynamic/output/b1abf_turbopack-tests_tests_snapshot_dynamic-request_very-dynamic_input_index_c4e3aa.js index 85a6c7163b06e..23965fa158b7a 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/dynamic-request/very-dynamic/output/b1abf_turbopack-tests_tests_snapshot_dynamic-request_very-dynamic_input_index_c4e3aa.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/dynamic-request/very-dynamic/output/b1abf_turbopack-tests_tests_snapshot_dynamic-request_very-dynamic_input_index_c4e3aa.js @@ -1,8 +1,10 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/b1abf_turbopack-tests_tests_snapshot_dynamic-request_very-dynamic_input_index_c4e3aa.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/dynamic-request/very-dynamic/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, x: __turbopack_external_require__, y: __turbopack_external_import__ }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/dynamic-request/very-dynamic/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, x: __turbopack_external_require__, y: __turbopack_external_import__, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__url__external__node$3a$child_process__ = __turbopack_external_require__("node:child_process", true); var __TURBOPACK__url__external__node$3a$fs__ = __turbopack_external_require__("node:fs", true); @@ -34,8 +36,7 @@ Promise.resolve().then(()=>{ __TURBOPACK__url__external__node$3a$fs__["default"].readFileSync(unknown); (0, __TURBOPACK__url__external__node$3a$fs__["readFileSync"])(unknown); new URL(unknown, __TURBOPACK__import$2e$meta__.url); - -})()), +}}), }]); //# sourceMappingURL=b1abf_turbopack-tests_tests_snapshot_dynamic-request_very-dynamic_input_index_c4e3aa.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/dynamic-request/very-dynamic/output/b1abf_turbopack-tests_tests_snapshot_dynamic-request_very-dynamic_input_index_c4e3aa.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/dynamic-request/very-dynamic/output/b1abf_turbopack-tests_tests_snapshot_dynamic-request_very-dynamic_input_index_c4e3aa.js.map index fad7b9d01151a..5bec1748fa1f2 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/dynamic-request/very-dynamic/output/b1abf_turbopack-tests_tests_snapshot_dynamic-request_very-dynamic_input_index_c4e3aa.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/dynamic-request/very-dynamic/output/b1abf_turbopack-tests_tests_snapshot_dynamic-request_very-dynamic_input_index_c4e3aa.js.map @@ -2,6 +2,6 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/dynamic-request/very-dynamic/input/index.js"],"sourcesContent":["import child_process from \"node:child_process\";\nimport fs, { readFileSync } from \"node:fs\";\n\nconst unknown = Math.random();\n\nchild_process.spawnSync(unknown);\nchild_process.spawnSync(\"node\", unknown);\nchild_process.spawnSync(\"node\", [unknown, unknown]);\n\nrequire(unknown);\n\nimport(unknown);\n\nfs.readFileSync(unknown);\nreadFileSync(unknown);\n\nnew URL(unknown, import.meta.url);\n"],"names":[],"mappings":";;;;;;;;;;;AAGA,MAAM,UAAU,KAAK,MAAM;AAE3B,mDAAA,CAAA,UAAa,CAAC,SAAS,CAAC;AACxB,mDAAA,CAAA,UAAa,CAAC,SAAS,CAAC,QAAQ;AAChC,mDAAA,CAAA,UAAa,CAAC,SAAS,CAAC,QAAQ;IAAC;IAAS;CAAQ;;;;;;;;;;;AAMlD,wCAAA,CAAA,UAAE,CAAC,YAAY,CAAC;AAChB,CAAA,GAAA,wCAAA,CAAA,eAAY,AAAD,EAAE;AAEb,IAAI,IAAI,SAAS,8BAAY,GAAG"}}, - {"offset": {"line": 36, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/dynamic-request/very-dynamic/input/index.js"],"sourcesContent":["import child_process from \"node:child_process\";\nimport fs, { readFileSync } from \"node:fs\";\n\nconst unknown = Math.random();\n\nchild_process.spawnSync(unknown);\nchild_process.spawnSync(\"node\", unknown);\nchild_process.spawnSync(\"node\", [unknown, unknown]);\n\nrequire(unknown);\n\nimport(unknown);\n\nfs.readFileSync(unknown);\nreadFileSync(unknown);\n\nnew URL(unknown, import.meta.url);\n"],"names":[],"mappings":";;;;;;;;;;;AAGA,MAAM,UAAU,KAAK,MAAM;AAE3B,mDAAA,CAAA,UAAa,CAAC,SAAS,CAAC;AACxB,mDAAA,CAAA,UAAa,CAAC,SAAS,CAAC,QAAQ;AAChC,mDAAA,CAAA,UAAa,CAAC,SAAS,CAAC,QAAQ;IAAC;IAAS;CAAQ;;;;;;;;;;;AAMlD,wCAAA,CAAA,UAAE,CAAC,YAAY,CAAC;AAChB,CAAA,GAAA,wCAAA,CAAA,eAAY,AAAD,EAAE;AAEb,IAAI,IAAI,SAAS,8BAAY,GAAG"}}, + {"offset": {"line": 38, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/turbopack_crates_turbopack-tests_tests_snapshot_6fdc60._.js b/turbopack/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/turbopack_crates_turbopack-tests_tests_snapshot_6fdc60._.js index 10d4d1dea0210..ad12d9a9a3e08 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/turbopack_crates_turbopack-tests_tests_snapshot_6fdc60._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/turbopack_crates_turbopack-tests_tests_snapshot_6fdc60._.js @@ -1,8 +1,10 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/turbopack_crates_turbopack-tests_tests_snapshot_6fdc60._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/emotion/emotion/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/emotion/emotion/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ /** @jsxImportSource @emotion/react */ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$node_modules$2f40$emotion$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/@emotion/react/jsx-dev-runtime.js [test] (ecmascript)"); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$node_modules$2f40$emotion$2f$react$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/@emotion/react/index.js [test] (ecmascript)"); @@ -27,26 +29,28 @@ function ClassNameButton({ children }) { }, this); } console.log(StyledButton, ClassNameButton); +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/@emotion/react/jsx-dev-runtime.js [test] (ecmascript)": (function(__turbopack_context__) { -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/@emotion/react/jsx-dev-runtime.js [test] (ecmascript)": (function({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require }) { !function() { - +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require } = __turbopack_context__; +{ "purposefully empty stub"; "@emtion/react/jsx-dev-runtime.js"; +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/@emotion/react/index.js [test] (ecmascript)": (function(__turbopack_context__) { -}.call(this) }), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/@emotion/react/index.js [test] (ecmascript)": (function({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require }) { !function() { - +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require } = __turbopack_context__; +{ "purposefully empty stub"; "@emtion/react/index.js"; +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/@emotion/styled/index.js [test] (ecmascript)": (function(__turbopack_context__) { -}.call(this) }), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/@emotion/styled/index.js [test] (ecmascript)": (function({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require }) { !function() { - +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require } = __turbopack_context__; +{ "purposefully empty stub"; "@emtion/styled/index.js"; - -}.call(this) }), +}}), }]); //# sourceMappingURL=turbopack_crates_turbopack-tests_tests_snapshot_6fdc60._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/turbopack_crates_turbopack-tests_tests_snapshot_6fdc60._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/turbopack_crates_turbopack-tests_tests_snapshot_6fdc60._.js.map index 155f29d9e1f86..de259a3c5d1bc 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/turbopack_crates_turbopack-tests_tests_snapshot_6fdc60._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/turbopack_crates_turbopack-tests_tests_snapshot_6fdc60._.js.map @@ -2,12 +2,12 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/emotion/emotion/input/index.js"],"sourcesContent":["/** @jsxImportSource @emotion/react */\n\nimport { jsx } from \"@emotion/react\";\nimport styled from \"@emotion/styled\";\n\nconst StyledButton = styled.button`\n background: blue;\n`;\n\nfunction ClassNameButton({ children }) {\n return (\n \n {children}\n \n );\n}\n\nconsole.log(StyledButton, ClassNameButton);\n"],"names":[],"mappings":"AAAA,oCAAoC;;;;;;;;AAKpC,MAAM,6BAAe,CAAA,GAAA,wMAAA,CAAA,UAAM,AAAD;;;AAI1B,SAAS,gBAAgB,EAAE,QAAQ,EAAE;IACnC,qBACE,uOAAC;QACC,WAAW,GAAG,CAAC;;MAEf,CAAC;kBAEA;;;;;;AAGP;AAEA,QAAQ,GAAG,CAAC,cAAc"}}, - {"offset": {"line": 29, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 33, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/@emotion/react/jsx-dev-runtime.js"],"sourcesContent":["\"purposefully empty stub\";\n\"@emtion/react/jsx-dev-runtime.js\";\n"],"names":[],"mappings":"AAAA;AACA"}}, - {"offset": {"line": 35, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 39, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/@emotion/react/index.js"],"sourcesContent":["\"purposefully empty stub\";\n\"@emtion/react/index.js\";\n"],"names":[],"mappings":"AAAA;AACA"}}, - {"offset": {"line": 41, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 45, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/@emotion/styled/index.js"],"sourcesContent":["\"purposefully empty stub\";\n\"@emtion/styled/index.js\";\n"],"names":[],"mappings":"AAAA;AACA"}}, - {"offset": {"line": 47, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/emotion/emotion/input/index.js"],"sourcesContent":["/** @jsxImportSource @emotion/react */\n\nimport { jsx } from \"@emotion/react\";\nimport styled from \"@emotion/styled\";\n\nconst StyledButton = styled.button`\n background: blue;\n`;\n\nfunction ClassNameButton({ children }) {\n return (\n \n {children}\n \n );\n}\n\nconsole.log(StyledButton, ClassNameButton);\n"],"names":[],"mappings":"AAAA,oCAAoC;;;;;;;;AAKpC,MAAM,6BAAe,CAAA,GAAA,wMAAA,CAAA,UAAM,AAAD;;;AAI1B,SAAS,gBAAgB,EAAE,QAAQ,EAAE;IACnC,qBACE,uOAAC;QACC,WAAW,GAAG,CAAC;;MAEf,CAAC;kBAEA;;;;;;AAGP;AAEA,QAAQ,GAAG,CAAC,cAAc"}}, + {"offset": {"line": 31, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 36, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/@emotion/react/jsx-dev-runtime.js"],"sourcesContent":["\"purposefully empty stub\";\n\"@emtion/react/jsx-dev-runtime.js\";\n"],"names":[],"mappings":"AAAA;AACA"}}, + {"offset": {"line": 38, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 43, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/@emotion/react/index.js"],"sourcesContent":["\"purposefully empty stub\";\n\"@emtion/react/index.js\";\n"],"names":[],"mappings":"AAAA;AACA"}}, + {"offset": {"line": 45, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 50, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/@emotion/styled/index.js"],"sourcesContent":["\"purposefully empty stub\";\n\"@emtion/styled/index.js\";\n"],"names":[],"mappings":"AAAA;AACA"}}, + {"offset": {"line": 52, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/env/env/output/turbopack_crates_turbopack-tests_tests_snapshot_env_env_input_a18b44._.js b/turbopack/crates/turbopack-tests/tests/snapshot/env/env/output/turbopack_crates_turbopack-tests_tests_snapshot_env_env_input_a18b44._.js index 688586d6df679..5fc8214b816b3 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/env/env/output/turbopack_crates_turbopack-tests_tests_snapshot_env_env_input_a18b44._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/env/env/output/turbopack_crates_turbopack-tests_tests_snapshot_env_env_input_a18b44._.js @@ -1,7 +1,9 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/turbopack_crates_turbopack-tests_tests_snapshot_env_env_input_a18b44._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/env/env/input/.env/.env.js [test] (ecmascript)": (function({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require }) { !function() { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/env/env/input/.env/.env.js [test] (ecmascript)": (function(__turbopack_context__) { +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require } = __turbopack_context__; +{ const env = process.env = { ...process.env }; @@ -9,15 +11,15 @@ env["ALLFOOBAR"] = foobarfoobar; env["BARFOO"] = barfoo; env["FOO"] = foo; env["FOOBAR"] = foobar; +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/env/env/input/index.js [test] (ecmascript)": (function(__turbopack_context__) { -}.call(this) }), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/env/env/input/index.js [test] (ecmascript)": (function({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require }) { !function() { - +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require } = __turbopack_context__; +{ console.log(process.env.FOOBAR); console.log(process.env.BARFOO); console.log(process.env.ALLFOOBAR); - -}.call(this) }), +}}), }]); //# sourceMappingURL=turbopack_crates_turbopack-tests_tests_snapshot_env_env_input_a18b44._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/env/env/output/turbopack_crates_turbopack-tests_tests_snapshot_env_env_input_a18b44._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/env/env/output/turbopack_crates_turbopack-tests_tests_snapshot_env_env_input_a18b44._.js.map index f1b97d1859caf..1252b251e1c45 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/env/env/output/turbopack_crates_turbopack-tests_tests_snapshot_env_env_input_a18b44._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/env/env/output/turbopack_crates_turbopack-tests_tests_snapshot_env_env_input_a18b44._.js.map @@ -2,8 +2,8 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/env/env/input/.env/.env.js"],"sourcesContent":["const env = process.env = {...process.env};\n\nenv[\"ALLFOOBAR\"] = foobarfoobar;\nenv[\"BARFOO\"] = barfoo;\nenv[\"FOO\"] = foo;\nenv[\"FOOBAR\"] = foobar;\n"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG,GAAG;IAAC,GAAG,QAAQ,GAAG;AAAA;AAEzC,GAAG,CAAC,YAAY,GAAG;AACnB,GAAG,CAAC,SAAS,GAAG;AAChB,GAAG,CAAC,MAAM,GAAG;AACb,GAAG,CAAC,SAAS,GAAG"}}, - {"offset": {"line": 11, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 15, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/env/env/input/index.js"],"sourcesContent":["console.log(process.env.FOOBAR);\nconsole.log(process.env.BARFOO);\nconsole.log(process.env.ALLFOOBAR);\n"],"names":[],"mappings":"AAAA,QAAQ,GAAG,CAAC,QAAQ,GAAG,CAAC,MAAM;AAC9B,QAAQ,GAAG,CAAC,QAAQ,GAAG,CAAC,MAAM;AAC9B,QAAQ,GAAG,CAAC,QAAQ,GAAG,CAAC,SAAS"}}, - {"offset": {"line": 18, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 6, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/env/env/input/.env/.env.js"],"sourcesContent":["const env = process.env = {...process.env};\n\nenv[\"ALLFOOBAR\"] = foobarfoobar;\nenv[\"BARFOO\"] = barfoo;\nenv[\"FOO\"] = foo;\nenv[\"FOOBAR\"] = foobar;\n"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG,GAAG;IAAC,GAAG,QAAQ,GAAG;AAAA;AAEzC,GAAG,CAAC,YAAY,GAAG;AACnB,GAAG,CAAC,SAAS,GAAG;AAChB,GAAG,CAAC,MAAM,GAAG;AACb,GAAG,CAAC,SAAS,GAAG"}}, + {"offset": {"line": 13, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 18, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/env/env/input/index.js"],"sourcesContent":["console.log(process.env.FOOBAR);\nconsole.log(process.env.BARFOO);\nconsole.log(process.env.ALLFOOBAR);\n"],"names":[],"mappings":"AAAA,QAAQ,GAAG,CAAC,QAAQ,GAAG,CAAC,MAAM;AAC9B,QAAQ,GAAG,CAAC,QAAQ,GAAG,CAAC,MAAM;AAC9B,QAAQ,GAAG,CAAC,QAAQ,GAAG,CAAC,SAAS"}}, + {"offset": {"line": 21, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/evaluated_entrry/runtime_entry/output/4c35f_tests_snapshot_evaluated_entrry_runtime_entry_input_index_232496.js b/turbopack/crates/turbopack-tests/tests/snapshot/evaluated_entrry/runtime_entry/output/4c35f_tests_snapshot_evaluated_entrry_runtime_entry_input_index_232496.js index 3f6ba57882cbd..3d779d8016dd9 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/evaluated_entrry/runtime_entry/output/4c35f_tests_snapshot_evaluated_entrry_runtime_entry_input_index_232496.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/evaluated_entrry/runtime_entry/output/4c35f_tests_snapshot_evaluated_entrry_runtime_entry_input_index_232496.js @@ -1,10 +1,11 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/4c35f_tests_snapshot_evaluated_entrry_runtime_entry_input_index_232496.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/evaluated_entrry/runtime_entry/input/index.js [test] (ecmascript)": (function({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require }) { !function() { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/evaluated_entrry/runtime_entry/input/index.js [test] (ecmascript)": (function(__turbopack_context__) { +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require } = __turbopack_context__; +{ console.log("hello world"); - -}.call(this) }), +}}), }]); //# sourceMappingURL=4c35f_tests_snapshot_evaluated_entrry_runtime_entry_input_index_232496.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/evaluated_entrry/runtime_entry/output/4c35f_tests_snapshot_evaluated_entrry_runtime_entry_input_index_232496.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/evaluated_entrry/runtime_entry/output/4c35f_tests_snapshot_evaluated_entrry_runtime_entry_input_index_232496.js.map index 5f0313545ff9e..3eb9a01960c67 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/evaluated_entrry/runtime_entry/output/4c35f_tests_snapshot_evaluated_entrry_runtime_entry_input_index_232496.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/evaluated_entrry/runtime_entry/output/4c35f_tests_snapshot_evaluated_entrry_runtime_entry_input_index_232496.js.map @@ -2,6 +2,6 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/evaluated_entrry/runtime_entry/input/index.js"],"sourcesContent":["console.log(\"hello world\");\n"],"names":[],"mappings":"AAAA,QAAQ,GAAG,CAAC"}}, - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 6, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/evaluated_entrry/runtime_entry/input/index.js"],"sourcesContent":["console.log(\"hello world\");\n"],"names":[],"mappings":"AAAA,QAAQ,GAAG,CAAC"}}, + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/example/example/output/4e721_crates_turbopack-tests_tests_snapshot_example_example_input_index_74ebec.js b/turbopack/crates/turbopack-tests/tests/snapshot/example/example/output/4e721_crates_turbopack-tests_tests_snapshot_example_example_input_index_74ebec.js index c3211ae8e6473..be63051230037 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/example/example/output/4e721_crates_turbopack-tests_tests_snapshot_example_example_input_index_74ebec.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/example/example/output/4e721_crates_turbopack-tests_tests_snapshot_example_example_input_index_74ebec.js @@ -1,10 +1,11 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/4e721_crates_turbopack-tests_tests_snapshot_example_example_input_index_74ebec.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/example/example/input/index.js [test] (ecmascript)": (function({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require }) { !function() { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/example/example/input/index.js [test] (ecmascript)": (function(__turbopack_context__) { +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require } = __turbopack_context__; +{ console.log("hello world"); - -}.call(this) }), +}}), }]); //# sourceMappingURL=4e721_crates_turbopack-tests_tests_snapshot_example_example_input_index_74ebec.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/example/example/output/4e721_crates_turbopack-tests_tests_snapshot_example_example_input_index_74ebec.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/example/example/output/4e721_crates_turbopack-tests_tests_snapshot_example_example_input_index_74ebec.js.map index 8663f9945eab8..f5b6c32b7a607 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/example/example/output/4e721_crates_turbopack-tests_tests_snapshot_example_example_input_index_74ebec.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/example/example/output/4e721_crates_turbopack-tests_tests_snapshot_example_example_input_index_74ebec.js.map @@ -2,6 +2,6 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/example/example/input/index.js"],"sourcesContent":["console.log(\"hello world\");\n"],"names":[],"mappings":"AAAA,QAAQ,GAAG,CAAC"}}, - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 6, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/example/example/input/index.js"],"sourcesContent":["console.log(\"hello world\");\n"],"names":[],"mappings":"AAAA,QAAQ,GAAG,CAAC"}}, + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/output/turbopack_crates_turbopack-tests_tests_snapshot_export-alls_cjs-2_input_02fc46._.js b/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/output/turbopack_crates_turbopack-tests_tests_snapshot_export-alls_cjs-2_input_02fc46._.js index 72f03dfade77e..59c7454469684 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/output/turbopack_crates_turbopack-tests_tests_snapshot_export-alls_cjs-2_input_02fc46._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/output/turbopack_crates_turbopack-tests_tests_snapshot_export-alls_cjs-2_input_02fc46._.js @@ -1,14 +1,17 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/turbopack_crates_turbopack-tests_tests_snapshot_export-alls_cjs-2_input_02fc46._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/input/commonjs.js [test] (ecmascript)": (function({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require }) { !function() { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/input/commonjs.js [test] (ecmascript)": (function(__turbopack_context__) { +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require } = __turbopack_context__; +{ // commonjs.js exports.hello = "World"; - -}.call(this) }), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/input/c.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/input/c.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ // c.js __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$export$2d$alls$2f$cjs$2d$2$2f$input$2f$commonjs$2e$js__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/input/commonjs.js [test] (ecmascript)"); @@ -16,11 +19,12 @@ __turbopack_dynamic__(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$ "__TURBOPACK__ecmascript__hoisting__location__"; ; // This would be handled by existing logic - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/input/b.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/input/b.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ // b.js __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$export$2d$alls$2f$cjs$2d$2$2f$input$2f$c$2e$js__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/input/c.js [test] (ecmascript)"); @@ -29,19 +33,19 @@ __turbopack_dynamic__(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$ ; // This would not be handled, but still need __turbopack__cjs__ // as there are properties dynamically added by __turbopack__cjs__ in c.js - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ // a.js __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$export$2d$alls$2f$cjs$2d$2$2f$input$2f$b$2e$js__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/input/b.js [test] (ecmascript)"); "__TURBOPACK__ecmascript__hoisting__location__"; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$export$2d$alls$2f$cjs$2d$2$2f$input$2f$b$2e$js__$5b$test$5d$__$28$ecmascript$29$__); - -})()), +}}), }]); //# sourceMappingURL=turbopack_crates_turbopack-tests_tests_snapshot_export-alls_cjs-2_input_02fc46._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/output/turbopack_crates_turbopack-tests_tests_snapshot_export-alls_cjs-2_input_02fc46._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/output/turbopack_crates_turbopack-tests_tests_snapshot_export-alls_cjs-2_input_02fc46._.js.map index aa399b53feed7..597e6999e9d9e 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/output/turbopack_crates_turbopack-tests_tests_snapshot_export-alls_cjs-2_input_02fc46._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/output/turbopack_crates_turbopack-tests_tests_snapshot_export-alls_cjs-2_input_02fc46._.js.map @@ -2,12 +2,12 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/input/commonjs.js"],"sourcesContent":["// commonjs.js\nexports.hello = \"World\";\n\n"],"names":[],"mappings":"AAAA,cAAc;AACd,QAAQ,KAAK,GAAG"}}, - {"offset": {"line": 6, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 11, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/input/c.js"],"sourcesContent":["// c.js\nexport * from \"./commonjs.js\";\n// This would be handled by existing logic\n"],"names":[],"mappings":"AAAA,OAAO;;;;;;CAEP,0CAA0C"}}, - {"offset": {"line": 18, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 23, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/input/b.js"],"sourcesContent":["// b.js\nexport * from \"./c\";\n// This would not be handled, but still need __turbopack__cjs__\n// as there are properties dynamically added by __turbopack__cjs__ in c.js\n"],"names":[],"mappings":"AAAA,OAAO;;;;;;CAEP,+DAA+D;CAC/D,0EAA0E"}}, - {"offset": {"line": 31, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 36, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/input/index.js"],"sourcesContent":["// a.js\nimport * as B from \"./b\";\nconsole.log(B);"],"names":[],"mappings":"AAAA,OAAO;;;;;AAEP,QAAQ,GAAG,CAAC"}}, - {"offset": {"line": 42, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 6, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/input/commonjs.js"],"sourcesContent":["// commonjs.js\nexports.hello = \"World\";\n\n"],"names":[],"mappings":"AAAA,cAAc;AACd,QAAQ,KAAK,GAAG"}}, + {"offset": {"line": 8, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 14, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/input/c.js"],"sourcesContent":["// c.js\nexport * from \"./commonjs.js\";\n// This would be handled by existing logic\n"],"names":[],"mappings":"AAAA,OAAO;;;;;;CAEP,0CAA0C"}}, + {"offset": {"line": 21, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 27, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/input/b.js"],"sourcesContent":["// b.js\nexport * from \"./c\";\n// This would not be handled, but still need __turbopack__cjs__\n// as there are properties dynamically added by __turbopack__cjs__ in c.js\n"],"names":[],"mappings":"AAAA,OAAO;;;;;;CAEP,+DAA+D;CAC/D,0EAA0E"}}, + {"offset": {"line": 35, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 41, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/input/index.js"],"sourcesContent":["// a.js\nimport * as B from \"./b\";\nconsole.log(B);"],"names":[],"mappings":"AAAA,OAAO;;;;;AAEP,QAAQ,GAAG,CAAC"}}, + {"offset": {"line": 47, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-script/output/4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-script_input_97f0a8._.js b/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-script/output/4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-script_input_97f0a8._.js index 969b8623f9b17..0531bab41acdc 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-script/output/4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-script_input_97f0a8._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-script/output/4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-script_input_97f0a8._.js @@ -1,34 +1,37 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-script_input_97f0a8._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-script/input/exported.cjs [test] (ecmascript)": (function({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require }) { !function() { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-script/input/exported.cjs [test] (ecmascript)": (function(__turbopack_context__) { +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require } = __turbopack_context__; +{ module.exports = { foo: 1, bar: 2 }; - -}.call(this) }), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-script/input/mod.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-script/input/mod.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$export$2d$alls$2f$cjs$2d$script$2f$input$2f$exported$2e$cjs__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-script/input/exported.cjs [test] (ecmascript)"); __turbopack_dynamic__(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$export$2d$alls$2f$cjs$2d$script$2f$input$2f$exported$2e$cjs__$5b$test$5d$__$28$ecmascript$29$__); "__TURBOPACK__ecmascript__hoisting__location__"; ; console.log('Hoist test'); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-script/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-script/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$export$2d$alls$2f$cjs$2d$script$2f$input$2f$mod$2e$js__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-script/input/mod.js [test] (ecmascript)"); "__TURBOPACK__ecmascript__hoisting__location__"; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$export$2d$alls$2f$cjs$2d$script$2f$input$2f$mod$2e$js__$5b$test$5d$__$28$ecmascript$29$__); - -})()), +}}), }]); //# sourceMappingURL=4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-script_input_97f0a8._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-script/output/4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-script_input_97f0a8._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-script/output/4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-script_input_97f0a8._.js.map index 7e8d7764e8e61..74653d5a2c15f 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-script/output/4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-script_input_97f0a8._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-script/output/4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-script_input_97f0a8._.js.map @@ -2,10 +2,10 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-script/input/exported.cjs"],"sourcesContent":["module.exports = { foo: 1, bar: 2 }"],"names":[],"mappings":"AAAA,OAAO,OAAO,GAAG;IAAE,KAAK;IAAG,KAAK;AAAE"}}, - {"offset": {"line": 8, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 13, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-script/input/mod.js"],"sourcesContent":["\nexport * from './exported.cjs'\n\nconsole.log('Hoist test')"],"names":[],"mappings":";;;;;AAGA,QAAQ,GAAG,CAAC"}}, - {"offset": {"line": 19, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 24, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-script/input/index.js"],"sourcesContent":["import * as foo from './mod.js';\n\nconsole.log(foo)"],"names":[],"mappings":";;;;AAEA,QAAQ,GAAG,CAAC"}}, - {"offset": {"line": 29, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 6, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-script/input/exported.cjs"],"sourcesContent":["module.exports = { foo: 1, bar: 2 }"],"names":[],"mappings":"AAAA,OAAO,OAAO,GAAG;IAAE,KAAK;IAAG,KAAK;AAAE"}}, + {"offset": {"line": 10, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 16, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-script/input/mod.js"],"sourcesContent":["\nexport * from './exported.cjs'\n\nconsole.log('Hoist test')"],"names":[],"mappings":";;;;;AAGA,QAAQ,GAAG,CAAC"}}, + {"offset": {"line": 22, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 28, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-script/input/index.js"],"sourcesContent":["import * as foo from './mod.js';\n\nconsole.log(foo)"],"names":[],"mappings":";;;;AAEA,QAAQ,GAAG,CAAC"}}, + {"offset": {"line": 33, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/cjs/output/turbopack_crates_turbopack-tests_tests_snapshot_import-meta_cjs_input_8e1e02._.js b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/cjs/output/turbopack_crates_turbopack-tests_tests_snapshot_import-meta_cjs_input_8e1e02._.js index 589c4f5d58a60..cc09f617ce3ce 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/cjs/output/turbopack_crates_turbopack-tests_tests_snapshot_import-meta_cjs_input_8e1e02._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/cjs/output/turbopack_crates_turbopack-tests_tests_snapshot_import-meta_cjs_input_8e1e02._.js @@ -1,7 +1,9 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/turbopack_crates_turbopack-tests_tests_snapshot_import-meta_cjs_input_8e1e02._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/cjs/input/mod.cjs [test] (ecmascript)": (function({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require }) { !function() { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/cjs/input/mod.cjs [test] (ecmascript)": (function(__turbopack_context__) { +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require } = __turbopack_context__; +{ const __TURBOPACK__import$2e$meta__ = { get url () { return `file://${__turbopack_resolve_absolute_path__("turbopack/crates/turbopack-tests/tests/snapshot/import-meta/cjs/input/mod.cjs")}`; @@ -9,17 +11,17 @@ const __TURBOPACK__import$2e$meta__ = { }; "__TURBOPACK__ecmascript__hoisting__location__"; console.log(__TURBOPACK__import$2e$meta__.url); - -}.call(this) }), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/cjs/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/cjs/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$import$2d$meta$2f$cjs$2f$input$2f$mod$2e$cjs__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/cjs/input/mod.cjs [test] (ecmascript)"); "__TURBOPACK__ecmascript__hoisting__location__"; ; - -})()), +}}), }]); //# sourceMappingURL=turbopack_crates_turbopack-tests_tests_snapshot_import-meta_cjs_input_8e1e02._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/cjs/output/turbopack_crates_turbopack-tests_tests_snapshot_import-meta_cjs_input_8e1e02._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/cjs/output/turbopack_crates_turbopack-tests_tests_snapshot_import-meta_cjs_input_8e1e02._.js.map index 9cc5a5a62898c..8cb207a079deb 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/cjs/output/turbopack_crates_turbopack-tests_tests_snapshot_import-meta_cjs_input_8e1e02._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/cjs/output/turbopack_crates_turbopack-tests_tests_snapshot_import-meta_cjs_input_8e1e02._.js.map @@ -2,8 +2,8 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/cjs/input/mod.cjs"],"sourcesContent":["console.log(import.meta.url);\n"],"names":[],"mappings":";;;;;;AAAA,QAAQ,GAAG,CAAC,8BAAY,GAAG"}}, - {"offset": {"line": 11, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 16, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 20, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 6, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/cjs/input/mod.cjs"],"sourcesContent":["console.log(import.meta.url);\n"],"names":[],"mappings":";;;;;;AAAA,QAAQ,GAAG,CAAC,8BAAY,GAAG"}}, + {"offset": {"line": 13, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 19, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 23, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-multiple/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-multiple_input_2057b4._.js b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-multiple/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-multiple_input_2057b4._.js index 277a2f779d8c1..aaeea171ca41f 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-multiple/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-multiple_input_2057b4._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-multiple/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-multiple_input_2057b4._.js @@ -1,8 +1,10 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-multiple_input_2057b4._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-multiple/input/mod.mjs [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-multiple/input/mod.mjs [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); const __TURBOPACK__import$2e$meta__ = { get url () { @@ -18,17 +20,17 @@ function bar() { } foo(); bar(); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-multiple/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-multiple/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$import$2d$meta$2f$esm$2d$multiple$2f$input$2f$mod$2e$mjs__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-multiple/input/mod.mjs [test] (ecmascript)"); "__TURBOPACK__ecmascript__hoisting__location__"; ; - -})()), +}}), }]); //# sourceMappingURL=4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-multiple_input_2057b4._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-multiple/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-multiple_input_2057b4._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-multiple/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-multiple_input_2057b4._.js.map index 8815f04d9ebaf..6f2fe53f43999 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-multiple/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-multiple_input_2057b4._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-multiple/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-multiple_input_2057b4._.js.map @@ -2,8 +2,8 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-multiple/input/mod.mjs"],"sourcesContent":["function foo() {\n console.log(import.meta.url);\n}\nfunction bar() {\n console.log(import.meta.url);\n}\n\nfoo();\nbar();\n"],"names":[],"mappings":";;;;;;;AAAA,SAAS;IACP,QAAQ,GAAG,CAAC,8BAAY,GAAG;AAC7B;AACA,SAAS;IACP,QAAQ,GAAG,CAAC,8BAAY,GAAG;AAC7B;AAEA;AACA"}}, - {"offset": {"line": 20, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 25, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 29, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-multiple/input/mod.mjs"],"sourcesContent":["function foo() {\n console.log(import.meta.url);\n}\nfunction bar() {\n console.log(import.meta.url);\n}\n\nfoo();\nbar();\n"],"names":[],"mappings":";;;;;;;AAAA,SAAS;IACP,QAAQ,GAAG,CAAC,8BAAY,GAAG;AAC7B;AACA,SAAS;IACP,QAAQ,GAAG,CAAC,8BAAY,GAAG;AAC7B;AAEA;AACA"}}, + {"offset": {"line": 22, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 28, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 32, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-mutable/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-mutable_input_f8b72a._.js b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-mutable/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-mutable_input_f8b72a._.js index a441afccb2400..79ef9814bba25 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-mutable/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-mutable_input_f8b72a._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-mutable/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-mutable_input_f8b72a._.js @@ -1,8 +1,10 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-mutable_input_f8b72a._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-mutable/input/mod.mjs [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-mutable/input/mod.mjs [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); const __TURBOPACK__import$2e$meta__ = { get url () { @@ -11,17 +13,17 @@ const __TURBOPACK__import$2e$meta__ = { }; "__TURBOPACK__ecmascript__hoisting__location__"; __TURBOPACK__import$2e$meta__.foo = 1; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-mutable/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-mutable/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$import$2d$meta$2f$esm$2d$mutable$2f$input$2f$mod$2e$mjs__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-mutable/input/mod.mjs [test] (ecmascript)"); "__TURBOPACK__ecmascript__hoisting__location__"; ; - -})()), +}}), }]); //# sourceMappingURL=4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-mutable_input_f8b72a._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-mutable/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-mutable_input_f8b72a._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-mutable/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-mutable_input_f8b72a._.js.map index 51ba50aaa8e96..73b59d4d471ea 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-mutable/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-mutable_input_f8b72a._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-mutable/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-mutable_input_f8b72a._.js.map @@ -2,8 +2,8 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-mutable/input/mod.mjs"],"sourcesContent":["import.meta.foo = 1;\n"],"names":[],"mappings":";;;;;;;AAAA,8BAAY,GAAG,GAAG"}}, - {"offset": {"line": 13, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 18, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 22, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-mutable/input/mod.mjs"],"sourcesContent":["import.meta.foo = 1;\n"],"names":[],"mappings":";;;;;;;AAAA,8BAAY,GAAG,GAAG"}}, + {"offset": {"line": 15, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 21, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 25, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-object/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-object_input_4681c8._.js b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-object/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-object_input_4681c8._.js index 4c743cef5ee2c..b70f0bcc21614 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-object/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-object_input_4681c8._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-object/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-object_input_4681c8._.js @@ -1,8 +1,10 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-object_input_4681c8._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-object/input/mod.mjs [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-object/input/mod.mjs [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); const __TURBOPACK__import$2e$meta__ = { get url () { @@ -11,17 +13,17 @@ const __TURBOPACK__import$2e$meta__ = { }; "__TURBOPACK__ecmascript__hoisting__location__"; console.log(__TURBOPACK__import$2e$meta__); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-object/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-object/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$import$2d$meta$2f$esm$2d$object$2f$input$2f$mod$2e$mjs__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-object/input/mod.mjs [test] (ecmascript)"); "__TURBOPACK__ecmascript__hoisting__location__"; ; - -})()), +}}), }]); //# sourceMappingURL=4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-object_input_4681c8._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-object/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-object_input_4681c8._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-object/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-object_input_4681c8._.js.map index a16ec9014e5e2..7f80dbd496f49 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-object/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-object_input_4681c8._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-object/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-object_input_4681c8._.js.map @@ -2,8 +2,8 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-object/input/mod.mjs"],"sourcesContent":["console.log(import.meta);\n"],"names":[],"mappings":";;;;;;;AAAA,QAAQ,GAAG"}}, - {"offset": {"line": 13, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 18, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 22, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-object/input/mod.mjs"],"sourcesContent":["console.log(import.meta);\n"],"names":[],"mappings":";;;;;;;AAAA,QAAQ,GAAG"}}, + {"offset": {"line": 15, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 21, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 25, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm/output/turbopack_crates_turbopack-tests_tests_snapshot_import-meta_esm_input_187fac._.js b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm/output/turbopack_crates_turbopack-tests_tests_snapshot_import-meta_esm_input_187fac._.js index cf677b900003f..848602a928cee 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm/output/turbopack_crates_turbopack-tests_tests_snapshot_import-meta_esm_input_187fac._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm/output/turbopack_crates_turbopack-tests_tests_snapshot_import-meta_esm_input_187fac._.js @@ -1,8 +1,10 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/turbopack_crates_turbopack-tests_tests_snapshot_import-meta_esm_input_187fac._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm/input/mod.mjs [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm/input/mod.mjs [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); const __TURBOPACK__import$2e$meta__ = { get url () { @@ -11,17 +13,17 @@ const __TURBOPACK__import$2e$meta__ = { }; "__TURBOPACK__ecmascript__hoisting__location__"; console.log(__TURBOPACK__import$2e$meta__.url); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$import$2d$meta$2f$esm$2f$input$2f$mod$2e$mjs__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm/input/mod.mjs [test] (ecmascript)"); "__TURBOPACK__ecmascript__hoisting__location__"; ; - -})()), +}}), }]); //# sourceMappingURL=turbopack_crates_turbopack-tests_tests_snapshot_import-meta_esm_input_187fac._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm/output/turbopack_crates_turbopack-tests_tests_snapshot_import-meta_esm_input_187fac._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm/output/turbopack_crates_turbopack-tests_tests_snapshot_import-meta_esm_input_187fac._.js.map index 853ae87c845cb..00ee994f74cf5 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm/output/turbopack_crates_turbopack-tests_tests_snapshot_import-meta_esm_input_187fac._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm/output/turbopack_crates_turbopack-tests_tests_snapshot_import-meta_esm_input_187fac._.js.map @@ -2,8 +2,8 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm/input/mod.mjs"],"sourcesContent":["console.log(import.meta.url);\n"],"names":[],"mappings":";;;;;;;AAAA,QAAQ,GAAG,CAAC,8BAAY,GAAG"}}, - {"offset": {"line": 13, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 18, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 22, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm/input/mod.mjs"],"sourcesContent":["console.log(import.meta.url);\n"],"names":[],"mappings":";;;;;;;AAAA,QAAQ,GAAG,CAAC,8BAAY,GAAG"}}, + {"offset": {"line": 15, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 21, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 25, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/url/output/turbopack_crates_turbopack-tests_tests_snapshot_import-meta_url_input_6c57ac._.js b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/url/output/turbopack_crates_turbopack-tests_tests_snapshot_import-meta_url_input_6c57ac._.js index 99799054de050..50ba891adb148 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/url/output/turbopack_crates_turbopack-tests_tests_snapshot_import-meta_url_input_6c57ac._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/url/output/turbopack_crates_turbopack-tests_tests_snapshot_import-meta_url_input_6c57ac._.js @@ -1,12 +1,15 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/turbopack_crates_turbopack-tests_tests_snapshot_import-meta_url_input_6c57ac._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/url/input/asset.txt [test] (static)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/url/input/asset.txt [test] (static)": ((__turbopack_context__) => { -__turbopack_export_value__("/static/asset.05254cf2.txt"); -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/url/input/mod.mjs [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, t: require } = __turbopack_context__; +{ +__turbopack_export_value__("/static/asset.05254cf2.txt");}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/url/input/mod.mjs [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); const __TURBOPACK__import$2e$meta__ = { get url () { @@ -17,17 +20,17 @@ const __TURBOPACK__import$2e$meta__ = { const assetUrl = new __turbopack_relative_url__(__turbopack_require__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/url/input/asset.txt [test] (static)")); console.log(assetUrl); fetch(assetUrl).then((res)=>res.text()).then(console.log); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/url/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/url/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$import$2d$meta$2f$url$2f$input$2f$mod$2e$mjs__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/url/input/mod.mjs [test] (ecmascript)"); "__TURBOPACK__ecmascript__hoisting__location__"; ; - -})()), +}}), }]); //# sourceMappingURL=turbopack_crates_turbopack-tests_tests_snapshot_import-meta_url_input_6c57ac._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/url/output/turbopack_crates_turbopack-tests_tests_snapshot_import-meta_url_input_6c57ac._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/url/output/turbopack_crates_turbopack-tests_tests_snapshot_import-meta_url_input_6c57ac._.js.map index 75186b24bc64e..3e4c37a1625a9 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/url/output/turbopack_crates_turbopack-tests_tests_snapshot_import-meta_url_input_6c57ac._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/url/output/turbopack_crates_turbopack-tests_tests_snapshot_import-meta_url_input_6c57ac._.js.map @@ -2,8 +2,8 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 9, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/url/input/mod.mjs"],"sourcesContent":["const assetUrl = new URL('./asset.txt', import.meta.url);\n\nconsole.log(assetUrl);\nfetch(assetUrl)\n .then(res => res.text())\n .then(console.log);\n"],"names":[],"mappings":";;;;;;;AAAA,MAAM;AAEN,QAAQ,GAAG,CAAC;AACZ,MAAM,UACH,IAAI,CAAC,CAAA,MAAO,IAAI,IAAI,IACpB,IAAI,CAAC,QAAQ,GAAG"}}, - {"offset": {"line": 19, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 24, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 28, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 12, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/url/input/mod.mjs"],"sourcesContent":["const assetUrl = new URL('./asset.txt', import.meta.url);\n\nconsole.log(assetUrl);\nfetch(assetUrl)\n .then(res => res.text())\n .then(console.log);\n"],"names":[],"mappings":";;;;;;;AAAA,MAAM;AAEN,QAAQ,GAAG,CAAC;AACZ,MAAM,UACH,IAAI,CAAC,CAAA,MAAO,IAAI,IAAI,IACpB,IAAI,CAAC,QAAQ,GAAG"}}, + {"offset": {"line": 22, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 28, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 32, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/duplicate-binding/output/4e721_crates_turbopack-tests_tests_snapshot_imports_duplicate-binding_input_8498b7._.js b/turbopack/crates/turbopack-tests/tests/snapshot/imports/duplicate-binding/output/4e721_crates_turbopack-tests_tests_snapshot_imports_duplicate-binding_input_8498b7._.js index f8a3e8829f16f..c8e366f06c764 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/imports/duplicate-binding/output/4e721_crates_turbopack-tests_tests_snapshot_imports_duplicate-binding_input_8498b7._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/imports/duplicate-binding/output/4e721_crates_turbopack-tests_tests_snapshot_imports_duplicate-binding_input_8498b7._.js @@ -1,19 +1,22 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/4e721_crates_turbopack-tests_tests_snapshot_imports_duplicate-binding_input_8498b7._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/duplicate-binding/input/table.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/duplicate-binding/input/table.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "Table": ()=>Table }); const Table = ()=>{ return 'table'; }; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/duplicate-binding/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/duplicate-binding/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "Table": ()=>Table }); @@ -23,8 +26,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo function Table() { console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$imports$2f$duplicate$2d$binding$2f$input$2f$table$2e$js__$5b$test$5d$__$28$ecmascript$29$__["Table"]); } - -})()), +}}), }]); //# sourceMappingURL=4e721_crates_turbopack-tests_tests_snapshot_imports_duplicate-binding_input_8498b7._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/duplicate-binding/output/4e721_crates_turbopack-tests_tests_snapshot_imports_duplicate-binding_input_8498b7._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/imports/duplicate-binding/output/4e721_crates_turbopack-tests_tests_snapshot_imports_duplicate-binding_input_8498b7._.js.map index 8fce7e438be68..c49bd09612594 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/imports/duplicate-binding/output/4e721_crates_turbopack-tests_tests_snapshot_imports_duplicate-binding_input_8498b7._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/imports/duplicate-binding/output/4e721_crates_turbopack-tests_tests_snapshot_imports_duplicate-binding_input_8498b7._.js.map @@ -2,8 +2,8 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/duplicate-binding/input/table.js"],"sourcesContent":["export const Table = ()=>{\n return 'table'\n}\n"],"names":[],"mappings":";;;AAAO,MAAM,QAAQ;IACnB,OAAO;AACT"}}, - {"offset": {"line": 11, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 16, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/duplicate-binding/input/index.js"],"sourcesContent":["\nimport { Table } from \"./table\"\n\nexport function Table() {\n console.log(Table)\n}\n"],"names":[],"mappings":";;;;;;AAGO,SAAS;IACZ,QAAQ,GAAG,CAAC,6MAAA,CAAA,QAAK;AACrB"}}, - {"offset": {"line": 25, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/duplicate-binding/input/table.js"],"sourcesContent":["export const Table = ()=>{\n return 'table'\n}\n"],"names":[],"mappings":";;;AAAO,MAAM,QAAQ;IACnB,OAAO;AACT"}}, + {"offset": {"line": 13, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 19, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/duplicate-binding/input/index.js"],"sourcesContent":["\nimport { Table } from \"./table\"\n\nexport function Table() {\n console.log(Table)\n}\n"],"names":[],"mappings":";;;;;;AAGO,SAAS;IACZ,QAAQ,GAAG,CAAC,6MAAA,CAAA,QAAK;AACrB"}}, + {"offset": {"line": 28, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_vercel_mjs_011538._.js b/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_vercel_mjs_011538._.js index d6e24490a7989..6502d14b47306 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_vercel_mjs_011538._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_vercel_mjs_011538._.js @@ -1,7 +1,9 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/4e721_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_vercel_mjs_011538._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/input/vercel.mjs [test] (ecmascript, async loader)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/input/vercel.mjs [test] (ecmascript, async loader)": ((__turbopack_context__) => { +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, t: require } = __turbopack_context__; +{ __turbopack_export_value__((__turbopack_import__) => { return Promise.all([ "output/4e721_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_vercel_mjs_7f2965._.js" @@ -9,6 +11,5 @@ __turbopack_export_value__((__turbopack_import__) => { return __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/input/vercel.mjs [test] (ecmascript)"); }); }); - -})()), +}}), }]); \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_vercel_mjs_7f2965._.js b/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_vercel_mjs_7f2965._.js index 2ec877238e8d0..35616e0d4de2f 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_vercel_mjs_7f2965._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_vercel_mjs_7f2965._.js @@ -1,14 +1,15 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/4e721_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_vercel_mjs_7f2965._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/input/vercel.mjs [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/input/vercel.mjs [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "default": ()=>__TURBOPACK__default__export__ }); const __TURBOPACK__default__export__ = "turbopack"; - -})()), +}}), }]); //# sourceMappingURL=4e721_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_vercel_mjs_7f2965._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_vercel_mjs_7f2965._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_vercel_mjs_7f2965._.js.map index 70134f938fdf6..460c21bd32370 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_vercel_mjs_7f2965._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_vercel_mjs_7f2965._.js.map @@ -2,6 +2,6 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/input/vercel.mjs"],"sourcesContent":["export default \"turbopack\";\n"],"names":[],"mappings":";;;uCAAe"}}, - {"offset": {"line": 9, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/input/vercel.mjs"],"sourcesContent":["export default \"turbopack\";\n"],"names":[],"mappings":";;;uCAAe"}}, + {"offset": {"line": 11, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_041623._.js b/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_041623._.js index 5cdebf6e790f3..0bc9da754d954 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_041623._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_041623._.js @@ -1,12 +1,15 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/turbopack_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_041623._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/input/vercel.cjs [test] (ecmascript)": (function({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require }) { !function() { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/input/vercel.cjs [test] (ecmascript)": (function(__turbopack_context__) { +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require } = __turbopack_context__; +{ module.exports = "turbopack"; +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/input/index.js [test] (ecmascript)": (function(__turbopack_context__) { -}.call(this) }), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/input/index.js [test] (ecmascript)": (function({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require }) { !function() { - +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require } = __turbopack_context__; +{ __turbopack_require__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/input/vercel.mjs [test] (ecmascript, async loader)")(__turbopack_import__).then(console.log); __turbopack_require__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/input/vercel.mjs [test] (ecmascript, async loader)")(__turbopack_import__).then(console.log); console.log(__turbopack_require__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/input/vercel.cjs [test] (ecmascript)")); @@ -18,8 +21,7 @@ import(/* turbopackIgnore: true */ "./ignore.mjs"); __turbopack_require__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/input/vercel.mjs [test] (ecmascript, async loader)")(__turbopack_import__).then(console.log); require(/* webpackIgnore: true */ "./ignore.cjs"); require(/* turbopackIgnore: true */ "./ignore.cjs"); - -}.call(this) }), +}}), }]); //# sourceMappingURL=turbopack_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_041623._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_041623._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_041623._.js.map index f88c60454bc80..a59f01470e3e8 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_041623._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_041623._.js.map @@ -2,8 +2,8 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/input/vercel.cjs"],"sourcesContent":["module.exports = \"turbopack\";\n"],"names":[],"mappings":"AAAA,OAAO,OAAO,GAAG"}}, - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 9, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/input/index.js"],"sourcesContent":["import(\"./vercel.mjs\").then(console.log);\nimport(/* webpackIgnore: false */ \"./vercel.mjs\").then(console.log);\nconsole.log(require(\"./vercel.cjs\"));\n\n// turbopack shouldn't attempt to bundle these, and they should be preserved as dynamic esm imports\n// in the output\nimport(/* webpackIgnore: true */ \"./ignore.mjs\");\nimport(/* turbopackIgnore: true */ \"./ignore.mjs\");\n\n// this should work for cjs requires too\nimport(\"./vercel.mjs\").then(console.log);\nrequire(/* webpackIgnore: true */ \"./ignore.cjs\");\nrequire(/* turbopackIgnore: true */ \"./ignore.cjs\");\n"],"names":[],"mappings":"AAAA,4KAAuB,IAAI,CAAC,QAAQ,GAAG;AACvC,4KAAkD,IAAI,CAAC,QAAQ,GAAG;AAClE,QAAQ,GAAG;AAEX,mGAAmG;AACnG,gBAAgB;AAChB,MAAM,CAAC,uBAAuB,GAAG;AACjC,MAAM,CAAC,yBAAyB,GAAG;AAEnC,wCAAwC;AACxC,4KAAuB,IAAI,CAAC,QAAQ,GAAG;AACvC,QAAQ,uBAAuB,GAAG;AAClC,QAAQ,yBAAyB,GAAG"}}, - {"offset": {"line": 20, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 6, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/input/vercel.cjs"],"sourcesContent":["module.exports = \"turbopack\";\n"],"names":[],"mappings":"AAAA,OAAO,OAAO,GAAG"}}, + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 12, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/input/index.js"],"sourcesContent":["import(\"./vercel.mjs\").then(console.log);\nimport(/* webpackIgnore: false */ \"./vercel.mjs\").then(console.log);\nconsole.log(require(\"./vercel.cjs\"));\n\n// turbopack shouldn't attempt to bundle these, and they should be preserved as dynamic esm imports\n// in the output\nimport(/* webpackIgnore: true */ \"./ignore.mjs\");\nimport(/* turbopackIgnore: true */ \"./ignore.mjs\");\n\n// this should work for cjs requires too\nimport(\"./vercel.mjs\").then(console.log);\nrequire(/* webpackIgnore: true */ \"./ignore.cjs\");\nrequire(/* turbopackIgnore: true */ \"./ignore.cjs\");\n"],"names":[],"mappings":"AAAA,4KAAuB,IAAI,CAAC,QAAQ,GAAG;AACvC,4KAAkD,IAAI,CAAC,QAAQ,GAAG;AAClE,QAAQ,GAAG;AAEX,mGAAmG;AACnG,gBAAgB;AAChB,MAAM,CAAC,uBAAuB,GAAG;AACjC,MAAM,CAAC,yBAAyB,GAAG;AAEnC,wCAAwC;AACxC,4KAAuB,IAAI,CAAC,QAAQ,GAAG;AACvC,QAAQ,uBAAuB,GAAG;AAClC,QAAQ,yBAAyB,GAAG"}}, + {"offset": {"line": 23, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/json/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_json_input_52abdb._.js b/turbopack/crates/turbopack-tests/tests/snapshot/imports/json/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_json_input_52abdb._.js index b855df11f8210..120e350b48e09 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/imports/json/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_json_input_52abdb._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/imports/json/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_json_input_52abdb._.js @@ -1,17 +1,20 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/turbopack_crates_turbopack-tests_tests_snapshot_imports_json_input_52abdb._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/json/input/package.json (json)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/json/input/package.json (json)": ((__turbopack_context__) => { -__turbopack_export_value__(JSON.parse("{\"name\":\"json-snapshot\"}")); -})()), +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, t: require } = __turbopack_context__; +{ +__turbopack_export_value__(JSON.parse("{\"name\":\"json-snapshot\"}"));}}), "[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/json/input/invalid.json (json)": (() => {{ throw new Error("An error occurred while generating the chunk item [project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/json/input/invalid.json (json)\n\nCaused by:\n- Unable to make a module from invalid JSON: expected `,` or `}` at line 3 column 26\n\nDebug info:\n- An error occurred while generating the chunk item [project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/json/input/invalid.json (json)\n- Execution of *EcmascriptChunkItemContent::module_factory failed\n- Execution of ::content failed\n- Unable to make a module from invalid JSON: expected `,` or `}` at line 3 column 26\n at nested.?\n 1 | {\n 2 | \"nested\": {\n | v\n 3 + \"this-is\": \"invalid\" // lint-staged will remove trailing commas, so here's a comment\n | ^\n 4 | }\n 5 | }"); }}), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/json/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/json/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$imports$2f$json$2f$input$2f$package$2e$json__$28$json$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/json/input/package.json (json)"); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$imports$2f$json$2f$input$2f$invalid$2e$json__$28$json$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/json/input/invalid.json (json)"); @@ -20,8 +23,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$imports$2f$json$2f$input$2f$package$2e$json__$28$json$29$__["default"].name); ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$imports$2f$json$2f$input$2f$invalid$2e$json__$28$json$29$__["default"]["this-is"]); - -})()), +}}), }]); //# sourceMappingURL=turbopack_crates_turbopack-tests_tests_snapshot_imports_json_input_52abdb._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/json/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_json_input_52abdb._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/imports/json/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_json_input_52abdb._.js.map index 64c51620b35bc..44818b72f20c9 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/imports/json/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_json_input_52abdb._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/imports/json/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_json_input_52abdb._.js.map @@ -2,6 +2,6 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 14, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/json/input/index.js"],"sourcesContent":["import pkg from \"./package.json\";\nconsole.log(pkg.name);\nimport invalid from \"./invalid.json\";\nconsole.log(invalid[\"this-is\"]);\n"],"names":[],"mappings":";;;;;AACA,QAAQ,GAAG,CAAC,6KAAA,CAAA,UAAG,CAAC,IAAI;;AAEpB,QAAQ,GAAG,CAAC,6KAAA,CAAA,UAAO,CAAC,UAAU"}}, - {"offset": {"line": 22, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 17, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/json/input/index.js"],"sourcesContent":["import pkg from \"./package.json\";\nconsole.log(pkg.name);\nimport invalid from \"./invalid.json\";\nconsole.log(invalid[\"this-is\"]);\n"],"names":[],"mappings":";;;;;AACA,QAAQ,GAAG,CAAC,6KAAA,CAAA,UAAG,CAAC,IAAI;;AAEpB,QAAQ,GAAG,CAAC,6KAAA,CAAA,UAAO,CAAC,UAAU"}}, + {"offset": {"line": 25, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/order/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_order_input_152f31._.js b/turbopack/crates/turbopack-tests/tests/snapshot/imports/order/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_order_input_152f31._.js index 7152591c680e8..d67f28ec34886 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/imports/order/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_order_input_152f31._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/imports/order/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_order_input_152f31._.js @@ -1,19 +1,22 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/turbopack_crates_turbopack-tests_tests_snapshot_imports_order_input_152f31._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/order/input/posts.ts [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/order/input/posts.ts [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "default": ()=>__TURBOPACK__default__export__ }); const __TURBOPACK__default__export__ = { js: true }; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/order/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/order/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$imports$2f$order$2f$input$2f$posts$2e$ts__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/order/input/posts.ts [test] (ecmascript)"); "__TURBOPACK__ecmascript__hoisting__location__"; @@ -22,8 +25,7 @@ console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$ if (!__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$imports$2f$order$2f$input$2f$posts$2e$ts__$5b$test$5d$__$28$ecmascript$29$__["default"].js) { process.exit(1); } - -})()), +}}), }]); //# sourceMappingURL=turbopack_crates_turbopack-tests_tests_snapshot_imports_order_input_152f31._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/order/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_order_input_152f31._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/imports/order/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_order_input_152f31._.js.map index 9f9739a6f292f..90f08975d4f90 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/imports/order/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_order_input_152f31._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/imports/order/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_order_input_152f31._.js.map @@ -2,8 +2,8 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/order/input/posts.ts"],"sourcesContent":["export default {\n js: true,\n};\n"],"names":[],"mappings":";;;uCAAe;IACb,IAAI;AACN"}}, - {"offset": {"line": 11, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 16, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/order/input/index.js"],"sourcesContent":["import posts from \"./posts\";\n\nconsole.log(posts.js);\nif (!posts.js) {\n process.exit(1);\n}\n"],"names":[],"mappings":";;;;AAEA,QAAQ,GAAG,CAAC,8LAAA,CAAA,UAAK,CAAC,EAAE;AACpB,IAAI,CAAC,8LAAA,CAAA,UAAK,CAAC,EAAE,EAAE;IACb,QAAQ,IAAI,CAAC;AACf"}}, - {"offset": {"line": 24, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/order/input/posts.ts"],"sourcesContent":["export default {\n js: true,\n};\n"],"names":[],"mappings":";;;uCAAe;IACb,IAAI;AACN"}}, + {"offset": {"line": 13, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 19, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/order/input/index.js"],"sourcesContent":["import posts from \"./posts\";\n\nconsole.log(posts.js);\nif (!posts.js) {\n process.exit(1);\n}\n"],"names":[],"mappings":";;;;AAEA,QAAQ,GAAG,CAAC,8LAAA,CAAA,UAAK,CAAC,EAAE;AACpB,IAAI,CAAC,8LAAA,CAAA,UAAK,CAAC,EAAE,EAAE;IACb,QAAQ,IAAI,CAAC;AACf"}}, + {"offset": {"line": 27, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_cjs/output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_cjs_input_index_bdab1d.js b/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_cjs/output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_cjs_input_index_bdab1d.js index b377ca8daf341..ef87b2e27c4d6 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_cjs/output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_cjs_input_index_bdab1d.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_cjs/output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_cjs_input_index_bdab1d.js @@ -1,15 +1,16 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_cjs_input_index_bdab1d.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_cjs/input/index.js [test] (ecmascript)": (function({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require }) { !function() { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_cjs/input/index.js [test] (ecmascript)": (function(__turbopack_context__) { +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require } = __turbopack_context__; +{ const dne = (()=>{ const e = new Error("Cannot find module 'does-not-exist/path'"); e.code = 'MODULE_NOT_FOUND'; throw e; })(); console.log(dne); - -}.call(this) }), +}}), }]); //# sourceMappingURL=b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_cjs_input_index_bdab1d.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_cjs/output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_cjs_input_index_bdab1d.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_cjs/output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_cjs_input_index_bdab1d.js.map index d84507ec26f22..38307e863c265 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_cjs/output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_cjs_input_index_bdab1d.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_cjs/output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_cjs_input_index_bdab1d.js.map @@ -2,6 +2,6 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_cjs/input/index.js"],"sourcesContent":["const dne = require(\"does-not-exist/path\");\n\nconsole.log(dne);\n"],"names":[],"mappings":"AAAA,MAAM;;;;;AAEN,QAAQ,GAAG,CAAC"}}, - {"offset": {"line": 10, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 6, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_cjs/input/index.js"],"sourcesContent":["const dne = require(\"does-not-exist/path\");\n\nconsole.log(dne);\n"],"names":[],"mappings":"AAAA,MAAM;;;;;AAEN,QAAQ,GAAG,CAAC"}}, + {"offset": {"line": 12, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_esm/output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_esm_input_index_4187ef.js b/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_esm/output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_esm_input_index_4187ef.js index 8219a35c09fe8..bc4d94a658cb8 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_esm/output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_esm_input_index_4187ef.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_esm/output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_esm_input_index_4187ef.js @@ -1,8 +1,10 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_esm_input_index_4187ef.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_esm/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_esm/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); (()=>{ const e = new Error("Cannot find module 'does-not-exist/path'"); @@ -13,8 +15,7 @@ __turbopack_esm__({}); ; console.log(dne); console.log({}[dne]); - -})()), +}}), }]); //# sourceMappingURL=b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_esm_input_index_4187ef.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_esm/output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_esm_input_index_4187ef.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_esm/output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_esm_input_index_4187ef.js.map index c379367d451ec..178190ddb2b4e 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_esm/output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_esm_input_index_4187ef.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_esm/output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_esm_input_index_4187ef.js.map @@ -2,6 +2,6 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_esm/input/index.js"],"sourcesContent":["import dne from \"does-not-exist/path\";\n\nconsole.log(dne);\nconsole.log({}[dne]);\n"],"names":[],"mappings":";;;;;;;;AAEA,QAAQ,GAAG,CAAC;AACZ,QAAQ,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI"}}, - {"offset": {"line": 15, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_esm/input/index.js"],"sourcesContent":["import dne from \"does-not-exist/path\";\n\nconsole.log(dne);\nconsole.log({}[dne]);\n"],"names":[],"mappings":";;;;;;;;AAEA,QAAQ,GAAG,CAAC;AACZ,QAAQ,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI"}}, + {"offset": {"line": 17, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/output/4c35f_tests_snapshot_imports_static-and-dynamic_input_vercel_mjs_cbd419._.js b/turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/output/4c35f_tests_snapshot_imports_static-and-dynamic_input_vercel_mjs_cbd419._.js index 0ccc15ba2684d..7426b4c1219ad 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/output/4c35f_tests_snapshot_imports_static-and-dynamic_input_vercel_mjs_cbd419._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/output/4c35f_tests_snapshot_imports_static-and-dynamic_input_vercel_mjs_cbd419._.js @@ -1,12 +1,13 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/4c35f_tests_snapshot_imports_static-and-dynamic_input_vercel_mjs_cbd419._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/input/vercel.mjs [test] (ecmascript, async loader)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/input/vercel.mjs [test] (ecmascript, async loader)": ((__turbopack_context__) => { +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, t: require } = __turbopack_context__; +{ __turbopack_export_value__((__turbopack_import__) => { return Promise.resolve().then(() => { return __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/input/vercel.mjs [test] (ecmascript)"); }); }); - -})()), +}}), }]); \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_imports_static-and-dynamic_input_ab9cac._.js b/turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_imports_static-and-dynamic_input_ab9cac._.js index 3b65857e90c22..a9dc784d52153 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_imports_static-and-dynamic_input_ab9cac._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_imports_static-and-dynamic_input_ab9cac._.js @@ -1,25 +1,27 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/4e721_crates_turbopack-tests_tests_snapshot_imports_static-and-dynamic_input_ab9cac._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/input/vercel.mjs [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/input/vercel.mjs [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "default": ()=>__TURBOPACK__default__export__ }); const __TURBOPACK__default__export__ = "turbopack"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$imports$2f$static$2d$and$2d$dynamic$2f$input$2f$vercel$2e$mjs__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/input/vercel.mjs [test] (ecmascript)"); "__TURBOPACK__ecmascript__hoisting__location__"; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$imports$2f$static$2d$and$2d$dynamic$2f$input$2f$vercel$2e$mjs__$5b$test$5d$__$28$ecmascript$29$__["default"]); __turbopack_require__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/input/vercel.mjs [test] (ecmascript, async loader)")(__turbopack_import__).then(console.log); - -})()), +}}), }]); //# sourceMappingURL=4e721_crates_turbopack-tests_tests_snapshot_imports_static-and-dynamic_input_ab9cac._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_imports_static-and-dynamic_input_ab9cac._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_imports_static-and-dynamic_input_ab9cac._.js.map index 7e6f4708369d9..b915872df509f 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_imports_static-and-dynamic_input_ab9cac._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_imports_static-and-dynamic_input_ab9cac._.js.map @@ -2,8 +2,8 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/input/vercel.mjs"],"sourcesContent":["export default \"turbopack\";\n"],"names":[],"mappings":";;;uCAAe"}}, - {"offset": {"line": 9, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 14, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/input/index.js"],"sourcesContent":["import img from \"./vercel.mjs\";\nconsole.log(img);\n\nimport(\"./vercel.mjs\").then(console.log);\n"],"names":[],"mappings":";;;;AACA,QAAQ,GAAG,CAAC,mNAAA,CAAA,UAAG;AAEf,uLAAuB,IAAI,CAAC,QAAQ,GAAG"}}, - {"offset": {"line": 20, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/input/vercel.mjs"],"sourcesContent":["export default \"turbopack\";\n"],"names":[],"mappings":";;;uCAAe"}}, + {"offset": {"line": 11, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 17, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/input/index.js"],"sourcesContent":["import img from \"./vercel.mjs\";\nconsole.log(img);\n\nimport(\"./vercel.mjs\").then(console.log);\n"],"names":[],"mappings":";;;;AACA,QAAQ,GAAG,CAAC,mNAAA,CAAA,UAAG;AAEf,uLAAuB,IAAI,CAAC,QAAQ,GAAG"}}, + {"offset": {"line": 23, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/static/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_static_input_73301e._.js b/turbopack/crates/turbopack-tests/tests/snapshot/imports/static/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_static_input_73301e._.js index abe2383bd35dc..64871c70b7fbf 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/imports/static/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_static_input_73301e._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/imports/static/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_static_input_73301e._.js @@ -1,19 +1,21 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/turbopack_crates_turbopack-tests_tests_snapshot_imports_static_input_73301e._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/static/input/vercel.svg [test] (static)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/static/input/vercel.svg [test] (static)": ((__turbopack_context__) => { -__turbopack_export_value__("/static/vercel.957b9b16.svg"); -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/static/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, t: require } = __turbopack_context__; +{ +__turbopack_export_value__("/static/vercel.957b9b16.svg");}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/static/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$imports$2f$static$2f$input$2f$vercel$2e$svg__$5b$test$5d$__$28$static$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/static/input/vercel.svg [test] (static)"); "__TURBOPACK__ecmascript__hoisting__location__"; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$imports$2f$static$2f$input$2f$vercel$2e$svg__$5b$test$5d$__$28$static$29$__["default"]); - -})()), +}}), }]); //# sourceMappingURL=turbopack_crates_turbopack-tests_tests_snapshot_imports_static_input_73301e._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/static/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_static_input_73301e._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/imports/static/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_static_input_73301e._.js.map index ecfdf28512739..46a1df8301532 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/imports/static/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_static_input_73301e._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/imports/static/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_static_input_73301e._.js.map @@ -2,6 +2,6 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 9, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/static/input/index.js"],"sourcesContent":["import img from \"./vercel.svg\";\nconsole.log(img);\n"],"names":[],"mappings":";;;;AACA,QAAQ,GAAG,CAAC,6LAAA,CAAA,UAAG"}}, - {"offset": {"line": 14, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 12, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/static/input/index.js"],"sourcesContent":["import img from \"./vercel.svg\";\nconsole.log(img);\n"],"names":[],"mappings":";;;;AACA,QAAQ,GAAG,CAAC,6LAAA,CAAA,UAAG"}}, + {"offset": {"line": 17, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports-nested/output/b1abf_turbopack-tests_tests_snapshot_imports_subpath-imports-nested_input_2e0531._.js b/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports-nested/output/b1abf_turbopack-tests_tests_snapshot_imports_subpath-imports-nested_input_2e0531._.js index cfcc9acf1cf06..25b26cdb9f3b8 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports-nested/output/b1abf_turbopack-tests_tests_snapshot_imports_subpath-imports-nested_input_2e0531._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports-nested/output/b1abf_turbopack-tests_tests_snapshot_imports_subpath-imports-nested_input_2e0531._.js @@ -1,17 +1,20 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/b1abf_turbopack-tests_tests_snapshot_imports_subpath-imports-nested_input_2e0531._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports-nested/input/foo.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports-nested/input/foo.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "default": ()=>__TURBOPACK__default__export__ }); const __TURBOPACK__default__export__ = "foo"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports-nested/input/nested/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports-nested/input/nested/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "default": ()=>__TURBOPACK__default__export__ }); @@ -19,18 +22,18 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo "__TURBOPACK__ecmascript__hoisting__location__"; ; const __TURBOPACK__default__export__ = __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$imports$2f$subpath$2d$imports$2d$nested$2f$input$2f$foo$2e$js__$5b$test$5d$__$28$ecmascript$29$__["default"]; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports-nested/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports-nested/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$imports$2f$subpath$2d$imports$2d$nested$2f$input$2f$nested$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports-nested/input/nested/index.js [test] (ecmascript)"); "__TURBOPACK__ecmascript__hoisting__location__"; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$imports$2f$subpath$2d$imports$2d$nested$2f$input$2f$nested$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__["default"]); - -})()), +}}), }]); //# sourceMappingURL=b1abf_turbopack-tests_tests_snapshot_imports_subpath-imports-nested_input_2e0531._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports-nested/output/b1abf_turbopack-tests_tests_snapshot_imports_subpath-imports-nested_input_2e0531._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports-nested/output/b1abf_turbopack-tests_tests_snapshot_imports_subpath-imports-nested_input_2e0531._.js.map index b9d211c404829..077f76427f598 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports-nested/output/b1abf_turbopack-tests_tests_snapshot_imports_subpath-imports-nested_input_2e0531._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports-nested/output/b1abf_turbopack-tests_tests_snapshot_imports_subpath-imports-nested_input_2e0531._.js.map @@ -2,10 +2,10 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports-nested/input/foo.js"],"sourcesContent":["export default \"foo\";\n"],"names":[],"mappings":";;;uCAAe"}}, - {"offset": {"line": 9, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 14, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports-nested/input/nested/index.js"],"sourcesContent":["import foo from \"#foo\";\nexport default foo;\n"],"names":[],"mappings":";;;;;;uCACe,mNAAA,CAAA,UAAG"}}, - {"offset": {"line": 21, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 26, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports-nested/input/index.js"],"sourcesContent":["import foo from \"./nested\";\n\nconsole.log(foo);\n"],"names":[],"mappings":";;;;AAEA,QAAQ,GAAG,CAAC,+NAAA,CAAA,UAAG"}}, - {"offset": {"line": 31, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports-nested/input/foo.js"],"sourcesContent":["export default \"foo\";\n"],"names":[],"mappings":";;;uCAAe"}}, + {"offset": {"line": 11, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 17, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports-nested/input/nested/index.js"],"sourcesContent":["import foo from \"#foo\";\nexport default foo;\n"],"names":[],"mappings":";;;;;;uCACe,mNAAA,CAAA,UAAG"}}, + {"offset": {"line": 24, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 30, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports-nested/input/index.js"],"sourcesContent":["import foo from \"./nested\";\n\nconsole.log(foo);\n"],"names":[],"mappings":";;;;AAEA,QAAQ,GAAG,CAAC,+NAAA,CAAA,UAAG"}}, + {"offset": {"line": 35, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/output/4e721_crates_turbopack-tests_tests_snapshot_imports_subpath-imports_input_1e6552._.js b/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/output/4e721_crates_turbopack-tests_tests_snapshot_imports_subpath-imports_input_1e6552._.js index cef08d4ff25b0..68d49b3fe4829 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/output/4e721_crates_turbopack-tests_tests_snapshot_imports_subpath-imports_input_1e6552._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/output/4e721_crates_turbopack-tests_tests_snapshot_imports_subpath-imports_input_1e6552._.js @@ -1,49 +1,56 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/4e721_crates_turbopack-tests_tests_snapshot_imports_subpath-imports_input_1e6552._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/input/foo.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/input/foo.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "default": ()=>__TURBOPACK__default__export__ }); const __TURBOPACK__default__export__ = "foo"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/input/dep/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/input/dep/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "default": ()=>__TURBOPACK__default__export__ }); const __TURBOPACK__default__export__ = "dep"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/input/pat.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/input/pat.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "default": ()=>__TURBOPACK__default__export__ }); const __TURBOPACK__default__export__ = "pat"; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/input/import.mjs [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/input/import.mjs [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "default": ()=>__TURBOPACK__default__export__ }); const __TURBOPACK__default__export__ = "import"; +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/input/require.cjs [test] (ecmascript)": (function(__turbopack_context__) { -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/input/require.cjs [test] (ecmascript)": (function({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require }) { !function() { - +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require } = __turbopack_context__; +{ module.exports = "require"; - -}.call(this) }), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$imports$2f$subpath$2d$imports$2f$input$2f$foo$2e$js__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/input/foo.js [test] (ecmascript)"); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$imports$2f$subpath$2d$imports$2f$input$2f$dep$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/input/dep/index.js [test] (ecmascript)"); @@ -56,8 +63,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; const conditionalRequire = __turbopack_require__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/input/require.cjs [test] (ecmascript)"); console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$imports$2f$subpath$2d$imports$2f$input$2f$foo$2e$js__$5b$test$5d$__$28$ecmascript$29$__["default"], __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$imports$2f$subpath$2d$imports$2f$input$2f$dep$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__["default"], __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$imports$2f$subpath$2d$imports$2f$input$2f$pat$2e$js__$5b$test$5d$__$28$ecmascript$29$__["default"], __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$imports$2f$subpath$2d$imports$2f$input$2f$import$2e$mjs__$5b$test$5d$__$28$ecmascript$29$__["default"], conditionalRequire); - -})()), +}}), }]); //# sourceMappingURL=4e721_crates_turbopack-tests_tests_snapshot_imports_subpath-imports_input_1e6552._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/output/4e721_crates_turbopack-tests_tests_snapshot_imports_subpath-imports_input_1e6552._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/output/4e721_crates_turbopack-tests_tests_snapshot_imports_subpath-imports_input_1e6552._.js.map index 939d2f93f8dae..9e62b0af804f1 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/output/4e721_crates_turbopack-tests_tests_snapshot_imports_subpath-imports_input_1e6552._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/output/4e721_crates_turbopack-tests_tests_snapshot_imports_subpath-imports_input_1e6552._.js.map @@ -2,16 +2,16 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/input/foo.js"],"sourcesContent":["export default \"foo\";\n"],"names":[],"mappings":";;;uCAAe"}}, - {"offset": {"line": 9, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 14, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/input/dep/index.js"],"sourcesContent":["export default \"dep\";\n"],"names":[],"mappings":";;;uCAAe"}}, - {"offset": {"line": 18, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 23, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/input/pat.js"],"sourcesContent":["export default \"pat\";\n"],"names":[],"mappings":";;;uCAAe"}}, - {"offset": {"line": 27, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 32, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/input/import.mjs"],"sourcesContent":["export default \"import\";\n"],"names":[],"mappings":";;;uCAAe"}}, - {"offset": {"line": 36, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 40, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/input/require.cjs"],"sourcesContent":["module.exports = \"require\";\n"],"names":[],"mappings":"AAAA,OAAO,OAAO,GAAG"}}, + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/input/foo.js"],"sourcesContent":["export default \"foo\";\n"],"names":[],"mappings":";;;uCAAe"}}, + {"offset": {"line": 11, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 17, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/input/dep/index.js"],"sourcesContent":["export default \"dep\";\n"],"names":[],"mappings":";;;uCAAe"}}, + {"offset": {"line": 21, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 27, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/input/pat.js"],"sourcesContent":["export default \"pat\";\n"],"names":[],"mappings":";;;uCAAe"}}, + {"offset": {"line": 31, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 37, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/input/import.mjs"],"sourcesContent":["export default \"import\";\n"],"names":[],"mappings":";;;uCAAe"}}, {"offset": {"line": 41, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 46, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/input/index.js"],"sourcesContent":["import foo from \"#foo\";\nimport dep from \"#dep\";\nimport pattern from \"#pattern/pat.js\";\nimport conditionalImport from \"#conditional\";\nconst conditionalRequire = require(\"#conditional\");\n\nconsole.log(foo, dep, pattern, conditionalImport, conditionalRequire);\n"],"names":[],"mappings":";;;;;;;;;;AAIA,MAAM;AAEN,QAAQ,GAAG,CAAC,yMAAA,CAAA,UAAG,EAAE,kNAAA,CAAA,UAAG,EAAE,yMAAA,CAAA,UAAO,EAAE,6MAAA,CAAA,UAAiB,EAAE"}}, - {"offset": {"line": 58, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 46, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/input/require.cjs"],"sourcesContent":["module.exports = \"require\";\n"],"names":[],"mappings":"AAAA,OAAO,OAAO,GAAG"}}, + {"offset": {"line": 47, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 53, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/input/index.js"],"sourcesContent":["import foo from \"#foo\";\nimport dep from \"#dep\";\nimport pattern from \"#pattern/pat.js\";\nimport conditionalImport from \"#conditional\";\nconst conditionalRequire = require(\"#conditional\");\n\nconsole.log(foo, dep, pattern, conditionalImport, conditionalRequire);\n"],"names":[],"mappings":";;;;;;;;;;AAIA,MAAM;AAEN,QAAQ,GAAG,CAAC,yMAAA,CAAA,UAAG,EAAE,kNAAA,CAAA,UAAG,EAAE,yMAAA,CAAA,UAAO,EAAE,6MAAA,CAAA,UAAiB,EAAE"}}, + {"offset": {"line": 65, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/mdx/error/output/turbopack_crates_turbopack-tests_tests_snapshot_mdx_error_input_index_e6acdd.js b/turbopack/crates/turbopack-tests/tests/snapshot/mdx/error/output/turbopack_crates_turbopack-tests_tests_snapshot_mdx_error_input_index_e6acdd.js index 366ad209a3c52..2c81799345525 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/mdx/error/output/turbopack_crates_turbopack-tests_tests_snapshot_mdx_error_input_index_e6acdd.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/mdx/error/output/turbopack_crates_turbopack-tests_tests_snapshot_mdx_error_input_index_e6acdd.js @@ -1,9 +1,10 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/turbopack_crates_turbopack-tests_tests_snapshot_mdx_error_input_index_e6acdd.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/mdx/error/input/index.js [test] (ecmascript)": (function({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require }) { !function() { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/mdx/error/input/index.js [test] (ecmascript)": (function(__turbopack_context__) { +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require } = __turbopack_context__; +{ const e = new Error("Could not parse module '[project]/turbopack/crates/turbopack-tests/tests/snapshot/mdx/error/input/index.js'"); e.code = 'MODULE_UNPARSEABLE'; -throw e; -}.call(this) }), +throw e;}}), }]); \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/minification/paren-remover/output/b1abf_turbopack-tests_tests_snapshot_minification_paren-remover_input_index_032d7e.js b/turbopack/crates/turbopack-tests/tests/snapshot/minification/paren-remover/output/b1abf_turbopack-tests_tests_snapshot_minification_paren-remover_input_index_032d7e.js index 93d509746841f..8ccacea203944 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/minification/paren-remover/output/b1abf_turbopack-tests_tests_snapshot_minification_paren-remover_input_index_032d7e.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/minification/paren-remover/output/b1abf_turbopack-tests_tests_snapshot_minification_paren-remover_input_index_032d7e.js @@ -1,7 +1,9 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/b1abf_turbopack-tests_tests_snapshot_minification_paren-remover_input_index_032d7e.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/minification/paren-remover/input/index.js [test] (ecmascript)": (function({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require }) { !function() { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/minification/paren-remover/input/index.js [test] (ecmascript)": (function(__turbopack_context__) { +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require } = __turbopack_context__; +{ function toFixed(value, maxDecimals, roundingFunction, optionals) { var splitValue = value.toString().split('.'), minDecimals = maxDecimals - (optionals || 0), optionalsRegExp, power, output; var boundedPrecisions; @@ -22,8 +24,7 @@ function toFixed(value, maxDecimals, roundingFunction, optionals) { return output; } toFixed(1.2345, 2, Math.round, 1); - -}.call(this) }), +}}), }]); //# sourceMappingURL=b1abf_turbopack-tests_tests_snapshot_minification_paren-remover_input_index_032d7e.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/minification/paren-remover/output/b1abf_turbopack-tests_tests_snapshot_minification_paren-remover_input_index_032d7e.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/minification/paren-remover/output/b1abf_turbopack-tests_tests_snapshot_minification_paren-remover_input_index_032d7e.js.map index 9edb4951c5ca4..94acff2cf56c1 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/minification/paren-remover/output/b1abf_turbopack-tests_tests_snapshot_minification_paren-remover_input_index_032d7e.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/minification/paren-remover/output/b1abf_turbopack-tests_tests_snapshot_minification_paren-remover_input_index_032d7e.js.map @@ -2,6 +2,6 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/minification/paren-remover/input/index.js"],"sourcesContent":["function toFixed(value, maxDecimals, roundingFunction, optionals) {\n var splitValue = value.toString().split('.'),\n minDecimals = maxDecimals - (optionals || 0),\n\n optionalsRegExp,\n power,\n output;\n var boundedPrecisions;\n // var unused = 'xxxx';\n\n // Use the smallest precision value possible to avoid errors from floating point representation\n if (splitValue.length === 2) {\n boundedPrecisions = Math.min(Math.max(splitValue[1].length, minDecimals), maxDecimals);\n } else {\n boundedPrecisions = minDecimals;\n }\n\n power = Math.pow(10, boundedPrecisions);\n\n // Multiply up by precision, round accurately, then divide and use native toFixed():\n output = (roundingFunction(value + 'e+' + boundedPrecisions) / power).toFixed(boundedPrecisions);\n\n if (optionals > maxDecimals - boundedPrecisions) {\n optionalsRegExp = new RegExp('\\\\.?0{1,' + (optionals - (maxDecimals - boundedPrecisions)) + '}$');\n output = output.replace(optionalsRegExp, '');\n }\n\n return output;\n}\ntoFixed(1.2345, 2, Math.round, 1);\n"],"names":[],"mappings":"AAAA,SAAS,QAAQ,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,SAAS;IAC9D,IAAI,aAAa,MAAM,QAAQ,GAAG,KAAK,CAAC,MACpC,cAAc,cAAc,CAAC,aAAa,CAAC,GAE3C,iBACA,OACA;IACJ,IAAI;IACJ,uBAAuB;IAEvB,+FAA+F;IAC/F,IAAI,WAAW,MAAM,KAAK,GAAG;QAC3B,oBAAoB,KAAK,GAAG,CAAC,KAAK,GAAG,CAAC,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,cAAc;IAC5E,OAAO;QACL,oBAAoB;IACtB;IAEA,QAAQ,KAAK,GAAG,CAAC,IAAI;IAErB,oFAAoF;IACpF,SAAS,CAAC,iBAAiB,QAAQ,OAAO,qBAAqB,KAAK,EAAE,OAAO,CAAC;IAE9E,IAAI,YAAY,cAAc,mBAAmB;QAC7C,kBAAkB,IAAI,OAAO,aAAa,CAAC,YAAY,CAAC,cAAc,iBAAiB,CAAC,IAAI;QAC5F,SAAS,OAAO,OAAO,CAAC,iBAAiB;IAC7C;IAEA,OAAO;AACT;AACA,QAAQ,QAAQ,GAAG,KAAK,KAAK,EAAE"}}, - {"offset": {"line": 24, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 6, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/minification/paren-remover/input/index.js"],"sourcesContent":["function toFixed(value, maxDecimals, roundingFunction, optionals) {\n var splitValue = value.toString().split('.'),\n minDecimals = maxDecimals - (optionals || 0),\n\n optionalsRegExp,\n power,\n output;\n var boundedPrecisions;\n // var unused = 'xxxx';\n\n // Use the smallest precision value possible to avoid errors from floating point representation\n if (splitValue.length === 2) {\n boundedPrecisions = Math.min(Math.max(splitValue[1].length, minDecimals), maxDecimals);\n } else {\n boundedPrecisions = minDecimals;\n }\n\n power = Math.pow(10, boundedPrecisions);\n\n // Multiply up by precision, round accurately, then divide and use native toFixed():\n output = (roundingFunction(value + 'e+' + boundedPrecisions) / power).toFixed(boundedPrecisions);\n\n if (optionals > maxDecimals - boundedPrecisions) {\n optionalsRegExp = new RegExp('\\\\.?0{1,' + (optionals - (maxDecimals - boundedPrecisions)) + '}$');\n output = output.replace(optionalsRegExp, '');\n }\n\n return output;\n}\ntoFixed(1.2345, 2, Math.round, 1);\n"],"names":[],"mappings":"AAAA,SAAS,QAAQ,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,SAAS;IAC9D,IAAI,aAAa,MAAM,QAAQ,GAAG,KAAK,CAAC,MACpC,cAAc,cAAc,CAAC,aAAa,CAAC,GAE3C,iBACA,OACA;IACJ,IAAI;IACJ,uBAAuB;IAEvB,+FAA+F;IAC/F,IAAI,WAAW,MAAM,KAAK,GAAG;QAC3B,oBAAoB,KAAK,GAAG,CAAC,KAAK,GAAG,CAAC,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,cAAc;IAC5E,OAAO;QACL,oBAAoB;IACtB;IAEA,QAAQ,KAAK,GAAG,CAAC,IAAI;IAErB,oFAAoF;IACpF,SAAS,CAAC,iBAAiB,QAAQ,OAAO,qBAAqB,KAAK,EAAE,OAAO,CAAC;IAE9E,IAAI,YAAY,cAAc,mBAAmB;QAC7C,kBAAkB,IAAI,OAAO,aAAa,CAAC,YAAY,CAAC,cAAc,iBAAiB,CAAC,IAAI;QAC5F,SAAS,OAAO,OAAO,CAAC,iBAAiB;IAC7C;IAEA,OAAO;AACT;AACA,QAAQ,QAAQ,GAAG,KAAK,KAAK,EAAE"}}, + {"offset": {"line": 26, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/node/node_protocol_external/output/b1abf_turbopack-tests_tests_snapshot_node_node_protocol_external_input_index_b66fe2.js b/turbopack/crates/turbopack-tests/tests/snapshot/node/node_protocol_external/output/b1abf_turbopack-tests_tests_snapshot_node_node_protocol_external_input_index_b66fe2.js index b3872c74c2167..03040785ef10d 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/node/node_protocol_external/output/b1abf_turbopack-tests_tests_snapshot_node_node_protocol_external_input_index_b66fe2.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/node/node_protocol_external/output/b1abf_turbopack-tests_tests_snapshot_node_node_protocol_external_input_index_b66fe2.js @@ -1,14 +1,15 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/b1abf_turbopack-tests_tests_snapshot_node_node_protocol_external_input_index_b66fe2.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/node/node_protocol_external/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, x: __turbopack_external_require__, y: __turbopack_external_import__ }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/node/node_protocol_external/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, x: __turbopack_external_require__, y: __turbopack_external_import__, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__url__external__node$3a$fs__ = __turbopack_external_require__("node:fs", true); "__TURBOPACK__ecmascript__hoisting__location__"; ; - -})()), +}}), }]); //# sourceMappingURL=b1abf_turbopack-tests_tests_snapshot_node_node_protocol_external_input_index_b66fe2.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/node/node_protocol_external/output/b1abf_turbopack-tests_tests_snapshot_node_node_protocol_external_input_index_b66fe2.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/node/node_protocol_external/output/b1abf_turbopack-tests_tests_snapshot_node_node_protocol_external_input_index_b66fe2.js.map index 9cdb7b480b138..98356795de420 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/node/node_protocol_external/output/b1abf_turbopack-tests_tests_snapshot_node_node_protocol_external_input_index_b66fe2.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/node/node_protocol_external/output/b1abf_turbopack-tests_tests_snapshot_node_node_protocol_external_input_index_b66fe2.js.map @@ -2,6 +2,6 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, - {"offset": {"line": 9, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}, + {"offset": {"line": 11, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_dynamic/output/turbopack_crates_turbopack-tests_tests_snapshot_node_spawn_dynamic_input_d33fdf._.js b/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_dynamic/output/turbopack_crates_turbopack-tests_tests_snapshot_node_spawn_dynamic_input_d33fdf._.js index 13d99ac0da0e2..57008952e2213 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_dynamic/output/turbopack_crates_turbopack-tests_tests_snapshot_node_spawn_dynamic_input_d33fdf._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_dynamic/output/turbopack_crates_turbopack-tests_tests_snapshot_node_spawn_dynamic_input_d33fdf._.js @@ -1,8 +1,10 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/turbopack_crates_turbopack-tests_tests_snapshot_node_spawn_dynamic_input_d33fdf._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_dynamic/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, x: __turbopack_external_require__, y: __turbopack_external_import__ }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_dynamic/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, x: __turbopack_external_require__, y: __turbopack_external_import__, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$node$2f$spawn_dynamic$2f$input$2f$node_modules$2f$child_process$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_dynamic/input/node_modules/child_process/index.js [test] (ecmascript)"); "__TURBOPACK__ecmascript__hoisting__location__"; @@ -13,19 +15,19 @@ const program = [ const proc = (0, __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$node$2f$spawn_dynamic$2f$input$2f$node_modules$2f$child_process$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__["spawn"])(program[0], [ '-la' ]); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_dynamic/input/node_modules/child_process/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, x: __turbopack_external_require__, y: __turbopack_external_import__ }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_dynamic/input/node_modules/child_process/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, x: __turbopack_external_require__, y: __turbopack_external_import__, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "spawn": ()=>spawn }); function spawn(cmd, args) { // } - -})()), +}}), }]); //# sourceMappingURL=turbopack_crates_turbopack-tests_tests_snapshot_node_spawn_dynamic_input_d33fdf._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_dynamic/output/turbopack_crates_turbopack-tests_tests_snapshot_node_spawn_dynamic_input_d33fdf._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_dynamic/output/turbopack_crates_turbopack-tests_tests_snapshot_node_spawn_dynamic_input_d33fdf._.js.map index 8d6edaf49cac2..66083b44bb84f 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_dynamic/output/turbopack_crates_turbopack-tests_tests_snapshot_node_spawn_dynamic_input_d33fdf._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_dynamic/output/turbopack_crates_turbopack-tests_tests_snapshot_node_spawn_dynamic_input_d33fdf._.js.map @@ -2,8 +2,8 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_dynamic/input/index.js"],"sourcesContent":["import { spawn } from \"child_process\";\n\nconst program = ['ls'];\nconst proc = spawn(program[0], ['-la']);\n"],"names":[],"mappings":";;;;AAEA,MAAM,UAAU;IAAC;CAAK;AACtB,MAAM,OAAO,CAAA,GAAA,oOAAA,CAAA,QAAK,AAAD,EAAE,OAAO,CAAC,EAAE,EAAE;IAAC;CAAM"}}, - {"offset": {"line": 15, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 20, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_dynamic/input/node_modules/child_process/index.js"],"sourcesContent":["export function spawn(cmd, args) {\n //\n}\n"],"names":[],"mappings":";;;AAAO,SAAS,MAAM,GAAG,EAAE,IAAI;AAC7B,EAAE;AACJ"}}, - {"offset": {"line": 26, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_dynamic/input/index.js"],"sourcesContent":["import { spawn } from \"child_process\";\n\nconst program = ['ls'];\nconst proc = spawn(program[0], ['-la']);\n"],"names":[],"mappings":";;;;AAEA,MAAM,UAAU;IAAC;CAAK;AACtB,MAAM,OAAO,CAAA,GAAA,oOAAA,CAAA,QAAK,AAAD,EAAE,OAAO,CAAC,EAAE,EAAE;IAAC;CAAM"}}, + {"offset": {"line": 17, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 23, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_dynamic/input/node_modules/child_process/index.js"],"sourcesContent":["export function spawn(cmd, args) {\n //\n}\n"],"names":[],"mappings":";;;AAAO,SAAS,MAAM,GAAG,EAAE,IAAI;AAC7B,EAAE;AACJ"}}, + {"offset": {"line": 29, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_node_eval/output/4e721_crates_turbopack-tests_tests_snapshot_node_spawn_node_eval_input_bf21d1._.js b/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_node_eval/output/4e721_crates_turbopack-tests_tests_snapshot_node_spawn_node_eval_input_bf21d1._.js index 596c90672749d..e7435642302fd 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_node_eval/output/4e721_crates_turbopack-tests_tests_snapshot_node_spawn_node_eval_input_bf21d1._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_node_eval/output/4e721_crates_turbopack-tests_tests_snapshot_node_spawn_node_eval_input_bf21d1._.js @@ -1,8 +1,10 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/4e721_crates_turbopack-tests_tests_snapshot_node_spawn_node_eval_input_bf21d1._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_node_eval/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, x: __turbopack_external_require__, y: __turbopack_external_import__ }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_node_eval/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, x: __turbopack_external_require__, y: __turbopack_external_import__, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$node$2f$spawn_node_eval$2f$input$2f$node_modules$2f$child_process$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_node_eval/input/node_modules/child_process/index.js [test] (ecmascript)"); "__TURBOPACK__ecmascript__hoisting__location__"; @@ -11,19 +13,19 @@ let x = (0, __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$ "-e", "console.log('foo');" ]); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_node_eval/input/node_modules/child_process/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, x: __turbopack_external_require__, y: __turbopack_external_import__ }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_node_eval/input/node_modules/child_process/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, x: __turbopack_external_require__, y: __turbopack_external_import__, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "spawn": ()=>spawn }); function spawn(cmd, args) { // } - -})()), +}}), }]); //# sourceMappingURL=4e721_crates_turbopack-tests_tests_snapshot_node_spawn_node_eval_input_bf21d1._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_node_eval/output/4e721_crates_turbopack-tests_tests_snapshot_node_spawn_node_eval_input_bf21d1._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_node_eval/output/4e721_crates_turbopack-tests_tests_snapshot_node_spawn_node_eval_input_bf21d1._.js.map index b973717e0f724..7666b1ec7d96e 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_node_eval/output/4e721_crates_turbopack-tests_tests_snapshot_node_spawn_node_eval_input_bf21d1._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_node_eval/output/4e721_crates_turbopack-tests_tests_snapshot_node_spawn_node_eval_input_bf21d1._.js.map @@ -2,8 +2,8 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_node_eval/input/index.js"],"sourcesContent":["import { spawn } from \"child_process\";\n\nlet x = spawn(process.argv[0], [\"-e\", \"console.log('foo');\"]);\n"],"names":[],"mappings":";;;;AAEA,IAAI,IAAI,CAAA,GAAA,sOAAA,CAAA,QAAK,AAAD,EAAE,QAAQ,IAAI,CAAC,EAAE,EAAE;IAAC;IAAM;CAAsB"}}, - {"offset": {"line": 13, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 18, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_node_eval/input/node_modules/child_process/index.js"],"sourcesContent":["export function spawn(cmd, args) {\n //\n}\n"],"names":[],"mappings":";;;AAAO,SAAS,MAAM,GAAG,EAAE,IAAI;AAC7B,EAAE;AACJ"}}, - {"offset": {"line": 24, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_node_eval/input/index.js"],"sourcesContent":["import { spawn } from \"child_process\";\n\nlet x = spawn(process.argv[0], [\"-e\", \"console.log('foo');\"]);\n"],"names":[],"mappings":";;;;AAEA,IAAI,IAAI,CAAA,GAAA,sOAAA,CAAA,QAAK,AAAD,EAAE,QAAQ,IAAI,CAAC,EAAE,EAAE;IAAC;IAAM;CAAsB"}}, + {"offset": {"line": 15, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 21, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_node_eval/input/node_modules/child_process/index.js"],"sourcesContent":["export function spawn(cmd, args) {\n //\n}\n"],"names":[],"mappings":";;;AAAO,SAAS,MAAM,GAAG,EAAE,IAAI;AAC7B,EAAE;AACJ"}}, + {"offset": {"line": 27, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_build_runtime/output/[turbopack]_runtime.js b/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_build_runtime/output/[turbopack]_runtime.js index 8368e42da3e38..187fc5127ef6b 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_build_runtime/output/[turbopack]_runtime.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_build_runtime/output/[turbopack]_runtime.js @@ -139,7 +139,8 @@ function esmImport(sourceModule, id) { } // Add a simple runtime require so that environments without one can still pass // `typeof require` CommonJS checks so that exports are correctly registered. -const runtimeRequire = typeof require === "function" ? require : function require1() { +const runtimeRequire = // @ts-ignore +typeof require === "function" ? require : function require1() { throw new Error("Unexpected use of runtime require"); }; function commonJsRequire(sourceModule, id) { @@ -330,6 +331,11 @@ relativeURL.prototype = URL.prototype; */ function invariant(never, computeMessage) { throw new Error(`Invariant: ${computeMessage(never)}`); } +/** + * A stub function to make `require` available but non-functional in ESM. + */ function requireStub(_moduleId) { + throw new Error("dynamic usage of require is not supported"); +} /* eslint-disable @typescript-eslint/no-unused-vars */ /// /// A 'base' utilities to support runtime can have externals. /// Currently this is for node.js / edge runtime both. @@ -599,6 +605,7 @@ function instantiateModule(id, source) { U: relativeURL, R: createResolvePathFromModule(r), b: getWorkerBlobURL, + z: requireStub, __dirname: typeof module1.id === "string" ? module1.id.replace(/(^|\/)\/+$/, "") : module1.id }); } catch (error) { @@ -614,7 +621,8 @@ function instantiateModule(id, source) { } /** * Retrieves a module from the cache, or instantiate it if it is not cached. - */ function getOrInstantiateModuleFromParent(id, sourceModule) { + */ // @ts-ignore +function getOrInstantiateModuleFromParent(id, sourceModule) { const module1 = moduleCache[id]; if (sourceModule.children.indexOf(id) === -1) { sourceModule.children.push(id); @@ -640,7 +648,8 @@ function instantiateModule(id, source) { } /** * Retrieves a module from the cache, or instantiate it as a runtime module if it is not cached. - */ function getOrInstantiateRuntimeModule(moduleId, chunkPath) { + */ // @ts-ignore TypeScript doesn't separate this module space from the browser runtime +function getOrInstantiateRuntimeModule(moduleId, chunkPath) { const module1 = moduleCache[moduleId]; if (module1) { if (module1.error) { diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_build_runtime/output/[turbopack]_runtime.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_build_runtime/output/[turbopack]_runtime.js.map index fbb4e30c3adf3..e996caabffa38 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_build_runtime/output/[turbopack]_runtime.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_build_runtime/output/[turbopack]_runtime.js.map @@ -2,9 +2,9 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 3, "column": 0}, "map": {"version":3,"sources":["turbopack://[turbopack]/shared/runtime-utils.ts"],"sourcesContent":["/**\n * This file contains runtime types and functions that are shared between all\n * TurboPack ECMAScript runtimes.\n *\n * It will be prepended to the runtime code of each runtime.\n */\n\n/* eslint-disable @typescript-eslint/no-unused-vars */\n\n/// \n\ninterface Exports {\n __esModule?: boolean;\n\n [key: string]: any;\n}\n\ntype EsmNamespaceObject = Record;\n\nconst REEXPORTED_OBJECTS = Symbol(\"reexported objects\");\n\ninterface BaseModule {\n exports: Function | Exports | Promise | AsyncModulePromise;\n error: Error | undefined;\n loaded: boolean;\n id: ModuleId;\n children: ModuleId[];\n parents: ModuleId[];\n namespaceObject?:\n | EsmNamespaceObject\n | Promise\n | AsyncModulePromise;\n [REEXPORTED_OBJECTS]?: any[];\n}\n\ninterface Module extends BaseModule {}\n\ntype ModuleContextMap = Record;\n\ninterface ModuleContextEntry {\n id: () => ModuleId;\n module: () => any;\n}\n\ninterface ModuleContext {\n // require call\n (moduleId: ModuleId): Exports | EsmNamespaceObject;\n\n // async import call\n import(moduleId: ModuleId): Promise;\n\n keys(): ModuleId[];\n\n resolve(moduleId: ModuleId): ModuleId;\n}\n\ntype GetOrInstantiateModuleFromParent = (\n moduleId: ModuleId,\n parentModule: Module\n) => Module;\n\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\nconst toStringTag = typeof Symbol !== \"undefined\" && Symbol.toStringTag;\n\nfunction defineProp(\n obj: any,\n name: PropertyKey,\n options: PropertyDescriptor & ThisType\n) {\n if (!hasOwnProperty.call(obj, name))\n Object.defineProperty(obj, name, options);\n}\n\n/**\n * Adds the getters to the exports object.\n */\nfunction esm(\n exports: Exports,\n getters: Record any) | [() => any, (v: any) => void]>\n) {\n defineProp(exports, \"__esModule\", { value: true });\n if (toStringTag) defineProp(exports, toStringTag, { value: \"Module\" });\n for (const key in getters) {\n const item = getters[key];\n if (Array.isArray(item)) {\n defineProp(exports, key, {\n get: item[0],\n set: item[1],\n enumerable: true,\n });\n } else {\n defineProp(exports, key, { get: item, enumerable: true });\n }\n }\n Object.seal(exports);\n}\n\n/**\n * Makes the module an ESM with exports\n */\nfunction esmExport(\n module: Module,\n exports: Exports,\n getters: Record any>\n) {\n module.namespaceObject = module.exports;\n esm(exports, getters);\n}\n\nfunction ensureDynamicExports(module: Module, exports: Exports) {\n let reexportedObjects = module[REEXPORTED_OBJECTS];\n\n if (!reexportedObjects) {\n reexportedObjects = module[REEXPORTED_OBJECTS] = [];\n module.exports = module.namespaceObject = new Proxy(exports, {\n get(target, prop) {\n if (\n hasOwnProperty.call(target, prop) ||\n prop === \"default\" ||\n prop === \"__esModule\"\n ) {\n return Reflect.get(target, prop);\n }\n for (const obj of reexportedObjects!) {\n const value = Reflect.get(obj, prop);\n if (value !== undefined) return value;\n }\n return undefined;\n },\n ownKeys(target) {\n const keys = Reflect.ownKeys(target);\n for (const obj of reexportedObjects!) {\n for (const key of Reflect.ownKeys(obj)) {\n if (key !== \"default\" && !keys.includes(key)) keys.push(key);\n }\n }\n return keys;\n },\n });\n }\n}\n\n/**\n * Dynamically exports properties from an object\n */\nfunction dynamicExport(\n module: Module,\n exports: Exports,\n object: Record\n) {\n ensureDynamicExports(module, exports);\n\n if (typeof object === \"object\" && object !== null) {\n module[REEXPORTED_OBJECTS]!.push(object);\n }\n}\n\nfunction exportValue(module: Module, value: any) {\n module.exports = value;\n}\n\nfunction exportNamespace(module: Module, namespace: any) {\n module.exports = module.namespaceObject = namespace;\n}\n\nfunction createGetter(obj: Record, key: string | symbol) {\n return () => obj[key];\n}\n\n/**\n * @returns prototype of the object\n */\nconst getProto: (obj: any) => any = Object.getPrototypeOf\n ? (obj) => Object.getPrototypeOf(obj)\n : (obj) => obj.__proto__;\n\n/** Prototypes that are not expanded for exports */\nconst LEAF_PROTOTYPES = [null, getProto({}), getProto([]), getProto(getProto)];\n\n/**\n * @param raw\n * @param ns\n * @param allowExportDefault\n * * `false`: will have the raw module as default export\n * * `true`: will have the default property as default export\n */\nfunction interopEsm(\n raw: Exports,\n ns: EsmNamespaceObject,\n allowExportDefault?: boolean\n) {\n const getters: { [s: string]: () => any } = Object.create(null);\n for (\n let current = raw;\n (typeof current === \"object\" || typeof current === \"function\") &&\n !LEAF_PROTOTYPES.includes(current);\n current = getProto(current)\n ) {\n for (const key of Object.getOwnPropertyNames(current)) {\n getters[key] = createGetter(raw, key);\n }\n }\n\n // this is not really correct\n // we should set the `default` getter if the imported module is a `.cjs file`\n if (!(allowExportDefault && \"default\" in getters)) {\n getters[\"default\"] = () => raw;\n }\n\n esm(ns, getters);\n return ns;\n}\n\nfunction createNS(raw: BaseModule[\"exports\"]): EsmNamespaceObject {\n if (typeof raw === \"function\") {\n return function (this: any, ...args: any[]) {\n return raw.apply(this, args);\n };\n } else {\n return Object.create(null);\n }\n}\n\nfunction esmImport(\n sourceModule: Module,\n id: ModuleId\n): Exclude {\n const module = getOrInstantiateModuleFromParent(id, sourceModule);\n if (module.error) throw module.error;\n\n // any ES module has to have `module.namespaceObject` defined.\n if (module.namespaceObject) return module.namespaceObject;\n\n // only ESM can be an async module, so we don't need to worry about exports being a promise here.\n const raw = module.exports;\n return (module.namespaceObject = interopEsm(\n raw,\n createNS(raw),\n raw && (raw as any).__esModule\n ));\n}\n\n// Add a simple runtime require so that environments without one can still pass\n// `typeof require` CommonJS checks so that exports are correctly registered.\nconst runtimeRequire =\n typeof require === \"function\"\n ? require\n : function require() {\n throw new Error(\"Unexpected use of runtime require\");\n };\n\nfunction commonJsRequire(sourceModule: Module, id: ModuleId): Exports {\n const module = getOrInstantiateModuleFromParent(id, sourceModule);\n if (module.error) throw module.error;\n return module.exports;\n}\n\n/**\n * `require.context` and require/import expression runtime.\n */\nfunction moduleContext(map: ModuleContextMap): ModuleContext {\n function moduleContext(id: ModuleId): Exports {\n if (hasOwnProperty.call(map, id)) {\n return map[id].module();\n }\n\n const e = new Error(`Cannot find module '${id}'`);\n (e as any).code = \"MODULE_NOT_FOUND\";\n throw e;\n }\n\n moduleContext.keys = (): ModuleId[] => {\n return Object.keys(map);\n };\n\n moduleContext.resolve = (id: ModuleId): ModuleId => {\n if (hasOwnProperty.call(map, id)) {\n return map[id].id();\n }\n\n const e = new Error(`Cannot find module '${id}'`);\n (e as any).code = \"MODULE_NOT_FOUND\";\n throw e;\n };\n\n moduleContext.import = async (id: ModuleId) => {\n return await (moduleContext(id) as Promise);\n };\n\n return moduleContext;\n}\n\n/**\n * Returns the path of a chunk defined by its data.\n */\nfunction getChunkPath(chunkData: ChunkData): ChunkPath {\n return typeof chunkData === \"string\" ? chunkData : chunkData.path;\n}\n\nfunction isPromise(maybePromise: any): maybePromise is Promise {\n return (\n maybePromise != null &&\n typeof maybePromise === \"object\" &&\n \"then\" in maybePromise &&\n typeof maybePromise.then === \"function\"\n );\n}\n\nfunction isAsyncModuleExt(obj: T): obj is AsyncModuleExt & T {\n return turbopackQueues in obj;\n}\n\nfunction createPromise() {\n let resolve: (value: T | PromiseLike) => void;\n let reject: (reason?: any) => void;\n\n const promise = new Promise((res, rej) => {\n reject = rej;\n resolve = res;\n });\n\n return {\n promise,\n resolve: resolve!,\n reject: reject!,\n };\n}\n\n// everything below is adapted from webpack\n// https://github.com/webpack/webpack/blob/6be4065ade1e252c1d8dcba4af0f43e32af1bdc1/lib/runtime/AsyncModuleRuntimeModule.js#L13\n\nconst turbopackQueues = Symbol(\"turbopack queues\");\nconst turbopackExports = Symbol(\"turbopack exports\");\nconst turbopackError = Symbol(\"turbopack error\");\n\nconst enum QueueStatus {\n Unknown = -1,\n Unresolved = 0,\n Resolved = 1,\n}\n\ntype AsyncQueueFn = (() => void) & { queueCount: number };\ntype AsyncQueue = AsyncQueueFn[] & {\n status: QueueStatus;\n};\n\nfunction resolveQueue(queue?: AsyncQueue) {\n if (queue && queue.status !== QueueStatus.Resolved) {\n queue.status = QueueStatus.Resolved;\n queue.forEach((fn) => fn.queueCount--);\n queue.forEach((fn) => (fn.queueCount-- ? fn.queueCount++ : fn()));\n }\n}\n\ntype Dep = Exports | AsyncModulePromise | Promise;\n\ntype AsyncModuleExt = {\n [turbopackQueues]: (fn: (queue: AsyncQueue) => void) => void;\n [turbopackExports]: Exports;\n [turbopackError]?: any;\n};\n\ntype AsyncModulePromise = Promise & AsyncModuleExt;\n\nfunction wrapDeps(deps: Dep[]): AsyncModuleExt[] {\n return deps.map((dep): AsyncModuleExt => {\n if (dep !== null && typeof dep === \"object\") {\n if (isAsyncModuleExt(dep)) return dep;\n if (isPromise(dep)) {\n const queue: AsyncQueue = Object.assign([], {\n status: QueueStatus.Unresolved,\n });\n\n const obj: AsyncModuleExt = {\n [turbopackExports]: {},\n [turbopackQueues]: (fn: (queue: AsyncQueue) => void) => fn(queue),\n };\n\n dep.then(\n (res) => {\n obj[turbopackExports] = res;\n resolveQueue(queue);\n },\n (err) => {\n obj[turbopackError] = err;\n resolveQueue(queue);\n }\n );\n\n return obj;\n }\n }\n\n return {\n [turbopackExports]: dep,\n [turbopackQueues]: () => {},\n };\n });\n}\n\nfunction asyncModule(\n module: Module,\n body: (\n handleAsyncDependencies: (\n deps: Dep[]\n ) => Exports[] | Promise<() => Exports[]>,\n asyncResult: (err?: any) => void\n ) => void,\n hasAwait: boolean\n) {\n const queue: AsyncQueue | undefined = hasAwait\n ? Object.assign([], { status: QueueStatus.Unknown })\n : undefined;\n\n const depQueues: Set = new Set();\n\n const { resolve, reject, promise: rawPromise } = createPromise();\n\n const promise: AsyncModulePromise = Object.assign(rawPromise, {\n [turbopackExports]: module.exports,\n [turbopackQueues]: (fn) => {\n queue && fn(queue);\n depQueues.forEach(fn);\n promise[\"catch\"](() => {});\n },\n } satisfies AsyncModuleExt);\n\n const attributes: PropertyDescriptor = {\n get(): any {\n return promise;\n },\n set(v: any) {\n // Calling `esmExport` leads to this.\n if (v !== promise) {\n promise[turbopackExports] = v;\n }\n },\n };\n\n Object.defineProperty(module, \"exports\", attributes);\n Object.defineProperty(module, \"namespaceObject\", attributes);\n\n function handleAsyncDependencies(deps: Dep[]) {\n const currentDeps = wrapDeps(deps);\n\n const getResult = () =>\n currentDeps.map((d) => {\n if (d[turbopackError]) throw d[turbopackError];\n return d[turbopackExports];\n });\n\n const { promise, resolve } = createPromise<() => Exports[]>();\n\n const fn: AsyncQueueFn = Object.assign(() => resolve(getResult), {\n queueCount: 0,\n });\n\n function fnQueue(q: AsyncQueue) {\n if (q !== queue && !depQueues.has(q)) {\n depQueues.add(q);\n if (q && q.status === QueueStatus.Unresolved) {\n fn.queueCount++;\n q.push(fn);\n }\n }\n }\n\n currentDeps.map((dep) => dep[turbopackQueues](fnQueue));\n\n return fn.queueCount ? promise : getResult();\n }\n\n function asyncResult(err?: any) {\n if (err) {\n reject((promise[turbopackError] = err));\n } else {\n resolve(promise[turbopackExports]);\n }\n\n resolveQueue(queue);\n }\n\n body(handleAsyncDependencies, asyncResult);\n\n if (queue && queue.status === QueueStatus.Unknown) {\n queue.status = QueueStatus.Unresolved;\n }\n}\n\n/**\n * A pseudo \"fake\" URL object to resolve to its relative path.\n *\n * When UrlRewriteBehavior is set to relative, calls to the `new URL()` will construct url without base using this\n * runtime function to generate context-agnostic urls between different rendering context, i.e ssr / client to avoid\n * hydration mismatch.\n *\n * This is based on webpack's existing implementation:\n * https://github.com/webpack/webpack/blob/87660921808566ef3b8796f8df61bd79fc026108/lib/runtime/RelativeUrlRuntimeModule.js\n */\nconst relativeURL = function relativeURL(this: any, inputUrl: string) {\n const realUrl = new URL(inputUrl, \"x:/\");\n const values: Record = {};\n for (const key in realUrl) values[key] = (realUrl as any)[key];\n values.href = inputUrl;\n values.pathname = inputUrl.replace(/[?#].*/, \"\");\n values.origin = values.protocol = \"\";\n values.toString = values.toJSON = (..._args: Array) => inputUrl;\n for (const key in values)\n Object.defineProperty(this, key, {\n enumerable: true,\n configurable: true,\n value: values[key],\n });\n};\n\nrelativeURL.prototype = URL.prototype;\n\n/**\n * Utility function to ensure all variants of an enum are handled.\n */\nfunction invariant(never: never, computeMessage: (arg: any) => string): never {\n throw new Error(`Invariant: ${computeMessage(never)}`);\n}\n"],"names":[],"mappings":"AAAA;;;;;CAKC,GAED,oDAAoD,GAEpD,6CAA6C;AAU7C,MAAM,qBAAqB,OAAO;AA0ClC,MAAM,iBAAiB,OAAO,SAAS,C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QACd,OAAO,MAAM,CAAC,IAAI;IACpB;AACJ;AAEA,YAAY,SAAS,GAAG,IAAI,SAAS;AAErC;;CAEC,GACD,SAAS,UAAU,KAAY,EAAE,cAAoC;IACnE,MAAM,IAAI,MAAM,CAAC,WAAW,EAAE,eAAe,OAAO,CAAC;AACvD"}}, - {"offset": {"line": 332, "column": 0}, "map": {"version":3,"sources":["turbopack://[turbopack]/shared-node/base-externals-utils.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\n\n/// \n\n/// A 'base' utilities to support runtime can have externals.\n/// Currently this is for node.js / edge runtime both.\n/// If a fn requires node.js specific behavior, it should be placed in `node-external-utils` instead.\n\nasync function externalImport(id: ModuleId) {\n let raw;\n try {\n raw = await import(id);\n } catch (err) {\n // TODO(alexkirsz) This can happen when a client-side module tries to load\n // an external module we don't provide a shim for (e.g. querystring, url).\n // For now, we fail semi-silently, but in the future this should be a\n // compilation error.\n throw new Error(`Failed to load external module ${id}: ${err}`);\n }\n\n if (raw && raw.__esModule && raw.default && \"default\" in raw.default) {\n return interopEsm(raw.default, createNS(raw), true);\n }\n\n return raw;\n}\n\nfunction externalRequire(\n id: ModuleId,\n esm: boolean = false\n): Exports | EsmNamespaceObject {\n let raw;\n try {\n raw = require(id);\n } catch (err) {\n // TODO(alexkirsz) This can happen when a client-side module tries to load\n // an external module we don't provide a shim for (e.g. querystring, url).\n // For now, we fail semi-silently, but in the future this should be a\n // compilation error.\n throw new Error(`Failed to load external module ${id}: ${err}`);\n }\n\n if (!esm || raw.__esModule) {\n return raw;\n }\n\n return interopEsm(raw, createNS(raw), true);\n}\n\nexternalRequire.resolve = (\n id: string,\n options?: {\n paths?: string[];\n }\n) => {\n return require.resolve(id, options);\n};\n"],"names":[],"mappings":"AAAA,oDAAoD,GAEpD,mDAAmD;AAEnD,6DAA6D;AAC7D,sDAAsD;AACtD,qGAAqG;AAErG,eAAe,eAAe,EAAY;IACxC,IAAI;IACJ,IAAI;QACF,MAAM,MAAM,MAAM,CAAC;IACrB,EAAE,OAAO,KAAK;QACZ,0EAA0E;QAC1E,0EAA0E;QAC1E,qEAAqE;QACrE,qBAAqB;QACrB,MAAM,IAAI,MAAM,CAAC,+BAA+B,EAAE,GAAG,EAAE,EAAE,IAAI,CAAC;IAChE;IAEA,IAAI,OAAO,IAAI,UAAU,IAAI,IAAI,OAAO,IAAI,aAAa,IAAI,OAAO,EAAE;QACpE,OAAO,WAAW,IAAI,OAAO,EAAE,SAAS,MAAM;IAChD;IAEA,OAAO;AACT;AAEA,SAAS,gBACP,EAAY,EACZ,MAAe,KAAK;IAEpB,IAAI;IACJ,IAAI;QACF,MAAM,QAAQ;IAChB,EAAE,OAAO,KAAK;QACZ,0EAA0E;QAC1E,0EAA0E;QAC1E,qEAAqE;QACrE,qBAAqB;QACrB,MAAM,IAAI,MAAM,CAAC,+BAA+B,EAAE,GAAG,EAAE,EAAE,IAAI,CAAC;IAChE;IAEA,IAAI,CAAC,OAAO,IAAI,UAAU,EAAE;QAC1B,OAAO;IACT;IAEA,OAAO,WAAW,KAAK,SAAS,MAAM;AACxC;AAEA,gBAAgB,OAAO,GAAG,CACxB,IACA;IAIA,OAAO,QAAQ,OAAO,CAAC,IAAI;AAC7B"}}, - {"offset": {"line": 371, "column": 0}, "map": {"version":3,"sources":["turbopack://[turbopack]/shared-node/node-externals-utils.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\n\ndeclare var RUNTIME_PUBLIC_PATH: string;\ndeclare var OUTPUT_ROOT: string;\ndeclare var ASSET_PREFIX: string;\n\nconst path = require(\"path\");\n\nconst relativePathToRuntimeRoot = path.relative(RUNTIME_PUBLIC_PATH, \".\");\n// Compute the relative path to the `distDir`.\nconst relativePathToDistRoot = path.relative(\n path.join(OUTPUT_ROOT, RUNTIME_PUBLIC_PATH),\n \".\"\n);\nconst RUNTIME_ROOT = path.resolve(__filename, relativePathToRuntimeRoot);\n// Compute the absolute path to the root, by stripping distDir from the absolute path to this file.\nconst ABSOLUTE_ROOT = path.resolve(__filename, relativePathToDistRoot);\n\n/**\n * Returns an absolute path to the given module path.\n * Module path should be relative, either path to a file or a directory.\n *\n * This fn allows to calculate an absolute path for some global static values, such as\n * `__dirname` or `import.meta.url` that Turbopack will not embeds in compile time.\n * See ImportMetaBinding::code_generation for the usage.\n */\nfunction resolveAbsolutePath(modulePath?: string): string {\n if (modulePath) {\n return path.join(ABSOLUTE_ROOT, modulePath);\n }\n return ABSOLUTE_ROOT;\n}\n"],"names":[],"mappings":"AAAA,oDAAoD,GAMpD,MAAM,OAAO,QAAQ;AAErB,MAAM,4BAA4B,KAAK,QAAQ,CAAC,qBAAqB;AACrE,8CAA8C;AAC9C,MAAM,yBAAyB,KAAK,QAAQ,CAC1C,KAAK,IAAI,CAAC,aAAa,sBACvB;AAEF,MAAM,eAAe,KAAK,OAAO,CAAC,YAAY;AAC9C,mGAAmG;AACnG,MAAM,gBAAgB,KAAK,OAAO,CAAC,YAAY;AAE/C;;;;;;;CAOC,GACD,SAAS,oBAAoB,UAAmB;IAC9C,IAAI,YAAY;QACd,OAAO,KAAK,IAAI,CAAC,eAAe;IAClC;IACA,OAAO;AACT"}}, - {"offset": {"line": 391, "column": 0}, "map": {"version":3,"sources":["turbopack://[turbopack]/shared-node/node-wasm-utils.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\n\n/// \n\nfunction readWebAssemblyAsResponse(path: string) {\n const { createReadStream } = require(\"fs\") as typeof import(\"fs\");\n const { Readable } = require(\"stream\") as typeof import(\"stream\");\n\n const stream = createReadStream(path);\n\n // @ts-ignore unfortunately there's a slight type mismatch with the stream.\n return new Response(Readable.toWeb(stream), {\n headers: {\n \"content-type\": \"application/wasm\",\n },\n });\n}\n\nasync function compileWebAssemblyFromPath(\n path: string\n): Promise {\n const response = readWebAssemblyAsResponse(path);\n\n return await WebAssembly.compileStreaming(response);\n}\n\nasync function instantiateWebAssemblyFromPath(\n path: string,\n importsObj: WebAssembly.Imports\n): Promise {\n const response = readWebAssemblyAsResponse(path);\n\n const { instance } = await WebAssembly.instantiateStreaming(\n response,\n importsObj\n );\n\n return instance.exports;\n}\n"],"names":[],"mappings":"AAAA,oDAAoD,GAEpD,mDAAmD;AAEnD,SAAS,0BAA0B,IAAY;IAC7C,MAAM,EAAE,gBAAgB,EAAE,GAAG,QAAQ;IACrC,MAAM,EAAE,QAAQ,EAAE,GAAG,QAAQ;IAE7B,MAAM,SAAS,iBAAiB;IAEhC,2EAA2E;IAC3E,OAAO,IAAI,SAAS,SAAS,KAAK,CAAC,SAAS;QAC1C,SAAS;YACP,gBAAgB;QAClB;IACF;AACF;AAEA,eAAe,2BACb,IAAY;IAEZ,MAAM,WAAW,0BAA0B;IAE3C,OAAO,MAAM,YAAY,gBAAgB,CAAC;AAC5C;AAEA,eAAe,+BACb,IAAY,EACZ,UAA+B;IAE/B,MAAM,WAAW,0BAA0B;IAE3C,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,YAAY,oBAAoB,CACzD,UACA;IAGF,OAAO,SAAS,OAAO;AACzB"}}, - {"offset": {"line": 412, "column": 0}, "map": {"version":3,"sources":["turbopack://[turbopack]/nodejs/runtime.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\n\n/// \n/// \n/// \n/// \n\nenum SourceType {\n /**\n * The module was instantiated because it was included in an evaluated chunk's\n * runtime.\n */\n Runtime = 0,\n /**\n * The module was instantiated because a parent module imported it.\n */\n Parent = 1,\n}\n\ntype SourceInfo =\n | {\n type: SourceType.Runtime;\n chunkPath: ChunkPath;\n }\n | {\n type: SourceType.Parent;\n parentId: ModuleId;\n };\n\nfunction stringifySourceInfo(source: SourceInfo): string {\n switch (source.type) {\n case SourceType.Runtime:\n return `runtime for chunk ${source.chunkPath}`;\n case SourceType.Parent:\n return `parent module ${source.parentId}`;\n default:\n invariant(source, (source) => `Unknown source type: ${source?.type}`);\n }\n}\n\ntype ExternalRequire = (id: ModuleId) => Exports | EsmNamespaceObject;\ntype ExternalImport = (id: ModuleId) => Promise;\n\ninterface TurbopackNodeBuildContext extends TurbopackBaseContext {\n R: ResolvePathFromModule;\n x: ExternalRequire;\n y: ExternalImport;\n}\n\ntype ModuleFactory = (\n this: Module[\"exports\"],\n context: TurbopackNodeBuildContext\n) => undefined;\n\nconst url = require(\"url\");\nconst fs = require(\"fs/promises\");\nconst vm = require(\"vm\");\n\nconst moduleFactories: ModuleFactories = Object.create(null);\nconst moduleCache: ModuleCache = Object.create(null);\n\n/**\n * Returns an absolute path to the given module's id.\n */\nfunction createResolvePathFromModule(\n resolver: (moduleId: string) => Exports\n): (moduleId: string) => string {\n return function resolvePathFromModule(moduleId: string): string {\n const exported = resolver(moduleId);\n const exportedPath = exported?.default ?? exported;\n if (typeof exportedPath !== \"string\") {\n return exported as any;\n }\n\n const strippedAssetPrefix = exportedPath.slice(ASSET_PREFIX.length);\n const resolved = path.resolve(\n ABSOLUTE_ROOT,\n OUTPUT_ROOT,\n strippedAssetPrefix\n );\n\n return url.pathToFileURL(resolved);\n };\n}\n\nfunction loadChunk(chunkData: ChunkData, source?: SourceInfo): void {\n if (typeof chunkData === \"string\") {\n return loadChunkPath(chunkData, source);\n } else {\n return loadChunkPath(chunkData.path, source);\n }\n}\n\nfunction loadChunkPath(chunkPath: ChunkPath, source?: SourceInfo): void {\n if (!chunkPath.endsWith(\".js\")) {\n // We only support loading JS chunks in Node.js.\n // This branch can be hit when trying to load a CSS chunk.\n return;\n }\n\n try {\n const resolved = path.resolve(RUNTIME_ROOT, chunkPath);\n const chunkModules: ModuleFactories = require(resolved);\n\n for (const [moduleId, moduleFactory] of Object.entries(chunkModules)) {\n if (!moduleFactories[moduleId]) {\n moduleFactories[moduleId] = moduleFactory;\n }\n }\n } catch (e) {\n let errorMessage = `Failed to load chunk ${chunkPath}`;\n\n if (source) {\n errorMessage += ` from ${stringifySourceInfo(source)}`;\n }\n\n throw new Error(errorMessage, {\n cause: e,\n });\n }\n}\n\nasync function loadChunkAsync(\n source: SourceInfo,\n chunkData: ChunkData\n): Promise {\n const chunkPath = typeof chunkData === \"string\" ? chunkData : chunkData.path;\n if (!chunkPath.endsWith(\".js\")) {\n // We only support loading JS chunks in Node.js.\n // This branch can be hit when trying to load a CSS chunk.\n return;\n }\n\n const resolved = path.resolve(RUNTIME_ROOT, chunkPath);\n\n try {\n const contents = await fs.readFile(resolved, \"utf-8\");\n\n const module = {\n exports: {},\n };\n vm.runInThisContext(\n \"(function(module, exports, require, __dirname, __filename) {\" +\n contents +\n \"\\n})\",\n resolved\n )(module, module.exports, require, path.dirname(resolved), resolved);\n\n const chunkModules: ModuleFactories = module.exports;\n for (const [moduleId, moduleFactory] of Object.entries(chunkModules)) {\n if (!moduleFactories[moduleId]) {\n moduleFactories[moduleId] = moduleFactory;\n }\n }\n } catch (e) {\n let errorMessage = `Failed to load chunk ${chunkPath}`;\n\n if (source) {\n errorMessage += ` from ${stringifySourceInfo(source)}`;\n }\n\n throw new Error(errorMessage, {\n cause: e,\n });\n }\n}\n\nfunction loadWebAssembly(chunkPath: ChunkPath, imports: WebAssembly.Imports) {\n const resolved = path.resolve(RUNTIME_ROOT, chunkPath);\n\n return instantiateWebAssemblyFromPath(resolved, imports);\n}\n\nfunction loadWebAssemblyModule(chunkPath: ChunkPath) {\n const resolved = path.resolve(RUNTIME_ROOT, chunkPath);\n\n return compileWebAssemblyFromPath(resolved);\n}\n\nfunction getWorkerBlobURL(_chunks: ChunkPath[]) {\n throw new Error(\"Worker blobs are not implemented yet for Node.js\");\n}\n\nfunction instantiateModule(id: ModuleId, source: SourceInfo): Module {\n const moduleFactory = moduleFactories[id];\n if (typeof moduleFactory !== \"function\") {\n // This can happen if modules incorrectly handle HMR disposes/updates,\n // e.g. when they keep a `setTimeout` around which still executes old code\n // and contains e.g. a `require(\"something\")` call.\n let instantiationReason;\n switch (source.type) {\n case SourceType.Runtime:\n instantiationReason = `as a runtime entry of chunk ${source.chunkPath}`;\n break;\n case SourceType.Parent:\n instantiationReason = `because it was required from module ${source.parentId}`;\n break;\n default:\n invariant(source, (source) => `Unknown source type: ${source?.type}`);\n }\n throw new Error(\n `Module ${id} was instantiated ${instantiationReason}, but the module factory is not available. It might have been deleted in an HMR update.`\n );\n }\n\n let parents: ModuleId[];\n switch (source.type) {\n case SourceType.Runtime:\n parents = [];\n break;\n case SourceType.Parent:\n // No need to add this module as a child of the parent module here, this\n // has already been taken care of in `getOrInstantiateModuleFromParent`.\n parents = [source.parentId];\n break;\n default:\n invariant(source, (source) => `Unknown source type: ${source?.type}`);\n }\n\n const module: Module = {\n exports: {},\n error: undefined,\n loaded: false,\n id,\n parents,\n children: [],\n namespaceObject: undefined,\n };\n moduleCache[id] = module;\n\n // NOTE(alexkirsz) This can fail when the module encounters a runtime error.\n try {\n const r = commonJsRequire.bind(null, module);\n moduleFactory.call(module.exports, {\n a: asyncModule.bind(null, module),\n e: module.exports,\n r,\n t: runtimeRequire,\n x: externalRequire,\n y: externalImport,\n f: moduleContext,\n i: esmImport.bind(null, module),\n s: esmExport.bind(null, module, module.exports),\n j: dynamicExport.bind(null, module, module.exports),\n v: exportValue.bind(null, module),\n n: exportNamespace.bind(null, module),\n m: module,\n c: moduleCache,\n M: moduleFactories,\n l: loadChunkAsync.bind(null, { type: SourceType.Parent, parentId: id }),\n w: loadWebAssembly,\n u: loadWebAssemblyModule,\n g: globalThis,\n P: resolveAbsolutePath,\n U: relativeURL,\n R: createResolvePathFromModule(r),\n b: getWorkerBlobURL,\n __dirname: typeof module.id === \"string\" ? module.id.replace(/(^|\\/)\\/+$/, \"\") : module.id\n });\n } catch (error) {\n module.error = error as any;\n throw error;\n }\n\n module.loaded = true;\n if (module.namespaceObject && module.exports !== module.namespaceObject) {\n // in case of a circular dependency: cjs1 -> esm2 -> cjs1\n interopEsm(module.exports, module.namespaceObject);\n }\n\n return module;\n}\n\n/**\n * Retrieves a module from the cache, or instantiate it if it is not cached.\n */\nfunction getOrInstantiateModuleFromParent(\n id: ModuleId,\n sourceModule: Module\n): Module {\n const module = moduleCache[id];\n\n if (sourceModule.children.indexOf(id) === -1) {\n sourceModule.children.push(id);\n }\n\n if (module) {\n if (module.parents.indexOf(sourceModule.id) === -1) {\n module.parents.push(sourceModule.id);\n }\n\n return module;\n }\n\n return instantiateModule(id, {\n type: SourceType.Parent,\n parentId: sourceModule.id,\n });\n}\n\n/**\n * Instantiates a runtime module.\n */\nfunction instantiateRuntimeModule(\n moduleId: ModuleId,\n chunkPath: ChunkPath\n): Module {\n return instantiateModule(moduleId, { type: SourceType.Runtime, chunkPath });\n}\n\n/**\n * Retrieves a module from the cache, or instantiate it as a runtime module if it is not cached.\n */\nfunction getOrInstantiateRuntimeModule(\n moduleId: ModuleId,\n chunkPath: ChunkPath\n): Module {\n const module = moduleCache[moduleId];\n if (module) {\n if (module.error) {\n throw module.error;\n }\n return module;\n }\n\n return instantiateRuntimeModule(moduleId, chunkPath);\n}\n\nmodule.exports = {\n getOrInstantiateRuntimeModule,\n loadChunk,\n};\n"],"names":[],"mappings":"AAAA,oDAAoD,GAEpD,mDAAmD;AACnD,+DAA+D;AAC/D,+DAA+D;AAC/D,0DAA0D;;UAErD;IACH;;;GAGC;IAED;;GAEC;GARE,eAAA;AAsBL,SAAS,oBAAoB,MAAkB;IAC7C,OAAQ,OAAO,IAAI;QACjB;YACE,OAAO,CAAC,kBAAkB,EAAE,OAAO,SAAS,CAAC,CAAC;QAChD;YACE,OAAO,CAAC,cAAc,EAAE,OAAO,QAAQ,CAAC,CAAC;QAC3C;YACE,UAAU,QAAQ,CAAC,SAAW,CAAC,qBAAqB,EAAE,QAAQ,KAAK,CAAC;IACxE;AACF;AAgBA,MAAM,MAAM,QAAQ;AACpB,MAAM,KAAK,QAAQ;AACnB,MAAM,KAAK,QAAQ;AAEnB,MAAM,kBAAmC,OAAO,MAAM,CAAC;AACvD,MAAM,cAA2B,OAAO,MAAM,CAAC;AAE/C;;CAEC,GACD,SAAS,4BACP,QAAuC;IAEvC,OAAO,SAAS,sBAAsB,QAAgB;QACpD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,QAAO,KAAK,GAAG;QACf,MAAM;IACR;IAEA,QAAO,MAAM,GAAG;IAChB,IAAI,QAAO,eAAe,IAAI,QAAO,OAAO,KAAK,QAAO,eAAe,EAAE;QACvE,yDAAyD;QACzD,WAAW,QAAO,OAAO,EAAE,QAAO,eAAe;IACnD;IAEA,OAAO;AACT;AAEA;;CAEC,GACD,SAAS,iCACP,EAAY,EACZ,YAAoB;IAEpB,MAAM,UAAS,WAAW,CAAC,GAAG;IAE9B,IAAI,aAAa,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG;QAC5C,aAAa,QAAQ,CAAC,IAAI,CAAC;IAC7B;IAEA,IAAI,SAAQ;QACV,IAAI,QAAO,OAAO,CAAC,OAAO,CAAC,aAAa,EAAE,MAAM,CAAC,GAAG;YAClD,QAAO,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE;QACrC;QAEA,OAAO;IACT;IAEA,OAAO,kBAAkB,IAAI;QAC3B,IAAI;QACJ,UAAU,aAAa,EAAE;IAC3B;AACF;AAEA;;CAEC,GACD,SAAS,yBACP,QAAkB,EAClB,SAAoB;IAEpB,OAAO,kBAAkB,UAAU;QAAE,IAAI;QAAsB;IAAU;AAC3E;AAEA;;CAEC,GACD,SAAS,8BACP,QAAkB,EAClB,SAAoB;IAEpB,MAAM,UAAS,WAAW,CAAC,SAAS;IACpC,IAAI,SAAQ;QACV,IAAI,QAAO,KAAK,EAAE;YAChB,MAAM,QAAO,KAAK;QACpB;QACA,OAAO;IACT;IAEA,OAAO,yBAAyB,UAAU;AAC5C;AAEA,OAAO,OAAO,GAAG;IACf;IACA;AACF"}}] + {"offset": {"line": 3, "column": 0}, "map": {"version":3,"sources":["turbopack://[turbopack]/shared/runtime-utils.ts"],"sourcesContent":["/**\n * This file contains runtime types and functions that are shared between all\n * TurboPack ECMAScript runtimes.\n *\n * It will be prepended to the runtime code of each runtime.\n */\n\n/* eslint-disable @typescript-eslint/no-unused-vars */\n\n/// \n\ntype EsmNamespaceObject = Record;\n\n// @ts-ignore Defined in `dev-base.ts`\ndeclare function getOrInstantiateModuleFromParent(\n id: ModuleId,\n sourceModule: M\n): M;\n\nconst REEXPORTED_OBJECTS = Symbol(\"reexported objects\");\n\ntype ModuleContextMap = Record;\n\ninterface ModuleContextEntry {\n id: () => ModuleId;\n module: () => any;\n}\n\ninterface ModuleContext {\n // require call\n (moduleId: ModuleId): Exports | EsmNamespaceObject;\n\n // async import call\n import(moduleId: ModuleId): Promise;\n\n keys(): ModuleId[];\n\n resolve(moduleId: ModuleId): ModuleId;\n}\n\ntype GetOrInstantiateModuleFromParent = (\n moduleId: ModuleId,\n parentModule: M\n) => M;\n\ndeclare function getOrInstantiateRuntimeModule(moduleId: ModuleId, chunkPath: ChunkPath): Module;\n\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\nconst toStringTag = typeof Symbol !== \"undefined\" && Symbol.toStringTag;\n\nfunction defineProp(\n obj: any,\n name: PropertyKey,\n options: PropertyDescriptor & ThisType\n) {\n if (!hasOwnProperty.call(obj, name))\n Object.defineProperty(obj, name, options);\n}\n\n/**\n * Adds the getters to the exports object.\n */\nfunction esm(\n exports: Exports,\n getters: Record any) | [() => any, (v: any) => void]>\n) {\n defineProp(exports, \"__esModule\", { value: true });\n if (toStringTag) defineProp(exports, toStringTag, { value: \"Module\" });\n for (const key in getters) {\n const item = getters[key];\n if (Array.isArray(item)) {\n defineProp(exports, key, {\n get: item[0],\n set: item[1],\n enumerable: true,\n });\n } else {\n defineProp(exports, key, { get: item, enumerable: true });\n }\n }\n Object.seal(exports);\n}\n\n/**\n * Makes the module an ESM with exports\n */\nfunction esmExport(\n module: Module,\n exports: Exports,\n getters: Record any>\n) {\n module.namespaceObject = module.exports;\n esm(exports, getters);\n}\n\nfunction ensureDynamicExports(module: Module, exports: Exports) {\n let reexportedObjects = module[REEXPORTED_OBJECTS];\n\n if (!reexportedObjects) {\n reexportedObjects = module[REEXPORTED_OBJECTS] = [];\n module.exports = module.namespaceObject = new Proxy(exports, {\n get(target, prop) {\n if (\n hasOwnProperty.call(target, prop) ||\n prop === \"default\" ||\n prop === \"__esModule\"\n ) {\n return Reflect.get(target, prop);\n }\n for (const obj of reexportedObjects!) {\n const value = Reflect.get(obj, prop);\n if (value !== undefined) return value;\n }\n return undefined;\n },\n ownKeys(target) {\n const keys = Reflect.ownKeys(target);\n for (const obj of reexportedObjects!) {\n for (const key of Reflect.ownKeys(obj)) {\n if (key !== \"default\" && !keys.includes(key)) keys.push(key);\n }\n }\n return keys;\n },\n });\n }\n}\n\n/**\n * Dynamically exports properties from an object\n */\nfunction dynamicExport(\n module: Module,\n exports: Exports,\n object: Record\n) {\n ensureDynamicExports(module, exports);\n\n if (typeof object === \"object\" && object !== null) {\n module[REEXPORTED_OBJECTS]!.push(object);\n }\n}\n\nfunction exportValue(module: Module, value: any) {\n module.exports = value;\n}\n\nfunction exportNamespace(module: Module, namespace: any) {\n module.exports = module.namespaceObject = namespace;\n}\n\nfunction createGetter(obj: Record, key: string | symbol) {\n return () => obj[key];\n}\n\n/**\n * @returns prototype of the object\n */\nconst getProto: (obj: any) => any = Object.getPrototypeOf\n ? (obj) => Object.getPrototypeOf(obj)\n : (obj) => obj.__proto__;\n\n/** Prototypes that are not expanded for exports */\nconst LEAF_PROTOTYPES = [null, getProto({}), getProto([]), getProto(getProto)];\n\n/**\n * @param raw\n * @param ns\n * @param allowExportDefault\n * * `false`: will have the raw module as default export\n * * `true`: will have the default property as default export\n */\nfunction interopEsm(\n raw: Exports,\n ns: EsmNamespaceObject,\n allowExportDefault?: boolean\n) {\n const getters: { [s: string]: () => any } = Object.create(null);\n for (\n let current = raw;\n (typeof current === \"object\" || typeof current === \"function\") &&\n !LEAF_PROTOTYPES.includes(current);\n current = getProto(current)\n ) {\n for (const key of Object.getOwnPropertyNames(current)) {\n getters[key] = createGetter(raw, key);\n }\n }\n\n // this is not really correct\n // we should set the `default` getter if the imported module is a `.cjs file`\n if (!(allowExportDefault && \"default\" in getters)) {\n getters[\"default\"] = () => raw;\n }\n\n esm(ns, getters);\n return ns;\n}\n\nfunction createNS(raw: Module[\"exports\"]): EsmNamespaceObject {\n if (typeof raw === \"function\") {\n return function (this: any, ...args: any[]) {\n return raw.apply(this, args);\n };\n } else {\n return Object.create(null);\n }\n}\n\nfunction esmImport(\n sourceModule: Module,\n id: ModuleId\n): Exclude {\n const module = getOrInstantiateModuleFromParent(id, sourceModule);\n if (module.error) throw module.error;\n\n // any ES module has to have `module.namespaceObject` defined.\n if (module.namespaceObject) return module.namespaceObject;\n\n // only ESM can be an async module, so we don't need to worry about exports being a promise here.\n const raw = module.exports;\n return (module.namespaceObject = interopEsm(\n raw,\n createNS(raw),\n raw && (raw as any).__esModule\n ));\n}\n\n// Add a simple runtime require so that environments without one can still pass\n// `typeof require` CommonJS checks so that exports are correctly registered.\nconst runtimeRequire =\n // @ts-ignore\n typeof require === \"function\"\n // @ts-ignore\n ? require\n : function require() {\n throw new Error(\"Unexpected use of runtime require\");\n };\n\nfunction commonJsRequire(sourceModule: Module, id: ModuleId): Exports {\n const module = getOrInstantiateModuleFromParent(id, sourceModule);\n if (module.error) throw module.error;\n return module.exports;\n}\n\n/**\n * `require.context` and require/import expression runtime.\n */\nfunction moduleContext(map: ModuleContextMap): ModuleContext {\n function moduleContext(id: ModuleId): Exports {\n if (hasOwnProperty.call(map, id)) {\n return map[id].module();\n }\n\n const e = new Error(`Cannot find module '${id}'`);\n (e as any).code = \"MODULE_NOT_FOUND\";\n throw e;\n }\n\n moduleContext.keys = (): ModuleId[] => {\n return Object.keys(map);\n };\n\n moduleContext.resolve = (id: ModuleId): ModuleId => {\n if (hasOwnProperty.call(map, id)) {\n return map[id].id();\n }\n\n const e = new Error(`Cannot find module '${id}'`);\n (e as any).code = \"MODULE_NOT_FOUND\";\n throw e;\n };\n\n moduleContext.import = async (id: ModuleId) => {\n return await (moduleContext(id) as Promise);\n };\n\n return moduleContext;\n}\n\n/**\n * Returns the path of a chunk defined by its data.\n */\nfunction getChunkPath(chunkData: ChunkData): ChunkPath {\n return typeof chunkData === \"string\" ? chunkData : chunkData.path;\n}\n\nfunction isPromise(maybePromise: any): maybePromise is Promise {\n return (\n maybePromise != null &&\n typeof maybePromise === \"object\" &&\n \"then\" in maybePromise &&\n typeof maybePromise.then === \"function\"\n );\n}\n\nfunction isAsyncModuleExt(obj: T): obj is AsyncModuleExt & T {\n return turbopackQueues in obj;\n}\n\nfunction createPromise() {\n let resolve: (value: T | PromiseLike) => void;\n let reject: (reason?: any) => void;\n\n const promise = new Promise((res, rej) => {\n reject = rej;\n resolve = res;\n });\n\n return {\n promise,\n resolve: resolve!,\n reject: reject!,\n };\n}\n\n// everything below is adapted from webpack\n// https://github.com/webpack/webpack/blob/6be4065ade1e252c1d8dcba4af0f43e32af1bdc1/lib/runtime/AsyncModuleRuntimeModule.js#L13\n\nconst turbopackQueues = Symbol(\"turbopack queues\");\nconst turbopackExports = Symbol(\"turbopack exports\");\nconst turbopackError = Symbol(\"turbopack error\");\n\nconst enum QueueStatus {\n Unknown = -1,\n Unresolved = 0,\n Resolved = 1,\n}\n\ntype AsyncQueueFn = (() => void) & { queueCount: number };\ntype AsyncQueue = AsyncQueueFn[] & {\n status: QueueStatus;\n};\n\nfunction resolveQueue(queue?: AsyncQueue) {\n if (queue && queue.status !== QueueStatus.Resolved) {\n queue.status = QueueStatus.Resolved;\n queue.forEach((fn) => fn.queueCount--);\n queue.forEach((fn) => (fn.queueCount-- ? fn.queueCount++ : fn()));\n }\n}\n\ntype Dep = Exports | AsyncModulePromise | Promise;\n\ntype AsyncModuleExt = {\n [turbopackQueues]: (fn: (queue: AsyncQueue) => void) => void;\n [turbopackExports]: Exports;\n [turbopackError]?: any;\n};\n\ntype AsyncModulePromise = Promise & AsyncModuleExt;\n\nfunction wrapDeps(deps: Dep[]): AsyncModuleExt[] {\n return deps.map((dep): AsyncModuleExt => {\n if (dep !== null && typeof dep === \"object\") {\n if (isAsyncModuleExt(dep)) return dep;\n if (isPromise(dep)) {\n const queue: AsyncQueue = Object.assign([], {\n status: QueueStatus.Unresolved,\n });\n\n const obj: AsyncModuleExt = {\n [turbopackExports]: {},\n [turbopackQueues]: (fn: (queue: AsyncQueue) => void) => fn(queue),\n };\n\n dep.then(\n (res) => {\n obj[turbopackExports] = res;\n resolveQueue(queue);\n },\n (err) => {\n obj[turbopackError] = err;\n resolveQueue(queue);\n }\n );\n\n return obj;\n }\n }\n\n return {\n [turbopackExports]: dep,\n [turbopackQueues]: () => {},\n };\n });\n}\n\nfunction asyncModule(\n module: Module,\n body: (\n handleAsyncDependencies: (\n deps: Dep[]\n ) => Exports[] | Promise<() => Exports[]>,\n asyncResult: (err?: any) => void\n ) => void,\n hasAwait: boolean\n) {\n const queue: AsyncQueue | undefined = hasAwait\n ? Object.assign([], { status: QueueStatus.Unknown })\n : undefined;\n\n const depQueues: Set = new Set();\n\n const { resolve, reject, promise: rawPromise } = createPromise();\n\n const promise: AsyncModulePromise = Object.assign(rawPromise, {\n [turbopackExports]: module.exports,\n [turbopackQueues]: (fn) => {\n queue && fn(queue);\n depQueues.forEach(fn);\n promise[\"catch\"](() => {});\n },\n } satisfies AsyncModuleExt);\n\n const attributes: PropertyDescriptor = {\n get(): any {\n return promise;\n },\n set(v: any) {\n // Calling `esmExport` leads to this.\n if (v !== promise) {\n promise[turbopackExports] = v;\n }\n },\n };\n\n Object.defineProperty(module, \"exports\", attributes);\n Object.defineProperty(module, \"namespaceObject\", attributes);\n\n function handleAsyncDependencies(deps: Dep[]) {\n const currentDeps = wrapDeps(deps);\n\n const getResult = () =>\n currentDeps.map((d) => {\n if (d[turbopackError]) throw d[turbopackError];\n return d[turbopackExports];\n });\n\n const { promise, resolve } = createPromise<() => Exports[]>();\n\n const fn: AsyncQueueFn = Object.assign(() => resolve(getResult), {\n queueCount: 0,\n });\n\n function fnQueue(q: AsyncQueue) {\n if (q !== queue && !depQueues.has(q)) {\n depQueues.add(q);\n if (q && q.status === QueueStatus.Unresolved) {\n fn.queueCount++;\n q.push(fn);\n }\n }\n }\n\n currentDeps.map((dep) => dep[turbopackQueues](fnQueue));\n\n return fn.queueCount ? promise : getResult();\n }\n\n function asyncResult(err?: any) {\n if (err) {\n reject((promise[turbopackError] = err));\n } else {\n resolve(promise[turbopackExports]);\n }\n\n resolveQueue(queue);\n }\n\n body(handleAsyncDependencies, asyncResult);\n\n if (queue && queue.status === QueueStatus.Unknown) {\n queue.status = QueueStatus.Unresolved;\n }\n}\n\n/**\n * A pseudo \"fake\" URL object to resolve to its relative path.\n *\n * When UrlRewriteBehavior is set to relative, calls to the `new URL()` will construct url without base using this\n * runtime function to generate context-agnostic urls between different rendering context, i.e ssr / client to avoid\n * hydration mismatch.\n *\n * This is based on webpack's existing implementation:\n * https://github.com/webpack/webpack/blob/87660921808566ef3b8796f8df61bd79fc026108/lib/runtime/RelativeUrlRuntimeModule.js\n */\nconst relativeURL = function relativeURL(this: any, inputUrl: string) {\n const realUrl = new URL(inputUrl, \"x:/\");\n const values: Record = {};\n for (const key in realUrl) values[key] = (realUrl as any)[key];\n values.href = inputUrl;\n values.pathname = inputUrl.replace(/[?#].*/, \"\");\n values.origin = values.protocol = \"\";\n values.toString = values.toJSON = (..._args: Array) => inputUrl;\n for (const key in values)\n Object.defineProperty(this, key, {\n enumerable: true,\n configurable: true,\n value: values[key],\n });\n};\n\nrelativeURL.prototype = URL.prototype;\n\n/**\n * Utility function to ensure all variants of an enum are handled.\n */\nfunction invariant(never: never, computeMessage: (arg: any) => string): never {\n throw new Error(`Invariant: ${computeMessage(never)}`);\n}\n\n/**\n * A stub function to make `require` available but non-functional in ESM.\n */\nfunction requireStub(_moduleId: ModuleId): never {\n throw new Error(\"dynamic usage of require is not supported\");\n}\n"],"names":[],"mappings":"AAAA;;;;;CAKC,GAED,oDAAoD,GAEpD,6CAA6C;AAU7C,MAAM,qBAAqB,OAAO;AA4BlC,MAAM,iBAAiB,OAAO,SAAS,CAAC,cAAc;AACtD,MAAM,cAAc,OAAO,WAAW,eAAe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AACJ;AAEA,YAAY,SAAS,GAAG,IAAI,SAAS;AAErC;;CAEC,GACD,SAAS,UAAU,KAAY,EAAE,cAAoC;IACnE,MAAM,IAAI,MAAM,CAAC,WAAW,EAAE,eAAe,OAAO,CAAC;AACvD;AAEA;;CAEC,GACD,SAAS,YAAY,SAAmB;IACtC,MAAM,IAAI,MAAM;AAClB"}}, + {"offset": {"line": 338, "column": 0}, "map": {"version":3,"sources":["turbopack://[turbopack]/shared-node/base-externals-utils.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\n\n/// \n\n/// A 'base' utilities to support runtime can have externals.\n/// Currently this is for node.js / edge runtime both.\n/// If a fn requires node.js specific behavior, it should be placed in `node-external-utils` instead.\n\nasync function externalImport(id: ModuleId) {\n let raw;\n try {\n raw = await import(id);\n } catch (err) {\n // TODO(alexkirsz) This can happen when a client-side module tries to load\n // an external module we don't provide a shim for (e.g. querystring, url).\n // For now, we fail semi-silently, but in the future this should be a\n // compilation error.\n throw new Error(`Failed to load external module ${id}: ${err}`);\n }\n\n if (raw && raw.__esModule && raw.default && \"default\" in raw.default) {\n return interopEsm(raw.default, createNS(raw), true);\n }\n\n return raw;\n}\n\nfunction externalRequire(\n id: ModuleId,\n esm: boolean = false\n): Exports | EsmNamespaceObject {\n let raw;\n try {\n raw = require(id);\n } catch (err) {\n // TODO(alexkirsz) This can happen when a client-side module tries to load\n // an external module we don't provide a shim for (e.g. querystring, url).\n // For now, we fail semi-silently, but in the future this should be a\n // compilation error.\n throw new Error(`Failed to load external module ${id}: ${err}`);\n }\n\n if (!esm || raw.__esModule) {\n return raw;\n }\n\n return interopEsm(raw, createNS(raw), true);\n}\n\nexternalRequire.resolve = (\n id: string,\n options?: {\n paths?: string[];\n }\n) => {\n return require.resolve(id, options);\n};\n"],"names":[],"mappings":"AAAA,oDAAoD,GAEpD,mDAAmD;AAEnD,6DAA6D;AAC7D,sDAAsD;AACtD,qGAAqG;AAErG,eAAe,eAAe,EAAY;IACxC,IAAI;IACJ,IAAI;QACF,MAAM,MAAM,MAAM,CAAC;IACrB,EAAE,OAAO,KAAK;QACZ,0EAA0E;QAC1E,0EAA0E;QAC1E,qEAAqE;QACrE,qBAAqB;QACrB,MAAM,IAAI,MAAM,CAAC,+BAA+B,EAAE,GAAG,EAAE,EAAE,IAAI,CAAC;IAChE;IAEA,IAAI,OAAO,IAAI,UAAU,IAAI,IAAI,OAAO,IAAI,aAAa,IAAI,OAAO,EAAE;QACpE,OAAO,WAAW,IAAI,OAAO,EAAE,SAAS,MAAM;IAChD;IAEA,OAAO;AACT;AAEA,SAAS,gBACP,EAAY,EACZ,MAAe,KAAK;IAEpB,IAAI;IACJ,IAAI;QACF,MAAM,QAAQ;IAChB,EAAE,OAAO,KAAK;QACZ,0EAA0E;QAC1E,0EAA0E;QAC1E,qEAAqE;QACrE,qBAAqB;QACrB,MAAM,IAAI,MAAM,CAAC,+BAA+B,EAAE,GAAG,EAAE,EAAE,IAAI,CAAC;IAChE;IAEA,IAAI,CAAC,OAAO,IAAI,UAAU,EAAE;QAC1B,OAAO;IACT;IAEA,OAAO,WAAW,KAAK,SAAS,MAAM;AACxC;AAEA,gBAAgB,OAAO,GAAG,CACxB,IACA;IAIA,OAAO,QAAQ,OAAO,CAAC,IAAI;AAC7B"}}, + {"offset": {"line": 377, "column": 0}, "map": {"version":3,"sources":["turbopack://[turbopack]/shared-node/node-externals-utils.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\n\ndeclare var RUNTIME_PUBLIC_PATH: string;\ndeclare var OUTPUT_ROOT: string;\ndeclare var ASSET_PREFIX: string;\n\nconst path = require(\"path\");\n\nconst relativePathToRuntimeRoot = path.relative(RUNTIME_PUBLIC_PATH, \".\");\n// Compute the relative path to the `distDir`.\nconst relativePathToDistRoot = path.relative(\n path.join(OUTPUT_ROOT, RUNTIME_PUBLIC_PATH),\n \".\"\n);\nconst RUNTIME_ROOT = path.resolve(__filename, relativePathToRuntimeRoot);\n// Compute the absolute path to the root, by stripping distDir from the absolute path to this file.\nconst ABSOLUTE_ROOT = path.resolve(__filename, relativePathToDistRoot);\n\n/**\n * Returns an absolute path to the given module path.\n * Module path should be relative, either path to a file or a directory.\n *\n * This fn allows to calculate an absolute path for some global static values, such as\n * `__dirname` or `import.meta.url` that Turbopack will not embeds in compile time.\n * See ImportMetaBinding::code_generation for the usage.\n */\nfunction resolveAbsolutePath(modulePath?: string): string {\n if (modulePath) {\n return path.join(ABSOLUTE_ROOT, modulePath);\n }\n return ABSOLUTE_ROOT;\n}\n"],"names":[],"mappings":"AAAA,oDAAoD,GAMpD,MAAM,OAAO,QAAQ;AAErB,MAAM,4BAA4B,KAAK,QAAQ,CAAC,qBAAqB;AACrE,8CAA8C;AAC9C,MAAM,yBAAyB,KAAK,QAAQ,CAC1C,KAAK,IAAI,CAAC,aAAa,sBACvB;AAEF,MAAM,eAAe,KAAK,OAAO,CAAC,YAAY;AAC9C,mGAAmG;AACnG,MAAM,gBAAgB,KAAK,OAAO,CAAC,YAAY;AAE/C;;;;;;;CAOC,GACD,SAAS,oBAAoB,UAAmB;IAC9C,IAAI,YAAY;QACd,OAAO,KAAK,IAAI,CAAC,eAAe;IAClC;IACA,OAAO;AACT"}}, + {"offset": {"line": 397, "column": 0}, "map": {"version":3,"sources":["turbopack://[turbopack]/shared-node/node-wasm-utils.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\n\n/// \n\nfunction readWebAssemblyAsResponse(path: string) {\n const { createReadStream } = require(\"fs\") as typeof import(\"fs\");\n const { Readable } = require(\"stream\") as typeof import(\"stream\");\n\n const stream = createReadStream(path);\n\n // @ts-ignore unfortunately there's a slight type mismatch with the stream.\n return new Response(Readable.toWeb(stream), {\n headers: {\n \"content-type\": \"application/wasm\",\n },\n });\n}\n\nasync function compileWebAssemblyFromPath(\n path: string\n): Promise {\n const response = readWebAssemblyAsResponse(path);\n\n return await WebAssembly.compileStreaming(response);\n}\n\nasync function instantiateWebAssemblyFromPath(\n path: string,\n importsObj: WebAssembly.Imports\n): Promise {\n const response = readWebAssemblyAsResponse(path);\n\n const { instance } = await WebAssembly.instantiateStreaming(\n response,\n importsObj\n );\n\n return instance.exports;\n}\n"],"names":[],"mappings":"AAAA,oDAAoD,GAEpD,mDAAmD;AAEnD,SAAS,0BAA0B,IAAY;IAC7C,MAAM,EAAE,gBAAgB,EAAE,GAAG,QAAQ;IACrC,MAAM,EAAE,QAAQ,EAAE,GAAG,QAAQ;IAE7B,MAAM,SAAS,iBAAiB;IAEhC,2EAA2E;IAC3E,OAAO,IAAI,SAAS,SAAS,KAAK,CAAC,SAAS;QAC1C,SAAS;YACP,gBAAgB;QAClB;IACF;AACF;AAEA,eAAe,2BACb,IAAY;IAEZ,MAAM,WAAW,0BAA0B;IAE3C,OAAO,MAAM,YAAY,gBAAgB,CAAC;AAC5C;AAEA,eAAe,+BACb,IAAY,EACZ,UAA+B;IAE/B,MAAM,WAAW,0BAA0B;IAE3C,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,YAAY,oBAAoB,CACzD,UACA;IAGF,OAAO,SAAS,OAAO;AACzB"}}, + {"offset": {"line": 418, "column": 0}, "map": {"version":3,"sources":["turbopack://[turbopack]/nodejs/runtime.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\n\n/// \n/// \n/// \n/// \n\nenum SourceType {\n /**\n * The module was instantiated because it was included in an evaluated chunk's\n * runtime.\n */\n Runtime = 0,\n /**\n * The module was instantiated because a parent module imported it.\n */\n Parent = 1,\n}\n\ntype SourceInfo =\n | {\n type: SourceType.Runtime;\n chunkPath: ChunkPath;\n }\n | {\n type: SourceType.Parent;\n parentId: ModuleId;\n };\n\nfunction stringifySourceInfo(source: SourceInfo): string {\n switch (source.type) {\n case SourceType.Runtime:\n return `runtime for chunk ${source.chunkPath}`;\n case SourceType.Parent:\n return `parent module ${source.parentId}`;\n default:\n invariant(source, (source) => `Unknown source type: ${source?.type}`);\n }\n}\n\ntype ExternalRequire = (id: ModuleId) => Exports | EsmNamespaceObject;\ntype ExternalImport = (id: ModuleId) => Promise;\n\ninterface TurbopackNodeBuildContext extends TurbopackBaseContext {\n R: ResolvePathFromModule;\n x: ExternalRequire;\n y: ExternalImport;\n}\n\ntype ModuleFactory = (\n this: Module[\"exports\"],\n context: TurbopackNodeBuildContext\n) => undefined;\n\nconst url = require(\"url\");\nconst fs = require(\"fs/promises\");\nconst vm = require(\"vm\");\n\nconst moduleFactories: ModuleFactories = Object.create(null);\nconst moduleCache: ModuleCache = Object.create(null);\n\n/**\n * Returns an absolute path to the given module's id.\n */\nfunction createResolvePathFromModule(\n resolver: (moduleId: string) => Exports\n): (moduleId: string) => string {\n return function resolvePathFromModule(moduleId: string): string {\n const exported = resolver(moduleId);\n const exportedPath = exported?.default ?? exported;\n if (typeof exportedPath !== \"string\") {\n return exported as any;\n }\n\n const strippedAssetPrefix = exportedPath.slice(ASSET_PREFIX.length);\n const resolved = path.resolve(\n ABSOLUTE_ROOT,\n OUTPUT_ROOT,\n strippedAssetPrefix\n );\n\n return url.pathToFileURL(resolved);\n };\n}\n\nfunction loadChunk(chunkData: ChunkData, source?: SourceInfo): void {\n if (typeof chunkData === \"string\") {\n return loadChunkPath(chunkData, source);\n } else {\n return loadChunkPath(chunkData.path, source);\n }\n}\n\nfunction loadChunkPath(chunkPath: ChunkPath, source?: SourceInfo): void {\n if (!chunkPath.endsWith(\".js\")) {\n // We only support loading JS chunks in Node.js.\n // This branch can be hit when trying to load a CSS chunk.\n return;\n }\n\n try {\n const resolved = path.resolve(RUNTIME_ROOT, chunkPath);\n const chunkModules: ModuleFactories = require(resolved);\n\n for (const [moduleId, moduleFactory] of Object.entries(chunkModules)) {\n if (!moduleFactories[moduleId]) {\n moduleFactories[moduleId] = moduleFactory;\n }\n }\n } catch (e) {\n let errorMessage = `Failed to load chunk ${chunkPath}`;\n\n if (source) {\n errorMessage += ` from ${stringifySourceInfo(source)}`;\n }\n\n throw new Error(errorMessage, {\n cause: e,\n });\n }\n}\n\nasync function loadChunkAsync(\n source: SourceInfo,\n chunkData: ChunkData\n): Promise {\n const chunkPath = typeof chunkData === \"string\" ? chunkData : chunkData.path;\n if (!chunkPath.endsWith(\".js\")) {\n // We only support loading JS chunks in Node.js.\n // This branch can be hit when trying to load a CSS chunk.\n return;\n }\n\n const resolved = path.resolve(RUNTIME_ROOT, chunkPath);\n\n try {\n const contents = await fs.readFile(resolved, \"utf-8\");\n\n const module = {\n exports: {},\n };\n vm.runInThisContext(\n \"(function(module, exports, require, __dirname, __filename) {\" +\n contents +\n \"\\n})\",\n resolved\n )(module, module.exports, require, path.dirname(resolved), resolved);\n\n const chunkModules: ModuleFactories = module.exports;\n for (const [moduleId, moduleFactory] of Object.entries(chunkModules)) {\n if (!moduleFactories[moduleId]) {\n moduleFactories[moduleId] = moduleFactory;\n }\n }\n } catch (e) {\n let errorMessage = `Failed to load chunk ${chunkPath}`;\n\n if (source) {\n errorMessage += ` from ${stringifySourceInfo(source)}`;\n }\n\n throw new Error(errorMessage, {\n cause: e,\n });\n }\n}\n\nfunction loadWebAssembly(chunkPath: ChunkPath, imports: WebAssembly.Imports) {\n const resolved = path.resolve(RUNTIME_ROOT, chunkPath);\n\n return instantiateWebAssemblyFromPath(resolved, imports);\n}\n\nfunction loadWebAssemblyModule(chunkPath: ChunkPath) {\n const resolved = path.resolve(RUNTIME_ROOT, chunkPath);\n\n return compileWebAssemblyFromPath(resolved);\n}\n\nfunction getWorkerBlobURL(_chunks: ChunkPath[]): string {\n throw new Error(\"Worker blobs are not implemented yet for Node.js\");\n}\n\nfunction instantiateModule(id: ModuleId, source: SourceInfo): ModuleWithDirection {\n const moduleFactory = moduleFactories[id];\n if (typeof moduleFactory !== \"function\") {\n // This can happen if modules incorrectly handle HMR disposes/updates,\n // e.g. when they keep a `setTimeout` around which still executes old code\n // and contains e.g. a `require(\"something\")` call.\n let instantiationReason;\n switch (source.type) {\n case SourceType.Runtime:\n instantiationReason = `as a runtime entry of chunk ${source.chunkPath}`;\n break;\n case SourceType.Parent:\n instantiationReason = `because it was required from module ${source.parentId}`;\n break;\n default:\n invariant(source, (source) => `Unknown source type: ${source?.type}`);\n }\n throw new Error(\n `Module ${id} was instantiated ${instantiationReason}, but the module factory is not available. It might have been deleted in an HMR update.`\n );\n }\n\n let parents: ModuleId[];\n switch (source.type) {\n case SourceType.Runtime:\n parents = [];\n break;\n case SourceType.Parent:\n // No need to add this module as a child of the parent module here, this\n // has already been taken care of in `getOrInstantiateModuleFromParent`.\n parents = [source.parentId];\n break;\n default:\n invariant(source, (source) => `Unknown source type: ${source?.type}`);\n }\n\n const module: ModuleWithDirection = {\n exports: {},\n error: undefined,\n loaded: false,\n id,\n parents,\n children: [],\n namespaceObject: undefined,\n };\n moduleCache[id] = module;\n\n // NOTE(alexkirsz) This can fail when the module encounters a runtime error.\n try {\n const r = commonJsRequire.bind(null, module);\n moduleFactory.call(module.exports, {\n a: asyncModule.bind(null, module),\n e: module.exports,\n r,\n t: runtimeRequire,\n x: externalRequire,\n y: externalImport,\n f: moduleContext,\n i: esmImport.bind(null, module),\n s: esmExport.bind(null, module, module.exports),\n j: dynamicExport.bind(null, module, module.exports),\n v: exportValue.bind(null, module),\n n: exportNamespace.bind(null, module),\n m: module,\n c: moduleCache,\n M: moduleFactories,\n l: loadChunkAsync.bind(null, { type: SourceType.Parent, parentId: id }),\n w: loadWebAssembly,\n u: loadWebAssemblyModule,\n g: globalThis,\n P: resolveAbsolutePath,\n U: relativeURL,\n R: createResolvePathFromModule(r),\n b: getWorkerBlobURL,\n z: requireStub,\n __dirname: typeof module.id === \"string\" ? module.id.replace(/(^|\\/)\\/+$/, \"\") : module.id\n });\n } catch (error) {\n module.error = error as any;\n throw error;\n }\n\n module.loaded = true;\n if (module.namespaceObject && module.exports !== module.namespaceObject) {\n // in case of a circular dependency: cjs1 -> esm2 -> cjs1\n interopEsm(module.exports, module.namespaceObject);\n }\n\n return module;\n}\n\n/**\n * Retrieves a module from the cache, or instantiate it if it is not cached.\n */\n// @ts-ignore\nfunction getOrInstantiateModuleFromParent(\n id: ModuleId,\n sourceModule: ModuleWithDirection\n): ModuleWithDirection {\n const module = moduleCache[id];\n\n if (sourceModule.children.indexOf(id) === -1) {\n sourceModule.children.push(id);\n }\n\n if (module) {\n if (module.parents.indexOf(sourceModule.id) === -1) {\n module.parents.push(sourceModule.id);\n }\n\n return module;\n }\n\n return instantiateModule(id, {\n type: SourceType.Parent,\n parentId: sourceModule.id,\n });\n}\n\n/**\n * Instantiates a runtime module.\n */\nfunction instantiateRuntimeModule(\n moduleId: ModuleId,\n chunkPath: ChunkPath\n): Module {\n return instantiateModule(moduleId, { type: SourceType.Runtime, chunkPath });\n}\n\n/**\n * Retrieves a module from the cache, or instantiate it as a runtime module if it is not cached.\n */\n// @ts-ignore TypeScript doesn't separate this module space from the browser runtime\nfunction getOrInstantiateRuntimeModule(\n moduleId: ModuleId,\n chunkPath: ChunkPath\n): Module {\n const module = moduleCache[moduleId];\n if (module) {\n if (module.error) {\n throw module.error;\n }\n return module;\n }\n\n return instantiateRuntimeModule(moduleId, chunkPath);\n}\n\nmodule.exports = {\n getOrInstantiateRuntimeModule,\n loadChunk,\n};\n"],"names":[],"mappings":"AAAA,oDAAoD,GAEpD,mDAAmD;AACnD,+DAA+D;AAC/D,+DAA+D;AAC/D,0DAA0D;;UAErD;IACH;;;GAGC;IAED;;GAEC;GARE,eAAA;AAsBL,SAAS,oBAAoB,MAAkB;IAC7C,OAAQ,OAAO,IAAI;QACjB;YACE,OAAO,CAAC,kBAAkB,EAAE,OAAO,SAAS,CAAC,CAAC;QAChD;YACE,OAAO,CAAC,cAAc,EAAE,OAAO,QAAQ,CAAC,CAAC;QAC3C;YACE,UAAU,QAAQ,CAAC,SAAW,CAAC,qBAAqB,EAAE,QAAQ,KAAK,CAAC;IACxE;AACF;AAgBA,MAAM,MAAM,QAAQ;AACpB,MAAM,KAAK,QAAQ;AACnB,MAAM,KAAK,QAAQ;AAEnB,MAAM,kBAAmC,OAAO,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output/b1abf_turbopack-tests_tests_snapshot_runtime_default_build_runtime_input_index_ba3c94.js b/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_build_runtime/output/b1abf_turbopack-tests_tests_snapshot_runtime_default_build_runtime_input_index_ba3c94.js index d386e20a3418a..d4259da8421a3 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_build_runtime/output/b1abf_turbopack-tests_tests_snapshot_runtime_default_build_runtime_input_index_ba3c94.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_build_runtime/output/b1abf_turbopack-tests_tests_snapshot_runtime_default_build_runtime_input_index_ba3c94.js @@ -1,10 +1,11 @@ module.exports = { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_build_runtime/input/index.js [test] (ecmascript)": (function({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require }) { !function() { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_build_runtime/input/index.js [test] (ecmascript)": (function(__turbopack_context__) { +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require } = __turbopack_context__; +{ console.log("Hello, world!"); - -}.call(this) }), +}}), }; diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_build_runtime/output/b1abf_turbopack-tests_tests_snapshot_runtime_default_build_runtime_input_index_ba3c94.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_build_runtime/output/b1abf_turbopack-tests_tests_snapshot_runtime_default_build_runtime_input_index_ba3c94.js.map index cf56974ecd1c4..a469d585cb490 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_build_runtime/output/b1abf_turbopack-tests_tests_snapshot_runtime_default_build_runtime_input_index_ba3c94.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_build_runtime/output/b1abf_turbopack-tests_tests_snapshot_runtime_default_build_runtime_input_index_ba3c94.js.map @@ -2,6 +2,6 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_build_runtime/input/index.js"],"sourcesContent":["console.log(\"Hello, world!\");\n"],"names":[],"mappings":"AAAA,QAAQ,GAAG,CAAC"}}, - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 6, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_build_runtime/input/index.js"],"sourcesContent":["console.log(\"Hello, world!\");\n"],"names":[],"mappings":"AAAA,QAAQ,GAAG,CAAC"}}, + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_dev_runtime/output/b1abf_turbopack-tests_tests_snapshot_runtime_default_dev_runtime_input_index_9cac9e.js b/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_dev_runtime/output/b1abf_turbopack-tests_tests_snapshot_runtime_default_dev_runtime_input_index_9cac9e.js index 7769253e56c3b..6025584f885da 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_dev_runtime/output/b1abf_turbopack-tests_tests_snapshot_runtime_default_dev_runtime_input_index_9cac9e.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_dev_runtime/output/b1abf_turbopack-tests_tests_snapshot_runtime_default_dev_runtime_input_index_9cac9e.js @@ -1,10 +1,11 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/b1abf_turbopack-tests_tests_snapshot_runtime_default_dev_runtime_input_index_9cac9e.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_dev_runtime/input/index.js [test] (ecmascript)": (function({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require }) { !function() { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_dev_runtime/input/index.js [test] (ecmascript)": (function(__turbopack_context__) { +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require } = __turbopack_context__; +{ console.log("Hello, world!"); - -}.call(this) }), +}}), }]); //# sourceMappingURL=b1abf_turbopack-tests_tests_snapshot_runtime_default_dev_runtime_input_index_9cac9e.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_dev_runtime/output/b1abf_turbopack-tests_tests_snapshot_runtime_default_dev_runtime_input_index_9cac9e.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_dev_runtime/output/b1abf_turbopack-tests_tests_snapshot_runtime_default_dev_runtime_input_index_9cac9e.js.map index f25ebfd174187..14d1689061726 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_dev_runtime/output/b1abf_turbopack-tests_tests_snapshot_runtime_default_dev_runtime_input_index_9cac9e.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_dev_runtime/output/b1abf_turbopack-tests_tests_snapshot_runtime_default_dev_runtime_input_index_9cac9e.js.map @@ -2,6 +2,6 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_dev_runtime/input/index.js"],"sourcesContent":["console.log(\"Hello, world!\");\n"],"names":[],"mappings":"AAAA,QAAQ,GAAG,CAAC"}}, - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 6, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_dev_runtime/input/index.js"],"sourcesContent":["console.log(\"Hello, world!\");\n"],"names":[],"mappings":"AAAA,QAAQ,GAAG,CAAC"}}, + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_dev_runtime/output/b1abf_turbopack-tests_tests_snapshot_runtime_default_dev_runtime_input_index_b6426d.js b/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_dev_runtime/output/b1abf_turbopack-tests_tests_snapshot_runtime_default_dev_runtime_input_index_b6426d.js index a97d8a8d69e02..911c3a4dfc9f7 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_dev_runtime/output/b1abf_turbopack-tests_tests_snapshot_runtime_default_dev_runtime_input_index_b6426d.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_dev_runtime/output/b1abf_turbopack-tests_tests_snapshot_runtime_default_dev_runtime_input_index_b6426d.js @@ -149,7 +149,8 @@ function esmImport(sourceModule, id) { } // Add a simple runtime require so that environments without one can still pass // `typeof require` CommonJS checks so that exports are correctly registered. -const runtimeRequire = typeof require === "function" ? require : function require1() { +const runtimeRequire = // @ts-ignore +typeof require === "function" ? require : function require1() { throw new Error("Unexpected use of runtime require"); }; function commonJsRequire(sourceModule, id) { @@ -340,19 +341,19 @@ relativeURL.prototype = URL.prototype; */ function invariant(never, computeMessage) { throw new Error(`Invariant: ${computeMessage(never)}`); } +/** + * A stub function to make `require` available but non-functional in ESM. + */ function requireStub(_moduleId) { + throw new Error("dynamic usage of require is not supported"); +} /** * This file contains runtime types and functions that are shared between all * Turbopack *development* ECMAScript runtimes. * * It will be appended to the runtime code of each runtime right after the * shared runtime utils. - */ /* eslint-disable @typescript-eslint/no-unused-vars */ /// -/// -/// -/// -// This file must not use `import` and `export` statements. Otherwise, it -// becomes impossible to augment interfaces declared in ``d files -// (e.g. `Module`). Hence, the need for `import()` here. + */ /* eslint-disable @typescript-eslint/no-unused-vars */ /// +/// var SourceType; (function(SourceType) { /** @@ -367,26 +368,7 @@ var SourceType; * update. */ SourceType[SourceType["Update"] = 2] = "Update"; })(SourceType || (SourceType = {})); -class UpdateApplyError extends Error { - name = "UpdateApplyError"; - dependencyChain; - constructor(message, dependencyChain){ - super(message); - this.dependencyChain = dependencyChain; - } -} const moduleFactories = Object.create(null); -const moduleCache = Object.create(null); -/** - * Maps module IDs to persisted data between executions of their hot module - * implementation (`hot.data`). - */ const moduleHotData = new Map(); -/** - * Maps module instances to their hot module state. - */ const moduleHotState = new Map(); -/** - * Modules that call `module.hot.invalidate()` (while being updated). - */ const queuedInvalidatedModules = new Set(); /** * Module IDs that are instantiated as part of the runtime of a chunk. */ const runtimeModules = new Set(); @@ -500,6 +482,151 @@ async function loadChunkPath(source, chunkPath) { return exported?.default ?? exported; }; } +/** + * no-op for browser + * @param modulePath + */ function resolveAbsolutePath(modulePath) { + return `/ROOT/${modulePath ?? ""}`; +} +function getWorkerBlobURL(chunks) { + let bootstrap = `TURBOPACK_WORKER_LOCATION = ${JSON.stringify(location.origin)};importScripts(${chunks.map((c)=>`TURBOPACK_WORKER_LOCATION + ${JSON.stringify(getChunkRelativeUrl(c))}`).join(", ")});`; + let blob = new Blob([ + bootstrap + ], { + type: "text/javascript" + }); + return URL.createObjectURL(blob); +} +/** + * Adds a module to a chunk. + */ function addModuleToChunk(moduleId, chunkPath) { + let moduleChunks = moduleChunksMap.get(moduleId); + if (!moduleChunks) { + moduleChunks = new Set([ + chunkPath + ]); + moduleChunksMap.set(moduleId, moduleChunks); + } else { + moduleChunks.add(chunkPath); + } + let chunkModules = chunkModulesMap.get(chunkPath); + if (!chunkModules) { + chunkModules = new Set([ + moduleId + ]); + chunkModulesMap.set(chunkPath, chunkModules); + } else { + chunkModules.add(moduleId); + } +} +/** + * Returns the first chunk that included a module. + * This is used by the Node.js backend, hence why it's marked as unused in this + * file. + */ function getFirstModuleChunk(moduleId) { + const moduleChunkPaths = moduleChunksMap.get(moduleId); + if (moduleChunkPaths == null) { + return null; + } + return moduleChunkPaths.values().next().value; +} +/** + * Instantiates a runtime module. + */ function instantiateRuntimeModule(moduleId, chunkPath) { + return instantiateModule(moduleId, { + type: 0, + chunkPath + }); +} +/** + * Returns the URL relative to the origin where a chunk can be fetched from. + */ function getChunkRelativeUrl(chunkPath) { + return `${CHUNK_BASE_PATH}${chunkPath.split("/").map((p)=>encodeURIComponent(p)).join("/")}`; +} +/** + * Marks a chunk list as a runtime chunk list. There can be more than one + * runtime chunk list. For instance, integration tests can have multiple chunk + * groups loaded at runtime, each with its own chunk list. + */ function markChunkListAsRuntime(chunkListPath) { + runtimeChunkLists.add(chunkListPath); +} +function registerChunk([chunkPath, chunkModules, runtimeParams]) { + for (const [moduleId, moduleFactory] of Object.entries(chunkModules)){ + if (!moduleFactories[moduleId]) { + moduleFactories[moduleId] = moduleFactory; + } + addModuleToChunk(moduleId, chunkPath); + } + return BACKEND.registerChunk(chunkPath, runtimeParams); +} +/// +/// +/// +/** + * This file contains runtime types and functions that are shared between all + * Turbopack *development* ECMAScript runtimes. + * + * It will be appended to the runtime code of each runtime right after the + * shared runtime utils. + */ /* eslint-disable @typescript-eslint/no-unused-vars */ const devModuleCache = Object.create(null); +class UpdateApplyError extends Error { + name = "UpdateApplyError"; + dependencyChain; + constructor(message, dependencyChain){ + super(message); + this.dependencyChain = dependencyChain; + } +} +/** + * Maps module IDs to persisted data between executions of their hot module + * implementation (`hot.data`). + */ const moduleHotData = new Map(); +/** + * Maps module instances to their hot module state. + */ const moduleHotState = new Map(); +/** + * Modules that call `module.hot.invalidate()` (while being updated). + */ const queuedInvalidatedModules = new Set(); +/** + * Gets or instantiates a runtime module. + */ // @ts-ignore +function getOrInstantiateRuntimeModule(moduleId, chunkPath) { + const module = devModuleCache[moduleId]; + if (module) { + if (module.error) { + throw module.error; + } + return module; + } + // @ts-ignore + return instantiateModule(moduleId, { + type: SourceType.Runtime, + chunkPath + }); +} +/** + * Retrieves a module from the cache, or instantiate it if it is not cached. + */ // @ts-ignore Defined in `runtime-utils.ts` +const getOrInstantiateModuleFromParent = (id, sourceModule)=>{ + if (!sourceModule.hot.active) { + console.warn(`Unexpected import of module ${id} from module ${sourceModule.id}, which was deleted by an HMR update`); + } + const module = devModuleCache[id]; + if (sourceModule.children.indexOf(id) === -1) { + sourceModule.children.push(id); + } + if (module) { + if (module.parents.indexOf(sourceModule.id) === -1) { + module.parents.push(sourceModule.id); + } + return module; + } + return instantiateModule(id, { + type: SourceType.Parent, + parentId: sourceModule.id + }); +}; +// @ts-ignore Defined in `runtime-base.ts` function instantiateModule(id, source) { const moduleFactory = moduleFactories[id]; if (typeof moduleFactory !== "function") { @@ -508,13 +635,13 @@ function instantiateModule(id, source) { // and contains e.g. a `require("something")` call. let instantiationReason; switch(source.type){ - case 0: + case SourceType.Runtime: instantiationReason = `as a runtime entry of chunk ${source.chunkPath}`; break; - case 1: + case SourceType.Parent: instantiationReason = `because it was required from module ${source.parentId}`; break; - case 2: + case SourceType.Update: instantiationReason = "because of an HMR update"; break; default: @@ -526,18 +653,18 @@ function instantiateModule(id, source) { const { hot, hotState } = createModuleHot(id, hotData); let parents; switch(source.type){ - case 0: + case SourceType.Runtime: runtimeModules.add(id); parents = []; break; - case 1: + case SourceType.Parent: // No need to add this module as a child of the parent module here, this // has already been taken care of in `getOrInstantiateModuleFromParent`. parents = [ source.parentId ]; break; - case 2: + case SourceType.Update: parents = source.parents || []; break; default: @@ -553,12 +680,12 @@ function instantiateModule(id, source) { namespaceObject: undefined, hot }; - moduleCache[id] = module; + devModuleCache[id] = module; moduleHotState.set(module, hotState); // NOTE(alexkirsz) This can fail when the module encounters a runtime error. try { const sourceInfo = { - type: 1, + type: SourceType.Parent, parentId: id }; runModuleExecutionHooks(module, (refresh)=>{ @@ -575,7 +702,7 @@ function instantiateModule(id, source) { v: exportValue.bind(null, module), n: exportNamespace.bind(null, module), m: module, - c: moduleCache, + c: devModuleCache, M: moduleFactories, l: loadChunk.bind(null, sourceInfo), w: loadWebAssembly.bind(null, sourceInfo), @@ -586,6 +713,7 @@ function instantiateModule(id, source) { k: refresh, R: createResolvePathFromModule(r), b: getWorkerBlobURL, + z: requireStub, __dirname: typeof module.id === "string" ? module.id.replace(/(^|\/)\/+$/, "") : module.id })); }); @@ -600,21 +728,6 @@ function instantiateModule(id, source) { } return module; } -/** - * no-op for browser - * @param modulePath - */ function resolveAbsolutePath(modulePath) { - return `/ROOT/${modulePath ?? ""}`; -} -function getWorkerBlobURL(chunks) { - let bootstrap = `TURBOPACK_WORKER_LOCATION = ${JSON.stringify(location.origin)};importScripts(${chunks.map((c)=>`TURBOPACK_WORKER_LOCATION + ${JSON.stringify(getChunkRelativeUrl(c))}`).join(", ")});`; - let blob = new Blob([ - bootstrap - ], { - type: "text/javascript" - }); - return URL.createObjectURL(blob); -} /** * NOTE(alexkirsz) Webpack has a "module execution" interception hook that * Next.js' React Refresh runtime hooks into to add module context to the @@ -634,27 +747,6 @@ function getWorkerBlobURL(chunks) { cleanupReactRefreshIntercept(); } } -/** - * Retrieves a module from the cache, or instantiate it if it is not cached. - */ const getOrInstantiateModuleFromParent = (id, sourceModule)=>{ - if (!sourceModule.hot.active) { - console.warn(`Unexpected import of module ${id} from module ${sourceModule.id}, which was deleted by an HMR update`); - } - const module = moduleCache[id]; - if (sourceModule.children.indexOf(id) === -1) { - sourceModule.children.push(id); - } - if (module) { - if (module.parents.indexOf(sourceModule.id) === -1) { - module.parents.push(sourceModule.id); - } - return module; - } - return instantiateModule(id, { - type: 1, - parentId: sourceModule.id - }); -}; /** * This is adapted from https://github.com/vercel/next.js/blob/3466862d9dc9c8bb3131712134d38757b918d1c0/packages/react-refresh-utils/internal/ReactRefreshModule.runtime.ts */ function registerExportsAndSetupBoundaryForReactRefresh(module, helpers) { @@ -743,7 +835,7 @@ function computedInvalidatedModules(invalidated) { function computeOutdatedSelfAcceptedModules(outdatedModules) { const outdatedSelfAcceptedModules = []; for (const moduleId of outdatedModules){ - const module = moduleCache[moduleId]; + const module = devModuleCache[moduleId]; const hotState = moduleHotState.get(module); if (module && hotState.selfAccepted && !hotState.selfInvalidated) { outdatedSelfAcceptedModules.push({ @@ -787,9 +879,9 @@ function disposePhase(outdatedModules, disposedModules) { // We also want to keep track of previous parents of the outdated modules. const outdatedModuleParents = new Map(); for (const moduleId of outdatedModules){ - const oldModule = moduleCache[moduleId]; + const oldModule = devModuleCache[moduleId]; outdatedModuleParents.set(moduleId, oldModule?.parents); - delete moduleCache[moduleId]; + delete devModuleCache[moduleId]; } // TODO(alexkirsz) Dependencies: remove outdated dependency from module // children. @@ -803,14 +895,14 @@ function disposePhase(outdatedModules, disposedModules) { * Returns the persistent hot data that should be kept for the next module * instance. * - * NOTE: mode = "replace" will not remove modules from the moduleCache. + * NOTE: mode = "replace" will not remove modules from the devModuleCache * This must be done in a separate step afterwards. * This is important because all modules need to be disposed to update the - * parent/child relationships before they are actually removed from the moduleCache. + * parent/child relationships before they are actually removed from the devModuleCache. * If this was done in this method, the following disposeModule calls won't find * the module from the module id in the cache. */ function disposeModule(moduleId, mode) { - const module = moduleCache[moduleId]; + const module = devModuleCache[moduleId]; if (!module) { return; } @@ -830,7 +922,7 @@ function disposePhase(outdatedModules, disposedModules) { // It will be added back once the module re-instantiates and imports its // children again. for (const childId of module.children){ - const child = moduleCache[childId]; + const child = devModuleCache[childId]; if (!child) { continue; } @@ -841,7 +933,7 @@ function disposePhase(outdatedModules, disposedModules) { } switch(mode){ case "clear": - delete moduleCache[module.id]; + delete devModuleCache[module.id]; moduleHotData.delete(module.id); break; case "replace": @@ -862,7 +954,7 @@ function applyPhase(outdatedSelfAcceptedModules, newModuleFactories, outdatedMod for (const { moduleId, errorHandler } of outdatedSelfAcceptedModules){ try { instantiateModule(moduleId, { - type: 2, + type: SourceType.Update, parents: outdatedModuleParents.get(moduleId) }); } catch (err) { @@ -870,7 +962,7 @@ function applyPhase(outdatedSelfAcceptedModules, newModuleFactories, outdatedMod try { errorHandler(err, { moduleId, - module: moduleCache[moduleId] + module: devModuleCache[moduleId] }); } catch (err2) { reportError(err2); @@ -908,14 +1000,14 @@ function applyChunkListUpdate(update) { switch(chunkUpdate.type){ case "added": BACKEND.loadChunk(chunkPath, { - type: 2 + type: SourceType.Update }); break; case "total": - BACKEND.reloadChunk?.(chunkPath); + DEV_BACKEND.reloadChunk?.(chunkPath); break; case "deleted": - BACKEND.unloadChunk?.(chunkPath); + DEV_BACKEND.unloadChunk?.(chunkPath); break; case "partial": invariant(chunkUpdate.instruction, (instruction)=>`Unknown partial instruction: ${JSON.stringify(instruction)}.`); @@ -1055,7 +1147,7 @@ function getAffectedModuleEffects(moduleId) { dependencyChain }; } - const module = moduleCache[moduleId]; + const module = devModuleCache[moduleId]; const hotState = moduleHotState.get(module); if (// The module is not in the cache. Since this is a "modified" update, // it means that the module was never instantiated before. @@ -1080,7 +1172,7 @@ function getAffectedModuleEffects(moduleId) { continue; } for (const parentId of module.parents){ - const parent = moduleCache[parentId]; + const parent = devModuleCache[parentId]; if (!parent) { continue; } @@ -1114,7 +1206,7 @@ function handleApply(chunkListPath, update) { // This indicates that there is no way to apply the update to the // current state of the application, and that the application must be // restarted. - BACKEND.restart(); + DEV_BACKEND.restart(); break; } case "notFound": @@ -1124,7 +1216,7 @@ function handleApply(chunkListPath, update) { // If it is a dynamic import, we simply discard all modules that the chunk has exclusive access to. // If it is a runtime chunk list, we restart the application. if (runtimeChunkLists.has(chunkListPath)) { - BACKEND.restart(); + DEV_BACKEND.restart(); } else { disposeChunkList(chunkListPath); } @@ -1197,39 +1289,6 @@ function createModuleHot(moduleId, hotData) { hotState }; } -/** - * Adds a module to a chunk. - */ function addModuleToChunk(moduleId, chunkPath) { - let moduleChunks = moduleChunksMap.get(moduleId); - if (!moduleChunks) { - moduleChunks = new Set([ - chunkPath - ]); - moduleChunksMap.set(moduleId, moduleChunks); - } else { - moduleChunks.add(chunkPath); - } - let chunkModules = chunkModulesMap.get(chunkPath); - if (!chunkModules) { - chunkModules = new Set([ - moduleId - ]); - chunkModulesMap.set(chunkPath, chunkModules); - } else { - chunkModules.add(moduleId); - } -} -/** - * Returns the first chunk that included a module. - * This is used by the Node.js backend, hence why it's marked as unused in this - * file. - */ function getFirstModuleChunk(moduleId) { - const moduleChunkPaths = moduleChunksMap.get(moduleId); - if (moduleChunkPaths == null) { - return null; - } - return moduleChunkPaths.values().next().value; -} /** * Removes a module from a chunk. * Returns `true` if there are no remaining chunks including this module. @@ -1266,7 +1325,7 @@ function createModuleHot(moduleId, hotData) { } // We must also dispose of the chunk list's chunk itself to ensure it may // be reloaded properly in the future. - BACKEND.unloadChunk?.(chunkListPath); + DEV_BACKEND.unloadChunk?.(chunkListPath); return true; } /** @@ -1276,7 +1335,7 @@ function createModuleHot(moduleId, hotData) { */ function disposeChunk(chunkPath) { // This should happen whether the chunk has any modules in it or not. // For instance, CSS chunks have no modules in them, but they still need to be unloaded. - BACKEND.unloadChunk?.(chunkPath); + DEV_BACKEND.unloadChunk?.(chunkPath); const chunkModules = chunkModulesMap.get(chunkPath); if (chunkModules == null) { return false; @@ -1294,34 +1353,6 @@ function createModuleHot(moduleId, hotData) { } return true; } -/** - * Instantiates a runtime module. - */ function instantiateRuntimeModule(moduleId, chunkPath) { - return instantiateModule(moduleId, { - type: 0, - chunkPath - }); -} -/** - * Gets or instantiates a runtime module. - */ function getOrInstantiateRuntimeModule(moduleId, chunkPath) { - const module = moduleCache[moduleId]; - if (module) { - if (module.error) { - throw module.error; - } - return module; - } - return instantiateModule(moduleId, { - type: 0, - chunkPath - }); -} -/** - * Returns the URL relative to the origin where a chunk can be fetched from. - */ function getChunkRelativeUrl(chunkPath) { - return `${CHUNK_BASE_PATH}${chunkPath.split("/").map((p)=>encodeURIComponent(p)).join("/")}`; -} /** * Subscribes to chunk list updates from the update server and applies them. */ function registerChunkList(chunkUpdateProvider, chunkList) { @@ -1347,22 +1378,6 @@ function createModuleHot(moduleId, hotData) { markChunkListAsRuntime(chunkList.path); } } -/** - * Marks a chunk list as a runtime chunk list. There can be more than one - * runtime chunk list. For instance, integration tests can have multiple chunk - * groups loaded at runtime, each with its own chunk list. - */ function markChunkListAsRuntime(chunkListPath) { - runtimeChunkLists.add(chunkListPath); -} -function registerChunk([chunkPath, chunkModules, runtimeParams]) { - for (const [moduleId, moduleFactory] of Object.entries(chunkModules)){ - if (!moduleFactories[moduleId]) { - moduleFactories[moduleId] = moduleFactory; - } - addModuleToChunk(moduleId, chunkPath); - } - return BACKEND.registerChunk(chunkPath, runtimeParams); -} globalThis.TURBOPACK_CHUNK_UPDATE_LISTENERS ??= []; const chunkListsToRegister = globalThis.TURBOPACK_CHUNK_LISTS; if (Array.isArray(chunkListsToRegister)) { @@ -1380,8 +1395,8 @@ globalThis.TURBOPACK_CHUNK_LISTS = { * ECMAScript DOM runtime. * * It will be appended to the base development runtime code. - */ /* eslint-disable @typescript-eslint/no-unused-vars */ /// -/// + */ /* eslint-disable @typescript-eslint/no-unused-vars */ /// +/// let BACKEND; function augmentContext(context) { return context; @@ -1398,6 +1413,9 @@ async function loadWebAssemblyModule(_source, wasmChunkPath) { const req = fetchWebAssembly(wasmChunkPath); return await WebAssembly.compileStreaming(req); } +/** + * Maps chunk paths to the corresponding resolver. + */ const chunkResolvers = new Map(); (()=>{ BACKEND = { async registerChunk (chunkPath, params) { @@ -1424,79 +1442,8 @@ async function loadWebAssemblyModule(_source, wasmChunkPath) { }, loadChunk (chunkPath, source) { return doLoadChunk(chunkPath, source); - }, - unloadChunk (chunkPath) { - deleteResolver(chunkPath); - const chunkUrl = getChunkRelativeUrl(chunkPath); - // TODO(PACK-2140): remove this once all filenames are guaranteed to be escaped. - const decodedChunkUrl = decodeURI(chunkUrl); - if (chunkPath.endsWith(".css")) { - const links = document.querySelectorAll(`link[href="${chunkUrl}"],link[href^="${chunkUrl}?"],link[href="${decodedChunkUrl}"],link[href^="${decodedChunkUrl}?"]`); - for (const link of Array.from(links)){ - link.remove(); - } - } else if (chunkPath.endsWith(".js")) { - // Unloading a JS chunk would have no effect, as it lives in the JS - // runtime once evaluated. - // However, we still want to remove the script tag from the DOM to keep - // the HTML somewhat consistent from the user's perspective. - const scripts = document.querySelectorAll(`script[src="${chunkUrl}"],script[src^="${chunkUrl}?"],script[src="${decodedChunkUrl}"],script[src^="${decodedChunkUrl}?"]`); - for (const script of Array.from(scripts)){ - script.remove(); - } - } else { - throw new Error(`can't infer type of chunk from path ${chunkPath}`); - } - }, - reloadChunk (chunkPath) { - return new Promise((resolve, reject)=>{ - if (!chunkPath.endsWith(".css")) { - reject(new Error("The DOM backend can only reload CSS chunks")); - return; - } - const chunkUrl = getChunkRelativeUrl(chunkPath); - const decodedChunkUrl = decodeURI(chunkUrl); - const previousLinks = document.querySelectorAll(`link[rel=stylesheet][href="${chunkUrl}"],link[rel=stylesheet][href^="${chunkUrl}?"],link[rel=stylesheet][href="${decodedChunkUrl}"],link[rel=stylesheet][href^="${decodedChunkUrl}?"]`); - if (previousLinks.length === 0) { - reject(new Error(`No link element found for chunk ${chunkPath}`)); - return; - } - const link = document.createElement("link"); - link.rel = "stylesheet"; - if (navigator.userAgent.includes("Firefox")) { - // Firefox won't reload CSS files that were previously loaded on the current page, - // we need to add a query param to make sure CSS is actually reloaded from the server. - // - // I believe this is this issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1037506 - // - // Safari has a similar issue, but only if you have a `` tag - // pointing to the same URL as the stylesheet: https://bugs.webkit.org/show_bug.cgi?id=187726 - link.href = `${chunkUrl}?ts=${Date.now()}`; - } else { - link.href = chunkUrl; - } - link.onerror = ()=>{ - reject(); - }; - link.onload = ()=>{ - // First load the new CSS, then remove the old ones. This prevents visible - // flickering that would happen in-between removing the previous CSS and - // loading the new one. - for (const previousLink of Array.from(previousLinks))previousLink.remove(); - // CSS chunks do not register themselves, and as such must be marked as - // loaded instantly. - resolve(); - }; - // Make sure to insert the new CSS right after the previous one, so that - // its precedence is higher. - previousLinks[0].parentElement.insertBefore(link, previousLinks[0].nextSibling); - }); - }, - restart: ()=>self.location.reload() + } }; - /** - * Maps chunk paths to the corresponding resolver. - */ const chunkResolvers = new Map(); function getOrCreateResolver(chunkPath) { let resolver = chunkResolvers.get(chunkPath); if (!resolver) { @@ -1519,9 +1466,6 @@ async function loadWebAssemblyModule(_source, wasmChunkPath) { } return resolver; } - function deleteResolver(chunkPath) { - chunkResolvers.delete(chunkPath); - } /** * Loads the given chunk, and returns a promise that resolves once the chunk * has been loaded. @@ -1603,6 +1547,91 @@ async function loadWebAssemblyModule(_source, wasmChunkPath) { return resolver.promise; } })(); +/** + * This file contains the runtime code specific to the Turbopack development + * ECMAScript DOM runtime. + * + * It will be appended to the base development runtime code. + */ /* eslint-disable @typescript-eslint/no-unused-vars */ /// +/// +/// +/// +let DEV_BACKEND; +(()=>{ + DEV_BACKEND = { + unloadChunk (chunkPath) { + deleteResolver(chunkPath); + const chunkUrl = getChunkRelativeUrl(chunkPath); + // TODO(PACK-2140): remove this once all filenames are guaranteed to be escaped. + const decodedChunkUrl = decodeURI(chunkUrl); + if (chunkPath.endsWith(".css")) { + const links = document.querySelectorAll(`link[href="${chunkUrl}"],link[href^="${chunkUrl}?"],link[href="${decodedChunkUrl}"],link[href^="${decodedChunkUrl}?"]`); + for (const link of Array.from(links)){ + link.remove(); + } + } else if (chunkPath.endsWith(".js")) { + // Unloading a JS chunk would have no effect, as it lives in the JS + // runtime once evaluated. + // However, we still want to remove the script tag from the DOM to keep + // the HTML somewhat consistent from the user's perspective. + const scripts = document.querySelectorAll(`script[src="${chunkUrl}"],script[src^="${chunkUrl}?"],script[src="${decodedChunkUrl}"],script[src^="${decodedChunkUrl}?"]`); + for (const script of Array.from(scripts)){ + script.remove(); + } + } else { + throw new Error(`can't infer type of chunk from path ${chunkPath}`); + } + }, + reloadChunk (chunkPath) { + return new Promise((resolve, reject)=>{ + if (!chunkPath.endsWith(".css")) { + reject(new Error("The DOM backend can only reload CSS chunks")); + return; + } + const chunkUrl = getChunkRelativeUrl(chunkPath); + const decodedChunkUrl = decodeURI(chunkUrl); + const previousLinks = document.querySelectorAll(`link[rel=stylesheet][href="${chunkUrl}"],link[rel=stylesheet][href^="${chunkUrl}?"],link[rel=stylesheet][href="${decodedChunkUrl}"],link[rel=stylesheet][href^="${decodedChunkUrl}?"]`); + if (previousLinks.length === 0) { + reject(new Error(`No link element found for chunk ${chunkPath}`)); + return; + } + const link = document.createElement("link"); + link.rel = "stylesheet"; + if (navigator.userAgent.includes("Firefox")) { + // Firefox won't reload CSS files that were previously loaded on the current page, + // we need to add a query param to make sure CSS is actually reloaded from the server. + // + // I believe this is this issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1037506 + // + // Safari has a similar issue, but only if you have a `` tag + // pointing to the same URL as the stylesheet: https://bugs.webkit.org/show_bug.cgi?id=187726 + link.href = `${chunkUrl}?ts=${Date.now()}`; + } else { + link.href = chunkUrl; + } + link.onerror = ()=>{ + reject(); + }; + link.onload = ()=>{ + // First load the new CSS, then remove the old ones. This prevents visible + // flickering that would happen in-between removing the previous CSS and + // loading the new one. + for (const previousLink of Array.from(previousLinks))previousLink.remove(); + // CSS chunks do not register themselves, and as such must be marked as + // loaded instantly. + resolve(); + }; + // Make sure to insert the new CSS right after the previous one, so that + // its precedence is higher. + previousLinks[0].parentElement.insertBefore(link, previousLinks[0].nextSibling); + }); + }, + restart: ()=>self.location.reload() + }; + function deleteResolver(chunkPath) { + chunkResolvers.delete(chunkPath); + } +})(); function _eval({ code, url, map }) { code += `\n\n//# sourceURL=${encodeURI(location.origin + CHUNK_BASE_PATH + url)}`; if (map) { diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_dev_runtime/output/b1abf_turbopack-tests_tests_snapshot_runtime_default_dev_runtime_input_index_b6426d.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_dev_runtime/output/b1abf_turbopack-tests_tests_snapshot_runtime_default_dev_runtime_input_index_b6426d.js.map index ea9073908ac30..fe06b5a27fbde 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_dev_runtime/output/b1abf_turbopack-tests_tests_snapshot_runtime_default_dev_runtime_input_index_b6426d.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_dev_runtime/output/b1abf_turbopack-tests_tests_snapshot_runtime_default_dev_runtime_input_index_b6426d.js.map @@ -2,8 +2,10 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 13, "column": 0}, "map": {"version":3,"sources":["turbopack://[turbopack]/shared/runtime-utils.ts"],"sourcesContent":["/**\n * This file contains runtime types and functions that are shared between all\n * TurboPack ECMAScript runtimes.\n *\n * It will be prepended to the runtime code of each runtime.\n */\n\n/* eslint-disable @typescript-eslint/no-unused-vars */\n\n/// \n\ninterface Exports {\n __esModule?: boolean;\n\n [key: string]: any;\n}\n\ntype EsmNamespaceObject = Record;\n\nconst REEXPORTED_OBJECTS = Symbol(\"reexported objects\");\n\ninterface BaseModule {\n exports: Function | Exports | Promise | AsyncModulePromise;\n error: Error | undefined;\n loaded: boolean;\n id: ModuleId;\n children: ModuleId[];\n parents: ModuleId[];\n namespaceObject?:\n | EsmNamespaceObject\n | Promise\n | AsyncModulePromise;\n [REEXPORTED_OBJECTS]?: any[];\n}\n\ninterface Module extends BaseModule {}\n\ntype ModuleContextMap = Record;\n\ninterface ModuleContextEntry {\n id: () => ModuleId;\n module: () => any;\n}\n\ninterface ModuleContext {\n // require call\n (moduleId: ModuleId): Exports | EsmNamespaceObject;\n\n // async import call\n import(moduleId: ModuleId): Promise;\n\n keys(): ModuleId[];\n\n resolve(moduleId: ModuleId): ModuleId;\n}\n\ntype GetOrInstantiateModuleFromParent = (\n moduleId: ModuleId,\n parentModule: Module\n) => Module;\n\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\nconst toStringTag = typeof Symbol !== \"undefined\" && Symbol.toStringTag;\n\nfunction defineProp(\n obj: any,\n name: PropertyKey,\n options: PropertyDescriptor & ThisType\n) {\n if (!hasOwnProperty.call(obj, name))\n Object.defineProperty(obj, name, options);\n}\n\n/**\n * Adds the getters to the exports object.\n */\nfunction esm(\n exports: Exports,\n getters: Record any) | [() => any, (v: any) => void]>\n) {\n defineProp(exports, \"__esModule\", { value: true });\n if (toStringTag) defineProp(exports, toStringTag, { value: \"Module\" });\n for (const key in getters) {\n const item = getters[key];\n if (Array.isArray(item)) {\n defineProp(exports, key, {\n get: item[0],\n set: item[1],\n enumerable: true,\n });\n } else {\n defineProp(exports, key, { get: item, enumerable: true });\n }\n }\n Object.seal(exports);\n}\n\n/**\n * Makes the module an ESM with exports\n */\nfunction esmExport(\n module: Module,\n exports: Exports,\n getters: Record any>\n) {\n module.namespaceObject = module.exports;\n esm(exports, getters);\n}\n\nfunction ensureDynamicExports(module: Module, exports: Exports) {\n let reexportedObjects = module[REEXPORTED_OBJECTS];\n\n if (!reexportedObjects) {\n reexportedObjects = module[REEXPORTED_OBJECTS] = [];\n module.exports = module.namespaceObject = new Proxy(exports, {\n get(target, prop) {\n if (\n hasOwnProperty.call(target, prop) ||\n prop === \"default\" ||\n prop === \"__esModule\"\n ) {\n return Reflect.get(target, prop);\n }\n for (const obj of reexportedObjects!) {\n const value = Reflect.get(obj, prop);\n if (value !== undefined) return value;\n }\n return undefined;\n },\n ownKeys(target) {\n const keys = Reflect.ownKeys(target);\n for (const obj of reexportedObjects!) {\n for (const key of Reflect.ownKeys(obj)) {\n if (key !== \"default\" && !keys.includes(key)) keys.push(key);\n }\n }\n return keys;\n },\n });\n }\n}\n\n/**\n * Dynamically exports properties from an object\n */\nfunction dynamicExport(\n module: Module,\n exports: Exports,\n object: Record\n) {\n ensureDynamicExports(module, exports);\n\n if (typeof object === \"object\" && object !== null) {\n module[REEXPORTED_OBJECTS]!.push(object);\n }\n}\n\nfunction exportValue(module: Module, value: any) {\n module.exports = value;\n}\n\nfunction exportNamespace(module: Module, namespace: any) {\n module.exports = module.namespaceObject = namespace;\n}\n\nfunction createGetter(obj: Record, key: string | symbol) {\n return () => obj[key];\n}\n\n/**\n * @returns prototype of the object\n */\nconst getProto: (obj: any) => any = Object.getPrototypeOf\n ? (obj) => Object.getPrototypeOf(obj)\n : (obj) => obj.__proto__;\n\n/** Prototypes that are not expanded for exports */\nconst LEAF_PROTOTYPES = [null, getProto({}), getProto([]), getProto(getProto)];\n\n/**\n * @param raw\n * @param ns\n * @param allowExportDefault\n * * `false`: will have the raw module as default export\n * * `true`: will have the default property as default export\n */\nfunction interopEsm(\n raw: Exports,\n ns: EsmNamespaceObject,\n allowExportDefault?: boolean\n) {\n const getters: { [s: string]: () => any } = Object.create(null);\n for (\n let current = raw;\n (typeof current === \"object\" || typeof current === \"function\") &&\n !LEAF_PROTOTYPES.includes(current);\n current = getProto(current)\n ) {\n for (const key of Object.getOwnPropertyNames(current)) {\n getters[key] = createGetter(raw, key);\n }\n }\n\n // this is not really correct\n // we should set the `default` getter if the imported module is a `.cjs file`\n if (!(allowExportDefault && \"default\" in getters)) {\n getters[\"default\"] = () => raw;\n }\n\n esm(ns, getters);\n return ns;\n}\n\nfunction createNS(raw: BaseModule[\"exports\"]): EsmNamespaceObject {\n if (typeof raw === \"function\") {\n return function (this: any, ...args: any[]) {\n return raw.apply(this, args);\n };\n } else {\n return Object.create(null);\n }\n}\n\nfunction esmImport(\n sourceModule: Module,\n id: ModuleId\n): Exclude {\n const module = getOrInstantiateModuleFromParent(id, sourceModule);\n if (module.error) throw module.error;\n\n // any ES module has to have `module.namespaceObject` defined.\n if (module.namespaceObject) return module.namespaceObject;\n\n // only ESM can be an async module, so we don't need to worry about exports being a promise here.\n const raw = module.exports;\n return (module.namespaceObject = interopEsm(\n raw,\n createNS(raw),\n raw && (raw as any).__esModule\n ));\n}\n\n// Add a simple runtime require so that environments without one can still pass\n// `typeof require` CommonJS checks so that exports are correctly registered.\nconst runtimeRequire =\n typeof require === \"function\"\n ? require\n : function require() {\n throw new Error(\"Unexpected use of runtime require\");\n };\n\nfunction commonJsRequire(sourceModule: Module, id: ModuleId): Exports {\n const module = getOrInstantiateModuleFromParent(id, sourceModule);\n if (module.error) throw module.error;\n return module.exports;\n}\n\n/**\n * `require.context` and require/import expression runtime.\n */\nfunction moduleContext(map: ModuleContextMap): ModuleContext {\n function moduleContext(id: ModuleId): Exports {\n if (hasOwnProperty.call(map, id)) {\n return map[id].module();\n }\n\n const e = new Error(`Cannot find module '${id}'`);\n (e as any).code = \"MODULE_NOT_FOUND\";\n throw e;\n }\n\n moduleContext.keys = (): ModuleId[] => {\n return Object.keys(map);\n };\n\n moduleContext.resolve = (id: ModuleId): ModuleId => {\n if (hasOwnProperty.call(map, id)) {\n return map[id].id();\n }\n\n const e = new Error(`Cannot find module '${id}'`);\n (e as any).code = \"MODULE_NOT_FOUND\";\n throw e;\n };\n\n moduleContext.import = async (id: ModuleId) => {\n return await (moduleContext(id) as Promise);\n };\n\n return moduleContext;\n}\n\n/**\n * Returns the path of a chunk defined by its data.\n */\nfunction getChunkPath(chunkData: ChunkData): ChunkPath {\n return typeof chunkData === \"string\" ? chunkData : chunkData.path;\n}\n\nfunction isPromise(maybePromise: any): maybePromise is Promise {\n return (\n maybePromise != null &&\n typeof maybePromise === \"object\" &&\n \"then\" in maybePromise &&\n typeof maybePromise.then === \"function\"\n );\n}\n\nfunction isAsyncModuleExt(obj: T): obj is AsyncModuleExt & T {\n return turbopackQueues in obj;\n}\n\nfunction createPromise() {\n let resolve: (value: T | PromiseLike) => void;\n let reject: (reason?: any) => void;\n\n const promise = new Promise((res, rej) => {\n reject = rej;\n resolve = res;\n });\n\n return {\n promise,\n resolve: resolve!,\n reject: reject!,\n };\n}\n\n// everything below is adapted from webpack\n// https://github.com/webpack/webpack/blob/6be4065ade1e252c1d8dcba4af0f43e32af1bdc1/lib/runtime/AsyncModuleRuntimeModule.js#L13\n\nconst turbopackQueues = Symbol(\"turbopack queues\");\nconst turbopackExports = Symbol(\"turbopack exports\");\nconst turbopackError = Symbol(\"turbopack error\");\n\nconst enum QueueStatus {\n Unknown = -1,\n Unresolved = 0,\n Resolved = 1,\n}\n\ntype AsyncQueueFn = (() => void) & { queueCount: number };\ntype AsyncQueue = AsyncQueueFn[] & {\n status: QueueStatus;\n};\n\nfunction resolveQueue(queue?: AsyncQueue) {\n if (queue && queue.status !== QueueStatus.Resolved) {\n queue.status = QueueStatus.Resolved;\n queue.forEach((fn) => fn.queueCount--);\n queue.forEach((fn) => (fn.queueCount-- ? fn.queueCount++ : fn()));\n }\n}\n\ntype Dep = Exports | AsyncModulePromise | Promise;\n\ntype AsyncModuleExt = {\n [turbopackQueues]: (fn: (queue: AsyncQueue) => void) => void;\n [turbopackExports]: Exports;\n [turbopackError]?: any;\n};\n\ntype AsyncModulePromise = Promise & AsyncModuleExt;\n\nfunction wrapDeps(deps: Dep[]): AsyncModuleExt[] {\n return deps.map((dep): AsyncModuleExt => {\n if (dep !== null && typeof dep === \"object\") {\n if (isAsyncModuleExt(dep)) return dep;\n if (isPromise(dep)) {\n const queue: AsyncQueue = Object.assign([], {\n status: QueueStatus.Unresolved,\n });\n\n const obj: AsyncModuleExt = {\n [turbopackExports]: {},\n [turbopackQueues]: (fn: (queue: AsyncQueue) => void) => fn(queue),\n };\n\n dep.then(\n (res) => {\n obj[turbopackExports] = res;\n resolveQueue(queue);\n },\n (err) => {\n obj[turbopackError] = err;\n resolveQueue(queue);\n }\n );\n\n return obj;\n }\n }\n\n return {\n [turbopackExports]: dep,\n [turbopackQueues]: () => {},\n };\n });\n}\n\nfunction asyncModule(\n module: Module,\n body: (\n handleAsyncDependencies: (\n deps: Dep[]\n ) => Exports[] | Promise<() => Exports[]>,\n asyncResult: (err?: any) => void\n ) => void,\n hasAwait: boolean\n) {\n const queue: AsyncQueue | undefined = hasAwait\n ? Object.assign([], { status: QueueStatus.Unknown })\n : undefined;\n\n const depQueues: Set = new Set();\n\n const { resolve, reject, promise: rawPromise } = createPromise();\n\n const promise: AsyncModulePromise = Object.assign(rawPromise, {\n [turbopackExports]: module.exports,\n [turbopackQueues]: (fn) => {\n queue && fn(queue);\n depQueues.forEach(fn);\n promise[\"catch\"](() => {});\n },\n } satisfies AsyncModuleExt);\n\n const attributes: PropertyDescriptor = {\n get(): any {\n return promise;\n },\n set(v: any) {\n // Calling `esmExport` leads to this.\n if (v !== promise) {\n promise[turbopackExports] = v;\n }\n },\n };\n\n Object.defineProperty(module, \"exports\", attributes);\n Object.defineProperty(module, \"namespaceObject\", attributes);\n\n function handleAsyncDependencies(deps: Dep[]) {\n const currentDeps = wrapDeps(deps);\n\n const getResult = () =>\n currentDeps.map((d) => {\n if (d[turbopackError]) throw d[turbopackError];\n return d[turbopackExports];\n });\n\n const { promise, resolve } = createPromise<() => Exports[]>();\n\n const fn: AsyncQueueFn = Object.assign(() => resolve(getResult), {\n queueCount: 0,\n });\n\n function fnQueue(q: AsyncQueue) {\n if (q !== queue && !depQueues.has(q)) {\n depQueues.add(q);\n if (q && q.status === QueueStatus.Unresolved) {\n fn.queueCount++;\n q.push(fn);\n }\n }\n }\n\n currentDeps.map((dep) => dep[turbopackQueues](fnQueue));\n\n return fn.queueCount ? promise : getResult();\n }\n\n function asyncResult(err?: any) {\n if (err) {\n reject((promise[turbopackError] = err));\n } else {\n resolve(promise[turbopackExports]);\n }\n\n resolveQueue(queue);\n }\n\n body(handleAsyncDependencies, asyncResult);\n\n if (queue && queue.status === QueueStatus.Unknown) {\n queue.status = QueueStatus.Unresolved;\n }\n}\n\n/**\n * A pseudo \"fake\" URL object to resolve to its relative path.\n *\n * When UrlRewriteBehavior is set to relative, calls to the `new URL()` will construct url without base using this\n * runtime function to generate context-agnostic urls between different rendering context, i.e ssr / client to avoid\n * hydration mismatch.\n *\n * This is based on webpack's existing implementation:\n * https://github.com/webpack/webpack/blob/87660921808566ef3b8796f8df61bd79fc026108/lib/runtime/RelativeUrlRuntimeModule.js\n */\nconst relativeURL = function relativeURL(this: any, inputUrl: string) {\n const realUrl = new URL(inputUrl, \"x:/\");\n const values: Record = {};\n for (const key in realUrl) values[key] = (realUrl as any)[key];\n values.href = inputUrl;\n values.pathname = inputUrl.replace(/[?#].*/, \"\");\n values.origin = values.protocol = \"\";\n values.toString = values.toJSON = (..._args: Array) => inputUrl;\n for (const key in values)\n Object.defineProperty(this, key, {\n enumerable: true,\n configurable: true,\n value: values[key],\n });\n};\n\nrelativeURL.prototype = URL.prototype;\n\n/**\n * Utility function to ensure all variants of an enum are handled.\n */\nfunction invariant(never: never, computeMessage: (arg: any) => string): never {\n throw new Error(`Invariant: ${computeMessage(never)}`);\n}\n"],"names":[],"mappings":"AAAA;;;;;CAKC,GAED,oDAAoD,GAEpD,6CAA6C;AAU7C,MAAM,qBAAqB,OAAO;AA0ClC,MAAM,iBAAiB,OAAO,SAAS,CAAC,cAAc;AACtD,MAAM,cAAc,OAAO,WAAW,eAAe,OAAO,WAAW;AAEvE,SAAS,WACP,GAAQ,EACR,IAAiB,EACjB,OAA2C;IAE3C,IAAI,CAAC,eAAe,IAAI,CAAC,KAAK,OAC5B,OAAO,cAAc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Ae,OAAO,CAAC;AACvD"}}, - {"offset": {"line": 342, "column": 0}, "map": {"version":3,"sources":["turbopack://[turbopack]/browser/dev/runtime/base/runtime-base.ts"],"sourcesContent":["/**\n * This file contains runtime types and functions that are shared between all\n * Turbopack *development* ECMAScript runtimes.\n *\n * It will be appended to the runtime code of each runtime right after the\n * shared runtime utils.\n */\n\n/* eslint-disable @typescript-eslint/no-unused-vars */\n\n/// \n/// \n/// \n/// \n\n// This file must not use `import` and `export` statements. Otherwise, it\n// becomes impossible to augment interfaces declared in ``d files\n// (e.g. `Module`). Hence, the need for `import()` here.\ntype RefreshRuntimeGlobals =\n import(\"@next/react-refresh-utils/dist/runtime\").RefreshRuntimeGlobals;\n\n// Workers are loaded via blob object urls and aren't relative to the main context, this gets\n// prefixed to chunk urls in the worker.\ndeclare var TURBOPACK_WORKER_LOCATION: string;\ndeclare var CHUNK_BASE_PATH: string;\ndeclare var $RefreshHelpers$: RefreshRuntimeGlobals[\"$RefreshHelpers$\"];\ndeclare var $RefreshReg$: RefreshRuntimeGlobals[\"$RefreshReg$\"];\ndeclare var $RefreshSig$: RefreshRuntimeGlobals[\"$RefreshSig$\"];\ndeclare var $RefreshInterceptModuleExecution$:\n | RefreshRuntimeGlobals[\"$RefreshInterceptModuleExecution$\"];\n\ntype RefreshContext = {\n register: RefreshRuntimeGlobals[\"$RefreshReg$\"];\n signature: RefreshRuntimeGlobals[\"$RefreshSig$\"];\n registerExports: typeof registerExportsAndSetupBoundaryForReactRefresh;\n};\n\ntype RefreshHelpers = RefreshRuntimeGlobals[\"$RefreshHelpers$\"];\n\ninterface TurbopackDevBaseContext extends TurbopackBaseContext {\n k: RefreshContext;\n R: ResolvePathFromModule;\n}\n\ninterface TurbopackDevContext extends TurbopackDevBaseContext {}\n\n// string encoding of a module factory (used in hmr updates)\ntype ModuleFactoryString = string;\n\ntype ModuleFactory = (\n this: Module[\"exports\"],\n context: TurbopackDevContext\n) => undefined;\n\ntype DevRuntimeParams = {\n otherChunks: ChunkData[];\n runtimeModuleIds: ModuleId[];\n};\n\ntype ChunkRegistration = [\n chunkPath: ChunkPath,\n chunkModules: ModuleFactories,\n params: DevRuntimeParams | undefined\n];\ntype ChunkList = {\n path: ChunkPath;\n chunks: ChunkData[];\n source: \"entry\" | \"dynamic\";\n};\n\nenum SourceType {\n /**\n * The module was instantiated because it was included in an evaluated chunk's\n * runtime.\n */\n Runtime = 0,\n /**\n * The module was instantiated because a parent module imported it.\n */\n Parent = 1,\n /**\n * The module was instantiated because it was included in a chunk's hot module\n * update.\n */\n Update = 2,\n}\n\ntype SourceInfo =\n | {\n type: SourceType.Runtime;\n chunkPath: ChunkPath;\n }\n | {\n type: SourceType.Parent;\n parentId: ModuleId;\n }\n | {\n type: SourceType.Update;\n parents?: ModuleId[];\n };\n\ninterface RuntimeBackend {\n registerChunk: (chunkPath: ChunkPath, params?: DevRuntimeParams) => void;\n loadChunk: (chunkPath: ChunkPath, source: SourceInfo) => Promise;\n reloadChunk?: (chunkPath: ChunkPath) => Promise;\n unloadChunk?: (chunkPath: ChunkPath) => void;\n\n restart: () => void;\n}\n\nclass UpdateApplyError extends Error {\n name = \"UpdateApplyError\";\n\n dependencyChain: string[];\n\n constructor(message: string, dependencyChain: string[]) {\n super(message);\n this.dependencyChain = dependencyChain;\n }\n}\n\nconst moduleFactories: ModuleFactories = Object.create(null);\nconst moduleCache: ModuleCache = Object.create(null);\n/**\n * Maps module IDs to persisted data between executions of their hot module\n * implementation (`hot.data`).\n */\nconst moduleHotData: Map = new Map();\n/**\n * Maps module instances to their hot module state.\n */\nconst moduleHotState: Map = new Map();\n/**\n * Modules that call `module.hot.invalidate()` (while being updated).\n */\nconst queuedInvalidatedModules: Set = new Set();\n/**\n * Module IDs that are instantiated as part of the runtime of a chunk.\n */\nconst runtimeModules: Set = new Set();\n/**\n * Map from module ID to the chunks that contain this module.\n *\n * In HMR, we need to keep track of which modules are contained in which so\n * chunks. This is so we don't eagerly dispose of a module when it is removed\n * from chunk A, but still exists in chunk B.\n */\nconst moduleChunksMap: Map> = new Map();\n/**\n * Map from a chunk path to all modules it contains.\n */\nconst chunkModulesMap: Map> = new Map();\n/**\n * Chunk lists that contain a runtime. When these chunk lists receive an update\n * that can't be reconciled with the current state of the page, we need to\n * reload the runtime entirely.\n */\nconst runtimeChunkLists: Set = new Set();\n/**\n * Map from a chunk list to the chunk paths it contains.\n */\nconst chunkListChunksMap: Map> = new Map();\n/**\n * Map from a chunk path to the chunk lists it belongs to.\n */\nconst chunkChunkListsMap: Map> = new Map();\n\nconst availableModules: Map | true> = new Map();\n\nconst availableModuleChunks: Map | true> = new Map();\n\nasync function loadChunk(\n source: SourceInfo,\n chunkData: ChunkData\n): Promise {\n if (typeof chunkData === \"string\") {\n return loadChunkPath(source, chunkData);\n }\n\n const includedList = chunkData.included || [];\n const modulesPromises = includedList.map((included) => {\n if (moduleFactories[included]) return true;\n return availableModules.get(included);\n });\n if (modulesPromises.length > 0 && modulesPromises.every((p) => p)) {\n // When all included items are already loaded or loading, we can skip loading ourselves\n return Promise.all(modulesPromises);\n }\n\n const includedModuleChunksList = chunkData.moduleChunks || [];\n const moduleChunksPromises = includedModuleChunksList\n .map((included) => {\n // TODO(alexkirsz) Do we need this check?\n // if (moduleFactories[included]) return true;\n return availableModuleChunks.get(included);\n })\n .filter((p) => p);\n\n let promise;\n if (moduleChunksPromises.length > 0) {\n // Some module chunks are already loaded or loading.\n\n if (moduleChunksPromises.length === includedModuleChunksList.length) {\n // When all included module chunks are already loaded or loading, we can skip loading ourselves\n return Promise.all(moduleChunksPromises);\n }\n\n const moduleChunksToLoad: Set = new Set();\n for (const moduleChunk of includedModuleChunksList) {\n if (!availableModuleChunks.has(moduleChunk)) {\n moduleChunksToLoad.add(moduleChunk);\n }\n }\n\n for (const moduleChunkToLoad of moduleChunksToLoad) {\n const promise = loadChunkPath(source, moduleChunkToLoad);\n\n availableModuleChunks.set(moduleChunkToLoad, promise);\n\n moduleChunksPromises.push(promise);\n }\n\n promise = Promise.all(moduleChunksPromises);\n } else {\n promise = loadChunkPath(source, chunkData.path);\n\n // Mark all included module chunks as loading if they are not already loaded or loading.\n for (const includedModuleChunk of includedModuleChunksList) {\n if (!availableModuleChunks.has(includedModuleChunk)) {\n availableModuleChunks.set(includedModuleChunk, promise);\n }\n }\n }\n\n for (const included of includedList) {\n if (!availableModules.has(included)) {\n // It might be better to race old and new promises, but it's rare that the new promise will be faster than a request started earlier.\n // In production it's even more rare, because the chunk optimization tries to deduplicate modules anyway.\n availableModules.set(included, promise);\n }\n }\n\n return promise;\n}\n\nasync function loadChunkPath(\n source: SourceInfo,\n chunkPath: ChunkPath\n): Promise {\n try {\n await BACKEND.loadChunk(chunkPath, source);\n } catch (error) {\n let loadReason;\n switch (source.type) {\n case SourceType.Runtime:\n loadReason = `as a runtime dependency of chunk ${source.chunkPath}`;\n break;\n case SourceType.Parent:\n loadReason = `from module ${source.parentId}`;\n break;\n case SourceType.Update:\n loadReason = \"from an HMR update\";\n break;\n default:\n invariant(source, (source) => `Unknown source type: ${source?.type}`);\n }\n throw new Error(\n `Failed to load chunk ${chunkPath} ${loadReason}${\n error ? `: ${error}` : \"\"\n }`,\n error\n ? {\n cause: error,\n }\n : undefined\n );\n }\n}\n\n/**\n * Returns an absolute url to an asset.\n */\nfunction createResolvePathFromModule(\n resolver: (moduleId: string) => Exports\n): (moduleId: string) => string {\n return function resolvePathFromModule(moduleId: string): string {\n const exported = resolver(moduleId);\n return exported?.default ?? exported;\n };\n}\n\nfunction instantiateModule(id: ModuleId, source: SourceInfo): Module {\n const moduleFactory = moduleFactories[id];\n if (typeof moduleFactory !== \"function\") {\n // This can happen if modules incorrectly handle HMR disposes/updates,\n // e.g. when they keep a `setTimeout` around which still executes old code\n // and contains e.g. a `require(\"something\")` call.\n let instantiationReason;\n switch (source.type) {\n case SourceType.Runtime:\n instantiationReason = `as a runtime entry of chunk ${source.chunkPath}`;\n break;\n case SourceType.Parent:\n instantiationReason = `because it was required from module ${source.parentId}`;\n break;\n case SourceType.Update:\n instantiationReason = \"because of an HMR update\";\n break;\n default:\n invariant(source, (source) => `Unknown source type: ${source?.type}`);\n }\n throw new Error(\n `Module ${id} was instantiated ${instantiationReason}, but the module factory is not available. It might have been deleted in an HMR update.`\n );\n }\n\n const hotData = moduleHotData.get(id)!;\n const { hot, hotState } = createModuleHot(id, hotData);\n\n let parents: ModuleId[];\n switch (source.type) {\n case SourceType.Runtime:\n runtimeModules.add(id);\n parents = [];\n break;\n case SourceType.Parent:\n // No need to add this module as a child of the parent module here, this\n // has already been taken care of in `getOrInstantiateModuleFromParent`.\n parents = [source.parentId];\n break;\n case SourceType.Update:\n parents = source.parents || [];\n break;\n default:\n invariant(source, (source) => `Unknown source type: ${source?.type}`);\n }\n\n const module: Module = {\n exports: {},\n error: undefined,\n loaded: false,\n id,\n parents,\n children: [],\n namespaceObject: undefined,\n hot,\n };\n\n moduleCache[id] = module;\n moduleHotState.set(module, hotState);\n\n // NOTE(alexkirsz) This can fail when the module encounters a runtime error.\n try {\n const sourceInfo: SourceInfo = { type: SourceType.Parent, parentId: id };\n\n runModuleExecutionHooks(module, (refresh) => {\n const r = commonJsRequire.bind(null, module);\n moduleFactory.call(\n module.exports,\n augmentContext({\n a: asyncModule.bind(null, module),\n e: module.exports,\n r: commonJsRequire.bind(null, module),\n t: runtimeRequire,\n f: moduleContext,\n i: esmImport.bind(null, module),\n s: esmExport.bind(null, module, module.exports),\n j: dynamicExport.bind(null, module, module.exports),\n v: exportValue.bind(null, module),\n n: exportNamespace.bind(null, module),\n m: module,\n c: moduleCache,\n M: moduleFactories,\n l: loadChunk.bind(null, sourceInfo),\n w: loadWebAssembly.bind(null, sourceInfo),\n u: loadWebAssemblyModule.bind(null, sourceInfo),\n g: globalThis,\n P: resolveAbsolutePath,\n U: relativeURL,\n k: refresh,\n R: createResolvePathFromModule(r),\n b: getWorkerBlobURL,\n __dirname: typeof module.id === \"string\" ? module.id.replace(/(^|\\/)\\/+$/, \"\") : module.id\n })\n );\n });\n } catch (error) {\n module.error = error as any;\n throw error;\n }\n\n module.loaded = true;\n if (module.namespaceObject && module.exports !== module.namespaceObject) {\n // in case of a circular dependency: cjs1 -> esm2 -> cjs1\n interopEsm(module.exports, module.namespaceObject);\n }\n\n return module;\n}\n\n/**\n * no-op for browser\n * @param modulePath\n */\nfunction resolveAbsolutePath(modulePath?: string): string {\n return `/ROOT/${modulePath ?? \"\"}`;\n}\n\nfunction getWorkerBlobURL(chunks: ChunkPath[]): string {\n let bootstrap = `TURBOPACK_WORKER_LOCATION = ${JSON.stringify(location.origin)};importScripts(${chunks.map(c => (`TURBOPACK_WORKER_LOCATION + ${JSON.stringify(getChunkRelativeUrl(c))}`)).join(\", \")});`;\n let blob = new Blob([bootstrap], { type: \"text/javascript\" });\n return URL.createObjectURL(blob);\n}\n\n/**\n * NOTE(alexkirsz) Webpack has a \"module execution\" interception hook that\n * Next.js' React Refresh runtime hooks into to add module context to the\n * refresh registry.\n */\nfunction runModuleExecutionHooks(\n module: Module,\n executeModule: (ctx: RefreshContext) => void\n) {\n const cleanupReactRefreshIntercept =\n typeof globalThis.$RefreshInterceptModuleExecution$ === \"function\"\n ? globalThis.$RefreshInterceptModuleExecution$(module.id)\n : () => {};\n\n try {\n executeModule({\n register: globalThis.$RefreshReg$,\n signature: globalThis.$RefreshSig$,\n registerExports: registerExportsAndSetupBoundaryForReactRefresh,\n });\n } catch (e) {\n throw e;\n } finally {\n // Always cleanup the intercept, even if module execution failed.\n cleanupReactRefreshIntercept();\n }\n}\n\n/**\n * Retrieves a module from the cache, or instantiate it if it is not cached.\n */\nconst getOrInstantiateModuleFromParent: GetOrInstantiateModuleFromParent = (\n id,\n sourceModule\n) => {\n if (!sourceModule.hot.active) {\n console.warn(\n `Unexpected import of module ${id} from module ${sourceModule.id}, which was deleted by an HMR update`\n );\n }\n\n const module = moduleCache[id];\n\n if (sourceModule.children.indexOf(id) === -1) {\n sourceModule.children.push(id);\n }\n\n if (module) {\n if (module.parents.indexOf(sourceModule.id) === -1) {\n module.parents.push(sourceModule.id);\n }\n\n return module;\n }\n\n return instantiateModule(id, {\n type: SourceType.Parent,\n parentId: sourceModule.id,\n });\n};\n\n/**\n * This is adapted from https://github.com/vercel/next.js/blob/3466862d9dc9c8bb3131712134d38757b918d1c0/packages/react-refresh-utils/internal/ReactRefreshModule.runtime.ts\n */\nfunction registerExportsAndSetupBoundaryForReactRefresh(\n module: Module,\n helpers: RefreshHelpers\n) {\n const currentExports = module.exports;\n const prevExports = module.hot.data.prevExports ?? null;\n\n helpers.registerExportsForReactRefresh(currentExports, module.id);\n\n // A module can be accepted automatically based on its exports, e.g. when\n // it is a Refresh Boundary.\n if (helpers.isReactRefreshBoundary(currentExports)) {\n // Save the previous exports on update, so we can compare the boundary\n // signatures.\n module.hot.dispose((data) => {\n data.prevExports = currentExports;\n });\n // Unconditionally accept an update to this module, we'll check if it's\n // still a Refresh Boundary later.\n module.hot.accept();\n\n // This field is set when the previous version of this module was a\n // Refresh Boundary, letting us know we need to check for invalidation or\n // enqueue an update.\n if (prevExports !== null) {\n // A boundary can become ineligible if its exports are incompatible\n // with the previous exports.\n //\n // For example, if you add/remove/change exports, we'll want to\n // re-execute the importing modules, and force those components to\n // re-render. Similarly, if you convert a class component to a\n // function, we want to invalidate the boundary.\n if (\n helpers.shouldInvalidateReactRefreshBoundary(\n helpers.getRefreshBoundarySignature(prevExports),\n helpers.getRefreshBoundarySignature(currentExports)\n )\n ) {\n module.hot.invalidate();\n } else {\n helpers.scheduleUpdate();\n }\n }\n } else {\n // Since we just executed the code for the module, it's possible that the\n // new exports made it ineligible for being a boundary.\n // We only care about the case when we were _previously_ a boundary,\n // because we already accepted this update (accidental side effect).\n const isNoLongerABoundary = prevExports !== null;\n if (isNoLongerABoundary) {\n module.hot.invalidate();\n }\n }\n}\n\nfunction formatDependencyChain(dependencyChain: ModuleId[]): string {\n return `Dependency chain: ${dependencyChain.join(\" -> \")}`;\n}\n\nfunction computeOutdatedModules(\n added: Map,\n modified: Map\n): {\n outdatedModules: Set;\n newModuleFactories: Map;\n} {\n const newModuleFactories = new Map();\n\n for (const [moduleId, entry] of added) {\n if (entry != null) {\n newModuleFactories.set(moduleId, _eval(entry));\n }\n }\n\n const outdatedModules = computedInvalidatedModules(modified.keys());\n\n for (const [moduleId, entry] of modified) {\n newModuleFactories.set(moduleId, _eval(entry));\n }\n\n return { outdatedModules, newModuleFactories };\n}\n\nfunction computedInvalidatedModules(\n invalidated: Iterable\n): Set {\n const outdatedModules = new Set();\n\n for (const moduleId of invalidated) {\n const effect = getAffectedModuleEffects(moduleId);\n\n switch (effect.type) {\n case \"unaccepted\":\n throw new UpdateApplyError(\n `cannot apply update: unaccepted module. ${formatDependencyChain(\n effect.dependencyChain\n )}.`,\n effect.dependencyChain\n );\n case \"self-declined\":\n throw new UpdateApplyError(\n `cannot apply update: self-declined module. ${formatDependencyChain(\n effect.dependencyChain\n )}.`,\n effect.dependencyChain\n );\n case \"accepted\":\n for (const outdatedModuleId of effect.outdatedModules) {\n outdatedModules.add(outdatedModuleId);\n }\n break;\n // TODO(alexkirsz) Dependencies: handle dependencies effects.\n default:\n invariant(effect, (effect) => `Unknown effect type: ${effect?.type}`);\n }\n }\n\n return outdatedModules;\n}\n\nfunction computeOutdatedSelfAcceptedModules(\n outdatedModules: Iterable\n): { moduleId: ModuleId; errorHandler: true | Function }[] {\n const outdatedSelfAcceptedModules = [];\n for (const moduleId of outdatedModules) {\n const module = moduleCache[moduleId];\n const hotState = moduleHotState.get(module)!;\n if (module && hotState.selfAccepted && !hotState.selfInvalidated) {\n outdatedSelfAcceptedModules.push({\n moduleId,\n errorHandler: hotState.selfAccepted,\n });\n }\n }\n return outdatedSelfAcceptedModules;\n}\n\n/**\n * Adds, deletes, and moves modules between chunks. This must happen before the\n * dispose phase as it needs to know which modules were removed from all chunks,\n * which we can only compute *after* taking care of added and moved modules.\n */\nfunction updateChunksPhase(\n chunksAddedModules: Map>,\n chunksDeletedModules: Map>\n): { disposedModules: Set } {\n for (const [chunkPath, addedModuleIds] of chunksAddedModules) {\n for (const moduleId of addedModuleIds) {\n addModuleToChunk(moduleId, chunkPath);\n }\n }\n\n const disposedModules: Set = new Set();\n for (const [chunkPath, addedModuleIds] of chunksDeletedModules) {\n for (const moduleId of addedModuleIds) {\n if (removeModuleFromChunk(moduleId, chunkPath)) {\n disposedModules.add(moduleId);\n }\n }\n }\n\n return { disposedModules };\n}\n\nfunction disposePhase(\n outdatedModules: Iterable,\n disposedModules: Iterable\n): { outdatedModuleParents: Map> } {\n for (const moduleId of outdatedModules) {\n disposeModule(moduleId, \"replace\");\n }\n\n for (const moduleId of disposedModules) {\n disposeModule(moduleId, \"clear\");\n }\n\n // Removing modules from the module cache is a separate step.\n // We also want to keep track of previous parents of the outdated modules.\n const outdatedModuleParents = new Map();\n for (const moduleId of outdatedModules) {\n const oldModule = moduleCache[moduleId];\n outdatedModuleParents.set(moduleId, oldModule?.parents);\n delete moduleCache[moduleId];\n }\n\n // TODO(alexkirsz) Dependencies: remove outdated dependency from module\n // children.\n\n return { outdatedModuleParents };\n}\n\n/**\n * Disposes of an instance of a module.\n *\n * Returns the persistent hot data that should be kept for the next module\n * instance.\n *\n * NOTE: mode = \"replace\" will not remove modules from the moduleCache.\n * This must be done in a separate step afterwards.\n * This is important because all modules need to be disposed to update the\n * parent/child relationships before they are actually removed from the moduleCache.\n * If this was done in this method, the following disposeModule calls won't find\n * the module from the module id in the cache.\n */\nfunction disposeModule(moduleId: ModuleId, mode: \"clear\" | \"replace\") {\n const module = moduleCache[moduleId];\n if (!module) {\n return;\n }\n\n const hotState = moduleHotState.get(module)!;\n const data = {};\n\n // Run the `hot.dispose` handler, if any, passing in the persistent\n // `hot.data` object.\n for (const disposeHandler of hotState.disposeHandlers) {\n disposeHandler(data);\n }\n\n // This used to warn in `getOrInstantiateModuleFromParent` when a disposed\n // module is still importing other modules.\n module.hot.active = false;\n\n moduleHotState.delete(module);\n\n // TODO(alexkirsz) Dependencies: delete the module from outdated deps.\n\n // Remove the disposed module from its children's parent list.\n // It will be added back once the module re-instantiates and imports its\n // children again.\n for (const childId of module.children) {\n const child = moduleCache[childId];\n if (!child) {\n continue;\n }\n\n const idx = child.parents.indexOf(module.id);\n if (idx >= 0) {\n child.parents.splice(idx, 1);\n }\n }\n\n switch (mode) {\n case \"clear\":\n delete moduleCache[module.id];\n moduleHotData.delete(module.id);\n break;\n case \"replace\":\n moduleHotData.set(module.id, data);\n break;\n default:\n invariant(mode, (mode) => `invalid mode: ${mode}`);\n }\n}\n\nfunction applyPhase(\n outdatedSelfAcceptedModules: {\n moduleId: ModuleId;\n errorHandler: true | Function;\n }[],\n newModuleFactories: Map,\n outdatedModuleParents: Map>,\n reportError: (err: any) => void\n) {\n // Update module factories.\n for (const [moduleId, factory] of newModuleFactories.entries()) {\n moduleFactories[moduleId] = factory;\n }\n\n // TODO(alexkirsz) Run new runtime entries here.\n\n // TODO(alexkirsz) Dependencies: call accept handlers for outdated deps.\n\n // Re-instantiate all outdated self-accepted modules.\n for (const { moduleId, errorHandler } of outdatedSelfAcceptedModules) {\n try {\n instantiateModule(moduleId, {\n type: SourceType.Update,\n parents: outdatedModuleParents.get(moduleId),\n });\n } catch (err) {\n if (typeof errorHandler === \"function\") {\n try {\n errorHandler(err, { moduleId, module: moduleCache[moduleId] });\n } catch (err2) {\n reportError(err2);\n reportError(err);\n }\n } else {\n reportError(err);\n }\n }\n }\n}\n\nfunction applyUpdate(update: PartialUpdate) {\n switch (update.type) {\n case \"ChunkListUpdate\":\n applyChunkListUpdate(update);\n break;\n default:\n invariant(update, (update) => `Unknown update type: ${update.type}`);\n }\n}\n\nfunction applyChunkListUpdate(update: ChunkListUpdate) {\n if (update.merged != null) {\n for (const merged of update.merged) {\n switch (merged.type) {\n case \"EcmascriptMergedUpdate\":\n applyEcmascriptMergedUpdate(merged);\n break;\n default:\n invariant(merged, (merged) => `Unknown merged type: ${merged.type}`);\n }\n }\n }\n\n if (update.chunks != null) {\n for (const [chunkPath, chunkUpdate] of Object.entries(update.chunks)) {\n switch (chunkUpdate.type) {\n case \"added\":\n BACKEND.loadChunk(chunkPath, { type: SourceType.Update });\n break;\n case \"total\":\n BACKEND.reloadChunk?.(chunkPath);\n break;\n case \"deleted\":\n BACKEND.unloadChunk?.(chunkPath);\n break;\n case \"partial\":\n invariant(\n chunkUpdate.instruction,\n (instruction) =>\n `Unknown partial instruction: ${JSON.stringify(instruction)}.`\n );\n break;\n default:\n invariant(\n chunkUpdate,\n (chunkUpdate) => `Unknown chunk update type: ${chunkUpdate.type}`\n );\n }\n }\n }\n}\n\nfunction applyEcmascriptMergedUpdate(update: EcmascriptMergedUpdate) {\n const { entries = {}, chunks = {} } = update;\n const { added, modified, chunksAdded, chunksDeleted } = computeChangedModules(\n entries,\n chunks\n );\n const { outdatedModules, newModuleFactories } = computeOutdatedModules(\n added,\n modified\n );\n const { disposedModules } = updateChunksPhase(chunksAdded, chunksDeleted);\n\n applyInternal(outdatedModules, disposedModules, newModuleFactories);\n}\n\nfunction applyInvalidatedModules(outdatedModules: Set) {\n if (queuedInvalidatedModules.size > 0) {\n computedInvalidatedModules(queuedInvalidatedModules).forEach((moduleId) => {\n outdatedModules.add(moduleId);\n });\n\n queuedInvalidatedModules.clear();\n }\n\n return outdatedModules;\n}\n\nfunction applyInternal(\n outdatedModules: Set,\n disposedModules: Iterable,\n newModuleFactories: Map\n) {\n outdatedModules = applyInvalidatedModules(outdatedModules);\n\n const outdatedSelfAcceptedModules =\n computeOutdatedSelfAcceptedModules(outdatedModules);\n\n const { outdatedModuleParents } = disposePhase(\n outdatedModules,\n disposedModules\n );\n\n // we want to continue on error and only throw the error after we tried applying all updates\n let error: any;\n\n function reportError(err: any) {\n if (!error) error = err;\n }\n\n applyPhase(\n outdatedSelfAcceptedModules,\n newModuleFactories,\n outdatedModuleParents,\n reportError\n );\n\n if (error) {\n throw error;\n }\n\n if (queuedInvalidatedModules.size > 0) {\n applyInternal(new Set(), [], new Map());\n }\n}\n\nfunction computeChangedModules(\n entries: Record,\n updates: Record\n): {\n added: Map;\n modified: Map;\n deleted: Set;\n chunksAdded: Map>;\n chunksDeleted: Map>;\n} {\n const chunksAdded = new Map();\n const chunksDeleted = new Map();\n const added: Map = new Map();\n const modified = new Map();\n const deleted: Set = new Set();\n\n for (const [chunkPath, mergedChunkUpdate] of Object.entries(updates)) {\n switch (mergedChunkUpdate.type) {\n case \"added\": {\n const updateAdded = new Set(mergedChunkUpdate.modules);\n for (const moduleId of updateAdded) {\n added.set(moduleId, entries[moduleId]);\n }\n chunksAdded.set(chunkPath, updateAdded);\n break;\n }\n case \"deleted\": {\n // We could also use `mergedChunkUpdate.modules` here.\n const updateDeleted = new Set(chunkModulesMap.get(chunkPath));\n for (const moduleId of updateDeleted) {\n deleted.add(moduleId);\n }\n chunksDeleted.set(chunkPath, updateDeleted);\n break;\n }\n case \"partial\": {\n const updateAdded = new Set(mergedChunkUpdate.added);\n const updateDeleted = new Set(mergedChunkUpdate.deleted);\n for (const moduleId of updateAdded) {\n added.set(moduleId, entries[moduleId]);\n }\n for (const moduleId of updateDeleted) {\n deleted.add(moduleId);\n }\n chunksAdded.set(chunkPath, updateAdded);\n chunksDeleted.set(chunkPath, updateDeleted);\n break;\n }\n default:\n invariant(\n mergedChunkUpdate,\n (mergedChunkUpdate) =>\n `Unknown merged chunk update type: ${mergedChunkUpdate.type}`\n );\n }\n }\n\n // If a module was added from one chunk and deleted from another in the same update,\n // consider it to be modified, as it means the module was moved from one chunk to another\n // AND has new code in a single update.\n for (const moduleId of added.keys()) {\n if (deleted.has(moduleId)) {\n added.delete(moduleId);\n deleted.delete(moduleId);\n }\n }\n\n for (const [moduleId, entry] of Object.entries(entries)) {\n // Modules that haven't been added to any chunk but have new code are considered\n // to be modified.\n // This needs to be under the previous loop, as we need it to get rid of modules\n // that were added and deleted in the same update.\n if (!added.has(moduleId)) {\n modified.set(moduleId, entry);\n }\n }\n\n return { added, deleted, modified, chunksAdded, chunksDeleted };\n}\n\ntype ModuleEffect =\n | {\n type: \"unaccepted\";\n dependencyChain: ModuleId[];\n }\n | {\n type: \"self-declined\";\n dependencyChain: ModuleId[];\n moduleId: ModuleId;\n }\n | {\n type: \"accepted\";\n moduleId: ModuleId;\n outdatedModules: Set;\n };\n\nfunction getAffectedModuleEffects(moduleId: ModuleId): ModuleEffect {\n const outdatedModules: Set = new Set();\n\n type QueueItem = { moduleId?: ModuleId; dependencyChain: ModuleId[] };\n\n const queue: QueueItem[] = [\n {\n moduleId,\n dependencyChain: [],\n },\n ];\n\n let nextItem;\n while ((nextItem = queue.shift())) {\n const { moduleId, dependencyChain } = nextItem;\n\n if (moduleId != null) {\n if (outdatedModules.has(moduleId)) {\n // Avoid infinite loops caused by cycles between modules in the dependency chain.\n continue;\n }\n\n outdatedModules.add(moduleId);\n }\n\n // We've arrived at the runtime of the chunk, which means that nothing\n // else above can accept this update.\n if (moduleId === undefined) {\n return {\n type: \"unaccepted\",\n dependencyChain,\n };\n }\n\n const module = moduleCache[moduleId];\n const hotState = moduleHotState.get(module)!;\n\n if (\n // The module is not in the cache. Since this is a \"modified\" update,\n // it means that the module was never instantiated before.\n !module || // The module accepted itself without invalidating globalThis.\n // TODO is that right?\n (hotState.selfAccepted && !hotState.selfInvalidated)\n ) {\n continue;\n }\n\n if (hotState.selfDeclined) {\n return {\n type: \"self-declined\",\n dependencyChain,\n moduleId,\n };\n }\n\n if (runtimeModules.has(moduleId)) {\n queue.push({\n moduleId: undefined,\n dependencyChain: [...dependencyChain, moduleId],\n });\n continue;\n }\n\n for (const parentId of module.parents) {\n const parent = moduleCache[parentId];\n\n if (!parent) {\n // TODO(alexkirsz) Is this even possible?\n continue;\n }\n\n // TODO(alexkirsz) Dependencies: check accepted and declined\n // dependencies here.\n\n queue.push({\n moduleId: parentId,\n dependencyChain: [...dependencyChain, moduleId],\n });\n }\n }\n\n return {\n type: \"accepted\",\n moduleId,\n outdatedModules,\n };\n}\n\nfunction handleApply(chunkListPath: ChunkPath, update: ServerMessage) {\n switch (update.type) {\n case \"partial\": {\n // This indicates that the update is can be applied to the current state of the application.\n applyUpdate(update.instruction);\n break;\n }\n case \"restart\": {\n // This indicates that there is no way to apply the update to the\n // current state of the application, and that the application must be\n // restarted.\n BACKEND.restart();\n break;\n }\n case \"notFound\": {\n // This indicates that the chunk list no longer exists: either the dynamic import which created it was removed,\n // or the page itself was deleted.\n // If it is a dynamic import, we simply discard all modules that the chunk has exclusive access to.\n // If it is a runtime chunk list, we restart the application.\n if (runtimeChunkLists.has(chunkListPath)) {\n BACKEND.restart();\n } else {\n disposeChunkList(chunkListPath);\n }\n break;\n }\n default:\n throw new Error(`Unknown update type: ${update.type}`);\n }\n}\n\nfunction createModuleHot(\n moduleId: ModuleId,\n hotData: HotData\n): { hot: Hot; hotState: HotState } {\n const hotState: HotState = {\n selfAccepted: false,\n selfDeclined: false,\n selfInvalidated: false,\n disposeHandlers: [],\n };\n\n const hot: Hot = {\n // TODO(alexkirsz) This is not defined in the HMR API. It was used to\n // decide whether to warn whenever an HMR-disposed module required other\n // modules. We might want to remove it.\n active: true,\n\n data: hotData ?? {},\n\n // TODO(alexkirsz) Support full (dep, callback, errorHandler) form.\n accept: (\n modules?: string | string[] | AcceptErrorHandler,\n _callback?: AcceptCallback,\n _errorHandler?: AcceptErrorHandler\n ) => {\n if (modules === undefined) {\n hotState.selfAccepted = true;\n } else if (typeof modules === \"function\") {\n hotState.selfAccepted = modules;\n } else {\n throw new Error(\"unsupported `accept` signature\");\n }\n },\n\n decline: (dep) => {\n if (dep === undefined) {\n hotState.selfDeclined = true;\n } else {\n throw new Error(\"unsupported `decline` signature\");\n }\n },\n\n dispose: (callback) => {\n hotState.disposeHandlers.push(callback);\n },\n\n addDisposeHandler: (callback) => {\n hotState.disposeHandlers.push(callback);\n },\n\n removeDisposeHandler: (callback) => {\n const idx = hotState.disposeHandlers.indexOf(callback);\n if (idx >= 0) {\n hotState.disposeHandlers.splice(idx, 1);\n }\n },\n\n invalidate: () => {\n hotState.selfInvalidated = true;\n queuedInvalidatedModules.add(moduleId);\n },\n\n // NOTE(alexkirsz) This is part of the management API, which we don't\n // implement, but the Next.js React Refresh runtime uses this to decide\n // whether to schedule an update.\n status: () => \"idle\",\n\n // NOTE(alexkirsz) Since we always return \"idle\" for now, these are no-ops.\n addStatusHandler: (_handler) => {},\n removeStatusHandler: (_handler) => {},\n\n // NOTE(jridgewell) Check returns the list of updated modules, but we don't\n // want the webpack code paths to ever update (the turbopack paths handle\n // this already).\n check: () => Promise.resolve(null),\n };\n\n return { hot, hotState };\n}\n\n/**\n * Adds a module to a chunk.\n */\nfunction addModuleToChunk(moduleId: ModuleId, chunkPath: ChunkPath) {\n let moduleChunks = moduleChunksMap.get(moduleId);\n if (!moduleChunks) {\n moduleChunks = new Set([chunkPath]);\n moduleChunksMap.set(moduleId, moduleChunks);\n } else {\n moduleChunks.add(chunkPath);\n }\n\n let chunkModules = chunkModulesMap.get(chunkPath);\n if (!chunkModules) {\n chunkModules = new Set([moduleId]);\n chunkModulesMap.set(chunkPath, chunkModules);\n } else {\n chunkModules.add(moduleId);\n }\n}\n\n/**\n * Returns the first chunk that included a module.\n * This is used by the Node.js backend, hence why it's marked as unused in this\n * file.\n */\nfunction getFirstModuleChunk(moduleId: ModuleId) {\n const moduleChunkPaths = moduleChunksMap.get(moduleId);\n if (moduleChunkPaths == null) {\n return null;\n }\n\n return moduleChunkPaths.values().next().value;\n}\n\n/**\n * Removes a module from a chunk.\n * Returns `true` if there are no remaining chunks including this module.\n */\nfunction removeModuleFromChunk(\n moduleId: ModuleId,\n chunkPath: ChunkPath\n): boolean {\n const moduleChunks = moduleChunksMap.get(moduleId)!;\n moduleChunks.delete(chunkPath);\n\n const chunkModules = chunkModulesMap.get(chunkPath)!;\n chunkModules.delete(moduleId);\n\n const noRemainingModules = chunkModules.size === 0;\n if (noRemainingModules) {\n chunkModulesMap.delete(chunkPath);\n }\n\n const noRemainingChunks = moduleChunks.size === 0;\n if (noRemainingChunks) {\n moduleChunksMap.delete(moduleId);\n }\n\n return noRemainingChunks;\n}\n\n/**\n * Disposes of a chunk list and its corresponding exclusive chunks.\n */\nfunction disposeChunkList(chunkListPath: ChunkPath): boolean {\n const chunkPaths = chunkListChunksMap.get(chunkListPath);\n if (chunkPaths == null) {\n return false;\n }\n chunkListChunksMap.delete(chunkListPath);\n\n for (const chunkPath of chunkPaths) {\n const chunkChunkLists = chunkChunkListsMap.get(chunkPath)!;\n chunkChunkLists.delete(chunkListPath);\n\n if (chunkChunkLists.size === 0) {\n chunkChunkListsMap.delete(chunkPath);\n disposeChunk(chunkPath);\n }\n }\n\n // We must also dispose of the chunk list's chunk itself to ensure it may\n // be reloaded properly in the future.\n BACKEND.unloadChunk?.(chunkListPath);\n\n return true;\n}\n\n/**\n * Disposes of a chunk and its corresponding exclusive modules.\n *\n * @returns Whether the chunk was disposed of.\n */\nfunction disposeChunk(chunkPath: ChunkPath): boolean {\n // This should happen whether the chunk has any modules in it or not.\n // For instance, CSS chunks have no modules in them, but they still need to be unloaded.\n BACKEND.unloadChunk?.(chunkPath);\n\n const chunkModules = chunkModulesMap.get(chunkPath);\n if (chunkModules == null) {\n return false;\n }\n chunkModules.delete(chunkPath);\n\n for (const moduleId of chunkModules) {\n const moduleChunks = moduleChunksMap.get(moduleId)!;\n moduleChunks.delete(chunkPath);\n\n const noRemainingChunks = moduleChunks.size === 0;\n if (noRemainingChunks) {\n moduleChunksMap.delete(moduleId);\n disposeModule(moduleId, \"clear\");\n availableModules.delete(moduleId);\n }\n }\n\n return true;\n}\n\n/**\n * Instantiates a runtime module.\n */\nfunction instantiateRuntimeModule(\n moduleId: ModuleId,\n chunkPath: ChunkPath\n): Module {\n return instantiateModule(moduleId, { type: SourceType.Runtime, chunkPath });\n}\n\n/**\n * Gets or instantiates a runtime module.\n */\nfunction getOrInstantiateRuntimeModule(\n moduleId: ModuleId,\n chunkPath: ChunkPath\n): Module {\n const module = moduleCache[moduleId];\n if (module) {\n if (module.error) {\n throw module.error;\n }\n return module;\n }\n\n return instantiateModule(moduleId, { type: SourceType.Runtime, chunkPath });\n}\n\n/**\n * Returns the URL relative to the origin where a chunk can be fetched from.\n */\nfunction getChunkRelativeUrl(chunkPath: ChunkPath): string {\n return `${CHUNK_BASE_PATH}${chunkPath\n .split(\"/\")\n .map((p) => encodeURIComponent(p))\n .join(\"/\")}`;\n}\n\n/**\n * Subscribes to chunk list updates from the update server and applies them.\n */\nfunction registerChunkList(\n chunkUpdateProvider: ChunkUpdateProvider,\n chunkList: ChunkList\n) {\n chunkUpdateProvider.push([\n chunkList.path,\n handleApply.bind(null, chunkList.path),\n ]);\n\n // Adding chunks to chunk lists and vice versa.\n const chunks = new Set(chunkList.chunks.map(getChunkPath));\n chunkListChunksMap.set(chunkList.path, chunks);\n for (const chunkPath of chunks) {\n let chunkChunkLists = chunkChunkListsMap.get(chunkPath);\n if (!chunkChunkLists) {\n chunkChunkLists = new Set([chunkList.path]);\n chunkChunkListsMap.set(chunkPath, chunkChunkLists);\n } else {\n chunkChunkLists.add(chunkList.path);\n }\n }\n\n if (chunkList.source === \"entry\") {\n markChunkListAsRuntime(chunkList.path);\n }\n}\n\n/**\n * Marks a chunk list as a runtime chunk list. There can be more than one\n * runtime chunk list. For instance, integration tests can have multiple chunk\n * groups loaded at runtime, each with its own chunk list.\n */\nfunction markChunkListAsRuntime(chunkListPath: ChunkPath) {\n runtimeChunkLists.add(chunkListPath);\n}\n\nfunction registerChunk([\n chunkPath,\n chunkModules,\n runtimeParams,\n]: ChunkRegistration) {\n for (const [moduleId, moduleFactory] of Object.entries(chunkModules)) {\n if (!moduleFactories[moduleId]) {\n moduleFactories[moduleId] = moduleFactory;\n }\n addModuleToChunk(moduleId, chunkPath);\n }\n\n return BACKEND.registerChunk(chunkPath, runtimeParams);\n}\n\nglobalThis.TURBOPACK_CHUNK_UPDATE_LISTENERS ??= [];\n\nconst chunkListsToRegister = globalThis.TURBOPACK_CHUNK_LISTS;\nif (Array.isArray(chunkListsToRegister)) {\n for (const chunkList of chunkListsToRegister) {\n registerChunkList(globalThis.TURBOPACK_CHUNK_UPDATE_LISTENERS, chunkList);\n }\n}\n\nglobalThis.TURBOPACK_CHUNK_LISTS = {\n push: (chunkList) => {\n registerChunkList(globalThis.TURBOPACK_CHUNK_UPDATE_LISTENERS!, chunkList);\n },\n} satisfies ChunkListProvider;\n"],"names":[],"mappings":"AAAA;;;;;;CAMC,GAED,oDAAoD,GAEpD,4DAA4D;AAC5D,uCAAuC;AACvC,wCAAwC;AACxC,0CAA0C;AAE1C,yEAAyE;AACzE,4EAA4E;AAC5E,wDAAwD;;UAqDnD;IACH;;;GAGC;IAED;;GAEC;IAED;;;GAGC;GAbE,eAAA;AAwCL,MAAM,yBAAyB;IAC7B,OAAO,mBAAmB;IAE1B,gBAA0B;IAE1B,YAAY,OAAe,EAAE,eAAyB,CAAE;QACtD,KAAK,CAAC;QACN,IAAI,CAAC,eAAe,GAAG;IACzB;AACF;AAEA,MAAM,kBAAmC,OAAO,MAAM,CAAC;AACvD,MAAM,cAA2B,OAAO,MAAM,CAAC;AAC/C;;;CAGC,GACD,MAAM,gBAAwC,IAAI;AAClD;;CAEC,GACD,MAAM,iBAAwC,IAAI;AAClD;;CAEC,GACD,MAAM,2BAA0C,IAAI;AACpD;;CAEC,GACD,MAAM,iBAAgC,IAAI;AAC1C;;;;;;CAMC,GACD,MAAM,kBAAiD,IAAI;AAC3D;;CAEC,GACD,MAAM,kBAAiD,IAAI;AAC3D;;;;CAIC,GACD,MAAM,oBAAoC,IAAI;AAC9C;;CAEC,GACD,MAAM,qBAAqD,IAAI;AAC/D;;CAEC,GACD,MAAM,qBAAqD,IAAI;AAE/D,MAAM,mBAAuD,IAAI;AAEjE,MAAM,wBAA6D,IAAI;AAEvE,eAAe,UACb,MAAkB,EAClB,SAAoB;IAEpB,IAAI,OAAO,cAAc,UAAU;QACjC,OAAO,cAAc,QAAQ;IAC/B;IAEA,MAAM,eAAe,UAAU,QAAQ,IAAI,EAAE;IAC7C,MAAM,kBAAkB,aAAa,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CAAgC,EAAE;IACjE;AACF;AAEA,WAAW,qBAAqB,GAAG;IACjC,MAAM,CAAC;QACL,kBAAkB,WAAW,gCAAgC,EAAG;IAClE;AACF"}}, - {"offset": {"line": 1377, "column": 0}, "map": {"version":3,"sources":["turbopack://[turbopack]/browser/dev/runtime/dom/runtime-backend-dom.ts"],"sourcesContent":["/**\n * This file contains the runtime code specific to the Turbopack development\n * ECMAScript DOM runtime.\n *\n * It will be appended to the base development runtime code.\n */\n\n/* eslint-disable @typescript-eslint/no-unused-vars */\n\n/// \n/// \n\ntype ChunkResolver = {\n resolved: boolean;\n resolve: () => void;\n reject: (error?: Error) => void;\n promise: Promise;\n};\n\nlet BACKEND: RuntimeBackend;\n\nfunction augmentContext(context: TurbopackDevBaseContext): TurbopackDevContext {\n return context;\n}\n\nfunction fetchWebAssembly(wasmChunkPath: ChunkPath) {\n return fetch(getChunkRelativeUrl(wasmChunkPath));\n}\n\nasync function loadWebAssembly(\n _source: SourceInfo,\n wasmChunkPath: ChunkPath,\n importsObj: WebAssembly.Imports\n): Promise {\n const req = fetchWebAssembly(wasmChunkPath);\n\n const { instance } = await WebAssembly.instantiateStreaming(req, importsObj);\n\n return instance.exports;\n}\n\nasync function loadWebAssemblyModule(\n _source: SourceInfo,\n wasmChunkPath: ChunkPath\n): Promise {\n const req = fetchWebAssembly(wasmChunkPath);\n\n return await WebAssembly.compileStreaming(req);\n}\n\n(() => {\n BACKEND = {\n async registerChunk(chunkPath, params) {\n const resolver = getOrCreateResolver(chunkPath);\n resolver.resolve();\n\n if (params == null) {\n return;\n }\n\n for (const otherChunkData of params.otherChunks) {\n const otherChunkPath = getChunkPath(otherChunkData);\n // Chunk might have started loading, so we want to avoid triggering another load.\n getOrCreateResolver(otherChunkPath);\n }\n\n // This waits for chunks to be loaded, but also marks included items as available.\n await Promise.all(\n params.otherChunks.map((otherChunkData) =>\n loadChunk({ type: SourceType.Runtime, chunkPath }, otherChunkData)\n )\n );\n\n if (params.runtimeModuleIds.length > 0) {\n for (const moduleId of params.runtimeModuleIds) {\n getOrInstantiateRuntimeModule(moduleId, chunkPath);\n }\n }\n },\n\n loadChunk(chunkPath, source) {\n return doLoadChunk(chunkPath, source);\n },\n\n unloadChunk(chunkPath) {\n deleteResolver(chunkPath);\n\n const chunkUrl = getChunkRelativeUrl(chunkPath);\n // TODO(PACK-2140): remove this once all filenames are guaranteed to be escaped.\n const decodedChunkUrl = decodeURI(chunkUrl);\n\n if (chunkPath.endsWith(\".css\")) {\n const links = document.querySelectorAll(\n `link[href=\"${chunkUrl}\"],link[href^=\"${chunkUrl}?\"],link[href=\"${decodedChunkUrl}\"],link[href^=\"${decodedChunkUrl}?\"]`\n );\n for (const link of Array.from(links)) {\n link.remove();\n }\n } else if (chunkPath.endsWith(\".js\")) {\n // Unloading a JS chunk would have no effect, as it lives in the JS\n // runtime once evaluated.\n // However, we still want to remove the script tag from the DOM to keep\n // the HTML somewhat consistent from the user's perspective.\n const scripts = document.querySelectorAll(\n `script[src=\"${chunkUrl}\"],script[src^=\"${chunkUrl}?\"],script[src=\"${decodedChunkUrl}\"],script[src^=\"${decodedChunkUrl}?\"]`\n );\n for (const script of Array.from(scripts)) {\n script.remove();\n }\n } else {\n throw new Error(`can't infer type of chunk from path ${chunkPath}`);\n }\n },\n\n reloadChunk(chunkPath) {\n return new Promise((resolve, reject) => {\n if (!chunkPath.endsWith(\".css\")) {\n reject(new Error(\"The DOM backend can only reload CSS chunks\"));\n return;\n }\n\n const chunkUrl = getChunkRelativeUrl(chunkPath);\n const decodedChunkUrl = decodeURI(chunkUrl);\n\n const previousLinks = document.querySelectorAll(\n `link[rel=stylesheet][href=\"${chunkUrl}\"],link[rel=stylesheet][href^=\"${chunkUrl}?\"],link[rel=stylesheet][href=\"${decodedChunkUrl}\"],link[rel=stylesheet][href^=\"${decodedChunkUrl}?\"]`\n );\n\n if (previousLinks.length === 0) {\n reject(new Error(`No link element found for chunk ${chunkPath}`));\n return;\n }\n\n const link = document.createElement(\"link\");\n link.rel = \"stylesheet\";\n\n if (navigator.userAgent.includes(\"Firefox\")) {\n // Firefox won't reload CSS files that were previously loaded on the current page,\n // we need to add a query param to make sure CSS is actually reloaded from the server.\n //\n // I believe this is this issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1037506\n //\n // Safari has a similar issue, but only if you have a `` tag\n // pointing to the same URL as the stylesheet: https://bugs.webkit.org/show_bug.cgi?id=187726\n link.href = `${chunkUrl}?ts=${Date.now()}`;\n } else {\n link.href = chunkUrl;\n }\n\n link.onerror = () => {\n reject();\n };\n link.onload = () => {\n // First load the new CSS, then remove the old ones. This prevents visible\n // flickering that would happen in-between removing the previous CSS and\n // loading the new one.\n for (const previousLink of Array.from(previousLinks))\n previousLink.remove();\n\n // CSS chunks do not register themselves, and as such must be marked as\n // loaded instantly.\n resolve();\n };\n\n // Make sure to insert the new CSS right after the previous one, so that\n // its precedence is higher.\n previousLinks[0].parentElement!.insertBefore(\n link,\n previousLinks[0].nextSibling\n );\n });\n },\n\n restart: () => self.location.reload(),\n };\n\n /**\n * Maps chunk paths to the corresponding resolver.\n */\n const chunkResolvers: Map = new Map();\n\n function getOrCreateResolver(chunkPath: ChunkPath): ChunkResolver {\n let resolver = chunkResolvers.get(chunkPath);\n if (!resolver) {\n let resolve: () => void;\n let reject: (error?: Error) => void;\n const promise = new Promise((innerResolve, innerReject) => {\n resolve = innerResolve;\n reject = innerReject;\n });\n resolver = {\n resolved: false,\n promise,\n resolve: () => {\n resolver!.resolved = true;\n resolve();\n },\n reject: reject!,\n };\n chunkResolvers.set(chunkPath, resolver);\n }\n return resolver;\n }\n\n function deleteResolver(chunkPath: ChunkPath) {\n chunkResolvers.delete(chunkPath);\n }\n\n /**\n * Loads the given chunk, and returns a promise that resolves once the chunk\n * has been loaded.\n */\n async function doLoadChunk(chunkPath: ChunkPath, source: SourceInfo) {\n const resolver = getOrCreateResolver(chunkPath);\n if (resolver.resolved) {\n return resolver.promise;\n }\n\n if (source.type === SourceType.Runtime) {\n // We don't need to load chunks references from runtime code, as they're already\n // present in the DOM.\n\n if (chunkPath.endsWith(\".css\")) {\n // CSS chunks do not register themselves, and as such must be marked as\n // loaded instantly.\n resolver.resolve();\n }\n\n // We need to wait for JS chunks to register themselves within `registerChunk`\n // before we can start instantiating runtime modules, hence the absence of\n // `resolver.resolve()` in this branch.\n\n return resolver.promise;\n }\n\n const chunkUrl = getChunkRelativeUrl(chunkPath);\n const decodedChunkUrl = decodeURI(chunkUrl);\n\n if (typeof importScripts === \"function\") {\n // We're in a web worker\n if (chunkPath.endsWith(\".css\")) {\n // ignore\n } else if (chunkPath.endsWith(\".js\")) {\n importScripts(TURBOPACK_WORKER_LOCATION + chunkUrl);\n } else {\n throw new Error(`can't infer type of chunk from path ${chunkPath} in worker`);\n }\n } else {\n if (chunkPath.endsWith(\".css\")) {\n const previousLinks = document.querySelectorAll(\n `link[rel=stylesheet][href=\"${chunkUrl}\"],link[rel=stylesheet][href^=\"${chunkUrl}?\"],link[rel=stylesheet][href=\"${decodedChunkUrl}\"],link[rel=stylesheet][href^=\"${decodedChunkUrl}?\"]`\n );\n if (previousLinks.length > 0) {\n // CSS chunks do not register themselves, and as such must be marked as\n // loaded instantly.\n resolver.resolve();\n } else {\n const link = document.createElement(\"link\");\n link.rel = \"stylesheet\";\n link.href = chunkUrl;\n link.onerror = () => {\n resolver.reject();\n };\n link.onload = () => {\n // CSS chunks do not register themselves, and as such must be marked as\n // loaded instantly.\n resolver.resolve();\n };\n document.body.appendChild(link);\n }\n } else if (chunkPath.endsWith(\".js\")) {\n const previousScripts = document.querySelectorAll(\n `script[src=\"${chunkUrl}\"],script[src^=\"${chunkUrl}?\"],script[src=\"${decodedChunkUrl}\"],script[src^=\"${decodedChunkUrl}?\"]`\n );\n if (previousScripts.length > 0) {\n // There is this edge where the script already failed loading, but we\n // can't detect that. The Promise will never resolve in this case.\n for (const script of Array.from(previousScripts)) {\n script.addEventListener(\"error\", () => {\n resolver.reject();\n });\n }\n } else {\n const script = document.createElement(\"script\");\n script.src = chunkUrl;\n // We'll only mark the chunk as loaded once the script has been executed,\n // which happens in `registerChunk`. Hence the absence of `resolve()` in\n // this branch.\n script.onerror = () => {\n resolver.reject();\n };\n document.body.appendChild(script);\n }\n } else {\n throw new Error(`can't infer type of chunk from path ${chunkPath}`);\n }\n }\n\n return resolver.promise;\n }\n})();\n\nfunction _eval({ code, url, map }: EcmascriptModuleEntry): ModuleFactory {\n code += `\\n\\n//# sourceURL=${encodeURI(\n location.origin + CHUNK_BASE_PATH + url\n )}`;\n if (map) {\n code += `\\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,${btoa(\n // btoa doesn't handle nonlatin characters, so escape them as \\x sequences\n // See https://stackoverflow.com/a/26603875\n unescape(encodeURIComponent(map))\n )}`;\n }\n\n // eslint-disable-next-line no-eval\n return eval(code);\n}\n"],"names":[],"mappings":"AAAA;;;;;CAKC,GAED,oDAAoD,GAEpD,gDAAgD;AAChD,6DAA6D;AAS7D,IAAI;AAEJ,SAAS,eAAe,OAAgC;IACtD,OAAO;AACT;AAEA,SAAS,iBAAiB,aAAwB;IAChD,OAAO,MAAM,oBAAoB;AACnC;AAEA,eAAe,gBACb,OAAmB,EACnB,aAAwB,EACxB,UAA+B;IAE/B,MAAM,MAAM,iBAAiB;IAE7B,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,YAAY,oBAAoB,CAAC,KAAK;IAEjE,OAAO,SAAS,OAAO;AACzB;AAEA,eAAe,sBACb,OAAmB,EACnB,aAAwB;IAExB,MAAM,MAAM,iBAAiB;IAE7B,OAAO,MAAM,YAAY,gBAAgB,CAAC;AAC5C;AAEA,CAAC;IACC,UAAU;QACR,MAAM,eAAc,SAAS,EAAE,MAAM;YACnC,MAAM,WAAW,oBAAoB;YACrC,SAAS,OAAO;YAEhB,IAAI,UAAU,MAAM;gBAClB;YACF;YAEA,KAAK,MAAM,kBAAkB,OAAO,WAAW,CAAE;gBAC/C,MAAM,iBAAiB,aAAa;gBACpC,iFAAiF;gBAC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AAS,mBAAmB,OAC5B,CAAC;IACL;IAEA,mCAAmC;IACnC,OAAO,KAAK;AACd"}}, - {"offset": {"line": 1615, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 13, "column": 0}, "map": {"version":3,"sources":["turbopack://[turbopack]/shared/runtime-utils.ts"],"sourcesContent":["/**\n * This file contains runtime types and functions that are shared between all\n * TurboPack ECMAScript runtimes.\n *\n * It will be prepended to the runtime code of each runtime.\n */\n\n/* eslint-disable @typescript-eslint/no-unused-vars */\n\n/// \n\ntype EsmNamespaceObject = Record;\n\n// @ts-ignore Defined in `dev-base.ts`\ndeclare function getOrInstantiateModuleFromParent(\n id: ModuleId,\n sourceModule: M\n): M;\n\nconst REEXPORTED_OBJECTS = Symbol(\"reexported objects\");\n\ntype ModuleContextMap = Record;\n\ninterface ModuleContextEntry {\n id: () => ModuleId;\n module: () => any;\n}\n\ninterface ModuleContext {\n // require call\n (moduleId: ModuleId): Exports | EsmNamespaceObject;\n\n // async import call\n import(moduleId: ModuleId): Promise;\n\n keys(): ModuleId[];\n\n resolve(moduleId: ModuleId): ModuleId;\n}\n\ntype GetOrInstantiateModuleFromParent = (\n moduleId: ModuleId,\n parentModule: M\n) => M;\n\ndeclare function getOrInstantiateRuntimeModule(moduleId: ModuleId, chunkPath: ChunkPath): Module;\n\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\nconst toStringTag = typeof Symbol !== \"undefined\" && Symbol.toStringTag;\n\nfunction defineProp(\n obj: any,\n name: PropertyKey,\n options: PropertyDescriptor & ThisType\n) {\n if (!hasOwnProperty.call(obj, name))\n Object.defineProperty(obj, name, options);\n}\n\n/**\n * Adds the getters to the exports object.\n */\nfunction esm(\n exports: Exports,\n getters: Record any) | [() => any, (v: any) => void]>\n) {\n defineProp(exports, \"__esModule\", { value: true });\n if (toStringTag) defineProp(exports, toStringTag, { value: \"Module\" });\n for (const key in getters) {\n const item = getters[key];\n if (Array.isArray(item)) {\n defineProp(exports, key, {\n get: item[0],\n set: item[1],\n enumerable: true,\n });\n } else {\n defineProp(exports, key, { get: item, enumerable: true });\n }\n }\n Object.seal(exports);\n}\n\n/**\n * Makes the module an ESM with exports\n */\nfunction esmExport(\n module: Module,\n exports: Exports,\n getters: Record any>\n) {\n module.namespaceObject = module.exports;\n esm(exports, getters);\n}\n\nfunction ensureDynamicExports(module: Module, exports: Exports) {\n let reexportedObjects = module[REEXPORTED_OBJECTS];\n\n if (!reexportedObjects) {\n reexportedObjects = module[REEXPORTED_OBJECTS] = [];\n module.exports = module.namespaceObject = new Proxy(exports, {\n get(target, prop) {\n if (\n hasOwnProperty.call(target, prop) ||\n prop === \"default\" ||\n prop === \"__esModule\"\n ) {\n return Reflect.get(target, prop);\n }\n for (const obj of reexportedObjects!) {\n const value = Reflect.get(obj, prop);\n if (value !== undefined) return value;\n }\n return undefined;\n },\n ownKeys(target) {\n const keys = Reflect.ownKeys(target);\n for (const obj of reexportedObjects!) {\n for (const key of Reflect.ownKeys(obj)) {\n if (key !== \"default\" && !keys.includes(key)) keys.push(key);\n }\n }\n return keys;\n },\n });\n }\n}\n\n/**\n * Dynamically exports properties from an object\n */\nfunction dynamicExport(\n module: Module,\n exports: Exports,\n object: Record\n) {\n ensureDynamicExports(module, exports);\n\n if (typeof object === \"object\" && object !== null) {\n module[REEXPORTED_OBJECTS]!.push(object);\n }\n}\n\nfunction exportValue(module: Module, value: any) {\n module.exports = value;\n}\n\nfunction exportNamespace(module: Module, namespace: any) {\n module.exports = module.namespaceObject = namespace;\n}\n\nfunction createGetter(obj: Record, key: string | symbol) {\n return () => obj[key];\n}\n\n/**\n * @returns prototype of the object\n */\nconst getProto: (obj: any) => any = Object.getPrototypeOf\n ? (obj) => Object.getPrototypeOf(obj)\n : (obj) => obj.__proto__;\n\n/** Prototypes that are not expanded for exports */\nconst LEAF_PROTOTYPES = [null, getProto({}), getProto([]), getProto(getProto)];\n\n/**\n * @param raw\n * @param ns\n * @param allowExportDefault\n * * `false`: will have the raw module as default export\n * * `true`: will have the default property as default export\n */\nfunction interopEsm(\n raw: Exports,\n ns: EsmNamespaceObject,\n allowExportDefault?: boolean\n) {\n const getters: { [s: string]: () => any } = Object.create(null);\n for (\n let current = raw;\n (typeof current === \"object\" || typeof current === \"function\") &&\n !LEAF_PROTOTYPES.includes(current);\n current = getProto(current)\n ) {\n for (const key of Object.getOwnPropertyNames(current)) {\n getters[key] = createGetter(raw, key);\n }\n }\n\n // this is not really correct\n // we should set the `default` getter if the imported module is a `.cjs file`\n if (!(allowExportDefault && \"default\" in getters)) {\n getters[\"default\"] = () => raw;\n }\n\n esm(ns, getters);\n return ns;\n}\n\nfunction createNS(raw: Module[\"exports\"]): EsmNamespaceObject {\n if (typeof raw === \"function\") {\n return function (this: any, ...args: any[]) {\n return raw.apply(this, args);\n };\n } else {\n return Object.create(null);\n }\n}\n\nfunction esmImport(\n sourceModule: Module,\n id: ModuleId\n): Exclude {\n const module = getOrInstantiateModuleFromParent(id, sourceModule);\n if (module.error) throw module.error;\n\n // any ES module has to have `module.namespaceObject` defined.\n if (module.namespaceObject) return module.namespaceObject;\n\n // only ESM can be an async module, so we don't need to worry about exports being a promise here.\n const raw = module.exports;\n return (module.namespaceObject = interopEsm(\n raw,\n createNS(raw),\n raw && (raw as any).__esModule\n ));\n}\n\n// Add a simple runtime require so that environments without one can still pass\n// `typeof require` CommonJS checks so that exports are correctly registered.\nconst runtimeRequire =\n // @ts-ignore\n typeof require === \"function\"\n // @ts-ignore\n ? require\n : function require() {\n throw new Error(\"Unexpected use of runtime require\");\n };\n\nfunction commonJsRequire(sourceModule: Module, id: ModuleId): Exports {\n const module = getOrInstantiateModuleFromParent(id, sourceModule);\n if (module.error) throw module.error;\n return module.exports;\n}\n\n/**\n * `require.context` and require/import expression runtime.\n */\nfunction moduleContext(map: ModuleContextMap): ModuleContext {\n function moduleContext(id: ModuleId): Exports {\n if (hasOwnProperty.call(map, id)) {\n return map[id].module();\n }\n\n const e = new Error(`Cannot find module '${id}'`);\n (e as any).code = \"MODULE_NOT_FOUND\";\n throw e;\n }\n\n moduleContext.keys = (): ModuleId[] => {\n return Object.keys(map);\n };\n\n moduleContext.resolve = (id: ModuleId): ModuleId => {\n if (hasOwnProperty.call(map, id)) {\n return map[id].id();\n }\n\n const e = new Error(`Cannot find module '${id}'`);\n (e as any).code = \"MODULE_NOT_FOUND\";\n throw e;\n };\n\n moduleContext.import = async (id: ModuleId) => {\n return await (moduleContext(id) as Promise);\n };\n\n return moduleContext;\n}\n\n/**\n * Returns the path of a chunk defined by its data.\n */\nfunction getChunkPath(chunkData: ChunkData): ChunkPath {\n return typeof chunkData === \"string\" ? chunkData : chunkData.path;\n}\n\nfunction isPromise(maybePromise: any): maybePromise is Promise {\n return (\n maybePromise != null &&\n typeof maybePromise === \"object\" &&\n \"then\" in maybePromise &&\n typeof maybePromise.then === \"function\"\n );\n}\n\nfunction isAsyncModuleExt(obj: T): obj is AsyncModuleExt & T {\n return turbopackQueues in obj;\n}\n\nfunction createPromise() {\n let resolve: (value: T | PromiseLike) => void;\n let reject: (reason?: any) => void;\n\n const promise = new Promise((res, rej) => {\n reject = rej;\n resolve = res;\n });\n\n return {\n promise,\n resolve: resolve!,\n reject: reject!,\n };\n}\n\n// everything below is adapted from webpack\n// https://github.com/webpack/webpack/blob/6be4065ade1e252c1d8dcba4af0f43e32af1bdc1/lib/runtime/AsyncModuleRuntimeModule.js#L13\n\nconst turbopackQueues = Symbol(\"turbopack queues\");\nconst turbopackExports = Symbol(\"turbopack exports\");\nconst turbopackError = Symbol(\"turbopack error\");\n\nconst enum QueueStatus {\n Unknown = -1,\n Unresolved = 0,\n Resolved = 1,\n}\n\ntype AsyncQueueFn = (() => void) & { queueCount: number };\ntype AsyncQueue = AsyncQueueFn[] & {\n status: QueueStatus;\n};\n\nfunction resolveQueue(queue?: AsyncQueue) {\n if (queue && queue.status !== QueueStatus.Resolved) {\n queue.status = QueueStatus.Resolved;\n queue.forEach((fn) => fn.queueCount--);\n queue.forEach((fn) => (fn.queueCount-- ? fn.queueCount++ : fn()));\n }\n}\n\ntype Dep = Exports | AsyncModulePromise | Promise;\n\ntype AsyncModuleExt = {\n [turbopackQueues]: (fn: (queue: AsyncQueue) => void) => void;\n [turbopackExports]: Exports;\n [turbopackError]?: any;\n};\n\ntype AsyncModulePromise = Promise & AsyncModuleExt;\n\nfunction wrapDeps(deps: Dep[]): AsyncModuleExt[] {\n return deps.map((dep): AsyncModuleExt => {\n if (dep !== null && typeof dep === \"object\") {\n if (isAsyncModuleExt(dep)) return dep;\n if (isPromise(dep)) {\n const queue: AsyncQueue = Object.assign([], {\n status: QueueStatus.Unresolved,\n });\n\n const obj: AsyncModuleExt = {\n [turbopackExports]: {},\n [turbopackQueues]: (fn: (queue: AsyncQueue) => void) => fn(queue),\n };\n\n dep.then(\n (res) => {\n obj[turbopackExports] = res;\n resolveQueue(queue);\n },\n (err) => {\n obj[turbopackError] = err;\n resolveQueue(queue);\n }\n );\n\n return obj;\n }\n }\n\n return {\n [turbopackExports]: dep,\n [turbopackQueues]: () => {},\n };\n });\n}\n\nfunction asyncModule(\n module: Module,\n body: (\n handleAsyncDependencies: (\n deps: Dep[]\n ) => Exports[] | Promise<() => Exports[]>,\n asyncResult: (err?: any) => void\n ) => void,\n hasAwait: boolean\n) {\n const queue: AsyncQueue | undefined = hasAwait\n ? Object.assign([], { status: QueueStatus.Unknown })\n : undefined;\n\n const depQueues: Set = new Set();\n\n const { resolve, reject, promise: rawPromise } = createPromise();\n\n const promise: AsyncModulePromise = Object.assign(rawPromise, {\n [turbopackExports]: module.exports,\n [turbopackQueues]: (fn) => {\n queue && fn(queue);\n depQueues.forEach(fn);\n promise[\"catch\"](() => {});\n },\n } satisfies AsyncModuleExt);\n\n const attributes: PropertyDescriptor = {\n get(): any {\n return promise;\n },\n set(v: any) {\n // Calling `esmExport` leads to this.\n if (v !== promise) {\n promise[turbopackExports] = v;\n }\n },\n };\n\n Object.defineProperty(module, \"exports\", attributes);\n Object.defineProperty(module, \"namespaceObject\", attributes);\n\n function handleAsyncDependencies(deps: Dep[]) {\n const currentDeps = wrapDeps(deps);\n\n const getResult = () =>\n currentDeps.map((d) => {\n if (d[turbopackError]) throw d[turbopackError];\n return d[turbopackExports];\n });\n\n const { promise, resolve } = createPromise<() => Exports[]>();\n\n const fn: AsyncQueueFn = Object.assign(() => resolve(getResult), {\n queueCount: 0,\n });\n\n function fnQueue(q: AsyncQueue) {\n if (q !== queue && !depQueues.has(q)) {\n depQueues.add(q);\n if (q && q.status === QueueStatus.Unresolved) {\n fn.queueCount++;\n q.push(fn);\n }\n }\n }\n\n currentDeps.map((dep) => dep[turbopackQueues](fnQueue));\n\n return fn.queueCount ? promise : getResult();\n }\n\n function asyncResult(err?: any) {\n if (err) {\n reject((promise[turbopackError] = err));\n } else {\n resolve(promise[turbopackExports]);\n }\n\n resolveQueue(queue);\n }\n\n body(handleAsyncDependencies, asyncResult);\n\n if (queue && queue.status === QueueStatus.Unknown) {\n queue.status = QueueStatus.Unresolved;\n }\n}\n\n/**\n * A pseudo \"fake\" URL object to resolve to its relative path.\n *\n * When UrlRewriteBehavior is set to relative, calls to the `new URL()` will construct url without base using this\n * runtime function to generate context-agnostic urls between different rendering context, i.e ssr / client to avoid\n * hydration mismatch.\n *\n * This is based on webpack's existing implementation:\n * https://github.com/webpack/webpack/blob/87660921808566ef3b8796f8df61bd79fc026108/lib/runtime/RelativeUrlRuntimeModule.js\n */\nconst relativeURL = function relativeURL(this: any, inputUrl: string) {\n const realUrl = new URL(inputUrl, \"x:/\");\n const values: Record = {};\n for (const key in realUrl) values[key] = (realUrl as any)[key];\n values.href = inputUrl;\n values.pathname = inputUrl.replace(/[?#].*/, \"\");\n values.origin = values.protocol = \"\";\n values.toString = values.toJSON = (..._args: Array) => inputUrl;\n for (const key in values)\n Object.defineProperty(this, key, {\n enumerable: true,\n configurable: true,\n value: values[key],\n });\n};\n\nrelativeURL.prototype = URL.prototype;\n\n/**\n * Utility function to ensure all variants of an enum are handled.\n */\nfunction invariant(never: never, computeMessage: (arg: any) => string): never {\n throw new Error(`Invariant: ${computeMessage(never)}`);\n}\n\n/**\n * A stub function to make `require` available but non-functional in ESM.\n */\nfunction requireStub(_moduleId: ModuleId): never {\n throw new Error(\"dynamic usage of require is not supported\");\n}\n"],"names":[],"mappings":"AAAA;;;;;CAKC,GAED,oDAAoD,GAEpD,6CAA6C;AAU7C,MAAM,qBAAqB,OAAO;AA4BlC,MAAM,iBAAiB,OAAO,SAAS,CAAC,cAAc;AACtD,MAAM,cAAc,OAAO,WAAW,eAAe,OAAO,WAAW;AAEvE,SAAS,WACP,GAAQ,EACR,IAAiB,EACjB,OAA2C;IAE3C,IAAI,CAAC,eAAe,IAAI,CAAC,KAAK,OAC5B,OAAO,cAAc,CAAC,KAAK,MAAM;AACrC;AAEA;;CAEC,GACD,SAAS,IACP,OAAgB,EAChB,OAAoE;IAEpE,WAAW,SAAS,cAAc;QAAE,OAAO;IAAK;IAChD,IAAI,aAAa,WAAW,SAAS,aAAa;QAAE,OAAO;IAAS;IACpE,IAAK,MAAM,OAAO,QAAS;QACzB,MAAM,OAAO,OAAO,CAAC,IAAI;QACzB,IAAI,MAAM,OAAO,CAAC,OAAO;YACvB,WAAW,SAAS,KAAK;gBACvB,KAAK,IAAI,CAAC,EAAE;gBACZ,KAAK,IAAI,CAAC,EAAE;gBACZ,YAAY;YACd;QACF,OAAO;YACL,WAAW,SAAS,KAAK;gBAAE,KAAK;gBAAM,YAAY;YAAK;QACzD;IACF;IACA,OAAO,IAAI,CAAC;AACd;AAEA;;CAEC,GACD,SAAS,UACP,MAAc,EACd,OAAgB,EAChB,OAAkC;IAElC,OAAO,eAAe,GAAG,OAAO,OAAO;IACvC,IAAI,SAAS;AACf;AAEA,SAAS,qBAAqB,MAAc,EAAE,OAAgB;IAC5D,IAAI,oBAAoB,MAAM,CAAC,mBAAmB;IAElD,IAAI,CAAC,mBAAmB;QACtB,oBAAoB,MAAM,CAAC,mBAAmB,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AAS,MAAM,CAAC,IAAI,GAAG,AAAC,OAAe,CAAC,IAAI;IAC9D,OAAO,IAAI,GAAG;IACd,OAAO,QAAQ,GAAG,SAAS,OAAO,CAAC,UAAU;IAC7C,OAAO,MAAM,GAAG,OAAO,QAAQ,GAAG;IAClC,OAAO,QAAQ,GAAG,OAAO,MAAM,GAAG,CAAC,GAAG,QAAsB;IAC5D,IAAK,MAAM,OAAO,OAChB,OAAO,cAAc,CAAC,IAAI,EAAE,KAAK;QAC/B,YAAY;QACZ,cAAc;QACd,OAAO,MAAM,CAAC,IAAI;IACpB;AACJ;AAEA,YAAY,SAAS,GAAG,IAAI,SAAS;AAErC;;CAEC,GACD,SAAS,UAAU,KAAY,EAAE,cAAoC;IACnE,MAAM,IAAI,MAAM,CAAC,WAAW,EAAE,eAAe,OAAO,CAAC;AACvD;AAEA;;CAEC,GACD,SAAS,YAAY,SAAmB;IACtC,MAAM,IAAI,MAAM;AAClB"}}, + {"offset": {"line": 348, "column": 0}, "map": {"version":3,"sources":["turbopack://[turbopack]/browser/runtime/base/runtime-base.ts"],"sourcesContent":["/**\n * This file contains runtime types and functions that are shared between all\n * Turbopack *development* ECMAScript runtimes.\n *\n * It will be appended to the runtime code of each runtime right after the\n * shared runtime utils.\n */\n\n/* eslint-disable @typescript-eslint/no-unused-vars */\n\n/// \n/// \n\ndeclare var TURBOPACK_WORKER_LOCATION: string;\ndeclare var CHUNK_BASE_PATH: string;\ndeclare function instantiateModule(id: ModuleId, source: SourceInfo): Module;\n\ntype RuntimeParams = {\n otherChunks: ChunkData[];\n runtimeModuleIds: ModuleId[];\n};\n\ntype ChunkRegistration = [\n chunkPath: ChunkPath,\n chunkModules: ModuleFactories,\n params: RuntimeParams | undefined\n];\n\ntype ChunkList = {\n path: ChunkPath;\n chunks: ChunkData[];\n source: \"entry\" | \"dynamic\";\n};\n\nenum SourceType {\n /**\n * The module was instantiated because it was included in an evaluated chunk's\n * runtime.\n */\n Runtime = 0,\n /**\n * The module was instantiated because a parent module imported it.\n */\n Parent = 1,\n /**\n * The module was instantiated because it was included in a chunk's hot module\n * update.\n */\n Update = 2,\n}\n\ntype SourceInfo =\n | {\n type: SourceType.Runtime;\n chunkPath: ChunkPath;\n }\n | {\n type: SourceType.Parent;\n parentId: ModuleId;\n }\n | {\n type: SourceType.Update;\n parents?: ModuleId[];\n };\n\ninterface RuntimeBackend {\n registerChunk: (chunkPath: ChunkPath, params?: RuntimeParams) => void;\n loadChunk: (chunkPath: ChunkPath, source: SourceInfo) => Promise;\n}\n\ninterface DevRuntimeBackend {\n reloadChunk?: (chunkPath: ChunkPath) => Promise;\n unloadChunk?: (chunkPath: ChunkPath) => void;\n restart: () => void;\n}\n\nconst moduleFactories: ModuleFactories = Object.create(null);\n/**\n * Module IDs that are instantiated as part of the runtime of a chunk.\n */\nconst runtimeModules: Set = new Set();\n/**\n * Map from module ID to the chunks that contain this module.\n *\n * In HMR, we need to keep track of which modules are contained in which so\n * chunks. This is so we don't eagerly dispose of a module when it is removed\n * from chunk A, but still exists in chunk B.\n */\nconst moduleChunksMap: Map> = new Map();\n/**\n * Map from a chunk path to all modules it contains.\n */\nconst chunkModulesMap: Map> = new Map();\n/**\n * Chunk lists that contain a runtime. When these chunk lists receive an update\n * that can't be reconciled with the current state of the page, we need to\n * reload the runtime entirely.\n */\nconst runtimeChunkLists: Set = new Set();\n/**\n * Map from a chunk list to the chunk paths it contains.\n */\nconst chunkListChunksMap: Map> = new Map();\n/**\n * Map from a chunk path to the chunk lists it belongs to.\n */\nconst chunkChunkListsMap: Map> = new Map();\n\nconst availableModules: Map | true> = new Map();\n\nconst availableModuleChunks: Map | true> = new Map();\n\nasync function loadChunk(\n source: SourceInfo,\n chunkData: ChunkData\n): Promise {\n if (typeof chunkData === \"string\") {\n return loadChunkPath(source, chunkData);\n }\n\n const includedList = chunkData.included || [];\n const modulesPromises = includedList.map((included) => {\n if (moduleFactories[included]) return true;\n return availableModules.get(included);\n });\n if (modulesPromises.length > 0 && modulesPromises.every((p) => p)) {\n // When all included items are already loaded or loading, we can skip loading ourselves\n return Promise.all(modulesPromises);\n }\n\n const includedModuleChunksList = chunkData.moduleChunks || [];\n const moduleChunksPromises = includedModuleChunksList\n .map((included) => {\n // TODO(alexkirsz) Do we need this check?\n // if (moduleFactories[included]) return true;\n return availableModuleChunks.get(included);\n })\n .filter((p) => p);\n\n let promise;\n if (moduleChunksPromises.length > 0) {\n // Some module chunks are already loaded or loading.\n\n if (moduleChunksPromises.length === includedModuleChunksList.length) {\n // When all included module chunks are already loaded or loading, we can skip loading ourselves\n return Promise.all(moduleChunksPromises);\n }\n\n const moduleChunksToLoad: Set = new Set();\n for (const moduleChunk of includedModuleChunksList) {\n if (!availableModuleChunks.has(moduleChunk)) {\n moduleChunksToLoad.add(moduleChunk);\n }\n }\n\n for (const moduleChunkToLoad of moduleChunksToLoad) {\n const promise = loadChunkPath(source, moduleChunkToLoad);\n\n availableModuleChunks.set(moduleChunkToLoad, promise);\n\n moduleChunksPromises.push(promise);\n }\n\n promise = Promise.all(moduleChunksPromises);\n } else {\n promise = loadChunkPath(source, chunkData.path);\n\n // Mark all included module chunks as loading if they are not already loaded or loading.\n for (const includedModuleChunk of includedModuleChunksList) {\n if (!availableModuleChunks.has(includedModuleChunk)) {\n availableModuleChunks.set(includedModuleChunk, promise);\n }\n }\n }\n\n for (const included of includedList) {\n if (!availableModules.has(included)) {\n // It might be better to race old and new promises, but it's rare that the new promise will be faster than a request started earlier.\n // In production it's even more rare, because the chunk optimization tries to deduplicate modules anyway.\n availableModules.set(included, promise);\n }\n }\n\n return promise;\n}\n\nasync function loadChunkPath(\n source: SourceInfo,\n chunkPath: ChunkPath\n): Promise {\n try {\n await BACKEND.loadChunk(chunkPath, source);\n } catch (error) {\n let loadReason;\n switch (source.type) {\n case SourceType.Runtime:\n loadReason = `as a runtime dependency of chunk ${source.chunkPath}`;\n break;\n case SourceType.Parent:\n loadReason = `from module ${source.parentId}`;\n break;\n case SourceType.Update:\n loadReason = \"from an HMR update\";\n break;\n default:\n invariant(source, (source) => `Unknown source type: ${source?.type}`);\n }\n throw new Error(\n `Failed to load chunk ${chunkPath} ${loadReason}${\n error ? `: ${error}` : \"\"\n }`,\n error\n ? {\n cause: error,\n }\n : undefined\n );\n }\n}\n\n/**\n * Returns an absolute url to an asset.\n */\nfunction createResolvePathFromModule(\n resolver: (moduleId: string) => Exports\n): (moduleId: string) => string {\n return function resolvePathFromModule(moduleId: string): string {\n const exported = resolver(moduleId);\n return exported?.default ?? exported;\n };\n}\n\n/**\n * no-op for browser\n * @param modulePath\n */\nfunction resolveAbsolutePath(modulePath?: string): string {\n return `/ROOT/${modulePath ?? \"\"}`;\n}\n\nfunction getWorkerBlobURL(chunks: ChunkPath[]): string {\n let bootstrap = `TURBOPACK_WORKER_LOCATION = ${JSON.stringify(location.origin)};importScripts(${chunks.map(c => (`TURBOPACK_WORKER_LOCATION + ${JSON.stringify(getChunkRelativeUrl(c))}`)).join(\", \")});`;\n let blob = new Blob([bootstrap], { type: \"text/javascript\" });\n return URL.createObjectURL(blob);\n}\n\n/**\n * Adds a module to a chunk.\n */\nfunction addModuleToChunk(moduleId: ModuleId, chunkPath: ChunkPath) {\n let moduleChunks = moduleChunksMap.get(moduleId);\n if (!moduleChunks) {\n moduleChunks = new Set([chunkPath]);\n moduleChunksMap.set(moduleId, moduleChunks);\n } else {\n moduleChunks.add(chunkPath);\n }\n\n let chunkModules = chunkModulesMap.get(chunkPath);\n if (!chunkModules) {\n chunkModules = new Set([moduleId]);\n chunkModulesMap.set(chunkPath, chunkModules);\n } else {\n chunkModules.add(moduleId);\n }\n}\n\n/**\n * Returns the first chunk that included a module.\n * This is used by the Node.js backend, hence why it's marked as unused in this\n * file.\n */\nfunction getFirstModuleChunk(moduleId: ModuleId) {\n const moduleChunkPaths = moduleChunksMap.get(moduleId);\n if (moduleChunkPaths == null) {\n return null;\n }\n\n return moduleChunkPaths.values().next().value;\n}\n\n/**\n * Instantiates a runtime module.\n */\nfunction instantiateRuntimeModule(\n moduleId: ModuleId,\n chunkPath: ChunkPath\n): Module {\n return instantiateModule(moduleId, { type: SourceType.Runtime, chunkPath });\n}\n\n/**\n * Returns the URL relative to the origin where a chunk can be fetched from.\n */\nfunction getChunkRelativeUrl(chunkPath: ChunkPath): string {\n return `${CHUNK_BASE_PATH}${chunkPath\n .split(\"/\")\n .map((p) => encodeURIComponent(p))\n .join(\"/\")}`;\n}\n\n/**\n * Marks a chunk list as a runtime chunk list. There can be more than one\n * runtime chunk list. For instance, integration tests can have multiple chunk\n * groups loaded at runtime, each with its own chunk list.\n */\nfunction markChunkListAsRuntime(chunkListPath: ChunkPath) {\n runtimeChunkLists.add(chunkListPath);\n}\n\nfunction registerChunk([\n chunkPath,\n chunkModules,\n runtimeParams,\n]: ChunkRegistration) {\n for (const [moduleId, moduleFactory] of Object.entries(chunkModules)) {\n if (!moduleFactories[moduleId]) {\n moduleFactories[moduleId] = moduleFactory;\n }\n addModuleToChunk(moduleId, chunkPath);\n }\n\n return BACKEND.registerChunk(chunkPath, runtimeParams);\n}\n"],"names":[],"mappings":"AAAA;;;;;;CAMC,GAED,oDAAoD,GAEpD,6CAA6C;AAC7C,yDAAyD;;UAuBpD;IACH;;;GAGC;IAED;;GAEC;IAED;;;GAGC;GAbE,eAAA;AA0CL,MAAM,kBAAmC,OAAO,MAAM,CAAC;AACvD;;CAEC,GACD,MAAM,iBAAgC,IAAI;AAC1C;;;;;;CAMC,GACD,MAAM,kBAAiD,IAAI;AAC3D;;CAEC,GACD,MAAM,kBAAiD,IAAI;AAC3D;;;;CAIC,GACD,MAAM,oBAAoC,IAAI;AAC9C;;CAEC,GACD,MAAM,qBAAqD,IAAI;AAC/D;;CAEC,GACD,MAAM,qBAAqD,IAAI;AAE/D,MAAM,mBAAuD,IAAI;AAEjE,MAAM,wBAA6D,IAAI;AAEvE,eAAe,UACb,MAAkB,EAClB,SAAoB;IAEpB,IAAI,OAAO,cAAc,UAAU;QACjC,OAAO,cAAc,QAAQ;IAC/B;I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": 0}, "map": {"version":3,"sources":["turbopack://[turbopack]/browser/runtime/base/dev-base.ts"],"sourcesContent":["/// \n/// \n/// \n\n/**\n * This file contains runtime types and functions that are shared between all\n * Turbopack *development* ECMAScript runtimes.\n *\n * It will be appended to the runtime code of each runtime right after the\n * shared runtime utils.\n */\n\n/* eslint-disable @typescript-eslint/no-unused-vars */\n\nconst devModuleCache: ModuleCache = Object.create(null);\n\n// This file must not use `import` and `export` statements. Otherwise, it\n// becomes impossible to augment interfaces declared in ``d files\n// (e.g. `Module`). Hence, the need for `import()` here.\ntype RefreshRuntimeGlobals =\n import(\"@next/react-refresh-utils/dist/runtime\").RefreshRuntimeGlobals;\n\n// Workers are loaded via blob object urls and aren't relative to the main context, this gets\n// prefixed to chunk urls in the worker.\n// declare var TURBOPACK_WORKER_LOCATION: string;\n// declare var CHUNK_BASE_PATH: string;\ndeclare var $RefreshHelpers$: RefreshRuntimeGlobals[\"$RefreshHelpers$\"];\ndeclare var $RefreshReg$: RefreshRuntimeGlobals[\"$RefreshReg$\"];\ndeclare var $RefreshSig$: RefreshRuntimeGlobals[\"$RefreshSig$\"];\ndeclare var $RefreshInterceptModuleExecution$:\n | RefreshRuntimeGlobals[\"$RefreshInterceptModuleExecution$\"];\n\ntype RefreshContext = {\n register: RefreshRuntimeGlobals[\"$RefreshReg$\"];\n signature: RefreshRuntimeGlobals[\"$RefreshSig$\"];\n registerExports: typeof registerExportsAndSetupBoundaryForReactRefresh;\n};\n\ntype RefreshHelpers = RefreshRuntimeGlobals[\"$RefreshHelpers$\"];\n\ninterface TurbopackDevBaseContext extends TurbopackBaseContext {\n k: RefreshContext;\n R: ResolvePathFromModule;\n}\n\ninterface TurbopackDevContext extends TurbopackDevBaseContext {}\n\ntype ModuleFactory = (\n this: Module[\"exports\"],\n context: TurbopackDevBaseContext\n) => undefined\n\ninterface DevRuntimeBackend {\n reloadChunk?: (chunkPath: ChunkPath) => Promise;\n unloadChunk?: (chunkPath: ChunkPath) => void;\n restart: () => void;\n}\n\nclass UpdateApplyError extends Error {\n name = \"UpdateApplyError\";\n\n dependencyChain: string[];\n\n constructor(message: string, dependencyChain: string[]) {\n super(message);\n this.dependencyChain = dependencyChain;\n }\n}\n\n/**\n * Maps module IDs to persisted data between executions of their hot module\n * implementation (`hot.data`).\n */\nconst moduleHotData: Map = new Map();\n/**\n * Maps module instances to their hot module state.\n */\nconst moduleHotState: Map = new Map();\n/**\n * Modules that call `module.hot.invalidate()` (while being updated).\n */\nconst queuedInvalidatedModules: Set = new Set();\n\n/**\n * Gets or instantiates a runtime module.\n */\n// @ts-ignore\nfunction getOrInstantiateRuntimeModule(\n moduleId: ModuleId,\n chunkPath: ChunkPath,\n): Module {\n const module = devModuleCache[moduleId];\n if (module) {\n if (module.error) {\n throw module.error;\n }\n return module;\n }\n\n // @ts-ignore\n return instantiateModule(moduleId, { type: SourceType.Runtime, chunkPath });\n}\n\n/**\n * Retrieves a module from the cache, or instantiate it if it is not cached.\n */\n// @ts-ignore Defined in `runtime-utils.ts`\nconst getOrInstantiateModuleFromParent: GetOrInstantiateModuleFromParent = (\n id,\n sourceModule,\n) => {\n if (!sourceModule.hot.active) {\n console.warn(\n `Unexpected import of module ${id} from module ${sourceModule.id}, which was deleted by an HMR update`\n );\n }\n\n const module = devModuleCache[id];\n\n if (sourceModule.children.indexOf(id) === -1) {\n sourceModule.children.push(id);\n }\n\n if (module) {\n if (module.parents.indexOf(sourceModule.id) === -1) {\n module.parents.push(sourceModule.id);\n }\n\n return module;\n }\n\n return instantiateModule(id, {\n type: SourceType.Parent,\n parentId: sourceModule.id,\n });\n};\n\n// @ts-ignore Defined in `runtime-base.ts`\nfunction instantiateModule(id: ModuleId, source: SourceInfo): Module {\n const moduleFactory = moduleFactories[id];\n if (typeof moduleFactory !== \"function\") {\n // This can happen if modules incorrectly handle HMR disposes/updates,\n // e.g. when they keep a `setTimeout` around which still executes old code\n // and contains e.g. a `require(\"something\")` call.\n let instantiationReason;\n switch (source.type) {\n case SourceType.Runtime:\n instantiationReason = `as a runtime entry of chunk ${source.chunkPath}`;\n break;\n case SourceType.Parent:\n instantiationReason = `because it was required from module ${source.parentId}`;\n break;\n case SourceType.Update:\n instantiationReason = \"because of an HMR update\";\n break;\n default:\n invariant(source, (source) => `Unknown source type: ${source?.type}`);\n }\n throw new Error(\n `Module ${id} was instantiated ${instantiationReason}, but the module factory is not available. It might have been deleted in an HMR update.`\n );\n }\n\n const hotData = moduleHotData.get(id)!;\n const { hot, hotState } = createModuleHot(id, hotData);\n\n let parents: ModuleId[];\n switch (source.type) {\n case SourceType.Runtime:\n runtimeModules.add(id);\n parents = [];\n break;\n case SourceType.Parent:\n // No need to add this module as a child of the parent module here, this\n // has already been taken care of in `getOrInstantiateModuleFromParent`.\n parents = [source.parentId];\n break;\n case SourceType.Update:\n parents = source.parents || [];\n break;\n default:\n invariant(source, (source) => `Unknown source type: ${source?.type}`);\n }\n\n const module: HotModule = {\n exports: {},\n error: undefined,\n loaded: false,\n id,\n parents,\n children: [],\n namespaceObject: undefined,\n hot,\n };\n\n devModuleCache[id] = module;\n moduleHotState.set(module, hotState);\n\n // NOTE(alexkirsz) This can fail when the module encounters a runtime error.\n try {\n const sourceInfo: SourceInfo = { type: SourceType.Parent, parentId: id };\n\n runModuleExecutionHooks(module, (refresh) => {\n const r = commonJsRequire.bind(null, module);\n moduleFactory.call(\n module.exports,\n augmentContext({\n a: asyncModule.bind(null, module),\n e: module.exports,\n r: commonJsRequire.bind(null, module),\n t: runtimeRequire,\n f: moduleContext,\n i: esmImport.bind(null, module),\n s: esmExport.bind(null, module, module.exports),\n j: dynamicExport.bind(null, module, module.exports),\n v: exportValue.bind(null, module),\n n: exportNamespace.bind(null, module),\n m: module,\n c: devModuleCache,\n M: moduleFactories,\n l: loadChunk.bind(null, sourceInfo),\n w: loadWebAssembly.bind(null, sourceInfo),\n u: loadWebAssemblyModule.bind(null, sourceInfo),\n g: globalThis,\n P: resolveAbsolutePath,\n U: relativeURL,\n k: refresh,\n R: createResolvePathFromModule(r),\n b: getWorkerBlobURL,\n z: requireStub,\n __dirname: typeof module.id === \"string\" ? module.id.replace(/(^|\\/)\\/+$/, \"\") : module.id\n })\n );\n });\n } catch (error) {\n module.error = error as any;\n throw error;\n }\n\n module.loaded = true;\n if (module.namespaceObject && module.exports !== module.namespaceObject) {\n // in case of a circular dependency: cjs1 -> esm2 -> cjs1\n interopEsm(module.exports, module.namespaceObject);\n }\n\n return module;\n}\n\n/**\n * NOTE(alexkirsz) Webpack has a \"module execution\" interception hook that\n * Next.js' React Refresh runtime hooks into to add module context to the\n * refresh registry.\n */\nfunction runModuleExecutionHooks(\n module: Module,\n executeModule: (ctx: RefreshContext) => void\n) {\n const cleanupReactRefreshIntercept =\n typeof globalThis.$RefreshInterceptModuleExecution$ === \"function\"\n ? globalThis.$RefreshInterceptModuleExecution$(module.id)\n : () => {};\n\n try {\n executeModule({\n register: globalThis.$RefreshReg$,\n signature: globalThis.$RefreshSig$,\n registerExports: registerExportsAndSetupBoundaryForReactRefresh,\n });\n } catch (e) {\n throw e;\n } finally {\n // Always cleanup the intercept, even if module execution failed.\n cleanupReactRefreshIntercept();\n }\n}\n\n/**\n * This is adapted from https://github.com/vercel/next.js/blob/3466862d9dc9c8bb3131712134d38757b918d1c0/packages/react-refresh-utils/internal/ReactRefreshModule.runtime.ts\n */\nfunction registerExportsAndSetupBoundaryForReactRefresh(\n module: HotModule,\n helpers: RefreshHelpers\n) {\n const currentExports = module.exports;\n const prevExports = module.hot.data.prevExports ?? null;\n\n helpers.registerExportsForReactRefresh(currentExports, module.id);\n\n // A module can be accepted automatically based on its exports, e.g. when\n // it is a Refresh Boundary.\n if (helpers.isReactRefreshBoundary(currentExports)) {\n // Save the previous exports on update, so we can compare the boundary\n // signatures.\n module.hot.dispose((data) => {\n data.prevExports = currentExports;\n });\n // Unconditionally accept an update to this module, we'll check if it's\n // still a Refresh Boundary later.\n module.hot.accept();\n\n // This field is set when the previous version of this module was a\n // Refresh Boundary, letting us know we need to check for invalidation or\n // enqueue an update.\n if (prevExports !== null) {\n // A boundary can become ineligible if its exports are incompatible\n // with the previous exports.\n //\n // For example, if you add/remove/change exports, we'll want to\n // re-execute the importing modules, and force those components to\n // re-render. Similarly, if you convert a class component to a\n // function, we want to invalidate the boundary.\n if (\n helpers.shouldInvalidateReactRefreshBoundary(\n helpers.getRefreshBoundarySignature(prevExports),\n helpers.getRefreshBoundarySignature(currentExports)\n )\n ) {\n module.hot.invalidate();\n } else {\n helpers.scheduleUpdate();\n }\n }\n } else {\n // Since we just executed the code for the module, it's possible that the\n // new exports made it ineligible for being a boundary.\n // We only care about the case when we were _previously_ a boundary,\n // because we already accepted this update (accidental side effect).\n const isNoLongerABoundary = prevExports !== null;\n if (isNoLongerABoundary) {\n module.hot.invalidate();\n }\n }\n}\n\nfunction formatDependencyChain(dependencyChain: ModuleId[]): string {\n return `Dependency chain: ${dependencyChain.join(\" -> \")}`;\n}\n\nfunction computeOutdatedModules(\n added: Map,\n modified: Map\n): {\n outdatedModules: Set;\n newModuleFactories: Map;\n} {\n const newModuleFactories = new Map();\n\n for (const [moduleId, entry] of added) {\n if (entry != null) {\n newModuleFactories.set(moduleId, _eval(entry));\n }\n }\n\n const outdatedModules = computedInvalidatedModules(modified.keys());\n\n for (const [moduleId, entry] of modified) {\n newModuleFactories.set(moduleId, _eval(entry));\n }\n\n return { outdatedModules, newModuleFactories };\n}\n\nfunction computedInvalidatedModules(\n invalidated: Iterable\n): Set {\n const outdatedModules = new Set();\n\n for (const moduleId of invalidated) {\n const effect = getAffectedModuleEffects(moduleId);\n\n switch (effect.type) {\n case \"unaccepted\":\n throw new UpdateApplyError(\n `cannot apply update: unaccepted module. ${formatDependencyChain(\n effect.dependencyChain\n )}.`,\n effect.dependencyChain\n );\n case \"self-declined\":\n throw new UpdateApplyError(\n `cannot apply update: self-declined module. ${formatDependencyChain(\n effect.dependencyChain\n )}.`,\n effect.dependencyChain\n );\n case \"accepted\":\n for (const outdatedModuleId of effect.outdatedModules) {\n outdatedModules.add(outdatedModuleId);\n }\n break;\n // TODO(alexkirsz) Dependencies: handle dependencies effects.\n default:\n invariant(effect, (effect) => `Unknown effect type: ${effect?.type}`);\n }\n }\n\n return outdatedModules;\n}\n\nfunction computeOutdatedSelfAcceptedModules(\n outdatedModules: Iterable\n): { moduleId: ModuleId; errorHandler: true | Function }[] {\n const outdatedSelfAcceptedModules: { moduleId: ModuleId; errorHandler: true | Function }[] = [];\n for (const moduleId of outdatedModules) {\n const module = devModuleCache[moduleId];\n const hotState = moduleHotState.get(module)!;\n if (module && hotState.selfAccepted && !hotState.selfInvalidated) {\n outdatedSelfAcceptedModules.push({\n moduleId,\n errorHandler: hotState.selfAccepted,\n });\n }\n }\n return outdatedSelfAcceptedModules;\n}\n\n/**\n * Adds, deletes, and moves modules between chunks. This must happen before the\n * dispose phase as it needs to know which modules were removed from all chunks,\n * which we can only compute *after* taking care of added and moved modules.\n */\nfunction updateChunksPhase(\n chunksAddedModules: Map>,\n chunksDeletedModules: Map>\n): { disposedModules: Set } {\n for (const [chunkPath, addedModuleIds] of chunksAddedModules) {\n for (const moduleId of addedModuleIds) {\n addModuleToChunk(moduleId, chunkPath);\n }\n }\n\n const disposedModules: Set = new Set();\n for (const [chunkPath, addedModuleIds] of chunksDeletedModules) {\n for (const moduleId of addedModuleIds) {\n if (removeModuleFromChunk(moduleId, chunkPath)) {\n disposedModules.add(moduleId);\n }\n }\n }\n\n return { disposedModules };\n}\n\nfunction disposePhase(\n outdatedModules: Iterable,\n disposedModules: Iterable\n): { outdatedModuleParents: Map> } {\n for (const moduleId of outdatedModules) {\n disposeModule(moduleId, \"replace\");\n }\n\n for (const moduleId of disposedModules) {\n disposeModule(moduleId, \"clear\");\n }\n\n // Removing modules from the module cache is a separate step.\n // We also want to keep track of previous parents of the outdated modules.\n const outdatedModuleParents = new Map();\n for (const moduleId of outdatedModules) {\n const oldModule = devModuleCache[moduleId];\n outdatedModuleParents.set(moduleId, oldModule?.parents);\n delete devModuleCache[moduleId];\n }\n\n // TODO(alexkirsz) Dependencies: remove outdated dependency from module\n // children.\n\n return { outdatedModuleParents };\n}\n\n/**\n * Disposes of an instance of a module.\n *\n * Returns the persistent hot data that should be kept for the next module\n * instance.\n *\n * NOTE: mode = \"replace\" will not remove modules from the devModuleCache\n * This must be done in a separate step afterwards.\n * This is important because all modules need to be disposed to update the\n * parent/child relationships before they are actually removed from the devModuleCache.\n * If this was done in this method, the following disposeModule calls won't find\n * the module from the module id in the cache.\n */\nfunction disposeModule(moduleId: ModuleId, mode: \"clear\" | \"replace\") {\n const module = devModuleCache[moduleId];\n if (!module) {\n return;\n }\n\n const hotState = moduleHotState.get(module)!;\n const data = {};\n\n // Run the `hot.dispose` handler, if any, passing in the persistent\n // `hot.data` object.\n for (const disposeHandler of hotState.disposeHandlers) {\n disposeHandler(data);\n }\n\n // This used to warn in `getOrInstantiateModuleFromParent` when a disposed\n // module is still importing other modules.\n module.hot.active = false;\n\n moduleHotState.delete(module);\n\n // TODO(alexkirsz) Dependencies: delete the module from outdated deps.\n\n // Remove the disposed module from its children's parent list.\n // It will be added back once the module re-instantiates and imports its\n // children again.\n for (const childId of module.children) {\n const child = devModuleCache[childId];\n if (!child) {\n continue;\n }\n\n const idx = child.parents.indexOf(module.id);\n if (idx >= 0) {\n child.parents.splice(idx, 1);\n }\n }\n\n switch (mode) {\n case \"clear\":\n delete devModuleCache[module.id];\n moduleHotData.delete(module.id);\n break;\n case \"replace\":\n moduleHotData.set(module.id, data);\n break;\n default:\n invariant(mode, (mode) => `invalid mode: ${mode}`);\n }\n}\n\nfunction applyPhase(\n outdatedSelfAcceptedModules: {\n moduleId: ModuleId;\n errorHandler: true | Function;\n }[],\n newModuleFactories: Map,\n outdatedModuleParents: Map>,\n reportError: (err: any) => void\n) {\n // Update module factories.\n for (const [moduleId, factory] of newModuleFactories.entries()) {\n moduleFactories[moduleId] = factory;\n }\n\n // TODO(alexkirsz) Run new runtime entries here.\n\n // TODO(alexkirsz) Dependencies: call accept handlers for outdated deps.\n\n // Re-instantiate all outdated self-accepted modules.\n for (const { moduleId, errorHandler } of outdatedSelfAcceptedModules) {\n try {\n instantiateModule(moduleId, {\n type: SourceType.Update,\n parents: outdatedModuleParents.get(moduleId),\n });\n } catch (err) {\n if (typeof errorHandler === \"function\") {\n try {\n errorHandler(err, { moduleId, module: devModuleCache[moduleId] });\n } catch (err2) {\n reportError(err2);\n reportError(err);\n }\n } else {\n reportError(err);\n }\n }\n }\n}\n\nfunction applyUpdate(update: PartialUpdate) {\n switch (update.type) {\n case \"ChunkListUpdate\":\n applyChunkListUpdate(update);\n break;\n default:\n invariant(update, (update) => `Unknown update type: ${update.type}`);\n }\n}\n\nfunction applyChunkListUpdate(update: ChunkListUpdate) {\n if (update.merged != null) {\n for (const merged of update.merged) {\n switch (merged.type) {\n case \"EcmascriptMergedUpdate\":\n applyEcmascriptMergedUpdate(merged);\n break;\n default:\n invariant(merged, (merged) => `Unknown merged type: ${merged.type}`);\n }\n }\n }\n\n if (update.chunks != null) {\n for (const [chunkPath, chunkUpdate] of Object.entries(update.chunks)) {\n switch (chunkUpdate.type) {\n case \"added\":\n BACKEND.loadChunk(chunkPath, { type: SourceType.Update });\n break;\n case \"total\":\n DEV_BACKEND.reloadChunk?.(chunkPath);\n break;\n case \"deleted\":\n DEV_BACKEND.unloadChunk?.(chunkPath);\n break;\n case \"partial\":\n invariant(\n chunkUpdate.instruction,\n (instruction) =>\n `Unknown partial instruction: ${JSON.stringify(instruction)}.`\n );\n break;\n default:\n invariant(\n chunkUpdate,\n (chunkUpdate) => `Unknown chunk update type: ${chunkUpdate.type}`\n );\n }\n }\n }\n}\n\nfunction applyEcmascriptMergedUpdate(update: EcmascriptMergedUpdate) {\n const { entries = {}, chunks = {} } = update;\n const { added, modified, chunksAdded, chunksDeleted } = computeChangedModules(\n entries,\n chunks\n );\n const { outdatedModules, newModuleFactories } = computeOutdatedModules(\n added,\n modified\n );\n const { disposedModules } = updateChunksPhase(chunksAdded, chunksDeleted);\n\n applyInternal(outdatedModules, disposedModules, newModuleFactories);\n}\n\nfunction applyInvalidatedModules(outdatedModules: Set) {\n if (queuedInvalidatedModules.size > 0) {\n computedInvalidatedModules(queuedInvalidatedModules).forEach((moduleId) => {\n outdatedModules.add(moduleId);\n });\n\n queuedInvalidatedModules.clear();\n }\n\n return outdatedModules;\n}\n\nfunction applyInternal(\n outdatedModules: Set,\n disposedModules: Iterable,\n newModuleFactories: Map\n) {\n outdatedModules = applyInvalidatedModules(outdatedModules);\n\n const outdatedSelfAcceptedModules =\n computeOutdatedSelfAcceptedModules(outdatedModules);\n\n const { outdatedModuleParents } = disposePhase(\n outdatedModules,\n disposedModules\n );\n\n // we want to continue on error and only throw the error after we tried applying all updates\n let error: any;\n\n function reportError(err: any) {\n if (!error) error = err;\n }\n\n applyPhase(\n outdatedSelfAcceptedModules,\n newModuleFactories,\n outdatedModuleParents,\n reportError\n );\n\n if (error) {\n throw error;\n }\n\n if (queuedInvalidatedModules.size > 0) {\n applyInternal(new Set(), [], new Map());\n }\n}\n\nfunction computeChangedModules(\n entries: Record,\n updates: Record\n): {\n added: Map;\n modified: Map;\n deleted: Set;\n chunksAdded: Map>;\n chunksDeleted: Map>;\n} {\n const chunksAdded = new Map();\n const chunksDeleted = new Map();\n const added: Map = new Map();\n const modified = new Map();\n const deleted: Set = new Set();\n\n for (const [chunkPath, mergedChunkUpdate] of Object.entries(updates)) {\n switch (mergedChunkUpdate.type) {\n case \"added\": {\n const updateAdded = new Set(mergedChunkUpdate.modules);\n for (const moduleId of updateAdded) {\n added.set(moduleId, entries[moduleId]);\n }\n chunksAdded.set(chunkPath, updateAdded);\n break;\n }\n case \"deleted\": {\n // We could also use `mergedChunkUpdate.modules` here.\n const updateDeleted = new Set(chunkModulesMap.get(chunkPath));\n for (const moduleId of updateDeleted) {\n deleted.add(moduleId);\n }\n chunksDeleted.set(chunkPath, updateDeleted);\n break;\n }\n case \"partial\": {\n const updateAdded = new Set(mergedChunkUpdate.added);\n const updateDeleted = new Set(mergedChunkUpdate.deleted);\n for (const moduleId of updateAdded) {\n added.set(moduleId, entries[moduleId]);\n }\n for (const moduleId of updateDeleted) {\n deleted.add(moduleId);\n }\n chunksAdded.set(chunkPath, updateAdded);\n chunksDeleted.set(chunkPath, updateDeleted);\n break;\n }\n default:\n invariant(\n mergedChunkUpdate,\n (mergedChunkUpdate) =>\n `Unknown merged chunk update type: ${mergedChunkUpdate.type}`\n );\n }\n }\n\n // If a module was added from one chunk and deleted from another in the same update,\n // consider it to be modified, as it means the module was moved from one chunk to another\n // AND has new code in a single update.\n for (const moduleId of added.keys()) {\n if (deleted.has(moduleId)) {\n added.delete(moduleId);\n deleted.delete(moduleId);\n }\n }\n\n for (const [moduleId, entry] of Object.entries(entries)) {\n // Modules that haven't been added to any chunk but have new code are considered\n // to be modified.\n // This needs to be under the previous loop, as we need it to get rid of modules\n // that were added and deleted in the same update.\n if (!added.has(moduleId)) {\n modified.set(moduleId, entry);\n }\n }\n\n return { added, deleted, modified, chunksAdded, chunksDeleted };\n}\n\ntype ModuleEffect =\n | {\n type: \"unaccepted\";\n dependencyChain: ModuleId[];\n }\n | {\n type: \"self-declined\";\n dependencyChain: ModuleId[];\n moduleId: ModuleId;\n }\n | {\n type: \"accepted\";\n moduleId: ModuleId;\n outdatedModules: Set;\n };\n\nfunction getAffectedModuleEffects(moduleId: ModuleId): ModuleEffect {\n const outdatedModules: Set = new Set();\n\n type QueueItem = { moduleId?: ModuleId; dependencyChain: ModuleId[] };\n\n const queue: QueueItem[] = [\n {\n moduleId,\n dependencyChain: [],\n },\n ];\n\n let nextItem;\n while ((nextItem = queue.shift())) {\n const { moduleId, dependencyChain } = nextItem;\n\n if (moduleId != null) {\n if (outdatedModules.has(moduleId)) {\n // Avoid infinite loops caused by cycles between modules in the dependency chain.\n continue;\n }\n\n outdatedModules.add(moduleId);\n }\n\n // We've arrived at the runtime of the chunk, which means that nothing\n // else above can accept this update.\n if (moduleId === undefined) {\n return {\n type: \"unaccepted\",\n dependencyChain,\n };\n }\n\n const module = devModuleCache[moduleId];\n const hotState = moduleHotState.get(module)!;\n\n if (\n // The module is not in the cache. Since this is a \"modified\" update,\n // it means that the module was never instantiated before.\n !module || // The module accepted itself without invalidating globalThis.\n // TODO is that right?\n (hotState.selfAccepted && !hotState.selfInvalidated)\n ) {\n continue;\n }\n\n if (hotState.selfDeclined) {\n return {\n type: \"self-declined\",\n dependencyChain,\n moduleId,\n };\n }\n\n if (runtimeModules.has(moduleId)) {\n queue.push({\n moduleId: undefined,\n dependencyChain: [...dependencyChain, moduleId],\n });\n continue;\n }\n\n for (const parentId of module.parents) {\n const parent = devModuleCache[parentId];\n\n if (!parent) {\n // TODO(alexkirsz) Is this even possible?\n continue;\n }\n\n // TODO(alexkirsz) Dependencies: check accepted and declined\n // dependencies here.\n\n queue.push({\n moduleId: parentId,\n dependencyChain: [...dependencyChain, moduleId],\n });\n }\n }\n\n return {\n type: \"accepted\",\n moduleId,\n outdatedModules,\n };\n}\n\nfunction handleApply(chunkListPath: ChunkPath, update: ServerMessage) {\n switch (update.type) {\n case \"partial\": {\n // This indicates that the update is can be applied to the current state of the application.\n applyUpdate(update.instruction);\n break;\n }\n case \"restart\": {\n // This indicates that there is no way to apply the update to the\n // current state of the application, and that the application must be\n // restarted.\n DEV_BACKEND.restart();\n break;\n }\n case \"notFound\": {\n // This indicates that the chunk list no longer exists: either the dynamic import which created it was removed,\n // or the page itself was deleted.\n // If it is a dynamic import, we simply discard all modules that the chunk has exclusive access to.\n // If it is a runtime chunk list, we restart the application.\n if (runtimeChunkLists.has(chunkListPath)) {\n DEV_BACKEND.restart();\n } else {\n disposeChunkList(chunkListPath);\n }\n break;\n }\n default:\n throw new Error(`Unknown update type: ${update.type}`);\n }\n}\n\nfunction createModuleHot(\n moduleId: ModuleId,\n hotData: HotData\n): { hot: Hot; hotState: HotState } {\n const hotState: HotState = {\n selfAccepted: false,\n selfDeclined: false,\n selfInvalidated: false,\n disposeHandlers: [],\n };\n\n const hot: Hot = {\n // TODO(alexkirsz) This is not defined in the HMR API. It was used to\n // decide whether to warn whenever an HMR-disposed module required other\n // modules. We might want to remove it.\n active: true,\n\n data: hotData ?? {},\n\n // TODO(alexkirsz) Support full (dep, callback, errorHandler) form.\n accept: (\n modules?: string | string[] | AcceptErrorHandler,\n _callback?: AcceptCallback,\n _errorHandler?: AcceptErrorHandler\n ) => {\n if (modules === undefined) {\n hotState.selfAccepted = true;\n } else if (typeof modules === \"function\") {\n hotState.selfAccepted = modules;\n } else {\n throw new Error(\"unsupported `accept` signature\");\n }\n },\n\n decline: (dep) => {\n if (dep === undefined) {\n hotState.selfDeclined = true;\n } else {\n throw new Error(\"unsupported `decline` signature\");\n }\n },\n\n dispose: (callback) => {\n hotState.disposeHandlers.push(callback);\n },\n\n addDisposeHandler: (callback) => {\n hotState.disposeHandlers.push(callback);\n },\n\n removeDisposeHandler: (callback) => {\n const idx = hotState.disposeHandlers.indexOf(callback);\n if (idx >= 0) {\n hotState.disposeHandlers.splice(idx, 1);\n }\n },\n\n invalidate: () => {\n hotState.selfInvalidated = true;\n queuedInvalidatedModules.add(moduleId);\n },\n\n // NOTE(alexkirsz) This is part of the management API, which we don't\n // implement, but the Next.js React Refresh runtime uses this to decide\n // whether to schedule an update.\n status: () => \"idle\",\n\n // NOTE(alexkirsz) Since we always return \"idle\" for now, these are no-ops.\n addStatusHandler: (_handler) => {},\n removeStatusHandler: (_handler) => {},\n\n // NOTE(jridgewell) Check returns the list of updated modules, but we don't\n // want the webpack code paths to ever update (the turbopack paths handle\n // this already).\n check: () => Promise.resolve(null),\n };\n\n return { hot, hotState };\n}\n\n/**\n * Removes a module from a chunk.\n * Returns `true` if there are no remaining chunks including this module.\n */\nfunction removeModuleFromChunk(\n moduleId: ModuleId,\n chunkPath: ChunkPath\n): boolean {\n const moduleChunks = moduleChunksMap.get(moduleId)!;\n moduleChunks.delete(chunkPath);\n\n const chunkModules = chunkModulesMap.get(chunkPath)!;\n chunkModules.delete(moduleId);\n\n const noRemainingModules = chunkModules.size === 0;\n if (noRemainingModules) {\n chunkModulesMap.delete(chunkPath);\n }\n\n const noRemainingChunks = moduleChunks.size === 0;\n if (noRemainingChunks) {\n moduleChunksMap.delete(moduleId);\n }\n\n return noRemainingChunks;\n}\n\n/**\n * Disposes of a chunk list and its corresponding exclusive chunks.\n */\nfunction disposeChunkList(chunkListPath: ChunkPath): boolean {\n const chunkPaths = chunkListChunksMap.get(chunkListPath);\n if (chunkPaths == null) {\n return false;\n }\n chunkListChunksMap.delete(chunkListPath);\n\n for (const chunkPath of chunkPaths) {\n const chunkChunkLists = chunkChunkListsMap.get(chunkPath)!;\n chunkChunkLists.delete(chunkListPath);\n\n if (chunkChunkLists.size === 0) {\n chunkChunkListsMap.delete(chunkPath);\n disposeChunk(chunkPath);\n }\n }\n\n // We must also dispose of the chunk list's chunk itself to ensure it may\n // be reloaded properly in the future.\n DEV_BACKEND.unloadChunk?.(chunkListPath);\n\n return true;\n}\n\n/**\n * Disposes of a chunk and its corresponding exclusive modules.\n *\n * @returns Whether the chunk was disposed of.\n */\nfunction disposeChunk(chunkPath: ChunkPath): boolean {\n // This should happen whether the chunk has any modules in it or not.\n // For instance, CSS chunks have no modules in them, but they still need to be unloaded.\n DEV_BACKEND.unloadChunk?.(chunkPath);\n\n const chunkModules = chunkModulesMap.get(chunkPath);\n if (chunkModules == null) {\n return false;\n }\n chunkModules.delete(chunkPath);\n\n for (const moduleId of chunkModules) {\n const moduleChunks = moduleChunksMap.get(moduleId)!;\n moduleChunks.delete(chunkPath);\n\n const noRemainingChunks = moduleChunks.size === 0;\n if (noRemainingChunks) {\n moduleChunksMap.delete(moduleId);\n disposeModule(moduleId, \"clear\");\n availableModules.delete(moduleId);\n }\n }\n\n return true;\n}\n\n\n/**\n * Subscribes to chunk list updates from the update server and applies them.\n */\nfunction registerChunkList(\n chunkUpdateProvider: ChunkUpdateProvider,\n chunkList: ChunkList\n) {\n chunkUpdateProvider.push([\n chunkList.path,\n handleApply.bind(null, chunkList.path),\n ]);\n\n // Adding chunks to chunk lists and vice versa.\n const chunks = new Set(chunkList.chunks.map(getChunkPath));\n chunkListChunksMap.set(chunkList.path, chunks);\n for (const chunkPath of chunks) {\n let chunkChunkLists = chunkChunkListsMap.get(chunkPath);\n if (!chunkChunkLists) {\n chunkChunkLists = new Set([chunkList.path]);\n chunkChunkListsMap.set(chunkPath, chunkChunkLists);\n } else {\n chunkChunkLists.add(chunkList.path);\n }\n }\n\n if (chunkList.source === \"entry\") {\n markChunkListAsRuntime(chunkList.path);\n }\n}\n\nglobalThis.TURBOPACK_CHUNK_UPDATE_LISTENERS ??= [];\n\nconst chunkListsToRegister = globalThis.TURBOPACK_CHUNK_LISTS;\nif (Array.isArray(chunkListsToRegister)) {\n for (const chunkList of chunkListsToRegister) {\n registerChunkList(globalThis.TURBOPACK_CHUNK_UPDATE_LISTENERS, chunkList);\n }\n}\n\nglobalThis.TURBOPACK_CHUNK_LISTS = {\n push: (chunkList) => {\n registerChunkList(globalThis.TURBOPACK_CHUNK_UPDATE_LISTENERS!, chunkList);\n },\n} satisfies ChunkListProvider;\n"],"names":[],"mappings":"AAAA,2CAA2C;AAC3C,4CAA4C;AAC5C,4CAA4C;AAE5C;;;;;;CAMC,GAED,oDAAoD,GAEpD,MAAM,iBAAyC,OAAO,MAAM,CAAC;AA4C7D,MAAM,yBAAyB;IAC7B,OAAO,mBAAmB;IAE1B,gBAA0B;IAE1B,YAAY,OAAe,EAAE,eAAyB,CAAE;QACtD,KAAK,CAAC;QACN,IAAI,CAAC,eAAe,GAAG;IACzB;AACF;AAEA;;;CAGC,GACD,MAAM,gBAAwC,IAAI;AAClD;;CAEC,GACD,MAAM,iBAAwC,IAAI;AAClD;;CAEC,GACD,MAAM,2BAA0C,IAAI;AAEpD;;CAEC,GACD,aAAa;AACb,SAAS,8BACP,QAAkB,EAClB,SAAoB;IAEpB,MAAM,SAAS,cAAc,CAAC,SAAS;IACvC,IAAI,QAAQ;QACV,IAAI,OAAO,KA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uB,UAAU,IAAI;IACvC;AACF;AAEA,WAAW,gCAAgC,KAAK,EAAE;AAElD,MAAM,uBAAuB,WAAW,qBAAqB;AAC7D,IAAI,MAAM,OAAO,CAAC,uBAAuB;IACvC,KAAK,MAAM,aAAa,qBAAsB;QAC5C,kBAAkB,WAAW,gCAAgC,EAAE;IACjE;AACF;AAEA,WAAW,qBAAqB,GAAG;IACjC,MAAM,CAAC;QACL,kBAAkB,WAAW,gCAAgC,EAAG;IAClE;AACF"}}, + {"offset": {"line": 1392, "column": 0}, "map": {"version":3,"sources":["turbopack://[turbopack]/browser/runtime/dom/runtime-backend-dom.ts"],"sourcesContent":["/**\n * This file contains the runtime code specific to the Turbopack development\n * ECMAScript DOM runtime.\n *\n * It will be appended to the base development runtime code.\n */\n\n/* eslint-disable @typescript-eslint/no-unused-vars */\n\n/// \n/// \n\ntype ChunkResolver = {\n resolved: boolean;\n resolve: () => void;\n reject: (error?: Error) => void;\n promise: Promise;\n};\n\nlet BACKEND: RuntimeBackend;\n\nfunction augmentContext(context: unknown): unknown {\n return context;\n}\n\nfunction fetchWebAssembly(wasmChunkPath: ChunkPath) {\n return fetch(getChunkRelativeUrl(wasmChunkPath));\n}\n\nasync function loadWebAssembly(\n _source: unknown,\n wasmChunkPath: ChunkPath,\n importsObj: WebAssembly.Imports\n): Promise {\n const req = fetchWebAssembly(wasmChunkPath);\n\n const { instance } = await WebAssembly.instantiateStreaming(req, importsObj);\n\n return instance.exports;\n}\n\nasync function loadWebAssemblyModule(\n _source: unknown,\n wasmChunkPath: ChunkPath\n): Promise {\n const req = fetchWebAssembly(wasmChunkPath);\n\n return await WebAssembly.compileStreaming(req);\n}\n\n/**\n * Maps chunk paths to the corresponding resolver.\n */\nconst chunkResolvers: Map = new Map();\n\n(() => {\n BACKEND = {\n async registerChunk(chunkPath, params) {\n const resolver = getOrCreateResolver(chunkPath);\n resolver.resolve();\n\n if (params == null) {\n return;\n }\n\n for (const otherChunkData of params.otherChunks) {\n const otherChunkPath = getChunkPath(otherChunkData);\n // Chunk might have started loading, so we want to avoid triggering another load.\n getOrCreateResolver(otherChunkPath);\n }\n\n // This waits for chunks to be loaded, but also marks included items as available.\n await Promise.all(\n params.otherChunks.map((otherChunkData) =>\n loadChunk({ type: SourceType.Runtime, chunkPath }, otherChunkData)\n )\n );\n\n if (params.runtimeModuleIds.length > 0) {\n for (const moduleId of params.runtimeModuleIds) {\n getOrInstantiateRuntimeModule(moduleId, chunkPath);\n }\n }\n },\n\n loadChunk(chunkPath, source) {\n return doLoadChunk(chunkPath, source);\n },\n };\n\n function getOrCreateResolver(chunkPath: ChunkPath): ChunkResolver {\n let resolver = chunkResolvers.get(chunkPath);\n if (!resolver) {\n let resolve: () => void;\n let reject: (error?: Error) => void;\n const promise = new Promise((innerResolve, innerReject) => {\n resolve = innerResolve;\n reject = innerReject;\n });\n resolver = {\n resolved: false,\n promise,\n resolve: () => {\n resolver!.resolved = true;\n resolve();\n },\n reject: reject!,\n };\n chunkResolvers.set(chunkPath, resolver);\n }\n return resolver;\n }\n\n /**\n * Loads the given chunk, and returns a promise that resolves once the chunk\n * has been loaded.\n */\n async function doLoadChunk(chunkPath: ChunkPath, source: SourceInfo) {\n const resolver = getOrCreateResolver(chunkPath);\n if (resolver.resolved) {\n return resolver.promise;\n }\n\n if (source.type === SourceType.Runtime) {\n // We don't need to load chunks references from runtime code, as they're already\n // present in the DOM.\n\n if (chunkPath.endsWith(\".css\")) {\n // CSS chunks do not register themselves, and as such must be marked as\n // loaded instantly.\n resolver.resolve();\n }\n\n // We need to wait for JS chunks to register themselves within `registerChunk`\n // before we can start instantiating runtime modules, hence the absence of\n // `resolver.resolve()` in this branch.\n\n return resolver.promise;\n }\n\n const chunkUrl = getChunkRelativeUrl(chunkPath);\n const decodedChunkUrl = decodeURI(chunkUrl);\n\n if (typeof importScripts === \"function\") {\n // We're in a web worker\n if (chunkPath.endsWith(\".css\")) {\n // ignore\n } else if (chunkPath.endsWith(\".js\")) {\n importScripts(TURBOPACK_WORKER_LOCATION + chunkUrl);\n } else {\n throw new Error(`can't infer type of chunk from path ${chunkPath} in worker`);\n }\n } else {\n if (chunkPath.endsWith(\".css\")) {\n const previousLinks = document.querySelectorAll(\n `link[rel=stylesheet][href=\"${chunkUrl}\"],link[rel=stylesheet][href^=\"${chunkUrl}?\"],link[rel=stylesheet][href=\"${decodedChunkUrl}\"],link[rel=stylesheet][href^=\"${decodedChunkUrl}?\"]`\n );\n if (previousLinks.length > 0) {\n // CSS chunks do not register themselves, and as such must be marked as\n // loaded instantly.\n resolver.resolve();\n } else {\n const link = document.createElement(\"link\");\n link.rel = \"stylesheet\";\n link.href = chunkUrl;\n link.onerror = () => {\n resolver.reject();\n };\n link.onload = () => {\n // CSS chunks do not register themselves, and as such must be marked as\n // loaded instantly.\n resolver.resolve();\n };\n document.body.appendChild(link);\n }\n } else if (chunkPath.endsWith(\".js\")) {\n const previousScripts = document.querySelectorAll(\n `script[src=\"${chunkUrl}\"],script[src^=\"${chunkUrl}?\"],script[src=\"${decodedChunkUrl}\"],script[src^=\"${decodedChunkUrl}?\"]`\n );\n if (previousScripts.length > 0) {\n // There is this edge where the script already failed loading, but we\n // can't detect that. The Promise will never resolve in this case.\n for (const script of Array.from(previousScripts)) {\n script.addEventListener(\"error\", () => {\n resolver.reject();\n });\n }\n } else {\n const script = document.createElement(\"script\");\n script.src = chunkUrl;\n // We'll only mark the chunk as loaded once the script has been executed,\n // which happens in `registerChunk`. Hence the absence of `resolve()` in\n // this branch.\n script.onerror = () => {\n resolver.reject();\n };\n document.body.appendChild(script);\n }\n } else {\n throw new Error(`can't infer type of chunk from path ${chunkPath}`);\n }\n }\n\n return resolver.promise;\n }\n})();\n"],"names":[],"mappings":"AAAA;;;;;CAKC,GAED,oDAAoD,GAEpD,sEAAsE;AACtE,2DAA2D;AAS3D,IAAI;AAEJ,SAAS,eAAe,OAAgB;IACtC,OAAO;AACT;AAEA,SAAS,iBAAiB,aAAwB;IAChD,OAAO,MAAM,oBAAoB;AAC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AClB;oBACA,SAAS,IAAI,CAAC,WAAW,CAAC;gBAC5B;YACF,OAAO,IAAI,UAAU,QAAQ,CAAC,QAAQ;gBACpC,MAAM,kBAAkB,SAAS,gBAAgB,CAC/C,CAAC,YAAY,EAAE,SAAS,gBAAgB,EAAE,SAAS,gBAAgB,EAAE,gBAAgB,gBAAgB,EAAE,gBAAgB,GAAG,CAAC;gBAE7H,IAAI,gBAAgB,MAAM,GAAG,GAAG;oBAC9B,qEAAqE;oBACrE,kEAAkE;oBAClE,KAAK,MAAM,UAAU,MAAM,IAAI,CAAC,iBAAkB;wBAChD,OAAO,gBAAgB,CAAC,SAAS;4BAC/B,SAAS,MAAM;wBACjB;oBACF;gBACF,OAAO;oBACL,MAAM,SAAS,SAAS,aAAa,CAAC;oBACtC,OAAO,GAAG,GAAG;oBACb,yEAAyE;oBACzE,wEAAwE;oBACxE,eAAe;oBACf,OAAO,OAAO,GAAG;wBACf,SAAS,MAAM;oBACjB;oBACA,SAAS,IAAI,CAAC,WAAW,CAAC;gBAC5B;YACF,OAAO;gBACL,MAAM,IAAI,MAAM,CAAC,oCAAoC,EAAE,UAAU,CAAC;YACpE;QACF;QAEA,OAAO,SAAS,OAAO;IACzB;AACF,CAAC"}}, + {"offset": {"line": 1549, "column": 0}, "map": {"version":3,"sources":["turbopack://[turbopack]/browser/runtime/dom/dev-backend-dom.ts"],"sourcesContent":["/**\n * This file contains the runtime code specific to the Turbopack development\n * ECMAScript DOM runtime.\n *\n * It will be appended to the base development runtime code.\n */\n\n/* eslint-disable @typescript-eslint/no-unused-vars */\n\n/// \n/// \n/// \n/// \n\nlet DEV_BACKEND: DevRuntimeBackend;\n\n(() => {\n DEV_BACKEND = {\n unloadChunk(chunkPath) {\n deleteResolver(chunkPath);\n\n const chunkUrl = getChunkRelativeUrl(chunkPath);\n // TODO(PACK-2140): remove this once all filenames are guaranteed to be escaped.\n const decodedChunkUrl = decodeURI(chunkUrl);\n\n if (chunkPath.endsWith(\".css\")) {\n const links = document.querySelectorAll(\n `link[href=\"${chunkUrl}\"],link[href^=\"${chunkUrl}?\"],link[href=\"${decodedChunkUrl}\"],link[href^=\"${decodedChunkUrl}?\"]`\n );\n for (const link of Array.from(links)) {\n link.remove();\n }\n } else if (chunkPath.endsWith(\".js\")) {\n // Unloading a JS chunk would have no effect, as it lives in the JS\n // runtime once evaluated.\n // However, we still want to remove the script tag from the DOM to keep\n // the HTML somewhat consistent from the user's perspective.\n const scripts = document.querySelectorAll(\n `script[src=\"${chunkUrl}\"],script[src^=\"${chunkUrl}?\"],script[src=\"${decodedChunkUrl}\"],script[src^=\"${decodedChunkUrl}?\"]`\n );\n for (const script of Array.from(scripts)) {\n script.remove();\n }\n } else {\n throw new Error(`can't infer type of chunk from path ${chunkPath}`);\n }\n },\n\n reloadChunk(chunkPath) {\n return new Promise((resolve, reject) => {\n if (!chunkPath.endsWith(\".css\")) {\n reject(new Error(\"The DOM backend can only reload CSS chunks\"));\n return;\n }\n\n const chunkUrl = getChunkRelativeUrl(chunkPath);\n const decodedChunkUrl = decodeURI(chunkUrl);\n\n const previousLinks = document.querySelectorAll(\n `link[rel=stylesheet][href=\"${chunkUrl}\"],link[rel=stylesheet][href^=\"${chunkUrl}?\"],link[rel=stylesheet][href=\"${decodedChunkUrl}\"],link[rel=stylesheet][href^=\"${decodedChunkUrl}?\"]`\n );\n\n if (previousLinks.length === 0) {\n reject(new Error(`No link element found for chunk ${chunkPath}`));\n return;\n }\n\n const link = document.createElement(\"link\");\n link.rel = \"stylesheet\";\n\n if (navigator.userAgent.includes(\"Firefox\")) {\n // Firefox won't reload CSS files that were previously loaded on the current page,\n // we need to add a query param to make sure CSS is actually reloaded from the server.\n //\n // I believe this is this issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1037506\n //\n // Safari has a similar issue, but only if you have a `` tag\n // pointing to the same URL as the stylesheet: https://bugs.webkit.org/show_bug.cgi?id=187726\n link.href = `${chunkUrl}?ts=${Date.now()}`;\n } else {\n link.href = chunkUrl;\n }\n\n link.onerror = () => {\n reject();\n };\n link.onload = () => {\n // First load the new CSS, then remove the old ones. This prevents visible\n // flickering that would happen in-between removing the previous CSS and\n // loading the new one.\n for (const previousLink of Array.from(previousLinks))\n previousLink.remove();\n\n // CSS chunks do not register themselves, and as such must be marked as\n // loaded instantly.\n resolve();\n };\n\n // Make sure to insert the new CSS right after the previous one, so that\n // its precedence is higher.\n previousLinks[0].parentElement!.insertBefore(\n link,\n previousLinks[0].nextSibling\n );\n });\n },\n\n restart: () => self.location.reload(),\n };\n\n function deleteResolver(chunkPath: ChunkPath) {\n chunkResolvers.delete(chunkPath);\n }\n})();\n\nfunction _eval({ code, url, map }: EcmascriptModuleEntry): ModuleFactory {\n code += `\\n\\n//# sourceURL=${encodeURI(\n location.origin + CHUNK_BASE_PATH + url\n )}`;\n if (map) {\n code += `\\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,${btoa(\n // btoa doesn't handle nonlatin characters, so escape them as \\x sequences\n // See https://stackoverflow.com/a/26603875\n unescape(encodeURIComponent(map))\n )}`;\n }\n\n // eslint-disable-next-line no-eval\n return eval(code);\n}\n"],"names":[],"mappings":"AAAA;;;;;CAKC,GAED,oDAAoD,GAEpD,gDAAgD;AAChD,4CAA4C;AAC5C,iDAAiD;AACjD,0DAA0D;AAE1D,IAAI;AAEJ,CAAC;IACC,cAAc;QACZ,aAAY,SAAS;YACnB,eAAe;YAEf,MAAM,WAAW,oBAAoB;YACrC,gFAAgF;YAChF,MAAM,kBAAkB,UAAU;YAElC,IAAI,UAAU,QAAQ,CAAC,SAAS;gBAC9B,MAAM,QAAQ,SAAS,gBAAgB,CACrC,CAAC,WAAW,EAAE,SAAS,eAAe,EAAE,SAAS,eAAe,EAAE,gBAAgB,eAAe,EAAE,gBAAgB,GAAG,CAAC;gBAEzH,KAAK,MAAM,QAAQ,MAAM,IAAI,CAAC,OAAQ;oBACpC,KAAK,MAAM;gBACb;YACF,OAAO,IAAI,UAAU,QAAQ,CAAC,QAAQ;gBACpC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1E,wEAAwE;oBACxE,uBAAuB;oBACvB,KAAK,MAAM,gBAAgB,MAAM,IAAI,CAAC,eACpC,aAAa,MAAM;oBAErB,uEAAuE;oBACvE,oBAAoB;oBACpB;gBACF;gBAEA,wEAAwE;gBACxE,4BAA4B;gBAC5B,aAAa,CAAC,EAAE,CAAC,aAAa,CAAE,YAAY,CAC1C,MACA,aAAa,CAAC,EAAE,CAAC,WAAW;YAEhC;QACF;QAEA,SAAS,IAAM,KAAK,QAAQ,CAAC,MAAM;IACrC;IAEA,SAAS,eAAe,SAAoB;QAC1C,eAAe,MAAM,CAAC;IACxB;AACF,CAAC;AAED,SAAS,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAyB;IACtD,QAAQ,CAAC,kBAAkB,EAAE,UAC3B,SAAS,MAAM,GAAG,kBAAkB,KACpC,CAAC;IACH,IAAI,KAAK;QACP,QAAQ,CAAC,kEAAkE,EAAE,KAC3E,0EAA0E;QAC1E,2CAA2C;QAC3C,SAAS,mBAAmB,OAC5B,CAAC;IACL;IAEA,mCAAmC;IACnC,OAAO,KAAK;AACd"}}, + {"offset": {"line": 1644, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/turbopack_crates_turbopack-tests_tests_snapshot_398e25._.js b/turbopack/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/turbopack_crates_turbopack-tests_tests_snapshot_398e25._.js index 82820f79a5205..fd164b7e2134f 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/turbopack_crates_turbopack-tests_tests_snapshot_398e25._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/turbopack_crates_turbopack-tests_tests_snapshot_398e25._.js @@ -1,8 +1,10 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/turbopack_crates_turbopack-tests_tests_snapshot_398e25._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$node_modules$2f$styled$2d$components$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/styled-components/index.js [test] (ecmascript)"); "__TURBOPACK__ecmascript__hoisting__location__"; @@ -14,14 +16,14 @@ const MyButton = __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$cr background: blue; `; console.log(MyButton); +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/styled-components/index.js [test] (ecmascript)": (function(__turbopack_context__) { -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/styled-components/index.js [test] (ecmascript)": (function({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require }) { !function() { - +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require } = __turbopack_context__; +{ "purposefully empty stub"; "styled-components/index.js"; - -}.call(this) }), +}}), }]); //# sourceMappingURL=turbopack_crates_turbopack-tests_tests_snapshot_398e25._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/turbopack_crates_turbopack-tests_tests_snapshot_398e25._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/turbopack_crates_turbopack-tests_tests_snapshot_398e25._.js.map index e708e31ebd345..23b49ac09797c 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/turbopack_crates_turbopack-tests_tests_snapshot_398e25._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/turbopack_crates_turbopack-tests_tests_snapshot_398e25._.js.map @@ -2,8 +2,8 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/input/index.js"],"sourcesContent":["import styled from \"styled-components\";\n\nconst MyButton = styled.button`\n background: blue;\n`;\n\nconsole.log(MyButton);\n"],"names":[],"mappings":";;;;AAEA,MAAM,WAAW,yMAAA,CAAA,UAAM,CAAC,MAAM;;;EAAA,CAAC;;AAE/B,CAAC;AAED,QAAQ,GAAG,CAAC"}}, - {"offset": {"line": 16, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 20, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/styled-components/index.js"],"sourcesContent":["\"purposefully empty stub\";\n\"styled-components/index.js\"\n"],"names":[],"mappings":"AAAA;AACA"}}, - {"offset": {"line": 22, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/input/index.js"],"sourcesContent":["import styled from \"styled-components\";\n\nconst MyButton = styled.button`\n background: blue;\n`;\n\nconsole.log(MyButton);\n"],"names":[],"mappings":";;;;AAEA,MAAM,WAAW,yMAAA,CAAA,UAAM,CAAC,MAAM;;;EAAA,CAAC;;AAE/B,CAAC;AAED,QAAQ,GAAG,CAAC"}}, + {"offset": {"line": 18, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 23, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/styled-components/index.js"],"sourcesContent":["\"purposefully empty stub\";\n\"styled-components/index.js\"\n"],"names":[],"mappings":"AAAA;AACA"}}, + {"offset": {"line": 25, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/turbopack_crates_turbopack-tests_tests_snapshot_b56e07._.js b/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/turbopack_crates_turbopack-tests_tests_snapshot_b56e07._.js index 72179d974023d..a2948b2bfa3e2 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/turbopack_crates_turbopack-tests_tests_snapshot_b56e07._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/turbopack_crates_turbopack-tests_tests_snapshot_b56e07._.js @@ -1,8 +1,10 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/turbopack_crates_turbopack-tests_tests_snapshot_b56e07._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/input/packages/component/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/input/packages/component/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "default": ()=>MyApp }); @@ -18,11 +20,12 @@ function MyApp() { columnNumber: 10 }, this); } - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/input/packages/app/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/input/packages/app/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$swc_transforms$2f$mono_transforms$2f$input$2f$packages$2f$component$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/input/packages/component/index.js [test] (ecmascript)"); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$swc_transforms$2f$mono_transforms$2f$input$2f$node_modules$2f$third_party_component$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/input/node_modules/third_party_component/index.js [test] (ecmascript)"); @@ -30,25 +33,26 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$swc_transforms$2f$mono_transforms$2f$input$2f$packages$2f$component$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__["default"], __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$swc_transforms$2f$mono_transforms$2f$input$2f$node_modules$2f$third_party_component$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__["default"]); +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/react/jsx-dev-runtime.js [test] (ecmascript)": (function(__turbopack_context__) { -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/react/jsx-dev-runtime.js [test] (ecmascript)": (function({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require }) { !function() { - +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require } = __turbopack_context__; +{ "purposefully empty stub"; "react/jsx-dev-runtime.js"; - -}.call(this) }), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/input/node_modules/third_party_component/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/input/node_modules/third_party_component/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "default": ()=>ThirdPartyComponent }); function ThirdPartyComponent() { return
Should not be transformed
; } - -})()), +}}), }]); //# sourceMappingURL=turbopack_crates_turbopack-tests_tests_snapshot_b56e07._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/turbopack_crates_turbopack-tests_tests_snapshot_b56e07._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/turbopack_crates_turbopack-tests_tests_snapshot_b56e07._.js.map index 0b41697f4a5e1..9b295b430162d 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/turbopack_crates_turbopack-tests_tests_snapshot_b56e07._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/turbopack_crates_turbopack-tests_tests_snapshot_b56e07._.js.map @@ -2,12 +2,12 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/input/packages/component/index.js"],"sourcesContent":["export default function MyApp() {\n return
App
;\n}\n"],"names":[],"mappings":";;;;;;AAAe,SAAS;IACtB,qBAAO,0NAAC;kBAAI;;;;;;AACd"}}, - {"offset": {"line": 20, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 25, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/input/packages/app/index.js"],"sourcesContent":["import MyApp from \"component\";\nimport ThirdPartyComponent from \"third_party_component\";\n\nconsole.log(MyApp, ThirdPartyComponent);\n"],"names":[],"mappings":";;;;;;AAGA,QAAQ,GAAG,CAAC,wOAAA,CAAA,UAAK,EAAE,wPAAA,CAAA,UAAmB"}}, - {"offset": {"line": 32, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 36, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/react/jsx-dev-runtime.js"],"sourcesContent":["\"purposefully empty stub\";\n\"react/jsx-dev-runtime.js\";\n"],"names":[],"mappings":"AAAA;AACA"}}, - {"offset": {"line": 38, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 43, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/input/node_modules/third_party_component/index.js"],"sourcesContent":["export default function ThirdPartyComponent() {\n return
Should not be transformed
;\n}\n"],"names":[],"mappings":";;;AAAe,SAAS;IACtB,QAAQ,IAAI,yBAAyB,EAAE;AACzC"}}, - {"offset": {"line": 49, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/input/packages/component/index.js"],"sourcesContent":["export default function MyApp() {\n return
App
;\n}\n"],"names":[],"mappings":";;;;;;AAAe,SAAS;IACtB,qBAAO,0NAAC;kBAAI;;;;;;AACd"}}, + {"offset": {"line": 22, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 28, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/input/packages/app/index.js"],"sourcesContent":["import MyApp from \"component\";\nimport ThirdPartyComponent from \"third_party_component\";\n\nconsole.log(MyApp, ThirdPartyComponent);\n"],"names":[],"mappings":";;;;;;AAGA,QAAQ,GAAG,CAAC,wOAAA,CAAA,UAAK,EAAE,wPAAA,CAAA,UAAmB"}}, + {"offset": {"line": 35, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 40, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/react/jsx-dev-runtime.js"],"sourcesContent":["\"purposefully empty stub\";\n\"react/jsx-dev-runtime.js\";\n"],"names":[],"mappings":"AAAA;AACA"}}, + {"offset": {"line": 42, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 48, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/input/node_modules/third_party_component/index.js"],"sourcesContent":["export default function ThirdPartyComponent() {\n return
Should not be transformed
;\n}\n"],"names":[],"mappings":";;;AAAe,SAAS;IACtB,QAAQ,IAAI,yBAAyB,EAAE;AACzC"}}, + {"offset": {"line": 54, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/preset_env/output/turbopack_crates_turbopack-tests_tests_snapshot_bff03a._.js b/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/preset_env/output/turbopack_crates_turbopack-tests_tests_snapshot_bff03a._.js index bba5b6bb27f01..46c078c7bff5a 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/preset_env/output/turbopack_crates_turbopack-tests_tests_snapshot_bff03a._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/preset_env/output/turbopack_crates_turbopack-tests_tests_snapshot_bff03a._.js @@ -1,8 +1,10 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/turbopack_crates_turbopack-tests_tests_snapshot_bff03a._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/preset_env/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/preset_env/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$node_modules$2f40$swc$2f$helpers$2f$_$2f$_class_call_check$2e$js__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/@swc/helpers/_/_class_call_check.js [test] (ecmascript)"); "__TURBOPACK__ecmascript__hoisting__location__"; ; @@ -12,14 +14,14 @@ var Foo = function Foo() { (0, __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$node_modules$2f40$swc$2f$helpers$2f$_$2f$_class_call_check$2e$js__$5b$test$5d$__$28$ecmascript$29$__["_"])(this, Foo); }; console.log(Foo, [].includes("foo")); +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/@swc/helpers/_/_class_call_check.js [test] (ecmascript)": (function(__turbopack_context__) { -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/@swc/helpers/_/_class_call_check.js [test] (ecmascript)": (function({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require }) { !function() { - +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, m: module, e: exports, t: require } = __turbopack_context__; +{ "purposefully empty stub"; "@swc/helpers/_/_class_call_check.js"; - -}.call(this) }), +}}), }]); //# sourceMappingURL=turbopack_crates_turbopack-tests_tests_snapshot_bff03a._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/preset_env/output/turbopack_crates_turbopack-tests_tests_snapshot_bff03a._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/preset_env/output/turbopack_crates_turbopack-tests_tests_snapshot_bff03a._.js.map index 30ffe4a84a609..2c39e06348b7c 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/preset_env/output/turbopack_crates_turbopack-tests_tests_snapshot_bff03a._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/preset_env/output/turbopack_crates_turbopack-tests_tests_snapshot_bff03a._.js.map @@ -2,8 +2,8 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/preset_env/input/index.js"],"sourcesContent":["class Foo {}\n\nconsole.log(Foo, [].includes(\"foo\"));\n"],"names":[],"mappings":";;;;AAAA,IAAA,AAAM,MAAN,SAAM;;2OAAA;;AAEN,QAAQ,GAAG,CAAC,KAAK,EAAE,CAAC,QAAQ,CAAC"}}, - {"offset": {"line": 14, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 18, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/@swc/helpers/_/_class_call_check.js"],"sourcesContent":["\"purposefully empty stub\";\n\"@swc/helpers/_/_class_call_check.js\";\n"],"names":[],"mappings":"AAAA;AACA"}}, - {"offset": {"line": 20, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/preset_env/input/index.js"],"sourcesContent":["class Foo {}\n\nconsole.log(Foo, [].includes(\"foo\"));\n"],"names":[],"mappings":";;;;AAAA,IAAA,AAAM,MAAN,SAAM;;2OAAA;;AAEN,QAAQ,GAAG,CAAC,KAAK,EAAE,CAAC,QAAQ,CAAC"}}, + {"offset": {"line": 16, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 21, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/@swc/helpers/_/_class_call_check.js"],"sourcesContent":["\"purposefully empty stub\";\n\"@swc/helpers/_/_class_call_check.js\";\n"],"names":[],"mappings":"AAAA;AACA"}}, + {"offset": {"line": 23, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/jsconfig-baseurl/output/4e721_crates_turbopack-tests_tests_snapshot_typescript_jsconfig-baseurl_input_50efc1._.js b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/jsconfig-baseurl/output/4e721_crates_turbopack-tests_tests_snapshot_typescript_jsconfig-baseurl_input_50efc1._.js index 278652a9f77a3..ce5b24c6a0a22 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/jsconfig-baseurl/output/4e721_crates_turbopack-tests_tests_snapshot_typescript_jsconfig-baseurl_input_50efc1._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/jsconfig-baseurl/output/4e721_crates_turbopack-tests_tests_snapshot_typescript_jsconfig-baseurl_input_50efc1._.js @@ -1,17 +1,20 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/4e721_crates_turbopack-tests_tests_snapshot_typescript_jsconfig-baseurl_input_50efc1._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/jsconfig-baseurl/input/prop.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/jsconfig-baseurl/input/prop.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "prop": ()=>prop }); const prop = 1; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/jsconfig-baseurl/input/index.js [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/jsconfig-baseurl/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$typescript$2f$jsconfig$2d$baseurl$2f$input$2f$prop$2e$js__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/jsconfig-baseurl/input/prop.js [test] (ecmascript)"); "__TURBOPACK__ecmascript__hoisting__location__"; @@ -19,8 +22,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$typescript$2f$jsconfig$2d$baseurl$2f$input$2f$prop$2e$js__$5b$test$5d$__$28$ecmascript$29$__["prop"], __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$typescript$2f$jsconfig$2d$baseurl$2f$input$2f$prop$2e$js__$5b$test$5d$__$28$ecmascript$29$__["prop"], __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$typescript$2f$jsconfig$2d$baseurl$2f$input$2f$prop$2e$js__$5b$test$5d$__$28$ecmascript$29$__["prop"]); - -})()), +}}), }]); //# sourceMappingURL=4e721_crates_turbopack-tests_tests_snapshot_typescript_jsconfig-baseurl_input_50efc1._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/jsconfig-baseurl/output/4e721_crates_turbopack-tests_tests_snapshot_typescript_jsconfig-baseurl_input_50efc1._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/jsconfig-baseurl/output/4e721_crates_turbopack-tests_tests_snapshot_typescript_jsconfig-baseurl_input_50efc1._.js.map index d65039d9b3503..4f1f9f0bdb6f9 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/jsconfig-baseurl/output/4e721_crates_turbopack-tests_tests_snapshot_typescript_jsconfig-baseurl_input_50efc1._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/jsconfig-baseurl/output/4e721_crates_turbopack-tests_tests_snapshot_typescript_jsconfig-baseurl_input_50efc1._.js.map @@ -2,8 +2,8 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/jsconfig-baseurl/input/prop.js"],"sourcesContent":["export const prop = 1;\n"],"names":[],"mappings":";;;AAAO,MAAM,OAAO"}}, - {"offset": {"line": 9, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 14, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/jsconfig-baseurl/input/index.js"],"sourcesContent":["import { prop as globalFoo } from \"foo\";\nimport { prop as localFoo } from \"./foo\";\nimport { prop as atFoo } from \"@/foo\";\n\nconsole.log(globalFoo, localFoo, atFoo);\n"],"names":[],"mappings":";;;;;;AAIA,QAAQ,GAAG,CAAC,8MAAA,CAAA,OAAS,EAAE,8MAAA,CAAA,OAAQ,EAAE,8MAAA,CAAA,OAAK"}}, - {"offset": {"line": 21, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/jsconfig-baseurl/input/prop.js"],"sourcesContent":["export const prop = 1;\n"],"names":[],"mappings":";;;AAAO,MAAM,OAAO"}}, + {"offset": {"line": 11, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 17, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/jsconfig-baseurl/input/index.js"],"sourcesContent":["import { prop as globalFoo } from \"foo\";\nimport { prop as localFoo } from \"./foo\";\nimport { prop as atFoo } from \"@/foo\";\n\nconsole.log(globalFoo, localFoo, atFoo);\n"],"names":[],"mappings":";;;;;;AAIA,QAAQ,GAAG,CAAC,8MAAA,CAAA,OAAS,EAAE,8MAAA,CAAA,OAAQ,EAAE,8MAAA,CAAA,OAAK"}}, + {"offset": {"line": 24, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/input/bar.json b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/input/bar.json new file mode 100644 index 0000000000000..f758be2b37c41 --- /dev/null +++ b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/input/bar.json @@ -0,0 +1,3 @@ +{ + "should be": "ignored" +} diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/input/index.ts b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/input/index.ts index e27e01cec18ce..901ba462ca627 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/input/index.ts +++ b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/input/index.ts @@ -2,4 +2,6 @@ import { prop as globalFoo } from "foo"; import { prop as localFoo } from "./foo"; import { prop as atFoo } from "@/foo"; -console.log(globalFoo, localFoo, atFoo); +import * as bar from "bar"; + +console.log(globalFoo, localFoo, atFoo, bar); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/input/node_modules/bar/index.js b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/input/node_modules/bar/index.js new file mode 100644 index 0000000000000..9f17386851f7d --- /dev/null +++ b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/input/node_modules/bar/index.js @@ -0,0 +1 @@ +export const bar = 'bar'; diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/input/node_modules/bar/package.json b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/input/node_modules/bar/package.json new file mode 100644 index 0000000000000..0967ef424bce6 --- /dev/null +++ b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/input/node_modules/bar/package.json @@ -0,0 +1 @@ +{} diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/output/4c35f_tests_snapshot_typescript_tsconfig-baseurl_input_index_ts_20e2ba._.js b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/output/4c35f_tests_snapshot_typescript_tsconfig-baseurl_input_index_ts_48f30a._.js similarity index 79% rename from turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/output/4c35f_tests_snapshot_typescript_tsconfig-baseurl_input_index_ts_20e2ba._.js rename to turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/output/4c35f_tests_snapshot_typescript_tsconfig-baseurl_input_index_ts_48f30a._.js index 999e9f8477b79..bd7f68193a609 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/output/4c35f_tests_snapshot_typescript_tsconfig-baseurl_input_index_ts_20e2ba._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/output/4c35f_tests_snapshot_typescript_tsconfig-baseurl_input_index_ts_48f30a._.js @@ -1,6 +1,6 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4c35f_tests_snapshot_typescript_tsconfig-baseurl_input_index_ts_20e2ba._.js", + "output/4c35f_tests_snapshot_typescript_tsconfig-baseurl_input_index_ts_48f30a._.js", {}, - {"otherChunks":["output/4e721_crates_turbopack-tests_tests_snapshot_typescript_tsconfig-baseurl_input_ec2b21._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/input/index.ts [test] (ecmascript)"]} + {"otherChunks":["output/4e721_crates_turbopack-tests_tests_snapshot_typescript_tsconfig-baseurl_input_882641._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/input/index.ts [test] (ecmascript)"]} ]); // Dummy runtime \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/output/4c35f_tests_snapshot_typescript_tsconfig-baseurl_input_index_ts_20e2ba._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/output/4c35f_tests_snapshot_typescript_tsconfig-baseurl_input_index_ts_48f30a._.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/output/4c35f_tests_snapshot_typescript_tsconfig-baseurl_input_index_ts_20e2ba._.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/output/4c35f_tests_snapshot_typescript_tsconfig-baseurl_input_index_ts_48f30a._.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/output/4e721_crates_turbopack-tests_tests_snapshot_typescript_tsconfig-baseurl_input_882641._.js b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/output/4e721_crates_turbopack-tests_tests_snapshot_typescript_tsconfig-baseurl_input_882641._.js new file mode 100644 index 0000000000000..51d557b06ac9d --- /dev/null +++ b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/output/4e721_crates_turbopack-tests_tests_snapshot_typescript_tsconfig-baseurl_input_882641._.js @@ -0,0 +1,40 @@ +(globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/4e721_crates_turbopack-tests_tests_snapshot_typescript_tsconfig-baseurl_input_882641._.js", { + +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/input/prop.ts [test] (ecmascript)": ((__turbopack_context__) => { +"use strict"; + +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ +__turbopack_esm__({ + "prop": ()=>prop +}); +const prop = 1; +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/input/index.ts [test] (ecmascript)": ((__turbopack_context__) => { +"use strict"; + +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ +__turbopack_esm__({}); +var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$typescript$2f$tsconfig$2d$baseurl$2f$input$2f$prop$2e$ts__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/input/prop.ts [test] (ecmascript)"); +var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$typescript$2f$tsconfig$2d$baseurl$2f$input$2f$node_modules$2f$bar$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/input/node_modules/bar/index.js [test] (ecmascript)"); +"__TURBOPACK__ecmascript__hoisting__location__"; +; +; +; +; +console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$typescript$2f$tsconfig$2d$baseurl$2f$input$2f$prop$2e$ts__$5b$test$5d$__$28$ecmascript$29$__["prop"], __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$typescript$2f$tsconfig$2d$baseurl$2f$input$2f$prop$2e$ts__$5b$test$5d$__$28$ecmascript$29$__["prop"], __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$typescript$2f$tsconfig$2d$baseurl$2f$input$2f$prop$2e$ts__$5b$test$5d$__$28$ecmascript$29$__["prop"], __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$typescript$2f$tsconfig$2d$baseurl$2f$input$2f$node_modules$2f$bar$2f$index$2e$js__$5b$test$5d$__$28$ecmascript$29$__); +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/input/node_modules/bar/index.js [test] (ecmascript)": ((__turbopack_context__) => { +"use strict"; + +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ +__turbopack_esm__({ + "bar": ()=>bar +}); +const bar = 'bar'; +}}), +}]); + +//# sourceMappingURL=4e721_crates_turbopack-tests_tests_snapshot_typescript_tsconfig-baseurl_input_882641._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/output/4e721_crates_turbopack-tests_tests_snapshot_typescript_tsconfig-baseurl_input_882641._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/output/4e721_crates_turbopack-tests_tests_snapshot_typescript_tsconfig-baseurl_input_882641._.js.map new file mode 100644 index 0000000000000..40f44302b1e26 --- /dev/null +++ b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/output/4e721_crates_turbopack-tests_tests_snapshot_typescript_tsconfig-baseurl_input_882641._.js.map @@ -0,0 +1,11 @@ +{ + "version": 3, + "sources": [], + "sections": [ + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/input/prop.ts"],"sourcesContent":["export const prop = 1;\n"],"names":[],"mappings":";;;AAAO,MAAM,OAAO"}}, + {"offset": {"line": 11, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 17, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/input/index.ts"],"sourcesContent":["import { prop as globalFoo } from \"foo\";\nimport { prop as localFoo } from \"./foo\";\nimport { prop as atFoo } from \"@/foo\";\n\nimport * as bar from \"bar\";\n\nconsole.log(globalFoo, localFoo, atFoo, bar);\n"],"names":[],"mappings":";;;;;;;;AAMA,QAAQ,GAAG,CAAC,8MAAA,CAAA,OAAS,EAAE,8MAAA,CAAA,OAAQ,EAAE,8MAAA,CAAA,OAAK,EAAE"}}, + {"offset": {"line": 26, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 32, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/input/node_modules/bar/index.js"],"sourcesContent":["export const bar = 'bar';\n"],"names":[],"mappings":";;;AAAO,MAAM,MAAM"}}, + {"offset": {"line": 36, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] +} \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/output/4e721_crates_turbopack-tests_tests_snapshot_typescript_tsconfig-baseurl_input_ec2b21._.js b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/output/4e721_crates_turbopack-tests_tests_snapshot_typescript_tsconfig-baseurl_input_ec2b21._.js deleted file mode 100644 index 2856882457585..0000000000000 --- a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/output/4e721_crates_turbopack-tests_tests_snapshot_typescript_tsconfig-baseurl_input_ec2b21._.js +++ /dev/null @@ -1,26 +0,0 @@ -(globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/4e721_crates_turbopack-tests_tests_snapshot_typescript_tsconfig-baseurl_input_ec2b21._.js", { - -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/input/prop.ts [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { -"use strict"; - -__turbopack_esm__({ - "prop": ()=>prop -}); -const prop = 1; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/input/index.ts [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { -"use strict"; - -__turbopack_esm__({}); -var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$typescript$2f$tsconfig$2d$baseurl$2f$input$2f$prop$2e$ts__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/input/prop.ts [test] (ecmascript)"); -"__TURBOPACK__ecmascript__hoisting__location__"; -; -; -; -console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$typescript$2f$tsconfig$2d$baseurl$2f$input$2f$prop$2e$ts__$5b$test$5d$__$28$ecmascript$29$__["prop"], __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$typescript$2f$tsconfig$2d$baseurl$2f$input$2f$prop$2e$ts__$5b$test$5d$__$28$ecmascript$29$__["prop"], __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$typescript$2f$tsconfig$2d$baseurl$2f$input$2f$prop$2e$ts__$5b$test$5d$__$28$ecmascript$29$__["prop"]); - -})()), -}]); - -//# sourceMappingURL=4e721_crates_turbopack-tests_tests_snapshot_typescript_tsconfig-baseurl_input_ec2b21._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/output/4e721_crates_turbopack-tests_tests_snapshot_typescript_tsconfig-baseurl_input_ec2b21._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/output/4e721_crates_turbopack-tests_tests_snapshot_typescript_tsconfig-baseurl_input_ec2b21._.js.map deleted file mode 100644 index 9439961a9d4ea..0000000000000 --- a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/output/4e721_crates_turbopack-tests_tests_snapshot_typescript_tsconfig-baseurl_input_ec2b21._.js.map +++ /dev/null @@ -1,9 +0,0 @@ -{ - "version": 3, - "sources": [], - "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/input/prop.ts"],"sourcesContent":["export const prop = 1;\n"],"names":[],"mappings":";;;AAAO,MAAM,OAAO"}}, - {"offset": {"line": 9, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 14, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/input/index.ts"],"sourcesContent":["import { prop as globalFoo } from \"foo\";\nimport { prop as localFoo } from \"./foo\";\nimport { prop as atFoo } from \"@/foo\";\n\nconsole.log(globalFoo, localFoo, atFoo);\n"],"names":[],"mappings":";;;;;;AAIA,QAAQ,GAAG,CAAC,8MAAA,CAAA,OAAS,EAAE,8MAAA,CAAA,OAAQ,EAAE,8MAAA,CAAA,OAAK"}}, - {"offset": {"line": 21, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] -} \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module-full-path/output/turbopack_crates_turbopack-tests_tests_snapshot_f03842._.js b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module-full-path/output/turbopack_crates_turbopack-tests_tests_snapshot_f03842._.js index 555555ab043d1..4bcfcffba7b1d 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module-full-path/output/turbopack_crates_turbopack-tests_tests_snapshot_f03842._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module-full-path/output/turbopack_crates_turbopack-tests_tests_snapshot_f03842._.js @@ -1,8 +1,10 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/turbopack_crates_turbopack-tests_tests_snapshot_f03842._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module-full-path/input/index.ts [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module-full-path/input/index.ts [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$node_modules$2f$tsconfig$2d$mod$2f$prop$2e$ts__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/tsconfig-mod/prop.ts [test] (ecmascript)"); "__TURBOPACK__ecmascript__hoisting__location__"; @@ -10,17 +12,17 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$node_modules$2f$tsconfig$2d$mod$2f$prop$2e$ts__$5b$test$5d$__$28$ecmascript$29$__["prop"], __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$node_modules$2f$tsconfig$2d$mod$2f$prop$2e$ts__$5b$test$5d$__$28$ecmascript$29$__["prop"], __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$node_modules$2f$tsconfig$2d$mod$2f$prop$2e$ts__$5b$test$5d$__$28$ecmascript$29$__["prop"]); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/tsconfig-mod/prop.ts [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/tsconfig-mod/prop.ts [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "prop": ()=>prop }); const prop = 1; - -})()), +}}), }]); //# sourceMappingURL=turbopack_crates_turbopack-tests_tests_snapshot_f03842._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module-full-path/output/turbopack_crates_turbopack-tests_tests_snapshot_f03842._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module-full-path/output/turbopack_crates_turbopack-tests_tests_snapshot_f03842._.js.map index b8e8d67e48ef9..817bbee09c48a 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module-full-path/output/turbopack_crates_turbopack-tests_tests_snapshot_f03842._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module-full-path/output/turbopack_crates_turbopack-tests_tests_snapshot_f03842._.js.map @@ -2,8 +2,8 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module-full-path/input/index.ts"],"sourcesContent":["import { prop as globalFoo } from \"foo\";\nimport { prop as localFoo } from \"./foo\";\nimport { prop as atFoo } from \"@/foo\";\n\nconsole.log(globalFoo, localFoo, atFoo);\n"],"names":[],"mappings":";;;;;;AAIA,QAAQ,GAAG,CAAC,mMAAA,CAAA,OAAS,EAAE,mMAAA,CAAA,OAAQ,EAAE,mMAAA,CAAA,OAAK"}}, - {"offset": {"line": 12, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 17, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/tsconfig-mod/prop.ts"],"sourcesContent":["export const prop = 1;\n"],"names":[],"mappings":";;;AAAO,MAAM,OAAO"}}, - {"offset": {"line": 21, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module-full-path/input/index.ts"],"sourcesContent":["import { prop as globalFoo } from \"foo\";\nimport { prop as localFoo } from \"./foo\";\nimport { prop as atFoo } from \"@/foo\";\n\nconsole.log(globalFoo, localFoo, atFoo);\n"],"names":[],"mappings":";;;;;;AAIA,QAAQ,GAAG,CAAC,mMAAA,CAAA,OAAS,EAAE,mMAAA,CAAA,OAAQ,EAAE,mMAAA,CAAA,OAAK"}}, + {"offset": {"line": 14, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 20, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/tsconfig-mod/prop.ts"],"sourcesContent":["export const prop = 1;\n"],"names":[],"mappings":";;;AAAO,MAAM,OAAO"}}, + {"offset": {"line": 24, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module/output/turbopack_crates_turbopack-tests_tests_snapshot_cff3cf._.js b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module/output/turbopack_crates_turbopack-tests_tests_snapshot_cff3cf._.js index 57e52d0221264..caea26a3a9f42 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module/output/turbopack_crates_turbopack-tests_tests_snapshot_cff3cf._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module/output/turbopack_crates_turbopack-tests_tests_snapshot_cff3cf._.js @@ -1,8 +1,10 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/turbopack_crates_turbopack-tests_tests_snapshot_cff3cf._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module/input/index.ts [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module/input/index.ts [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$node_modules$2f$tsconfig$2d$mod$2f$prop$2e$ts__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/tsconfig-mod/prop.ts [test] (ecmascript)"); "__TURBOPACK__ecmascript__hoisting__location__"; @@ -10,17 +12,17 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$node_modules$2f$tsconfig$2d$mod$2f$prop$2e$ts__$5b$test$5d$__$28$ecmascript$29$__["prop"], __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$node_modules$2f$tsconfig$2d$mod$2f$prop$2e$ts__$5b$test$5d$__$28$ecmascript$29$__["prop"], __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$node_modules$2f$tsconfig$2d$mod$2f$prop$2e$ts__$5b$test$5d$__$28$ecmascript$29$__["prop"]); - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/tsconfig-mod/prop.ts [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/tsconfig-mod/prop.ts [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "prop": ()=>prop }); const prop = 1; - -})()), +}}), }]); //# sourceMappingURL=turbopack_crates_turbopack-tests_tests_snapshot_cff3cf._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module/output/turbopack_crates_turbopack-tests_tests_snapshot_cff3cf._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module/output/turbopack_crates_turbopack-tests_tests_snapshot_cff3cf._.js.map index 08e1a028b4ae4..dda815b6e114f 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module/output/turbopack_crates_turbopack-tests_tests_snapshot_cff3cf._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module/output/turbopack_crates_turbopack-tests_tests_snapshot_cff3cf._.js.map @@ -2,8 +2,8 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module/input/index.ts"],"sourcesContent":["import { prop as globalFoo } from \"foo\";\nimport { prop as localFoo } from \"./foo\";\nimport { prop as atFoo } from \"@/foo\";\n\nconsole.log(globalFoo, localFoo, atFoo);\n"],"names":[],"mappings":";;;;;;AAIA,QAAQ,GAAG,CAAC,mMAAA,CAAA,OAAS,EAAE,mMAAA,CAAA,OAAQ,EAAE,mMAAA,CAAA,OAAK"}}, - {"offset": {"line": 12, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 17, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/tsconfig-mod/prop.ts"],"sourcesContent":["export const prop = 1;\n"],"names":[],"mappings":";;;AAAO,MAAM,OAAO"}}, - {"offset": {"line": 21, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module/input/index.ts"],"sourcesContent":["import { prop as globalFoo } from \"foo\";\nimport { prop as localFoo } from \"./foo\";\nimport { prop as atFoo } from \"@/foo\";\n\nconsole.log(globalFoo, localFoo, atFoo);\n"],"names":[],"mappings":";;;;;;AAIA,QAAQ,GAAG,CAAC,mMAAA,CAAA,OAAS,EAAE,mMAAA,CAAA,OAAQ,EAAE,mMAAA,CAAA,OAAK"}}, + {"offset": {"line": 14, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 20, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/tsconfig-mod/prop.ts"],"sourcesContent":["export const prop = 1;\n"],"names":[],"mappings":";;;AAAO,MAAM,OAAO"}}, + {"offset": {"line": 24, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-relative-dir/output/4c35f_tests_snapshot_typescript_tsconfig-extends-relative-dir_input_ef6815._.js b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-relative-dir/output/4c35f_tests_snapshot_typescript_tsconfig-extends-relative-dir_input_ef6815._.js index 24c25a1807f12..d28d89b4c012c 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-relative-dir/output/4c35f_tests_snapshot_typescript_tsconfig-extends-relative-dir_input_ef6815._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-relative-dir/output/4c35f_tests_snapshot_typescript_tsconfig-extends-relative-dir_input_ef6815._.js @@ -1,17 +1,20 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/4c35f_tests_snapshot_typescript_tsconfig-extends-relative-dir_input_ef6815._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-relative-dir/input/prop.ts [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-relative-dir/input/prop.ts [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "prop": ()=>prop }); const prop = 1; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-relative-dir/input/index.ts [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-relative-dir/input/index.ts [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$typescript$2f$tsconfig$2d$extends$2d$relative$2d$dir$2f$input$2f$prop$2e$ts__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-relative-dir/input/prop.ts [test] (ecmascript)"); "__TURBOPACK__ecmascript__hoisting__location__"; @@ -19,8 +22,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$typescript$2f$tsconfig$2d$extends$2d$relative$2d$dir$2f$input$2f$prop$2e$ts__$5b$test$5d$__$28$ecmascript$29$__["prop"], __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$typescript$2f$tsconfig$2d$extends$2d$relative$2d$dir$2f$input$2f$prop$2e$ts__$5b$test$5d$__$28$ecmascript$29$__["prop"], __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$typescript$2f$tsconfig$2d$extends$2d$relative$2d$dir$2f$input$2f$prop$2e$ts__$5b$test$5d$__$28$ecmascript$29$__["prop"]); - -})()), +}}), }]); //# sourceMappingURL=4c35f_tests_snapshot_typescript_tsconfig-extends-relative-dir_input_ef6815._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-relative-dir/output/4c35f_tests_snapshot_typescript_tsconfig-extends-relative-dir_input_ef6815._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-relative-dir/output/4c35f_tests_snapshot_typescript_tsconfig-extends-relative-dir_input_ef6815._.js.map index e698e0853234a..9c8ddf7cba295 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-relative-dir/output/4c35f_tests_snapshot_typescript_tsconfig-extends-relative-dir_input_ef6815._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-relative-dir/output/4c35f_tests_snapshot_typescript_tsconfig-extends-relative-dir_input_ef6815._.js.map @@ -2,8 +2,8 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-relative-dir/input/prop.ts"],"sourcesContent":["export const prop = 1;\n"],"names":[],"mappings":";;;AAAO,MAAM,OAAO"}}, - {"offset": {"line": 9, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 14, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-relative-dir/input/index.ts"],"sourcesContent":["import { prop as globalFoo } from \"foo\";\nimport { prop as localFoo } from \"./foo\";\nimport { prop as atFoo } from \"@/foo\";\n\nconsole.log(globalFoo, localFoo, atFoo);\n"],"names":[],"mappings":";;;;;;AAIA,QAAQ,GAAG,CAAC,iOAAA,CAAA,OAAS,EAAE,iOAAA,CAAA,OAAQ,EAAE,iOAAA,CAAA,OAAK"}}, - {"offset": {"line": 21, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-relative-dir/input/prop.ts"],"sourcesContent":["export const prop = 1;\n"],"names":[],"mappings":";;;AAAO,MAAM,OAAO"}}, + {"offset": {"line": 11, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 17, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-relative-dir/input/index.ts"],"sourcesContent":["import { prop as globalFoo } from \"foo\";\nimport { prop as localFoo } from \"./foo\";\nimport { prop as atFoo } from \"@/foo\";\n\nconsole.log(globalFoo, localFoo, atFoo);\n"],"names":[],"mappings":";;;;;;AAIA,QAAQ,GAAG,CAAC,iOAAA,CAAA,OAAS,EAAE,iOAAA,CAAA,OAAQ,EAAE,iOAAA,CAAA,OAAK"}}, + {"offset": {"line": 24, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-without-ext/output/4c35f_tests_snapshot_typescript_tsconfig-extends-without-ext_input_fcdb43._.js b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-without-ext/output/4c35f_tests_snapshot_typescript_tsconfig-extends-without-ext_input_fcdb43._.js index db3b7fa3e3213..5481c28fcc214 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-without-ext/output/4c35f_tests_snapshot_typescript_tsconfig-extends-without-ext_input_fcdb43._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-without-ext/output/4c35f_tests_snapshot_typescript_tsconfig-extends-without-ext_input_fcdb43._.js @@ -1,17 +1,20 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/4c35f_tests_snapshot_typescript_tsconfig-extends-without-ext_input_fcdb43._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-without-ext/input/prop.ts [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-without-ext/input/prop.ts [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "prop": ()=>prop }); const prop = 1; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-without-ext/input/index.ts [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-without-ext/input/index.ts [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$typescript$2f$tsconfig$2d$extends$2d$without$2d$ext$2f$input$2f$prop$2e$ts__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-without-ext/input/prop.ts [test] (ecmascript)"); "__TURBOPACK__ecmascript__hoisting__location__"; @@ -19,8 +22,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$typescript$2f$tsconfig$2d$extends$2d$without$2d$ext$2f$input$2f$prop$2e$ts__$5b$test$5d$__$28$ecmascript$29$__["prop"], __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$typescript$2f$tsconfig$2d$extends$2d$without$2d$ext$2f$input$2f$prop$2e$ts__$5b$test$5d$__$28$ecmascript$29$__["prop"], __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$typescript$2f$tsconfig$2d$extends$2d$without$2d$ext$2f$input$2f$prop$2e$ts__$5b$test$5d$__$28$ecmascript$29$__["prop"]); - -})()), +}}), }]); //# sourceMappingURL=4c35f_tests_snapshot_typescript_tsconfig-extends-without-ext_input_fcdb43._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-without-ext/output/4c35f_tests_snapshot_typescript_tsconfig-extends-without-ext_input_fcdb43._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-without-ext/output/4c35f_tests_snapshot_typescript_tsconfig-extends-without-ext_input_fcdb43._.js.map index e18557942a0c4..ee255355a8ad7 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-without-ext/output/4c35f_tests_snapshot_typescript_tsconfig-extends-without-ext_input_fcdb43._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-without-ext/output/4c35f_tests_snapshot_typescript_tsconfig-extends-without-ext_input_fcdb43._.js.map @@ -2,8 +2,8 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-without-ext/input/prop.ts"],"sourcesContent":["export const prop = 1;\n"],"names":[],"mappings":";;;AAAO,MAAM,OAAO"}}, - {"offset": {"line": 9, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 14, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-without-ext/input/index.ts"],"sourcesContent":["import { prop as globalFoo } from \"foo\";\nimport { prop as localFoo } from \"./foo\";\nimport { prop as atFoo } from \"@/foo\";\n\nconsole.log(globalFoo, localFoo, atFoo);\n"],"names":[],"mappings":";;;;;;AAIA,QAAQ,GAAG,CAAC,gOAAA,CAAA,OAAS,EAAE,gOAAA,CAAA,OAAQ,EAAE,gOAAA,CAAA,OAAK"}}, - {"offset": {"line": 21, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-without-ext/input/prop.ts"],"sourcesContent":["export const prop = 1;\n"],"names":[],"mappings":";;;AAAO,MAAM,OAAO"}}, + {"offset": {"line": 11, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 17, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-without-ext/input/index.ts"],"sourcesContent":["import { prop as globalFoo } from \"foo\";\nimport { prop as localFoo } from \"./foo\";\nimport { prop as atFoo } from \"@/foo\";\n\nconsole.log(globalFoo, localFoo, atFoo);\n"],"names":[],"mappings":";;;;;;AAIA,QAAQ,GAAG,CAAC,gOAAA,CAAA,OAAS,EAAE,gOAAA,CAAA,OAAQ,EAAE,gOAAA,CAAA,OAAK"}}, + {"offset": {"line": 24, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends/output/4e721_crates_turbopack-tests_tests_snapshot_typescript_tsconfig-extends_input_39e687._.js b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends/output/4e721_crates_turbopack-tests_tests_snapshot_typescript_tsconfig-extends_input_39e687._.js index ab26fa2eacef6..24e0ec28a222a 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends/output/4e721_crates_turbopack-tests_tests_snapshot_typescript_tsconfig-extends_input_39e687._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends/output/4e721_crates_turbopack-tests_tests_snapshot_typescript_tsconfig-extends_input_39e687._.js @@ -1,17 +1,20 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push(["output/4e721_crates_turbopack-tests_tests_snapshot_typescript_tsconfig-extends_input_39e687._.js", { -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends/input/prop.ts [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends/input/prop.ts [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({ "prop": ()=>prop }); const prop = 1; - -})()), -"[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends/input/index.ts [test] (ecmascript)": (({ r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname }) => (() => { +}}), +"[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends/input/index.ts [test] (ecmascript)": ((__turbopack_context__) => { "use strict"; +var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, n: __turbopack_export_namespace__, c: __turbopack_cache__, M: __turbopack_modules__, l: __turbopack_load__, j: __turbopack_dynamic__, P: __turbopack_resolve_absolute_path__, U: __turbopack_relative_url__, R: __turbopack_resolve_module_id_path__, b: __turbopack_worker_blob_url__, g: global, __dirname, z: require } = __turbopack_context__; +{ __turbopack_esm__({}); var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$typescript$2f$tsconfig$2d$extends$2f$input$2f$prop$2e$ts__$5b$test$5d$__$28$ecmascript$29$__ = __turbopack_import__("[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends/input/prop.ts [test] (ecmascript)"); "__TURBOPACK__ecmascript__hoisting__location__"; @@ -19,8 +22,7 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ; ; console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$typescript$2f$tsconfig$2d$extends$2f$input$2f$prop$2e$ts__$5b$test$5d$__$28$ecmascript$29$__["prop"], __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$typescript$2f$tsconfig$2d$extends$2f$input$2f$prop$2e$ts__$5b$test$5d$__$28$ecmascript$29$__["prop"], __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$typescript$2f$tsconfig$2d$extends$2f$input$2f$prop$2e$ts__$5b$test$5d$__$28$ecmascript$29$__["prop"]); - -})()), +}}), }]); //# sourceMappingURL=4e721_crates_turbopack-tests_tests_snapshot_typescript_tsconfig-extends_input_39e687._.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends/output/4e721_crates_turbopack-tests_tests_snapshot_typescript_tsconfig-extends_input_39e687._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends/output/4e721_crates_turbopack-tests_tests_snapshot_typescript_tsconfig-extends_input_39e687._.js.map index 26eb86b19d33d..1fe2ff58f73f1 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends/output/4e721_crates_turbopack-tests_tests_snapshot_typescript_tsconfig-extends_input_39e687._.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends/output/4e721_crates_turbopack-tests_tests_snapshot_typescript_tsconfig-extends_input_39e687._.js.map @@ -2,8 +2,8 @@ "version": 3, "sources": [], "sections": [ - {"offset": {"line": 5, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends/input/prop.ts"],"sourcesContent":["export const prop = 1;\n"],"names":[],"mappings":";;;AAAO,MAAM,OAAO"}}, - {"offset": {"line": 9, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, - {"offset": {"line": 14, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends/input/index.ts"],"sourcesContent":["import { prop as globalFoo } from \"foo\";\nimport { prop as localFoo } from \"./foo\";\nimport { prop as atFoo } from \"@/foo\";\n\nconsole.log(globalFoo, localFoo, atFoo);\n"],"names":[],"mappings":";;;;;;AAIA,QAAQ,GAAG,CAAC,8MAAA,CAAA,OAAS,EAAE,8MAAA,CAAA,OAAQ,EAAE,8MAAA,CAAA,OAAK"}}, - {"offset": {"line": 21, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] + {"offset": {"line": 7, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends/input/prop.ts"],"sourcesContent":["export const prop = 1;\n"],"names":[],"mappings":";;;AAAO,MAAM,OAAO"}}, + {"offset": {"line": 11, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}, + {"offset": {"line": 17, "column": 0}, "map": {"version":3,"sources":["turbopack://[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends/input/index.ts"],"sourcesContent":["import { prop as globalFoo } from \"foo\";\nimport { prop as localFoo } from \"./foo\";\nimport { prop as atFoo } from \"@/foo\";\n\nconsole.log(globalFoo, localFoo, atFoo);\n"],"names":[],"mappings":";;;;;;AAIA,QAAQ,GAAG,CAAC,8MAAA,CAAA,OAAS,EAAE,8MAAA,CAAA,OAAQ,EAAE,8MAAA,CAAA,OAAK"}}, + {"offset": {"line": 24, "column": 0}, "map": {"version":3,"sources":[],"names":[],"mappings":"A"}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-wasm/src/loader.rs b/turbopack/crates/turbopack-wasm/src/loader.rs index 1a16107aaf960..661e304348d49 100644 --- a/turbopack/crates/turbopack-wasm/src/loader.rs +++ b/turbopack/crates/turbopack-wasm/src/loader.rs @@ -62,7 +62,7 @@ pub(crate) async fn instantiating_loader_source( /// Create a javascript loader to compile the WebAssembly module and export it /// without instantiating. #[turbo_tasks::function] -pub(crate) async fn compiling_loader_source( +pub(crate) fn compiling_loader_source( source: Vc, ) -> Result>> { let code: RcStr = formatdoc! { diff --git a/turbopack/crates/turbopack-wasm/src/module_asset.rs b/turbopack/crates/turbopack-wasm/src/module_asset.rs index da3381b6923e4..9475f5f030017 100644 --- a/turbopack/crates/turbopack-wasm/src/module_asset.rs +++ b/turbopack/crates/turbopack-wasm/src/module_asset.rs @@ -117,7 +117,7 @@ impl Module for WebAssemblyModuleAsset { } #[turbo_tasks::function] - async fn references(self: Vc) -> Vc { + fn references(self: Vc) -> Vc { self.loader().references() } } @@ -133,7 +133,7 @@ impl Asset for WebAssemblyModuleAsset { #[turbo_tasks::value_impl] impl ChunkableModule for WebAssemblyModuleAsset { #[turbo_tasks::function] - async fn as_chunk_item( + fn as_chunk_item( self: Vc, chunking_context: Vc>, ) -> Result>> { @@ -192,7 +192,7 @@ impl ChunkItem for ModuleChunkItem { } #[turbo_tasks::function] - async fn references(&self) -> Result> { + fn references(&self) -> Result> { let loader = self .module .loader() @@ -202,7 +202,7 @@ impl ChunkItem for ModuleChunkItem { } #[turbo_tasks::function] - async fn chunking_context(&self) -> Vc> { + fn chunking_context(&self) -> Vc> { Vc::upcast(self.chunking_context) } diff --git a/turbopack/crates/turbopack-wasm/src/output_asset.rs b/turbopack/crates/turbopack-wasm/src/output_asset.rs index d09ded683e061..19d0d60132a52 100644 --- a/turbopack/crates/turbopack-wasm/src/output_asset.rs +++ b/turbopack/crates/turbopack-wasm/src/output_asset.rs @@ -40,7 +40,7 @@ impl WebAssemblyAsset { #[turbo_tasks::value_impl] impl OutputAsset for WebAssemblyAsset { #[turbo_tasks::function] - async fn ident(&self) -> Result> { + fn ident(&self) -> Result> { let ident = self.source.ident().with_modifier(modifier()); let asset_path = self.chunking_context.chunk_path(ident, ".wasm".into()); diff --git a/turbopack/crates/turbopack-wasm/src/raw.rs b/turbopack/crates/turbopack-wasm/src/raw.rs index 44301c0abca22..fc2e0d0e162c0 100644 --- a/turbopack/crates/turbopack-wasm/src/raw.rs +++ b/turbopack/crates/turbopack-wasm/src/raw.rs @@ -74,7 +74,7 @@ impl Asset for RawWebAssemblyModuleAsset { #[turbo_tasks::value_impl] impl ChunkableModule for RawWebAssemblyModuleAsset { #[turbo_tasks::function] - async fn as_chunk_item( + fn as_chunk_item( self: Vc, chunking_context: Vc>, ) -> Result>> { @@ -120,7 +120,7 @@ impl ChunkItem for RawModuleChunkItem { } #[turbo_tasks::function] - async fn chunking_context(&self) -> Vc> { + fn chunking_context(&self) -> Vc> { Vc::upcast(self.chunking_context) } diff --git a/turbopack/crates/turbopack/src/lib.rs b/turbopack/crates/turbopack/src/lib.rs index 79278443855a4..6ed1f95e2015f 100644 --- a/turbopack/crates/turbopack/src/lib.rs +++ b/turbopack/crates/turbopack/src/lib.rs @@ -368,18 +368,18 @@ impl ModuleAssetContext { } #[turbo_tasks::function] - pub async fn module_options_context(self: Vc) -> Result> { - Ok(self.await?.module_options_context) + pub fn module_options_context(&self) -> Result> { + Ok(self.module_options_context) } #[turbo_tasks::function] - pub async fn resolve_options_context(self: Vc) -> Result> { - Ok(self.await?.resolve_options_context) + pub fn resolve_options_context(&self) -> Result> { + Ok(self.resolve_options_context) } #[turbo_tasks::function] - pub async fn is_types_resolving_enabled(self: Vc) -> Result> { - let resolve_options_context = self.await?.resolve_options_context.await?; + pub async fn is_types_resolving_enabled(&self) -> Result> { + let resolve_options_context = self.resolve_options_context.await?; Ok(Vc::cell( resolve_options_context.enable_types && resolve_options_context.enable_typescript, )) @@ -769,12 +769,8 @@ impl AssetContext for ModuleAssetContext { } #[turbo_tasks::function] - async fn side_effect_free_packages(self: Vc) -> Result> { - let pkgs = &*self - .await? - .module_options_context - .await? - .side_effect_free_packages; + async fn side_effect_free_packages(&self) -> Result> { + let pkgs = &*self.module_options_context.await?.side_effect_free_packages; let mut globs = Vec::with_capacity(pkgs.len()); @@ -787,7 +783,7 @@ impl AssetContext for ModuleAssetContext { } #[turbo_tasks::function] -pub async fn emit_with_completion( +pub fn emit_with_completion( asset: Vc>, output_dir: Vc, ) -> Vc { @@ -795,7 +791,7 @@ pub async fn emit_with_completion( } #[turbo_tasks::function] -async fn emit_assets_aggregated( +fn emit_assets_aggregated( asset: Vc>, output_dir: Vc, ) -> Vc { @@ -820,7 +816,7 @@ async fn emit_aggregated_assets( } #[turbo_tasks::function] -pub async fn emit_asset(asset: Vc>) -> Vc { +pub fn emit_asset(asset: Vc>) -> Vc { asset.content().write(asset.ident().path()) } diff --git a/turbopack/crates/turbopack/src/transition/context_transition.rs b/turbopack/crates/turbopack/src/transition/context_transition.rs index a69ebfab68857..6509f7f05b8fa 100644 --- a/turbopack/crates/turbopack/src/transition/context_transition.rs +++ b/turbopack/crates/turbopack/src/transition/context_transition.rs @@ -17,7 +17,7 @@ pub struct ContextTransition { #[turbo_tasks::value_impl] impl ContextTransition { #[turbo_tasks::function] - pub async fn new( + pub fn new( compile_time_info: Vc, module_options_context: Vc, resolve_options_context: Vc, diff --git a/turbopack/crates/turbopack/src/transition/full_context_transition.rs b/turbopack/crates/turbopack/src/transition/full_context_transition.rs index a479e998f2814..79e431aa7dfe0 100644 --- a/turbopack/crates/turbopack/src/transition/full_context_transition.rs +++ b/turbopack/crates/turbopack/src/transition/full_context_transition.rs @@ -12,7 +12,7 @@ pub struct FullContextTransition { #[turbo_tasks::value_impl] impl FullContextTransition { #[turbo_tasks::function] - pub async fn new(module_context: Vc) -> Result> { + pub fn new(module_context: Vc) -> Result> { Ok(FullContextTransition { module_context }.cell()) } }