diff --git a/dist/index.js b/dist/index.js index b8c76e1..4d7e532 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,3 +1,3 @@ import{createRequire as e}from"module";var t={4914:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;var s=Object.getOwnPropertyDescriptor(t,r);if(!s||("get"in s?!t.__esModule:s.writable||s.configurable)){s={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,n,s)}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))n(t,e,r);s(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.issue=t.issueCommand=void 0;const i=o(r(857));const a=r(302);function issueCommand(e,t,r){const n=new Command(e,t,r);process.stdout.write(n.toString()+i.EOL)}t.issueCommand=issueCommand;function issue(e,t=""){issueCommand(e,{},t)}t.issue=issue;const A="::";class Command{constructor(e,t,r){if(!e){e="missing.command"}this.command=e;this.properties=t;this.message=r}toString(){let e=A+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let t=true;for(const r in this.properties){if(this.properties.hasOwnProperty(r)){const n=this.properties[r];if(n){if(t){t=false}else{e+=","}e+=`${r}=${escapeProperty(n)}`}}}}e+=`${A}${escapeData(this.message)}`;return e}}function escapeData(e){return(0,a.toCommandValue)(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(e){return(0,a.toCommandValue)(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},7484:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;var s=Object.getOwnPropertyDescriptor(t,r);if(!s||("get"in s?!t.__esModule:s.writable||s.configurable)){s={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,n,s)}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))n(t,e,r);s(t,e);return t};var i=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.platform=t.toPlatformPath=t.toWin32Path=t.toPosixPath=t.markdownSummary=t.summary=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=r(4914);const A=r(4753);const c=r(302);const u=o(r(857));const l=o(r(6928));const p=r(5306);var d;(function(e){e[e["Success"]=0]="Success";e[e["Failure"]=1]="Failure"})(d||(t.ExitCode=d={}));function exportVariable(e,t){const r=(0,c.toCommandValue)(t);process.env[e]=r;const n=process.env["GITHUB_ENV"]||"";if(n){return(0,A.issueFileCommand)("ENV",(0,A.prepareKeyValueMessage)(e,t))}(0,a.issueCommand)("set-env",{name:e},r)}t.exportVariable=exportVariable;function setSecret(e){(0,a.issueCommand)("add-mask",{},e)}t.setSecret=setSecret;function addPath(e){const t=process.env["GITHUB_PATH"]||"";if(t){(0,A.issueFileCommand)("PATH",e)}else{(0,a.issueCommand)("add-path",{},e)}process.env["PATH"]=`${e}${l.delimiter}${process.env["PATH"]}`}t.addPath=addPath;function getInput(e,t){const r=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!r){throw new Error(`Input required and not supplied: ${e}`)}if(t&&t.trimWhitespace===false){return r}return r.trim()}t.getInput=getInput;function getMultilineInput(e,t){const r=getInput(e,t).split("\n").filter((e=>e!==""));if(t&&t.trimWhitespace===false){return r}return r.map((e=>e.trim()))}t.getMultilineInput=getMultilineInput;function getBooleanInput(e,t){const r=["true","True","TRUE"];const n=["false","False","FALSE"];const s=getInput(e,t);if(r.includes(s))return true;if(n.includes(s))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 r=process.env["GITHUB_OUTPUT"]||"";if(r){return(0,A.issueFileCommand)("OUTPUT",(0,A.prepareKeyValueMessage)(e,t))}process.stdout.write(u.EOL);(0,a.issueCommand)("set-output",{name:e},(0,c.toCommandValue)(t))}t.setOutput=setOutput;function setCommandEcho(e){(0,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){(0,a.issueCommand)("debug",{},e)}t.debug=debug;function error(e,t={}){(0,a.issueCommand)("error",(0,c.toCommandProperties)(t),e instanceof Error?e.toString():e)}t.error=error;function warning(e,t={}){(0,a.issueCommand)("warning",(0,c.toCommandProperties)(t),e instanceof Error?e.toString():e)}t.warning=warning;function notice(e,t={}){(0,a.issueCommand)("notice",(0,c.toCommandProperties)(t),e instanceof Error?e.toString():e)}t.notice=notice;function info(e){process.stdout.write(e+u.EOL)}t.info=info;function startGroup(e){(0,a.issue)("group",e)}t.startGroup=startGroup;function endGroup(){(0,a.issue)("endgroup")}t.endGroup=endGroup;function group(e,t){return i(this,void 0,void 0,(function*(){startGroup(e);let r;try{r=yield t()}finally{endGroup()}return r}))}t.group=group;function saveState(e,t){const r=process.env["GITHUB_STATE"]||"";if(r){return(0,A.issueFileCommand)("STATE",(0,A.prepareKeyValueMessage)(e,t))}(0,a.issueCommand)("save-state",{name:e},(0,c.toCommandValue)(t))}t.saveState=saveState;function getState(e){return process.env[`STATE_${e}`]||""}t.getState=getState;function getIDToken(e){return i(this,void 0,void 0,(function*(){return yield p.OidcClient.getIDToken(e)}))}t.getIDToken=getIDToken;var g=r(1847);Object.defineProperty(t,"summary",{enumerable:true,get:function(){return g.summary}});var h=r(1847);Object.defineProperty(t,"markdownSummary",{enumerable:true,get:function(){return h.markdownSummary}});var E=r(1976);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}});t.platform=o(r(8968))},4753:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;var s=Object.getOwnPropertyDescriptor(t,r);if(!s||("get"in s?!t.__esModule:s.writable||s.configurable)){s={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,n,s)}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))n(t,e,r);s(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.prepareKeyValueMessage=t.issueFileCommand=void 0;const i=o(r(6982));const a=o(r(9896));const A=o(r(857));const c=r(302);function issueFileCommand(e,t){const r=process.env[`GITHUB_${e}`];if(!r){throw new Error(`Unable to find environment variable for file command ${e}`)}if(!a.existsSync(r)){throw new Error(`Missing file at path: ${r}`)}a.appendFileSync(r,`${(0,c.toCommandValue)(t)}${A.EOL}`,{encoding:"utf8"})}t.issueFileCommand=issueFileCommand;function prepareKeyValueMessage(e,t){const r=`ghadelimiter_${i.randomUUID()}`;const n=(0,c.toCommandValue)(t);if(e.includes(r)){throw new Error(`Unexpected input: name should not contain the delimiter "${r}"`)}if(n.includes(r)){throw new Error(`Unexpected input: value should not contain the delimiter "${r}"`)}return`${e}<<${r}${A.EOL}${n}${A.EOL}${r}`}t.prepareKeyValueMessage=prepareKeyValueMessage},5306:function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.OidcClient=void 0;const s=r(4844);const o=r(4552);const i=r(7484);class OidcClient{static createHttpClient(e=true,t=10){const r={allowRetries:e,maxRetries:t};return new s.HttpClient("actions/oidc-client",[new o.BearerCredentialHandler(OidcClient.getRequestToken())],r)}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 n(this,void 0,void 0,(function*(){const r=OidcClient.createHttpClient();const n=yield r.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 s=(t=n.result)===null||t===void 0?void 0:t.value;if(!s){throw new Error("Response json body do not have ID Token field")}return s}))}static getIDToken(e){return n(this,void 0,void 0,(function*(){try{let t=OidcClient.getIDTokenUrl();if(e){const r=encodeURIComponent(e);t=`${t}&audience=${r}`}(0,i.debug)(`ID token url is ${t}`);const r=yield OidcClient.getCall(t);(0,i.setSecret)(r);return r}catch(e){throw new Error(`Error message: ${e.message}`)}}))}}t.OidcClient=OidcClient},1976:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;var s=Object.getOwnPropertyDescriptor(t,r);if(!s||("get"in s?!t.__esModule:s.writable||s.configurable)){s={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,n,s)}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))n(t,e,r);s(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.toPlatformPath=t.toWin32Path=t.toPosixPath=void 0;const i=o(r(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,i.sep)}t.toPlatformPath=toPlatformPath},8968:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;var s=Object.getOwnPropertyDescriptor(t,r);if(!s||("get"in s?!t.__esModule:s.writable||s.configurable)){s={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,n,s)}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))n(t,e,r);s(t,e);return t};var i=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.getDetails=t.isLinux=t.isMacOS=t.isWindows=t.arch=t.platform=void 0;const A=a(r(857));const c=o(r(5236));const getWindowsInfo=()=>i(void 0,void 0,void 0,(function*(){const{stdout:e}=yield c.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',undefined,{silent:true});const{stdout:t}=yield c.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',undefined,{silent:true});return{name:t.trim(),version:e.trim()}}));const getMacOsInfo=()=>i(void 0,void 0,void 0,(function*(){var e,t,r,n;const{stdout:s}=yield c.getExecOutput("sw_vers",undefined,{silent:true});const o=(t=(e=s.match(/ProductVersion:\s*(.+)/))===null||e===void 0?void 0:e[1])!==null&&t!==void 0?t:"";const i=(n=(r=s.match(/ProductName:\s*(.+)/))===null||r===void 0?void 0:r[1])!==null&&n!==void 0?n:"";return{name:i,version:o}}));const getLinuxInfo=()=>i(void 0,void 0,void 0,(function*(){const{stdout:e}=yield c.getExecOutput("lsb_release",["-i","-r","-s"],{silent:true});const[t,r]=e.trim().split("\n");return{name:t,version:r}}));t.platform=A.default.platform();t.arch=A.default.arch();t.isWindows=t.platform==="win32";t.isMacOS=t.platform==="darwin";t.isLinux=t.platform==="linux";function getDetails(){return i(this,void 0,void 0,(function*(){return Object.assign(Object.assign({},yield t.isWindows?getWindowsInfo():t.isMacOS?getMacOsInfo():getLinuxInfo()),{platform:t.platform,arch:t.arch,isWindows:t.isWindows,isMacOS:t.isMacOS,isLinux:t.isLinux})}))}t.getDetails=getDetails},1847:function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.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 s=r(857);const o=r(9896);const{access:i,appendFile:a,writeFile:A}=o.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 n(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 i(e,o.constants.R_OK|o.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,r={}){const n=Object.entries(r).map((([e,t])=>` ${e}="${t}"`)).join("");if(!t){return`<${e}${n}>`}return`<${e}${n}>${t}`}write(e){return n(this,void 0,void 0,(function*(){const t=!!(e===null||e===void 0?void 0:e.overwrite);const r=yield this.filePath();const n=t?A:a;yield n(r,this._buffer,{encoding:"utf8"});return this.emptyBuffer()}))}clear(){return n(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(s.EOL)}addCodeBlock(e,t){const r=Object.assign({},t&&{lang:t});const n=this.wrap("pre",this.wrap("code",e),r);return this.addRaw(n).addEOL()}addList(e,t=false){const r=t?"ol":"ul";const n=e.map((e=>this.wrap("li",e))).join("");const s=this.wrap(r,n);return this.addRaw(s).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:r,colspan:n,rowspan:s}=e;const o=t?"th":"td";const i=Object.assign(Object.assign({},n&&{colspan:n}),s&&{rowspan:s});return this.wrap(o,r,i)})).join("");return this.wrap("tr",t)})).join("");const r=this.wrap("table",t);return this.addRaw(r).addEOL()}addDetails(e,t){const r=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(r).addEOL()}addImage(e,t,r){const{width:n,height:s}=r||{};const o=Object.assign(Object.assign({},n&&{width:n}),s&&{height:s});const i=this.wrap("img",null,Object.assign({src:e,alt:t},o));return this.addRaw(i).addEOL()}addHeading(e,t){const r=`h${t}`;const n=["h1","h2","h3","h4","h5","h6"].includes(r)?r:"h1";const s=this.wrap(n,e);return this.addRaw(s).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 r=Object.assign({},t&&{cite:t});const n=this.wrap("blockquote",e,r);return this.addRaw(n).addEOL()}addLink(e,t){const r=this.wrap("a",e,{href:t});return this.addRaw(r).addEOL()}}const c=new Summary;t.markdownSummary=c;t.summary=c},302:(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},5236:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))n(t,e,r);s(t,e);return t};var i=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.getExecOutput=t.exec=void 0;const a=r(3193);const A=o(r(6665));function exec(e,t,r){return i(this,void 0,void 0,(function*(){const n=A.argStringToArray(e);if(n.length===0){throw new Error(`Parameter 'commandLine' cannot be null or empty.`)}const s=n[0];t=n.slice(1).concat(t||[]);const o=new A.ToolRunner(s,t,r);return o.exec()}))}t.exec=exec;function getExecOutput(e,t,r){var n,s;return i(this,void 0,void 0,(function*(){let o="";let i="";const A=new a.StringDecoder("utf8");const c=new a.StringDecoder("utf8");const u=(n=r===null||r===void 0?void 0:r.listeners)===null||n===void 0?void 0:n.stdout;const l=(s=r===null||r===void 0?void 0:r.listeners)===null||s===void 0?void 0:s.stderr;const stdErrListener=e=>{i+=c.write(e);if(l){l(e)}};const stdOutListener=e=>{o+=A.write(e);if(u){u(e)}};const p=Object.assign(Object.assign({},r===null||r===void 0?void 0:r.listeners),{stdout:stdOutListener,stderr:stdErrListener});const d=yield exec(e,t,Object.assign(Object.assign({},r),{listeners:p}));o+=A.end();i+=c.end();return{exitCode:d,stdout:o,stderr:i}}))}t.getExecOutput=getExecOutput},6665:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))n(t,e,r);s(t,e);return t};var i=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.argStringToArray=t.ToolRunner=void 0;const a=o(r(857));const A=o(r(4434));const c=o(r(5317));const u=o(r(6928));const l=o(r(4994));const p=o(r(5207));const d=r(3557);const g=process.platform==="win32";class ToolRunner extends A.EventEmitter{constructor(e,t,r){super();if(!e){throw new Error("Parameter 'toolPath' cannot be null or empty.")}this.toolPath=e;this.args=t||[];this.options=r||{}}_debug(e){if(this.options.listeners&&this.options.listeners.debug){this.options.listeners.debug(e)}}_getCommandString(e,t){const r=this._getSpawnFileName();const n=this._getSpawnArgs(e);let s=t?"":"[command]";if(g){if(this._isCmdFile()){s+=r;for(const e of n){s+=` ${e}`}}else if(e.windowsVerbatimArguments){s+=`"${r}"`;for(const e of n){s+=` ${e}`}}else{s+=this._windowsQuoteCmdArg(r);for(const e of n){s+=` ${this._windowsQuoteCmdArg(e)}`}}}else{s+=r;for(const e of n){s+=` ${e}`}}return s}_processLineBuffer(e,t,r){try{let n=t+e.toString();let s=n.indexOf(a.EOL);while(s>-1){const e=n.substring(0,s);r(e);n=n.substring(s+a.EOL.length);s=n.indexOf(a.EOL)}return n}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 r of this.args){t+=" ";t+=e.windowsVerbatimArguments?r:this._windowsQuoteCmdArg(r)}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 r=false;for(const n of e){if(t.some((e=>e===n))){r=true;break}}if(!r){return e}let n='"';let s=true;for(let t=e.length;t>0;t--){n+=e[t-1];if(s&&e[t-1]==="\\"){n+="\\"}else if(e[t-1]==='"'){s=true;n+='"'}else{s=false}}n+='"';return n.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 r=true;for(let n=e.length;n>0;n--){t+=e[n-1];if(r&&e[n-1]==="\\"){t+="\\"}else if(e[n-1]==='"'){r=true;t+="\\"}else{r=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 r={};r.cwd=e.cwd;r.env=e.env;r["windowsVerbatimArguments"]=e.windowsVerbatimArguments||this._isCmdFile();if(e.windowsVerbatimArguments){r.argv0=`"${t}"`}return r}exec(){return i(this,void 0,void 0,(function*(){if(!p.isRooted(this.toolPath)&&(this.toolPath.includes("/")||g&&this.toolPath.includes("\\"))){this.toolPath=u.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)}this.toolPath=yield l.which(this.toolPath,true);return new Promise(((e,t)=>i(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 r=this._cloneExecOptions(this.options);if(!r.silent&&r.outStream){r.outStream.write(this._getCommandString(r)+a.EOL)}const n=new ExecState(r,this.toolPath);n.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 s=this._getSpawnFileName();const o=c.spawn(s,this._getSpawnArgs(r),this._getSpawnOptions(this.options,s));let i="";if(o.stdout){o.stdout.on("data",(e=>{if(this.options.listeners&&this.options.listeners.stdout){this.options.listeners.stdout(e)}if(!r.silent&&r.outStream){r.outStream.write(e)}i=this._processLineBuffer(e,i,(e=>{if(this.options.listeners&&this.options.listeners.stdline){this.options.listeners.stdline(e)}}))}))}let A="";if(o.stderr){o.stderr.on("data",(e=>{n.processStderr=true;if(this.options.listeners&&this.options.listeners.stderr){this.options.listeners.stderr(e)}if(!r.silent&&r.errStream&&r.outStream){const t=r.failOnStdErr?r.errStream:r.outStream;t.write(e)}A=this._processLineBuffer(e,A,(e=>{if(this.options.listeners&&this.options.listeners.errline){this.options.listeners.errline(e)}}))}))}o.on("error",(e=>{n.processError=e.message;n.processExited=true;n.processClosed=true;n.CheckComplete()}));o.on("exit",(e=>{n.processExitCode=e;n.processExited=true;this._debug(`Exit code ${e} received from tool '${this.toolPath}'`);n.CheckComplete()}));o.on("close",(e=>{n.processExitCode=e;n.processExited=true;n.processClosed=true;this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);n.CheckComplete()}));n.on("done",((r,n)=>{if(i.length>0){this.emit("stdline",i)}if(A.length>0){this.emit("errline",A)}o.removeAllListeners();if(r){t(r)}else{e(n)}}));if(this.options.input){if(!o.stdin){throw new Error("child process missing stdin")}o.stdin.end(this.options.input)}}))))}))}}t.ToolRunner=ToolRunner;function argStringToArray(e){const t=[];let r=false;let n=false;let s="";function append(e){if(n&&e!=='"'){s+="\\"}s+=e;n=false}for(let o=0;o0){t.push(s);s=""}continue}append(i)}if(s.length>0){t.push(s.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()}}},1648:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.Context=void 0;const n=r(9896);const s=r(857);class Context{constructor(){var e,t,r;this.payload={};if(process.env.GITHUB_EVENT_PATH){if((0,n.existsSync)(process.env.GITHUB_EVENT_PATH)){this.payload=JSON.parse((0,n.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${s.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=(r=process.env.GITHUB_GRAPHQL_URL)!==null&&r!==void 0?r:`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},3228:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;var s=Object.getOwnPropertyDescriptor(t,r);if(!s||("get"in s?!t.__esModule:s.writable||s.configurable)){s={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,n,s)}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))n(t,e,r);s(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.getOctokit=t.context=void 0;const i=o(r(1648));const a=r(8006);t.context=new i.Context;function getOctokit(e,t,...r){const n=a.GitHub.plugin(...r);return new n((0,a.getOctokitOptions)(e,t))}t.getOctokit=getOctokit},5156:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;var s=Object.getOwnPropertyDescriptor(t,r);if(!s||("get"in s?!t.__esModule:s.writable||s.configurable)){s={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,n,s)}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))n(t,e,r);s(t,e);return t};var i=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.getApiBaseUrl=t.getProxyFetch=t.getProxyAgentDispatcher=t.getProxyAgent=t.getAuthString=void 0;const a=o(r(4844));const A=r(6752);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,r)=>i(this,void 0,void 0,(function*(){return(0,A.fetch)(e,Object.assign(Object.assign({},r),{dispatcher:t}))}));return proxyFetch}t.getProxyFetch=getProxyFetch;function getApiBaseUrl(){return process.env["GITHUB_API_URL"]||"https://api.github.com"}t.getApiBaseUrl=getApiBaseUrl},8006:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;var s=Object.getOwnPropertyDescriptor(t,r);if(!s||("get"in s?!t.__esModule:s.writable||s.configurable)){s={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,n,s)}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))n(t,e,r);s(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.getOctokitOptions=t.GitHub=t.defaults=t.context=void 0;const i=o(r(1648));const a=o(r(5156));const A=r(8452);const c=r(5726);const u=r(7731);t.context=new i.Context;const l=a.getApiBaseUrl();t.defaults={baseUrl:l,request:{agent:a.getProxyAgent(l),fetch:a.getProxyFetch(l)}};t.GitHub=A.Octokit.plugin(c.restEndpointMethods,u.paginateRest).defaults(t.defaults);function getOctokitOptions(e,t){const r=Object.assign({},t||{});const n=a.getAuthString(e,r);if(n){r.auth=n}return r}t.getOctokitOptions=getOctokitOptions},8452:(e,t,r)=>{var n=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var o=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of o(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=s(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{Octokit:()=>m});e.exports=__toCommonJS(a);var A=r(9071);var c=r(6256);var u=r(9755);var l=r(9699);var p=r(3844);var d="5.2.0";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 r=t[0]||{};if(typeof e==="function"){super(e(r));return}super(Object.assign({},e,r,r.userAgent&&e.userAgent?{userAgent:`${r.userAgent} ${e.userAgent}`}:null))}};return t}static{this.plugins=[]}static plugin(...e){const t=this.plugins;const r=class extends(this){static{this.plugins=t.concat(e.filter((e=>!t.includes(e))))}};return r}constructor(e={}){const t=new c.Collection;const r={baseUrl:u.request.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},e.request,{hook:t.bind(null,"request")}),mediaType:{previews:[],format:""}};r.headers["user-agent"]=e.userAgent?`${e.userAgent} ${E}`:E;if(e.baseUrl){r.baseUrl=e.baseUrl}if(e.previews){r.mediaType.previews=e.previews}if(e.timeZone){r.headers["time-zone"]=e.timeZone}this.request=u.request.defaults(r);this.graphql=(0,l.withCustomRequest)(this.request).defaults(r);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 r=(0,p.createTokenAuth)(e.auth);t.wrap("request",r.hook);this.auth=r}}else{const{authStrategy:r,...n}=e;const s=r(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:n},e.auth));t.wrap("request",s.hook);this.auth=s}const n=this.constructor;for(let t=0;t{var t=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var s=Object.prototype.hasOwnProperty;var __export=(e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,o,i,a)=>{if(o&&typeof o==="object"||typeof o==="function"){for(let A of n(o))if(!s.call(e,A)&&A!==i)t(e,A,{get:()=>o[A],enumerable:!(a=r(o,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var o={};__export(o,{createTokenAuth:()=>c});e.exports=__toCommonJS(o);var i=/^v1\./;var a=/^ghs_/;var A=/^ghu_/;async function auth(e){const t=e.split(/\./).length===3;const r=i.test(e)||a.test(e);const n=A.test(e);const s=t?"app":r?"installation":n?"user-to-server":"oauth";return{type:"token",token:e,tokenType:s}}function withAuthorizationPrefix(e){if(e.split(/\./).length===3){return`bearer ${e}`}return`token ${e}`}async function hook(e,t,r,n){const s=t.endpoint.merge(r,n);s.headers.authorization=withAuthorizationPrefix(e);return t(s)}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},9699:(e,t,r)=>{var n=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var o=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of o(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=s(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{GraphqlResponseError:()=>d,graphql:()=>m,withCustomRequest:()=>withCustomRequest});e.exports=__toCommonJS(a);var A=r(9755);var c=r(9071);var u="7.1.0";var l=r(9755);var p=r(9755);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,r){super(_buildMessageForResponseErrors(r));this.request=e;this.headers=t;this.response=r;this.name="GraphqlResponseError";this.errors=r.errors;this.data=r.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,r){if(r){if(typeof t==="string"&&"query"in r){return Promise.reject(new Error(`[@octokit/graphql] "query" cannot be used as variable name`))}for(const e in r){if(!h.includes(e))continue;return Promise.reject(new Error(`[@octokit/graphql] "${e}" cannot be used as variable name`))}}const n=typeof t==="string"?Object.assign({query:t},r):t;const s=Object.keys(n).reduce(((e,t)=>{if(g.includes(t)){e[t]=n[t];return e}if(!e.variables){e.variables={}}e.variables[t]=n[t];return e}),{});const o=n.baseUrl||e.endpoint.DEFAULTS.baseUrl;if(E.test(o)){s.url=o.replace(E,"/api/graphql")}return e(s).then((e=>{if(e.data.errors){const t={};for(const r of Object.keys(e.headers)){t[r]=e.headers[r]}throw new d(s,t,e.data)}return e.data.data}))}function withDefaults(e,t){const r=e.defaults(t);const newApi=(e,t)=>graphql(r,e,t);return Object.assign(newApi,{defaults:withDefaults.bind(null,r),endpoint:r.endpoint})}var m=withDefaults(A.request,{headers:{"user-agent":`octokit-graphql.js/${u} ${(0,c.getUserAgent)()}`},method:"POST",url:"/graphql"});function withCustomRequest(e){return withDefaults(e,{method:"POST",url:"/graphql"})}0&&0},8688:(e,t,r)=>{var n=Object.create;var s=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var a=Object.getPrototypeOf;var A=Object.prototype.hasOwnProperty;var __export=(e,t)=>{for(var r in t)s(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,n)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let a of i(t))if(!A.call(e,a)&&a!==r)s(e,a,{get:()=>t[a],enumerable:!(n=o(t,a))||n.enumerable})}return e};var __toESM=(e,t,r)=>(r=e!=null?n(a(e)):{},__copyProps(t||!e||!e.__esModule?s(r,"default",{value:e,enumerable:true}):r,e));var __toCommonJS=e=>__copyProps(s({},"__esModule",{value:true}),e);var c={};__export(c,{RequestError:()=>g});e.exports=__toCommonJS(c);var u=r(4150);var l=__toESM(r(5560));var p=(0,l.default)((e=>console.warn(e)));var d=(0,l.default)((e=>console.warn(e)));var g=class extends Error{constructor(e,t,r){super(e);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="HttpError";this.status=t;let n;if("headers"in r&&typeof r.headers!=="undefined"){n=r.headers}if("response"in r){this.response=r.response;n=r.response.headers}const s=Object.assign({},r.request);if(r.request.headers.authorization){s.headers=Object.assign({},r.request.headers,{authorization:r.request.headers.authorization.replace(/ .*$/," [REDACTED]")})}s.url=s.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]");this.request=s;Object.defineProperty(this,"code",{get(){p(new u.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`."));return t}});Object.defineProperty(this,"headers",{get(){d(new u.Deprecation("[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`."));return n||{}}})}};0&&0},9755:(e,t,r)=>{var n=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var o=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of o(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=s(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{request:()=>p});e.exports=__toCommonJS(a);var A=r(206);var c=r(9071);var u="8.4.0";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 r=Object.prototype.hasOwnProperty.call(t,"constructor")&&t.constructor;return typeof r==="function"&&r instanceof r&&Function.prototype.call(r)===Function.prototype.call(e)}var l=r(8688);function getBufferResponse(e){return e.arrayBuffer()}function fetchWrapper(e){var t,r,n,s;const o=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 a={};let A;let c;let{fetch:u}=globalThis;if((r=e.request)==null?void 0:r.fetch){u=e.request.fetch}if(!u){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 u(e.url,{method:e.method,body:e.body,redirect:(n=e.request)==null?void 0:n.redirect,headers:e.headers,signal:(s=e.request)==null?void 0:s.signal,...e.body&&{duplex:"half"}}).then((async t=>{c=t.url;A=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 r=t&&t.pop();o.warn(`[@octokit/request] "${e.method} ${e.url}" is deprecated. It is scheduled to be removed on ${a.sunset}${r?`. See ${r}`:""}`)}if(A===204||A===205){return}if(e.method==="HEAD"){if(A<400){return}throw new l.RequestError(t.statusText,A,{response:{url:c,status:A,headers:a,data:void 0},request:e})}if(A===304){throw new l.RequestError("Not modified",A,{response:{url:c,status:A,headers:a,data:await getResponseData(t)},request:e})}if(A>=400){const r=await getResponseData(t);const n=new l.RequestError(toErrorMessage(r),A,{response:{url:c,status:A,headers:a,data:r},request:e});throw n}return i?await getResponseData(t):t.body})).then((e=>({status:A,url:c,headers:a,data:e}))).catch((t=>{if(t instanceof l.RequestError)throw t;else if(t.name==="AbortError")throw t;let r=t.message;if(t.name==="TypeError"&&"cause"in t){if(t.cause instanceof Error){r=t.cause.message}else if(typeof t.cause==="string"){r=t.cause}}throw new l.RequestError(r,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;let t;if("documentation_url"in e){t=` - ${e.documentation_url}`}else{t=""}if("message"in e){if(Array.isArray(e.errors)){return`${e.message}: ${e.errors.map(JSON.stringify).join(", ")}${t}`}return`${e.message}${t}`}return`Unknown error: ${JSON.stringify(e)}`}function withDefaults(e,t){const r=e.defaults(t);const newApi=function(e,t){const n=r.merge(e,t);if(!n.request||!n.request.hook){return fetchWrapper(r.parse(n))}const request2=(e,t)=>fetchWrapper(r.parse(r.merge(e,t)));Object.assign(request2,{endpoint:r,defaults:withDefaults.bind(null,r)});return n.request.hook(request2,n)};return Object.assign(newApi,{endpoint:r,defaults:withDefaults.bind(null,r)})}var p=withDefaults(A.endpoint,{headers:{"user-agent":`octokit-request.js/${u} ${(0,c.getUserAgent)()}`}});0&&0},206:(e,t,r)=>{var n=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var o=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var __export=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var __copyProps=(e,t,r,a)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let A of o(t))if(!i.call(e,A)&&A!==r)n(e,A,{get:()=>t[A],enumerable:!(a=s(t,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(n({},"__esModule",{value:true}),e);var a={};__export(a,{endpoint:()=>d});e.exports=__toCommonJS(a);var A=r(9071);var c="9.0.5";var u=`octokit-endpoint.js/${c} ${(0,A.getUserAgent)()}`;var l={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":u},mediaType:{format:""}};function lowercaseKeys(e){if(!e){return{}}return Object.keys(e).reduce(((t,r)=>{t[r.toLowerCase()]=e[r];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 r=Object.prototype.hasOwnProperty.call(t,"constructor")&&t.constructor;return typeof r==="function"&&r instanceof r&&Function.prototype.call(r)===Function.prototype.call(e)}function mergeDeep(e,t){const r=Object.assign({},e);Object.keys(t).forEach((n=>{if(isPlainObject(t[n])){if(!(n in e))Object.assign(r,{[n]:t[n]});else r[n]=mergeDeep(e[n],t[n])}else{Object.assign(r,{[n]:t[n]})}}));return r}function removeUndefinedProperties(e){for(const t in e){if(e[t]===void 0){delete e[t]}}return e}function merge(e,t,r){if(typeof t==="string"){let[e,n]=t.split(" ");r=Object.assign(n?{method:e,url:n}:{url:e},r)}else{r=Object.assign({},t)}r.headers=lowercaseKeys(r.headers);removeUndefinedProperties(r);removeUndefinedProperties(r.headers);const n=mergeDeep(e||{},r);if(r.url==="/graphql"){if(e&&e.mediaType.previews?.length){n.mediaType.previews=e.mediaType.previews.filter((e=>!n.mediaType.previews.includes(e))).concat(n.mediaType.previews)}n.mediaType.previews=(n.mediaType.previews||[]).map((e=>e.replace(/-preview/,"")))}return n}function addQueryParameters(e,t){const r=/\?/.test(e)?"&":"?";const n=Object.keys(t);if(n.length===0){return e}return e+r+n.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 r={__proto__:null};for(const n of Object.keys(e)){if(t.indexOf(n)===-1){r[n]=e[n]}}return r}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,r){t=e==="+"||e==="#"?encodeReserved(t):encodeUnreserved(t);if(r){return encodeUnreserved(r)+"="+t}else{return t}}function isDefined(e){return e!==void 0&&e!==null}function isKeyOperator(e){return e===";"||e==="&"||e==="?"}function getValues(e,t,r,n){var s=e[r],o=[];if(isDefined(s)&&s!==""){if(typeof s==="string"||typeof s==="number"||typeof s==="boolean"){s=s.toString();if(n&&n!=="*"){s=s.substring(0,parseInt(n,10))}o.push(encodeValue(t,s,isKeyOperator(t)?r:""))}else{if(n==="*"){if(Array.isArray(s)){s.filter(isDefined).forEach((function(e){o.push(encodeValue(t,e,isKeyOperator(t)?r:""))}))}else{Object.keys(s).forEach((function(e){if(isDefined(s[e])){o.push(encodeValue(t,s[e],e))}}))}}else{const e=[];if(Array.isArray(s)){s.filter(isDefined).forEach((function(r){e.push(encodeValue(t,r))}))}else{Object.keys(s).forEach((function(r){if(isDefined(s[r])){e.push(encodeUnreserved(r));e.push(encodeValue(t,s[r].toString()))}}))}if(isKeyOperator(t)){o.push(encodeUnreserved(r)+"="+e.join(","))}else if(e.length!==0){o.push(e.join(","))}}}}else{if(t===";"){if(isDefined(s)){o.push(encodeUnreserved(r))}}else if(s===""&&(t==="&"||t==="?")){o.push(encodeUnreserved(r)+"=")}else if(s===""){o.push("")}}return o}function parseUrl(e){return{expand:expand.bind(null,e)}}function expand(e,t){var r=["+","#",".","/",";","?","&"];e=e.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,(function(e,n,s){if(n){let e="";const s=[];if(r.indexOf(n.charAt(0))!==-1){e=n.charAt(0);n=n.substr(1)}n.split(/,/g).forEach((function(r){var n=/([^:\*]*)(?::(\d+)|(\*))?/.exec(r);s.push(getValues(t,e,n[1],n[2]||n[3]))}));if(e&&e!=="+"){var o=",";if(e==="?"){o="&"}else if(e!=="#"){o=e}return(s.length!==0?e:"")+s.join(o)}else{return s.join(",")}}else{return encodeReserved(s)}}));if(e==="/"){return e}else{return e.replace(/\/$/,"")}}function parse(e){let t=e.method.toUpperCase();let r=(e.url||"/").replace(/:([a-z]\w+)/g,"{$1}");let n=Object.assign({},e.headers);let s;let o=omit(e,["method","baseUrl","url","headers","request","mediaType"]);const i=extractUrlVariableNames(r);r=parseUrl(r).expand(o);if(!/^http/.test(r)){r=e.baseUrl+r}const a=Object.keys(e).filter((e=>i.includes(e))).concat("baseUrl");const A=omit(o,a);const c=/application\/octet-stream/i.test(n.accept);if(!c){if(e.mediaType.format){n.accept=n.accept.split(/,/).map((t=>t.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${e.mediaType.format}`))).join(",")}if(r.endsWith("/graphql")){if(e.mediaType.previews?.length){const t=n.accept.match(/[\w-]+(?=-preview)/g)||[];n.accept=t.concat(e.mediaType.previews).map((t=>{const r=e.mediaType.format?`.${e.mediaType.format}`:"+json";return`application/vnd.github.${t}-preview${r}`})).join(",")}}}if(["GET","HEAD"].includes(t)){r=addQueryParameters(r,A)}else{if("data"in A){s=A.data}else{if(Object.keys(A).length){s=A}}}if(!n["content-type"]&&typeof s!=="undefined"){n["content-type"]="application/json; charset=utf-8"}if(["PATCH","PUT"].includes(t)&&typeof s==="undefined"){s=""}return Object.assign({method:t,url:r,headers:n},typeof s!=="undefined"?{body:s}:null,e.request?{request:e.request}:null)}function endpointWithDefaults(e,t,r){return parse(merge(e,t,r))}function withDefaults(e,t){const r=merge(e,t);const n=endpointWithDefaults.bind(null,r);return Object.assign(n,{DEFAULTS:r,defaults:withDefaults.bind(null,r),merge:merge.bind(null,r),parse:parse})}var d=withDefaults(null,l);0&&0},6256:(e,t,r)=>{var n=r(8987);var s=r(1095);var o=r(5930);var i=Function.bind;var a=i.bind(i);function bindApi(e,t,r){var n=a(o,null).apply(null,r?[t,r]:[t]);e.api={remove:n};e.remove=n;["before","error","after","wrap"].forEach((function(n){var o=r?[t,n,r]:[t,n];e[n]=e.api[n]=a(s,null).apply(null,o)}))}function HookSingular(){var e="h";var t={registry:{}};var r=n.bind(null,t,e);bindApi(r,t,e);return r}function HookCollection(){var e={registry:{}};var t=n.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},1095:e=>{e.exports=addHook;function addHook(e,t,r,n){var s=n;if(!e.registry[r]){e.registry[r]=[]}if(t==="before"){n=function(e,t){return Promise.resolve().then(s.bind(null,t)).then(e.bind(null,t))}}if(t==="after"){n=function(e,t){var r;return Promise.resolve().then(e.bind(null,t)).then((function(e){r=e;return s(r,t)})).then((function(){return r}))}}if(t==="error"){n=function(e,t){return Promise.resolve().then(e.bind(null,t)).catch((function(e){return s(e,t)}))}}e.registry[r].push({hook:n,orig:s})}},8987:e=>{e.exports=register;function register(e,t,r,n){if(typeof r!=="function"){throw new Error("method for before hook must be a function")}if(!n){n={}}if(Array.isArray(t)){return t.reverse().reduce((function(t,r){return register.bind(null,e,r,t,n)}),r)()}return Promise.resolve().then((function(){if(!e.registry[t]){return r(n)}return e.registry[t].reduce((function(e,t){return t.hook.bind(null,e,n)}),r)()}))}},5930:e=>{e.exports=removeHook;function removeHook(e,t,r){if(!e.registry[t]){return}var n=e.registry[t].map((function(e){return e.orig})).indexOf(r);if(n===-1){return}e.registry[t].splice(n,1)}},9071:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});function getUserAgent(){if(typeof navigator==="object"&&"userAgent"in navigator){return navigator.userAgent}if(typeof process==="object"&&process.version!==undefined){return`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`}return""}t.getUserAgent=getUserAgent},7731:e=>{var t=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var s=Object.prototype.hasOwnProperty;var __export=(e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,o,i,a)=>{if(o&&typeof o==="object"||typeof o==="function"){for(let A of n(o))if(!s.call(e,A)&&A!==i)t(e,A,{get:()=>o[A],enumerable:!(a=r(o,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var o={};__export(o,{composePaginateRest:()=>a,isPaginatingEndpoint:()=>isPaginatingEndpoint,paginateRest:()=>paginateRest,paginatingEndpoints:()=>A});e.exports=__toCommonJS(o);var i="9.2.1";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 r=e.data.incomplete_results;const n=e.data.repository_selection;const s=e.data.total_count;delete e.data.incomplete_results;delete e.data.repository_selection;delete e.data.total_count;const o=Object.keys(e.data)[0];const i=e.data[o];e.data=i;if(typeof r!=="undefined"){e.data.incomplete_results=r}if(typeof n!=="undefined"){e.data.repository_selection=n}e.data.total_count=s;return e}function iterator(e,t,r){const n=typeof t==="function"?t.endpoint(r):e.request.endpoint(t,r);const s=typeof t==="function"?t:e.request;const o=n.method;const i=n.headers;let a=n.url;return{[Symbol.asyncIterator]:()=>({async next(){if(!a)return{done:true};try{const e=await s({method:o,url:a,headers:i});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,r,n){if(typeof r==="function"){n=r;r=void 0}return gather(e,[],iterator(e,t,r)[Symbol.asyncIterator](),n)}function gather(e,t,r,n){return r.next().then((s=>{if(s.done){return t}let o=false;function done(){o=true}t=t.concat(n?n(s.value,done):s.value.data);if(o){return t}return gather(e,t,r,n)}))}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}/organization-roles/{role_id}/teams","GET /orgs/{org}/organization-roles/{role_id}/users","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=i;0&&0},5726:e=>{var t=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var s=Object.prototype.hasOwnProperty;var __export=(e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,o,i,a)=>{if(o&&typeof o==="object"||typeof o==="function"){for(let A of n(o))if(!s.call(e,A)&&A!==i)t(e,A,{get:()=>o[A],enumerable:!(a=r(o,A))||a.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var o={};__export(o,{legacyRestEndpointMethods:()=>legacyRestEndpointMethods,restEndpointMethods:()=>restEndpointMethods});e.exports=__toCommonJS(o);var i="10.4.1";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}"],getCustomOidcSubClaimForRepo:["GET /repos/{owner}/{repo}/actions/oidc/customization/sub"],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"],setCustomOidcSubClaimForRepo:["PUT /repos/{owner}/{repo}/actions/oidc/customization/sub"],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"],markThreadAsDone:["DELETE /notifications/threads/{thread_id}"],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:{addCopilotSeatsForTeams:["POST /orgs/{org}/copilot/billing/selected_teams"],addCopilotSeatsForUsers:["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"}]},oidc:{getOidcCustomSubTemplateForOrg:["GET /orgs/{org}/actions/oidc/customization/sub"],updateOidcCustomSubTemplateForOrg:["PUT /orgs/{org}/actions/oidc/customization/sub"]},orgs:{addSecurityManagerTeam:["PUT /orgs/{org}/security-managers/teams/{team_slug}"],assignTeamToOrgRole:["PUT /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],assignUserToOrgRole:["PUT /orgs/{org}/organization-roles/users/{username}/{role_id}"],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}"],createCustomOrganizationRole:["POST /orgs/{org}/organization-roles"],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}"],deleteCustomOrganizationRole:["DELETE /orgs/{org}/organization-roles/{role_id}"],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}"],getOrgRole:["GET /orgs/{org}/organization-roles/{role_id}"],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"],listOrgRoleTeams:["GET /orgs/{org}/organization-roles/{role_id}/teams"],listOrgRoleUsers:["GET /orgs/{org}/organization-roles/{role_id}/users"],listOrgRoles:["GET /orgs/{org}/organization-roles"],listOrganizationFineGrainedPermissions:["GET /orgs/{org}/organization-fine-grained-permissions"],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"],patchCustomOrganizationRole:["PATCH /orgs/{org}/organization-roles/{role_id}"],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"],revokeAllOrgRolesTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}"],revokeAllOrgRolesUser:["DELETE /orgs/{org}/organization-roles/users/{username}"],revokeOrgRoleTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],revokeOrgRoleUser:["DELETE /orgs/{org}/organization-roles/users/{username}/{role_id}"],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"}],cancelPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel"],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"],createOrUpdateCustomPropertiesValues:["PATCH /repos/{owner}/{repo}/properties/values"],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/deployments"],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}"],getPagesDeployment:["GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_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:{createFork:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks"],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[r,n]of Object.entries(t)){const[t,s,o]=n;const[i,a]=t.split(/ /);const A=Object.assign({method:i,url:a},s);if(!c.has(e)){c.set(e,new Map)}c.get(e).set(r,{scope:e,methodName:r,endpointDefaults:A,decorations:o})}}var u={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,r){Object.defineProperty(e.cache,t,r);return true},deleteProperty(e,t){delete e.cache[t];return true},ownKeys({scope:e}){return[...c.get(e).keys()]},set(e,t,r){return e.cache[t]=r},get({octokit:e,scope:t,cache:r},n){if(r[n]){return r[n]}const s=c.get(t).get(n);if(!s){return void 0}const{endpointDefaults:o,decorations:i}=s;if(i){r[n]=decorate(e,t,n,o,i)}else{r[n]=e.request.defaults(o)}return r[n]}};function endpointsToMethods(e){const t={};for(const r of c.keys()){t[r]=new Proxy({octokit:e,scope:r,cache:{}},u)}return t}function decorate(e,t,r,n,s){const o=e.request.defaults(n);function withDecorations(...n){let i=o.endpoint.merge(...n);if(s.mapToData){i=Object.assign({},i,{data:i[s.mapToData],[s.mapToData]:void 0});return o(i)}if(s.renamed){const[n,o]=s.renamed;e.log.warn(`octokit.${t}.${r}() has been renamed to octokit.${n}.${o}()`)}if(s.deprecated){e.log.warn(s.deprecated)}if(s.renamedParameters){const i=o.endpoint.merge(...n);for(const[n,o]of Object.entries(s.renamedParameters)){if(n in i){e.log.warn(`"${n}" parameter is deprecated for "octokit.${t}.${r}()". Use "${o}" instead`);if(!(o in i)){i[o]=i[n]}delete i[n]}}return o(i)}return o(...n)}return Object.assign(withDecorations,o)}function restEndpointMethods(e){const t=endpointsToMethods(e);return{rest:t}}restEndpointMethods.VERSION=i;function legacyRestEndpointMethods(e){const t=endpointsToMethods(e);return{...t,rest:t}}legacyRestEndpointMethods.VERSION=i;0&&0},4552:function(e,t){var r=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.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 r(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 r(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 r(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}t.PersonalAccessTokenCredentialHandler=PersonalAccessTokenCredentialHandler},4844:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;var s=Object.getOwnPropertyDescriptor(t,r);if(!s||("get"in s?!t.__esModule:s.writable||s.configurable)){s={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,n,s)}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))n(t,e,r);s(t,e);return t};var i=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.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=o(r(8611));const A=o(r(5692));const c=o(r(4988));const u=o(r(770));const l=r(6752);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 I=10;const y=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 i(this,void 0,void 0,(function*(){return new Promise((e=>i(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 i(this,void 0,void 0,(function*(){return new Promise((e=>i(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,r){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=r;if(r){if(r.ignoreSslError!=null){this._ignoreSslError=r.ignoreSslError}this._socketTimeout=r.socketTimeout;if(r.allowRedirects!=null){this._allowRedirects=r.allowRedirects}if(r.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=r.allowRedirectDowngrade}if(r.maxRedirects!=null){this._maxRedirects=Math.max(r.maxRedirects,0)}if(r.keepAlive!=null){this._keepAlive=r.keepAlive}if(r.allowRetries!=null){this._allowRetries=r.allowRetries}if(r.maxRetries!=null){this._maxRetries=r.maxRetries}}}options(e,t){return i(this,void 0,void 0,(function*(){return this.request("OPTIONS",e,null,t||{})}))}get(e,t){return i(this,void 0,void 0,(function*(){return this.request("GET",e,null,t||{})}))}del(e,t){return i(this,void 0,void 0,(function*(){return this.request("DELETE",e,null,t||{})}))}post(e,t,r){return i(this,void 0,void 0,(function*(){return this.request("POST",e,t,r||{})}))}patch(e,t,r){return i(this,void 0,void 0,(function*(){return this.request("PATCH",e,t,r||{})}))}put(e,t,r){return i(this,void 0,void 0,(function*(){return this.request("PUT",e,t,r||{})}))}head(e,t){return i(this,void 0,void 0,(function*(){return this.request("HEAD",e,null,t||{})}))}sendStream(e,t,r,n){return i(this,void 0,void 0,(function*(){return this.request(e,t,r,n)}))}getJson(e,t={}){return i(this,void 0,void 0,(function*(){t[d.Accept]=this._getExistingOrDefaultHeader(t,d.Accept,g.ApplicationJson);const r=yield this.get(e,t);return this._processResponse(r,this.requestOptions)}))}postJson(e,t,r={}){return i(this,void 0,void 0,(function*(){const n=JSON.stringify(t,null,2);r[d.Accept]=this._getExistingOrDefaultHeader(r,d.Accept,g.ApplicationJson);r[d.ContentType]=this._getExistingOrDefaultHeader(r,d.ContentType,g.ApplicationJson);const s=yield this.post(e,n,r);return this._processResponse(s,this.requestOptions)}))}putJson(e,t,r={}){return i(this,void 0,void 0,(function*(){const n=JSON.stringify(t,null,2);r[d.Accept]=this._getExistingOrDefaultHeader(r,d.Accept,g.ApplicationJson);r[d.ContentType]=this._getExistingOrDefaultHeader(r,d.ContentType,g.ApplicationJson);const s=yield this.put(e,n,r);return this._processResponse(s,this.requestOptions)}))}patchJson(e,t,r={}){return i(this,void 0,void 0,(function*(){const n=JSON.stringify(t,null,2);r[d.Accept]=this._getExistingOrDefaultHeader(r,d.Accept,g.ApplicationJson);r[d.ContentType]=this._getExistingOrDefaultHeader(r,d.ContentType,g.ApplicationJson);const s=yield this.patch(e,n,r);return this._processResponse(s,this.requestOptions)}))}request(e,t,r,n){return i(this,void 0,void 0,(function*(){if(this._disposed){throw new Error("Client has already been disposed.")}const s=new URL(t);let o=this._prepareRequest(e,s,n);const i=this._allowRetries&&m.includes(e)?this._maxRetries+1:1;let a=0;let A;do{A=yield this.requestRaw(o,r);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,o,r)}else{return A}}let t=this._maxRedirects;while(A.message.statusCode&&h.includes(A.message.statusCode)&&this._allowRedirects&&t>0){const i=A.message.headers["location"];if(!i){break}const a=new URL(i);if(s.protocol==="https:"&&s.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!==s.hostname){for(const e in n){if(e.toLowerCase()==="authorization"){delete n[e]}}}o=this._prepareRequest(e,a,n);A=yield this.requestRaw(o,r);t--}if(!A.message.statusCode||!E.includes(A.message.statusCode)){return A}a+=1;if(a{function callbackForResult(e,t){if(e){n(e)}else if(!t){n(new Error("Unknown error"))}else{r(t)}}this.requestRawWithCallback(e,t,callbackForResult)}))}))}requestRawWithCallback(e,t,r){if(typeof t==="string"){if(!e.options.headers){e.options.headers={}}e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8")}let n=false;function handleResult(e,t){if(!n){n=true;r(e,t)}}const s=e.httpModule.request(e.options,(e=>{const t=new HttpClientResponse(e);handleResult(undefined,t)}));let o;s.on("socket",(e=>{o=e}));s.setTimeout(this._socketTimeout||3*6e4,(()=>{if(o){o.end()}handleResult(new Error(`Request timeout: ${e.options.path}`))}));s.on("error",(function(e){handleResult(e)}));if(t&&typeof t==="string"){s.write(t,"utf8")}if(t&&typeof t!=="string"){t.on("close",(function(){s.end()}));t.pipe(s)}else{s.end()}}getAgent(e){const t=new URL(e);return this._getAgent(t)}getAgentDispatcher(e){const t=new URL(e);const r=c.getProxyUrl(t);const n=r&&r.hostname;if(!n){return}return this._getProxyAgentDispatcher(t,r)}_prepareRequest(e,t,r){const n={};n.parsedUrl=t;const s=n.parsedUrl.protocol==="https:";n.httpModule=s?A:a;const o=s?443:80;n.options={};n.options.host=n.parsedUrl.hostname;n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):o;n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||"");n.options.method=e;n.options.headers=this._mergeHeaders(r);if(this.userAgent!=null){n.options.headers["user-agent"]=this.userAgent}n.options.agent=this._getAgent(n.parsedUrl);if(this.handlers){for(const e of this.handlers){e.prepareRequest(n.options)}}return n}_mergeHeaders(e){if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(e||{}))}return lowercaseKeys(e||{})}_getExistingOrDefaultHeader(e,t,r){let n;if(this.requestOptions&&this.requestOptions.headers){n=lowercaseKeys(this.requestOptions.headers)[t]}return e[t]||n||r}_getAgent(e){let t;const r=c.getProxyUrl(e);const n=r&&r.hostname;if(this._keepAlive&&n){t=this._proxyAgent}if(!n){t=this._agent}if(t){return t}const s=e.protocol==="https:";let o=100;if(this.requestOptions){o=this.requestOptions.maxSockets||a.globalAgent.maxSockets}if(r&&r.hostname){const e={maxSockets:o,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(r.username||r.password)&&{proxyAuth:`${r.username}:${r.password}`}),{host:r.hostname,port:r.port})};let n;const i=r.protocol==="https:";if(s){n=i?u.httpsOverHttps:u.httpsOverHttp}else{n=i?u.httpOverHttps:u.httpOverHttp}t=n(e);this._proxyAgent=t}if(!t){const e={keepAlive:this._keepAlive,maxSockets:o};t=s?new A.Agent(e):new a.Agent(e);this._agent=t}if(s&&this._ignoreSslError){t.options=Object.assign(t.options||{},{rejectUnauthorized:false})}return t}_getProxyAgentDispatcher(e,t){let r;if(this._keepAlive){r=this._proxyAgentDispatcher}if(r){return r}const n=e.protocol==="https:";r=new l.ProxyAgent(Object.assign({uri:t.href,pipelining:!this._keepAlive?0:1},(t.username||t.password)&&{token:`Basic ${Buffer.from(`${t.username}:${t.password}`).toString("base64")}`}));this._proxyAgentDispatcher=r;if(n&&this._ignoreSslError){r.options=Object.assign(r.options.requestTls||{},{rejectUnauthorized:false})}return r}_performExponentialBackoff(e){return i(this,void 0,void 0,(function*(){e=Math.min(I,e);const t=y*Math.pow(2,e);return new Promise((e=>setTimeout((()=>e()),t)))}))}_processResponse(e,t){return i(this,void 0,void 0,(function*(){return new Promise(((r,n)=>i(this,void 0,void 0,(function*(){const s=e.message.statusCode||0;const o={statusCode:s,result:null,headers:{}};if(s===p.NotFound){r(o)}function dateTimeDeserializer(e,t){if(typeof t==="string"){const e=new Date(t);if(!isNaN(e.valueOf())){return e}}return t}let i;let a;try{a=yield e.readBody();if(a&&a.length>0){if(t&&t.deserializeDates){i=JSON.parse(a,dateTimeDeserializer)}else{i=JSON.parse(a)}o.result=i}o.headers=e.message.headers}catch(e){}if(s>299){let e;if(i&&i.message){e=i.message}else if(a&&a.length>0){e=a}else{e=`Failed request: (${s})`}const t=new HttpClientError(e,s);t.result=o.result;n(t)}else{r(o)}}))))}))}}t.HttpClient=HttpClient;const lowercaseKeys=e=>Object.keys(e).reduce(((t,r)=>(t[r.toLowerCase()]=e[r],t)),{})},4988:(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 r=(()=>{if(t){return process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{return process.env["http_proxy"]||process.env["HTTP_PROXY"]}})();if(r){try{return new DecodedURL(r)}catch(e){if(!r.startsWith("http://")&&!r.startsWith("https://"))return new DecodedURL(`http://${r}`)}}else{return undefined}}t.getProxyUrl=getProxyUrl;function checkBypass(e){if(!e.hostname){return false}const t=e.hostname;if(isLoopbackAddress(t)){return true}const r=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!r){return false}let n;if(e.port){n=Number(e.port)}else if(e.protocol==="http:"){n=80}else if(e.protocol==="https:"){n=443}const s=[e.hostname.toUpperCase()];if(typeof n==="number"){s.push(`${s[0]}:${n}`)}for(const e of r.split(",").map((e=>e.trim().toUpperCase())).filter((e=>e))){if(e==="*"||s.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]")}class DecodedURL extends URL{constructor(e,t){super(e,t);this._decodedUsername=decodeURIComponent(super.username);this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}},5207:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))n(t,e,r);s(t,e);return t};var i=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.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=o(r(9896));const c=o(r(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 i(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,r=false){return i(this,void 0,void 0,(function*(){const n=r?yield t.stat(e):yield t.lstat(e);return n.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,r){return i(this,void 0,void 0,(function*(){let n=undefined;try{n=yield t.stat(e)}catch(t){if(t.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}}if(n&&n.isFile()){if(t.IS_WINDOWS){const t=c.extname(e).toUpperCase();if(r.some((e=>e.toUpperCase()===t))){return e}}else{if(isUnixExecutable(n)){return e}}}const s=e;for(const o of r){e=s+o;n=undefined;try{n=yield t.stat(e)}catch(t){if(t.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}}if(n&&n.isFile()){if(t.IS_WINDOWS){try{const r=c.dirname(e);const n=c.basename(e).toUpperCase();for(const s of yield t.readdir(r)){if(n===s.toUpperCase()){e=c.join(r,s);break}}}catch(t){console.log(`Unexpected error attempting to determine the actual case of the file '${e}': ${t}`)}return e}else{if(isUnixExecutable(n)){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},4994:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))n(t,e,r);s(t,e);return t};var i=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.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=r(2613);const A=o(r(6928));const c=o(r(5207));function cp(e,t,r={}){return i(this,void 0,void 0,(function*(){const{force:n,recursive:s,copySourceDirectory:o}=readCopyOptions(r);const i=(yield c.exists(t))?yield c.stat(t):null;if(i&&i.isFile()&&!n){return}const a=i&&i.isDirectory()&&o?A.join(t,A.basename(e)):t;if(!(yield c.exists(e))){throw new Error(`no such file or directory: ${e}`)}const u=yield c.stat(e);if(u.isDirectory()){if(!s){throw new Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`)}else{yield cpDirRecursive(e,a,0,n)}}else{if(A.relative(e,a)===""){throw new Error(`'${a}' and '${e}' are the same file`)}yield copyFile(e,a,n)}}))}t.cp=cp;function mv(e,t,r={}){return i(this,void 0,void 0,(function*(){if(yield c.exists(t)){let n=true;if(yield c.isDirectory(t)){t=A.join(t,A.basename(e));n=yield c.exists(t)}if(n){if(r.force==null||r.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 i(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 i(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 i(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 r=yield findInPath(e);if(r&&r.length>0){return r[0]}return""}))}t.which=which;function findInPath(e){return i(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 r=yield c.tryGetExecutablePath(e,t);if(r){return[r]}return[]}if(e.includes(A.sep)){return[]}const r=[];if(process.env.PATH){for(const e of process.env.PATH.split(A.delimiter)){if(e){r.push(e)}}}const n=[];for(const s of r){const r=yield c.tryGetExecutablePath(A.join(s,e),t);if(r){n.push(r)}}return n}))}t.findInPath=findInPath;function readCopyOptions(e){const t=e.force==null?true:e.force;const r=Boolean(e.recursive);const n=e.copySourceDirectory==null?true:Boolean(e.copySourceDirectory);return{force:t,recursive:r,copySourceDirectory:n}}function cpDirRecursive(e,t,r,n){return i(this,void 0,void 0,(function*(){if(r>=255)return;r++;yield mkdirP(t);const s=yield c.readdir(e);for(const o of s){const s=`${e}/${o}`;const i=`${t}/${o}`;const a=yield c.lstat(s);if(a.isDirectory()){yield cpDirRecursive(s,i,r,n)}else{yield copyFile(s,i,n)}}yield c.chmod(t,(yield c.stat(e)).mode)}))}function copyFile(e,t,r){return i(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 r=yield c.readlink(e);yield c.symlink(r,t,c.IS_WINDOWS?"junction":null)}else if(!(yield c.exists(t))||r){yield c.copyFile(e,t)}}))}},3251:function(e){(function(t,r){true?e.exports=r():0})(this,(function(){"use strict";var e=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};function getCjsExportFromNamespace(e){return e&&e["default"]||e}var load=function(e,t,r={}){var n,s,o;for(n in t){o=t[n];r[n]=(s=e[n])!=null?s:o}return r};var overwrite=function(e,t,r={}){var n,s;for(n in e){s=e[n];if(t[n]!==void 0){r[n]=s}}return r};var t={load:load,overwrite:overwrite};var r;r=class DLList{constructor(e,t){this.incr=e;this.decr=t;this._first=null;this._last=null;this.length=0}push(e){var t;this.length++;if(typeof this.incr==="function"){this.incr()}t={value:e,prev:this._last,next:null};if(this._last!=null){this._last.next=t;this._last=t}else{this._first=this._last=t}return void 0}shift(){var e;if(this._first==null){return}else{this.length--;if(typeof this.decr==="function"){this.decr()}}e=this._first.value;if((this._first=this._first.next)!=null){this._first.prev=null}else{this._last=null}return e}first(){if(this._first!=null){return this._first.value}}getArray(){var e,t,r;e=this._first;r=[];while(e!=null){r.push((t=e,e=e.next,t.value))}return r}forEachShift(e){var t;t=this.shift();while(t!=null){e(t),t=this.shift()}return void 0}debug(){var e,t,r,n,s;e=this._first;s=[];while(e!=null){s.push((t=e,e=e.next,{value:t.value,prev:(r=t.prev)!=null?r.value:void 0,next:(n=t.next)!=null?n.value:void 0}))}return s}};var n=r;var s;s=class Events{constructor(e){this.instance=e;this._events={};if(this.instance.on!=null||this.instance.once!=null||this.instance.removeAllListeners!=null){throw new Error("An Emitter already exists for this object")}this.instance.on=(e,t)=>this._addListener(e,"many",t);this.instance.once=(e,t)=>this._addListener(e,"once",t);this.instance.removeAllListeners=(e=null)=>{if(e!=null){return delete this._events[e]}else{return this._events={}}}}_addListener(e,t,r){var n;if((n=this._events)[e]==null){n[e]=[]}this._events[e].push({cb:r,status:t});return this.instance}listenerCount(e){if(this._events[e]!=null){return this._events[e].length}else{return 0}}async trigger(e,...t){var r,n;try{if(e!=="debug"){this.trigger("debug",`Event triggered: ${e}`,t)}if(this._events[e]==null){return}this._events[e]=this._events[e].filter((function(e){return e.status!=="none"}));n=this._events[e].map((async e=>{var r,n;if(e.status==="none"){return}if(e.status==="once"){e.status="none"}try{n=typeof e.cb==="function"?e.cb(...t):void 0;if(typeof(n!=null?n.then:void 0)==="function"){return await n}else{return n}}catch(e){r=e;{this.trigger("error",r)}return null}}));return(await Promise.all(n)).find((function(e){return e!=null}))}catch(e){r=e;{this.trigger("error",r)}return null}}};var o=s;var i,a,A;i=n;a=o;A=class Queues{constructor(e){var t;this.Events=new a(this);this._length=0;this._lists=function(){var r,n,s;s=[];for(t=r=1,n=e;1<=n?r<=n:r>=n;t=1<=n?++r:--r){s.push(new i((()=>this.incr()),(()=>this.decr())))}return s}.call(this)}incr(){if(this._length++===0){return this.Events.trigger("leftzero")}}decr(){if(--this._length===0){return this.Events.trigger("zero")}}push(e){return this._lists[e.options.priority].push(e)}queued(e){if(e!=null){return this._lists[e].length}else{return this._length}}shiftAll(e){return this._lists.forEach((function(t){return t.forEachShift(e)}))}getFirst(e=this._lists){var t,r,n;for(t=0,r=e.length;t0){return n}}return[]}shiftLastFrom(e){return this.getFirst(this._lists.slice(e).reverse()).shift()}};var c=A;var u;u=class BottleneckError extends Error{};var l=u;var p,d,g,h,E;h=10;d=5;E=t;p=l;g=class Job{constructor(e,t,r,n,s,o,i,a){this.task=e;this.args=t;this.rejectOnDrop=s;this.Events=o;this._states=i;this.Promise=a;this.options=E.load(r,n);this.options.priority=this._sanitizePriority(this.options.priority);if(this.options.id===n.id){this.options.id=`${this.options.id}-${this._randomIndex()}`}this.promise=new this.Promise(((e,t)=>{this._resolve=e;this._reject=t}));this.retryCount=0}_sanitizePriority(e){var t;t=~~e!==e?d:e;if(t<0){return 0}else if(t>h-1){return h-1}else{return t}}_randomIndex(){return Math.random().toString(36).slice(2)}doDrop({error:e,message:t="This job has been dropped by Bottleneck"}={}){if(this._states.remove(this.options.id)){if(this.rejectOnDrop){this._reject(e!=null?e:new p(t))}this.Events.trigger("dropped",{args:this.args,options:this.options,task:this.task,promise:this.promise});return true}else{return false}}_assertStatus(e){var t;t=this._states.jobStatus(this.options.id);if(!(t===e||e==="DONE"&&t===null)){throw new p(`Invalid job status ${t}, expected ${e}. Please open an issue at https://github.com/SGrondin/bottleneck/issues`)}}doReceive(){this._states.start(this.options.id);return this.Events.trigger("received",{args:this.args,options:this.options})}doQueue(e,t){this._assertStatus("RECEIVED");this._states.next(this.options.id);return this.Events.trigger("queued",{args:this.args,options:this.options,reachedHWM:e,blocked:t})}doRun(){if(this.retryCount===0){this._assertStatus("QUEUED");this._states.next(this.options.id)}else{this._assertStatus("EXECUTING")}return this.Events.trigger("scheduled",{args:this.args,options:this.options})}async doExecute(e,t,r,n){var s,o,i;if(this.retryCount===0){this._assertStatus("RUNNING");this._states.next(this.options.id)}else{this._assertStatus("EXECUTING")}o={args:this.args,options:this.options,retryCount:this.retryCount};this.Events.trigger("executing",o);try{i=await(e!=null?e.schedule(this.options,this.task,...this.args):this.task(...this.args));if(t()){this.doDone(o);await n(this.options,o);this._assertStatus("DONE");return this._resolve(i)}}catch(e){s=e;return this._onFailure(s,o,t,r,n)}}doExpire(e,t,r){var n,s;if(this._states.jobStatus(this.options.id==="RUNNING")){this._states.next(this.options.id)}this._assertStatus("EXECUTING");s={args:this.args,options:this.options,retryCount:this.retryCount};n=new p(`This job timed out after ${this.options.expiration} ms.`);return this._onFailure(n,s,e,t,r)}async _onFailure(e,t,r,n,s){var o,i;if(r()){o=await this.Events.trigger("failed",e,t);if(o!=null){i=~~o;this.Events.trigger("retry",`Retrying ${this.options.id} after ${i} ms`,t);this.retryCount++;return n(i)}else{this.doDone(t);await s(this.options,t);this._assertStatus("DONE");return this._reject(e)}}}doDone(e){this._assertStatus("EXECUTING");this._states.next(this.options.id);return this.Events.trigger("done",e)}};var m=g;var I,y,C;C=t;I=l;y=class LocalDatastore{constructor(e,t,r){this.instance=e;this.storeOptions=t;this.clientId=this.instance._randomIndex();C.load(r,r,this);this._nextRequest=this._lastReservoirRefresh=this._lastReservoirIncrease=Date.now();this._running=0;this._done=0;this._unblockTime=0;this.ready=this.Promise.resolve();this.clients={};this._startHeartbeat()}_startHeartbeat(){var e;if(this.heartbeat==null&&(this.storeOptions.reservoirRefreshInterval!=null&&this.storeOptions.reservoirRefreshAmount!=null||this.storeOptions.reservoirIncreaseInterval!=null&&this.storeOptions.reservoirIncreaseAmount!=null)){return typeof(e=this.heartbeat=setInterval((()=>{var e,t,r,n,s;n=Date.now();if(this.storeOptions.reservoirRefreshInterval!=null&&n>=this._lastReservoirRefresh+this.storeOptions.reservoirRefreshInterval){this._lastReservoirRefresh=n;this.storeOptions.reservoir=this.storeOptions.reservoirRefreshAmount;this.instance._drainAll(this.computeCapacity())}if(this.storeOptions.reservoirIncreaseInterval!=null&&n>=this._lastReservoirIncrease+this.storeOptions.reservoirIncreaseInterval){({reservoirIncreaseAmount:e,reservoirIncreaseMaximum:r,reservoir:s}=this.storeOptions);this._lastReservoirIncrease=n;t=r!=null?Math.min(e,r-s):e;if(t>0){this.storeOptions.reservoir+=t;return this.instance._drainAll(this.computeCapacity())}}}),this.heartbeatInterval)).unref==="function"?e.unref():void 0}else{return clearInterval(this.heartbeat)}}async __publish__(e){await this.yieldLoop();return this.instance.Events.trigger("message",e.toString())}async __disconnect__(e){await this.yieldLoop();clearInterval(this.heartbeat);return this.Promise.resolve()}yieldLoop(e=0){return new this.Promise((function(t,r){return setTimeout(t,e)}))}computePenalty(){var e;return(e=this.storeOptions.penalty)!=null?e:15*this.storeOptions.minTime||5e3}async __updateSettings__(e){await this.yieldLoop();C.overwrite(e,e,this.storeOptions);this._startHeartbeat();this.instance._drainAll(this.computeCapacity());return true}async __running__(){await this.yieldLoop();return this._running}async __queued__(){await this.yieldLoop();return this.instance.queued()}async __done__(){await this.yieldLoop();return this._done}async __groupCheck__(e){await this.yieldLoop();return this._nextRequest+this.timeout=e}check(e,t){return this.conditionsCheck(e)&&this._nextRequest-t<=0}async __check__(e){var t;await this.yieldLoop();t=Date.now();return this.check(e,t)}async __register__(e,t,r){var n,s;await this.yieldLoop();n=Date.now();if(this.conditionsCheck(t)){this._running+=t;if(this.storeOptions.reservoir!=null){this.storeOptions.reservoir-=t}s=Math.max(this._nextRequest-n,0);this._nextRequest=n+s+this.storeOptions.minTime;return{success:true,wait:s,reservoir:this.storeOptions.reservoir}}else{return{success:false}}}strategyIsBlock(){return this.storeOptions.strategy===3}async __submit__(e,t){var r,n,s;await this.yieldLoop();if(this.storeOptions.maxConcurrent!=null&&t>this.storeOptions.maxConcurrent){throw new I(`Impossible to add a job having a weight of ${t} to a limiter having a maxConcurrent setting of ${this.storeOptions.maxConcurrent}`)}n=Date.now();s=this.storeOptions.highWater!=null&&e===this.storeOptions.highWater&&!this.check(t,n);r=this.strategyIsBlock()&&(s||this.isBlocked(n));if(r){this._unblockTime=n+this.computePenalty();this._nextRequest=this._unblockTime+this.storeOptions.minTime;this.instance._dropAllQueued()}return{reachedHWM:s,blocked:r,strategy:this.storeOptions.strategy}}async __free__(e,t){await this.yieldLoop();this._running-=t;this._done+=t;this.instance._drainAll(this.computeCapacity());return{running:this._running}}};var Q=y;var B,b;B=l;b=class States{constructor(e){this.status=e;this._jobs={};this.counts=this.status.map((function(){return 0}))}next(e){var t,r;t=this._jobs[e];r=t+1;if(t!=null&&r{e[this.status[r]]=t;return e}),{})}};var T=b;var w,v;w=n;v=class Sync{constructor(e,t){this.schedule=this.schedule.bind(this);this.name=e;this.Promise=t;this._running=0;this._queue=new w}isEmpty(){return this._queue.length===0}async _tryToRun(){var e,t,r,n,s,o,i;if(this._running<1&&this._queue.length>0){this._running++;({task:i,args:e,resolve:s,reject:n}=this._queue.shift());t=await async function(){try{o=await i(...e);return function(){return s(o)}}catch(e){r=e;return function(){return n(r)}}}();this._running--;this._tryToRun();return t()}}schedule(e,...t){var r,n,s;s=n=null;r=new this.Promise((function(e,t){s=e;return n=t}));this._queue.push({task:e,args:t,resolve:s,reject:n});this._tryToRun();return r}};var R=v;var k="2.19.5";var D={version:k};var _=Object.freeze({version:k,default:D});var require$$2=()=>console.log("You must import the full version of Bottleneck in order to use this feature.");var require$$3=()=>console.log("You must import the full version of Bottleneck in order to use this feature.");var require$$4=()=>console.log("You must import the full version of Bottleneck in order to use this feature.");var S,F,N,O,L,U;U=t;S=o;O=require$$2;N=require$$3;L=require$$4;F=function(){class Group{constructor(e={}){this.deleteKey=this.deleteKey.bind(this);this.limiterOptions=e;U.load(this.limiterOptions,this.defaults,this);this.Events=new S(this);this.instances={};this.Bottleneck=re;this._startAutoCleanup();this.sharedConnection=this.connection!=null;if(this.connection==null){if(this.limiterOptions.datastore==="redis"){this.connection=new O(Object.assign({},this.limiterOptions,{Events:this.Events}))}else if(this.limiterOptions.datastore==="ioredis"){this.connection=new N(Object.assign({},this.limiterOptions,{Events:this.Events}))}}}key(e=""){var t;return(t=this.instances[e])!=null?t:(()=>{var t;t=this.instances[e]=new this.Bottleneck(Object.assign(this.limiterOptions,{id:`${this.id}-${e}`,timeout:this.timeout,connection:this.connection}));this.Events.trigger("created",t,e);return t})()}async deleteKey(e=""){var t,r;r=this.instances[e];if(this.connection){t=await this.connection.__runCommand__(["del",...L.allKeys(`${this.id}-${e}`)])}if(r!=null){delete this.instances[e];await r.disconnect()}return r!=null||t>0}limiters(){var e,t,r,n;t=this.instances;r=[];for(e in t){n=t[e];r.push({key:e,limiter:n})}return r}keys(){return Object.keys(this.instances)}async clusterKeys(){var e,t,r,n,s,o,i,a,A;if(this.connection==null){return this.Promise.resolve(this.keys())}o=[];e=null;A=`b_${this.id}-`.length;t="_settings".length;while(e!==0){[a,r]=await this.connection.__runCommand__(["scan",e!=null?e:0,"match",`b_${this.id}-*_settings`,"count",1e4]);e=~~a;for(n=0,i=r.length;n{var e,t,r,n,s,o;s=Date.now();r=this.instances;n=[];for(t in r){o=r[t];try{if(await o._store.__groupCheck__(s)){n.push(this.deleteKey(t))}else{n.push(void 0)}}catch(t){e=t;n.push(o.Events.trigger("error",e))}}return n}),this.timeout/2)).unref==="function"?e.unref():void 0}updateSettings(e={}){U.overwrite(e,this.defaults,this);U.overwrite(e,e,this.limiterOptions);if(e.timeout!=null){return this._startAutoCleanup()}}disconnect(e=true){var t;if(!this.sharedConnection){return(t=this.connection)!=null?t.disconnect(e):void 0}}}Group.prototype.defaults={timeout:1e3*60*5,connection:null,Promise:Promise,id:"group-key"};return Group}.call(e);var G=F;var P,M,x;x=t;M=o;P=function(){class Batcher{constructor(e={}){this.options=e;x.load(this.options,this.defaults,this);this.Events=new M(this);this._arr=[];this._resetPromise();this._lastFlush=Date.now()}_resetPromise(){return this._promise=new this.Promise(((e,t)=>this._resolve=e))}_flush(){clearTimeout(this._timeout);this._lastFlush=Date.now();this._resolve();this.Events.trigger("batch",this._arr);this._arr=[];return this._resetPromise()}add(e){var t;this._arr.push(e);t=this._promise;if(this._arr.length===this.maxSize){this._flush()}else if(this.maxTime!=null&&this._arr.length===1){this._timeout=setTimeout((()=>this._flush()),this.maxTime)}return t}}Batcher.prototype.defaults={maxTime:null,maxSize:null,Promise:Promise};return Batcher}.call(e);var V=P;var require$$4$1=()=>console.log("You must import the full version of Bottleneck in order to use this feature.");var j=getCjsExportFromNamespace(_);var H,Y,q,J,W,K,$,z,Z,X,ee,te=[].splice;K=10;Y=5;ee=t;$=c;J=m;W=Q;z=require$$4$1;q=o;Z=T;X=R;H=function(){class Bottleneck{constructor(e={},...t){var r,n;this._addToQueue=this._addToQueue.bind(this);this._validateOptions(e,t);ee.load(e,this.instanceDefaults,this);this._queues=new $(K);this._scheduled={};this._states=new Z(["RECEIVED","QUEUED","RUNNING","EXECUTING"].concat(this.trackDoneStatus?["DONE"]:[]));this._limiter=null;this.Events=new q(this);this._submitLock=new X("submit",this.Promise);this._registerLock=new X("register",this.Promise);n=ee.load(e,this.storeDefaults,{});this._store=function(){if(this.datastore==="redis"||this.datastore==="ioredis"||this.connection!=null){r=ee.load(e,this.redisStoreDefaults,{});return new z(this,n,r)}else if(this.datastore==="local"){r=ee.load(e,this.localStoreDefaults,{});return new W(this,n,r)}else{throw new Bottleneck.prototype.BottleneckError(`Invalid datastore type: ${this.datastore}`)}}.call(this);this._queues.on("leftzero",(()=>{var e;return(e=this._store.heartbeat)!=null?typeof e.ref==="function"?e.ref():void 0:void 0}));this._queues.on("zero",(()=>{var e;return(e=this._store.heartbeat)!=null?typeof e.unref==="function"?e.unref():void 0:void 0}))}_validateOptions(e,t){if(!(e!=null&&typeof e==="object"&&t.length===0)){throw new Bottleneck.prototype.BottleneckError("Bottleneck v2 takes a single object argument. Refer to https://github.com/SGrondin/bottleneck#upgrading-to-v2 if you're upgrading from Bottleneck v1.")}}ready(){return this._store.ready}clients(){return this._store.clients}channel(){return`b_${this.id}`}channel_client(){return`b_${this.id}_${this._store.clientId}`}publish(e){return this._store.__publish__(e)}disconnect(e=true){return this._store.__disconnect__(e)}chain(e){this._limiter=e;return this}queued(e){return this._queues.queued(e)}clusterQueued(){return this._store.__queued__()}empty(){return this.queued()===0&&this._submitLock.isEmpty()}running(){return this._store.__running__()}done(){return this._store.__done__()}jobStatus(e){return this._states.jobStatus(e)}jobs(e){return this._states.statusJobs(e)}counts(){return this._states.statusCounts()}_randomIndex(){return Math.random().toString(36).slice(2)}check(e=1){return this._store.__check__(e)}_clearGlobalState(e){if(this._scheduled[e]!=null){clearTimeout(this._scheduled[e].expiration);delete this._scheduled[e];return true}else{return false}}async _free(e,t,r,n){var s,o;try{({running:o}=await this._store.__free__(e,r.weight));this.Events.trigger("debug",`Freed ${r.id}`,n);if(o===0&&this.empty()){return this.Events.trigger("idle")}}catch(e){s=e;return this.Events.trigger("error",s)}}_run(e,t,r){var n,s,o;t.doRun();n=this._clearGlobalState.bind(this,e);o=this._run.bind(this,e,t);s=this._free.bind(this,e,t);return this._scheduled[e]={timeout:setTimeout((()=>t.doExecute(this._limiter,n,o,s)),r),expiration:t.options.expiration!=null?setTimeout((function(){return t.doExpire(n,o,s)}),r+t.options.expiration):void 0,job:t}}_drainOne(e){return this._registerLock.schedule((()=>{var t,r,n,s,o;if(this.queued()===0){return this.Promise.resolve(null)}o=this._queues.getFirst();({options:s,args:t}=n=o.first());if(e!=null&&s.weight>e){return this.Promise.resolve(null)}this.Events.trigger("debug",`Draining ${s.id}`,{args:t,options:s});r=this._randomIndex();return this._store.__register__(r,s.weight,s.expiration).then((({success:e,wait:i,reservoir:a})=>{var A;this.Events.trigger("debug",`Drained ${s.id}`,{success:e,args:t,options:s});if(e){o.shift();A=this.empty();if(A){this.Events.trigger("empty")}if(a===0){this.Events.trigger("depleted",A)}this._run(r,n,i);return this.Promise.resolve(s.weight)}else{return this.Promise.resolve(null)}}))}))}_drainAll(e,t=0){return this._drainOne(e).then((r=>{var n;if(r!=null){n=e!=null?e-r:e;return this._drainAll(n,t+r)}else{return this.Promise.resolve(t)}})).catch((e=>this.Events.trigger("error",e)))}_dropAllQueued(e){return this._queues.shiftAll((function(t){return t.doDrop({message:e})}))}stop(e={}){var t,r;e=ee.load(e,this.stopDefaults);r=e=>{var t;t=()=>{var t;t=this._states.counts;return t[0]+t[1]+t[2]+t[3]===e};return new this.Promise(((e,r)=>{if(t()){return e()}else{return this.on("done",(()=>{if(t()){this.removeAllListeners("done");return e()}}))}}))};t=e.dropWaitingJobs?(this._run=function(t,r){return r.doDrop({message:e.dropErrorMessage})},this._drainOne=()=>this.Promise.resolve(null),this._registerLock.schedule((()=>this._submitLock.schedule((()=>{var t,n,s;n=this._scheduled;for(t in n){s=n[t];if(this.jobStatus(s.job.options.id)==="RUNNING"){clearTimeout(s.timeout);clearTimeout(s.expiration);s.job.doDrop({message:e.dropErrorMessage})}}this._dropAllQueued(e.dropErrorMessage);return r(0)}))))):this.schedule({priority:K-1,weight:0},(()=>r(1)));this._receive=function(t){return t._reject(new Bottleneck.prototype.BottleneckError(e.enqueueErrorMessage))};this.stop=()=>this.Promise.reject(new Bottleneck.prototype.BottleneckError("stop() has already been called"));return t}async _addToQueue(e){var t,r,n,s,o,i,a;({args:t,options:s}=e);try{({reachedHWM:o,blocked:r,strategy:a}=await this._store.__submit__(this.queued(),s.weight))}catch(r){n=r;this.Events.trigger("debug",`Could not queue ${s.id}`,{args:t,options:s,error:n});e.doDrop({error:n});return false}if(r){e.doDrop();return true}else if(o){i=a===Bottleneck.prototype.strategy.LEAK?this._queues.shiftLastFrom(s.priority):a===Bottleneck.prototype.strategy.OVERFLOW_PRIORITY?this._queues.shiftLastFrom(s.priority+1):a===Bottleneck.prototype.strategy.OVERFLOW?e:void 0;if(i!=null){i.doDrop()}if(i==null||a===Bottleneck.prototype.strategy.OVERFLOW){if(i==null){e.doDrop()}return o}}e.doQueue(o,r);this._queues.push(e);await this._drainAll();return o}_receive(e){if(this._states.jobStatus(e.options.id)!=null){e._reject(new Bottleneck.prototype.BottleneckError(`A job with the same id already exists (id=${e.options.id})`));return false}else{e.doReceive();return this._submitLock.schedule(this._addToQueue,e)}}submit(...e){var t,r,n,s,o,i,a;if(typeof e[0]==="function"){o=e,[r,...e]=o,[t]=te.call(e,-1);s=ee.load({},this.jobDefaults)}else{i=e,[s,r,...e]=i,[t]=te.call(e,-1);s=ee.load(s,this.jobDefaults)}a=(...e)=>new this.Promise((function(t,n){return r(...e,(function(...e){return(e[0]!=null?n:t)(e)}))}));n=new J(a,e,s,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise);n.promise.then((function(e){return typeof t==="function"?t(...e):void 0})).catch((function(e){if(Array.isArray(e)){return typeof t==="function"?t(...e):void 0}else{return typeof t==="function"?t(e):void 0}}));return this._receive(n)}schedule(...e){var t,r,n;if(typeof e[0]==="function"){[n,...e]=e;r={}}else{[r,n,...e]=e}t=new J(n,e,r,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise);this._receive(t);return t.promise}wrap(e){var t,r;t=this.schedule.bind(this);r=function(...r){return t(e.bind(this),...r)};r.withOptions=function(r,...n){return t(r,e,...n)};return r}async updateSettings(e={}){await this._store.__updateSettings__(ee.overwrite(e,this.storeDefaults));ee.overwrite(e,this.instanceDefaults,this);return this}currentReservoir(){return this._store.__currentReservoir__()}incrementReservoir(e=0){return this._store.__incrementReservoir__(e)}}Bottleneck.default=Bottleneck;Bottleneck.Events=q;Bottleneck.version=Bottleneck.prototype.version=j.version;Bottleneck.strategy=Bottleneck.prototype.strategy={LEAK:1,OVERFLOW:2,OVERFLOW_PRIORITY:4,BLOCK:3};Bottleneck.BottleneckError=Bottleneck.prototype.BottleneckError=l;Bottleneck.Group=Bottleneck.prototype.Group=G;Bottleneck.RedisConnection=Bottleneck.prototype.RedisConnection=require$$2;Bottleneck.IORedisConnection=Bottleneck.prototype.IORedisConnection=require$$3;Bottleneck.Batcher=Bottleneck.prototype.Batcher=V;Bottleneck.prototype.jobDefaults={priority:Y,weight:1,expiration:null,id:""};Bottleneck.prototype.storeDefaults={maxConcurrent:null,minTime:0,highWater:null,strategy:Bottleneck.prototype.strategy.LEAK,penalty:null,reservoir:null,reservoirRefreshInterval:null,reservoirRefreshAmount:null,reservoirIncreaseInterval:null,reservoirIncreaseAmount:null,reservoirIncreaseMaximum:null};Bottleneck.prototype.localStoreDefaults={Promise:Promise,timeout:null,heartbeatInterval:250};Bottleneck.prototype.redisStoreDefaults={Promise:Promise,timeout:null,heartbeatInterval:5e3,clientTimeout:1e4,Redis:null,clientOptions:{},clusterNodes:null,clearDatastore:false,connection:null};Bottleneck.prototype.instanceDefaults={datastore:"local",connection:null,id:"",rejectOnDrop:true,trackDoneStatus:false,Promise:Promise};Bottleneck.prototype.stopDefaults={enqueueErrorMessage:"This limiter has been stopped and cannot accept new jobs.",dropWaitingJobs:true,dropErrorMessage:"This limiter has been stopped."};return Bottleneck}.call(e);var re=H;var ne=re;return ne}))},4150:(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},8889:(e,t,r)=>{const n=r(9896);const s=r(6928);const o=r(857);const i=r(6982);const a=r(56);const A=a.version;const c=/(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/gm;function parse(e){const t={};let r=e.toString();r=r.replace(/\r\n?/gm,"\n");let n;while((n=c.exec(r))!=null){const e=n[1];let r=n[2]||"";r=r.trim();const s=r[0];r=r.replace(/^(['"`])([\s\S]*)\1$/gm,"$2");if(s==='"'){r=r.replace(/\\n/g,"\n");r=r.replace(/\\r/g,"\r")}t[e]=r}return t}function _parseVault(e){const t=_vaultPath(e);const r=u.configDotenv({path:t});if(!r.parsed){const e=new Error(`MISSING_DATA: Cannot parse ${t} for an unknown reason`);e.code="MISSING_DATA";throw e}const n=_dotenvKey(e).split(",");const s=n.length;let o;for(let e=0;e=s){throw t}}}return u.parse(o)}function _log(e){console.log(`[dotenv@${A}][INFO] ${e}`)}function _warn(e){console.log(`[dotenv@${A}][WARN] ${e}`)}function _debug(e){console.log(`[dotenv@${A}][DEBUG] ${e}`)}function _dotenvKey(e){if(e&&e.DOTENV_KEY&&e.DOTENV_KEY.length>0){return e.DOTENV_KEY}if(process.env.DOTENV_KEY&&process.env.DOTENV_KEY.length>0){return process.env.DOTENV_KEY}return""}function _instructions(e,t){let r;try{r=new URL(t)}catch(e){if(e.code==="ERR_INVALID_URL"){const e=new Error("INVALID_DOTENV_KEY: Wrong format. Must be in valid uri format like dotenv://:key_1234@dotenvx.com/vault/.env.vault?environment=development");e.code="INVALID_DOTENV_KEY";throw e}throw e}const n=r.password;if(!n){const e=new Error("INVALID_DOTENV_KEY: Missing key part");e.code="INVALID_DOTENV_KEY";throw e}const s=r.searchParams.get("environment");if(!s){const e=new Error("INVALID_DOTENV_KEY: Missing environment part");e.code="INVALID_DOTENV_KEY";throw e}const o=`DOTENV_VAULT_${s.toUpperCase()}`;const i=e.parsed[o];if(!i){const e=new Error(`NOT_FOUND_DOTENV_ENVIRONMENT: Cannot locate environment ${o} in your .env.vault file.`);e.code="NOT_FOUND_DOTENV_ENVIRONMENT";throw e}return{ciphertext:i,key:n}}function _vaultPath(e){let t=null;if(e&&e.path&&e.path.length>0){if(Array.isArray(e.path)){for(const r of e.path){if(n.existsSync(r)){t=r.endsWith(".vault")?r:`${r}.vault`}}}else{t=e.path.endsWith(".vault")?e.path:`${e.path}.vault`}}else{t=s.resolve(process.cwd(),".env.vault")}if(n.existsSync(t)){return t}return null}function _resolveHome(e){return e[0]==="~"?s.join(o.homedir(),e.slice(1)):e}function _configVault(e){_log("Loading env from encrypted .env.vault");const t=u._parseVault(e);let r=process.env;if(e&&e.processEnv!=null){r=e.processEnv}u.populate(r,t,e);return{parsed:t}}function configDotenv(e){const t=s.resolve(process.cwd(),".env");let r="utf8";const o=Boolean(e&&e.debug);if(e&&e.encoding){r=e.encoding}else{if(o){_debug("No encoding is specified. UTF-8 is used by default")}}let i=[t];if(e&&e.path){if(!Array.isArray(e.path)){i=[_resolveHome(e.path)]}else{i=[];for(const t of e.path){i.push(_resolveHome(t))}}}let a;const A={};for(const t of i){try{const s=u.parse(n.readFileSync(t,{encoding:r}));u.populate(A,s,e)}catch(e){if(o){_debug(`Failed to load ${t} ${e.message}`)}a=e}}let c=process.env;if(e&&e.processEnv!=null){c=e.processEnv}u.populate(c,A,e);if(a){return{parsed:A,error:a}}else{return{parsed:A}}}function config(e){if(_dotenvKey(e).length===0){return u.configDotenv(e)}const t=_vaultPath(e);if(!t){_warn(`You set DOTENV_KEY but you are missing a .env.vault file at ${t}. Did you forget to build it?`);return u.configDotenv(e)}return u._configVault(e)}function decrypt(e,t){const r=Buffer.from(t.slice(-64),"hex");let n=Buffer.from(e,"base64");const s=n.subarray(0,12);const o=n.subarray(-16);n=n.subarray(12,-16);try{const e=i.createDecipheriv("aes-256-gcm",r,s);e.setAuthTag(o);return`${e.update(n)}${e.final()}`}catch(e){const t=e instanceof RangeError;const r=e.message==="Invalid key length";const n=e.message==="Unsupported state or unable to authenticate data";if(t||r){const e=new Error("INVALID_DOTENV_KEY: It must be 64 characters long (or more)");e.code="INVALID_DOTENV_KEY";throw e}else if(n){const e=new Error("DECRYPTION_FAILED: Please check your DOTENV_KEY");e.code="DECRYPTION_FAILED";throw e}else{throw e}}}function populate(e,t,r={}){const n=Boolean(r&&r.debug);const s=Boolean(r&&r.override);if(typeof t!=="object"){const e=new Error("OBJECT_REQUIRED: Please check the processEnv argument being passed to populate");e.code="OBJECT_REQUIRED";throw e}for(const r of Object.keys(t)){if(Object.prototype.hasOwnProperty.call(e,r)){if(s===true){e[r]=t[r]}if(n){if(s===true){_debug(`"${r}" is already defined and WAS overwritten`)}else{_debug(`"${r}" is already defined and was NOT overwritten`)}}}else{e[r]=t[r]}}}const u={configDotenv:configDotenv,_configVault:_configVault,_parseVault:_parseVault,config:config,decrypt:decrypt,parse:parse,populate:populate};e.exports.configDotenv=u.configDotenv;e.exports._configVault=u._configVault;e.exports._parseVault=u._parseVault;e.exports.config=u.config;e.exports.decrypt=u.decrypt;e.exports.parse=u.parse;e.exports.populate=u.populate;e.exports=u},1240:function(e,t,r){(function(e,n){true?n(t,r(1860),r(7645)):0})(this,(function(e,t,r){"use strict";var n=new Map;var s=new Map;var o=true;var i=false;function normalize(e){return e.replace(/[\s,]+/g," ").trim()}function cacheKeyFromLoc(e){return normalize(e.source.body.substring(e.start,e.end))}function processFragments(e){var r=new Set;var n=[];e.definitions.forEach((function(e){if(e.kind==="FragmentDefinition"){var t=e.name.value;var i=cacheKeyFromLoc(e.loc);var a=s.get(t);if(a&&!a.has(i)){if(o){console.warn("Warning: fragment with name "+t+" already exists.\n"+"graphql-tag enforces all fragment names across your application to be unique; read more about\n"+"this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names")}}else if(!a){s.set(t,a=new Set)}a.add(i);if(!r.has(i)){r.add(i);n.push(e)}}else{n.push(e)}}));return t.__assign(t.__assign({},e),{definitions:n})}function stripLoc(e){var t=new Set(e.definitions);t.forEach((function(e){if(e.loc)delete e.loc;Object.keys(e).forEach((function(r){var n=e[r];if(n&&typeof n==="object"){t.add(n)}}))}));var r=e.loc;if(r){delete r.startToken;delete r.endToken}return e}function parseDocument(e){var t=normalize(e);if(!n.has(t)){var s=r.parse(e,{experimentalFragmentVariables:i,allowLegacyFragmentVariables:i});if(!s||s.kind!=="Document"){throw new Error("Not a valid GraphQL document.")}n.set(t,stripLoc(processFragments(s)))}return n.get(t)}function gql(e){var t=[];for(var r=1;r{e.exports=r(1240).gql},5939:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.GraphQLError=void 0;t.formatError=formatError;t.printError=printError;var n=r(892);var s=r(2245);var o=r(6512);function toNormalizedOptions(e){const t=e[0];if(t==null||"kind"in t||"length"in t){return{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}}return t}class GraphQLError extends Error{constructor(e,...t){var r,o,i;const{nodes:a,source:A,positions:c,path:u,originalError:l,extensions:p}=toNormalizedOptions(t);super(e);this.name="GraphQLError";this.path=u!==null&&u!==void 0?u:undefined;this.originalError=l!==null&&l!==void 0?l:undefined;this.nodes=undefinedIfEmpty(Array.isArray(a)?a:a?[a]:undefined);const d=undefinedIfEmpty((r=this.nodes)===null||r===void 0?void 0:r.map((e=>e.loc)).filter((e=>e!=null)));this.source=A!==null&&A!==void 0?A:d===null||d===void 0?void 0:(o=d[0])===null||o===void 0?void 0:o.source;this.positions=c!==null&&c!==void 0?c:d===null||d===void 0?void 0:d.map((e=>e.start));this.locations=c&&A?c.map((e=>(0,s.getLocation)(A,e))):d===null||d===void 0?void 0:d.map((e=>(0,s.getLocation)(e.source,e.start)));const g=(0,n.isObjectLike)(l===null||l===void 0?void 0:l.extensions)?l===null||l===void 0?void 0:l.extensions:undefined;this.extensions=(i=p!==null&&p!==void 0?p:g)!==null&&i!==void 0?i:Object.create(null);Object.defineProperties(this,{message:{writable:true,enumerable:true},name:{enumerable:false},nodes:{enumerable:false},source:{enumerable:false},positions:{enumerable:false},originalError:{enumerable:false}});if(l!==null&&l!==void 0&&l.stack){Object.defineProperty(this,"stack",{value:l.stack,writable:true,configurable:true})}else if(Error.captureStackTrace){Error.captureStackTrace(this,GraphQLError)}else{Object.defineProperty(this,"stack",{value:Error().stack,writable:true,configurable:true})}}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes){for(const t of this.nodes){if(t.loc){e+="\n\n"+(0,o.printLocation)(t.loc)}}}else if(this.source&&this.locations){for(const t of this.locations){e+="\n\n"+(0,o.printSourceLocation)(this.source,t)}}return e}toJSON(){const e={message:this.message};if(this.locations!=null){e.locations=this.locations}if(this.path!=null){e.path=this.path}if(this.extensions!=null&&Object.keys(this.extensions).length>0){e.extensions=this.extensions}return e}}t.GraphQLError=GraphQLError;function undefinedIfEmpty(e){return e===undefined||e.length===0?undefined:e}function printError(e){return e.toString()}function formatError(e){return e.toJSON()}},9888:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"GraphQLError",{enumerable:true,get:function(){return n.GraphQLError}});Object.defineProperty(t,"formatError",{enumerable:true,get:function(){return n.formatError}});Object.defineProperty(t,"locatedError",{enumerable:true,get:function(){return o.locatedError}});Object.defineProperty(t,"printError",{enumerable:true,get:function(){return n.printError}});Object.defineProperty(t,"syntaxError",{enumerable:true,get:function(){return s.syntaxError}});var n=r(5939);var s=r(9619);var o=r(7550)},7550:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.locatedError=locatedError;var n=r(9615);var s=r(5939);function locatedError(e,t,r){var o;const i=(0,n.toError)(e);if(isLocatedGraphQLError(i)){return i}return new s.GraphQLError(i.message,{nodes:(o=i.nodes)!==null&&o!==void 0?o:t,source:i.source,positions:i.positions,path:r,originalError:i})}function isLocatedGraphQLError(e){return Array.isArray(e.path)}},9619:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.syntaxError=syntaxError;var n=r(5939);function syntaxError(e,t,r){return new n.GraphQLError(`Syntax Error: ${r}`,{source:e,positions:[t]})}},7611:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.collectFields=collectFields;t.collectSubfields=collectSubfields;var n=r(1123);var s=r(4169);var o=r(1058);var i=r(6738);var a=r(3604);function collectFields(e,t,r,n,s){const o=new Map;collectFieldsImpl(e,t,r,n,s,o,new Set);return o}function collectSubfields(e,t,r,n,s){const o=new Map;const i=new Set;for(const a of s){if(a.selectionSet){collectFieldsImpl(e,t,r,n,a.selectionSet,o,i)}}return o}function collectFieldsImpl(e,t,r,s,o,i,a){for(const A of o.selections){switch(A.kind){case n.Kind.FIELD:{if(!shouldIncludeNode(r,A)){continue}const e=getFieldEntryKey(A);const t=i.get(e);if(t!==undefined){t.push(A)}else{i.set(e,[A])}break}case n.Kind.INLINE_FRAGMENT:{if(!shouldIncludeNode(r,A)||!doesFragmentConditionMatch(e,A,s)){continue}collectFieldsImpl(e,t,r,s,A.selectionSet,i,a);break}case n.Kind.FRAGMENT_SPREAD:{const n=A.name.value;if(a.has(n)||!shouldIncludeNode(r,A)){continue}a.add(n);const o=t[n];if(!o||!doesFragmentConditionMatch(e,o,s)){continue}collectFieldsImpl(e,t,r,s,o.selectionSet,i,a);break}}}}function shouldIncludeNode(e,t){const r=(0,a.getDirectiveValues)(o.GraphQLSkipDirective,t,e);if((r===null||r===void 0?void 0:r.if)===true){return false}const n=(0,a.getDirectiveValues)(o.GraphQLIncludeDirective,t,e);if((n===null||n===void 0?void 0:n.if)===false){return false}return true}function doesFragmentConditionMatch(e,t,r){const n=t.typeCondition;if(!n){return true}const o=(0,i.typeFromAST)(e,n);if(o===r){return true}if((0,s.isAbstractType)(o)){return e.isSubType(o,r)}return false}function getFieldEntryKey(e){return e.alias?e.alias.value:e.name.value}},1304:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.assertValidExecutionArguments=assertValidExecutionArguments;t.buildExecutionContext=buildExecutionContext;t.buildResolveInfo=buildResolveInfo;t.defaultTypeResolver=t.defaultFieldResolver=void 0;t.execute=execute;t.executeSync=executeSync;t.getFieldDef=getFieldDef;var n=r(5383);var s=r(5742);var o=r(3650);var i=r(7341);var a=r(892);var A=r(4091);var c=r(8141);var u=r(3155);var l=r(5395);var p=r(1369);var d=r(5939);var g=r(7550);var h=r(2740);var E=r(1123);var m=r(4169);var I=r(317);var y=r(3902);var C=r(7611);var Q=r(3604);const B=(0,c.memoize3)(((e,t,r)=>(0,C.collectSubfields)(e.schema,e.fragments,e.variableValues,t,r)));function execute(e){arguments.length<2||(0,n.devAssert)(false,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");const{schema:t,document:r,variableValues:s,rootValue:o}=e;assertValidExecutionArguments(t,r,s);const i=buildExecutionContext(e);if(!("schema"in i)){return{errors:i}}try{const{operation:e}=i;const t=executeOperation(i,e,o);if((0,A.isPromise)(t)){return t.then((e=>buildResponse(e,i.errors)),(e=>{i.errors.push(e);return buildResponse(null,i.errors)}))}return buildResponse(t,i.errors)}catch(e){i.errors.push(e);return buildResponse(null,i.errors)}}function executeSync(e){const t=execute(e);if((0,A.isPromise)(t)){throw new Error("GraphQL execution failed to complete synchronously.")}return t}function buildResponse(e,t){return t.length===0?{data:e}:{errors:t,data:e}}function assertValidExecutionArguments(e,t,r){t||(0,n.devAssert)(false,"Must provide document.");(0,y.assertValidSchema)(e);r==null||(0,a.isObjectLike)(r)||(0,n.devAssert)(false,"Variables must be provided as an Object where each property is a variable value. Perhaps look to see if an unparsed JSON string was provided.")}function buildExecutionContext(e){var t,r;const{schema:n,document:s,rootValue:o,contextValue:i,variableValues:a,operationName:A,fieldResolver:c,typeResolver:u,subscribeFieldResolver:l}=e;let p;const g=Object.create(null);for(const e of s.definitions){switch(e.kind){case E.Kind.OPERATION_DEFINITION:if(A==null){if(p!==undefined){return[new d.GraphQLError("Must provide operation name if query contains multiple operations.")]}p=e}else if(((t=e.name)===null||t===void 0?void 0:t.value)===A){p=e}break;case E.Kind.FRAGMENT_DEFINITION:g[e.name.value]=e;break;default:}}if(!p){if(A!=null){return[new d.GraphQLError(`Unknown operation named "${A}".`)]}return[new d.GraphQLError("Must provide an operation.")]}const h=(r=p.variableDefinitions)!==null&&r!==void 0?r:[];const m=(0,Q.getVariableValues)(n,h,a!==null&&a!==void 0?a:{},{maxErrors:50});if(m.errors){return m.errors}return{schema:n,fragments:g,rootValue:o,contextValue:i,operation:p,variableValues:m.coerced,fieldResolver:c!==null&&c!==void 0?c:defaultFieldResolver,typeResolver:u!==null&&u!==void 0?u:defaultTypeResolver,subscribeFieldResolver:l!==null&&l!==void 0?l:defaultFieldResolver,errors:[]}}function executeOperation(e,t,r){const n=e.schema.getRootType(t.operation);if(n==null){throw new d.GraphQLError(`Schema is not configured to execute ${t.operation} operation.`,{nodes:t})}const s=(0,C.collectFields)(e.schema,e.fragments,e.variableValues,n,t.selectionSet);const o=undefined;switch(t.operation){case h.OperationTypeNode.QUERY:return executeFields(e,n,r,o,s);case h.OperationTypeNode.MUTATION:return executeFieldsSerially(e,n,r,o,s);case h.OperationTypeNode.SUBSCRIPTION:return executeFields(e,n,r,o,s)}}function executeFieldsSerially(e,t,r,n,s){return(0,p.promiseReduce)(s.entries(),((s,[o,i])=>{const a=(0,u.addPath)(n,o,t.name);const c=executeField(e,t,r,i,a);if(c===undefined){return s}if((0,A.isPromise)(c)){return c.then((e=>{s[o]=e;return s}))}s[o]=c;return s}),Object.create(null))}function executeFields(e,t,r,n,s){const o=Object.create(null);let i=false;try{for(const[a,c]of s.entries()){const s=(0,u.addPath)(n,a,t.name);const l=executeField(e,t,r,c,s);if(l!==undefined){o[a]=l;if((0,A.isPromise)(l)){i=true}}}}catch(e){if(i){return(0,l.promiseForObject)(o).finally((()=>{throw e}))}throw e}if(!i){return o}return(0,l.promiseForObject)(o)}function executeField(e,t,r,n,s){var o;const i=getFieldDef(e.schema,t,n[0]);if(!i){return}const a=i.type;const c=(o=i.resolve)!==null&&o!==void 0?o:e.fieldResolver;const l=buildResolveInfo(e,i,n,t,s);try{const t=(0,Q.getArgumentValues)(i,n[0],e.variableValues);const o=e.contextValue;const p=c(r,t,o,l);let d;if((0,A.isPromise)(p)){d=p.then((t=>completeValue(e,a,n,l,s,t)))}else{d=completeValue(e,a,n,l,s,p)}if((0,A.isPromise)(d)){return d.then(undefined,(t=>{const r=(0,g.locatedError)(t,n,(0,u.pathToArray)(s));return handleFieldError(r,a,e)}))}return d}catch(t){const r=(0,g.locatedError)(t,n,(0,u.pathToArray)(s));return handleFieldError(r,a,e)}}function buildResolveInfo(e,t,r,n,s){return{fieldName:t.name,fieldNodes:r,returnType:t.type,parentType:n,path:s,schema:e.schema,fragments:e.fragments,rootValue:e.rootValue,operation:e.operation,variableValues:e.variableValues}}function handleFieldError(e,t,r){if((0,m.isNonNullType)(t)){throw e}r.errors.push(e);return null}function completeValue(e,t,r,n,i,a){if(a instanceof Error){throw a}if((0,m.isNonNullType)(t)){const s=completeValue(e,t.ofType,r,n,i,a);if(s===null){throw new Error(`Cannot return null for non-nullable field ${n.parentType.name}.${n.fieldName}.`)}return s}if(a==null){return null}if((0,m.isListType)(t)){return completeListValue(e,t,r,n,i,a)}if((0,m.isLeafType)(t)){return completeLeafValue(t,a)}if((0,m.isAbstractType)(t)){return completeAbstractValue(e,t,r,n,i,a)}if((0,m.isObjectType)(t)){return completeObjectValue(e,t,r,n,i,a)}false||(0,o.invariant)(false,"Cannot complete value of unexpected output type: "+(0,s.inspect)(t))}function completeListValue(e,t,r,n,s,o){if(!(0,i.isIterableObject)(o)){throw new d.GraphQLError(`Expected Iterable, but did not find one for field "${n.parentType.name}.${n.fieldName}".`)}const a=t.ofType;let c=false;const l=Array.from(o,((t,o)=>{const i=(0,u.addPath)(s,o,undefined);try{let s;if((0,A.isPromise)(t)){s=t.then((t=>completeValue(e,a,r,n,i,t)))}else{s=completeValue(e,a,r,n,i,t)}if((0,A.isPromise)(s)){c=true;return s.then(undefined,(t=>{const n=(0,g.locatedError)(t,r,(0,u.pathToArray)(i));return handleFieldError(n,a,e)}))}return s}catch(t){const n=(0,g.locatedError)(t,r,(0,u.pathToArray)(i));return handleFieldError(n,a,e)}}));return c?Promise.all(l):l}function completeLeafValue(e,t){const r=e.serialize(t);if(r==null){throw new Error(`Expected \`${(0,s.inspect)(e)}.serialize(${(0,s.inspect)(t)})\` to `+`return non-nullable value, returned: ${(0,s.inspect)(r)}`)}return r}function completeAbstractValue(e,t,r,n,s,o){var i;const a=(i=t.resolveType)!==null&&i!==void 0?i:e.typeResolver;const c=e.contextValue;const u=a(o,c,n,t);if((0,A.isPromise)(u)){return u.then((i=>completeObjectValue(e,ensureValidRuntimeType(i,e,t,r,n,o),r,n,s,o)))}return completeObjectValue(e,ensureValidRuntimeType(u,e,t,r,n,o),r,n,s,o)}function ensureValidRuntimeType(e,t,r,n,o,i){if(e==null){throw new d.GraphQLError(`Abstract type "${r.name}" must resolve to an Object type at runtime for field "${o.parentType.name}.${o.fieldName}". Either the "${r.name}" type should provide a "resolveType" function or each possible type should provide an "isTypeOf" function.`,n)}if((0,m.isObjectType)(e)){throw new d.GraphQLError("Support for returning GraphQLObjectType from resolveType was removed in graphql-js@16.0.0 please return type name instead.")}if(typeof e!=="string"){throw new d.GraphQLError(`Abstract type "${r.name}" must resolve to an Object type at runtime for field "${o.parentType.name}.${o.fieldName}" with `+`value ${(0,s.inspect)(i)}, received "${(0,s.inspect)(e)}".`)}const a=t.schema.getType(e);if(a==null){throw new d.GraphQLError(`Abstract type "${r.name}" was resolved to a type "${e}" that does not exist inside the schema.`,{nodes:n})}if(!(0,m.isObjectType)(a)){throw new d.GraphQLError(`Abstract type "${r.name}" was resolved to a non-object type "${e}".`,{nodes:n})}if(!t.schema.isSubType(r,a)){throw new d.GraphQLError(`Runtime Object type "${a.name}" is not a possible type for "${r.name}".`,{nodes:n})}return a}function completeObjectValue(e,t,r,n,s,o){const i=B(e,t,r);if(t.isTypeOf){const a=t.isTypeOf(o,e.contextValue,n);if((0,A.isPromise)(a)){return a.then((n=>{if(!n){throw invalidReturnTypeError(t,o,r)}return executeFields(e,t,o,s,i)}))}if(!a){throw invalidReturnTypeError(t,o,r)}}return executeFields(e,t,o,s,i)}function invalidReturnTypeError(e,t,r){return new d.GraphQLError(`Expected value of type "${e.name}" but got: ${(0,s.inspect)(t)}.`,{nodes:r})}const defaultTypeResolver=function(e,t,r,n){if((0,a.isObjectLike)(e)&&typeof e.__typename==="string"){return e.__typename}const s=r.schema.getPossibleTypes(n);const o=[];for(let n=0;n{for(let t=0;t{Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"createSourceEventStream",{enumerable:true,get:function(){return o.createSourceEventStream}});Object.defineProperty(t,"defaultFieldResolver",{enumerable:true,get:function(){return s.defaultFieldResolver}});Object.defineProperty(t,"defaultTypeResolver",{enumerable:true,get:function(){return s.defaultTypeResolver}});Object.defineProperty(t,"execute",{enumerable:true,get:function(){return s.execute}});Object.defineProperty(t,"executeSync",{enumerable:true,get:function(){return s.executeSync}});Object.defineProperty(t,"getArgumentValues",{enumerable:true,get:function(){return i.getArgumentValues}});Object.defineProperty(t,"getDirectiveValues",{enumerable:true,get:function(){return i.getDirectiveValues}});Object.defineProperty(t,"getVariableValues",{enumerable:true,get:function(){return i.getVariableValues}});Object.defineProperty(t,"responsePathAsArray",{enumerable:true,get:function(){return n.pathToArray}});Object.defineProperty(t,"subscribe",{enumerable:true,get:function(){return o.subscribe}});var n=r(3155);var s=r(1304);var o=r(8540);var i=r(3604)},974:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.mapAsyncIterator=mapAsyncIterator;function mapAsyncIterator(e,t){const r=e[Symbol.asyncIterator]();async function mapResult(e){if(e.done){return e}try{return{value:await t(e.value),done:false}}catch(e){if(typeof r.return==="function"){try{await r.return()}catch(e){}}throw e}}return{async next(){return mapResult(await r.next())},async return(){return typeof r.return==="function"?mapResult(await r.return()):{value:undefined,done:true}},async throw(e){if(typeof r.throw==="function"){return mapResult(await r.throw(e))}throw e},[Symbol.asyncIterator](){return this}}}},8540:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.createSourceEventStream=createSourceEventStream;t.subscribe=subscribe;var n=r(5383);var s=r(5742);var o=r(4068);var i=r(3155);var a=r(5939);var A=r(7550);var c=r(7611);var u=r(1304);var l=r(974);var p=r(3604);async function subscribe(e){arguments.length<2||(0,n.devAssert)(false,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");const t=await createSourceEventStream(e);if(!(0,o.isAsyncIterable)(t)){return t}const mapSourceToResponse=t=>(0,u.execute)({...e,rootValue:t});return(0,l.mapAsyncIterator)(t,mapSourceToResponse)}function toNormalizedArgs(e){const t=e[0];if(t&&"document"in t){return t}return{schema:t,document:e[1],rootValue:e[2],contextValue:e[3],variableValues:e[4],operationName:e[5],subscribeFieldResolver:e[6]}}async function createSourceEventStream(...e){const t=toNormalizedArgs(e);const{schema:r,document:n,variableValues:i}=t;(0,u.assertValidExecutionArguments)(r,n,i);const A=(0,u.buildExecutionContext)(t);if(!("schema"in A)){return{errors:A}}try{const e=await executeSubscription(A);if(!(0,o.isAsyncIterable)(e)){throw new Error("Subscription field must return Async Iterable. "+`Received: ${(0,s.inspect)(e)}.`)}return e}catch(e){if(e instanceof a.GraphQLError){return{errors:[e]}}throw e}}async function executeSubscription(e){const{schema:t,fragments:r,operation:n,variableValues:s,rootValue:o}=e;const l=t.getSubscriptionType();if(l==null){throw new a.GraphQLError("Schema is not configured to execute subscription operation.",{nodes:n})}const d=(0,c.collectFields)(t,r,s,l,n.selectionSet);const[g,h]=[...d.entries()][0];const E=(0,u.getFieldDef)(t,l,h[0]);if(!E){const e=h[0].name.value;throw new a.GraphQLError(`The subscription field "${e}" is not defined.`,{nodes:h})}const m=(0,i.addPath)(undefined,g,l.name);const I=(0,u.buildResolveInfo)(e,E,h,l,m);try{var y;const t=(0,p.getArgumentValues)(E,h[0],s);const r=e.contextValue;const n=(y=E.subscribe)!==null&&y!==void 0?y:e.subscribeFieldResolver;const i=await n(o,t,r,I);if(i instanceof Error){throw i}return i}catch(e){throw(0,A.locatedError)(e,h,(0,i.pathToArray)(m))}}},3604:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getArgumentValues=getArgumentValues;t.getDirectiveValues=getDirectiveValues;t.getVariableValues=getVariableValues;var n=r(5742);var s=r(7579);var o=r(8373);var i=r(5939);var a=r(1123);var A=r(9936);var c=r(4169);var u=r(7572);var l=r(6738);var p=r(6495);function getVariableValues(e,t,r,n){const s=[];const o=n===null||n===void 0?void 0:n.maxErrors;try{const n=coerceVariableValues(e,t,r,(e=>{if(o!=null&&s.length>=o){throw new i.GraphQLError("Too many errors processing variables, error limit reached. Execution aborted.")}s.push(e)}));if(s.length===0){return{coerced:n}}}catch(e){s.push(e)}return{errors:s}}function coerceVariableValues(e,t,r,s){const a={};for(const d of t){const t=d.variable.name.value;const g=(0,l.typeFromAST)(e,d.type);if(!(0,c.isInputType)(g)){const e=(0,A.print)(d.type);s(new i.GraphQLError(`Variable "$${t}" expected value of type "${e}" which cannot be used as an input type.`,{nodes:d.type}));continue}if(!hasOwnProperty(r,t)){if(d.defaultValue){a[t]=(0,p.valueFromAST)(d.defaultValue,g)}else if((0,c.isNonNullType)(g)){const e=(0,n.inspect)(g);s(new i.GraphQLError(`Variable "$${t}" of required type "${e}" was not provided.`,{nodes:d}))}continue}const h=r[t];if(h===null&&(0,c.isNonNullType)(g)){const e=(0,n.inspect)(g);s(new i.GraphQLError(`Variable "$${t}" of non-null type "${e}" must not be null.`,{nodes:d}));continue}a[t]=(0,u.coerceInputValue)(h,g,((e,r,a)=>{let A=`Variable "$${t}" got invalid value `+(0,n.inspect)(r);if(e.length>0){A+=` at "${t}${(0,o.printPathArray)(e)}"`}s(new i.GraphQLError(A+"; "+a.message,{nodes:d,originalError:a}))}))}return a}function getArgumentValues(e,t,r){var o;const u={};const l=(o=t.arguments)!==null&&o!==void 0?o:[];const d=(0,s.keyMap)(l,(e=>e.name.value));for(const s of e.args){const e=s.name;const o=s.type;const l=d[e];if(!l){if(s.defaultValue!==undefined){u[e]=s.defaultValue}else if((0,c.isNonNullType)(o)){throw new i.GraphQLError(`Argument "${e}" of required type "${(0,n.inspect)(o)}" `+"was not provided.",{nodes:t})}continue}const g=l.value;let h=g.kind===a.Kind.NULL;if(g.kind===a.Kind.VARIABLE){const t=g.name.value;if(r==null||!hasOwnProperty(r,t)){if(s.defaultValue!==undefined){u[e]=s.defaultValue}else if((0,c.isNonNullType)(o)){throw new i.GraphQLError(`Argument "${e}" of required type "${(0,n.inspect)(o)}" `+`was provided the variable "$${t}" which was not provided a runtime value.`,{nodes:g})}continue}h=r[t]==null}if(h&&(0,c.isNonNullType)(o)){throw new i.GraphQLError(`Argument "${e}" of non-null type "${(0,n.inspect)(o)}" `+"must not be null.",{nodes:g})}const E=(0,p.valueFromAST)(g,o,r);if(E===undefined){throw new i.GraphQLError(`Argument "${e}" has invalid value ${(0,A.print)(g)}.`,{nodes:g})}u[e]=E}return u}function getDirectiveValues(e,t,r){var n;const s=(n=t.directives)===null||n===void 0?void 0:n.find((t=>t.name.value===e.name));if(s){return getArgumentValues(e,s,r)}}function hasOwnProperty(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},6352:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.graphql=graphql;t.graphqlSync=graphqlSync;var n=r(5383);var s=r(4091);var o=r(4929);var i=r(3902);var a=r(7063);var A=r(1304);function graphql(e){return new Promise((t=>t(graphqlImpl(e))))}function graphqlSync(e){const t=graphqlImpl(e);if((0,s.isPromise)(t)){throw new Error("GraphQL execution failed to complete synchronously.")}return t}function graphqlImpl(e){arguments.length<2||(0,n.devAssert)(false,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");const{schema:t,source:r,rootValue:s,contextValue:c,variableValues:u,operationName:l,fieldResolver:p,typeResolver:d}=e;const g=(0,i.validateSchema)(t);if(g.length>0){return{errors:g}}let h;try{h=(0,o.parse)(r)}catch(e){return{errors:[e]}}const E=(0,a.validate)(t,h);if(E.length>0){return{errors:E}}return(0,A.execute)({schema:t,document:h,rootValue:s,contextValue:c,variableValues:u,operationName:l,fieldResolver:p,typeResolver:d})}},7645:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"BREAK",{enumerable:true,get:function(){return i.BREAK}});Object.defineProperty(t,"BreakingChangeType",{enumerable:true,get:function(){return u.BreakingChangeType}});Object.defineProperty(t,"DEFAULT_DEPRECATION_REASON",{enumerable:true,get:function(){return o.DEFAULT_DEPRECATION_REASON}});Object.defineProperty(t,"DangerousChangeType",{enumerable:true,get:function(){return u.DangerousChangeType}});Object.defineProperty(t,"DirectiveLocation",{enumerable:true,get:function(){return i.DirectiveLocation}});Object.defineProperty(t,"ExecutableDefinitionsRule",{enumerable:true,get:function(){return A.ExecutableDefinitionsRule}});Object.defineProperty(t,"FieldsOnCorrectTypeRule",{enumerable:true,get:function(){return A.FieldsOnCorrectTypeRule}});Object.defineProperty(t,"FragmentsOnCompositeTypesRule",{enumerable:true,get:function(){return A.FragmentsOnCompositeTypesRule}});Object.defineProperty(t,"GRAPHQL_MAX_INT",{enumerable:true,get:function(){return o.GRAPHQL_MAX_INT}});Object.defineProperty(t,"GRAPHQL_MIN_INT",{enumerable:true,get:function(){return o.GRAPHQL_MIN_INT}});Object.defineProperty(t,"GraphQLBoolean",{enumerable:true,get:function(){return o.GraphQLBoolean}});Object.defineProperty(t,"GraphQLDeprecatedDirective",{enumerable:true,get:function(){return o.GraphQLDeprecatedDirective}});Object.defineProperty(t,"GraphQLDirective",{enumerable:true,get:function(){return o.GraphQLDirective}});Object.defineProperty(t,"GraphQLEnumType",{enumerable:true,get:function(){return o.GraphQLEnumType}});Object.defineProperty(t,"GraphQLError",{enumerable:true,get:function(){return c.GraphQLError}});Object.defineProperty(t,"GraphQLFloat",{enumerable:true,get:function(){return o.GraphQLFloat}});Object.defineProperty(t,"GraphQLID",{enumerable:true,get:function(){return o.GraphQLID}});Object.defineProperty(t,"GraphQLIncludeDirective",{enumerable:true,get:function(){return o.GraphQLIncludeDirective}});Object.defineProperty(t,"GraphQLInputObjectType",{enumerable:true,get:function(){return o.GraphQLInputObjectType}});Object.defineProperty(t,"GraphQLInt",{enumerable:true,get:function(){return o.GraphQLInt}});Object.defineProperty(t,"GraphQLInterfaceType",{enumerable:true,get:function(){return o.GraphQLInterfaceType}});Object.defineProperty(t,"GraphQLList",{enumerable:true,get:function(){return o.GraphQLList}});Object.defineProperty(t,"GraphQLNonNull",{enumerable:true,get:function(){return o.GraphQLNonNull}});Object.defineProperty(t,"GraphQLObjectType",{enumerable:true,get:function(){return o.GraphQLObjectType}});Object.defineProperty(t,"GraphQLOneOfDirective",{enumerable:true,get:function(){return o.GraphQLOneOfDirective}});Object.defineProperty(t,"GraphQLScalarType",{enumerable:true,get:function(){return o.GraphQLScalarType}});Object.defineProperty(t,"GraphQLSchema",{enumerable:true,get:function(){return o.GraphQLSchema}});Object.defineProperty(t,"GraphQLSkipDirective",{enumerable:true,get:function(){return o.GraphQLSkipDirective}});Object.defineProperty(t,"GraphQLSpecifiedByDirective",{enumerable:true,get:function(){return o.GraphQLSpecifiedByDirective}});Object.defineProperty(t,"GraphQLString",{enumerable:true,get:function(){return o.GraphQLString}});Object.defineProperty(t,"GraphQLUnionType",{enumerable:true,get:function(){return o.GraphQLUnionType}});Object.defineProperty(t,"Kind",{enumerable:true,get:function(){return i.Kind}});Object.defineProperty(t,"KnownArgumentNamesRule",{enumerable:true,get:function(){return A.KnownArgumentNamesRule}});Object.defineProperty(t,"KnownDirectivesRule",{enumerable:true,get:function(){return A.KnownDirectivesRule}});Object.defineProperty(t,"KnownFragmentNamesRule",{enumerable:true,get:function(){return A.KnownFragmentNamesRule}});Object.defineProperty(t,"KnownTypeNamesRule",{enumerable:true,get:function(){return A.KnownTypeNamesRule}});Object.defineProperty(t,"Lexer",{enumerable:true,get:function(){return i.Lexer}});Object.defineProperty(t,"Location",{enumerable:true,get:function(){return i.Location}});Object.defineProperty(t,"LoneAnonymousOperationRule",{enumerable:true,get:function(){return A.LoneAnonymousOperationRule}});Object.defineProperty(t,"LoneSchemaDefinitionRule",{enumerable:true,get:function(){return A.LoneSchemaDefinitionRule}});Object.defineProperty(t,"MaxIntrospectionDepthRule",{enumerable:true,get:function(){return A.MaxIntrospectionDepthRule}});Object.defineProperty(t,"NoDeprecatedCustomRule",{enumerable:true,get:function(){return A.NoDeprecatedCustomRule}});Object.defineProperty(t,"NoFragmentCyclesRule",{enumerable:true,get:function(){return A.NoFragmentCyclesRule}});Object.defineProperty(t,"NoSchemaIntrospectionCustomRule",{enumerable:true,get:function(){return A.NoSchemaIntrospectionCustomRule}});Object.defineProperty(t,"NoUndefinedVariablesRule",{enumerable:true,get:function(){return A.NoUndefinedVariablesRule}});Object.defineProperty(t,"NoUnusedFragmentsRule",{enumerable:true,get:function(){return A.NoUnusedFragmentsRule}});Object.defineProperty(t,"NoUnusedVariablesRule",{enumerable:true,get:function(){return A.NoUnusedVariablesRule}});Object.defineProperty(t,"OperationTypeNode",{enumerable:true,get:function(){return i.OperationTypeNode}});Object.defineProperty(t,"OverlappingFieldsCanBeMergedRule",{enumerable:true,get:function(){return A.OverlappingFieldsCanBeMergedRule}});Object.defineProperty(t,"PossibleFragmentSpreadsRule",{enumerable:true,get:function(){return A.PossibleFragmentSpreadsRule}});Object.defineProperty(t,"PossibleTypeExtensionsRule",{enumerable:true,get:function(){return A.PossibleTypeExtensionsRule}});Object.defineProperty(t,"ProvidedRequiredArgumentsRule",{enumerable:true,get:function(){return A.ProvidedRequiredArgumentsRule}});Object.defineProperty(t,"ScalarLeafsRule",{enumerable:true,get:function(){return A.ScalarLeafsRule}});Object.defineProperty(t,"SchemaMetaFieldDef",{enumerable:true,get:function(){return o.SchemaMetaFieldDef}});Object.defineProperty(t,"SingleFieldSubscriptionsRule",{enumerable:true,get:function(){return A.SingleFieldSubscriptionsRule}});Object.defineProperty(t,"Source",{enumerable:true,get:function(){return i.Source}});Object.defineProperty(t,"Token",{enumerable:true,get:function(){return i.Token}});Object.defineProperty(t,"TokenKind",{enumerable:true,get:function(){return i.TokenKind}});Object.defineProperty(t,"TypeInfo",{enumerable:true,get:function(){return u.TypeInfo}});Object.defineProperty(t,"TypeKind",{enumerable:true,get:function(){return o.TypeKind}});Object.defineProperty(t,"TypeMetaFieldDef",{enumerable:true,get:function(){return o.TypeMetaFieldDef}});Object.defineProperty(t,"TypeNameMetaFieldDef",{enumerable:true,get:function(){return o.TypeNameMetaFieldDef}});Object.defineProperty(t,"UniqueArgumentDefinitionNamesRule",{enumerable:true,get:function(){return A.UniqueArgumentDefinitionNamesRule}});Object.defineProperty(t,"UniqueArgumentNamesRule",{enumerable:true,get:function(){return A.UniqueArgumentNamesRule}});Object.defineProperty(t,"UniqueDirectiveNamesRule",{enumerable:true,get:function(){return A.UniqueDirectiveNamesRule}});Object.defineProperty(t,"UniqueDirectivesPerLocationRule",{enumerable:true,get:function(){return A.UniqueDirectivesPerLocationRule}});Object.defineProperty(t,"UniqueEnumValueNamesRule",{enumerable:true,get:function(){return A.UniqueEnumValueNamesRule}});Object.defineProperty(t,"UniqueFieldDefinitionNamesRule",{enumerable:true,get:function(){return A.UniqueFieldDefinitionNamesRule}});Object.defineProperty(t,"UniqueFragmentNamesRule",{enumerable:true,get:function(){return A.UniqueFragmentNamesRule}});Object.defineProperty(t,"UniqueInputFieldNamesRule",{enumerable:true,get:function(){return A.UniqueInputFieldNamesRule}});Object.defineProperty(t,"UniqueOperationNamesRule",{enumerable:true,get:function(){return A.UniqueOperationNamesRule}});Object.defineProperty(t,"UniqueOperationTypesRule",{enumerable:true,get:function(){return A.UniqueOperationTypesRule}});Object.defineProperty(t,"UniqueTypeNamesRule",{enumerable:true,get:function(){return A.UniqueTypeNamesRule}});Object.defineProperty(t,"UniqueVariableNamesRule",{enumerable:true,get:function(){return A.UniqueVariableNamesRule}});Object.defineProperty(t,"ValidationContext",{enumerable:true,get:function(){return A.ValidationContext}});Object.defineProperty(t,"ValuesOfCorrectTypeRule",{enumerable:true,get:function(){return A.ValuesOfCorrectTypeRule}});Object.defineProperty(t,"VariablesAreInputTypesRule",{enumerable:true,get:function(){return A.VariablesAreInputTypesRule}});Object.defineProperty(t,"VariablesInAllowedPositionRule",{enumerable:true,get:function(){return A.VariablesInAllowedPositionRule}});Object.defineProperty(t,"__Directive",{enumerable:true,get:function(){return o.__Directive}});Object.defineProperty(t,"__DirectiveLocation",{enumerable:true,get:function(){return o.__DirectiveLocation}});Object.defineProperty(t,"__EnumValue",{enumerable:true,get:function(){return o.__EnumValue}});Object.defineProperty(t,"__Field",{enumerable:true,get:function(){return o.__Field}});Object.defineProperty(t,"__InputValue",{enumerable:true,get:function(){return o.__InputValue}});Object.defineProperty(t,"__Schema",{enumerable:true,get:function(){return o.__Schema}});Object.defineProperty(t,"__Type",{enumerable:true,get:function(){return o.__Type}});Object.defineProperty(t,"__TypeKind",{enumerable:true,get:function(){return o.__TypeKind}});Object.defineProperty(t,"assertAbstractType",{enumerable:true,get:function(){return o.assertAbstractType}});Object.defineProperty(t,"assertCompositeType",{enumerable:true,get:function(){return o.assertCompositeType}});Object.defineProperty(t,"assertDirective",{enumerable:true,get:function(){return o.assertDirective}});Object.defineProperty(t,"assertEnumType",{enumerable:true,get:function(){return o.assertEnumType}});Object.defineProperty(t,"assertEnumValueName",{enumerable:true,get:function(){return o.assertEnumValueName}});Object.defineProperty(t,"assertInputObjectType",{enumerable:true,get:function(){return o.assertInputObjectType}});Object.defineProperty(t,"assertInputType",{enumerable:true,get:function(){return o.assertInputType}});Object.defineProperty(t,"assertInterfaceType",{enumerable:true,get:function(){return o.assertInterfaceType}});Object.defineProperty(t,"assertLeafType",{enumerable:true,get:function(){return o.assertLeafType}});Object.defineProperty(t,"assertListType",{enumerable:true,get:function(){return o.assertListType}});Object.defineProperty(t,"assertName",{enumerable:true,get:function(){return o.assertName}});Object.defineProperty(t,"assertNamedType",{enumerable:true,get:function(){return o.assertNamedType}});Object.defineProperty(t,"assertNonNullType",{enumerable:true,get:function(){return o.assertNonNullType}});Object.defineProperty(t,"assertNullableType",{enumerable:true,get:function(){return o.assertNullableType}});Object.defineProperty(t,"assertObjectType",{enumerable:true,get:function(){return o.assertObjectType}});Object.defineProperty(t,"assertOutputType",{enumerable:true,get:function(){return o.assertOutputType}});Object.defineProperty(t,"assertScalarType",{enumerable:true,get:function(){return o.assertScalarType}});Object.defineProperty(t,"assertSchema",{enumerable:true,get:function(){return o.assertSchema}});Object.defineProperty(t,"assertType",{enumerable:true,get:function(){return o.assertType}});Object.defineProperty(t,"assertUnionType",{enumerable:true,get:function(){return o.assertUnionType}});Object.defineProperty(t,"assertValidName",{enumerable:true,get:function(){return u.assertValidName}});Object.defineProperty(t,"assertValidSchema",{enumerable:true,get:function(){return o.assertValidSchema}});Object.defineProperty(t,"assertWrappingType",{enumerable:true,get:function(){return o.assertWrappingType}});Object.defineProperty(t,"astFromValue",{enumerable:true,get:function(){return u.astFromValue}});Object.defineProperty(t,"buildASTSchema",{enumerable:true,get:function(){return u.buildASTSchema}});Object.defineProperty(t,"buildClientSchema",{enumerable:true,get:function(){return u.buildClientSchema}});Object.defineProperty(t,"buildSchema",{enumerable:true,get:function(){return u.buildSchema}});Object.defineProperty(t,"coerceInputValue",{enumerable:true,get:function(){return u.coerceInputValue}});Object.defineProperty(t,"concatAST",{enumerable:true,get:function(){return u.concatAST}});Object.defineProperty(t,"createSourceEventStream",{enumerable:true,get:function(){return a.createSourceEventStream}});Object.defineProperty(t,"defaultFieldResolver",{enumerable:true,get:function(){return a.defaultFieldResolver}});Object.defineProperty(t,"defaultTypeResolver",{enumerable:true,get:function(){return a.defaultTypeResolver}});Object.defineProperty(t,"doTypesOverlap",{enumerable:true,get:function(){return u.doTypesOverlap}});Object.defineProperty(t,"execute",{enumerable:true,get:function(){return a.execute}});Object.defineProperty(t,"executeSync",{enumerable:true,get:function(){return a.executeSync}});Object.defineProperty(t,"extendSchema",{enumerable:true,get:function(){return u.extendSchema}});Object.defineProperty(t,"findBreakingChanges",{enumerable:true,get:function(){return u.findBreakingChanges}});Object.defineProperty(t,"findDangerousChanges",{enumerable:true,get:function(){return u.findDangerousChanges}});Object.defineProperty(t,"formatError",{enumerable:true,get:function(){return c.formatError}});Object.defineProperty(t,"getArgumentValues",{enumerable:true,get:function(){return a.getArgumentValues}});Object.defineProperty(t,"getDirectiveValues",{enumerable:true,get:function(){return a.getDirectiveValues}});Object.defineProperty(t,"getEnterLeaveForKind",{enumerable:true,get:function(){return i.getEnterLeaveForKind}});Object.defineProperty(t,"getIntrospectionQuery",{enumerable:true,get:function(){return u.getIntrospectionQuery}});Object.defineProperty(t,"getLocation",{enumerable:true,get:function(){return i.getLocation}});Object.defineProperty(t,"getNamedType",{enumerable:true,get:function(){return o.getNamedType}});Object.defineProperty(t,"getNullableType",{enumerable:true,get:function(){return o.getNullableType}});Object.defineProperty(t,"getOperationAST",{enumerable:true,get:function(){return u.getOperationAST}});Object.defineProperty(t,"getOperationRootType",{enumerable:true,get:function(){return u.getOperationRootType}});Object.defineProperty(t,"getVariableValues",{enumerable:true,get:function(){return a.getVariableValues}});Object.defineProperty(t,"getVisitFn",{enumerable:true,get:function(){return i.getVisitFn}});Object.defineProperty(t,"graphql",{enumerable:true,get:function(){return s.graphql}});Object.defineProperty(t,"graphqlSync",{enumerable:true,get:function(){return s.graphqlSync}});Object.defineProperty(t,"introspectionFromSchema",{enumerable:true,get:function(){return u.introspectionFromSchema}});Object.defineProperty(t,"introspectionTypes",{enumerable:true,get:function(){return o.introspectionTypes}});Object.defineProperty(t,"isAbstractType",{enumerable:true,get:function(){return o.isAbstractType}});Object.defineProperty(t,"isCompositeType",{enumerable:true,get:function(){return o.isCompositeType}});Object.defineProperty(t,"isConstValueNode",{enumerable:true,get:function(){return i.isConstValueNode}});Object.defineProperty(t,"isDefinitionNode",{enumerable:true,get:function(){return i.isDefinitionNode}});Object.defineProperty(t,"isDirective",{enumerable:true,get:function(){return o.isDirective}});Object.defineProperty(t,"isEnumType",{enumerable:true,get:function(){return o.isEnumType}});Object.defineProperty(t,"isEqualType",{enumerable:true,get:function(){return u.isEqualType}});Object.defineProperty(t,"isExecutableDefinitionNode",{enumerable:true,get:function(){return i.isExecutableDefinitionNode}});Object.defineProperty(t,"isInputObjectType",{enumerable:true,get:function(){return o.isInputObjectType}});Object.defineProperty(t,"isInputType",{enumerable:true,get:function(){return o.isInputType}});Object.defineProperty(t,"isInterfaceType",{enumerable:true,get:function(){return o.isInterfaceType}});Object.defineProperty(t,"isIntrospectionType",{enumerable:true,get:function(){return o.isIntrospectionType}});Object.defineProperty(t,"isLeafType",{enumerable:true,get:function(){return o.isLeafType}});Object.defineProperty(t,"isListType",{enumerable:true,get:function(){return o.isListType}});Object.defineProperty(t,"isNamedType",{enumerable:true,get:function(){return o.isNamedType}});Object.defineProperty(t,"isNonNullType",{enumerable:true,get:function(){return o.isNonNullType}});Object.defineProperty(t,"isNullableType",{enumerable:true,get:function(){return o.isNullableType}});Object.defineProperty(t,"isObjectType",{enumerable:true,get:function(){return o.isObjectType}});Object.defineProperty(t,"isOutputType",{enumerable:true,get:function(){return o.isOutputType}});Object.defineProperty(t,"isRequiredArgument",{enumerable:true,get:function(){return o.isRequiredArgument}});Object.defineProperty(t,"isRequiredInputField",{enumerable:true,get:function(){return o.isRequiredInputField}});Object.defineProperty(t,"isScalarType",{enumerable:true,get:function(){return o.isScalarType}});Object.defineProperty(t,"isSchema",{enumerable:true,get:function(){return o.isSchema}});Object.defineProperty(t,"isSelectionNode",{enumerable:true,get:function(){return i.isSelectionNode}});Object.defineProperty(t,"isSpecifiedDirective",{enumerable:true,get:function(){return o.isSpecifiedDirective}});Object.defineProperty(t,"isSpecifiedScalarType",{enumerable:true,get:function(){return o.isSpecifiedScalarType}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return o.isType}});Object.defineProperty(t,"isTypeDefinitionNode",{enumerable:true,get:function(){return i.isTypeDefinitionNode}});Object.defineProperty(t,"isTypeExtensionNode",{enumerable:true,get:function(){return i.isTypeExtensionNode}});Object.defineProperty(t,"isTypeNode",{enumerable:true,get:function(){return i.isTypeNode}});Object.defineProperty(t,"isTypeSubTypeOf",{enumerable:true,get:function(){return u.isTypeSubTypeOf}});Object.defineProperty(t,"isTypeSystemDefinitionNode",{enumerable:true,get:function(){return i.isTypeSystemDefinitionNode}});Object.defineProperty(t,"isTypeSystemExtensionNode",{enumerable:true,get:function(){return i.isTypeSystemExtensionNode}});Object.defineProperty(t,"isUnionType",{enumerable:true,get:function(){return o.isUnionType}});Object.defineProperty(t,"isValidNameError",{enumerable:true,get:function(){return u.isValidNameError}});Object.defineProperty(t,"isValueNode",{enumerable:true,get:function(){return i.isValueNode}});Object.defineProperty(t,"isWrappingType",{enumerable:true,get:function(){return o.isWrappingType}});Object.defineProperty(t,"lexicographicSortSchema",{enumerable:true,get:function(){return u.lexicographicSortSchema}});Object.defineProperty(t,"locatedError",{enumerable:true,get:function(){return c.locatedError}});Object.defineProperty(t,"parse",{enumerable:true,get:function(){return i.parse}});Object.defineProperty(t,"parseConstValue",{enumerable:true,get:function(){return i.parseConstValue}});Object.defineProperty(t,"parseType",{enumerable:true,get:function(){return i.parseType}});Object.defineProperty(t,"parseValue",{enumerable:true,get:function(){return i.parseValue}});Object.defineProperty(t,"print",{enumerable:true,get:function(){return i.print}});Object.defineProperty(t,"printError",{enumerable:true,get:function(){return c.printError}});Object.defineProperty(t,"printIntrospectionSchema",{enumerable:true,get:function(){return u.printIntrospectionSchema}});Object.defineProperty(t,"printLocation",{enumerable:true,get:function(){return i.printLocation}});Object.defineProperty(t,"printSchema",{enumerable:true,get:function(){return u.printSchema}});Object.defineProperty(t,"printSourceLocation",{enumerable:true,get:function(){return i.printSourceLocation}});Object.defineProperty(t,"printType",{enumerable:true,get:function(){return u.printType}});Object.defineProperty(t,"recommendedRules",{enumerable:true,get:function(){return A.recommendedRules}});Object.defineProperty(t,"resolveObjMapThunk",{enumerable:true,get:function(){return o.resolveObjMapThunk}});Object.defineProperty(t,"resolveReadonlyArrayThunk",{enumerable:true,get:function(){return o.resolveReadonlyArrayThunk}});Object.defineProperty(t,"responsePathAsArray",{enumerable:true,get:function(){return a.responsePathAsArray}});Object.defineProperty(t,"separateOperations",{enumerable:true,get:function(){return u.separateOperations}});Object.defineProperty(t,"specifiedDirectives",{enumerable:true,get:function(){return o.specifiedDirectives}});Object.defineProperty(t,"specifiedRules",{enumerable:true,get:function(){return A.specifiedRules}});Object.defineProperty(t,"specifiedScalarTypes",{enumerable:true,get:function(){return o.specifiedScalarTypes}});Object.defineProperty(t,"stripIgnoredCharacters",{enumerable:true,get:function(){return u.stripIgnoredCharacters}});Object.defineProperty(t,"subscribe",{enumerable:true,get:function(){return a.subscribe}});Object.defineProperty(t,"syntaxError",{enumerable:true,get:function(){return c.syntaxError}});Object.defineProperty(t,"typeFromAST",{enumerable:true,get:function(){return u.typeFromAST}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return A.validate}});Object.defineProperty(t,"validateSchema",{enumerable:true,get:function(){return o.validateSchema}});Object.defineProperty(t,"valueFromAST",{enumerable:true,get:function(){return u.valueFromAST}});Object.defineProperty(t,"valueFromASTUntyped",{enumerable:true,get:function(){return u.valueFromASTUntyped}});Object.defineProperty(t,"version",{enumerable:true,get:function(){return n.version}});Object.defineProperty(t,"versionInfo",{enumerable:true,get:function(){return n.versionInfo}});Object.defineProperty(t,"visit",{enumerable:true,get:function(){return i.visit}});Object.defineProperty(t,"visitInParallel",{enumerable:true,get:function(){return i.visitInParallel}});Object.defineProperty(t,"visitWithTypeInfo",{enumerable:true,get:function(){return u.visitWithTypeInfo}});var n=r(8725);var s=r(6352);var o=r(6618);var i=r(68);var a=r(4404);var A=r(7973);var c=r(9888);var u=r(7006)},3155:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.addPath=addPath;t.pathToArray=pathToArray;function addPath(e,t,r){return{prev:e,key:t,typename:r}}function pathToArray(e){const t=[];let r=e;while(r){t.push(r.key);r=r.prev}return t.reverse()}},5383:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.devAssert=devAssert;function devAssert(e,t){const r=Boolean(e);if(!r){throw new Error(t)}}},1353:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.didYouMean=didYouMean;const r=5;function didYouMean(e,t){const[n,s]=t?[e,t]:[undefined,e];let o=" Did you mean ";if(n){o+=n+" "}const i=s.map((e=>`"${e}"`));switch(i.length){case 0:return"";case 1:return o+i[0]+"?";case 2:return o+i[0]+" or "+i[1]+"?"}const a=i.slice(0,r);const A=a.pop();return o+a.join(", ")+", or "+A+"?"}},8520:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.groupBy=groupBy;function groupBy(e,t){const r=new Map;for(const n of e){const e=t(n);const s=r.get(e);if(s===undefined){r.set(e,[n])}else{s.push(n)}}return r}},6588:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.identityFunc=identityFunc;function identityFunc(e){return e}},5742:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.inspect=inspect;const r=10;const n=2;function inspect(e){return formatValue(e,[])}function formatValue(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return formatObjectValue(e,t);default:return String(e)}}function formatObjectValue(e,t){if(e===null){return"null"}if(t.includes(e)){return"[Circular]"}const r=[...t,e];if(isJSONable(e)){const t=e.toJSON();if(t!==e){return typeof t==="string"?t:formatValue(t,r)}}else if(Array.isArray(e)){return formatArray(e,r)}return formatObject(e,r)}function isJSONable(e){return typeof e.toJSON==="function"}function formatObject(e,t){const r=Object.entries(e);if(r.length===0){return"{}"}if(t.length>n){return"["+getObjectTag(e)+"]"}const s=r.map((([e,r])=>e+": "+formatValue(r,t)));return"{ "+s.join(", ")+" }"}function formatArray(e,t){if(e.length===0){return"[]"}if(t.length>n){return"[Array]"}const s=Math.min(r,e.length);const o=e.length-s;const i=[];for(let r=0;r1){i.push(`... ${o} more items`)}return"["+i.join(", ")+"]"}function getObjectTag(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if(t==="Object"&&typeof e.constructor==="function"){const t=e.constructor.name;if(typeof t==="string"&&t!==""){return t}}return t}},5914:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.instanceOf=void 0;var n=r(5742);const s=globalThis.process&&process.env.NODE_ENV==="production";const o=s?function instanceOf(e,t){return e instanceof t}:function instanceOf(e,t){if(e instanceof t){return true}if(typeof e==="object"&&e!==null){var r;const s=t.prototype[Symbol.toStringTag];const o=Symbol.toStringTag in e?e[Symbol.toStringTag]:(r=e.constructor)===null||r===void 0?void 0:r.name;if(s===o){const t=(0,n.inspect)(e);throw new Error(`Cannot use ${s} "${t}" from another module or realm.\n\nEnsure that there is only one instance of "graphql" in the node_modules\ndirectory. If different versions of "graphql" are the dependencies of other\nrelied on modules, use "resolutions" to ensure only one version is installed.\n\nhttps://yarnpkg.com/en/docs/selective-version-resolutions\n\nDuplicate "graphql" modules cannot be used at the same time since different\nversions may have different capabilities and behavior. The data from one\nversion used in the function from another could produce confusing and\nspurious results.`)}}return false};t.instanceOf=o},3650:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.invariant=invariant;function invariant(e,t){const r=Boolean(e);if(!r){throw new Error(t!=null?t:"Unexpected invariant triggered.")}}},4068:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.isAsyncIterable=isAsyncIterable;function isAsyncIterable(e){return typeof(e===null||e===void 0?void 0:e[Symbol.asyncIterator])==="function"}},7341:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.isIterableObject=isIterableObject;function isIterableObject(e){return typeof e==="object"&&typeof(e===null||e===void 0?void 0:e[Symbol.iterator])==="function"}},892:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.isObjectLike=isObjectLike;function isObjectLike(e){return typeof e=="object"&&e!==null}},4091:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.isPromise=isPromise;function isPromise(e){return typeof(e===null||e===void 0?void 0:e.then)==="function"}},7579:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.keyMap=keyMap;function keyMap(e,t){const r=Object.create(null);for(const n of e){r[t(n)]=n}return r}},3166:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.keyValMap=keyValMap;function keyValMap(e,t,r){const n=Object.create(null);for(const s of e){n[t(s)]=r(s)}return n}},5719:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.mapValue=mapValue;function mapValue(e,t){const r=Object.create(null);for(const n of Object.keys(e)){r[n]=t(e[n],n)}return r}},8141:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.memoize3=memoize3;function memoize3(e){let t;return function memoized(r,n,s){if(t===undefined){t=new WeakMap}let o=t.get(r);if(o===undefined){o=new WeakMap;t.set(r,o)}let i=o.get(n);if(i===undefined){i=new WeakMap;o.set(n,i)}let a=i.get(s);if(a===undefined){a=e(r,n,s);i.set(s,a)}return a}}},3428:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.naturalCompare=naturalCompare;function naturalCompare(e,t){let n=0;let s=0;while(n0);let A=0;do{++s;A=A*10+i-r;i=t.charCodeAt(s)}while(isDigit(i)&&A>0);if(aA){return 1}}else{if(oi){return 1}++n;++s}}return e.length-t.length}const r=48;const n=57;function isDigit(e){return!isNaN(e)&&r<=e&&e<=n}},8373:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.printPathArray=printPathArray;function printPathArray(e){return e.map((e=>typeof e==="number"?"["+e.toString()+"]":"."+e)).join("")}},5395:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.promiseForObject=promiseForObject;function promiseForObject(e){return Promise.all(Object.values(e)).then((t=>{const r=Object.create(null);for(const[n,s]of Object.keys(e).entries()){r[s]=t[n]}return r}))}},1369:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.promiseReduce=promiseReduce;var n=r(4091);function promiseReduce(e,t,r){let s=r;for(const r of e){s=(0,n.isPromise)(s)?s.then((e=>t(e,r))):t(s,r)}return s}},7904:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.suggestionList=suggestionList;var n=r(3428);function suggestionList(e,t){const r=Object.create(null);const s=new LexicalDistance(e);const o=Math.floor(e.length*.4)+1;for(const e of t){const t=s.measure(e,o);if(t!==undefined){r[e]=t}}return Object.keys(r).sort(((e,t)=>{const s=r[e]-r[t];return s!==0?s:(0,n.naturalCompare)(e,t)}))}class LexicalDistance{constructor(e){this._input=e;this._inputLowerCase=e.toLowerCase();this._inputArray=stringToArray(this._inputLowerCase);this._rows=[new Array(e.length+1).fill(0),new Array(e.length+1).fill(0),new Array(e.length+1).fill(0)]}measure(e,t){if(this._input===e){return 0}const r=e.toLowerCase();if(this._inputLowerCase===r){return 1}let n=stringToArray(r);let s=this._inputArray;if(n.lengtht){return undefined}const a=this._rows;for(let e=0;e<=i;e++){a[0][e]=e}for(let e=1;e<=o;e++){const r=a[(e-1)%3];const o=a[e%3];let A=o[0]=e;for(let t=1;t<=i;t++){const i=n[e-1]===s[t-1]?0:1;let c=Math.min(r[t]+1,o[t-1]+1,r[t-1]+i);if(e>1&&t>1&&n[e-1]===s[t-2]&&n[e-2]===s[t-1]){const r=a[(e-2)%3][t-2];c=Math.min(c,r+1)}if(ct){return undefined}}const A=a[o%3][i];return A<=t?A:undefined}}function stringToArray(e){const t=e.length;const r=new Array(t);for(let n=0;n{Object.defineProperty(t,"__esModule",{value:true});t.toError=toError;var n=r(5742);function toError(e){return e instanceof Error?e:new NonErrorThrown(e)}class NonErrorThrown extends Error{constructor(e){super("Unexpected error value: "+(0,n.inspect)(e));this.name="NonErrorThrown";this.thrownValue=e}}},7104:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.toObjMap=toObjMap;function toObjMap(e){if(e==null){return Object.create(null)}if(Object.getPrototypeOf(e)===null){return e}const t=Object.create(null);for(const[r,n]of Object.entries(e)){t[r]=n}return t}},2740:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.Token=t.QueryDocumentKeys=t.OperationTypeNode=t.Location=void 0;t.isNode=isNode;class Location{constructor(e,t,r){this.start=e.start;this.end=t.end;this.startToken=e;this.endToken=t;this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}t.Location=Location;class Token{constructor(e,t,r,n,s,o){this.kind=e;this.start=t;this.end=r;this.line=n;this.column=s;this.value=o;this.prev=null;this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}t.Token=Token;const r={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]};t.QueryDocumentKeys=r;const n=new Set(Object.keys(r));function isNode(e){const t=e===null||e===void 0?void 0:e.kind;return typeof t==="string"&&n.has(t)}var s;t.OperationTypeNode=s;(function(e){e["QUERY"]="query";e["MUTATION"]="mutation";e["SUBSCRIPTION"]="subscription"})(s||(t.OperationTypeNode=s={}))},7508:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.dedentBlockStringLines=dedentBlockStringLines;t.isPrintableAsBlockString=isPrintableAsBlockString;t.printBlockString=printBlockString;var n=r(3271);function dedentBlockStringLines(e){var t;let r=Number.MAX_SAFE_INTEGER;let n=null;let s=-1;for(let t=0;tt===0?e:e.slice(r))).slice((t=n)!==null&&t!==void 0?t:0,s+1)}function leadingWhitespace(e){let t=0;while(t1&&s.slice(1).every((e=>e.length===0||(0,n.isWhiteSpace)(e.charCodeAt(0))));const a=r.endsWith('\\"""');const A=e.endsWith('"')&&!a;const c=e.endsWith("\\");const u=A||c;const l=!(t!==null&&t!==void 0&&t.minimize)&&(!o||e.length>70||u||i||a);let p="";const d=o&&(0,n.isWhiteSpace)(e.charCodeAt(0));if(l&&!d||i){p+="\n"}p+=r;if(l||u){p+="\n"}return'"""'+p+'"""'}},3271:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.isDigit=isDigit;t.isLetter=isLetter;t.isNameContinue=isNameContinue;t.isNameStart=isNameStart;t.isWhiteSpace=isWhiteSpace;function isWhiteSpace(e){return e===9||e===32}function isDigit(e){return e>=48&&e<=57}function isLetter(e){return e>=97&&e<=122||e>=65&&e<=90}function isNameStart(e){return isLetter(e)||e===95}function isNameContinue(e){return isLetter(e)||isDigit(e)||e===95}},2582:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.DirectiveLocation=void 0;var r;t.DirectiveLocation=r;(function(e){e["QUERY"]="QUERY";e["MUTATION"]="MUTATION";e["SUBSCRIPTION"]="SUBSCRIPTION";e["FIELD"]="FIELD";e["FRAGMENT_DEFINITION"]="FRAGMENT_DEFINITION";e["FRAGMENT_SPREAD"]="FRAGMENT_SPREAD";e["INLINE_FRAGMENT"]="INLINE_FRAGMENT";e["VARIABLE_DEFINITION"]="VARIABLE_DEFINITION";e["SCHEMA"]="SCHEMA";e["SCALAR"]="SCALAR";e["OBJECT"]="OBJECT";e["FIELD_DEFINITION"]="FIELD_DEFINITION";e["ARGUMENT_DEFINITION"]="ARGUMENT_DEFINITION";e["INTERFACE"]="INTERFACE";e["UNION"]="UNION";e["ENUM"]="ENUM";e["ENUM_VALUE"]="ENUM_VALUE";e["INPUT_OBJECT"]="INPUT_OBJECT";e["INPUT_FIELD_DEFINITION"]="INPUT_FIELD_DEFINITION"})(r||(t.DirectiveLocation=r={}))},68:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"BREAK",{enumerable:true,get:function(){return l.BREAK}});Object.defineProperty(t,"DirectiveLocation",{enumerable:true,get:function(){return g.DirectiveLocation}});Object.defineProperty(t,"Kind",{enumerable:true,get:function(){return i.Kind}});Object.defineProperty(t,"Lexer",{enumerable:true,get:function(){return A.Lexer}});Object.defineProperty(t,"Location",{enumerable:true,get:function(){return p.Location}});Object.defineProperty(t,"OperationTypeNode",{enumerable:true,get:function(){return p.OperationTypeNode}});Object.defineProperty(t,"Source",{enumerable:true,get:function(){return n.Source}});Object.defineProperty(t,"Token",{enumerable:true,get:function(){return p.Token}});Object.defineProperty(t,"TokenKind",{enumerable:true,get:function(){return a.TokenKind}});Object.defineProperty(t,"getEnterLeaveForKind",{enumerable:true,get:function(){return l.getEnterLeaveForKind}});Object.defineProperty(t,"getLocation",{enumerable:true,get:function(){return s.getLocation}});Object.defineProperty(t,"getVisitFn",{enumerable:true,get:function(){return l.getVisitFn}});Object.defineProperty(t,"isConstValueNode",{enumerable:true,get:function(){return d.isConstValueNode}});Object.defineProperty(t,"isDefinitionNode",{enumerable:true,get:function(){return d.isDefinitionNode}});Object.defineProperty(t,"isExecutableDefinitionNode",{enumerable:true,get:function(){return d.isExecutableDefinitionNode}});Object.defineProperty(t,"isSelectionNode",{enumerable:true,get:function(){return d.isSelectionNode}});Object.defineProperty(t,"isTypeDefinitionNode",{enumerable:true,get:function(){return d.isTypeDefinitionNode}});Object.defineProperty(t,"isTypeExtensionNode",{enumerable:true,get:function(){return d.isTypeExtensionNode}});Object.defineProperty(t,"isTypeNode",{enumerable:true,get:function(){return d.isTypeNode}});Object.defineProperty(t,"isTypeSystemDefinitionNode",{enumerable:true,get:function(){return d.isTypeSystemDefinitionNode}});Object.defineProperty(t,"isTypeSystemExtensionNode",{enumerable:true,get:function(){return d.isTypeSystemExtensionNode}});Object.defineProperty(t,"isValueNode",{enumerable:true,get:function(){return d.isValueNode}});Object.defineProperty(t,"parse",{enumerable:true,get:function(){return c.parse}});Object.defineProperty(t,"parseConstValue",{enumerable:true,get:function(){return c.parseConstValue}});Object.defineProperty(t,"parseType",{enumerable:true,get:function(){return c.parseType}});Object.defineProperty(t,"parseValue",{enumerable:true,get:function(){return c.parseValue}});Object.defineProperty(t,"print",{enumerable:true,get:function(){return u.print}});Object.defineProperty(t,"printLocation",{enumerable:true,get:function(){return o.printLocation}});Object.defineProperty(t,"printSourceLocation",{enumerable:true,get:function(){return o.printSourceLocation}});Object.defineProperty(t,"visit",{enumerable:true,get:function(){return l.visit}});Object.defineProperty(t,"visitInParallel",{enumerable:true,get:function(){return l.visitInParallel}});var n=r(203);var s=r(2245);var o=r(6512);var i=r(1123);var a=r(1743);var A=r(6897);var c=r(4929);var u=r(9936);var l=r(638);var p=r(2740);var d=r(5480);var g=r(2582)},1123:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.Kind=void 0;var r;t.Kind=r;(function(e){e["NAME"]="Name";e["DOCUMENT"]="Document";e["OPERATION_DEFINITION"]="OperationDefinition";e["VARIABLE_DEFINITION"]="VariableDefinition";e["SELECTION_SET"]="SelectionSet";e["FIELD"]="Field";e["ARGUMENT"]="Argument";e["FRAGMENT_SPREAD"]="FragmentSpread";e["INLINE_FRAGMENT"]="InlineFragment";e["FRAGMENT_DEFINITION"]="FragmentDefinition";e["VARIABLE"]="Variable";e["INT"]="IntValue";e["FLOAT"]="FloatValue";e["STRING"]="StringValue";e["BOOLEAN"]="BooleanValue";e["NULL"]="NullValue";e["ENUM"]="EnumValue";e["LIST"]="ListValue";e["OBJECT"]="ObjectValue";e["OBJECT_FIELD"]="ObjectField";e["DIRECTIVE"]="Directive";e["NAMED_TYPE"]="NamedType";e["LIST_TYPE"]="ListType";e["NON_NULL_TYPE"]="NonNullType";e["SCHEMA_DEFINITION"]="SchemaDefinition";e["OPERATION_TYPE_DEFINITION"]="OperationTypeDefinition";e["SCALAR_TYPE_DEFINITION"]="ScalarTypeDefinition";e["OBJECT_TYPE_DEFINITION"]="ObjectTypeDefinition";e["FIELD_DEFINITION"]="FieldDefinition";e["INPUT_VALUE_DEFINITION"]="InputValueDefinition";e["INTERFACE_TYPE_DEFINITION"]="InterfaceTypeDefinition";e["UNION_TYPE_DEFINITION"]="UnionTypeDefinition";e["ENUM_TYPE_DEFINITION"]="EnumTypeDefinition";e["ENUM_VALUE_DEFINITION"]="EnumValueDefinition";e["INPUT_OBJECT_TYPE_DEFINITION"]="InputObjectTypeDefinition";e["DIRECTIVE_DEFINITION"]="DirectiveDefinition";e["SCHEMA_EXTENSION"]="SchemaExtension";e["SCALAR_TYPE_EXTENSION"]="ScalarTypeExtension";e["OBJECT_TYPE_EXTENSION"]="ObjectTypeExtension";e["INTERFACE_TYPE_EXTENSION"]="InterfaceTypeExtension";e["UNION_TYPE_EXTENSION"]="UnionTypeExtension";e["ENUM_TYPE_EXTENSION"]="EnumTypeExtension";e["INPUT_OBJECT_TYPE_EXTENSION"]="InputObjectTypeExtension"})(r||(t.Kind=r={}))},6897:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.Lexer=void 0;t.isPunctuatorTokenKind=isPunctuatorTokenKind;var n=r(9619);var s=r(2740);var o=r(7508);var i=r(3271);var a=r(1743);class Lexer{constructor(e){const t=new s.Token(a.TokenKind.SOF,0,0,0,0);this.source=e;this.lastToken=t;this.token=t;this.line=1;this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){this.lastToken=this.token;const e=this.token=this.lookahead();return e}lookahead(){let e=this.token;if(e.kind!==a.TokenKind.EOF){do{if(e.next){e=e.next}else{const t=readNextToken(this,e.end);e.next=t;t.prev=e;e=t}}while(e.kind===a.TokenKind.COMMENT)}return e}}t.Lexer=Lexer;function isPunctuatorTokenKind(e){return e===a.TokenKind.BANG||e===a.TokenKind.DOLLAR||e===a.TokenKind.AMP||e===a.TokenKind.PAREN_L||e===a.TokenKind.PAREN_R||e===a.TokenKind.SPREAD||e===a.TokenKind.COLON||e===a.TokenKind.EQUALS||e===a.TokenKind.AT||e===a.TokenKind.BRACKET_L||e===a.TokenKind.BRACKET_R||e===a.TokenKind.BRACE_L||e===a.TokenKind.PIPE||e===a.TokenKind.BRACE_R}function isUnicodeScalarValue(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function isSupplementaryCodePoint(e,t){return isLeadingSurrogate(e.charCodeAt(t))&&isTrailingSurrogate(e.charCodeAt(t+1))}function isLeadingSurrogate(e){return e>=55296&&e<=56319}function isTrailingSurrogate(e){return e>=56320&&e<=57343}function printCodePointAt(e,t){const r=e.source.body.codePointAt(t);if(r===undefined){return a.TokenKind.EOF}else if(r>=32&&r<=126){const e=String.fromCodePoint(r);return e==='"'?"'\"'":`"${e}"`}return"U+"+r.toString(16).toUpperCase().padStart(4,"0")}function createToken(e,t,r,n,o){const i=e.line;const a=1+r-e.lineStart;return new s.Token(t,r,n,i,a,o)}function readNextToken(e,t){const r=e.source.body;const s=r.length;let o=t;while(o=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function readEscapedCharacter(e,t){const r=e.source.body;const s=r.charCodeAt(t+1);switch(s){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"\t",size:2}}throw(0,n.syntaxError)(e.source,t,`Invalid character escape sequence: "${r.slice(t,t+2)}".`)}function readBlockString(e,t){const r=e.source.body;const s=r.length;let i=e.lineStart;let A=t+3;let c=A;let u="";const l=[];while(A{Object.defineProperty(t,"__esModule",{value:true});t.getLocation=getLocation;var n=r(3650);const s=/\r\n|[\n\r]/g;function getLocation(e,t){let r=0;let o=1;for(const i of e.body.matchAll(s)){typeof i.index==="number"||(0,n.invariant)(false);if(i.index>=t){break}r=i.index+i[0].length;o+=1}return{line:o,column:t+1-r}}},4929:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.Parser=void 0;t.parse=parse;t.parseConstValue=parseConstValue;t.parseType=parseType;t.parseValue=parseValue;var n=r(9619);var s=r(2740);var o=r(2582);var i=r(1123);var a=r(6897);var A=r(203);var c=r(1743);function parse(e,t){const r=new Parser(e,t);return r.parseDocument()}function parseValue(e,t){const r=new Parser(e,t);r.expectToken(c.TokenKind.SOF);const n=r.parseValueLiteral(false);r.expectToken(c.TokenKind.EOF);return n}function parseConstValue(e,t){const r=new Parser(e,t);r.expectToken(c.TokenKind.SOF);const n=r.parseConstValueLiteral();r.expectToken(c.TokenKind.EOF);return n}function parseType(e,t){const r=new Parser(e,t);r.expectToken(c.TokenKind.SOF);const n=r.parseTypeReference();r.expectToken(c.TokenKind.EOF);return n}class Parser{constructor(e,t={}){const r=(0,A.isSource)(e)?e:new A.Source(e);this._lexer=new a.Lexer(r);this._options=t;this._tokenCounter=0}parseName(){const e=this.expectToken(c.TokenKind.NAME);return this.node(e,{kind:i.Kind.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:i.Kind.DOCUMENT,definitions:this.many(c.TokenKind.SOF,this.parseDefinition,c.TokenKind.EOF)})}parseDefinition(){if(this.peek(c.TokenKind.BRACE_L)){return this.parseOperationDefinition()}const e=this.peekDescription();const t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===c.TokenKind.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(e){throw(0,n.syntaxError)(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.")}switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){const e=this._lexer.token;if(this.peek(c.TokenKind.BRACE_L)){return this.node(e,{kind:i.Kind.OPERATION_DEFINITION,operation:s.OperationTypeNode.QUERY,name:undefined,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()})}const t=this.parseOperationType();let r;if(this.peek(c.TokenKind.NAME)){r=this.parseName()}return this.node(e,{kind:i.Kind.OPERATION_DEFINITION,operation:t,name:r,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(false),selectionSet:this.parseSelectionSet()})}parseOperationType(){const e=this.expectToken(c.TokenKind.NAME);switch(e.value){case"query":return s.OperationTypeNode.QUERY;case"mutation":return s.OperationTypeNode.MUTATION;case"subscription":return s.OperationTypeNode.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(c.TokenKind.PAREN_L,this.parseVariableDefinition,c.TokenKind.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:i.Kind.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(c.TokenKind.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(c.TokenKind.EQUALS)?this.parseConstValueLiteral():undefined,directives:this.parseConstDirectives()})}parseVariable(){const e=this._lexer.token;this.expectToken(c.TokenKind.DOLLAR);return this.node(e,{kind:i.Kind.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:i.Kind.SELECTION_SET,selections:this.many(c.TokenKind.BRACE_L,this.parseSelection,c.TokenKind.BRACE_R)})}parseSelection(){return this.peek(c.TokenKind.SPREAD)?this.parseFragment():this.parseField()}parseField(){const e=this._lexer.token;const t=this.parseName();let r;let n;if(this.expectOptionalToken(c.TokenKind.COLON)){r=t;n=this.parseName()}else{n=t}return this.node(e,{kind:i.Kind.FIELD,alias:r,name:n,arguments:this.parseArguments(false),directives:this.parseDirectives(false),selectionSet:this.peek(c.TokenKind.BRACE_L)?this.parseSelectionSet():undefined})}parseArguments(e){const t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(c.TokenKind.PAREN_L,t,c.TokenKind.PAREN_R)}parseArgument(e=false){const t=this._lexer.token;const r=this.parseName();this.expectToken(c.TokenKind.COLON);return this.node(t,{kind:i.Kind.ARGUMENT,name:r,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(true)}parseFragment(){const e=this._lexer.token;this.expectToken(c.TokenKind.SPREAD);const t=this.expectOptionalKeyword("on");if(!t&&this.peek(c.TokenKind.NAME)){return this.node(e,{kind:i.Kind.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(false)})}return this.node(e,{kind:i.Kind.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():undefined,directives:this.parseDirectives(false),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const e=this._lexer.token;this.expectKeyword("fragment");if(this._options.allowLegacyFragmentVariables===true){return this.node(e,{kind:i.Kind.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(false),selectionSet:this.parseSelectionSet()})}return this.node(e,{kind:i.Kind.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(false),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on"){throw this.unexpected()}return this.parseName()}parseValueLiteral(e){const t=this._lexer.token;switch(t.kind){case c.TokenKind.BRACKET_L:return this.parseList(e);case c.TokenKind.BRACE_L:return this.parseObject(e);case c.TokenKind.INT:this.advanceLexer();return this.node(t,{kind:i.Kind.INT,value:t.value});case c.TokenKind.FLOAT:this.advanceLexer();return this.node(t,{kind:i.Kind.FLOAT,value:t.value});case c.TokenKind.STRING:case c.TokenKind.BLOCK_STRING:return this.parseStringLiteral();case c.TokenKind.NAME:this.advanceLexer();switch(t.value){case"true":return this.node(t,{kind:i.Kind.BOOLEAN,value:true});case"false":return this.node(t,{kind:i.Kind.BOOLEAN,value:false});case"null":return this.node(t,{kind:i.Kind.NULL});default:return this.node(t,{kind:i.Kind.ENUM,value:t.value})}case c.TokenKind.DOLLAR:if(e){this.expectToken(c.TokenKind.DOLLAR);if(this._lexer.token.kind===c.TokenKind.NAME){const e=this._lexer.token.value;throw(0,n.syntaxError)(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}else{throw this.unexpected(t)}}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(true)}parseStringLiteral(){const e=this._lexer.token;this.advanceLexer();return this.node(e,{kind:i.Kind.STRING,value:e.value,block:e.kind===c.TokenKind.BLOCK_STRING})}parseList(e){const item=()=>this.parseValueLiteral(e);return this.node(this._lexer.token,{kind:i.Kind.LIST,values:this.any(c.TokenKind.BRACKET_L,item,c.TokenKind.BRACKET_R)})}parseObject(e){const item=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:i.Kind.OBJECT,fields:this.any(c.TokenKind.BRACE_L,item,c.TokenKind.BRACE_R)})}parseObjectField(e){const t=this._lexer.token;const r=this.parseName();this.expectToken(c.TokenKind.COLON);return this.node(t,{kind:i.Kind.OBJECT_FIELD,name:r,value:this.parseValueLiteral(e)})}parseDirectives(e){const t=[];while(this.peek(c.TokenKind.AT)){t.push(this.parseDirective(e))}return t}parseConstDirectives(){return this.parseDirectives(true)}parseDirective(e){const t=this._lexer.token;this.expectToken(c.TokenKind.AT);return this.node(t,{kind:i.Kind.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){const e=this._lexer.token;let t;if(this.expectOptionalToken(c.TokenKind.BRACKET_L)){const r=this.parseTypeReference();this.expectToken(c.TokenKind.BRACKET_R);t=this.node(e,{kind:i.Kind.LIST_TYPE,type:r})}else{t=this.parseNamedType()}if(this.expectOptionalToken(c.TokenKind.BANG)){return this.node(e,{kind:i.Kind.NON_NULL_TYPE,type:t})}return t}parseNamedType(){return this.node(this._lexer.token,{kind:i.Kind.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(c.TokenKind.STRING)||this.peek(c.TokenKind.BLOCK_STRING)}parseDescription(){if(this.peekDescription()){return this.parseStringLiteral()}}parseSchemaDefinition(){const e=this._lexer.token;const t=this.parseDescription();this.expectKeyword("schema");const r=this.parseConstDirectives();const n=this.many(c.TokenKind.BRACE_L,this.parseOperationTypeDefinition,c.TokenKind.BRACE_R);return this.node(e,{kind:i.Kind.SCHEMA_DEFINITION,description:t,directives:r,operationTypes:n})}parseOperationTypeDefinition(){const e=this._lexer.token;const t=this.parseOperationType();this.expectToken(c.TokenKind.COLON);const r=this.parseNamedType();return this.node(e,{kind:i.Kind.OPERATION_TYPE_DEFINITION,operation:t,type:r})}parseScalarTypeDefinition(){const e=this._lexer.token;const t=this.parseDescription();this.expectKeyword("scalar");const r=this.parseName();const n=this.parseConstDirectives();return this.node(e,{kind:i.Kind.SCALAR_TYPE_DEFINITION,description:t,name:r,directives:n})}parseObjectTypeDefinition(){const e=this._lexer.token;const t=this.parseDescription();this.expectKeyword("type");const r=this.parseName();const n=this.parseImplementsInterfaces();const s=this.parseConstDirectives();const o=this.parseFieldsDefinition();return this.node(e,{kind:i.Kind.OBJECT_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:s,fields:o})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(c.TokenKind.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(c.TokenKind.BRACE_L,this.parseFieldDefinition,c.TokenKind.BRACE_R)}parseFieldDefinition(){const e=this._lexer.token;const t=this.parseDescription();const r=this.parseName();const n=this.parseArgumentDefs();this.expectToken(c.TokenKind.COLON);const s=this.parseTypeReference();const o=this.parseConstDirectives();return this.node(e,{kind:i.Kind.FIELD_DEFINITION,description:t,name:r,arguments:n,type:s,directives:o})}parseArgumentDefs(){return this.optionalMany(c.TokenKind.PAREN_L,this.parseInputValueDef,c.TokenKind.PAREN_R)}parseInputValueDef(){const e=this._lexer.token;const t=this.parseDescription();const r=this.parseName();this.expectToken(c.TokenKind.COLON);const n=this.parseTypeReference();let s;if(this.expectOptionalToken(c.TokenKind.EQUALS)){s=this.parseConstValueLiteral()}const o=this.parseConstDirectives();return this.node(e,{kind:i.Kind.INPUT_VALUE_DEFINITION,description:t,name:r,type:n,defaultValue:s,directives:o})}parseInterfaceTypeDefinition(){const e=this._lexer.token;const t=this.parseDescription();this.expectKeyword("interface");const r=this.parseName();const n=this.parseImplementsInterfaces();const s=this.parseConstDirectives();const o=this.parseFieldsDefinition();return this.node(e,{kind:i.Kind.INTERFACE_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:s,fields:o})}parseUnionTypeDefinition(){const e=this._lexer.token;const t=this.parseDescription();this.expectKeyword("union");const r=this.parseName();const n=this.parseConstDirectives();const s=this.parseUnionMemberTypes();return this.node(e,{kind:i.Kind.UNION_TYPE_DEFINITION,description:t,name:r,directives:n,types:s})}parseUnionMemberTypes(){return this.expectOptionalToken(c.TokenKind.EQUALS)?this.delimitedMany(c.TokenKind.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const e=this._lexer.token;const t=this.parseDescription();this.expectKeyword("enum");const r=this.parseName();const n=this.parseConstDirectives();const s=this.parseEnumValuesDefinition();return this.node(e,{kind:i.Kind.ENUM_TYPE_DEFINITION,description:t,name:r,directives:n,values:s})}parseEnumValuesDefinition(){return this.optionalMany(c.TokenKind.BRACE_L,this.parseEnumValueDefinition,c.TokenKind.BRACE_R)}parseEnumValueDefinition(){const e=this._lexer.token;const t=this.parseDescription();const r=this.parseEnumValueName();const n=this.parseConstDirectives();return this.node(e,{kind:i.Kind.ENUM_VALUE_DEFINITION,description:t,name:r,directives:n})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null"){throw(0,n.syntaxError)(this._lexer.source,this._lexer.token.start,`${getTokenDesc(this._lexer.token)} is reserved and cannot be used for an enum value.`)}return this.parseName()}parseInputObjectTypeDefinition(){const e=this._lexer.token;const t=this.parseDescription();this.expectKeyword("input");const r=this.parseName();const n=this.parseConstDirectives();const s=this.parseInputFieldsDefinition();return this.node(e,{kind:i.Kind.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:r,directives:n,fields:s})}parseInputFieldsDefinition(){return this.optionalMany(c.TokenKind.BRACE_L,this.parseInputValueDef,c.TokenKind.BRACE_R)}parseTypeSystemExtension(){const e=this._lexer.lookahead();if(e.kind===c.TokenKind.NAME){switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}}throw this.unexpected(e)}parseSchemaExtension(){const e=this._lexer.token;this.expectKeyword("extend");this.expectKeyword("schema");const t=this.parseConstDirectives();const r=this.optionalMany(c.TokenKind.BRACE_L,this.parseOperationTypeDefinition,c.TokenKind.BRACE_R);if(t.length===0&&r.length===0){throw this.unexpected()}return this.node(e,{kind:i.Kind.SCHEMA_EXTENSION,directives:t,operationTypes:r})}parseScalarTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend");this.expectKeyword("scalar");const t=this.parseName();const r=this.parseConstDirectives();if(r.length===0){throw this.unexpected()}return this.node(e,{kind:i.Kind.SCALAR_TYPE_EXTENSION,name:t,directives:r})}parseObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend");this.expectKeyword("type");const t=this.parseName();const r=this.parseImplementsInterfaces();const n=this.parseConstDirectives();const s=this.parseFieldsDefinition();if(r.length===0&&n.length===0&&s.length===0){throw this.unexpected()}return this.node(e,{kind:i.Kind.OBJECT_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:s})}parseInterfaceTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend");this.expectKeyword("interface");const t=this.parseName();const r=this.parseImplementsInterfaces();const n=this.parseConstDirectives();const s=this.parseFieldsDefinition();if(r.length===0&&n.length===0&&s.length===0){throw this.unexpected()}return this.node(e,{kind:i.Kind.INTERFACE_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:s})}parseUnionTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend");this.expectKeyword("union");const t=this.parseName();const r=this.parseConstDirectives();const n=this.parseUnionMemberTypes();if(r.length===0&&n.length===0){throw this.unexpected()}return this.node(e,{kind:i.Kind.UNION_TYPE_EXTENSION,name:t,directives:r,types:n})}parseEnumTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend");this.expectKeyword("enum");const t=this.parseName();const r=this.parseConstDirectives();const n=this.parseEnumValuesDefinition();if(r.length===0&&n.length===0){throw this.unexpected()}return this.node(e,{kind:i.Kind.ENUM_TYPE_EXTENSION,name:t,directives:r,values:n})}parseInputObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend");this.expectKeyword("input");const t=this.parseName();const r=this.parseConstDirectives();const n=this.parseInputFieldsDefinition();if(r.length===0&&n.length===0){throw this.unexpected()}return this.node(e,{kind:i.Kind.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:r,fields:n})}parseDirectiveDefinition(){const e=this._lexer.token;const t=this.parseDescription();this.expectKeyword("directive");this.expectToken(c.TokenKind.AT);const r=this.parseName();const n=this.parseArgumentDefs();const s=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const o=this.parseDirectiveLocations();return this.node(e,{kind:i.Kind.DIRECTIVE_DEFINITION,description:t,name:r,arguments:n,repeatable:s,locations:o})}parseDirectiveLocations(){return this.delimitedMany(c.TokenKind.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const e=this._lexer.token;const t=this.parseName();if(Object.prototype.hasOwnProperty.call(o.DirectiveLocation,t.value)){return t}throw this.unexpected(e)}node(e,t){if(this._options.noLocation!==true){t.loc=new s.Location(e,this._lexer.lastToken,this._lexer.source)}return t}peek(e){return this._lexer.token.kind===e}expectToken(e){const t=this._lexer.token;if(t.kind===e){this.advanceLexer();return t}throw(0,n.syntaxError)(this._lexer.source,t.start,`Expected ${getTokenKindDesc(e)}, found ${getTokenDesc(t)}.`)}expectOptionalToken(e){const t=this._lexer.token;if(t.kind===e){this.advanceLexer();return true}return false}expectKeyword(e){const t=this._lexer.token;if(t.kind===c.TokenKind.NAME&&t.value===e){this.advanceLexer()}else{throw(0,n.syntaxError)(this._lexer.source,t.start,`Expected "${e}", found ${getTokenDesc(t)}.`)}}expectOptionalKeyword(e){const t=this._lexer.token;if(t.kind===c.TokenKind.NAME&&t.value===e){this.advanceLexer();return true}return false}unexpected(e){const t=e!==null&&e!==void 0?e:this._lexer.token;return(0,n.syntaxError)(this._lexer.source,t.start,`Unexpected ${getTokenDesc(t)}.`)}any(e,t,r){this.expectToken(e);const n=[];while(!this.expectOptionalToken(r)){n.push(t.call(this))}return n}optionalMany(e,t,r){if(this.expectOptionalToken(e)){const e=[];do{e.push(t.call(this))}while(!this.expectOptionalToken(r));return e}return[]}many(e,t,r){this.expectToken(e);const n=[];do{n.push(t.call(this))}while(!this.expectOptionalToken(r));return n}delimitedMany(e,t){this.expectOptionalToken(e);const r=[];do{r.push(t.call(this))}while(this.expectOptionalToken(e));return r}advanceLexer(){const{maxTokens:e}=this._options;const t=this._lexer.advance();if(e!==undefined&&t.kind!==c.TokenKind.EOF){++this._tokenCounter;if(this._tokenCounter>e){throw(0,n.syntaxError)(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}}}t.Parser=Parser;function getTokenDesc(e){const t=e.value;return getTokenKindDesc(e.kind)+(t!=null?` "${t}"`:"")}function getTokenKindDesc(e){return(0,a.isPunctuatorTokenKind)(e)?`"${e}"`:e}},5480:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.isConstValueNode=isConstValueNode;t.isDefinitionNode=isDefinitionNode;t.isExecutableDefinitionNode=isExecutableDefinitionNode;t.isSelectionNode=isSelectionNode;t.isTypeDefinitionNode=isTypeDefinitionNode;t.isTypeExtensionNode=isTypeExtensionNode;t.isTypeNode=isTypeNode;t.isTypeSystemDefinitionNode=isTypeSystemDefinitionNode;t.isTypeSystemExtensionNode=isTypeSystemExtensionNode;t.isValueNode=isValueNode;var n=r(1123);function isDefinitionNode(e){return isExecutableDefinitionNode(e)||isTypeSystemDefinitionNode(e)||isTypeSystemExtensionNode(e)}function isExecutableDefinitionNode(e){return e.kind===n.Kind.OPERATION_DEFINITION||e.kind===n.Kind.FRAGMENT_DEFINITION}function isSelectionNode(e){return e.kind===n.Kind.FIELD||e.kind===n.Kind.FRAGMENT_SPREAD||e.kind===n.Kind.INLINE_FRAGMENT}function isValueNode(e){return e.kind===n.Kind.VARIABLE||e.kind===n.Kind.INT||e.kind===n.Kind.FLOAT||e.kind===n.Kind.STRING||e.kind===n.Kind.BOOLEAN||e.kind===n.Kind.NULL||e.kind===n.Kind.ENUM||e.kind===n.Kind.LIST||e.kind===n.Kind.OBJECT}function isConstValueNode(e){return isValueNode(e)&&(e.kind===n.Kind.LIST?e.values.some(isConstValueNode):e.kind===n.Kind.OBJECT?e.fields.some((e=>isConstValueNode(e.value))):e.kind!==n.Kind.VARIABLE)}function isTypeNode(e){return e.kind===n.Kind.NAMED_TYPE||e.kind===n.Kind.LIST_TYPE||e.kind===n.Kind.NON_NULL_TYPE}function isTypeSystemDefinitionNode(e){return e.kind===n.Kind.SCHEMA_DEFINITION||isTypeDefinitionNode(e)||e.kind===n.Kind.DIRECTIVE_DEFINITION}function isTypeDefinitionNode(e){return e.kind===n.Kind.SCALAR_TYPE_DEFINITION||e.kind===n.Kind.OBJECT_TYPE_DEFINITION||e.kind===n.Kind.INTERFACE_TYPE_DEFINITION||e.kind===n.Kind.UNION_TYPE_DEFINITION||e.kind===n.Kind.ENUM_TYPE_DEFINITION||e.kind===n.Kind.INPUT_OBJECT_TYPE_DEFINITION}function isTypeSystemExtensionNode(e){return e.kind===n.Kind.SCHEMA_EXTENSION||isTypeExtensionNode(e)}function isTypeExtensionNode(e){return e.kind===n.Kind.SCALAR_TYPE_EXTENSION||e.kind===n.Kind.OBJECT_TYPE_EXTENSION||e.kind===n.Kind.INTERFACE_TYPE_EXTENSION||e.kind===n.Kind.UNION_TYPE_EXTENSION||e.kind===n.Kind.ENUM_TYPE_EXTENSION||e.kind===n.Kind.INPUT_OBJECT_TYPE_EXTENSION}},6512:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.printLocation=printLocation;t.printSourceLocation=printSourceLocation;var n=r(2245);function printLocation(e){return printSourceLocation(e.source,(0,n.getLocation)(e.source,e.start))}function printSourceLocation(e,t){const r=e.locationOffset.column-1;const n="".padStart(r)+e.body;const s=t.line-1;const o=e.locationOffset.line-1;const i=t.line+o;const a=t.line===1?r:0;const A=t.column+a;const c=`${e.name}:${i}:${A}\n`;const u=n.split(/\r\n|[\n\r]/g);const l=u[s];if(l.length>120){const e=Math.floor(A/80);const t=A%80;const r=[];for(let e=0;e["|",e])),["|","^".padStart(t)],["|",r[e+1]]])}return c+printPrefixedLines([[`${i-1} |`,u[s-1]],[`${i} |`,l],["|","^".padStart(A)],[`${i+1} |`,u[s+1]]])}function printPrefixedLines(e){const t=e.filter((([e,t])=>t!==undefined));const r=Math.max(...t.map((([e])=>e.length)));return t.map((([e,t])=>e.padStart(r)+(t?" "+t:""))).join("\n")}},9934:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.printString=printString;function printString(e){return`"${e.replace(r,escapedReplacer)}"`}const r=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function escapedReplacer(e){return n[e.charCodeAt(0)]}const n=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"]},9936:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.print=print;var n=r(7508);var s=r(9934);var o=r(638);function print(e){return(0,o.visit)(e,a)}const i=80;const a={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>join(e.definitions,"\n\n")},OperationDefinition:{leave(e){const t=wrap("(",join(e.variableDefinitions,", "),")");const r=join([e.operation,join([e.name,t]),join(e.directives," ")]," ");return(r==="query"?"":r+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:r,directives:n})=>e+": "+t+wrap(" = ",r)+wrap(" ",join(n," "))},SelectionSet:{leave:({selections:e})=>block(e)},Field:{leave({alias:e,name:t,arguments:r,directives:n,selectionSet:s}){const o=wrap("",e,": ")+t;let a=o+wrap("(",join(r,", "),")");if(a.length>i){a=o+wrap("(\n",indent(join(r,"\n")),"\n)")}return join([a,join(n," "),s]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+wrap(" ",join(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:r})=>join(["...",wrap("on ",e),join(t," "),r]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:r,directives:n,selectionSet:s})=>`fragment ${e}${wrap("(",join(r,", "),")")} `+`on ${t} ${wrap("",join(n," ")," ")}`+s},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?(0,n.printBlockString)(e):(0,s.printString)(e)},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+join(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+join(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+wrap("(",join(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:r})=>wrap("",e,"\n")+join(["schema",join(t," "),block(r)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:r})=>wrap("",e,"\n")+join(["scalar",t,join(r," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:s})=>wrap("",e,"\n")+join(["type",t,wrap("implements ",join(r," & ")),join(n," "),block(s)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:r,type:n,directives:s})=>wrap("",e,"\n")+t+(hasMultilineItems(r)?wrap("(\n",indent(join(r,"\n")),"\n)"):wrap("(",join(r,", "),")"))+": "+n+wrap(" ",join(s," "))},InputValueDefinition:{leave:({description:e,name:t,type:r,defaultValue:n,directives:s})=>wrap("",e,"\n")+join([t+": "+r,wrap("= ",n),join(s," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:s})=>wrap("",e,"\n")+join(["interface",t,wrap("implements ",join(r," & ")),join(n," "),block(s)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:r,types:n})=>wrap("",e,"\n")+join(["union",t,join(r," "),wrap("= ",join(n," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:r,values:n})=>wrap("",e,"\n")+join(["enum",t,join(r," "),block(n)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:r})=>wrap("",e,"\n")+join([t,join(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:r,fields:n})=>wrap("",e,"\n")+join(["input",t,join(r," "),block(n)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:r,repeatable:n,locations:s})=>wrap("",e,"\n")+"directive @"+t+(hasMultilineItems(r)?wrap("(\n",indent(join(r,"\n")),"\n)"):wrap("(",join(r,", "),")"))+(n?" repeatable":"")+" on "+join(s," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>join(["extend schema",join(e," "),block(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>join(["extend scalar",e,join(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>join(["extend type",e,wrap("implements ",join(t," & ")),join(r," "),block(n)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>join(["extend interface",e,wrap("implements ",join(t," & ")),join(r," "),block(n)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:r})=>join(["extend union",e,join(t," "),wrap("= ",join(r," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:r})=>join(["extend enum",e,join(t," "),block(r)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:r})=>join(["extend input",e,join(t," "),block(r)]," ")}};function join(e,t=""){var r;return(r=e===null||e===void 0?void 0:e.filter((e=>e)).join(t))!==null&&r!==void 0?r:""}function block(e){return wrap("{\n",indent(join(e,"\n")),"\n}")}function wrap(e,t,r=""){return t!=null&&t!==""?e+t+r:""}function indent(e){return wrap(" ",e.replace(/\n/g,"\n "))}function hasMultilineItems(e){var t;return(t=e===null||e===void 0?void 0:e.some((e=>e.includes("\n"))))!==null&&t!==void 0?t:false}},203:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.Source=void 0;t.isSource=isSource;var n=r(5383);var s=r(5742);var o=r(5914);class Source{constructor(e,t="GraphQL request",r={line:1,column:1}){typeof e==="string"||(0,n.devAssert)(false,`Body must be a string. Received: ${(0,s.inspect)(e)}.`);this.body=e;this.name=t;this.locationOffset=r;this.locationOffset.line>0||(0,n.devAssert)(false,"line in locationOffset is 1-indexed and must be positive.");this.locationOffset.column>0||(0,n.devAssert)(false,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}t.Source=Source;function isSource(e){return(0,o.instanceOf)(e,Source)}},1743:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.TokenKind=void 0;var r;t.TokenKind=r;(function(e){e["SOF"]="";e["EOF"]="";e["BANG"]="!";e["DOLLAR"]="$";e["AMP"]="&";e["PAREN_L"]="(";e["PAREN_R"]=")";e["SPREAD"]="...";e["COLON"]=":";e["EQUALS"]="=";e["AT"]="@";e["BRACKET_L"]="[";e["BRACKET_R"]="]";e["BRACE_L"]="{";e["PIPE"]="|";e["BRACE_R"]="}";e["NAME"]="Name";e["INT"]="Int";e["FLOAT"]="Float";e["STRING"]="String";e["BLOCK_STRING"]="BlockString";e["COMMENT"]="Comment"})(r||(t.TokenKind=r={}))},638:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.BREAK=void 0;t.getEnterLeaveForKind=getEnterLeaveForKind;t.getVisitFn=getVisitFn;t.visit=visit;t.visitInParallel=visitInParallel;var n=r(5383);var s=r(5742);var o=r(2740);var i=r(1123);const a=Object.freeze({});t.BREAK=a;function visit(e,t,r=o.QueryDocumentKeys){const A=new Map;for(const e of Object.values(i.Kind)){A.set(e,getEnterLeaveForKind(t,e))}let c=undefined;let u=Array.isArray(e);let l=[e];let p=-1;let d=[];let g=e;let h=undefined;let E=undefined;const m=[];const I=[];do{p++;const e=p===l.length;const i=e&&d.length!==0;if(e){h=I.length===0?undefined:m[m.length-1];g=E;E=I.pop();if(i){if(u){g=g.slice();let e=0;for(const[t,r]of d){const n=t-e;if(r===null){g.splice(n,1);e++}else{g[n]=r}}}else{g=Object.defineProperties({},Object.getOwnPropertyDescriptors(g));for(const[e,t]of d){g[e]=t}}}p=c.index;l=c.keys;d=c.edits;u=c.inArray;c=c.prev}else if(E){h=u?p:l[p];g=E[h];if(g===null||g===undefined){continue}m.push(h)}let B;if(!Array.isArray(g)){var y,C;(0,o.isNode)(g)||(0,n.devAssert)(false,`Invalid AST Node: ${(0,s.inspect)(g)}.`);const r=e?(y=A.get(g.kind))===null||y===void 0?void 0:y.leave:(C=A.get(g.kind))===null||C===void 0?void 0:C.enter;B=r===null||r===void 0?void 0:r.call(t,g,h,E,m,I);if(B===a){break}if(B===false){if(!e){m.pop();continue}}else if(B!==undefined){d.push([h,B]);if(!e){if((0,o.isNode)(B)){g=B}else{m.pop();continue}}}}if(B===undefined&&i){d.push([h,g])}if(e){m.pop()}else{var Q;c={inArray:u,index:p,keys:l,edits:d,prev:c};u=Array.isArray(g);l=u?g:(Q=r[g.kind])!==null&&Q!==void 0?Q:[];p=-1;d=[];if(E){I.push(E)}E=g}}while(c!==undefined);if(d.length!==0){return d[d.length-1][1]}return e}function visitInParallel(e){const t=new Array(e.length).fill(null);const r=Object.create(null);for(const n of Object.values(i.Kind)){let s=false;const o=new Array(e.length).fill(undefined);const i=new Array(e.length).fill(undefined);for(let t=0;t{Object.defineProperty(t,"__esModule",{value:true});t.assertEnumValueName=assertEnumValueName;t.assertName=assertName;var n=r(5383);var s=r(5939);var o=r(3271);function assertName(e){e!=null||(0,n.devAssert)(false,"Must provide name.");typeof e==="string"||(0,n.devAssert)(false,"Expected name to be a string.");if(e.length===0){throw new s.GraphQLError("Expected name to be a non-empty string.")}for(let t=1;t{Object.defineProperty(t,"__esModule",{value:true});t.GraphQLUnionType=t.GraphQLScalarType=t.GraphQLObjectType=t.GraphQLNonNull=t.GraphQLList=t.GraphQLInterfaceType=t.GraphQLInputObjectType=t.GraphQLEnumType=void 0;t.argsToArgsConfig=argsToArgsConfig;t.assertAbstractType=assertAbstractType;t.assertCompositeType=assertCompositeType;t.assertEnumType=assertEnumType;t.assertInputObjectType=assertInputObjectType;t.assertInputType=assertInputType;t.assertInterfaceType=assertInterfaceType;t.assertLeafType=assertLeafType;t.assertListType=assertListType;t.assertNamedType=assertNamedType;t.assertNonNullType=assertNonNullType;t.assertNullableType=assertNullableType;t.assertObjectType=assertObjectType;t.assertOutputType=assertOutputType;t.assertScalarType=assertScalarType;t.assertType=assertType;t.assertUnionType=assertUnionType;t.assertWrappingType=assertWrappingType;t.defineArguments=defineArguments;t.getNamedType=getNamedType;t.getNullableType=getNullableType;t.isAbstractType=isAbstractType;t.isCompositeType=isCompositeType;t.isEnumType=isEnumType;t.isInputObjectType=isInputObjectType;t.isInputType=isInputType;t.isInterfaceType=isInterfaceType;t.isLeafType=isLeafType;t.isListType=isListType;t.isNamedType=isNamedType;t.isNonNullType=isNonNullType;t.isNullableType=isNullableType;t.isObjectType=isObjectType;t.isOutputType=isOutputType;t.isRequiredArgument=isRequiredArgument;t.isRequiredInputField=isRequiredInputField;t.isScalarType=isScalarType;t.isType=isType;t.isUnionType=isUnionType;t.isWrappingType=isWrappingType;t.resolveObjMapThunk=resolveObjMapThunk;t.resolveReadonlyArrayThunk=resolveReadonlyArrayThunk;var n=r(5383);var s=r(1353);var o=r(6588);var i=r(5742);var a=r(5914);var A=r(892);var c=r(7579);var u=r(3166);var l=r(5719);var p=r(7904);var d=r(7104);var g=r(5939);var h=r(1123);var E=r(9936);var m=r(5470);var I=r(8337);function isType(e){return isScalarType(e)||isObjectType(e)||isInterfaceType(e)||isUnionType(e)||isEnumType(e)||isInputObjectType(e)||isListType(e)||isNonNullType(e)}function assertType(e){if(!isType(e)){throw new Error(`Expected ${(0,i.inspect)(e)} to be a GraphQL type.`)}return e}function isScalarType(e){return(0,a.instanceOf)(e,GraphQLScalarType)}function assertScalarType(e){if(!isScalarType(e)){throw new Error(`Expected ${(0,i.inspect)(e)} to be a GraphQL Scalar type.`)}return e}function isObjectType(e){return(0,a.instanceOf)(e,GraphQLObjectType)}function assertObjectType(e){if(!isObjectType(e)){throw new Error(`Expected ${(0,i.inspect)(e)} to be a GraphQL Object type.`)}return e}function isInterfaceType(e){return(0,a.instanceOf)(e,GraphQLInterfaceType)}function assertInterfaceType(e){if(!isInterfaceType(e)){throw new Error(`Expected ${(0,i.inspect)(e)} to be a GraphQL Interface type.`)}return e}function isUnionType(e){return(0,a.instanceOf)(e,GraphQLUnionType)}function assertUnionType(e){if(!isUnionType(e)){throw new Error(`Expected ${(0,i.inspect)(e)} to be a GraphQL Union type.`)}return e}function isEnumType(e){return(0,a.instanceOf)(e,GraphQLEnumType)}function assertEnumType(e){if(!isEnumType(e)){throw new Error(`Expected ${(0,i.inspect)(e)} to be a GraphQL Enum type.`)}return e}function isInputObjectType(e){return(0,a.instanceOf)(e,GraphQLInputObjectType)}function assertInputObjectType(e){if(!isInputObjectType(e)){throw new Error(`Expected ${(0,i.inspect)(e)} to be a GraphQL Input Object type.`)}return e}function isListType(e){return(0,a.instanceOf)(e,GraphQLList)}function assertListType(e){if(!isListType(e)){throw new Error(`Expected ${(0,i.inspect)(e)} to be a GraphQL List type.`)}return e}function isNonNullType(e){return(0,a.instanceOf)(e,GraphQLNonNull)}function assertNonNullType(e){if(!isNonNullType(e)){throw new Error(`Expected ${(0,i.inspect)(e)} to be a GraphQL Non-Null type.`)}return e}function isInputType(e){return isScalarType(e)||isEnumType(e)||isInputObjectType(e)||isWrappingType(e)&&isInputType(e.ofType)}function assertInputType(e){if(!isInputType(e)){throw new Error(`Expected ${(0,i.inspect)(e)} to be a GraphQL input type.`)}return e}function isOutputType(e){return isScalarType(e)||isObjectType(e)||isInterfaceType(e)||isUnionType(e)||isEnumType(e)||isWrappingType(e)&&isOutputType(e.ofType)}function assertOutputType(e){if(!isOutputType(e)){throw new Error(`Expected ${(0,i.inspect)(e)} to be a GraphQL output type.`)}return e}function isLeafType(e){return isScalarType(e)||isEnumType(e)}function assertLeafType(e){if(!isLeafType(e)){throw new Error(`Expected ${(0,i.inspect)(e)} to be a GraphQL leaf type.`)}return e}function isCompositeType(e){return isObjectType(e)||isInterfaceType(e)||isUnionType(e)}function assertCompositeType(e){if(!isCompositeType(e)){throw new Error(`Expected ${(0,i.inspect)(e)} to be a GraphQL composite type.`)}return e}function isAbstractType(e){return isInterfaceType(e)||isUnionType(e)}function assertAbstractType(e){if(!isAbstractType(e)){throw new Error(`Expected ${(0,i.inspect)(e)} to be a GraphQL abstract type.`)}return e}class GraphQLList{constructor(e){isType(e)||(0,n.devAssert)(false,`Expected ${(0,i.inspect)(e)} to be a GraphQL type.`);this.ofType=e}get[Symbol.toStringTag](){return"GraphQLList"}toString(){return"["+String(this.ofType)+"]"}toJSON(){return this.toString()}}t.GraphQLList=GraphQLList;class GraphQLNonNull{constructor(e){isNullableType(e)||(0,n.devAssert)(false,`Expected ${(0,i.inspect)(e)} to be a GraphQL nullable type.`);this.ofType=e}get[Symbol.toStringTag](){return"GraphQLNonNull"}toString(){return String(this.ofType)+"!"}toJSON(){return this.toString()}}t.GraphQLNonNull=GraphQLNonNull;function isWrappingType(e){return isListType(e)||isNonNullType(e)}function assertWrappingType(e){if(!isWrappingType(e)){throw new Error(`Expected ${(0,i.inspect)(e)} to be a GraphQL wrapping type.`)}return e}function isNullableType(e){return isType(e)&&!isNonNullType(e)}function assertNullableType(e){if(!isNullableType(e)){throw new Error(`Expected ${(0,i.inspect)(e)} to be a GraphQL nullable type.`)}return e}function getNullableType(e){if(e){return isNonNullType(e)?e.ofType:e}}function isNamedType(e){return isScalarType(e)||isObjectType(e)||isInterfaceType(e)||isUnionType(e)||isEnumType(e)||isInputObjectType(e)}function assertNamedType(e){if(!isNamedType(e)){throw new Error(`Expected ${(0,i.inspect)(e)} to be a GraphQL named type.`)}return e}function getNamedType(e){if(e){let t=e;while(isWrappingType(t)){t=t.ofType}return t}}function resolveReadonlyArrayThunk(e){return typeof e==="function"?e():e}function resolveObjMapThunk(e){return typeof e==="function"?e():e}class GraphQLScalarType{constructor(e){var t,r,s,a;const A=(t=e.parseValue)!==null&&t!==void 0?t:o.identityFunc;this.name=(0,I.assertName)(e.name);this.description=e.description;this.specifiedByURL=e.specifiedByURL;this.serialize=(r=e.serialize)!==null&&r!==void 0?r:o.identityFunc;this.parseValue=A;this.parseLiteral=(s=e.parseLiteral)!==null&&s!==void 0?s:(e,t)=>A((0,m.valueFromASTUntyped)(e,t));this.extensions=(0,d.toObjMap)(e.extensions);this.astNode=e.astNode;this.extensionASTNodes=(a=e.extensionASTNodes)!==null&&a!==void 0?a:[];e.specifiedByURL==null||typeof e.specifiedByURL==="string"||(0,n.devAssert)(false,`${this.name} must provide "specifiedByURL" as a string, `+`but got: ${(0,i.inspect)(e.specifiedByURL)}.`);e.serialize==null||typeof e.serialize==="function"||(0,n.devAssert)(false,`${this.name} must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.`);if(e.parseLiteral){typeof e.parseValue==="function"&&typeof e.parseLiteral==="function"||(0,n.devAssert)(false,`${this.name} must provide both "parseValue" and "parseLiteral" functions.`)}}get[Symbol.toStringTag](){return"GraphQLScalarType"}toConfig(){return{name:this.name,description:this.description,specifiedByURL:this.specifiedByURL,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}t.GraphQLScalarType=GraphQLScalarType;class GraphQLObjectType{constructor(e){var t;this.name=(0,I.assertName)(e.name);this.description=e.description;this.isTypeOf=e.isTypeOf;this.extensions=(0,d.toObjMap)(e.extensions);this.astNode=e.astNode;this.extensionASTNodes=(t=e.extensionASTNodes)!==null&&t!==void 0?t:[];this._fields=()=>defineFieldMap(e);this._interfaces=()=>defineInterfaces(e);e.isTypeOf==null||typeof e.isTypeOf==="function"||(0,n.devAssert)(false,`${this.name} must provide "isTypeOf" as a function, `+`but got: ${(0,i.inspect)(e.isTypeOf)}.`)}get[Symbol.toStringTag](){return"GraphQLObjectType"}getFields(){if(typeof this._fields==="function"){this._fields=this._fields()}return this._fields}getInterfaces(){if(typeof this._interfaces==="function"){this._interfaces=this._interfaces()}return this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:fieldsToFieldsConfig(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}t.GraphQLObjectType=GraphQLObjectType;function defineInterfaces(e){var t;const r=resolveReadonlyArrayThunk((t=e.interfaces)!==null&&t!==void 0?t:[]);Array.isArray(r)||(0,n.devAssert)(false,`${e.name} interfaces must be an Array or a function which returns an Array.`);return r}function defineFieldMap(e){const t=resolveObjMapThunk(e.fields);isPlainObj(t)||(0,n.devAssert)(false,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`);return(0,l.mapValue)(t,((t,r)=>{var s;isPlainObj(t)||(0,n.devAssert)(false,`${e.name}.${r} field config must be an object.`);t.resolve==null||typeof t.resolve==="function"||(0,n.devAssert)(false,`${e.name}.${r} field resolver must be a function if `+`provided, but got: ${(0,i.inspect)(t.resolve)}.`);const o=(s=t.args)!==null&&s!==void 0?s:{};isPlainObj(o)||(0,n.devAssert)(false,`${e.name}.${r} args must be an object with argument names as keys.`);return{name:(0,I.assertName)(r),description:t.description,type:t.type,args:defineArguments(o),resolve:t.resolve,subscribe:t.subscribe,deprecationReason:t.deprecationReason,extensions:(0,d.toObjMap)(t.extensions),astNode:t.astNode}}))}function defineArguments(e){return Object.entries(e).map((([e,t])=>({name:(0,I.assertName)(e),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:(0,d.toObjMap)(t.extensions),astNode:t.astNode})))}function isPlainObj(e){return(0,A.isObjectLike)(e)&&!Array.isArray(e)}function fieldsToFieldsConfig(e){return(0,l.mapValue)(e,(e=>({description:e.description,type:e.type,args:argsToArgsConfig(e.args),resolve:e.resolve,subscribe:e.subscribe,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode})))}function argsToArgsConfig(e){return(0,u.keyValMap)(e,(e=>e.name),(e=>({description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode})))}function isRequiredArgument(e){return isNonNullType(e.type)&&e.defaultValue===undefined}class GraphQLInterfaceType{constructor(e){var t;this.name=(0,I.assertName)(e.name);this.description=e.description;this.resolveType=e.resolveType;this.extensions=(0,d.toObjMap)(e.extensions);this.astNode=e.astNode;this.extensionASTNodes=(t=e.extensionASTNodes)!==null&&t!==void 0?t:[];this._fields=defineFieldMap.bind(undefined,e);this._interfaces=defineInterfaces.bind(undefined,e);e.resolveType==null||typeof e.resolveType==="function"||(0,n.devAssert)(false,`${this.name} must provide "resolveType" as a function, `+`but got: ${(0,i.inspect)(e.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLInterfaceType"}getFields(){if(typeof this._fields==="function"){this._fields=this._fields()}return this._fields}getInterfaces(){if(typeof this._interfaces==="function"){this._interfaces=this._interfaces()}return this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:fieldsToFieldsConfig(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}t.GraphQLInterfaceType=GraphQLInterfaceType;class GraphQLUnionType{constructor(e){var t;this.name=(0,I.assertName)(e.name);this.description=e.description;this.resolveType=e.resolveType;this.extensions=(0,d.toObjMap)(e.extensions);this.astNode=e.astNode;this.extensionASTNodes=(t=e.extensionASTNodes)!==null&&t!==void 0?t:[];this._types=defineTypes.bind(undefined,e);e.resolveType==null||typeof e.resolveType==="function"||(0,n.devAssert)(false,`${this.name} must provide "resolveType" as a function, `+`but got: ${(0,i.inspect)(e.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLUnionType"}getTypes(){if(typeof this._types==="function"){this._types=this._types()}return this._types}toConfig(){return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}t.GraphQLUnionType=GraphQLUnionType;function defineTypes(e){const t=resolveReadonlyArrayThunk(e.types);Array.isArray(t)||(0,n.devAssert)(false,`Must provide Array of types or a function which returns such an array for Union ${e.name}.`);return t}class GraphQLEnumType{constructor(e){var t;this.name=(0,I.assertName)(e.name);this.description=e.description;this.extensions=(0,d.toObjMap)(e.extensions);this.astNode=e.astNode;this.extensionASTNodes=(t=e.extensionASTNodes)!==null&&t!==void 0?t:[];this._values=typeof e.values==="function"?e.values:defineEnumValues(this.name,e.values);this._valueLookup=null;this._nameLookup=null}get[Symbol.toStringTag](){return"GraphQLEnumType"}getValues(){if(typeof this._values==="function"){this._values=defineEnumValues(this.name,this._values())}return this._values}getValue(e){if(this._nameLookup===null){this._nameLookup=(0,c.keyMap)(this.getValues(),(e=>e.name))}return this._nameLookup[e]}serialize(e){if(this._valueLookup===null){this._valueLookup=new Map(this.getValues().map((e=>[e.value,e])))}const t=this._valueLookup.get(e);if(t===undefined){throw new g.GraphQLError(`Enum "${this.name}" cannot represent value: ${(0,i.inspect)(e)}`)}return t.name}parseValue(e){if(typeof e!=="string"){const t=(0,i.inspect)(e);throw new g.GraphQLError(`Enum "${this.name}" cannot represent non-string value: ${t}.`+didYouMeanEnumValue(this,t))}const t=this.getValue(e);if(t==null){throw new g.GraphQLError(`Value "${e}" does not exist in "${this.name}" enum.`+didYouMeanEnumValue(this,e))}return t.value}parseLiteral(e,t){if(e.kind!==h.Kind.ENUM){const t=(0,E.print)(e);throw new g.GraphQLError(`Enum "${this.name}" cannot represent non-enum value: ${t}.`+didYouMeanEnumValue(this,t),{nodes:e})}const r=this.getValue(e.value);if(r==null){const t=(0,E.print)(e);throw new g.GraphQLError(`Value "${t}" does not exist in "${this.name}" enum.`+didYouMeanEnumValue(this,t),{nodes:e})}return r.value}toConfig(){const e=(0,u.keyValMap)(this.getValues(),(e=>e.name),(e=>({description:e.description,value:e.value,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode})));return{name:this.name,description:this.description,values:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}t.GraphQLEnumType=GraphQLEnumType;function didYouMeanEnumValue(e,t){const r=e.getValues().map((e=>e.name));const n=(0,p.suggestionList)(t,r);return(0,s.didYouMean)("the enum value",n)}function defineEnumValues(e,t){isPlainObj(t)||(0,n.devAssert)(false,`${e} values must be an object with value names as keys.`);return Object.entries(t).map((([t,r])=>{isPlainObj(r)||(0,n.devAssert)(false,`${e}.${t} must refer to an object with a "value" key `+`representing an internal value but got: ${(0,i.inspect)(r)}.`);return{name:(0,I.assertEnumValueName)(t),description:r.description,value:r.value!==undefined?r.value:t,deprecationReason:r.deprecationReason,extensions:(0,d.toObjMap)(r.extensions),astNode:r.astNode}}))}class GraphQLInputObjectType{constructor(e){var t,r;this.name=(0,I.assertName)(e.name);this.description=e.description;this.extensions=(0,d.toObjMap)(e.extensions);this.astNode=e.astNode;this.extensionASTNodes=(t=e.extensionASTNodes)!==null&&t!==void 0?t:[];this.isOneOf=(r=e.isOneOf)!==null&&r!==void 0?r:false;this._fields=defineInputFieldMap.bind(undefined,e)}get[Symbol.toStringTag](){return"GraphQLInputObjectType"}getFields(){if(typeof this._fields==="function"){this._fields=this._fields()}return this._fields}toConfig(){const e=(0,l.mapValue)(this.getFields(),(e=>({description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode})));return{name:this.name,description:this.description,fields:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,isOneOf:this.isOneOf}}toString(){return this.name}toJSON(){return this.toString()}}t.GraphQLInputObjectType=GraphQLInputObjectType;function defineInputFieldMap(e){const t=resolveObjMapThunk(e.fields);isPlainObj(t)||(0,n.devAssert)(false,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`);return(0,l.mapValue)(t,((t,r)=>{!("resolve"in t)||(0,n.devAssert)(false,`${e.name}.${r} field has a resolve property, but Input Types cannot define resolvers.`);return{name:(0,I.assertName)(r),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:(0,d.toObjMap)(t.extensions),astNode:t.astNode}}))}function isRequiredInputField(e){return isNonNullType(e.type)&&e.defaultValue===undefined}},1058:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.GraphQLSpecifiedByDirective=t.GraphQLSkipDirective=t.GraphQLOneOfDirective=t.GraphQLIncludeDirective=t.GraphQLDirective=t.GraphQLDeprecatedDirective=t.DEFAULT_DEPRECATION_REASON=void 0;t.assertDirective=assertDirective;t.isDirective=isDirective;t.isSpecifiedDirective=isSpecifiedDirective;t.specifiedDirectives=void 0;var n=r(5383);var s=r(5742);var o=r(5914);var i=r(892);var a=r(7104);var A=r(2582);var c=r(8337);var u=r(4169);var l=r(3571);function isDirective(e){return(0,o.instanceOf)(e,GraphQLDirective)}function assertDirective(e){if(!isDirective(e)){throw new Error(`Expected ${(0,s.inspect)(e)} to be a GraphQL directive.`)}return e}class GraphQLDirective{constructor(e){var t,r;this.name=(0,c.assertName)(e.name);this.description=e.description;this.locations=e.locations;this.isRepeatable=(t=e.isRepeatable)!==null&&t!==void 0?t:false;this.extensions=(0,a.toObjMap)(e.extensions);this.astNode=e.astNode;Array.isArray(e.locations)||(0,n.devAssert)(false,`@${e.name} locations must be an Array.`);const s=(r=e.args)!==null&&r!==void 0?r:{};(0,i.isObjectLike)(s)&&!Array.isArray(s)||(0,n.devAssert)(false,`@${e.name} args must be an object with argument names as keys.`);this.args=(0,u.defineArguments)(s)}get[Symbol.toStringTag](){return"GraphQLDirective"}toConfig(){return{name:this.name,description:this.description,locations:this.locations,args:(0,u.argsToArgsConfig)(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}}toString(){return"@"+this.name}toJSON(){return this.toString()}}t.GraphQLDirective=GraphQLDirective;const p=new GraphQLDirective({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[A.DirectiveLocation.FIELD,A.DirectiveLocation.FRAGMENT_SPREAD,A.DirectiveLocation.INLINE_FRAGMENT],args:{if:{type:new u.GraphQLNonNull(l.GraphQLBoolean),description:"Included when true."}}});t.GraphQLIncludeDirective=p;const d=new GraphQLDirective({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[A.DirectiveLocation.FIELD,A.DirectiveLocation.FRAGMENT_SPREAD,A.DirectiveLocation.INLINE_FRAGMENT],args:{if:{type:new u.GraphQLNonNull(l.GraphQLBoolean),description:"Skipped when true."}}});t.GraphQLSkipDirective=d;const g="No longer supported";t.DEFAULT_DEPRECATION_REASON=g;const h=new GraphQLDirective({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[A.DirectiveLocation.FIELD_DEFINITION,A.DirectiveLocation.ARGUMENT_DEFINITION,A.DirectiveLocation.INPUT_FIELD_DEFINITION,A.DirectiveLocation.ENUM_VALUE],args:{reason:{type:l.GraphQLString,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).",defaultValue:g}}});t.GraphQLDeprecatedDirective=h;const E=new GraphQLDirective({name:"specifiedBy",description:"Exposes a URL that specifies the behavior of this scalar.",locations:[A.DirectiveLocation.SCALAR],args:{url:{type:new u.GraphQLNonNull(l.GraphQLString),description:"The URL that specifies the behavior of this scalar."}}});t.GraphQLSpecifiedByDirective=E;const m=new GraphQLDirective({name:"oneOf",description:"Indicates exactly one field must be supplied and this field must not be `null`.",locations:[A.DirectiveLocation.INPUT_OBJECT],args:{}});t.GraphQLOneOfDirective=m;const I=Object.freeze([p,d,h,E,m]);t.specifiedDirectives=I;function isSpecifiedDirective(e){return I.some((({name:t})=>t===e.name))}},6618:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"DEFAULT_DEPRECATION_REASON",{enumerable:true,get:function(){return o.DEFAULT_DEPRECATION_REASON}});Object.defineProperty(t,"GRAPHQL_MAX_INT",{enumerable:true,get:function(){return i.GRAPHQL_MAX_INT}});Object.defineProperty(t,"GRAPHQL_MIN_INT",{enumerable:true,get:function(){return i.GRAPHQL_MIN_INT}});Object.defineProperty(t,"GraphQLBoolean",{enumerable:true,get:function(){return i.GraphQLBoolean}});Object.defineProperty(t,"GraphQLDeprecatedDirective",{enumerable:true,get:function(){return o.GraphQLDeprecatedDirective}});Object.defineProperty(t,"GraphQLDirective",{enumerable:true,get:function(){return o.GraphQLDirective}});Object.defineProperty(t,"GraphQLEnumType",{enumerable:true,get:function(){return s.GraphQLEnumType}});Object.defineProperty(t,"GraphQLFloat",{enumerable:true,get:function(){return i.GraphQLFloat}});Object.defineProperty(t,"GraphQLID",{enumerable:true,get:function(){return i.GraphQLID}});Object.defineProperty(t,"GraphQLIncludeDirective",{enumerable:true,get:function(){return o.GraphQLIncludeDirective}});Object.defineProperty(t,"GraphQLInputObjectType",{enumerable:true,get:function(){return s.GraphQLInputObjectType}});Object.defineProperty(t,"GraphQLInt",{enumerable:true,get:function(){return i.GraphQLInt}});Object.defineProperty(t,"GraphQLInterfaceType",{enumerable:true,get:function(){return s.GraphQLInterfaceType}});Object.defineProperty(t,"GraphQLList",{enumerable:true,get:function(){return s.GraphQLList}});Object.defineProperty(t,"GraphQLNonNull",{enumerable:true,get:function(){return s.GraphQLNonNull}});Object.defineProperty(t,"GraphQLObjectType",{enumerable:true,get:function(){return s.GraphQLObjectType}});Object.defineProperty(t,"GraphQLOneOfDirective",{enumerable:true,get:function(){return o.GraphQLOneOfDirective}});Object.defineProperty(t,"GraphQLScalarType",{enumerable:true,get:function(){return s.GraphQLScalarType}});Object.defineProperty(t,"GraphQLSchema",{enumerable:true,get:function(){return n.GraphQLSchema}});Object.defineProperty(t,"GraphQLSkipDirective",{enumerable:true,get:function(){return o.GraphQLSkipDirective}});Object.defineProperty(t,"GraphQLSpecifiedByDirective",{enumerable:true,get:function(){return o.GraphQLSpecifiedByDirective}});Object.defineProperty(t,"GraphQLString",{enumerable:true,get:function(){return i.GraphQLString}});Object.defineProperty(t,"GraphQLUnionType",{enumerable:true,get:function(){return s.GraphQLUnionType}});Object.defineProperty(t,"SchemaMetaFieldDef",{enumerable:true,get:function(){return a.SchemaMetaFieldDef}});Object.defineProperty(t,"TypeKind",{enumerable:true,get:function(){return a.TypeKind}});Object.defineProperty(t,"TypeMetaFieldDef",{enumerable:true,get:function(){return a.TypeMetaFieldDef}});Object.defineProperty(t,"TypeNameMetaFieldDef",{enumerable:true,get:function(){return a.TypeNameMetaFieldDef}});Object.defineProperty(t,"__Directive",{enumerable:true,get:function(){return a.__Directive}});Object.defineProperty(t,"__DirectiveLocation",{enumerable:true,get:function(){return a.__DirectiveLocation}});Object.defineProperty(t,"__EnumValue",{enumerable:true,get:function(){return a.__EnumValue}});Object.defineProperty(t,"__Field",{enumerable:true,get:function(){return a.__Field}});Object.defineProperty(t,"__InputValue",{enumerable:true,get:function(){return a.__InputValue}});Object.defineProperty(t,"__Schema",{enumerable:true,get:function(){return a.__Schema}});Object.defineProperty(t,"__Type",{enumerable:true,get:function(){return a.__Type}});Object.defineProperty(t,"__TypeKind",{enumerable:true,get:function(){return a.__TypeKind}});Object.defineProperty(t,"assertAbstractType",{enumerable:true,get:function(){return s.assertAbstractType}});Object.defineProperty(t,"assertCompositeType",{enumerable:true,get:function(){return s.assertCompositeType}});Object.defineProperty(t,"assertDirective",{enumerable:true,get:function(){return o.assertDirective}});Object.defineProperty(t,"assertEnumType",{enumerable:true,get:function(){return s.assertEnumType}});Object.defineProperty(t,"assertEnumValueName",{enumerable:true,get:function(){return c.assertEnumValueName}});Object.defineProperty(t,"assertInputObjectType",{enumerable:true,get:function(){return s.assertInputObjectType}});Object.defineProperty(t,"assertInputType",{enumerable:true,get:function(){return s.assertInputType}});Object.defineProperty(t,"assertInterfaceType",{enumerable:true,get:function(){return s.assertInterfaceType}});Object.defineProperty(t,"assertLeafType",{enumerable:true,get:function(){return s.assertLeafType}});Object.defineProperty(t,"assertListType",{enumerable:true,get:function(){return s.assertListType}});Object.defineProperty(t,"assertName",{enumerable:true,get:function(){return c.assertName}});Object.defineProperty(t,"assertNamedType",{enumerable:true,get:function(){return s.assertNamedType}});Object.defineProperty(t,"assertNonNullType",{enumerable:true,get:function(){return s.assertNonNullType}});Object.defineProperty(t,"assertNullableType",{enumerable:true,get:function(){return s.assertNullableType}});Object.defineProperty(t,"assertObjectType",{enumerable:true,get:function(){return s.assertObjectType}});Object.defineProperty(t,"assertOutputType",{enumerable:true,get:function(){return s.assertOutputType}});Object.defineProperty(t,"assertScalarType",{enumerable:true,get:function(){return s.assertScalarType}});Object.defineProperty(t,"assertSchema",{enumerable:true,get:function(){return n.assertSchema}});Object.defineProperty(t,"assertType",{enumerable:true,get:function(){return s.assertType}});Object.defineProperty(t,"assertUnionType",{enumerable:true,get:function(){return s.assertUnionType}});Object.defineProperty(t,"assertValidSchema",{enumerable:true,get:function(){return A.assertValidSchema}});Object.defineProperty(t,"assertWrappingType",{enumerable:true,get:function(){return s.assertWrappingType}});Object.defineProperty(t,"getNamedType",{enumerable:true,get:function(){return s.getNamedType}});Object.defineProperty(t,"getNullableType",{enumerable:true,get:function(){return s.getNullableType}});Object.defineProperty(t,"introspectionTypes",{enumerable:true,get:function(){return a.introspectionTypes}});Object.defineProperty(t,"isAbstractType",{enumerable:true,get:function(){return s.isAbstractType}});Object.defineProperty(t,"isCompositeType",{enumerable:true,get:function(){return s.isCompositeType}});Object.defineProperty(t,"isDirective",{enumerable:true,get:function(){return o.isDirective}});Object.defineProperty(t,"isEnumType",{enumerable:true,get:function(){return s.isEnumType}});Object.defineProperty(t,"isInputObjectType",{enumerable:true,get:function(){return s.isInputObjectType}});Object.defineProperty(t,"isInputType",{enumerable:true,get:function(){return s.isInputType}});Object.defineProperty(t,"isInterfaceType",{enumerable:true,get:function(){return s.isInterfaceType}});Object.defineProperty(t,"isIntrospectionType",{enumerable:true,get:function(){return a.isIntrospectionType}});Object.defineProperty(t,"isLeafType",{enumerable:true,get:function(){return s.isLeafType}});Object.defineProperty(t,"isListType",{enumerable:true,get:function(){return s.isListType}});Object.defineProperty(t,"isNamedType",{enumerable:true,get:function(){return s.isNamedType}});Object.defineProperty(t,"isNonNullType",{enumerable:true,get:function(){return s.isNonNullType}});Object.defineProperty(t,"isNullableType",{enumerable:true,get:function(){return s.isNullableType}});Object.defineProperty(t,"isObjectType",{enumerable:true,get:function(){return s.isObjectType}});Object.defineProperty(t,"isOutputType",{enumerable:true,get:function(){return s.isOutputType}});Object.defineProperty(t,"isRequiredArgument",{enumerable:true,get:function(){return s.isRequiredArgument}});Object.defineProperty(t,"isRequiredInputField",{enumerable:true,get:function(){return s.isRequiredInputField}});Object.defineProperty(t,"isScalarType",{enumerable:true,get:function(){return s.isScalarType}});Object.defineProperty(t,"isSchema",{enumerable:true,get:function(){return n.isSchema}});Object.defineProperty(t,"isSpecifiedDirective",{enumerable:true,get:function(){return o.isSpecifiedDirective}});Object.defineProperty(t,"isSpecifiedScalarType",{enumerable:true,get:function(){return i.isSpecifiedScalarType}});Object.defineProperty(t,"isType",{enumerable:true,get:function(){return s.isType}});Object.defineProperty(t,"isUnionType",{enumerable:true,get:function(){return s.isUnionType}});Object.defineProperty(t,"isWrappingType",{enumerable:true,get:function(){return s.isWrappingType}});Object.defineProperty(t,"resolveObjMapThunk",{enumerable:true,get:function(){return s.resolveObjMapThunk}});Object.defineProperty(t,"resolveReadonlyArrayThunk",{enumerable:true,get:function(){return s.resolveReadonlyArrayThunk}});Object.defineProperty(t,"specifiedDirectives",{enumerable:true,get:function(){return o.specifiedDirectives}});Object.defineProperty(t,"specifiedScalarTypes",{enumerable:true,get:function(){return i.specifiedScalarTypes}});Object.defineProperty(t,"validateSchema",{enumerable:true,get:function(){return A.validateSchema}});var n=r(9299);var s=r(4169);var o=r(1058);var i=r(3571);var a=r(317);var A=r(3902);var c=r(8337)},317:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.introspectionTypes=t.__TypeKind=t.__Type=t.__Schema=t.__InputValue=t.__Field=t.__EnumValue=t.__DirectiveLocation=t.__Directive=t.TypeNameMetaFieldDef=t.TypeMetaFieldDef=t.TypeKind=t.SchemaMetaFieldDef=void 0;t.isIntrospectionType=isIntrospectionType;var n=r(5742);var s=r(3650);var o=r(2582);var i=r(9936);var a=r(8893);var A=r(4169);var c=r(3571);const u=new A.GraphQLObjectType({name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:()=>({description:{type:c.GraphQLString,resolve:e=>e.description},types:{description:"A list of all types supported by this server.",type:new A.GraphQLNonNull(new A.GraphQLList(new A.GraphQLNonNull(d))),resolve(e){return Object.values(e.getTypeMap())}},queryType:{description:"The type that query operations will be rooted at.",type:new A.GraphQLNonNull(d),resolve:e=>e.getQueryType()},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:d,resolve:e=>e.getMutationType()},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:d,resolve:e=>e.getSubscriptionType()},directives:{description:"A list of all directives supported by this server.",type:new A.GraphQLNonNull(new A.GraphQLList(new A.GraphQLNonNull(l))),resolve:e=>e.getDirectives()}})});t.__Schema=u;const l=new A.GraphQLObjectType({name:"__Directive",description:"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.",fields:()=>({name:{type:new A.GraphQLNonNull(c.GraphQLString),resolve:e=>e.name},description:{type:c.GraphQLString,resolve:e=>e.description},isRepeatable:{type:new A.GraphQLNonNull(c.GraphQLBoolean),resolve:e=>e.isRepeatable},locations:{type:new A.GraphQLNonNull(new A.GraphQLList(new A.GraphQLNonNull(p))),resolve:e=>e.locations},args:{type:new A.GraphQLNonNull(new A.GraphQLList(new A.GraphQLNonNull(h))),args:{includeDeprecated:{type:c.GraphQLBoolean,defaultValue:false}},resolve(e,{includeDeprecated:t}){return t?e.args:e.args.filter((e=>e.deprecationReason==null))}}})});t.__Directive=l;const p=new A.GraphQLEnumType({name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",values:{QUERY:{value:o.DirectiveLocation.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:o.DirectiveLocation.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:o.DirectiveLocation.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:o.DirectiveLocation.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:o.DirectiveLocation.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:o.DirectiveLocation.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:o.DirectiveLocation.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:o.DirectiveLocation.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:o.DirectiveLocation.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:o.DirectiveLocation.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:o.DirectiveLocation.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:o.DirectiveLocation.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:o.DirectiveLocation.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:o.DirectiveLocation.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:o.DirectiveLocation.UNION,description:"Location adjacent to a union definition."},ENUM:{value:o.DirectiveLocation.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:o.DirectiveLocation.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:o.DirectiveLocation.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:o.DirectiveLocation.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}});t.__DirectiveLocation=p;const d=new A.GraphQLObjectType({name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:()=>({kind:{type:new A.GraphQLNonNull(I),resolve(e){if((0,A.isScalarType)(e)){return m.SCALAR}if((0,A.isObjectType)(e)){return m.OBJECT}if((0,A.isInterfaceType)(e)){return m.INTERFACE}if((0,A.isUnionType)(e)){return m.UNION}if((0,A.isEnumType)(e)){return m.ENUM}if((0,A.isInputObjectType)(e)){return m.INPUT_OBJECT}if((0,A.isListType)(e)){return m.LIST}if((0,A.isNonNullType)(e)){return m.NON_NULL}false||(0,s.invariant)(false,`Unexpected type: "${(0,n.inspect)(e)}".`)}},name:{type:c.GraphQLString,resolve:e=>"name"in e?e.name:undefined},description:{type:c.GraphQLString,resolve:e=>"description"in e?e.description:undefined},specifiedByURL:{type:c.GraphQLString,resolve:e=>"specifiedByURL"in e?e.specifiedByURL:undefined},fields:{type:new A.GraphQLList(new A.GraphQLNonNull(g)),args:{includeDeprecated:{type:c.GraphQLBoolean,defaultValue:false}},resolve(e,{includeDeprecated:t}){if((0,A.isObjectType)(e)||(0,A.isInterfaceType)(e)){const r=Object.values(e.getFields());return t?r:r.filter((e=>e.deprecationReason==null))}}},interfaces:{type:new A.GraphQLList(new A.GraphQLNonNull(d)),resolve(e){if((0,A.isObjectType)(e)||(0,A.isInterfaceType)(e)){return e.getInterfaces()}}},possibleTypes:{type:new A.GraphQLList(new A.GraphQLNonNull(d)),resolve(e,t,r,{schema:n}){if((0,A.isAbstractType)(e)){return n.getPossibleTypes(e)}}},enumValues:{type:new A.GraphQLList(new A.GraphQLNonNull(E)),args:{includeDeprecated:{type:c.GraphQLBoolean,defaultValue:false}},resolve(e,{includeDeprecated:t}){if((0,A.isEnumType)(e)){const r=e.getValues();return t?r:r.filter((e=>e.deprecationReason==null))}}},inputFields:{type:new A.GraphQLList(new A.GraphQLNonNull(h)),args:{includeDeprecated:{type:c.GraphQLBoolean,defaultValue:false}},resolve(e,{includeDeprecated:t}){if((0,A.isInputObjectType)(e)){const r=Object.values(e.getFields());return t?r:r.filter((e=>e.deprecationReason==null))}}},ofType:{type:d,resolve:e=>"ofType"in e?e.ofType:undefined},isOneOf:{type:c.GraphQLBoolean,resolve:e=>{if((0,A.isInputObjectType)(e)){return e.isOneOf}}}})});t.__Type=d;const g=new A.GraphQLObjectType({name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:()=>({name:{type:new A.GraphQLNonNull(c.GraphQLString),resolve:e=>e.name},description:{type:c.GraphQLString,resolve:e=>e.description},args:{type:new A.GraphQLNonNull(new A.GraphQLList(new A.GraphQLNonNull(h))),args:{includeDeprecated:{type:c.GraphQLBoolean,defaultValue:false}},resolve(e,{includeDeprecated:t}){return t?e.args:e.args.filter((e=>e.deprecationReason==null))}},type:{type:new A.GraphQLNonNull(d),resolve:e=>e.type},isDeprecated:{type:new A.GraphQLNonNull(c.GraphQLBoolean),resolve:e=>e.deprecationReason!=null},deprecationReason:{type:c.GraphQLString,resolve:e=>e.deprecationReason}})});t.__Field=g;const h=new A.GraphQLObjectType({name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:()=>({name:{type:new A.GraphQLNonNull(c.GraphQLString),resolve:e=>e.name},description:{type:c.GraphQLString,resolve:e=>e.description},type:{type:new A.GraphQLNonNull(d),resolve:e=>e.type},defaultValue:{type:c.GraphQLString,description:"A GraphQL-formatted string representing the default value for this input value.",resolve(e){const{type:t,defaultValue:r}=e;const n=(0,a.astFromValue)(r,t);return n?(0,i.print)(n):null}},isDeprecated:{type:new A.GraphQLNonNull(c.GraphQLBoolean),resolve:e=>e.deprecationReason!=null},deprecationReason:{type:c.GraphQLString,resolve:e=>e.deprecationReason}})});t.__InputValue=h;const E=new A.GraphQLObjectType({name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:()=>({name:{type:new A.GraphQLNonNull(c.GraphQLString),resolve:e=>e.name},description:{type:c.GraphQLString,resolve:e=>e.description},isDeprecated:{type:new A.GraphQLNonNull(c.GraphQLBoolean),resolve:e=>e.deprecationReason!=null},deprecationReason:{type:c.GraphQLString,resolve:e=>e.deprecationReason}})});t.__EnumValue=E;var m;t.TypeKind=m;(function(e){e["SCALAR"]="SCALAR";e["OBJECT"]="OBJECT";e["INTERFACE"]="INTERFACE";e["UNION"]="UNION";e["ENUM"]="ENUM";e["INPUT_OBJECT"]="INPUT_OBJECT";e["LIST"]="LIST";e["NON_NULL"]="NON_NULL"})(m||(t.TypeKind=m={}));const I=new A.GraphQLEnumType({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:m.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:m.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:m.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:m.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:m.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:m.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:m.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:m.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}});t.__TypeKind=I;const y={name:"__schema",type:new A.GraphQLNonNull(u),description:"Access the current type schema of this server.",args:[],resolve:(e,t,r,{schema:n})=>n,deprecationReason:undefined,extensions:Object.create(null),astNode:undefined};t.SchemaMetaFieldDef=y;const C={name:"__type",type:d,description:"Request the type information of a single type.",args:[{name:"name",description:undefined,type:new A.GraphQLNonNull(c.GraphQLString),defaultValue:undefined,deprecationReason:undefined,extensions:Object.create(null),astNode:undefined}],resolve:(e,{name:t},r,{schema:n})=>n.getType(t),deprecationReason:undefined,extensions:Object.create(null),astNode:undefined};t.TypeMetaFieldDef=C;const Q={name:"__typename",type:new A.GraphQLNonNull(c.GraphQLString),description:"The name of the current Object type at runtime.",args:[],resolve:(e,t,r,{parentType:n})=>n.name,deprecationReason:undefined,extensions:Object.create(null),astNode:undefined};t.TypeNameMetaFieldDef=Q;const B=Object.freeze([u,l,p,d,g,h,E,I]);t.introspectionTypes=B;function isIntrospectionType(e){return B.some((({name:t})=>e.name===t))}},3571:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.GraphQLString=t.GraphQLInt=t.GraphQLID=t.GraphQLFloat=t.GraphQLBoolean=t.GRAPHQL_MIN_INT=t.GRAPHQL_MAX_INT=void 0;t.isSpecifiedScalarType=isSpecifiedScalarType;t.specifiedScalarTypes=void 0;var n=r(5742);var s=r(892);var o=r(5939);var i=r(1123);var a=r(9936);var A=r(4169);const c=2147483647;t.GRAPHQL_MAX_INT=c;const u=-2147483648;t.GRAPHQL_MIN_INT=u;const l=new A.GraphQLScalarType({name:"Int",description:"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",serialize(e){const t=serializeObject(e);if(typeof t==="boolean"){return t?1:0}let r=t;if(typeof t==="string"&&t!==""){r=Number(t)}if(typeof r!=="number"||!Number.isInteger(r)){throw new o.GraphQLError(`Int cannot represent non-integer value: ${(0,n.inspect)(t)}`)}if(r>c||rc||ec||te.name===t))}function serializeObject(e){if((0,s.isObjectLike)(e)){if(typeof e.valueOf==="function"){const t=e.valueOf();if(!(0,s.isObjectLike)(t)){return t}}if(typeof e.toJSON==="function"){return e.toJSON()}}return e}},9299:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.GraphQLSchema=void 0;t.assertSchema=assertSchema;t.isSchema=isSchema;var n=r(5383);var s=r(5742);var o=r(5914);var i=r(892);var a=r(7104);var A=r(2740);var c=r(4169);var u=r(1058);var l=r(317);function isSchema(e){return(0,o.instanceOf)(e,GraphQLSchema)}function assertSchema(e){if(!isSchema(e)){throw new Error(`Expected ${(0,s.inspect)(e)} to be a GraphQL schema.`)}return e}class GraphQLSchema{constructor(e){var t,r;this.__validationErrors=e.assumeValid===true?[]:undefined;(0,i.isObjectLike)(e)||(0,n.devAssert)(false,"Must provide configuration object.");!e.types||Array.isArray(e.types)||(0,n.devAssert)(false,`"types" must be Array if provided but got: ${(0,s.inspect)(e.types)}.`);!e.directives||Array.isArray(e.directives)||(0,n.devAssert)(false,'"directives" must be Array if provided but got: '+`${(0,s.inspect)(e.directives)}.`);this.description=e.description;this.extensions=(0,a.toObjMap)(e.extensions);this.astNode=e.astNode;this.extensionASTNodes=(t=e.extensionASTNodes)!==null&&t!==void 0?t:[];this._queryType=e.query;this._mutationType=e.mutation;this._subscriptionType=e.subscription;this._directives=(r=e.directives)!==null&&r!==void 0?r:u.specifiedDirectives;const o=new Set(e.types);if(e.types!=null){for(const t of e.types){o.delete(t);collectReferencedTypes(t,o)}}if(this._queryType!=null){collectReferencedTypes(this._queryType,o)}if(this._mutationType!=null){collectReferencedTypes(this._mutationType,o)}if(this._subscriptionType!=null){collectReferencedTypes(this._subscriptionType,o)}for(const e of this._directives){if((0,u.isDirective)(e)){for(const t of e.args){collectReferencedTypes(t.type,o)}}}collectReferencedTypes(l.__Schema,o);this._typeMap=Object.create(null);this._subTypeMap=Object.create(null);this._implementationsMap=Object.create(null);for(const e of o){if(e==null){continue}const t=e.name;t||(0,n.devAssert)(false,"One of the provided types for building the Schema is missing a name.");if(this._typeMap[t]!==undefined){throw new Error(`Schema must contain uniquely named types but contains multiple types named "${t}".`)}this._typeMap[t]=e;if((0,c.isInterfaceType)(e)){for(const t of e.getInterfaces()){if((0,c.isInterfaceType)(t)){let r=this._implementationsMap[t.name];if(r===undefined){r=this._implementationsMap[t.name]={objects:[],interfaces:[]}}r.interfaces.push(e)}}}else if((0,c.isObjectType)(e)){for(const t of e.getInterfaces()){if((0,c.isInterfaceType)(t)){let r=this._implementationsMap[t.name];if(r===undefined){r=this._implementationsMap[t.name]={objects:[],interfaces:[]}}r.objects.push(e)}}}}}get[Symbol.toStringTag](){return"GraphQLSchema"}getQueryType(){return this._queryType}getMutationType(){return this._mutationType}getSubscriptionType(){return this._subscriptionType}getRootType(e){switch(e){case A.OperationTypeNode.QUERY:return this.getQueryType();case A.OperationTypeNode.MUTATION:return this.getMutationType();case A.OperationTypeNode.SUBSCRIPTION:return this.getSubscriptionType()}}getTypeMap(){return this._typeMap}getType(e){return this.getTypeMap()[e]}getPossibleTypes(e){return(0,c.isUnionType)(e)?e.getTypes():this.getImplementations(e).objects}getImplementations(e){const t=this._implementationsMap[e.name];return t!==null&&t!==void 0?t:{objects:[],interfaces:[]}}isSubType(e,t){let r=this._subTypeMap[e.name];if(r===undefined){r=Object.create(null);if((0,c.isUnionType)(e)){for(const t of e.getTypes()){r[t.name]=true}}else{const t=this.getImplementations(e);for(const e of t.objects){r[e.name]=true}for(const e of t.interfaces){r[e.name]=true}}this._subTypeMap[e.name]=r}return r[t.name]!==undefined}getDirectives(){return this._directives}getDirective(e){return this.getDirectives().find((t=>t.name===e))}toConfig(){return{description:this.description,query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:Object.values(this.getTypeMap()),directives:this.getDirectives(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,assumeValid:this.__validationErrors!==undefined}}}t.GraphQLSchema=GraphQLSchema;function collectReferencedTypes(e,t){const r=(0,c.getNamedType)(e);if(!t.has(r)){t.add(r);if((0,c.isUnionType)(r)){for(const e of r.getTypes()){collectReferencedTypes(e,t)}}else if((0,c.isObjectType)(r)||(0,c.isInterfaceType)(r)){for(const e of r.getInterfaces()){collectReferencedTypes(e,t)}for(const e of Object.values(r.getFields())){collectReferencedTypes(e.type,t);for(const r of e.args){collectReferencedTypes(r.type,t)}}}else if((0,c.isInputObjectType)(r)){for(const e of Object.values(r.getFields())){collectReferencedTypes(e.type,t)}}}return t}},3902:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.assertValidSchema=assertValidSchema;t.validateSchema=validateSchema;var n=r(5742);var s=r(5939);var o=r(2740);var i=r(6539);var a=r(4169);var A=r(1058);var c=r(317);var u=r(9299);function validateSchema(e){(0,u.assertSchema)(e);if(e.__validationErrors){return e.__validationErrors}const t=new SchemaValidationContext(e);validateRootTypes(t);validateDirectives(t);validateTypes(t);const r=t.getErrors();e.__validationErrors=r;return r}function assertValidSchema(e){const t=validateSchema(e);if(t.length!==0){throw new Error(t.map((e=>e.message)).join("\n\n"))}}class SchemaValidationContext{constructor(e){this._errors=[];this.schema=e}reportError(e,t){const r=Array.isArray(t)?t.filter(Boolean):t;this._errors.push(new s.GraphQLError(e,{nodes:r}))}getErrors(){return this._errors}}function validateRootTypes(e){const t=e.schema;const r=t.getQueryType();if(!r){e.reportError("Query root type must be provided.",t.astNode)}else if(!(0,a.isObjectType)(r)){var s;e.reportError(`Query root type must be Object type, it cannot be ${(0,n.inspect)(r)}.`,(s=getOperationTypeNode(t,o.OperationTypeNode.QUERY))!==null&&s!==void 0?s:r.astNode)}const i=t.getMutationType();if(i&&!(0,a.isObjectType)(i)){var A;e.reportError("Mutation root type must be Object type if provided, it cannot be "+`${(0,n.inspect)(i)}.`,(A=getOperationTypeNode(t,o.OperationTypeNode.MUTATION))!==null&&A!==void 0?A:i.astNode)}const c=t.getSubscriptionType();if(c&&!(0,a.isObjectType)(c)){var u;e.reportError("Subscription root type must be Object type if provided, it cannot be "+`${(0,n.inspect)(c)}.`,(u=getOperationTypeNode(t,o.OperationTypeNode.SUBSCRIPTION))!==null&&u!==void 0?u:c.astNode)}}function getOperationTypeNode(e,t){var r;return(r=[e.astNode,...e.extensionASTNodes].flatMap((e=>{var t;return(t=e===null||e===void 0?void 0:e.operationTypes)!==null&&t!==void 0?t:[]})).find((e=>e.operation===t)))===null||r===void 0?void 0:r.type}function validateDirectives(e){for(const r of e.schema.getDirectives()){if(!(0,A.isDirective)(r)){e.reportError(`Expected directive but got: ${(0,n.inspect)(r)}.`,r===null||r===void 0?void 0:r.astNode);continue}validateName(e,r);for(const s of r.args){validateName(e,s);if(!(0,a.isInputType)(s.type)){e.reportError(`The type of @${r.name}(${s.name}:) must be Input Type `+`but got: ${(0,n.inspect)(s.type)}.`,s.astNode)}if((0,a.isRequiredArgument)(s)&&s.deprecationReason!=null){var t;e.reportError(`Required argument @${r.name}(${s.name}:) cannot be deprecated.`,[getDeprecatedDirectiveNode(s.astNode),(t=s.astNode)===null||t===void 0?void 0:t.type])}}}}function validateName(e,t){if(t.name.startsWith("__")){e.reportError(`Name "${t.name}" must not begin with "__", which is reserved by GraphQL introspection.`,t.astNode)}}function validateTypes(e){const t=createInputObjectCircularRefsValidator(e);const r=e.schema.getTypeMap();for(const s of Object.values(r)){if(!(0,a.isNamedType)(s)){e.reportError(`Expected GraphQL named type but got: ${(0,n.inspect)(s)}.`,s.astNode);continue}if(!(0,c.isIntrospectionType)(s)){validateName(e,s)}if((0,a.isObjectType)(s)){validateFields(e,s);validateInterfaces(e,s)}else if((0,a.isInterfaceType)(s)){validateFields(e,s);validateInterfaces(e,s)}else if((0,a.isUnionType)(s)){validateUnionMembers(e,s)}else if((0,a.isEnumType)(s)){validateEnumValues(e,s)}else if((0,a.isInputObjectType)(s)){validateInputFields(e,s);t(s)}}}function validateFields(e,t){const r=Object.values(t.getFields());if(r.length===0){e.reportError(`Type ${t.name} must define one or more fields.`,[t.astNode,...t.extensionASTNodes])}for(const A of r){validateName(e,A);if(!(0,a.isOutputType)(A.type)){var s;e.reportError(`The type of ${t.name}.${A.name} must be Output Type `+`but got: ${(0,n.inspect)(A.type)}.`,(s=A.astNode)===null||s===void 0?void 0:s.type)}for(const r of A.args){const s=r.name;validateName(e,r);if(!(0,a.isInputType)(r.type)){var o;e.reportError(`The type of ${t.name}.${A.name}(${s}:) must be Input `+`Type but got: ${(0,n.inspect)(r.type)}.`,(o=r.astNode)===null||o===void 0?void 0:o.type)}if((0,a.isRequiredArgument)(r)&&r.deprecationReason!=null){var i;e.reportError(`Required argument ${t.name}.${A.name}(${s}:) cannot be deprecated.`,[getDeprecatedDirectiveNode(r.astNode),(i=r.astNode)===null||i===void 0?void 0:i.type])}}}}function validateInterfaces(e,t){const r=Object.create(null);for(const s of t.getInterfaces()){if(!(0,a.isInterfaceType)(s)){e.reportError(`Type ${(0,n.inspect)(t)} must only implement Interface types, `+`it cannot implement ${(0,n.inspect)(s)}.`,getAllImplementsInterfaceNodes(t,s));continue}if(t===s){e.reportError(`Type ${t.name} cannot implement itself because it would create a circular reference.`,getAllImplementsInterfaceNodes(t,s));continue}if(r[s.name]){e.reportError(`Type ${t.name} can only implement ${s.name} once.`,getAllImplementsInterfaceNodes(t,s));continue}r[s.name]=true;validateTypeImplementsAncestors(e,t,s);validateTypeImplementsInterface(e,t,s)}}function validateTypeImplementsInterface(e,t,r){const s=t.getFields();for(const l of Object.values(r.getFields())){const p=l.name;const d=s[p];if(!d){e.reportError(`Interface field ${r.name}.${p} expected but ${t.name} does not provide it.`,[l.astNode,t.astNode,...t.extensionASTNodes]);continue}if(!(0,i.isTypeSubTypeOf)(e.schema,d.type,l.type)){var o,A;e.reportError(`Interface field ${r.name}.${p} expects type `+`${(0,n.inspect)(l.type)} but ${t.name}.${p} `+`is type ${(0,n.inspect)(d.type)}.`,[(o=l.astNode)===null||o===void 0?void 0:o.type,(A=d.astNode)===null||A===void 0?void 0:A.type])}for(const s of l.args){const o=s.name;const a=d.args.find((e=>e.name===o));if(!a){e.reportError(`Interface field argument ${r.name}.${p}(${o}:) expected but ${t.name}.${p} does not provide it.`,[s.astNode,d.astNode]);continue}if(!(0,i.isEqualType)(s.type,a.type)){var c,u;e.reportError(`Interface field argument ${r.name}.${p}(${o}:) `+`expects type ${(0,n.inspect)(s.type)} but `+`${t.name}.${p}(${o}:) is type `+`${(0,n.inspect)(a.type)}.`,[(c=s.astNode)===null||c===void 0?void 0:c.type,(u=a.astNode)===null||u===void 0?void 0:u.type])}}for(const n of d.args){const s=n.name;const o=l.args.find((e=>e.name===s));if(!o&&(0,a.isRequiredArgument)(n)){e.reportError(`Object field ${t.name}.${p} includes required argument ${s} that is missing from the Interface field ${r.name}.${p}.`,[n.astNode,l.astNode])}}}}function validateTypeImplementsAncestors(e,t,r){const n=t.getInterfaces();for(const s of r.getInterfaces()){if(!n.includes(s)){e.reportError(s===t?`Type ${t.name} cannot implement ${r.name} because it would create a circular reference.`:`Type ${t.name} must implement ${s.name} because it is implemented by ${r.name}.`,[...getAllImplementsInterfaceNodes(r,s),...getAllImplementsInterfaceNodes(t,r)])}}}function validateUnionMembers(e,t){const r=t.getTypes();if(r.length===0){e.reportError(`Union type ${t.name} must define one or more member types.`,[t.astNode,...t.extensionASTNodes])}const s=Object.create(null);for(const o of r){if(s[o.name]){e.reportError(`Union type ${t.name} can only include type ${o.name} once.`,getUnionMemberTypeNodes(t,o.name));continue}s[o.name]=true;if(!(0,a.isObjectType)(o)){e.reportError(`Union type ${t.name} can only include Object types, `+`it cannot include ${(0,n.inspect)(o)}.`,getUnionMemberTypeNodes(t,String(o)))}}}function validateEnumValues(e,t){const r=t.getValues();if(r.length===0){e.reportError(`Enum type ${t.name} must define one or more values.`,[t.astNode,...t.extensionASTNodes])}for(const t of r){validateName(e,t)}}function validateInputFields(e,t){const r=Object.values(t.getFields());if(r.length===0){e.reportError(`Input Object type ${t.name} must define one or more fields.`,[t.astNode,...t.extensionASTNodes])}for(const i of r){validateName(e,i);if(!(0,a.isInputType)(i.type)){var s;e.reportError(`The type of ${t.name}.${i.name} must be Input Type `+`but got: ${(0,n.inspect)(i.type)}.`,(s=i.astNode)===null||s===void 0?void 0:s.type)}if((0,a.isRequiredInputField)(i)&&i.deprecationReason!=null){var o;e.reportError(`Required input field ${t.name}.${i.name} cannot be deprecated.`,[getDeprecatedDirectiveNode(i.astNode),(o=i.astNode)===null||o===void 0?void 0:o.type])}if(t.isOneOf){validateOneOfInputObjectField(t,i,e)}}}function validateOneOfInputObjectField(e,t,r){if((0,a.isNonNullType)(t.type)){var n;r.reportError(`OneOf input field ${e.name}.${t.name} must be nullable.`,(n=t.astNode)===null||n===void 0?void 0:n.type)}if(t.defaultValue!==undefined){r.reportError(`OneOf input field ${e.name}.${t.name} cannot have a default value.`,t.astNode)}}function createInputObjectCircularRefsValidator(e){const t=Object.create(null);const r=[];const n=Object.create(null);return detectCycleRecursive;function detectCycleRecursive(s){if(t[s.name]){return}t[s.name]=true;n[s.name]=r.length;const o=Object.values(s.getFields());for(const t of o){if((0,a.isNonNullType)(t.type)&&(0,a.isInputObjectType)(t.type.ofType)){const s=t.type.ofType;const o=n[s.name];r.push(t);if(o===undefined){detectCycleRecursive(s)}else{const t=r.slice(o);const n=t.map((e=>e.name)).join(".");e.reportError(`Cannot reference Input Object "${s.name}" within itself through a series of non-null fields: "${n}".`,t.map((e=>e.astNode)))}r.pop()}}n[s.name]=undefined}}function getAllImplementsInterfaceNodes(e,t){const{astNode:r,extensionASTNodes:n}=e;const s=r!=null?[r,...n]:n;return s.flatMap((e=>{var t;return(t=e.interfaces)!==null&&t!==void 0?t:[]})).filter((e=>e.name.value===t.name))}function getUnionMemberTypeNodes(e,t){const{astNode:r,extensionASTNodes:n}=e;const s=r!=null?[r,...n]:n;return s.flatMap((e=>{var t;return(t=e.types)!==null&&t!==void 0?t:[]})).filter((e=>e.name.value===t))}function getDeprecatedDirectiveNode(e){var t;return e===null||e===void 0?void 0:(t=e.directives)===null||t===void 0?void 0:t.find((e=>e.name.value===A.GraphQLDeprecatedDirective.name))}},5e3:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.TypeInfo=void 0;t.visitWithTypeInfo=visitWithTypeInfo;var n=r(2740);var s=r(1123);var o=r(638);var i=r(4169);var a=r(317);var A=r(6738);class TypeInfo{constructor(e,t,r){this._schema=e;this._typeStack=[];this._parentTypeStack=[];this._inputTypeStack=[];this._fieldDefStack=[];this._defaultValueStack=[];this._directive=null;this._argument=null;this._enumValue=null;this._getFieldDef=r!==null&&r!==void 0?r:getFieldDef;if(t){if((0,i.isInputType)(t)){this._inputTypeStack.push(t)}if((0,i.isCompositeType)(t)){this._parentTypeStack.push(t)}if((0,i.isOutputType)(t)){this._typeStack.push(t)}}}get[Symbol.toStringTag](){return"TypeInfo"}getType(){if(this._typeStack.length>0){return this._typeStack[this._typeStack.length-1]}}getParentType(){if(this._parentTypeStack.length>0){return this._parentTypeStack[this._parentTypeStack.length-1]}}getInputType(){if(this._inputTypeStack.length>0){return this._inputTypeStack[this._inputTypeStack.length-1]}}getParentInputType(){if(this._inputTypeStack.length>1){return this._inputTypeStack[this._inputTypeStack.length-2]}}getFieldDef(){if(this._fieldDefStack.length>0){return this._fieldDefStack[this._fieldDefStack.length-1]}}getDefaultValue(){if(this._defaultValueStack.length>0){return this._defaultValueStack[this._defaultValueStack.length-1]}}getDirective(){return this._directive}getArgument(){return this._argument}getEnumValue(){return this._enumValue}enter(e){const t=this._schema;switch(e.kind){case s.Kind.SELECTION_SET:{const e=(0,i.getNamedType)(this.getType());this._parentTypeStack.push((0,i.isCompositeType)(e)?e:undefined);break}case s.Kind.FIELD:{const r=this.getParentType();let n;let s;if(r){n=this._getFieldDef(t,r,e);if(n){s=n.type}}this._fieldDefStack.push(n);this._typeStack.push((0,i.isOutputType)(s)?s:undefined);break}case s.Kind.DIRECTIVE:this._directive=t.getDirective(e.name.value);break;case s.Kind.OPERATION_DEFINITION:{const r=t.getRootType(e.operation);this._typeStack.push((0,i.isObjectType)(r)?r:undefined);break}case s.Kind.INLINE_FRAGMENT:case s.Kind.FRAGMENT_DEFINITION:{const r=e.typeCondition;const n=r?(0,A.typeFromAST)(t,r):(0,i.getNamedType)(this.getType());this._typeStack.push((0,i.isOutputType)(n)?n:undefined);break}case s.Kind.VARIABLE_DEFINITION:{const r=(0,A.typeFromAST)(t,e.type);this._inputTypeStack.push((0,i.isInputType)(r)?r:undefined);break}case s.Kind.ARGUMENT:{var r;let t;let n;const s=(r=this.getDirective())!==null&&r!==void 0?r:this.getFieldDef();if(s){t=s.args.find((t=>t.name===e.name.value));if(t){n=t.type}}this._argument=t;this._defaultValueStack.push(t?t.defaultValue:undefined);this._inputTypeStack.push((0,i.isInputType)(n)?n:undefined);break}case s.Kind.LIST:{const e=(0,i.getNullableType)(this.getInputType());const t=(0,i.isListType)(e)?e.ofType:e;this._defaultValueStack.push(undefined);this._inputTypeStack.push((0,i.isInputType)(t)?t:undefined);break}case s.Kind.OBJECT_FIELD:{const t=(0,i.getNamedType)(this.getInputType());let r;let n;if((0,i.isInputObjectType)(t)){n=t.getFields()[e.name.value];if(n){r=n.type}}this._defaultValueStack.push(n?n.defaultValue:undefined);this._inputTypeStack.push((0,i.isInputType)(r)?r:undefined);break}case s.Kind.ENUM:{const t=(0,i.getNamedType)(this.getInputType());let r;if((0,i.isEnumType)(t)){r=t.getValue(e.value)}this._enumValue=r;break}default:}}leave(e){switch(e.kind){case s.Kind.SELECTION_SET:this._parentTypeStack.pop();break;case s.Kind.FIELD:this._fieldDefStack.pop();this._typeStack.pop();break;case s.Kind.DIRECTIVE:this._directive=null;break;case s.Kind.OPERATION_DEFINITION:case s.Kind.INLINE_FRAGMENT:case s.Kind.FRAGMENT_DEFINITION:this._typeStack.pop();break;case s.Kind.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case s.Kind.ARGUMENT:this._argument=null;this._defaultValueStack.pop();this._inputTypeStack.pop();break;case s.Kind.LIST:case s.Kind.OBJECT_FIELD:this._defaultValueStack.pop();this._inputTypeStack.pop();break;case s.Kind.ENUM:this._enumValue=null;break;default:}}}t.TypeInfo=TypeInfo;function getFieldDef(e,t,r){const n=r.name.value;if(n===a.SchemaMetaFieldDef.name&&e.getQueryType()===t){return a.SchemaMetaFieldDef}if(n===a.TypeMetaFieldDef.name&&e.getQueryType()===t){return a.TypeMetaFieldDef}if(n===a.TypeNameMetaFieldDef.name&&(0,i.isCompositeType)(t)){return a.TypeNameMetaFieldDef}if((0,i.isObjectType)(t)||(0,i.isInterfaceType)(t)){return t.getFields()[n]}}function visitWithTypeInfo(e,t){return{enter(...r){const s=r[0];e.enter(s);const i=(0,o.getEnterLeaveForKind)(t,s.kind).enter;if(i){const o=i.apply(t,r);if(o!==undefined){e.leave(s);if((0,n.isNode)(o)){e.enter(o)}}return o}},leave(...r){const n=r[0];const s=(0,o.getEnterLeaveForKind)(t,n.kind).leave;let i;if(s){i=s.apply(t,r)}e.leave(n);return i}}}},873:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.assertValidName=assertValidName;t.isValidNameError=isValidNameError;var n=r(5383);var s=r(5939);var o=r(8337);function assertValidName(e){const t=isValidNameError(e);if(t){throw t}return e}function isValidNameError(e){typeof e==="string"||(0,n.devAssert)(false,"Expected name to be a string.");if(e.startsWith("__")){return new s.GraphQLError(`Name "${e}" must not begin with "__", which is reserved by GraphQL introspection.`)}try{(0,o.assertName)(e)}catch(e){return e}}},8893:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.astFromValue=astFromValue;var n=r(5742);var s=r(3650);var o=r(7341);var i=r(892);var a=r(1123);var A=r(4169);var c=r(3571);function astFromValue(e,t){if((0,A.isNonNullType)(t)){const r=astFromValue(e,t.ofType);if((r===null||r===void 0?void 0:r.kind)===a.Kind.NULL){return null}return r}if(e===null){return{kind:a.Kind.NULL}}if(e===undefined){return null}if((0,A.isListType)(t)){const r=t.ofType;if((0,o.isIterableObject)(e)){const t=[];for(const n of e){const e=astFromValue(n,r);if(e!=null){t.push(e)}}return{kind:a.Kind.LIST,values:t}}return astFromValue(e,r)}if((0,A.isInputObjectType)(t)){if(!(0,i.isObjectLike)(e)){return null}const r=[];for(const n of Object.values(t.getFields())){const t=astFromValue(e[n.name],n.type);if(t){r.push({kind:a.Kind.OBJECT_FIELD,name:{kind:a.Kind.NAME,value:n.name},value:t})}}return{kind:a.Kind.OBJECT,fields:r}}if((0,A.isLeafType)(t)){const r=t.serialize(e);if(r==null){return null}if(typeof r==="boolean"){return{kind:a.Kind.BOOLEAN,value:r}}if(typeof r==="number"&&Number.isFinite(r)){const e=String(r);return u.test(e)?{kind:a.Kind.INT,value:e}:{kind:a.Kind.FLOAT,value:e}}if(typeof r==="string"){if((0,A.isEnumType)(t)){return{kind:a.Kind.ENUM,value:r}}if(t===c.GraphQLID&&u.test(r)){return{kind:a.Kind.INT,value:r}}return{kind:a.Kind.STRING,value:r}}throw new TypeError(`Cannot convert value to AST: ${(0,n.inspect)(r)}.`)}false||(0,s.invariant)(false,"Unexpected input type: "+(0,n.inspect)(t))}const u=/^-?(?:0|[1-9][0-9]*)$/},9115:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.buildASTSchema=buildASTSchema;t.buildSchema=buildSchema;var n=r(5383);var s=r(1123);var o=r(4929);var i=r(1058);var a=r(9299);var A=r(7063);var c=r(5487);function buildASTSchema(e,t){e!=null&&e.kind===s.Kind.DOCUMENT||(0,n.devAssert)(false,"Must provide valid Document AST.");if((t===null||t===void 0?void 0:t.assumeValid)!==true&&(t===null||t===void 0?void 0:t.assumeValidSDL)!==true){(0,A.assertValidSDL)(e)}const r={description:undefined,types:[],directives:[],extensions:Object.create(null),extensionASTNodes:[],assumeValid:false};const o=(0,c.extendSchemaImpl)(r,e,t);if(o.astNode==null){for(const e of o.types){switch(e.name){case"Query":o.query=e;break;case"Mutation":o.mutation=e;break;case"Subscription":o.subscription=e;break}}}const u=[...o.directives,...i.specifiedDirectives.filter((e=>o.directives.every((t=>t.name!==e.name))))];return new a.GraphQLSchema({...o,directives:u})}function buildSchema(e,t){const r=(0,o.parse)(e,{noLocation:t===null||t===void 0?void 0:t.noLocation,allowLegacyFragmentVariables:t===null||t===void 0?void 0:t.allowLegacyFragmentVariables});return buildASTSchema(r,{assumeValidSDL:t===null||t===void 0?void 0:t.assumeValidSDL,assumeValid:t===null||t===void 0?void 0:t.assumeValid})}},6954:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.buildClientSchema=buildClientSchema;var n=r(5383);var s=r(5742);var o=r(892);var i=r(3166);var a=r(4929);var A=r(4169);var c=r(1058);var u=r(317);var l=r(3571);var p=r(9299);var d=r(6495);function buildClientSchema(e,t){(0,o.isObjectLike)(e)&&(0,o.isObjectLike)(e.__schema)||(0,n.devAssert)(false,`Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: ${(0,s.inspect)(e)}.`);const r=e.__schema;const g=(0,i.keyValMap)(r.types,(e=>e.name),(e=>buildType(e)));for(const e of[...l.specifiedScalarTypes,...u.introspectionTypes]){if(g[e.name]){g[e.name]=e}}const h=r.queryType?getObjectType(r.queryType):null;const E=r.mutationType?getObjectType(r.mutationType):null;const m=r.subscriptionType?getObjectType(r.subscriptionType):null;const I=r.directives?r.directives.map(buildDirective):[];return new p.GraphQLSchema({description:r.description,query:h,mutation:E,subscription:m,types:Object.values(g),directives:I,assumeValid:t===null||t===void 0?void 0:t.assumeValid});function getType(e){if(e.kind===u.TypeKind.LIST){const t=e.ofType;if(!t){throw new Error("Decorated type deeper than introspection query.")}return new A.GraphQLList(getType(t))}if(e.kind===u.TypeKind.NON_NULL){const t=e.ofType;if(!t){throw new Error("Decorated type deeper than introspection query.")}const r=getType(t);return new A.GraphQLNonNull((0,A.assertNullableType)(r))}return getNamedType(e)}function getNamedType(e){const t=e.name;if(!t){throw new Error(`Unknown type reference: ${(0,s.inspect)(e)}.`)}const r=g[t];if(!r){throw new Error(`Invalid or incomplete schema, unknown type: ${t}. Ensure that a full introspection query is used in order to build a client schema.`)}return r}function getObjectType(e){return(0,A.assertObjectType)(getNamedType(e))}function getInterfaceType(e){return(0,A.assertInterfaceType)(getNamedType(e))}function buildType(e){if(e!=null&&e.name!=null&&e.kind!=null){switch(e.kind){case u.TypeKind.SCALAR:return buildScalarDef(e);case u.TypeKind.OBJECT:return buildObjectDef(e);case u.TypeKind.INTERFACE:return buildInterfaceDef(e);case u.TypeKind.UNION:return buildUnionDef(e);case u.TypeKind.ENUM:return buildEnumDef(e);case u.TypeKind.INPUT_OBJECT:return buildInputObjectDef(e)}}const t=(0,s.inspect)(e);throw new Error(`Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ${t}.`)}function buildScalarDef(e){return new A.GraphQLScalarType({name:e.name,description:e.description,specifiedByURL:e.specifiedByURL})}function buildImplementationsList(e){if(e.interfaces===null&&e.kind===u.TypeKind.INTERFACE){return[]}if(!e.interfaces){const t=(0,s.inspect)(e);throw new Error(`Introspection result missing interfaces: ${t}.`)}return e.interfaces.map(getInterfaceType)}function buildObjectDef(e){return new A.GraphQLObjectType({name:e.name,description:e.description,interfaces:()=>buildImplementationsList(e),fields:()=>buildFieldDefMap(e)})}function buildInterfaceDef(e){return new A.GraphQLInterfaceType({name:e.name,description:e.description,interfaces:()=>buildImplementationsList(e),fields:()=>buildFieldDefMap(e)})}function buildUnionDef(e){if(!e.possibleTypes){const t=(0,s.inspect)(e);throw new Error(`Introspection result missing possibleTypes: ${t}.`)}return new A.GraphQLUnionType({name:e.name,description:e.description,types:()=>e.possibleTypes.map(getObjectType)})}function buildEnumDef(e){if(!e.enumValues){const t=(0,s.inspect)(e);throw new Error(`Introspection result missing enumValues: ${t}.`)}return new A.GraphQLEnumType({name:e.name,description:e.description,values:(0,i.keyValMap)(e.enumValues,(e=>e.name),(e=>({description:e.description,deprecationReason:e.deprecationReason})))})}function buildInputObjectDef(e){if(!e.inputFields){const t=(0,s.inspect)(e);throw new Error(`Introspection result missing inputFields: ${t}.`)}return new A.GraphQLInputObjectType({name:e.name,description:e.description,fields:()=>buildInputValueDefMap(e.inputFields),isOneOf:e.isOneOf})}function buildFieldDefMap(e){if(!e.fields){throw new Error(`Introspection result missing fields: ${(0,s.inspect)(e)}.`)}return(0,i.keyValMap)(e.fields,(e=>e.name),buildField)}function buildField(e){const t=getType(e.type);if(!(0,A.isOutputType)(t)){const e=(0,s.inspect)(t);throw new Error(`Introspection must provide output type for fields, but received: ${e}.`)}if(!e.args){const t=(0,s.inspect)(e);throw new Error(`Introspection result missing field args: ${t}.`)}return{description:e.description,deprecationReason:e.deprecationReason,type:t,args:buildInputValueDefMap(e.args)}}function buildInputValueDefMap(e){return(0,i.keyValMap)(e,(e=>e.name),buildInputValue)}function buildInputValue(e){const t=getType(e.type);if(!(0,A.isInputType)(t)){const e=(0,s.inspect)(t);throw new Error(`Introspection must provide input type for arguments, but received: ${e}.`)}const r=e.defaultValue!=null?(0,d.valueFromAST)((0,a.parseValue)(e.defaultValue),t):undefined;return{description:e.description,type:t,defaultValue:r,deprecationReason:e.deprecationReason}}function buildDirective(e){if(!e.args){const t=(0,s.inspect)(e);throw new Error(`Introspection result missing directive args: ${t}.`)}if(!e.locations){const t=(0,s.inspect)(e);throw new Error(`Introspection result missing directive locations: ${t}.`)}return new c.GraphQLDirective({name:e.name,description:e.description,isRepeatable:e.isRepeatable,locations:e.locations.slice(),args:buildInputValueDefMap(e.args)})}}},7572:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.coerceInputValue=coerceInputValue;var n=r(1353);var s=r(5742);var o=r(3650);var i=r(7341);var a=r(892);var A=r(3155);var c=r(8373);var u=r(7904);var l=r(5939);var p=r(4169);function coerceInputValue(e,t,r=defaultOnError){return coerceInputValueImpl(e,t,r,undefined)}function defaultOnError(e,t,r){let n="Invalid value "+(0,s.inspect)(t);if(e.length>0){n+=` at "value${(0,c.printPathArray)(e)}"`}r.message=n+": "+r.message;throw r}function coerceInputValueImpl(e,t,r,c){if((0,p.isNonNullType)(t)){if(e!=null){return coerceInputValueImpl(e,t.ofType,r,c)}r((0,A.pathToArray)(c),e,new l.GraphQLError(`Expected non-nullable type "${(0,s.inspect)(t)}" not to be null.`));return}if(e==null){return null}if((0,p.isListType)(t)){const n=t.ofType;if((0,i.isIterableObject)(e)){return Array.from(e,((e,t)=>{const s=(0,A.addPath)(c,t,undefined);return coerceInputValueImpl(e,n,r,s)}))}return[coerceInputValueImpl(e,n,r,c)]}if((0,p.isInputObjectType)(t)){if(!(0,a.isObjectLike)(e)){r((0,A.pathToArray)(c),e,new l.GraphQLError(`Expected type "${t.name}" to be an object.`));return}const o={};const i=t.getFields();for(const n of Object.values(i)){const i=e[n.name];if(i===undefined){if(n.defaultValue!==undefined){o[n.name]=n.defaultValue}else if((0,p.isNonNullType)(n.type)){const t=(0,s.inspect)(n.type);r((0,A.pathToArray)(c),e,new l.GraphQLError(`Field "${n.name}" of required type "${t}" was not provided.`))}continue}o[n.name]=coerceInputValueImpl(i,n.type,r,(0,A.addPath)(c,n.name,t.name))}for(const s of Object.keys(e)){if(!i[s]){const o=(0,u.suggestionList)(s,Object.keys(t.getFields()));r((0,A.pathToArray)(c),e,new l.GraphQLError(`Field "${s}" is not defined by type "${t.name}".`+(0,n.didYouMean)(o)))}}if(t.isOneOf){const n=Object.keys(o);if(n.length!==1){r((0,A.pathToArray)(c),e,new l.GraphQLError(`Exactly one key must be specified for OneOf type "${t.name}".`))}const s=n[0];const i=o[s];if(i===null){r((0,A.pathToArray)(c).concat(s),i,new l.GraphQLError(`Field "${s}" must be non-null.`))}}return o}if((0,p.isLeafType)(t)){let n;try{n=t.parseValue(e)}catch(n){if(n instanceof l.GraphQLError){r((0,A.pathToArray)(c),e,n)}else{r((0,A.pathToArray)(c),e,new l.GraphQLError(`Expected type "${t.name}". `+n.message,{originalError:n}))}return}if(n===undefined){r((0,A.pathToArray)(c),e,new l.GraphQLError(`Expected type "${t.name}".`))}return n}false||(0,o.invariant)(false,"Unexpected input type: "+(0,s.inspect)(t))}},3089:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.concatAST=concatAST;var n=r(1123);function concatAST(e){const t=[];for(const r of e){t.push(...r.definitions)}return{kind:n.Kind.DOCUMENT,definitions:t}}},5487:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.extendSchema=extendSchema;t.extendSchemaImpl=extendSchemaImpl;var n=r(5383);var s=r(5742);var o=r(3650);var i=r(7579);var a=r(5719);var A=r(1123);var c=r(5480);var u=r(4169);var l=r(1058);var p=r(317);var d=r(3571);var g=r(9299);var h=r(7063);var E=r(3604);var m=r(6495);function extendSchema(e,t,r){(0,g.assertSchema)(e);t!=null&&t.kind===A.Kind.DOCUMENT||(0,n.devAssert)(false,"Must provide valid Document AST.");if((r===null||r===void 0?void 0:r.assumeValid)!==true&&(r===null||r===void 0?void 0:r.assumeValidSDL)!==true){(0,h.assertValidSDLExtension)(t,e)}const s=e.toConfig();const o=extendSchemaImpl(s,t,r);return s===o?e:new g.GraphQLSchema(o)}function extendSchemaImpl(e,t,r){var n,i,g,h;const E=[];const y=Object.create(null);const C=[];let Q;const B=[];for(const e of t.definitions){if(e.kind===A.Kind.SCHEMA_DEFINITION){Q=e}else if(e.kind===A.Kind.SCHEMA_EXTENSION){B.push(e)}else if((0,c.isTypeDefinitionNode)(e)){E.push(e)}else if((0,c.isTypeExtensionNode)(e)){const t=e.name.value;const r=y[t];y[t]=r?r.concat([e]):[e]}else if(e.kind===A.Kind.DIRECTIVE_DEFINITION){C.push(e)}}if(Object.keys(y).length===0&&E.length===0&&C.length===0&&B.length===0&&Q==null){return e}const b=Object.create(null);for(const t of e.types){b[t.name]=extendNamedType(t)}for(const e of E){var T;const t=e.name.value;b[t]=(T=I[t])!==null&&T!==void 0?T:buildType(e)}const w={query:e.query&&replaceNamedType(e.query),mutation:e.mutation&&replaceNamedType(e.mutation),subscription:e.subscription&&replaceNamedType(e.subscription),...Q&&getOperationTypes([Q]),...getOperationTypes(B)};return{description:(n=Q)===null||n===void 0?void 0:(i=n.description)===null||i===void 0?void 0:i.value,...w,types:Object.values(b),directives:[...e.directives.map(replaceDirective),...C.map(buildDirective)],extensions:Object.create(null),astNode:(g=Q)!==null&&g!==void 0?g:e.astNode,extensionASTNodes:e.extensionASTNodes.concat(B),assumeValid:(h=r===null||r===void 0?void 0:r.assumeValid)!==null&&h!==void 0?h:false};function replaceType(e){if((0,u.isListType)(e)){return new u.GraphQLList(replaceType(e.ofType))}if((0,u.isNonNullType)(e)){return new u.GraphQLNonNull(replaceType(e.ofType))}return replaceNamedType(e)}function replaceNamedType(e){return b[e.name]}function replaceDirective(e){const t=e.toConfig();return new l.GraphQLDirective({...t,args:(0,a.mapValue)(t.args,extendArg)})}function extendNamedType(e){if((0,p.isIntrospectionType)(e)||(0,d.isSpecifiedScalarType)(e)){return e}if((0,u.isScalarType)(e)){return extendScalarType(e)}if((0,u.isObjectType)(e)){return extendObjectType(e)}if((0,u.isInterfaceType)(e)){return extendInterfaceType(e)}if((0,u.isUnionType)(e)){return extendUnionType(e)}if((0,u.isEnumType)(e)){return extendEnumType(e)}if((0,u.isInputObjectType)(e)){return extendInputObjectType(e)}false||(0,o.invariant)(false,"Unexpected type: "+(0,s.inspect)(e))}function extendInputObjectType(e){var t;const r=e.toConfig();const n=(t=y[r.name])!==null&&t!==void 0?t:[];return new u.GraphQLInputObjectType({...r,fields:()=>({...(0,a.mapValue)(r.fields,(e=>({...e,type:replaceType(e.type)}))),...buildInputFieldMap(n)}),extensionASTNodes:r.extensionASTNodes.concat(n)})}function extendEnumType(e){var t;const r=e.toConfig();const n=(t=y[e.name])!==null&&t!==void 0?t:[];return new u.GraphQLEnumType({...r,values:{...r.values,...buildEnumValueMap(n)},extensionASTNodes:r.extensionASTNodes.concat(n)})}function extendScalarType(e){var t;const r=e.toConfig();const n=(t=y[r.name])!==null&&t!==void 0?t:[];let s=r.specifiedByURL;for(const e of n){var o;s=(o=getSpecifiedByURL(e))!==null&&o!==void 0?o:s}return new u.GraphQLScalarType({...r,specifiedByURL:s,extensionASTNodes:r.extensionASTNodes.concat(n)})}function extendObjectType(e){var t;const r=e.toConfig();const n=(t=y[r.name])!==null&&t!==void 0?t:[];return new u.GraphQLObjectType({...r,interfaces:()=>[...e.getInterfaces().map(replaceNamedType),...buildInterfaces(n)],fields:()=>({...(0,a.mapValue)(r.fields,extendField),...buildFieldMap(n)}),extensionASTNodes:r.extensionASTNodes.concat(n)})}function extendInterfaceType(e){var t;const r=e.toConfig();const n=(t=y[r.name])!==null&&t!==void 0?t:[];return new u.GraphQLInterfaceType({...r,interfaces:()=>[...e.getInterfaces().map(replaceNamedType),...buildInterfaces(n)],fields:()=>({...(0,a.mapValue)(r.fields,extendField),...buildFieldMap(n)}),extensionASTNodes:r.extensionASTNodes.concat(n)})}function extendUnionType(e){var t;const r=e.toConfig();const n=(t=y[r.name])!==null&&t!==void 0?t:[];return new u.GraphQLUnionType({...r,types:()=>[...e.getTypes().map(replaceNamedType),...buildUnionTypes(n)],extensionASTNodes:r.extensionASTNodes.concat(n)})}function extendField(e){return{...e,type:replaceType(e.type),args:e.args&&(0,a.mapValue)(e.args,extendArg)}}function extendArg(e){return{...e,type:replaceType(e.type)}}function getOperationTypes(e){const t={};for(const n of e){var r;const e=(r=n.operationTypes)!==null&&r!==void 0?r:[];for(const r of e){t[r.operation]=getNamedType(r.type)}}return t}function getNamedType(e){var t;const r=e.name.value;const n=(t=I[r])!==null&&t!==void 0?t:b[r];if(n===undefined){throw new Error(`Unknown type: "${r}".`)}return n}function getWrappedType(e){if(e.kind===A.Kind.LIST_TYPE){return new u.GraphQLList(getWrappedType(e.type))}if(e.kind===A.Kind.NON_NULL_TYPE){return new u.GraphQLNonNull(getWrappedType(e.type))}return getNamedType(e)}function buildDirective(e){var t;return new l.GraphQLDirective({name:e.name.value,description:(t=e.description)===null||t===void 0?void 0:t.value,locations:e.locations.map((({value:e})=>e)),isRepeatable:e.repeatable,args:buildArgumentMap(e.arguments),astNode:e})}function buildFieldMap(e){const t=Object.create(null);for(const s of e){var r;const e=(r=s.fields)!==null&&r!==void 0?r:[];for(const r of e){var n;t[r.name.value]={type:getWrappedType(r.type),description:(n=r.description)===null||n===void 0?void 0:n.value,args:buildArgumentMap(r.arguments),deprecationReason:getDeprecationReason(r),astNode:r}}}return t}function buildArgumentMap(e){const t=e!==null&&e!==void 0?e:[];const r=Object.create(null);for(const e of t){var n;const t=getWrappedType(e.type);r[e.name.value]={type:t,description:(n=e.description)===null||n===void 0?void 0:n.value,defaultValue:(0,m.valueFromAST)(e.defaultValue,t),deprecationReason:getDeprecationReason(e),astNode:e}}return r}function buildInputFieldMap(e){const t=Object.create(null);for(const s of e){var r;const e=(r=s.fields)!==null&&r!==void 0?r:[];for(const r of e){var n;const e=getWrappedType(r.type);t[r.name.value]={type:e,description:(n=r.description)===null||n===void 0?void 0:n.value,defaultValue:(0,m.valueFromAST)(r.defaultValue,e),deprecationReason:getDeprecationReason(r),astNode:r}}}return t}function buildEnumValueMap(e){const t=Object.create(null);for(const s of e){var r;const e=(r=s.values)!==null&&r!==void 0?r:[];for(const r of e){var n;t[r.name.value]={description:(n=r.description)===null||n===void 0?void 0:n.value,deprecationReason:getDeprecationReason(r),astNode:r}}}return t}function buildInterfaces(e){return e.flatMap((e=>{var t,r;return(t=(r=e.interfaces)===null||r===void 0?void 0:r.map(getNamedType))!==null&&t!==void 0?t:[]}))}function buildUnionTypes(e){return e.flatMap((e=>{var t,r;return(t=(r=e.types)===null||r===void 0?void 0:r.map(getNamedType))!==null&&t!==void 0?t:[]}))}function buildType(e){var t;const r=e.name.value;const n=(t=y[r])!==null&&t!==void 0?t:[];switch(e.kind){case A.Kind.OBJECT_TYPE_DEFINITION:{var s;const t=[e,...n];return new u.GraphQLObjectType({name:r,description:(s=e.description)===null||s===void 0?void 0:s.value,interfaces:()=>buildInterfaces(t),fields:()=>buildFieldMap(t),astNode:e,extensionASTNodes:n})}case A.Kind.INTERFACE_TYPE_DEFINITION:{var o;const t=[e,...n];return new u.GraphQLInterfaceType({name:r,description:(o=e.description)===null||o===void 0?void 0:o.value,interfaces:()=>buildInterfaces(t),fields:()=>buildFieldMap(t),astNode:e,extensionASTNodes:n})}case A.Kind.ENUM_TYPE_DEFINITION:{var i;const t=[e,...n];return new u.GraphQLEnumType({name:r,description:(i=e.description)===null||i===void 0?void 0:i.value,values:buildEnumValueMap(t),astNode:e,extensionASTNodes:n})}case A.Kind.UNION_TYPE_DEFINITION:{var a;const t=[e,...n];return new u.GraphQLUnionType({name:r,description:(a=e.description)===null||a===void 0?void 0:a.value,types:()=>buildUnionTypes(t),astNode:e,extensionASTNodes:n})}case A.Kind.SCALAR_TYPE_DEFINITION:{var c;return new u.GraphQLScalarType({name:r,description:(c=e.description)===null||c===void 0?void 0:c.value,specifiedByURL:getSpecifiedByURL(e),astNode:e,extensionASTNodes:n})}case A.Kind.INPUT_OBJECT_TYPE_DEFINITION:{var l;const t=[e,...n];return new u.GraphQLInputObjectType({name:r,description:(l=e.description)===null||l===void 0?void 0:l.value,fields:()=>buildInputFieldMap(t),astNode:e,extensionASTNodes:n,isOneOf:isOneOf(e)})}}}}const I=(0,i.keyMap)([...d.specifiedScalarTypes,...p.introspectionTypes],(e=>e.name));function getDeprecationReason(e){const t=(0,E.getDirectiveValues)(l.GraphQLDeprecatedDirective,e);return t===null||t===void 0?void 0:t.reason}function getSpecifiedByURL(e){const t=(0,E.getDirectiveValues)(l.GraphQLSpecifiedByDirective,e);return t===null||t===void 0?void 0:t.url}function isOneOf(e){return Boolean((0,E.getDirectiveValues)(l.GraphQLOneOfDirective,e))}},7461:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.DangerousChangeType=t.BreakingChangeType=void 0;t.findBreakingChanges=findBreakingChanges;t.findDangerousChanges=findDangerousChanges;var n=r(5742);var s=r(3650);var o=r(7579);var i=r(9936);var a=r(4169);var A=r(3571);var c=r(8893);var u=r(7287);var l;t.BreakingChangeType=l;(function(e){e["TYPE_REMOVED"]="TYPE_REMOVED";e["TYPE_CHANGED_KIND"]="TYPE_CHANGED_KIND";e["TYPE_REMOVED_FROM_UNION"]="TYPE_REMOVED_FROM_UNION";e["VALUE_REMOVED_FROM_ENUM"]="VALUE_REMOVED_FROM_ENUM";e["REQUIRED_INPUT_FIELD_ADDED"]="REQUIRED_INPUT_FIELD_ADDED";e["IMPLEMENTED_INTERFACE_REMOVED"]="IMPLEMENTED_INTERFACE_REMOVED";e["FIELD_REMOVED"]="FIELD_REMOVED";e["FIELD_CHANGED_KIND"]="FIELD_CHANGED_KIND";e["REQUIRED_ARG_ADDED"]="REQUIRED_ARG_ADDED";e["ARG_REMOVED"]="ARG_REMOVED";e["ARG_CHANGED_KIND"]="ARG_CHANGED_KIND";e["DIRECTIVE_REMOVED"]="DIRECTIVE_REMOVED";e["DIRECTIVE_ARG_REMOVED"]="DIRECTIVE_ARG_REMOVED";e["REQUIRED_DIRECTIVE_ARG_ADDED"]="REQUIRED_DIRECTIVE_ARG_ADDED";e["DIRECTIVE_REPEATABLE_REMOVED"]="DIRECTIVE_REPEATABLE_REMOVED";e["DIRECTIVE_LOCATION_REMOVED"]="DIRECTIVE_LOCATION_REMOVED"})(l||(t.BreakingChangeType=l={}));var p;t.DangerousChangeType=p;(function(e){e["VALUE_ADDED_TO_ENUM"]="VALUE_ADDED_TO_ENUM";e["TYPE_ADDED_TO_UNION"]="TYPE_ADDED_TO_UNION";e["OPTIONAL_INPUT_FIELD_ADDED"]="OPTIONAL_INPUT_FIELD_ADDED";e["OPTIONAL_ARG_ADDED"]="OPTIONAL_ARG_ADDED";e["IMPLEMENTED_INTERFACE_ADDED"]="IMPLEMENTED_INTERFACE_ADDED";e["ARG_DEFAULT_VALUE_CHANGE"]="ARG_DEFAULT_VALUE_CHANGE"})(p||(t.DangerousChangeType=p={}));function findBreakingChanges(e,t){return findSchemaChanges(e,t).filter((e=>e.type in l))}function findDangerousChanges(e,t){return findSchemaChanges(e,t).filter((e=>e.type in p))}function findSchemaChanges(e,t){return[...findTypeChanges(e,t),...findDirectiveChanges(e,t)]}function findDirectiveChanges(e,t){const r=[];const n=diff(e.getDirectives(),t.getDirectives());for(const e of n.removed){r.push({type:l.DIRECTIVE_REMOVED,description:`${e.name} was removed.`})}for(const[e,t]of n.persisted){const n=diff(e.args,t.args);for(const t of n.added){if((0,a.isRequiredArgument)(t)){r.push({type:l.REQUIRED_DIRECTIVE_ARG_ADDED,description:`A required arg ${t.name} on directive ${e.name} was added.`})}}for(const t of n.removed){r.push({type:l.DIRECTIVE_ARG_REMOVED,description:`${t.name} was removed from ${e.name}.`})}if(e.isRepeatable&&!t.isRepeatable){r.push({type:l.DIRECTIVE_REPEATABLE_REMOVED,description:`Repeatable flag was removed from ${e.name}.`})}for(const n of e.locations){if(!t.locations.includes(n)){r.push({type:l.DIRECTIVE_LOCATION_REMOVED,description:`${n} was removed from ${e.name}.`})}}}return r}function findTypeChanges(e,t){const r=[];const n=diff(Object.values(e.getTypeMap()),Object.values(t.getTypeMap()));for(const e of n.removed){r.push({type:l.TYPE_REMOVED,description:(0,A.isSpecifiedScalarType)(e)?`Standard scalar ${e.name} was removed because it is not referenced anymore.`:`${e.name} was removed.`})}for(const[e,t]of n.persisted){if((0,a.isEnumType)(e)&&(0,a.isEnumType)(t)){r.push(...findEnumTypeChanges(e,t))}else if((0,a.isUnionType)(e)&&(0,a.isUnionType)(t)){r.push(...findUnionTypeChanges(e,t))}else if((0,a.isInputObjectType)(e)&&(0,a.isInputObjectType)(t)){r.push(...findInputObjectTypeChanges(e,t))}else if((0,a.isObjectType)(e)&&(0,a.isObjectType)(t)){r.push(...findFieldChanges(e,t),...findImplementedInterfacesChanges(e,t))}else if((0,a.isInterfaceType)(e)&&(0,a.isInterfaceType)(t)){r.push(...findFieldChanges(e,t),...findImplementedInterfacesChanges(e,t))}else if(e.constructor!==t.constructor){r.push({type:l.TYPE_CHANGED_KIND,description:`${e.name} changed from `+`${typeKindName(e)} to ${typeKindName(t)}.`})}}return r}function findInputObjectTypeChanges(e,t){const r=[];const n=diff(Object.values(e.getFields()),Object.values(t.getFields()));for(const t of n.added){if((0,a.isRequiredInputField)(t)){r.push({type:l.REQUIRED_INPUT_FIELD_ADDED,description:`A required field ${t.name} on input type ${e.name} was added.`})}else{r.push({type:p.OPTIONAL_INPUT_FIELD_ADDED,description:`An optional field ${t.name} on input type ${e.name} was added.`})}}for(const t of n.removed){r.push({type:l.FIELD_REMOVED,description:`${e.name}.${t.name} was removed.`})}for(const[t,s]of n.persisted){const n=isChangeSafeForInputObjectFieldOrFieldArg(t.type,s.type);if(!n){r.push({type:l.FIELD_CHANGED_KIND,description:`${e.name}.${t.name} changed type from `+`${String(t.type)} to ${String(s.type)}.`})}}return r}function findUnionTypeChanges(e,t){const r=[];const n=diff(e.getTypes(),t.getTypes());for(const t of n.added){r.push({type:p.TYPE_ADDED_TO_UNION,description:`${t.name} was added to union type ${e.name}.`})}for(const t of n.removed){r.push({type:l.TYPE_REMOVED_FROM_UNION,description:`${t.name} was removed from union type ${e.name}.`})}return r}function findEnumTypeChanges(e,t){const r=[];const n=diff(e.getValues(),t.getValues());for(const t of n.added){r.push({type:p.VALUE_ADDED_TO_ENUM,description:`${t.name} was added to enum type ${e.name}.`})}for(const t of n.removed){r.push({type:l.VALUE_REMOVED_FROM_ENUM,description:`${t.name} was removed from enum type ${e.name}.`})}return r}function findImplementedInterfacesChanges(e,t){const r=[];const n=diff(e.getInterfaces(),t.getInterfaces());for(const t of n.added){r.push({type:p.IMPLEMENTED_INTERFACE_ADDED,description:`${t.name} added to interfaces implemented by ${e.name}.`})}for(const t of n.removed){r.push({type:l.IMPLEMENTED_INTERFACE_REMOVED,description:`${e.name} no longer implements interface ${t.name}.`})}return r}function findFieldChanges(e,t){const r=[];const n=diff(Object.values(e.getFields()),Object.values(t.getFields()));for(const t of n.removed){r.push({type:l.FIELD_REMOVED,description:`${e.name}.${t.name} was removed.`})}for(const[t,s]of n.persisted){r.push(...findArgChanges(e,t,s));const n=isChangeSafeForObjectOrInterfaceField(t.type,s.type);if(!n){r.push({type:l.FIELD_CHANGED_KIND,description:`${e.name}.${t.name} changed type from `+`${String(t.type)} to ${String(s.type)}.`})}}return r}function findArgChanges(e,t,r){const n=[];const s=diff(t.args,r.args);for(const r of s.removed){n.push({type:l.ARG_REMOVED,description:`${e.name}.${t.name} arg ${r.name} was removed.`})}for(const[r,o]of s.persisted){const s=isChangeSafeForInputObjectFieldOrFieldArg(r.type,o.type);if(!s){n.push({type:l.ARG_CHANGED_KIND,description:`${e.name}.${t.name} arg ${r.name} has changed type from `+`${String(r.type)} to ${String(o.type)}.`})}else if(r.defaultValue!==undefined){if(o.defaultValue===undefined){n.push({type:p.ARG_DEFAULT_VALUE_CHANGE,description:`${e.name}.${t.name} arg ${r.name} defaultValue was removed.`})}else{const s=stringifyValue(r.defaultValue,r.type);const i=stringifyValue(o.defaultValue,o.type);if(s!==i){n.push({type:p.ARG_DEFAULT_VALUE_CHANGE,description:`${e.name}.${t.name} arg ${r.name} has changed defaultValue from ${s} to ${i}.`})}}}}for(const r of s.added){if((0,a.isRequiredArgument)(r)){n.push({type:l.REQUIRED_ARG_ADDED,description:`A required arg ${r.name} on ${e.name}.${t.name} was added.`})}else{n.push({type:p.OPTIONAL_ARG_ADDED,description:`An optional arg ${r.name} on ${e.name}.${t.name} was added.`})}}return n}function isChangeSafeForObjectOrInterfaceField(e,t){if((0,a.isListType)(e)){return(0,a.isListType)(t)&&isChangeSafeForObjectOrInterfaceField(e.ofType,t.ofType)||(0,a.isNonNullType)(t)&&isChangeSafeForObjectOrInterfaceField(e,t.ofType)}if((0,a.isNonNullType)(e)){return(0,a.isNonNullType)(t)&&isChangeSafeForObjectOrInterfaceField(e.ofType,t.ofType)}return(0,a.isNamedType)(t)&&e.name===t.name||(0,a.isNonNullType)(t)&&isChangeSafeForObjectOrInterfaceField(e,t.ofType)}function isChangeSafeForInputObjectFieldOrFieldArg(e,t){if((0,a.isListType)(e)){return(0,a.isListType)(t)&&isChangeSafeForInputObjectFieldOrFieldArg(e.ofType,t.ofType)}if((0,a.isNonNullType)(e)){return(0,a.isNonNullType)(t)&&isChangeSafeForInputObjectFieldOrFieldArg(e.ofType,t.ofType)||!(0,a.isNonNullType)(t)&&isChangeSafeForInputObjectFieldOrFieldArg(e.ofType,t)}return(0,a.isNamedType)(t)&&e.name===t.name}function typeKindName(e){if((0,a.isScalarType)(e)){return"a Scalar type"}if((0,a.isObjectType)(e)){return"an Object type"}if((0,a.isInterfaceType)(e)){return"an Interface type"}if((0,a.isUnionType)(e)){return"a Union type"}if((0,a.isEnumType)(e)){return"an Enum type"}if((0,a.isInputObjectType)(e)){return"an Input type"}false||(0,s.invariant)(false,"Unexpected type: "+(0,n.inspect)(e))}function stringifyValue(e,t){const r=(0,c.astFromValue)(e,t);r!=null||(0,s.invariant)(false);return(0,i.print)((0,u.sortValueNode)(r))}function diff(e,t){const r=[];const n=[];const s=[];const i=(0,o.keyMap)(e,(({name:e})=>e));const a=(0,o.keyMap)(t,(({name:e})=>e));for(const t of e){const e=a[t.name];if(e===undefined){n.push(t)}else{s.push([t,e])}}for(const e of t){if(i[e.name]===undefined){r.push(e)}}return{added:r,persisted:s,removed:n}}},875:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.getIntrospectionQuery=getIntrospectionQuery;function getIntrospectionQuery(e){const t={descriptions:true,specifiedByUrl:false,directiveIsRepeatable:false,schemaDescription:false,inputValueDeprecation:false,oneOf:false,...e};const r=t.descriptions?"description":"";const n=t.specifiedByUrl?"specifiedByURL":"";const s=t.directiveIsRepeatable?"isRepeatable":"";const o=t.schemaDescription?r:"";function inputDeprecation(e){return t.inputValueDeprecation?e:""}const i=t.oneOf?"isOneOf":"";return`\n query IntrospectionQuery {\n __schema {\n ${o}\n queryType { name }\n mutationType { name }\n subscriptionType { name }\n types {\n ...FullType\n }\n directives {\n name\n ${r}\n ${s}\n locations\n args${inputDeprecation("(includeDeprecated: true)")} {\n ...InputValue\n }\n }\n }\n }\n\n fragment FullType on __Type {\n kind\n name\n ${r}\n ${n}\n ${i}\n fields(includeDeprecated: true) {\n name\n ${r}\n args${inputDeprecation("(includeDeprecated: true)")} {\n ...InputValue\n }\n type {\n ...TypeRef\n }\n isDeprecated\n deprecationReason\n }\n inputFields${inputDeprecation("(includeDeprecated: true)")} {\n ...InputValue\n }\n interfaces {\n ...TypeRef\n }\n enumValues(includeDeprecated: true) {\n name\n ${r}\n isDeprecated\n deprecationReason\n }\n possibleTypes {\n ...TypeRef\n }\n }\n\n fragment InputValue on __InputValue {\n name\n ${r}\n type { ...TypeRef }\n defaultValue\n ${inputDeprecation("isDeprecated")}\n ${inputDeprecation("deprecationReason")}\n }\n\n fragment TypeRef on __Type {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n `}},6201:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getOperationAST=getOperationAST;var n=r(1123);function getOperationAST(e,t){let r=null;for(const o of e.definitions){if(o.kind===n.Kind.OPERATION_DEFINITION){var s;if(t==null){if(r){return null}r=o}else if(((s=o.name)===null||s===void 0?void 0:s.value)===t){return o}}}return r}},5017:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.getOperationRootType=getOperationRootType;var n=r(5939);function getOperationRootType(e,t){if(t.operation==="query"){const r=e.getQueryType();if(!r){throw new n.GraphQLError("Schema does not define the required query root type.",{nodes:t})}return r}if(t.operation==="mutation"){const r=e.getMutationType();if(!r){throw new n.GraphQLError("Schema is not configured for mutations.",{nodes:t})}return r}if(t.operation==="subscription"){const r=e.getSubscriptionType();if(!r){throw new n.GraphQLError("Schema is not configured for subscriptions.",{nodes:t})}return r}throw new n.GraphQLError("Can only have query, mutation and subscription operations.",{nodes:t})}},7006:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"BreakingChangeType",{enumerable:true,get:function(){return b.BreakingChangeType}});Object.defineProperty(t,"DangerousChangeType",{enumerable:true,get:function(){return b.DangerousChangeType}});Object.defineProperty(t,"TypeInfo",{enumerable:true,get:function(){return E.TypeInfo}});Object.defineProperty(t,"assertValidName",{enumerable:true,get:function(){return B.assertValidName}});Object.defineProperty(t,"astFromValue",{enumerable:true,get:function(){return h.astFromValue}});Object.defineProperty(t,"buildASTSchema",{enumerable:true,get:function(){return A.buildASTSchema}});Object.defineProperty(t,"buildClientSchema",{enumerable:true,get:function(){return a.buildClientSchema}});Object.defineProperty(t,"buildSchema",{enumerable:true,get:function(){return A.buildSchema}});Object.defineProperty(t,"coerceInputValue",{enumerable:true,get:function(){return m.coerceInputValue}});Object.defineProperty(t,"concatAST",{enumerable:true,get:function(){return I.concatAST}});Object.defineProperty(t,"doTypesOverlap",{enumerable:true,get:function(){return Q.doTypesOverlap}});Object.defineProperty(t,"extendSchema",{enumerable:true,get:function(){return c.extendSchema}});Object.defineProperty(t,"findBreakingChanges",{enumerable:true,get:function(){return b.findBreakingChanges}});Object.defineProperty(t,"findDangerousChanges",{enumerable:true,get:function(){return b.findDangerousChanges}});Object.defineProperty(t,"getIntrospectionQuery",{enumerable:true,get:function(){return n.getIntrospectionQuery}});Object.defineProperty(t,"getOperationAST",{enumerable:true,get:function(){return s.getOperationAST}});Object.defineProperty(t,"getOperationRootType",{enumerable:true,get:function(){return o.getOperationRootType}});Object.defineProperty(t,"introspectionFromSchema",{enumerable:true,get:function(){return i.introspectionFromSchema}});Object.defineProperty(t,"isEqualType",{enumerable:true,get:function(){return Q.isEqualType}});Object.defineProperty(t,"isTypeSubTypeOf",{enumerable:true,get:function(){return Q.isTypeSubTypeOf}});Object.defineProperty(t,"isValidNameError",{enumerable:true,get:function(){return B.isValidNameError}});Object.defineProperty(t,"lexicographicSortSchema",{enumerable:true,get:function(){return u.lexicographicSortSchema}});Object.defineProperty(t,"printIntrospectionSchema",{enumerable:true,get:function(){return l.printIntrospectionSchema}});Object.defineProperty(t,"printSchema",{enumerable:true,get:function(){return l.printSchema}});Object.defineProperty(t,"printType",{enumerable:true,get:function(){return l.printType}});Object.defineProperty(t,"separateOperations",{enumerable:true,get:function(){return y.separateOperations}});Object.defineProperty(t,"stripIgnoredCharacters",{enumerable:true,get:function(){return C.stripIgnoredCharacters}});Object.defineProperty(t,"typeFromAST",{enumerable:true,get:function(){return p.typeFromAST}});Object.defineProperty(t,"valueFromAST",{enumerable:true,get:function(){return d.valueFromAST}});Object.defineProperty(t,"valueFromASTUntyped",{enumerable:true,get:function(){return g.valueFromASTUntyped}});Object.defineProperty(t,"visitWithTypeInfo",{enumerable:true,get:function(){return E.visitWithTypeInfo}});var n=r(875);var s=r(6201);var o=r(5017);var i=r(5350);var a=r(6954);var A=r(9115);var c=r(5487);var u=r(6071);var l=r(9258);var p=r(6738);var d=r(6495);var g=r(5470);var h=r(8893);var E=r(5e3);var m=r(7572);var I=r(3089);var y=r(6931);var C=r(1096);var Q=r(6539);var B=r(873);var b=r(7461)},5350:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.introspectionFromSchema=introspectionFromSchema;var n=r(3650);var s=r(4929);var o=r(1304);var i=r(875);function introspectionFromSchema(e,t){const r={specifiedByUrl:true,directiveIsRepeatable:true,schemaDescription:true,inputValueDeprecation:true,oneOf:true,...t};const a=(0,s.parse)((0,i.getIntrospectionQuery)(r));const A=(0,o.executeSync)({schema:e,document:a});!A.errors&&A.data||(0,n.invariant)(false);return A.data}},6071:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.lexicographicSortSchema=lexicographicSortSchema;var n=r(5742);var s=r(3650);var o=r(3166);var i=r(3428);var a=r(4169);var A=r(1058);var c=r(317);var u=r(9299);function lexicographicSortSchema(e){const t=e.toConfig();const r=(0,o.keyValMap)(sortByName(t.types),(e=>e.name),sortNamedType);return new u.GraphQLSchema({...t,types:Object.values(r),directives:sortByName(t.directives).map(sortDirective),query:replaceMaybeType(t.query),mutation:replaceMaybeType(t.mutation),subscription:replaceMaybeType(t.subscription)});function replaceType(e){if((0,a.isListType)(e)){return new a.GraphQLList(replaceType(e.ofType))}else if((0,a.isNonNullType)(e)){return new a.GraphQLNonNull(replaceType(e.ofType))}return replaceNamedType(e)}function replaceNamedType(e){return r[e.name]}function replaceMaybeType(e){return e&&replaceNamedType(e)}function sortDirective(e){const t=e.toConfig();return new A.GraphQLDirective({...t,locations:sortBy(t.locations,(e=>e)),args:sortArgs(t.args)})}function sortArgs(e){return sortObjMap(e,(e=>({...e,type:replaceType(e.type)})))}function sortFields(e){return sortObjMap(e,(e=>({...e,type:replaceType(e.type),args:e.args&&sortArgs(e.args)})))}function sortInputFields(e){return sortObjMap(e,(e=>({...e,type:replaceType(e.type)})))}function sortTypes(e){return sortByName(e).map(replaceNamedType)}function sortNamedType(e){if((0,a.isScalarType)(e)||(0,c.isIntrospectionType)(e)){return e}if((0,a.isObjectType)(e)){const t=e.toConfig();return new a.GraphQLObjectType({...t,interfaces:()=>sortTypes(t.interfaces),fields:()=>sortFields(t.fields)})}if((0,a.isInterfaceType)(e)){const t=e.toConfig();return new a.GraphQLInterfaceType({...t,interfaces:()=>sortTypes(t.interfaces),fields:()=>sortFields(t.fields)})}if((0,a.isUnionType)(e)){const t=e.toConfig();return new a.GraphQLUnionType({...t,types:()=>sortTypes(t.types)})}if((0,a.isEnumType)(e)){const t=e.toConfig();return new a.GraphQLEnumType({...t,values:sortObjMap(t.values,(e=>e))})}if((0,a.isInputObjectType)(e)){const t=e.toConfig();return new a.GraphQLInputObjectType({...t,fields:()=>sortInputFields(t.fields)})}false||(0,s.invariant)(false,"Unexpected type: "+(0,n.inspect)(e))}}function sortObjMap(e,t){const r=Object.create(null);for(const n of Object.keys(e).sort(i.naturalCompare)){r[n]=t(e[n])}return r}function sortByName(e){return sortBy(e,(e=>e.name))}function sortBy(e,t){return e.slice().sort(((e,r)=>{const n=t(e);const s=t(r);return(0,i.naturalCompare)(n,s)}))}},9258:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.printIntrospectionSchema=printIntrospectionSchema;t.printSchema=printSchema;t.printType=printType;var n=r(5742);var s=r(3650);var o=r(7508);var i=r(1123);var a=r(9936);var A=r(4169);var c=r(1058);var u=r(317);var l=r(3571);var p=r(8893);function printSchema(e){return printFilteredSchema(e,(e=>!(0,c.isSpecifiedDirective)(e)),isDefinedType)}function printIntrospectionSchema(e){return printFilteredSchema(e,c.isSpecifiedDirective,u.isIntrospectionType)}function isDefinedType(e){return!(0,l.isSpecifiedScalarType)(e)&&!(0,u.isIntrospectionType)(e)}function printFilteredSchema(e,t,r){const n=e.getDirectives().filter(t);const s=Object.values(e.getTypeMap()).filter(r);return[printSchemaDefinition(e),...n.map((e=>printDirective(e))),...s.map((e=>printType(e)))].filter(Boolean).join("\n\n")}function printSchemaDefinition(e){if(e.description==null&&isSchemaOfCommonNames(e)){return}const t=[];const r=e.getQueryType();if(r){t.push(` query: ${r.name}`)}const n=e.getMutationType();if(n){t.push(` mutation: ${n.name}`)}const s=e.getSubscriptionType();if(s){t.push(` subscription: ${s.name}`)}return printDescription(e)+`schema {\n${t.join("\n")}\n}`}function isSchemaOfCommonNames(e){const t=e.getQueryType();if(t&&t.name!=="Query"){return false}const r=e.getMutationType();if(r&&r.name!=="Mutation"){return false}const n=e.getSubscriptionType();if(n&&n.name!=="Subscription"){return false}return true}function printType(e){if((0,A.isScalarType)(e)){return printScalar(e)}if((0,A.isObjectType)(e)){return printObject(e)}if((0,A.isInterfaceType)(e)){return printInterface(e)}if((0,A.isUnionType)(e)){return printUnion(e)}if((0,A.isEnumType)(e)){return printEnum(e)}if((0,A.isInputObjectType)(e)){return printInputObject(e)}false||(0,s.invariant)(false,"Unexpected type: "+(0,n.inspect)(e))}function printScalar(e){return printDescription(e)+`scalar ${e.name}`+printSpecifiedByURL(e)}function printImplementedInterfaces(e){const t=e.getInterfaces();return t.length?" implements "+t.map((e=>e.name)).join(" & "):""}function printObject(e){return printDescription(e)+`type ${e.name}`+printImplementedInterfaces(e)+printFields(e)}function printInterface(e){return printDescription(e)+`interface ${e.name}`+printImplementedInterfaces(e)+printFields(e)}function printUnion(e){const t=e.getTypes();const r=t.length?" = "+t.join(" | "):"";return printDescription(e)+"union "+e.name+r}function printEnum(e){const t=e.getValues().map(((e,t)=>printDescription(e," ",!t)+" "+e.name+printDeprecated(e.deprecationReason)));return printDescription(e)+`enum ${e.name}`+printBlock(t)}function printInputObject(e){const t=Object.values(e.getFields()).map(((e,t)=>printDescription(e," ",!t)+" "+printInputValue(e)));return printDescription(e)+`input ${e.name}`+(e.isOneOf?" @oneOf":"")+printBlock(t)}function printFields(e){const t=Object.values(e.getFields()).map(((e,t)=>printDescription(e," ",!t)+" "+e.name+printArgs(e.args," ")+": "+String(e.type)+printDeprecated(e.deprecationReason)));return printBlock(t)}function printBlock(e){return e.length!==0?" {\n"+e.join("\n")+"\n}":""}function printArgs(e,t=""){if(e.length===0){return""}if(e.every((e=>!e.description))){return"("+e.map(printInputValue).join(", ")+")"}return"(\n"+e.map(((e,r)=>printDescription(e," "+t,!r)+" "+t+printInputValue(e))).join("\n")+"\n"+t+")"}function printInputValue(e){const t=(0,p.astFromValue)(e.defaultValue,e.type);let r=e.name+": "+String(e.type);if(t){r+=` = ${(0,a.print)(t)}`}return r+printDeprecated(e.deprecationReason)}function printDirective(e){return printDescription(e)+"directive @"+e.name+printArgs(e.args)+(e.isRepeatable?" repeatable":"")+" on "+e.locations.join(" | ")}function printDeprecated(e){if(e==null){return""}if(e!==c.DEFAULT_DEPRECATION_REASON){const t=(0,a.print)({kind:i.Kind.STRING,value:e});return` @deprecated(reason: ${t})`}return" @deprecated"}function printSpecifiedByURL(e){if(e.specifiedByURL==null){return""}const t=(0,a.print)({kind:i.Kind.STRING,value:e.specifiedByURL});return` @specifiedBy(url: ${t})`}function printDescription(e,t="",r=true){const{description:n}=e;if(n==null){return""}const s=(0,a.print)({kind:i.Kind.STRING,value:n,block:(0,o.isPrintableAsBlockString)(n)});const A=t&&!r?"\n"+t:t;return A+s.replace(/\n/g,"\n"+t)+"\n"}},6931:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.separateOperations=separateOperations;var n=r(1123);var s=r(638);function separateOperations(e){const t=[];const r=Object.create(null);for(const s of e.definitions){switch(s.kind){case n.Kind.OPERATION_DEFINITION:t.push(s);break;case n.Kind.FRAGMENT_DEFINITION:r[s.name.value]=collectDependencies(s.selectionSet);break;default:}}const s=Object.create(null);for(const o of t){const t=new Set;for(const e of collectDependencies(o.selectionSet)){collectTransitiveDependencies(t,r,e)}const i=o.name?o.name.value:"";s[i]={kind:n.Kind.DOCUMENT,definitions:e.definitions.filter((e=>e===o||e.kind===n.Kind.FRAGMENT_DEFINITION&&t.has(e.name.value)))}}return s}function collectTransitiveDependencies(e,t,r){if(!e.has(r)){e.add(r);const n=t[r];if(n!==undefined){for(const r of n){collectTransitiveDependencies(e,t,r)}}}}function collectDependencies(e){const t=[];(0,s.visit)(e,{FragmentSpread(e){t.push(e.name.value)}});return t}},7287:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.sortValueNode=sortValueNode;var n=r(3428);var s=r(1123);function sortValueNode(e){switch(e.kind){case s.Kind.OBJECT:return{...e,fields:sortFields(e.fields)};case s.Kind.LIST:return{...e,values:e.values.map(sortValueNode)};case s.Kind.INT:case s.Kind.FLOAT:case s.Kind.STRING:case s.Kind.BOOLEAN:case s.Kind.NULL:case s.Kind.ENUM:case s.Kind.VARIABLE:return e}}function sortFields(e){return e.map((e=>({...e,value:sortValueNode(e.value)}))).sort(((e,t)=>(0,n.naturalCompare)(e.name.value,t.name.value)))}},1096:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.stripIgnoredCharacters=stripIgnoredCharacters;var n=r(7508);var s=r(6897);var o=r(203);var i=r(1743);function stripIgnoredCharacters(e){const t=(0,o.isSource)(e)?e:new o.Source(e);const r=t.body;const a=new s.Lexer(t);let A="";let c=false;while(a.advance().kind!==i.TokenKind.EOF){const e=a.token;const t=e.kind;const o=!(0,s.isPunctuatorTokenKind)(e.kind);if(c){if(o||e.kind===i.TokenKind.SPREAD){A+=" "}}const u=r.slice(e.start,e.end);if(t===i.TokenKind.BLOCK_STRING){A+=(0,n.printBlockString)(e.value,{minimize:true})}else{A+=u}c=o}return A}},6539:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.doTypesOverlap=doTypesOverlap;t.isEqualType=isEqualType;t.isTypeSubTypeOf=isTypeSubTypeOf;var n=r(4169);function isEqualType(e,t){if(e===t){return true}if((0,n.isNonNullType)(e)&&(0,n.isNonNullType)(t)){return isEqualType(e.ofType,t.ofType)}if((0,n.isListType)(e)&&(0,n.isListType)(t)){return isEqualType(e.ofType,t.ofType)}return false}function isTypeSubTypeOf(e,t,r){if(t===r){return true}if((0,n.isNonNullType)(r)){if((0,n.isNonNullType)(t)){return isTypeSubTypeOf(e,t.ofType,r.ofType)}return false}if((0,n.isNonNullType)(t)){return isTypeSubTypeOf(e,t.ofType,r)}if((0,n.isListType)(r)){if((0,n.isListType)(t)){return isTypeSubTypeOf(e,t.ofType,r.ofType)}return false}if((0,n.isListType)(t)){return false}return(0,n.isAbstractType)(r)&&((0,n.isInterfaceType)(t)||(0,n.isObjectType)(t))&&e.isSubType(r,t)}function doTypesOverlap(e,t,r){if(t===r){return true}if((0,n.isAbstractType)(t)){if((0,n.isAbstractType)(r)){return e.getPossibleTypes(t).some((t=>e.isSubType(r,t)))}return e.isSubType(t,r)}if((0,n.isAbstractType)(r)){return e.isSubType(r,t)}return false}},6738:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.typeFromAST=typeFromAST;var n=r(1123);var s=r(4169);function typeFromAST(e,t){switch(t.kind){case n.Kind.LIST_TYPE:{const r=typeFromAST(e,t.type);return r&&new s.GraphQLList(r)}case n.Kind.NON_NULL_TYPE:{const r=typeFromAST(e,t.type);return r&&new s.GraphQLNonNull(r)}case n.Kind.NAMED_TYPE:return e.getType(t.name.value)}}},6495:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.valueFromAST=valueFromAST;var n=r(5742);var s=r(3650);var o=r(7579);var i=r(1123);var a=r(4169);function valueFromAST(e,t,r){if(!e){return}if(e.kind===i.Kind.VARIABLE){const n=e.name.value;if(r==null||r[n]===undefined){return}const s=r[n];if(s===null&&(0,a.isNonNullType)(t)){return}return s}if((0,a.isNonNullType)(t)){if(e.kind===i.Kind.NULL){return}return valueFromAST(e,t.ofType,r)}if(e.kind===i.Kind.NULL){return null}if((0,a.isListType)(t)){const n=t.ofType;if(e.kind===i.Kind.LIST){const t=[];for(const s of e.values){if(isMissingVariable(s,r)){if((0,a.isNonNullType)(n)){return}t.push(null)}else{const e=valueFromAST(s,n,r);if(e===undefined){return}t.push(e)}}return t}const s=valueFromAST(e,n,r);if(s===undefined){return}return[s]}if((0,a.isInputObjectType)(t)){if(e.kind!==i.Kind.OBJECT){return}const n=Object.create(null);const s=(0,o.keyMap)(e.fields,(e=>e.name.value));for(const e of Object.values(t.getFields())){const t=s[e.name];if(!t||isMissingVariable(t.value,r)){if(e.defaultValue!==undefined){n[e.name]=e.defaultValue}else if((0,a.isNonNullType)(e.type)){return}continue}const o=valueFromAST(t.value,e.type,r);if(o===undefined){return}n[e.name]=o}if(t.isOneOf){const e=Object.keys(n);if(e.length!==1){return}if(n[e[0]]===null){return}}return n}if((0,a.isLeafType)(t)){let n;try{n=t.parseLiteral(e,r)}catch(e){return}if(n===undefined){return}return n}false||(0,s.invariant)(false,"Unexpected input type: "+(0,n.inspect)(t))}function isMissingVariable(e,t){return e.kind===i.Kind.VARIABLE&&(t==null||t[e.name.value]===undefined)}},5470:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.valueFromASTUntyped=valueFromASTUntyped;var n=r(3166);var s=r(1123);function valueFromASTUntyped(e,t){switch(e.kind){case s.Kind.NULL:return null;case s.Kind.INT:return parseInt(e.value,10);case s.Kind.FLOAT:return parseFloat(e.value);case s.Kind.STRING:case s.Kind.ENUM:case s.Kind.BOOLEAN:return e.value;case s.Kind.LIST:return e.values.map((e=>valueFromASTUntyped(e,t)));case s.Kind.OBJECT:return(0,n.keyValMap)(e.fields,(e=>e.name.value),(e=>valueFromASTUntyped(e.value,t)));case s.Kind.VARIABLE:return t===null||t===void 0?void 0:t[e.name.value]}}},8139:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.ValidationContext=t.SDLValidationContext=t.ASTValidationContext=void 0;var n=r(1123);var s=r(638);var o=r(5e3);class ASTValidationContext{constructor(e,t){this._ast=e;this._fragments=undefined;this._fragmentSpreads=new Map;this._recursivelyReferencedFragments=new Map;this._onError=t}get[Symbol.toStringTag](){return"ASTValidationContext"}reportError(e){this._onError(e)}getDocument(){return this._ast}getFragment(e){let t;if(this._fragments){t=this._fragments}else{t=Object.create(null);for(const e of this.getDocument().definitions){if(e.kind===n.Kind.FRAGMENT_DEFINITION){t[e.name.value]=e}}this._fragments=t}return t[e]}getFragmentSpreads(e){let t=this._fragmentSpreads.get(e);if(!t){t=[];const r=[e];let s;while(s=r.pop()){for(const e of s.selections){if(e.kind===n.Kind.FRAGMENT_SPREAD){t.push(e)}else if(e.selectionSet){r.push(e.selectionSet)}}}this._fragmentSpreads.set(e,t)}return t}getRecursivelyReferencedFragments(e){let t=this._recursivelyReferencedFragments.get(e);if(!t){t=[];const r=Object.create(null);const n=[e.selectionSet];let s;while(s=n.pop()){for(const e of this.getFragmentSpreads(s)){const s=e.name.value;if(r[s]!==true){r[s]=true;const e=this.getFragment(s);if(e){t.push(e);n.push(e.selectionSet)}}}}this._recursivelyReferencedFragments.set(e,t)}return t}}t.ASTValidationContext=ASTValidationContext;class SDLValidationContext extends ASTValidationContext{constructor(e,t,r){super(e,r);this._schema=t}get[Symbol.toStringTag](){return"SDLValidationContext"}getSchema(){return this._schema}}t.SDLValidationContext=SDLValidationContext;class ValidationContext extends ASTValidationContext{constructor(e,t,r,n){super(t,n);this._schema=e;this._typeInfo=r;this._variableUsages=new Map;this._recursiveVariableUsages=new Map}get[Symbol.toStringTag](){return"ValidationContext"}getSchema(){return this._schema}getVariableUsages(e){let t=this._variableUsages.get(e);if(!t){const r=[];const n=new o.TypeInfo(this._schema);(0,s.visit)(e,(0,o.visitWithTypeInfo)(n,{VariableDefinition:()=>false,Variable(e){r.push({node:e,type:n.getInputType(),defaultValue:n.getDefaultValue()})}}));t=r;this._variableUsages.set(e,t)}return t}getRecursiveVariableUsages(e){let t=this._recursiveVariableUsages.get(e);if(!t){t=this.getVariableUsages(e);for(const r of this.getRecursivelyReferencedFragments(e)){t=t.concat(this.getVariableUsages(r))}this._recursiveVariableUsages.set(e,t)}return t}getType(){return this._typeInfo.getType()}getParentType(){return this._typeInfo.getParentType()}getInputType(){return this._typeInfo.getInputType()}getParentInputType(){return this._typeInfo.getParentInputType()}getFieldDef(){return this._typeInfo.getFieldDef()}getDirective(){return this._typeInfo.getDirective()}getArgument(){return this._typeInfo.getArgument()}getEnumValue(){return this._typeInfo.getEnumValue()}}t.ValidationContext=ValidationContext},7973:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ExecutableDefinitionsRule",{enumerable:true,get:function(){return i.ExecutableDefinitionsRule}});Object.defineProperty(t,"FieldsOnCorrectTypeRule",{enumerable:true,get:function(){return a.FieldsOnCorrectTypeRule}});Object.defineProperty(t,"FragmentsOnCompositeTypesRule",{enumerable:true,get:function(){return A.FragmentsOnCompositeTypesRule}});Object.defineProperty(t,"KnownArgumentNamesRule",{enumerable:true,get:function(){return c.KnownArgumentNamesRule}});Object.defineProperty(t,"KnownDirectivesRule",{enumerable:true,get:function(){return u.KnownDirectivesRule}});Object.defineProperty(t,"KnownFragmentNamesRule",{enumerable:true,get:function(){return l.KnownFragmentNamesRule}});Object.defineProperty(t,"KnownTypeNamesRule",{enumerable:true,get:function(){return p.KnownTypeNamesRule}});Object.defineProperty(t,"LoneAnonymousOperationRule",{enumerable:true,get:function(){return d.LoneAnonymousOperationRule}});Object.defineProperty(t,"LoneSchemaDefinitionRule",{enumerable:true,get:function(){return N.LoneSchemaDefinitionRule}});Object.defineProperty(t,"MaxIntrospectionDepthRule",{enumerable:true,get:function(){return F.MaxIntrospectionDepthRule}});Object.defineProperty(t,"NoDeprecatedCustomRule",{enumerable:true,get:function(){return V.NoDeprecatedCustomRule}});Object.defineProperty(t,"NoFragmentCyclesRule",{enumerable:true,get:function(){return g.NoFragmentCyclesRule}});Object.defineProperty(t,"NoSchemaIntrospectionCustomRule",{enumerable:true,get:function(){return j.NoSchemaIntrospectionCustomRule}});Object.defineProperty(t,"NoUndefinedVariablesRule",{enumerable:true,get:function(){return h.NoUndefinedVariablesRule}});Object.defineProperty(t,"NoUnusedFragmentsRule",{enumerable:true,get:function(){return E.NoUnusedFragmentsRule}});Object.defineProperty(t,"NoUnusedVariablesRule",{enumerable:true,get:function(){return m.NoUnusedVariablesRule}});Object.defineProperty(t,"OverlappingFieldsCanBeMergedRule",{enumerable:true,get:function(){return I.OverlappingFieldsCanBeMergedRule}});Object.defineProperty(t,"PossibleFragmentSpreadsRule",{enumerable:true,get:function(){return y.PossibleFragmentSpreadsRule}});Object.defineProperty(t,"PossibleTypeExtensionsRule",{enumerable:true,get:function(){return x.PossibleTypeExtensionsRule}});Object.defineProperty(t,"ProvidedRequiredArgumentsRule",{enumerable:true,get:function(){return C.ProvidedRequiredArgumentsRule}});Object.defineProperty(t,"ScalarLeafsRule",{enumerable:true,get:function(){return Q.ScalarLeafsRule}});Object.defineProperty(t,"SingleFieldSubscriptionsRule",{enumerable:true,get:function(){return B.SingleFieldSubscriptionsRule}});Object.defineProperty(t,"UniqueArgumentDefinitionNamesRule",{enumerable:true,get:function(){return P.UniqueArgumentDefinitionNamesRule}});Object.defineProperty(t,"UniqueArgumentNamesRule",{enumerable:true,get:function(){return b.UniqueArgumentNamesRule}});Object.defineProperty(t,"UniqueDirectiveNamesRule",{enumerable:true,get:function(){return M.UniqueDirectiveNamesRule}});Object.defineProperty(t,"UniqueDirectivesPerLocationRule",{enumerable:true,get:function(){return T.UniqueDirectivesPerLocationRule}});Object.defineProperty(t,"UniqueEnumValueNamesRule",{enumerable:true,get:function(){return U.UniqueEnumValueNamesRule}});Object.defineProperty(t,"UniqueFieldDefinitionNamesRule",{enumerable:true,get:function(){return G.UniqueFieldDefinitionNamesRule}});Object.defineProperty(t,"UniqueFragmentNamesRule",{enumerable:true,get:function(){return w.UniqueFragmentNamesRule}});Object.defineProperty(t,"UniqueInputFieldNamesRule",{enumerable:true,get:function(){return v.UniqueInputFieldNamesRule}});Object.defineProperty(t,"UniqueOperationNamesRule",{enumerable:true,get:function(){return R.UniqueOperationNamesRule}});Object.defineProperty(t,"UniqueOperationTypesRule",{enumerable:true,get:function(){return O.UniqueOperationTypesRule}});Object.defineProperty(t,"UniqueTypeNamesRule",{enumerable:true,get:function(){return L.UniqueTypeNamesRule}});Object.defineProperty(t,"UniqueVariableNamesRule",{enumerable:true,get:function(){return k.UniqueVariableNamesRule}});Object.defineProperty(t,"ValidationContext",{enumerable:true,get:function(){return s.ValidationContext}});Object.defineProperty(t,"ValuesOfCorrectTypeRule",{enumerable:true,get:function(){return D.ValuesOfCorrectTypeRule}});Object.defineProperty(t,"VariablesAreInputTypesRule",{enumerable:true,get:function(){return _.VariablesAreInputTypesRule}});Object.defineProperty(t,"VariablesInAllowedPositionRule",{enumerable:true,get:function(){return S.VariablesInAllowedPositionRule}});Object.defineProperty(t,"recommendedRules",{enumerable:true,get:function(){return o.recommendedRules}});Object.defineProperty(t,"specifiedRules",{enumerable:true,get:function(){return o.specifiedRules}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return n.validate}});var n=r(7063);var s=r(8139);var o=r(916);var i=r(5401);var a=r(2153);var A=r(643);var c=r(7663);var u=r(5866);var l=r(5958);var p=r(1574);var d=r(1677);var g=r(2579);var h=r(8873);var E=r(3693);var m=r(9489);var I=r(1646);var y=r(4550);var C=r(1145);var Q=r(4754);var B=r(1705);var b=r(2995);var T=r(9412);var w=r(1914);var v=r(9082);var R=r(4403);var k=r(7837);var D=r(1408);var _=r(6187);var S=r(4186);var F=r(8749);var N=r(2553);var O=r(4234);var L=r(2058);var U=r(3062);var G=r(87);var P=r(6496);var M=r(2260);var x=r(6058);var V=r(5910);var j=r(6787)},5401:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.ExecutableDefinitionsRule=ExecutableDefinitionsRule;var n=r(5939);var s=r(1123);var o=r(5480);function ExecutableDefinitionsRule(e){return{Document(t){for(const r of t.definitions){if(!(0,o.isExecutableDefinitionNode)(r)){const t=r.kind===s.Kind.SCHEMA_DEFINITION||r.kind===s.Kind.SCHEMA_EXTENSION?"schema":'"'+r.name.value+'"';e.reportError(new n.GraphQLError(`The ${t} definition is not executable.`,{nodes:r}))}}return false}}}},2153:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.FieldsOnCorrectTypeRule=FieldsOnCorrectTypeRule;var n=r(1353);var s=r(3428);var o=r(7904);var i=r(5939);var a=r(4169);function FieldsOnCorrectTypeRule(e){return{Field(t){const r=e.getParentType();if(r){const s=e.getFieldDef();if(!s){const s=e.getSchema();const o=t.name.value;let a=(0,n.didYouMean)("to use an inline fragment on",getSuggestedTypeNames(s,r,o));if(a===""){a=(0,n.didYouMean)(getSuggestedFieldNames(r,o))}e.reportError(new i.GraphQLError(`Cannot query field "${o}" on type "${r.name}".`+a,{nodes:t}))}}}}}function getSuggestedTypeNames(e,t,r){if(!(0,a.isAbstractType)(t)){return[]}const n=new Set;const o=Object.create(null);for(const s of e.getPossibleTypes(t)){if(!s.getFields()[r]){continue}n.add(s);o[s.name]=1;for(const e of s.getInterfaces()){var i;if(!e.getFields()[r]){continue}n.add(e);o[e.name]=((i=o[e.name])!==null&&i!==void 0?i:0)+1}}return[...n].sort(((t,r)=>{const n=o[r.name]-o[t.name];if(n!==0){return n}if((0,a.isInterfaceType)(t)&&e.isSubType(t,r)){return-1}if((0,a.isInterfaceType)(r)&&e.isSubType(r,t)){return 1}return(0,s.naturalCompare)(t.name,r.name)})).map((e=>e.name))}function getSuggestedFieldNames(e,t){if((0,a.isObjectType)(e)||(0,a.isInterfaceType)(e)){const r=Object.keys(e.getFields());return(0,o.suggestionList)(t,r)}return[]}},643:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.FragmentsOnCompositeTypesRule=FragmentsOnCompositeTypesRule;var n=r(5939);var s=r(9936);var o=r(4169);var i=r(6738);function FragmentsOnCompositeTypesRule(e){return{InlineFragment(t){const r=t.typeCondition;if(r){const t=(0,i.typeFromAST)(e.getSchema(),r);if(t&&!(0,o.isCompositeType)(t)){const t=(0,s.print)(r);e.reportError(new n.GraphQLError(`Fragment cannot condition on non composite type "${t}".`,{nodes:r}))}}},FragmentDefinition(t){const r=(0,i.typeFromAST)(e.getSchema(),t.typeCondition);if(r&&!(0,o.isCompositeType)(r)){const r=(0,s.print)(t.typeCondition);e.reportError(new n.GraphQLError(`Fragment "${t.name.value}" cannot condition on non composite type "${r}".`,{nodes:t.typeCondition}))}}}}},7663:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.KnownArgumentNamesOnDirectivesRule=KnownArgumentNamesOnDirectivesRule;t.KnownArgumentNamesRule=KnownArgumentNamesRule;var n=r(1353);var s=r(7904);var o=r(5939);var i=r(1123);var a=r(1058);function KnownArgumentNamesRule(e){return{...KnownArgumentNamesOnDirectivesRule(e),Argument(t){const r=e.getArgument();const i=e.getFieldDef();const a=e.getParentType();if(!r&&i&&a){const r=t.name.value;const A=i.args.map((e=>e.name));const c=(0,s.suggestionList)(r,A);e.reportError(new o.GraphQLError(`Unknown argument "${r}" on field "${a.name}.${i.name}".`+(0,n.didYouMean)(c),{nodes:t}))}}}}function KnownArgumentNamesOnDirectivesRule(e){const t=Object.create(null);const r=e.getSchema();const A=r?r.getDirectives():a.specifiedDirectives;for(const e of A){t[e.name]=e.args.map((e=>e.name))}const c=e.getDocument().definitions;for(const e of c){if(e.kind===i.Kind.DIRECTIVE_DEFINITION){var u;const r=(u=e.arguments)!==null&&u!==void 0?u:[];t[e.name.value]=r.map((e=>e.name.value))}}return{Directive(r){const i=r.name.value;const a=t[i];if(r.arguments&&a){for(const t of r.arguments){const r=t.name.value;if(!a.includes(r)){const A=(0,s.suggestionList)(r,a);e.reportError(new o.GraphQLError(`Unknown argument "${r}" on directive "@${i}".`+(0,n.didYouMean)(A),{nodes:t}))}}}return false}}}},5866:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.KnownDirectivesRule=KnownDirectivesRule;var n=r(5742);var s=r(3650);var o=r(5939);var i=r(2740);var a=r(2582);var A=r(1123);var c=r(1058);function KnownDirectivesRule(e){const t=Object.create(null);const r=e.getSchema();const n=r?r.getDirectives():c.specifiedDirectives;for(const e of n){t[e.name]=e.locations}const s=e.getDocument().definitions;for(const e of s){if(e.kind===A.Kind.DIRECTIVE_DEFINITION){t[e.name.value]=e.locations.map((e=>e.value))}}return{Directive(r,n,s,i,a){const A=r.name.value;const c=t[A];if(!c){e.reportError(new o.GraphQLError(`Unknown directive "@${A}".`,{nodes:r}));return}const u=getDirectiveLocationForASTPath(a);if(u&&!c.includes(u)){e.reportError(new o.GraphQLError(`Directive "@${A}" may not be used on ${u}.`,{nodes:r}))}}}}function getDirectiveLocationForASTPath(e){const t=e[e.length-1];"kind"in t||(0,s.invariant)(false);switch(t.kind){case A.Kind.OPERATION_DEFINITION:return getDirectiveLocationForOperation(t.operation);case A.Kind.FIELD:return a.DirectiveLocation.FIELD;case A.Kind.FRAGMENT_SPREAD:return a.DirectiveLocation.FRAGMENT_SPREAD;case A.Kind.INLINE_FRAGMENT:return a.DirectiveLocation.INLINE_FRAGMENT;case A.Kind.FRAGMENT_DEFINITION:return a.DirectiveLocation.FRAGMENT_DEFINITION;case A.Kind.VARIABLE_DEFINITION:return a.DirectiveLocation.VARIABLE_DEFINITION;case A.Kind.SCHEMA_DEFINITION:case A.Kind.SCHEMA_EXTENSION:return a.DirectiveLocation.SCHEMA;case A.Kind.SCALAR_TYPE_DEFINITION:case A.Kind.SCALAR_TYPE_EXTENSION:return a.DirectiveLocation.SCALAR;case A.Kind.OBJECT_TYPE_DEFINITION:case A.Kind.OBJECT_TYPE_EXTENSION:return a.DirectiveLocation.OBJECT;case A.Kind.FIELD_DEFINITION:return a.DirectiveLocation.FIELD_DEFINITION;case A.Kind.INTERFACE_TYPE_DEFINITION:case A.Kind.INTERFACE_TYPE_EXTENSION:return a.DirectiveLocation.INTERFACE;case A.Kind.UNION_TYPE_DEFINITION:case A.Kind.UNION_TYPE_EXTENSION:return a.DirectiveLocation.UNION;case A.Kind.ENUM_TYPE_DEFINITION:case A.Kind.ENUM_TYPE_EXTENSION:return a.DirectiveLocation.ENUM;case A.Kind.ENUM_VALUE_DEFINITION:return a.DirectiveLocation.ENUM_VALUE;case A.Kind.INPUT_OBJECT_TYPE_DEFINITION:case A.Kind.INPUT_OBJECT_TYPE_EXTENSION:return a.DirectiveLocation.INPUT_OBJECT;case A.Kind.INPUT_VALUE_DEFINITION:{const t=e[e.length-3];"kind"in t||(0,s.invariant)(false);return t.kind===A.Kind.INPUT_OBJECT_TYPE_DEFINITION?a.DirectiveLocation.INPUT_FIELD_DEFINITION:a.DirectiveLocation.ARGUMENT_DEFINITION}default:false||(0,s.invariant)(false,"Unexpected kind: "+(0,n.inspect)(t.kind))}}function getDirectiveLocationForOperation(e){switch(e){case i.OperationTypeNode.QUERY:return a.DirectiveLocation.QUERY;case i.OperationTypeNode.MUTATION:return a.DirectiveLocation.MUTATION;case i.OperationTypeNode.SUBSCRIPTION:return a.DirectiveLocation.SUBSCRIPTION}}},5958:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.KnownFragmentNamesRule=KnownFragmentNamesRule;var n=r(5939);function KnownFragmentNamesRule(e){return{FragmentSpread(t){const r=t.name.value;const s=e.getFragment(r);if(!s){e.reportError(new n.GraphQLError(`Unknown fragment "${r}".`,{nodes:t.name}))}}}}},1574:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.KnownTypeNamesRule=KnownTypeNamesRule;var n=r(1353);var s=r(7904);var o=r(5939);var i=r(5480);var a=r(317);var A=r(3571);function KnownTypeNamesRule(e){const t=e.getSchema();const r=t?t.getTypeMap():Object.create(null);const a=Object.create(null);for(const t of e.getDocument().definitions){if((0,i.isTypeDefinitionNode)(t)){a[t.name.value]=true}}const A=[...Object.keys(r),...Object.keys(a)];return{NamedType(t,i,u,l,p){const d=t.name.value;if(!r[d]&&!a[d]){var g;const r=(g=p[2])!==null&&g!==void 0?g:u;const i=r!=null&&isSDLNode(r);if(i&&c.includes(d)){return}const a=(0,s.suggestionList)(d,i?c.concat(A):A);e.reportError(new o.GraphQLError(`Unknown type "${d}".`+(0,n.didYouMean)(a),{nodes:t}))}}}}const c=[...A.specifiedScalarTypes,...a.introspectionTypes].map((e=>e.name));function isSDLNode(e){return"kind"in e&&((0,i.isTypeSystemDefinitionNode)(e)||(0,i.isTypeSystemExtensionNode)(e))}},1677:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.LoneAnonymousOperationRule=LoneAnonymousOperationRule;var n=r(5939);var s=r(1123);function LoneAnonymousOperationRule(e){let t=0;return{Document(e){t=e.definitions.filter((e=>e.kind===s.Kind.OPERATION_DEFINITION)).length},OperationDefinition(r){if(!r.name&&t>1){e.reportError(new n.GraphQLError("This anonymous operation must be the only defined operation.",{nodes:r}))}}}}},2553:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.LoneSchemaDefinitionRule=LoneSchemaDefinitionRule;var n=r(5939);function LoneSchemaDefinitionRule(e){var t,r,s;const o=e.getSchema();const i=(t=(r=(s=o===null||o===void 0?void 0:o.astNode)!==null&&s!==void 0?s:o===null||o===void 0?void 0:o.getQueryType())!==null&&r!==void 0?r:o===null||o===void 0?void 0:o.getMutationType())!==null&&t!==void 0?t:o===null||o===void 0?void 0:o.getSubscriptionType();let a=0;return{SchemaDefinition(t){if(i){e.reportError(new n.GraphQLError("Cannot define a new schema within a schema extension.",{nodes:t}));return}if(a>0){e.reportError(new n.GraphQLError("Must provide only one schema definition.",{nodes:t}))}++a}}}},8749:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.MaxIntrospectionDepthRule=MaxIntrospectionDepthRule;var n=r(5939);var s=r(1123);const o=3;function MaxIntrospectionDepthRule(e){function checkDepth(t,r=Object.create(null),n=0){if(t.kind===s.Kind.FRAGMENT_SPREAD){const s=t.name.value;if(r[s]===true){return false}const o=e.getFragment(s);if(!o){return false}try{r[s]=true;return checkDepth(o,r,n)}finally{r[s]=undefined}}if(t.kind===s.Kind.FIELD&&(t.name.value==="fields"||t.name.value==="interfaces"||t.name.value==="possibleTypes"||t.name.value==="inputFields")){n++;if(n>=o){return true}}if("selectionSet"in t&&t.selectionSet){for(const e of t.selectionSet.selections){if(checkDepth(e,r,n)){return true}}}return false}return{Field(t){if(t.name.value==="__schema"||t.name.value==="__type"){if(checkDepth(t)){e.reportError(new n.GraphQLError("Maximum introspection depth exceeded",{nodes:[t]}));return false}}}}}},2579:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.NoFragmentCyclesRule=NoFragmentCyclesRule;var n=r(5939);function NoFragmentCyclesRule(e){const t=Object.create(null);const r=[];const s=Object.create(null);return{OperationDefinition:()=>false,FragmentDefinition(e){detectCycleRecursive(e);return false}};function detectCycleRecursive(o){if(t[o.name.value]){return}const i=o.name.value;t[i]=true;const a=e.getFragmentSpreads(o.selectionSet);if(a.length===0){return}s[i]=r.length;for(const t of a){const o=t.name.value;const i=s[o];r.push(t);if(i===undefined){const t=e.getFragment(o);if(t){detectCycleRecursive(t)}}else{const t=r.slice(i);const s=t.slice(0,-1).map((e=>'"'+e.name.value+'"')).join(", ");e.reportError(new n.GraphQLError(`Cannot spread fragment "${o}" within itself`+(s!==""?` via ${s}.`:"."),{nodes:t}))}r.pop()}s[i]=undefined}}},8873:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.NoUndefinedVariablesRule=NoUndefinedVariablesRule;var n=r(5939);function NoUndefinedVariablesRule(e){let t=Object.create(null);return{OperationDefinition:{enter(){t=Object.create(null)},leave(r){const s=e.getRecursiveVariableUsages(r);for(const{node:o}of s){const s=o.name.value;if(t[s]!==true){e.reportError(new n.GraphQLError(r.name?`Variable "$${s}" is not defined by operation "${r.name.value}".`:`Variable "$${s}" is not defined.`,{nodes:[o,r]}))}}}},VariableDefinition(e){t[e.variable.name.value]=true}}}},3693:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.NoUnusedFragmentsRule=NoUnusedFragmentsRule;var n=r(5939);function NoUnusedFragmentsRule(e){const t=[];const r=[];return{OperationDefinition(e){t.push(e);return false},FragmentDefinition(e){r.push(e);return false},Document:{leave(){const s=Object.create(null);for(const r of t){for(const t of e.getRecursivelyReferencedFragments(r)){s[t.name.value]=true}}for(const t of r){const r=t.name.value;if(s[r]!==true){e.reportError(new n.GraphQLError(`Fragment "${r}" is never used.`,{nodes:t}))}}}}}}},9489:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.NoUnusedVariablesRule=NoUnusedVariablesRule;var n=r(5939);function NoUnusedVariablesRule(e){let t=[];return{OperationDefinition:{enter(){t=[]},leave(r){const s=Object.create(null);const o=e.getRecursiveVariableUsages(r);for(const{node:e}of o){s[e.name.value]=true}for(const o of t){const t=o.variable.name.value;if(s[t]!==true){e.reportError(new n.GraphQLError(r.name?`Variable "$${t}" is never used in operation "${r.name.value}".`:`Variable "$${t}" is never used.`,{nodes:o}))}}}},VariableDefinition(e){t.push(e)}}}},1646:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.OverlappingFieldsCanBeMergedRule=OverlappingFieldsCanBeMergedRule;var n=r(5742);var s=r(5939);var o=r(1123);var i=r(9936);var a=r(4169);var A=r(7287);var c=r(6738);function reasonMessage(e){if(Array.isArray(e)){return e.map((([e,t])=>`subfields "${e}" conflict because `+reasonMessage(t))).join(" and ")}return e}function OverlappingFieldsCanBeMergedRule(e){const t=new PairSet;const r=new Map;return{SelectionSet(n){const o=findConflictsWithinSelectionSet(e,r,t,e.getParentType(),n);for(const[[t,r],n,i]of o){const o=reasonMessage(r);e.reportError(new s.GraphQLError(`Fields "${t}" conflict because ${o}. Use different aliases on the fields to fetch both if this was intentional.`,{nodes:n.concat(i)}))}}}}function findConflictsWithinSelectionSet(e,t,r,n,s){const o=[];const[i,a]=getFieldsAndFragmentNames(e,t,n,s);collectConflictsWithin(e,o,t,r,i);if(a.length!==0){for(let n=0;n1){for(let s=0;s[e.value,t])));return r.every((e=>{const t=e.value;const r=s.get(e.name.value);if(r===undefined){return false}return stringifyValue(t)===stringifyValue(r)}))}function stringifyValue(e){return(0,i.print)((0,A.sortValueNode)(e))}function doTypesConflict(e,t){if((0,a.isListType)(e)){return(0,a.isListType)(t)?doTypesConflict(e.ofType,t.ofType):true}if((0,a.isListType)(t)){return true}if((0,a.isNonNullType)(e)){return(0,a.isNonNullType)(t)?doTypesConflict(e.ofType,t.ofType):true}if((0,a.isNonNullType)(t)){return true}if((0,a.isLeafType)(e)||(0,a.isLeafType)(t)){return e!==t}return false}function getFieldsAndFragmentNames(e,t,r,n){const s=t.get(n);if(s){return s}const o=Object.create(null);const i=Object.create(null);_collectFieldsAndFragmentNames(e,r,n,o,i);const a=[o,Object.keys(i)];t.set(n,a);return a}function getReferencedFieldsAndFragmentNames(e,t,r){const n=t.get(r.selectionSet);if(n){return n}const s=(0,c.typeFromAST)(e.getSchema(),r.typeCondition);return getFieldsAndFragmentNames(e,t,s,r.selectionSet)}function _collectFieldsAndFragmentNames(e,t,r,n,s){for(const i of r.selections){switch(i.kind){case o.Kind.FIELD:{const e=i.name.value;let r;if((0,a.isObjectType)(t)||(0,a.isInterfaceType)(t)){r=t.getFields()[e]}const s=i.alias?i.alias.value:e;if(!n[s]){n[s]=[]}n[s].push([t,i,r]);break}case o.Kind.FRAGMENT_SPREAD:s[i.name.value]=true;break;case o.Kind.INLINE_FRAGMENT:{const r=i.typeCondition;const o=r?(0,c.typeFromAST)(e.getSchema(),r):t;_collectFieldsAndFragmentNames(e,o,i.selectionSet,n,s);break}}}}function subfieldConflicts(e,t,r,n){if(e.length>0){return[[t,e.map((([e])=>e))],[r,...e.map((([,e])=>e)).flat()],[n,...e.map((([,,e])=>e)).flat()]]}}class PairSet{constructor(){this._data=new Map}has(e,t,r){var n;const[s,o]=e{Object.defineProperty(t,"__esModule",{value:true});t.PossibleFragmentSpreadsRule=PossibleFragmentSpreadsRule;var n=r(5742);var s=r(5939);var o=r(4169);var i=r(6539);var a=r(6738);function PossibleFragmentSpreadsRule(e){return{InlineFragment(t){const r=e.getType();const a=e.getParentType();if((0,o.isCompositeType)(r)&&(0,o.isCompositeType)(a)&&!(0,i.doTypesOverlap)(e.getSchema(),r,a)){const o=(0,n.inspect)(a);const i=(0,n.inspect)(r);e.reportError(new s.GraphQLError(`Fragment cannot be spread here as objects of type "${o}" can never be of type "${i}".`,{nodes:t}))}},FragmentSpread(t){const r=t.name.value;const o=getFragmentType(e,r);const a=e.getParentType();if(o&&a&&!(0,i.doTypesOverlap)(e.getSchema(),o,a)){const i=(0,n.inspect)(a);const A=(0,n.inspect)(o);e.reportError(new s.GraphQLError(`Fragment "${r}" cannot be spread here as objects of type "${i}" can never be of type "${A}".`,{nodes:t}))}}}}function getFragmentType(e,t){const r=e.getFragment(t);if(r){const t=(0,a.typeFromAST)(e.getSchema(),r.typeCondition);if((0,o.isCompositeType)(t)){return t}}}},6058:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.PossibleTypeExtensionsRule=PossibleTypeExtensionsRule;var n=r(1353);var s=r(5742);var o=r(3650);var i=r(7904);var a=r(5939);var A=r(1123);var c=r(5480);var u=r(4169);function PossibleTypeExtensionsRule(e){const t=e.getSchema();const r=Object.create(null);for(const t of e.getDocument().definitions){if((0,c.isTypeDefinitionNode)(t)){r[t.name.value]=t}}return{ScalarTypeExtension:checkExtension,ObjectTypeExtension:checkExtension,InterfaceTypeExtension:checkExtension,UnionTypeExtension:checkExtension,EnumTypeExtension:checkExtension,InputObjectTypeExtension:checkExtension};function checkExtension(s){const o=s.name.value;const A=r[o];const c=t===null||t===void 0?void 0:t.getType(o);let u;if(A){u=l[A.kind]}else if(c){u=typeToExtKind(c)}if(u){if(u!==s.kind){const t=extensionKindToTypeName(s.kind);e.reportError(new a.GraphQLError(`Cannot extend non-${t} type "${o}".`,{nodes:A?[A,s]:s}))}}else{const A=Object.keys({...r,...t===null||t===void 0?void 0:t.getTypeMap()});const c=(0,i.suggestionList)(o,A);e.reportError(new a.GraphQLError(`Cannot extend type "${o}" because it is not defined.`+(0,n.didYouMean)(c),{nodes:s.name}))}}}const l={[A.Kind.SCALAR_TYPE_DEFINITION]:A.Kind.SCALAR_TYPE_EXTENSION,[A.Kind.OBJECT_TYPE_DEFINITION]:A.Kind.OBJECT_TYPE_EXTENSION,[A.Kind.INTERFACE_TYPE_DEFINITION]:A.Kind.INTERFACE_TYPE_EXTENSION,[A.Kind.UNION_TYPE_DEFINITION]:A.Kind.UNION_TYPE_EXTENSION,[A.Kind.ENUM_TYPE_DEFINITION]:A.Kind.ENUM_TYPE_EXTENSION,[A.Kind.INPUT_OBJECT_TYPE_DEFINITION]:A.Kind.INPUT_OBJECT_TYPE_EXTENSION};function typeToExtKind(e){if((0,u.isScalarType)(e)){return A.Kind.SCALAR_TYPE_EXTENSION}if((0,u.isObjectType)(e)){return A.Kind.OBJECT_TYPE_EXTENSION}if((0,u.isInterfaceType)(e)){return A.Kind.INTERFACE_TYPE_EXTENSION}if((0,u.isUnionType)(e)){return A.Kind.UNION_TYPE_EXTENSION}if((0,u.isEnumType)(e)){return A.Kind.ENUM_TYPE_EXTENSION}if((0,u.isInputObjectType)(e)){return A.Kind.INPUT_OBJECT_TYPE_EXTENSION}false||(0,o.invariant)(false,"Unexpected type: "+(0,s.inspect)(e))}function extensionKindToTypeName(e){switch(e){case A.Kind.SCALAR_TYPE_EXTENSION:return"scalar";case A.Kind.OBJECT_TYPE_EXTENSION:return"object";case A.Kind.INTERFACE_TYPE_EXTENSION:return"interface";case A.Kind.UNION_TYPE_EXTENSION:return"union";case A.Kind.ENUM_TYPE_EXTENSION:return"enum";case A.Kind.INPUT_OBJECT_TYPE_EXTENSION:return"input object";default:false||(0,o.invariant)(false,"Unexpected kind: "+(0,s.inspect)(e))}}},1145:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.ProvidedRequiredArgumentsOnDirectivesRule=ProvidedRequiredArgumentsOnDirectivesRule;t.ProvidedRequiredArgumentsRule=ProvidedRequiredArgumentsRule;var n=r(5742);var s=r(7579);var o=r(5939);var i=r(1123);var a=r(9936);var A=r(4169);var c=r(1058);function ProvidedRequiredArgumentsRule(e){return{...ProvidedRequiredArgumentsOnDirectivesRule(e),Field:{leave(t){var r;const s=e.getFieldDef();if(!s){return false}const i=new Set((r=t.arguments)===null||r===void 0?void 0:r.map((e=>e.name.value)));for(const r of s.args){if(!i.has(r.name)&&(0,A.isRequiredArgument)(r)){const i=(0,n.inspect)(r.type);e.reportError(new o.GraphQLError(`Field "${s.name}" argument "${r.name}" of type "${i}" is required, but it was not provided.`,{nodes:t}))}}}}}}function ProvidedRequiredArgumentsOnDirectivesRule(e){var t;const r=Object.create(null);const u=e.getSchema();const l=(t=u===null||u===void 0?void 0:u.getDirectives())!==null&&t!==void 0?t:c.specifiedDirectives;for(const e of l){r[e.name]=(0,s.keyMap)(e.args.filter(A.isRequiredArgument),(e=>e.name))}const p=e.getDocument().definitions;for(const e of p){if(e.kind===i.Kind.DIRECTIVE_DEFINITION){var d;const t=(d=e.arguments)!==null&&d!==void 0?d:[];r[e.name.value]=(0,s.keyMap)(t.filter(isRequiredArgumentNode),(e=>e.name.value))}}return{Directive:{leave(t){const s=t.name.value;const i=r[s];if(i){var c;const r=(c=t.arguments)!==null&&c!==void 0?c:[];const u=new Set(r.map((e=>e.name.value)));for(const[r,c]of Object.entries(i)){if(!u.has(r)){const i=(0,A.isType)(c.type)?(0,n.inspect)(c.type):(0,a.print)(c.type);e.reportError(new o.GraphQLError(`Directive "@${s}" argument "${r}" of type "${i}" is required, but it was not provided.`,{nodes:t}))}}}}}}}function isRequiredArgumentNode(e){return e.type.kind===i.Kind.NON_NULL_TYPE&&e.defaultValue==null}},4754:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.ScalarLeafsRule=ScalarLeafsRule;var n=r(5742);var s=r(5939);var o=r(4169);function ScalarLeafsRule(e){return{Field(t){const r=e.getType();const i=t.selectionSet;if(r){if((0,o.isLeafType)((0,o.getNamedType)(r))){if(i){const o=t.name.value;const a=(0,n.inspect)(r);e.reportError(new s.GraphQLError(`Field "${o}" must not have a selection since type "${a}" has no subfields.`,{nodes:i}))}}else if(!i){const o=t.name.value;const i=(0,n.inspect)(r);e.reportError(new s.GraphQLError(`Field "${o}" of type "${i}" must have a selection of subfields. Did you mean "${o} { ... }"?`,{nodes:t}))}}}}}},1705:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.SingleFieldSubscriptionsRule=SingleFieldSubscriptionsRule;var n=r(5939);var s=r(1123);var o=r(7611);function SingleFieldSubscriptionsRule(e){return{OperationDefinition(t){if(t.operation==="subscription"){const r=e.getSchema();const i=r.getSubscriptionType();if(i){const a=t.name?t.name.value:null;const A=Object.create(null);const c=e.getDocument();const u=Object.create(null);for(const e of c.definitions){if(e.kind===s.Kind.FRAGMENT_DEFINITION){u[e.name.value]=e}}const l=(0,o.collectFields)(r,u,A,i,t.selectionSet);if(l.size>1){const t=[...l.values()];const r=t.slice(1);const s=r.flat();e.reportError(new n.GraphQLError(a!=null?`Subscription "${a}" must select only one top level field.`:"Anonymous Subscription must select only one top level field.",{nodes:s}))}for(const t of l.values()){const r=t[0];const s=r.name.value;if(s.startsWith("__")){e.reportError(new n.GraphQLError(a!=null?`Subscription "${a}" must not select an introspection top level field.`:"Anonymous Subscription must not select an introspection top level field.",{nodes:t}))}}}}}}}},6496:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.UniqueArgumentDefinitionNamesRule=UniqueArgumentDefinitionNamesRule;var n=r(8520);var s=r(5939);function UniqueArgumentDefinitionNamesRule(e){return{DirectiveDefinition(e){var t;const r=(t=e.arguments)!==null&&t!==void 0?t:[];return checkArgUniqueness(`@${e.name.value}`,r)},InterfaceTypeDefinition:checkArgUniquenessPerField,InterfaceTypeExtension:checkArgUniquenessPerField,ObjectTypeDefinition:checkArgUniquenessPerField,ObjectTypeExtension:checkArgUniquenessPerField};function checkArgUniquenessPerField(e){var t;const r=e.name.value;const n=(t=e.fields)!==null&&t!==void 0?t:[];for(const e of n){var s;const t=e.name.value;const n=(s=e.arguments)!==null&&s!==void 0?s:[];checkArgUniqueness(`${r}.${t}`,n)}return false}function checkArgUniqueness(t,r){const o=(0,n.groupBy)(r,(e=>e.name.value));for(const[r,n]of o){if(n.length>1){e.reportError(new s.GraphQLError(`Argument "${t}(${r}:)" can only be defined once.`,{nodes:n.map((e=>e.name))}))}}return false}}},2995:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.UniqueArgumentNamesRule=UniqueArgumentNamesRule;var n=r(8520);var s=r(5939);function UniqueArgumentNamesRule(e){return{Field:checkArgUniqueness,Directive:checkArgUniqueness};function checkArgUniqueness(t){var r;const o=(r=t.arguments)!==null&&r!==void 0?r:[];const i=(0,n.groupBy)(o,(e=>e.name.value));for(const[t,r]of i){if(r.length>1){e.reportError(new s.GraphQLError(`There can be only one argument named "${t}".`,{nodes:r.map((e=>e.name))}))}}}}},2260:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.UniqueDirectiveNamesRule=UniqueDirectiveNamesRule;var n=r(5939);function UniqueDirectiveNamesRule(e){const t=Object.create(null);const r=e.getSchema();return{DirectiveDefinition(s){const o=s.name.value;if(r!==null&&r!==void 0&&r.getDirective(o)){e.reportError(new n.GraphQLError(`Directive "@${o}" already exists in the schema. It cannot be redefined.`,{nodes:s.name}));return}if(t[o]){e.reportError(new n.GraphQLError(`There can be only one directive named "@${o}".`,{nodes:[t[o],s.name]}))}else{t[o]=s.name}return false}}}},9412:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.UniqueDirectivesPerLocationRule=UniqueDirectivesPerLocationRule;var n=r(5939);var s=r(1123);var o=r(5480);var i=r(1058);function UniqueDirectivesPerLocationRule(e){const t=Object.create(null);const r=e.getSchema();const a=r?r.getDirectives():i.specifiedDirectives;for(const e of a){t[e.name]=!e.isRepeatable}const A=e.getDocument().definitions;for(const e of A){if(e.kind===s.Kind.DIRECTIVE_DEFINITION){t[e.name.value]=!e.repeatable}}const c=Object.create(null);const u=Object.create(null);return{enter(r){if(!("directives"in r)||!r.directives){return}let i;if(r.kind===s.Kind.SCHEMA_DEFINITION||r.kind===s.Kind.SCHEMA_EXTENSION){i=c}else if((0,o.isTypeDefinitionNode)(r)||(0,o.isTypeExtensionNode)(r)){const e=r.name.value;i=u[e];if(i===undefined){u[e]=i=Object.create(null)}}else{i=Object.create(null)}for(const s of r.directives){const r=s.name.value;if(t[r]){if(i[r]){e.reportError(new n.GraphQLError(`The directive "@${r}" can only be used once at this location.`,{nodes:[i[r],s]}))}else{i[r]=s}}}}}}},3062:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.UniqueEnumValueNamesRule=UniqueEnumValueNamesRule;var n=r(5939);var s=r(4169);function UniqueEnumValueNamesRule(e){const t=e.getSchema();const r=t?t.getTypeMap():Object.create(null);const o=Object.create(null);return{EnumTypeDefinition:checkValueUniqueness,EnumTypeExtension:checkValueUniqueness};function checkValueUniqueness(t){var i;const a=t.name.value;if(!o[a]){o[a]=Object.create(null)}const A=(i=t.values)!==null&&i!==void 0?i:[];const c=o[a];for(const t of A){const o=t.name.value;const i=r[a];if((0,s.isEnumType)(i)&&i.getValue(o)){e.reportError(new n.GraphQLError(`Enum value "${a}.${o}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:t.name}))}else if(c[o]){e.reportError(new n.GraphQLError(`Enum value "${a}.${o}" can only be defined once.`,{nodes:[c[o],t.name]}))}else{c[o]=t.name}}return false}}},87:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.UniqueFieldDefinitionNamesRule=UniqueFieldDefinitionNamesRule;var n=r(5939);var s=r(4169);function UniqueFieldDefinitionNamesRule(e){const t=e.getSchema();const r=t?t.getTypeMap():Object.create(null);const s=Object.create(null);return{InputObjectTypeDefinition:checkFieldUniqueness,InputObjectTypeExtension:checkFieldUniqueness,InterfaceTypeDefinition:checkFieldUniqueness,InterfaceTypeExtension:checkFieldUniqueness,ObjectTypeDefinition:checkFieldUniqueness,ObjectTypeExtension:checkFieldUniqueness};function checkFieldUniqueness(t){var o;const i=t.name.value;if(!s[i]){s[i]=Object.create(null)}const a=(o=t.fields)!==null&&o!==void 0?o:[];const A=s[i];for(const t of a){const s=t.name.value;if(hasField(r[i],s)){e.reportError(new n.GraphQLError(`Field "${i}.${s}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:t.name}))}else if(A[s]){e.reportError(new n.GraphQLError(`Field "${i}.${s}" can only be defined once.`,{nodes:[A[s],t.name]}))}else{A[s]=t.name}}return false}}function hasField(e,t){if((0,s.isObjectType)(e)||(0,s.isInterfaceType)(e)||(0,s.isInputObjectType)(e)){return e.getFields()[t]!=null}return false}},1914:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.UniqueFragmentNamesRule=UniqueFragmentNamesRule;var n=r(5939);function UniqueFragmentNamesRule(e){const t=Object.create(null);return{OperationDefinition:()=>false,FragmentDefinition(r){const s=r.name.value;if(t[s]){e.reportError(new n.GraphQLError(`There can be only one fragment named "${s}".`,{nodes:[t[s],r.name]}))}else{t[s]=r.name}return false}}}},9082:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.UniqueInputFieldNamesRule=UniqueInputFieldNamesRule;var n=r(3650);var s=r(5939);function UniqueInputFieldNamesRule(e){const t=[];let r=Object.create(null);return{ObjectValue:{enter(){t.push(r);r=Object.create(null)},leave(){const e=t.pop();e||(0,n.invariant)(false);r=e}},ObjectField(t){const n=t.name.value;if(r[n]){e.reportError(new s.GraphQLError(`There can be only one input field named "${n}".`,{nodes:[r[n],t.name]}))}else{r[n]=t.name}}}}},4403:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.UniqueOperationNamesRule=UniqueOperationNamesRule;var n=r(5939);function UniqueOperationNamesRule(e){const t=Object.create(null);return{OperationDefinition(r){const s=r.name;if(s){if(t[s.value]){e.reportError(new n.GraphQLError(`There can be only one operation named "${s.value}".`,{nodes:[t[s.value],s]}))}else{t[s.value]=s}}return false},FragmentDefinition:()=>false}}},4234:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.UniqueOperationTypesRule=UniqueOperationTypesRule;var n=r(5939);function UniqueOperationTypesRule(e){const t=e.getSchema();const r=Object.create(null);const s=t?{query:t.getQueryType(),mutation:t.getMutationType(),subscription:t.getSubscriptionType()}:{};return{SchemaDefinition:checkOperationTypes,SchemaExtension:checkOperationTypes};function checkOperationTypes(t){var o;const i=(o=t.operationTypes)!==null&&o!==void 0?o:[];for(const t of i){const o=t.operation;const i=r[o];if(s[o]){e.reportError(new n.GraphQLError(`Type for ${o} already defined in the schema. It cannot be redefined.`,{nodes:t}))}else if(i){e.reportError(new n.GraphQLError(`There can be only one ${o} type in schema.`,{nodes:[i,t]}))}else{r[o]=t}}return false}}},2058:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.UniqueTypeNamesRule=UniqueTypeNamesRule;var n=r(5939);function UniqueTypeNamesRule(e){const t=Object.create(null);const r=e.getSchema();return{ScalarTypeDefinition:checkTypeName,ObjectTypeDefinition:checkTypeName,InterfaceTypeDefinition:checkTypeName,UnionTypeDefinition:checkTypeName,EnumTypeDefinition:checkTypeName,InputObjectTypeDefinition:checkTypeName};function checkTypeName(s){const o=s.name.value;if(r!==null&&r!==void 0&&r.getType(o)){e.reportError(new n.GraphQLError(`Type "${o}" already exists in the schema. It cannot also be defined in this type definition.`,{nodes:s.name}));return}if(t[o]){e.reportError(new n.GraphQLError(`There can be only one type named "${o}".`,{nodes:[t[o],s.name]}))}else{t[o]=s.name}return false}}},7837:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.UniqueVariableNamesRule=UniqueVariableNamesRule;var n=r(8520);var s=r(5939);function UniqueVariableNamesRule(e){return{OperationDefinition(t){var r;const o=(r=t.variableDefinitions)!==null&&r!==void 0?r:[];const i=(0,n.groupBy)(o,(e=>e.variable.name.value));for(const[t,r]of i){if(r.length>1){e.reportError(new s.GraphQLError(`There can be only one variable named "$${t}".`,{nodes:r.map((e=>e.variable.name))}))}}}}}},1408:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.ValuesOfCorrectTypeRule=ValuesOfCorrectTypeRule;var n=r(1353);var s=r(5742);var o=r(7579);var i=r(7904);var a=r(5939);var A=r(1123);var c=r(9936);var u=r(4169);function ValuesOfCorrectTypeRule(e){let t={};return{OperationDefinition:{enter(){t={}}},VariableDefinition(e){t[e.variable.name.value]=e},ListValue(t){const r=(0,u.getNullableType)(e.getParentInputType());if(!(0,u.isListType)(r)){isValidValueNode(e,t);return false}},ObjectValue(r){const n=(0,u.getNamedType)(e.getInputType());if(!(0,u.isInputObjectType)(n)){isValidValueNode(e,r);return false}const i=(0,o.keyMap)(r.fields,(e=>e.name.value));for(const t of Object.values(n.getFields())){const o=i[t.name];if(!o&&(0,u.isRequiredInputField)(t)){const o=(0,s.inspect)(t.type);e.reportError(new a.GraphQLError(`Field "${n.name}.${t.name}" of required type "${o}" was not provided.`,{nodes:r}))}}if(n.isOneOf){validateOneOfInputObject(e,r,n,i,t)}},ObjectField(t){const r=(0,u.getNamedType)(e.getParentInputType());const s=e.getInputType();if(!s&&(0,u.isInputObjectType)(r)){const s=(0,i.suggestionList)(t.name.value,Object.keys(r.getFields()));e.reportError(new a.GraphQLError(`Field "${t.name.value}" is not defined by type "${r.name}".`+(0,n.didYouMean)(s),{nodes:t}))}},NullValue(t){const r=e.getInputType();if((0,u.isNonNullType)(r)){e.reportError(new a.GraphQLError(`Expected value of type "${(0,s.inspect)(r)}", found ${(0,c.print)(t)}.`,{nodes:t}))}},EnumValue:t=>isValidValueNode(e,t),IntValue:t=>isValidValueNode(e,t),FloatValue:t=>isValidValueNode(e,t),StringValue:t=>isValidValueNode(e,t),BooleanValue:t=>isValidValueNode(e,t)}}function isValidValueNode(e,t){const r=e.getInputType();if(!r){return}const n=(0,u.getNamedType)(r);if(!(0,u.isLeafType)(n)){const n=(0,s.inspect)(r);e.reportError(new a.GraphQLError(`Expected value of type "${n}", found ${(0,c.print)(t)}.`,{nodes:t}));return}try{const o=n.parseLiteral(t,undefined);if(o===undefined){const n=(0,s.inspect)(r);e.reportError(new a.GraphQLError(`Expected value of type "${n}", found ${(0,c.print)(t)}.`,{nodes:t}))}}catch(n){const o=(0,s.inspect)(r);if(n instanceof a.GraphQLError){e.reportError(n)}else{e.reportError(new a.GraphQLError(`Expected value of type "${o}", found ${(0,c.print)(t)}; `+n.message,{nodes:t,originalError:n}))}}}function validateOneOfInputObject(e,t,r,n,s){var o;const i=Object.keys(n);const c=i.length!==1;if(c){e.reportError(new a.GraphQLError(`OneOf Input Object "${r.name}" must specify exactly one key.`,{nodes:[t]}));return}const u=(o=n[i[0]])===null||o===void 0?void 0:o.value;const l=!u||u.kind===A.Kind.NULL;const p=(u===null||u===void 0?void 0:u.kind)===A.Kind.VARIABLE;if(l){e.reportError(new a.GraphQLError(`Field "${r.name}.${i[0]}" must be non-null.`,{nodes:[t]}));return}if(p){const n=u.name.value;const o=s[n];const i=o.type.kind!==A.Kind.NON_NULL_TYPE;if(i){e.reportError(new a.GraphQLError(`Variable "${n}" must be non-nullable to be used for OneOf Input Object "${r.name}".`,{nodes:[t]}))}}}},6187:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.VariablesAreInputTypesRule=VariablesAreInputTypesRule;var n=r(5939);var s=r(9936);var o=r(4169);var i=r(6738);function VariablesAreInputTypesRule(e){return{VariableDefinition(t){const r=(0,i.typeFromAST)(e.getSchema(),t.type);if(r!==undefined&&!(0,o.isInputType)(r)){const r=t.variable.name.value;const o=(0,s.print)(t.type);e.reportError(new n.GraphQLError(`Variable "$${r}" cannot be non-input type "${o}".`,{nodes:t.type}))}}}}},4186:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.VariablesInAllowedPositionRule=VariablesInAllowedPositionRule;var n=r(5742);var s=r(5939);var o=r(1123);var i=r(4169);var a=r(6539);var A=r(6738);function VariablesInAllowedPositionRule(e){let t=Object.create(null);return{OperationDefinition:{enter(){t=Object.create(null)},leave(r){const o=e.getRecursiveVariableUsages(r);for(const{node:r,type:i,defaultValue:a}of o){const o=r.name.value;const c=t[o];if(c&&i){const t=e.getSchema();const u=(0,A.typeFromAST)(t,c.type);if(u&&!allowedVariableUsage(t,u,c.defaultValue,i,a)){const t=(0,n.inspect)(u);const a=(0,n.inspect)(i);e.reportError(new s.GraphQLError(`Variable "$${o}" of type "${t}" used in position expecting type "${a}".`,{nodes:[c,r]}))}}}}},VariableDefinition(e){t[e.variable.name.value]=e}}}function allowedVariableUsage(e,t,r,n,s){if((0,i.isNonNullType)(n)&&!(0,i.isNonNullType)(t)){const i=r!=null&&r.kind!==o.Kind.NULL;const A=s!==undefined;if(!i&&!A){return false}const c=n.ofType;return(0,a.isTypeSubTypeOf)(e,t,c)}return(0,a.isTypeSubTypeOf)(e,t,n)}},5910:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.NoDeprecatedCustomRule=NoDeprecatedCustomRule;var n=r(3650);var s=r(5939);var o=r(4169);function NoDeprecatedCustomRule(e){return{Field(t){const r=e.getFieldDef();const o=r===null||r===void 0?void 0:r.deprecationReason;if(r&&o!=null){const i=e.getParentType();i!=null||(0,n.invariant)(false);e.reportError(new s.GraphQLError(`The field ${i.name}.${r.name} is deprecated. ${o}`,{nodes:t}))}},Argument(t){const r=e.getArgument();const o=r===null||r===void 0?void 0:r.deprecationReason;if(r&&o!=null){const i=e.getDirective();if(i!=null){e.reportError(new s.GraphQLError(`Directive "@${i.name}" argument "${r.name}" is deprecated. ${o}`,{nodes:t}))}else{const i=e.getParentType();const a=e.getFieldDef();i!=null&&a!=null||(0,n.invariant)(false);e.reportError(new s.GraphQLError(`Field "${i.name}.${a.name}" argument "${r.name}" is deprecated. ${o}`,{nodes:t}))}}},ObjectField(t){const r=(0,o.getNamedType)(e.getParentInputType());if((0,o.isInputObjectType)(r)){const n=r.getFields()[t.name.value];const o=n===null||n===void 0?void 0:n.deprecationReason;if(o!=null){e.reportError(new s.GraphQLError(`The input field ${r.name}.${n.name} is deprecated. ${o}`,{nodes:t}))}}},EnumValue(t){const r=e.getEnumValue();const i=r===null||r===void 0?void 0:r.deprecationReason;if(r&&i!=null){const a=(0,o.getNamedType)(e.getInputType());a!=null||(0,n.invariant)(false);e.reportError(new s.GraphQLError(`The enum value "${a.name}.${r.name}" is deprecated. ${i}`,{nodes:t}))}}}}},6787:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.NoSchemaIntrospectionCustomRule=NoSchemaIntrospectionCustomRule;var n=r(5939);var s=r(4169);var o=r(317);function NoSchemaIntrospectionCustomRule(e){return{Field(t){const r=(0,s.getNamedType)(e.getType());if(r&&(0,o.isIntrospectionType)(r)){e.reportError(new n.GraphQLError(`GraphQL introspection has been disabled, but the requested query contained the field "${t.name.value}".`,{nodes:t}))}}}}},916:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.specifiedSDLRules=t.specifiedRules=t.recommendedRules=void 0;var n=r(5401);var s=r(2153);var o=r(643);var i=r(7663);var a=r(5866);var A=r(5958);var c=r(1574);var u=r(1677);var l=r(2553);var p=r(8749);var d=r(2579);var g=r(8873);var h=r(3693);var E=r(9489);var m=r(1646);var I=r(4550);var y=r(6058);var C=r(1145);var Q=r(4754);var B=r(1705);var b=r(6496);var T=r(2995);var w=r(2260);var v=r(9412);var R=r(3062);var k=r(87);var D=r(1914);var _=r(9082);var S=r(4403);var F=r(4234);var N=r(2058);var O=r(7837);var L=r(1408);var U=r(6187);var G=r(4186);const P=Object.freeze([p.MaxIntrospectionDepthRule]);t.recommendedRules=P;const M=Object.freeze([n.ExecutableDefinitionsRule,S.UniqueOperationNamesRule,u.LoneAnonymousOperationRule,B.SingleFieldSubscriptionsRule,c.KnownTypeNamesRule,o.FragmentsOnCompositeTypesRule,U.VariablesAreInputTypesRule,Q.ScalarLeafsRule,s.FieldsOnCorrectTypeRule,D.UniqueFragmentNamesRule,A.KnownFragmentNamesRule,h.NoUnusedFragmentsRule,I.PossibleFragmentSpreadsRule,d.NoFragmentCyclesRule,O.UniqueVariableNamesRule,g.NoUndefinedVariablesRule,E.NoUnusedVariablesRule,a.KnownDirectivesRule,v.UniqueDirectivesPerLocationRule,i.KnownArgumentNamesRule,T.UniqueArgumentNamesRule,L.ValuesOfCorrectTypeRule,C.ProvidedRequiredArgumentsRule,G.VariablesInAllowedPositionRule,m.OverlappingFieldsCanBeMergedRule,_.UniqueInputFieldNamesRule,...P]);t.specifiedRules=M;const x=Object.freeze([l.LoneSchemaDefinitionRule,F.UniqueOperationTypesRule,N.UniqueTypeNamesRule,R.UniqueEnumValueNamesRule,k.UniqueFieldDefinitionNamesRule,b.UniqueArgumentDefinitionNamesRule,w.UniqueDirectiveNamesRule,c.KnownTypeNamesRule,a.KnownDirectivesRule,v.UniqueDirectivesPerLocationRule,y.PossibleTypeExtensionsRule,i.KnownArgumentNamesOnDirectivesRule,T.UniqueArgumentNamesRule,_.UniqueInputFieldNamesRule,C.ProvidedRequiredArgumentsOnDirectivesRule]);t.specifiedSDLRules=x},7063:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.assertValidSDL=assertValidSDL;t.assertValidSDLExtension=assertValidSDLExtension;t.validate=validate;t.validateSDL=validateSDL;var n=r(5383);var s=r(5939);var o=r(638);var i=r(3902);var a=r(5e3);var A=r(916);var c=r(8139);function validate(e,t,r=A.specifiedRules,u,l=new a.TypeInfo(e)){var p;const d=(p=u===null||u===void 0?void 0:u.maxErrors)!==null&&p!==void 0?p:100;t||(0,n.devAssert)(false,"Must provide document.");(0,i.assertValidSchema)(e);const g=Object.freeze({});const h=[];const E=new c.ValidationContext(e,t,l,(e=>{if(h.length>=d){h.push(new s.GraphQLError("Too many validation errors, error limit reached. Validation aborted."));throw g}h.push(e)}));const m=(0,o.visitInParallel)(r.map((e=>e(E))));try{(0,o.visit)(t,(0,a.visitWithTypeInfo)(l,m))}catch(e){if(e!==g){throw e}}return h}function validateSDL(e,t,r=A.specifiedSDLRules){const n=[];const s=new c.SDLValidationContext(e,t,(e=>{n.push(e)}));const i=r.map((e=>e(s)));(0,o.visit)(e,(0,o.visitInParallel)(i));return n}function assertValidSDL(e){const t=validateSDL(e);if(t.length!==0){throw new Error(t.map((e=>e.message)).join("\n\n"))}}function assertValidSDLExtension(e,t){const r=validateSDL(e,t);if(r.length!==0){throw new Error(r.map((e=>e.message)).join("\n\n"))}}},8725:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.versionInfo=t.version=void 0;const r="16.9.0";t.version=r;const n=Object.freeze({major:16,minor:9,patch:0,preReleaseTag:null});t.versionInfo=n},744:e=>{var t=1e3;var r=t*60;var n=r*60;var s=n*24;var o=s*7;var i=s*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 A=parseFloat(a[1]);var c=(a[2]||"ms").toLowerCase();switch(c){case"years":case"year":case"yrs":case"yr":case"y":return A*i;case"weeks":case"week":case"w":return A*o;case"days":case"day":case"d":return A*s;case"hours":case"hour":case"hrs":case"hr":case"h":return A*n;case"minutes":case"minute":case"mins":case"min":case"m":return A*r;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 o=Math.abs(e);if(o>=s){return Math.round(e/s)+"d"}if(o>=n){return Math.round(e/n)+"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>=s){return plural(e,o,s,"day")}if(o>=n){return plural(e,o,n,"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,n){var s=t>=r*1.5;return Math.round(e/r)+" "+n+(s?"s":"")}},5560:(e,t,r)=>{var n=r(8264);e.exports=n(once);e.exports.strict=n(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}},1860:e=>{var t;var r;var n;var s;var o;var i;var a;var A;var c;var u;var l;var p;var d;var g;var h;var E;var m;var I;var y;var C;var Q;var B;var b;var T;var w;var v;var R;var k;var D;var _;var S;var F;(function(t){var r=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(e){t(createExporter(r,createExporter(e)))}))}else if(true&&typeof e.exports==="object"){t(createExporter(r,createExporter(e.exports)))}else{t(createExporter(r))}function createExporter(e,t){if(e!==r){if(typeof Object.create==="function"){Object.defineProperty(e,"__esModule",{value:true})}else{e.__esModule=true}}return function(r,n){return e[r]=t?t(r,n):n}}})((function(e){var N=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};t=function(e,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");N(e,t);function __(){this.constructor=e}e.prototype=t===null?Object.create(t):(__.prototype=t.prototype,new __)};r=Object.assign||function(e){for(var t,r=1,n=arguments.length;r=0;a--)if(i=e[a])o=(s<3?i(o):s>3?i(t,r,o):i(t,r))||o;return s>3&&o&&Object.defineProperty(t,r,o),o};o=function(e,t){return function(r,n){t(r,n,e)}};i=function(e,t,r,n,s,o){function accept(e){if(e!==void 0&&typeof e!=="function")throw new TypeError("Function expected");return e}var i=n.kind,a=i==="getter"?"get":i==="setter"?"set":"value";var A=!t&&e?n["static"]?e:e.prototype:null;var c=t||(A?Object.getOwnPropertyDescriptor(A,n.name):{});var u,l=false;for(var p=r.length-1;p>=0;p--){var d={};for(var g in n)d[g]=g==="access"?{}:n[g];for(var g in n.access)d.access[g]=n.access[g];d.addInitializer=function(e){if(l)throw new TypeError("Cannot add initializers after decoration has completed");o.push(accept(e||null))};var h=(0,r[p])(i==="accessor"?{get:c.get,set:c.set}:c[a],d);if(i==="accessor"){if(h===void 0)continue;if(h===null||typeof h!=="object")throw new TypeError("Object expected");if(u=accept(h.get))c.get=u;if(u=accept(h.set))c.set=u;if(u=accept(h.init))s.unshift(u)}else if(u=accept(h)){if(i==="field")s.unshift(u);else c[a]=u}}if(A)Object.defineProperty(A,n.name,c);l=true};a=function(e,t,r){var n=arguments.length>2;for(var s=0;s0&&o[o.length-1])&&(a[0]===6||a[0]===2)){r=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]=e.length)e=void 0;return{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};h=function(e,t){var r=typeof Symbol==="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),s,o=[],i;try{while((t===void 0||t-- >0)&&!(s=n.next()).done)o.push(s.value)}catch(e){i={error:e}}finally{try{if(s&&!s.done&&(r=n["return"]))r.call(n)}finally{if(i)throw i.error}}return o};E=function(){for(var e=[],t=0;t1||resume(e,t)}))};if(t)s[e]=t(s[e])}}function resume(e,t){try{step(n[e](t))}catch(e){settle(o[0][3],e)}}function step(e){e.value instanceof y?Promise.resolve(e.value.v).then(fulfill,reject):settle(o[0][2],e)}function fulfill(e){resume("next",e)}function reject(e){resume("throw",e)}function settle(e,t){if(e(t),o.shift(),o.length)resume(o[0][0],o[0][1])}};Q=function(e){var t,r;return t={},verb("next"),verb("throw",(function(e){throw e})),verb("return"),t[Symbol.iterator]=function(){return this},t;function verb(n,s){t[n]=e[n]?function(t){return(r=!r)?{value:y(e[n](t)),done:false}:s?s(t):t}:s}};B=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof g==="function"?g(e):e[Symbol.iterator](),r={},verb("next"),verb("throw"),verb("return"),r[Symbol.asyncIterator]=function(){return this},r);function verb(t){r[t]=e[t]&&function(r){return new Promise((function(n,s){r=e[t](r),settle(n,s,r.done,r.value)}))}}function settle(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)}};b=function(e,t){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:t})}else{e.raw=t}return e};var O=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t};var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[t.length]=r;return t};return ownKeys(e)};T=function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r=ownKeys(e),n=0;n{e.exports=r(218)},218:(e,t,r)=>{var n=r(9278);var s=r(4756);var o=r(8611);var i=r(5692);var a=r(4434);var A=r(2613);var c=r(9023);t.httpOverHttp=httpOverHttp;t.httpsOverHttp=httpsOverHttp;t.httpOverHttps=httpOverHttps;t.httpsOverHttps=httpsOverHttps;function httpOverHttp(e){var t=new TunnelingAgent(e);t.request=o.request;return t}function httpsOverHttp(e){var t=new TunnelingAgent(e);t.request=o.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function httpOverHttps(e){var t=new TunnelingAgent(e);t.request=i.request;return t}function httpsOverHttps(e){var t=new TunnelingAgent(e);t.request=i.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||o.Agent.defaultMaxSockets;t.requests=[];t.sockets=[];t.on("free",(function onFree(e,r,n,s){var o=toOptions(r,n,s);for(var i=0,a=t.requests.length;i=this.maxSockets){s.requests.push(o);return}s.createSocket(o,(function(t){t.on("free",onFree);t.on("close",onCloseOrRemove);t.on("agentRemove",onCloseOrRemove);e.onSocket(t);function onFree(){s.emit("free",t,o)}function onCloseOrRemove(e){s.removeSocket(t);t.removeListener("free",onFree);t.removeListener("close",onCloseOrRemove);t.removeListener("agentRemove",onCloseOrRemove)}}))};TunnelingAgent.prototype.createSocket=function createSocket(e,t){var r=this;var n={};r.sockets.push(n);var s=mergeOptions({},r.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:false,headers:{host:e.host+":"+e.port}});if(e.localAddress){s.localAddress=e.localAddress}if(s.proxyAuth){s.headers=s.headers||{};s.headers["Proxy-Authorization"]="Basic "+new Buffer(s.proxyAuth).toString("base64")}u("making CONNECT request");var o=r.request(s);o.useChunkedEncodingByDefault=false;o.once("response",onResponse);o.once("upgrade",onUpgrade);o.once("connect",onConnect);o.once("error",onError);o.end();function onResponse(e){e.upgrade=true}function onUpgrade(e,t,r){process.nextTick((function(){onConnect(e,t,r)}))}function onConnect(s,i,a){o.removeAllListeners();i.removeAllListeners();if(s.statusCode!==200){u("tunneling socket could not be established, statusCode=%d",s.statusCode);i.destroy();var A=new Error("tunneling socket could not be established, "+"statusCode="+s.statusCode);A.code="ECONNRESET";e.request.emit("error",A);r.removeSocket(n);return}if(a.length>0){u("got illegal response body from proxy");i.destroy();var A=new Error("got illegal response body from proxy");A.code="ECONNRESET";e.request.emit("error",A);r.removeSocket(n);return}u("tunneling connection has established");r.sockets[r.sockets.indexOf(n)]=i;return t(i)}function onError(t){o.removeAllListeners();u("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var s=new Error("tunneling socket could not be established, "+"cause="+t.message);s.code="ECONNRESET";e.request.emit("error",s);r.removeSocket(n)}};TunnelingAgent.prototype.removeSocket=function removeSocket(e){var t=this.sockets.indexOf(e);if(t===-1){return}this.sockets.splice(t,1);var r=this.requests.shift();if(r){this.createSocket(r,(function(e){r.request.onSocket(e)}))}};function createSecureSocket(e,t){var r=this;TunnelingAgent.prototype.createSocket.call(r,e,(function(n){var o=e.request.getHeader("host");var i=mergeOptions({},r.options,{socket:n,servername:o?o.replace(/:.*$/,""):e.host});var a=s.connect(0,i);r.sockets[r.sockets.indexOf(n)]=a;t(a)}))}function toOptions(e,t,r){if(typeof e==="string"){return{host:e,port:t,localAddress:r}}return e}function mergeOptions(e){for(var t=1,r=arguments.length;t{const n=r(6197);const s=r(992);const o=r(8707);const i=r(5076);const a=r(1093);const A=r(9965);const c=r(3440);const{InvalidArgumentError:u}=o;const l=r(6615);const p=r(9136);const d=r(7365);const g=r(7501);const h=r(4004);const E=r(2429);const m=r(2720);const I=r(3573);const{getGlobalDispatcher:y,setGlobalDispatcher:C}=r(2581);const Q=r(8840);const B=r(8299);const b=r(4415);let T;try{r(6982);T=true}catch{T=false}Object.assign(s.prototype,l);e.exports.Dispatcher=s;e.exports.Client=n;e.exports.Pool=i;e.exports.BalancedPool=a;e.exports.Agent=A;e.exports.ProxyAgent=m;e.exports.RetryHandler=I;e.exports.DecoratorHandler=Q;e.exports.RedirectHandler=B;e.exports.createRedirectInterceptor=b;e.exports.buildConnector=p;e.exports.errors=o;function makeDispatcher(e){return(t,r,n)=>{if(typeof r==="function"){n=r;r=null}if(!t||typeof t!=="string"&&typeof t!=="object"&&!(t instanceof URL)){throw new u("invalid url")}if(r!=null&&typeof r!=="object"){throw new u("invalid opts")}if(r&&r.path!=null){if(typeof r.path!=="string"){throw new u("invalid opts.path")}let e=r.path;if(!r.path.startsWith("/")){e=`/${e}`}t=new URL(c.parseOrigin(t).origin+e)}else{if(!r){r=typeof t==="object"?t:{}}t=c.parseURL(t)}const{agent:s,dispatcher:o=y()}=r;if(s){throw new u("unsupported opts.agent. Did you mean opts.client?")}return e.call(o,{...r,origin:t.origin,path:t.search?`${t.pathname}${t.search}`:t.pathname,method:r.method||(r.body?"PUT":"GET")},n)}}e.exports.setGlobalDispatcher=C;e.exports.getGlobalDispatcher=y;if(c.nodeMajor>16||c.nodeMajor===16&&c.nodeMinor>=8){let t=null;e.exports.fetch=async function fetch(e){if(!t){t=r(2315).fetch}try{return await t(...arguments)}catch(e){if(typeof e==="object"){Error.captureStackTrace(e,this)}throw e}};e.exports.Headers=r(6349).Headers;e.exports.Response=r(8676).Response;e.exports.Request=r(5194).Request;e.exports.FormData=r(3073).FormData;e.exports.File=r(3041).File;e.exports.FileReader=r(2160).FileReader;const{setGlobalOrigin:n,getGlobalOrigin:s}=r(5628);e.exports.setGlobalOrigin=n;e.exports.getGlobalOrigin=s;const{CacheStorage:o}=r(4738);const{kConstruct:i}=r(296);e.exports.caches=new o(i)}if(c.nodeMajor>=16){const{deleteCookie:t,getCookies:n,getSetCookies:s,setCookie:o}=r(3168);e.exports.deleteCookie=t;e.exports.getCookies=n;e.exports.getSetCookies=s;e.exports.setCookie=o;const{parseMIMEType:i,serializeAMimeType:a}=r(4322);e.exports.parseMIMEType=i;e.exports.serializeAMimeType=a}if(c.nodeMajor>=18&&T){const{WebSocket:t}=r(5171);e.exports.WebSocket=t}e.exports.request=makeDispatcher(l.request);e.exports.stream=makeDispatcher(l.stream);e.exports.pipeline=makeDispatcher(l.pipeline);e.exports.connect=makeDispatcher(l.connect);e.exports.upgrade=makeDispatcher(l.upgrade);e.exports.MockClient=d;e.exports.MockPool=h;e.exports.MockAgent=g;e.exports.mockErrors=E},9965:(e,t,r)=>{const{InvalidArgumentError:n}=r(8707);const{kClients:s,kRunning:o,kClose:i,kDestroy:a,kDispatch:A,kInterceptors:c}=r(6443);const u=r(1);const l=r(5076);const p=r(6197);const d=r(3440);const g=r(4415);const{WeakRef:h,FinalizationRegistry:E}=r(3194)();const m=Symbol("onConnect");const I=Symbol("onDisconnect");const y=Symbol("onConnectionError");const C=Symbol("maxRedirections");const Q=Symbol("onDrain");const B=Symbol("factory");const b=Symbol("finalizer");const T=Symbol("options");function defaultFactory(e,t){return t&&t.connections===1?new p(e,t):new l(e,t)}class Agent extends u{constructor({factory:e=defaultFactory,maxRedirections:t=0,connect:r,...o}={}){super();if(typeof e!=="function"){throw new n("factory must be a function.")}if(r!=null&&typeof r!=="function"&&typeof r!=="object"){throw new n("connect must be a function or an object")}if(!Number.isInteger(t)||t<0){throw new n("maxRedirections must be a positive number")}if(r&&typeof r!=="function"){r={...r}}this[c]=o.interceptors&&o.interceptors.Agent&&Array.isArray(o.interceptors.Agent)?o.interceptors.Agent:[g({maxRedirections:t})];this[T]={...d.deepClone(o),connect:r};this[T].interceptors=o.interceptors?{...o.interceptors}:undefined;this[C]=t;this[B]=e;this[s]=new Map;this[b]=new E((e=>{const t=this[s].get(e);if(t!==undefined&&t.deref()===undefined){this[s].delete(e)}}));const i=this;this[Q]=(e,t)=>{i.emit("drain",e,[i,...t])};this[m]=(e,t)=>{i.emit("connect",e,[i,...t])};this[I]=(e,t,r)=>{i.emit("disconnect",e,[i,...t],r)};this[y]=(e,t,r)=>{i.emit("connectionError",e,[i,...t],r)}}get[o](){let e=0;for(const t of this[s].values()){const r=t.deref();if(r){e+=r[o]}}return e}[A](e,t){let r;if(e.origin&&(typeof e.origin==="string"||e.origin instanceof URL)){r=String(e.origin)}else{throw new n("opts.origin must be a non-empty string or URL.")}const o=this[s].get(r);let i=o?o.deref():null;if(!i){i=this[B](e.origin,this[T]).on("drain",this[Q]).on("connect",this[m]).on("disconnect",this[I]).on("connectionError",this[y]);this[s].set(r,new h(i));this[b].register(i,r)}return i.dispatch(e,t)}async[i](){const e=[];for(const t of this[s].values()){const r=t.deref();if(r){e.push(r.close())}}await Promise.all(e)}async[a](e){const t=[];for(const r of this[s].values()){const n=r.deref();if(n){t.push(n.destroy(e))}}await Promise.all(t)}}e.exports=Agent},158:(e,t,r)=>{const{addAbortListener:n}=r(3440);const{RequestAbortedError:s}=r(8707);const o=Symbol("kListener");const i=Symbol("kSignal");function abort(e){if(e.abort){e.abort()}else{e.onError(new s)}}function addSignal(e,t){e[i]=null;e[o]=null;if(!t){return}if(t.aborted){abort(e);return}e[i]=t;e[o]=()=>{abort(e)};n(e[i],e[o])}function removeSignal(e){if(!e[i]){return}if("removeEventListener"in e[i]){e[i].removeEventListener("abort",e[o])}else{e[i].removeListener("abort",e[o])}e[i]=null;e[o]=null}e.exports={addSignal:addSignal,removeSignal:removeSignal}},4660:(e,t,r)=>{const{AsyncResource:n}=r(290);const{InvalidArgumentError:s,RequestAbortedError:o,SocketError:i}=r(8707);const a=r(3440);const{addSignal:A,removeSignal:c}=r(158);class ConnectHandler extends n{constructor(e,t){if(!e||typeof e!=="object"){throw new s("invalid opts")}if(typeof t!=="function"){throw new s("invalid callback")}const{signal:r,opaque:n,responseHeaders:o}=e;if(r&&typeof r.on!=="function"&&typeof r.addEventListener!=="function"){throw new s("signal must be an EventEmitter or EventTarget")}super("UNDICI_CONNECT");this.opaque=n||null;this.responseHeaders=o||null;this.callback=t;this.abort=null;A(this,r)}onConnect(e,t){if(!this.callback){throw new o}this.abort=e;this.context=t}onHeaders(){throw new i("bad connect",null)}onUpgrade(e,t,r){const{callback:n,opaque:s,context:o}=this;c(this);this.callback=null;let i=t;if(i!=null){i=this.responseHeaders==="raw"?a.parseRawHeaders(t):a.parseHeaders(t)}this.runInAsyncScope(n,null,null,{statusCode:e,headers:i,socket:r,opaque:s,context:o})}onError(e){const{callback:t,opaque:r}=this;c(this);if(t){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(t,null,e,{opaque:r})}))}}}function connect(e,t){if(t===undefined){return new Promise(((t,r)=>{connect.call(this,e,((e,n)=>e?r(e):t(n)))}))}try{const r=new ConnectHandler(e,t);this.dispatch({...e,method:"CONNECT"},r)}catch(r){if(typeof t!=="function"){throw r}const n=e&&e.opaque;queueMicrotask((()=>t(r,{opaque:n})))}}e.exports=connect},6862:(e,t,r)=>{const{Readable:n,Duplex:s,PassThrough:o}=r(2203);const{InvalidArgumentError:i,InvalidReturnValueError:a,RequestAbortedError:A}=r(8707);const c=r(3440);const{AsyncResource:u}=r(290);const{addSignal:l,removeSignal:p}=r(158);const d=r(2613);const g=Symbol("resume");class PipelineRequest extends n{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 n{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 u{constructor(e,t){if(!e||typeof e!=="object"){throw new i("invalid opts")}if(typeof t!=="function"){throw new i("invalid handler")}const{signal:r,method:n,opaque:o,onInfo:a,responseHeaders:u}=e;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(a&&typeof a!=="function"){throw new i("invalid onInfo callback")}super("UNDICI_PIPELINE");this.opaque=o||null;this.responseHeaders=u||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 s({readableObjectMode:e.objectMode,autoDestroy:true,read:()=>{const{body:e}=this;if(e&&e.resume){e.resume()}},write:(e,t,r)=>{const{req:n}=this;if(n.push(e,t)||n._readableState.destroyed){r()}else{n[g]=r}},destroy:(e,t)=>{const{body:r,req:n,res:s,ret:o,abort:i}=this;if(!e&&!o._readableState.endEmitted){e=new A}if(i&&e){i()}c.destroy(r,e);c.destroy(n,e);c.destroy(s,e);p(this);t(e)}}).on("prefinish",(()=>{const{req:e}=this;e.push(null)}));this.res=null;l(this,r)}onConnect(e,t){const{ret:r,res:n}=this;d(!n,"pipeline cannot be retried");if(r.destroyed){throw new A}this.abort=e;this.context=t}onHeaders(e,t,r){const{opaque:n,handler:s,context:o}=this;if(e<200){if(this.onInfo){const r=this.responseHeaders==="raw"?c.parseRawHeaders(t):c.parseHeaders(t);this.onInfo({statusCode:e,headers:r})}return}this.res=new PipelineResponse(r);let i;try{this.handler=null;const r=this.responseHeaders==="raw"?c.parseRawHeaders(t):c.parseHeaders(t);i=this.runInAsyncScope(s,null,{statusCode:e,headers:r,opaque:n,body:this.res,context:o})}catch(e){this.res.on("error",c.nop);throw e}if(!i||typeof i.on!=="function"){throw new a("expected Readable")}i.on("data",(e=>{const{ret:t,body:r}=this;if(!t.push(e)&&r.pause){r.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=i}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 r=new PipelineHandler(e,t);this.dispatch({...e,body:r.req},r);return r.ret}catch(e){return(new o).destroy(e)}}e.exports=pipeline},4043:(e,t,r)=>{const n=r(9927);const{InvalidArgumentError:s,RequestAbortedError:o}=r(8707);const i=r(3440);const{getResolveErrorBodyCallback:a}=r(7655);const{AsyncResource:A}=r(290);const{addSignal:c,removeSignal:u}=r(158);class RequestHandler extends A{constructor(e,t){if(!e||typeof e!=="object"){throw new s("invalid opts")}const{signal:r,method:n,opaque:o,body:a,onInfo:A,responseHeaders:u,throwOnError:l,highWaterMark:p}=e;try{if(typeof t!=="function"){throw new s("invalid callback")}if(p&&(typeof p!=="number"||p<0)){throw new s("invalid highWaterMark")}if(r&&typeof r.on!=="function"&&typeof r.addEventListener!=="function"){throw new s("signal must be an EventEmitter or EventTarget")}if(n==="CONNECT"){throw new s("invalid method")}if(A&&typeof A!=="function"){throw new s("invalid onInfo callback")}super("UNDICI_REQUEST")}catch(e){if(i.isStream(a)){i.destroy(a.on("error",i.nop),e)}throw e}this.responseHeaders=u||null;this.opaque=o||null;this.callback=t;this.res=null;this.abort=null;this.body=a;this.trailers={};this.context=null;this.onInfo=A||null;this.throwOnError=l;this.highWaterMark=p;if(i.isStream(a)){a.on("error",(e=>{this.onError(e)}))}c(this,r)}onConnect(e,t){if(!this.callback){throw new o}this.abort=e;this.context=t}onHeaders(e,t,r,s){const{callback:o,opaque:A,abort:c,context:u,responseHeaders:l,highWaterMark:p}=this;const d=l==="raw"?i.parseRawHeaders(t):i.parseHeaders(t);if(e<200){if(this.onInfo){this.onInfo({statusCode:e,headers:d})}return}const g=l==="raw"?i.parseHeaders(t):d;const h=g["content-type"];const E=new n({resume:r,abort:c,contentType:h,highWaterMark:p});this.callback=null;this.res=E;if(o!==null){if(this.throwOnError&&e>=400){this.runInAsyncScope(a,null,{callback:o,body:E,contentType:h,statusCode:e,statusMessage:s,headers:d})}else{this.runInAsyncScope(o,null,null,{statusCode:e,headers:d,trailers:this.trailers,opaque:A,body:E,context:u})}}}onData(e){const{res:t}=this;return t.push(e)}onComplete(e){const{res:t}=this;u(this);i.parseHeaders(e,this.trailers);t.push(null)}onError(e){const{res:t,callback:r,body:n,opaque:s}=this;u(this);if(r){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(r,null,e,{opaque:s})}))}if(t){this.res=null;queueMicrotask((()=>{i.destroy(t,e)}))}if(n){this.body=null;i.destroy(n,e)}}}function request(e,t){if(t===undefined){return new Promise(((t,r)=>{request.call(this,e,((e,n)=>e?r(e):t(n)))}))}try{this.dispatch(e,new RequestHandler(e,t))}catch(r){if(typeof t!=="function"){throw r}const n=e&&e.opaque;queueMicrotask((()=>t(r,{opaque:n})))}}e.exports=request;e.exports.RequestHandler=RequestHandler},3560:(e,t,r)=>{const{finished:n,PassThrough:s}=r(2203);const{InvalidArgumentError:o,InvalidReturnValueError:i,RequestAbortedError:a}=r(8707);const A=r(3440);const{getResolveErrorBodyCallback:c}=r(7655);const{AsyncResource:u}=r(290);const{addSignal:l,removeSignal:p}=r(158);class StreamHandler extends u{constructor(e,t,r){if(!e||typeof e!=="object"){throw new o("invalid opts")}const{signal:n,method:s,opaque:i,body:a,onInfo:c,responseHeaders:u,throwOnError:p}=e;try{if(typeof r!=="function"){throw new o("invalid callback")}if(typeof t!=="function"){throw new o("invalid factory")}if(n&&typeof n.on!=="function"&&typeof n.addEventListener!=="function"){throw new o("signal must be an EventEmitter or EventTarget")}if(s==="CONNECT"){throw new o("invalid method")}if(c&&typeof c!=="function"){throw new o("invalid onInfo callback")}super("UNDICI_STREAM")}catch(e){if(A.isStream(a)){A.destroy(a.on("error",A.nop),e)}throw e}this.responseHeaders=u||null;this.opaque=i||null;this.factory=t;this.callback=r;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)}))}l(this,n)}onConnect(e,t){if(!this.callback){throw new a}this.abort=e;this.context=t}onHeaders(e,t,r,o){const{factory:a,opaque:u,context:l,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 r=d==="raw"?A.parseHeaders(t):g;const n=r["content-type"];h=new s;this.callback=null;this.runInAsyncScope(c,null,{callback:p,body:h,contentType:n,statusCode:e,statusMessage:o,headers:g})}else{if(a===null){return}h=this.runInAsyncScope(a,null,{statusCode:e,headers:g,opaque:u,context:l});if(!h||typeof h.write!=="function"||typeof h.end!=="function"||typeof h.on!=="function"){throw new i("expected Writable")}n(h,{readable:false},(e=>{const{callback:t,res:r,opaque:n,trailers:s,abort:o}=this;this.res=null;if(e||!r.readable){A.destroy(r,e)}this.callback=null;this.runInAsyncScope(t,null,e||null,{opaque:n,trailers:s});if(e){o()}}))}h.on("drain",r);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:r,opaque:n,body:s}=this;p(this);this.factory=null;if(t){this.res=null;A.destroy(t,e)}else if(r){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}if(s){this.body=null;A.destroy(s,e)}}}function stream(e,t,r){if(r===undefined){return new Promise(((r,n)=>{stream.call(this,e,t,((e,t)=>e?n(e):r(t)))}))}try{this.dispatch(e,new StreamHandler(e,t,r))}catch(t){if(typeof r!=="function"){throw t}const n=e&&e.opaque;queueMicrotask((()=>r(t,{opaque:n})))}}e.exports=stream},1882:(e,t,r)=>{const{InvalidArgumentError:n,RequestAbortedError:s,SocketError:o}=r(8707);const{AsyncResource:i}=r(290);const a=r(3440);const{addSignal:A,removeSignal:c}=r(158);const u=r(2613);class UpgradeHandler extends i{constructor(e,t){if(!e||typeof e!=="object"){throw new n("invalid opts")}if(typeof t!=="function"){throw new n("invalid callback")}const{signal:r,opaque:s,responseHeaders:o}=e;if(r&&typeof r.on!=="function"&&typeof r.addEventListener!=="function"){throw new n("signal must be an EventEmitter or EventTarget")}super("UNDICI_UPGRADE");this.responseHeaders=o||null;this.opaque=s||null;this.callback=t;this.abort=null;this.context=null;A(this,r)}onConnect(e,t){if(!this.callback){throw new s}this.abort=e;this.context=null}onHeaders(){throw new o("bad upgrade",null)}onUpgrade(e,t,r){const{callback:n,opaque:s,context:o}=this;u.strictEqual(e,101);c(this);this.callback=null;const i=this.responseHeaders==="raw"?a.parseRawHeaders(t):a.parseHeaders(t);this.runInAsyncScope(n,null,null,{headers:i,socket:r,opaque:s,context:o})}onError(e){const{callback:t,opaque:r}=this;c(this);if(t){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(t,null,e,{opaque:r})}))}}}function upgrade(e,t){if(t===undefined){return new Promise(((t,r)=>{upgrade.call(this,e,((e,n)=>e?r(e):t(n)))}))}try{const r=new UpgradeHandler(e,t);this.dispatch({...e,method:e.method||"GET",upgrade:e.protocol||"Websocket"},r)}catch(r){if(typeof t!=="function"){throw r}const n=e&&e.opaque;queueMicrotask((()=>t(r,{opaque:n})))}}e.exports=upgrade},6615:(e,t,r)=>{e.exports.request=r(4043);e.exports.stream=r(3560);e.exports.pipeline=r(6862);e.exports.upgrade=r(1882);e.exports.connect=r(4660)},9927:(e,t,r)=>{const n=r(2613);const{Readable:s}=r(2203);const{RequestAbortedError:o,NotSupportedError:i,InvalidArgumentError:a}=r(8707);const A=r(3440);const{ReadableStreamFrom:c,toUSVString:u}=r(3440);let l;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 s{constructor({resume:e,abort:t,contentType:r="",highWaterMark:n=64*1024}){super({autoDestroy:true,read:e,highWaterMark:n});this._readableState.dataEmitted=false;this[h]=t;this[p]=null;this[g]=null;this[E]=r;this[d]=false}destroy(e){if(this.destroyed){return this}if(!e&&!this._readableState.endEmitted){e=new o}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 r=super.off(e,...t);if(e==="data"||e==="readable"){this[d]=this.listenerCount("data")>0||this.listenerCount("readable")>0}return r}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 i}get bodyUsed(){return A.isDisturbed(this)}get body(){if(!this[g]){this[g]=c(this);if(this[p]){this[g].getReader();n(this[g].locked)}}return this[g]}dump(e){let t=e&&Number.isFinite(e.limit)?e.limit:262144;const r=e&&e.signal;if(r){try{if(typeof r!=="object"||!("aborted"in r)){throw new a("signal must be an AbortSignal")}A.throwIfAborted(r)}catch(e){return Promise.reject(e)}}if(this.closed){return Promise.resolve(null)}return new Promise(((e,n)=>{const s=r?A.addAbortListener(r,(()=>{this.destroy()})):noop;this.on("close",(function(){s();if(r&&r.aborted){n(r.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")}n(!e[p]);return new Promise(((r,n)=>{e[p]={type:t,stream:e,resolve:r,reject:n,length:0,body:[]};e.on("error",(function(e){consumeFinish(this[p],e)})).on("close",(function(){if(this[p].body!==null){consumeFinish(this[p],new o)}}));process.nextTick(consumeStart,e[p])}))}function consumeStart(e){if(e.body===null){return}const{_readableState:t}=e.stream;for(const r of t.buffer){consumePush(e,r)}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:n,resolve:s,stream:o,length:i}=e;try{if(t==="text"){s(u(Buffer.concat(n)))}else if(t==="json"){s(JSON.parse(Buffer.concat(n)))}else if(t==="arrayBuffer"){const e=new Uint8Array(i);let t=0;for(const r of n){e.set(r,t);t+=r.byteLength}s(e.buffer)}else if(t==="blob"){if(!l){l=r(181).Blob}s(new l(n,{type:o[E]}))}consumeFinish(e)}catch(e){o.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}},7655:(e,t,r)=>{const n=r(2613);const{ResponseStatusCodeError:s}=r(8707);const{toUSVString:o}=r(3440);async function getResolveErrorBodyCallback({callback:e,body:t,contentType:r,statusCode:i,statusMessage:a,headers:A}){n(t);let c=[];let u=0;for await(const e of t){c.push(e);u+=e.length;if(u>128*1024){c=null;break}}if(i===204||!r||!c){process.nextTick(e,new s(`Response status code ${i}${a?`: ${a}`:""}`,i,A));return}try{if(r.startsWith("application/json")){const t=JSON.parse(o(Buffer.concat(c)));process.nextTick(e,new s(`Response status code ${i}${a?`: ${a}`:""}`,i,A,t));return}if(r.startsWith("text/")){const t=o(Buffer.concat(c));process.nextTick(e,new s(`Response status code ${i}${a?`: ${a}`:""}`,i,A,t));return}}catch(e){}process.nextTick(e,new s(`Response status code ${i}${a?`: ${a}`:""}`,i,A))}e.exports={getResolveErrorBodyCallback:getResolveErrorBodyCallback}},1093:(e,t,r)=>{const{BalancedPoolMissingUpstreamError:n,InvalidArgumentError:s}=r(8707);const{PoolBase:o,kClients:i,kNeedDrain:a,kAddClient:A,kRemoveClient:c,kGetDispatcher:u}=r(8640);const l=r(5076);const{kUrl:p,kInterceptors:d}=r(6443);const{parseOrigin:g}=r(3440);const h=Symbol("factory");const E=Symbol("options");const m=Symbol("kGreatestCommonDivisor");const I=Symbol("kCurrentWeight");const y=Symbol("kIndex");const C=Symbol("kWeight");const Q=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 l(e,t)}class BalancedPool extends o{constructor(e=[],{factory:t=defaultFactory,...r}={}){super();this[E]=r;this[y]=-1;this[I]=0;this[Q]=this[E].maxWeightPerServer||100;this[B]=this[E].errorPenalty||15;if(!Array.isArray(e)){e=[e]}if(typeof t!=="function"){throw new s("factory must be a function.")}this[d]=r.interceptors&&r.interceptors.BalancedPool&&Array.isArray(r.interceptors.BalancedPool)?r.interceptors.BalancedPool:[];this[h]=t;for(const t of e){this.addUpstream(t)}this._updateBalancedPoolStats()}addUpstream(e){const t=g(e).origin;if(this[i].find((e=>e[p].origin===t&&e.closed!==true&&e.destroyed!==true))){return this}const r=this[h](t,Object.assign({},this[E]));this[A](r);r.on("connect",(()=>{r[C]=Math.min(this[Q],r[C]+this[B])}));r.on("connectionError",(()=>{r[C]=Math.max(1,r[C]-this[B]);this._updateBalancedPoolStats()}));r.on("disconnect",((...e)=>{const t=e[2];if(t&&t.code==="UND_ERR_SOCKET"){r[C]=Math.max(1,r[C]-this[B]);this._updateBalancedPoolStats()}}));for(const e of this[i]){e[C]=this[Q]}this._updateBalancedPoolStats();return this}_updateBalancedPoolStats(){this[m]=this[i].map((e=>e[C])).reduce(getGreatestCommonDivisor,0)}removeUpstream(e){const t=g(e).origin;const r=this[i].find((e=>e[p].origin===t&&e.closed!==true&&e.destroyed!==true));if(r){this[c](r)}return this}get upstreams(){return this[i].filter((e=>e.closed!==true&&e.destroyed!==true)).map((e=>e[p].origin))}[u](){if(this[i].length===0){throw new n}const e=this[i].find((e=>!e[a]&&e.closed!==true&&e.destroyed!==true));if(!e){return}const t=this[i].map((e=>e[a])).reduce(((e,t)=>e&&t),true);if(t){return}let r=0;let s=this[i].findIndex((e=>!e[a]));while(r++this[i][s][C]&&!e[a]){s=this[y]}if(this[y]===0){this[I]=this[I]-this[m];if(this[I]<=0){this[I]=this[Q]}}if(e[C]>=this[I]&&!e[a]){return e}}this[I]=this[i][s][C];this[y]=s;return this[i][s]}}e.exports=BalancedPool},479:(e,t,r)=>{const{kConstruct:n}=r(296);const{urlEquals:s,fieldValues:o}=r(3993);const{kEnumerableProperty:i,isDisturbed:a}=r(3440);const{kHeadersList:A}=r(6443);const{webidl:c}=r(4222);const{Response:u,cloneResponse:l}=r(8676);const{Request:p}=r(5194);const{kState:d,kHeaders:g,kGuard:h,kRealm:E}=r(9710);const{fetching:m}=r(2315);const{urlIsHttpHttpsScheme:I,createDeferredPromise:y,readAllBytes:C}=r(5523);const Q=r(2613);const{getGlobalDispatcher:B}=r(2581);class Cache{#e;constructor(){if(arguments[0]!==n){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 r=await this.matchAll(e,t);if(r.length===0){return}return r[0]}async matchAll(e=undefined,t={}){c.brandCheck(this,Cache);if(e!==undefined)e=c.converters.RequestInfo(e);t=c.converters.CacheQueryOptions(t);let r=null;if(e!==undefined){if(e instanceof p){r=e[d];if(r.method!=="GET"&&!t.ignoreMethod){return[]}}else if(typeof e==="string"){r=new p(e)[d]}}const n=[];if(e===undefined){for(const e of this.#e){n.push(e[1])}}else{const e=this.#t(r,t);for(const t of e){n.push(t[1])}}const s=[];for(const e of n){const t=new u(e.body?.source??null);const r=t[d].body;t[d]=e;t[d].body=r;t[g][A]=e.headersList;t[g][h]="immutable";s.push(t)}return Object.freeze(s)}async add(e){c.brandCheck(this,Cache);c.argumentLengthCheck(arguments,1,{header:"Cache.add"});e=c.converters.RequestInfo(e);const t=[e];const r=this.addAll(t);return await r}async addAll(e){c.brandCheck(this,Cache);c.argumentLengthCheck(arguments,1,{header:"Cache.addAll"});e=c.converters["sequence"](e);const t=[];const r=[];for(const t of e){if(typeof t==="string"){continue}const e=t[d];if(!I(e.url)||e.method!=="GET"){throw c.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme when method is not GET."})}}const n=[];for(const s of e){const e=new p(s)[d];if(!I(e.url)){throw c.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme."})}e.initiator="fetch";e.destination="subresource";r.push(e);const i=y();n.push(m({request:e,dispatcher:B(),processResponse(e){if(e.type==="error"||e.status===206||e.status<200||e.status>299){i.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=o(e.headersList.get("vary"));for(const e of t){if(e==="*"){i.reject(c.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(const e of n){e.abort()}return}}}},processResponseEndOfBody(e){if(e.aborted){i.reject(new DOMException("aborted","AbortError"));return}i.resolve(e)}}));t.push(i.promise)}const s=Promise.all(t);const i=await s;const a=[];let A=0;for(const e of i){const t={type:"put",request:r[A],response:e};a.push(t);A++}const u=y();let l=null;try{this.#r(a)}catch(e){l=e}queueMicrotask((()=>{if(l===null){u.resolve(undefined)}else{u.reject(l)}}));return u.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 r=null;if(e instanceof p){r=e[d]}else{r=new p(e)[d]}if(!I(r.url)||r.method!=="GET"){throw c.errors.exception({header:"Cache.put",message:"Expected an http/s scheme when method is not GET"})}const n=t[d];if(n.status===206){throw c.errors.exception({header:"Cache.put",message:"Got 206 status"})}if(n.headersList.contains("vary")){const e=o(n.headersList.get("vary"));for(const t of e){if(t==="*"){throw c.errors.exception({header:"Cache.put",message:"Got * vary field value"})}}}if(n.body&&(a(n.body.stream)||n.body.stream.locked)){throw c.errors.exception({header:"Cache.put",message:"Response body is locked or disturbed"})}const s=l(n);const i=y();if(n.body!=null){const e=n.body.stream;const t=e.getReader();C(t).then(i.resolve,i.reject)}else{i.resolve(undefined)}const A=[];const u={type:"put",request:r,response:s};A.push(u);const g=await i.promise;if(s.body!=null){s.body.source=g}const h=y();let E=null;try{this.#r(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 r=null;if(e instanceof p){r=e[d];if(r.method!=="GET"&&!t.ignoreMethod){return false}}else{Q(typeof e==="string");r=new p(e)[d]}const n=[];const s={type:"delete",request:r,options:t};n.push(s);const o=y();let i=null;let a;try{a=this.#r(n)}catch(e){i=e}queueMicrotask((()=>{if(i===null){o.resolve(!!a?.length)}else{o.reject(i)}}));return o.promise}async keys(e=undefined,t={}){c.brandCheck(this,Cache);if(e!==undefined)e=c.converters.RequestInfo(e);t=c.converters.CacheQueryOptions(t);let r=null;if(e!==undefined){if(e instanceof p){r=e[d];if(r.method!=="GET"&&!t.ignoreMethod){return[]}}else if(typeof e==="string"){r=new p(e)[d]}}const n=y();const s=[];if(e===undefined){for(const e of this.#e){s.push(e[0])}}else{const e=this.#t(r,t);for(const t of e){s.push(t[0])}}queueMicrotask((()=>{const e=[];for(const t of s){const r=new p("https://a");r[d]=t;r[g][A]=t.headersList;r[g][h]="immutable";r[E]=t.client;e.push(r)}n.resolve(Object.freeze(e))}));return n.promise}#r(e){const t=this.#e;const r=[...t];const n=[];const s=[];try{for(const r of e){if(r.type!=="delete"&&r.type!=="put"){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'})}if(r.type==="delete"&&r.response!=null){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"})}if(this.#t(r.request,r.options,n).length){throw new DOMException("???","InvalidStateError")}let e;if(r.type==="delete"){e=this.#t(r.request,r.options);if(e.length===0){return[]}for(const r of e){const e=t.indexOf(r);Q(e!==-1);t.splice(e,1)}}else if(r.type==="put"){if(r.response==null){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"})}const s=r.request;if(!I(s.url)){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"})}if(s.method!=="GET"){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"})}if(r.options!=null){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"})}e=this.#t(r.request);for(const r of e){const e=t.indexOf(r);Q(e!==-1);t.splice(e,1)}t.push([r.request,r.response]);n.push([r.request,r.response])}s.push([r.request,r.response])}return s}catch(e){this.#e.length=0;this.#e=r;throw e}}#t(e,t,r){const n=[];const s=r??this.#e;for(const r of s){const[s,o]=r;if(this.#n(e,s,o,t)){n.push(r)}}return n}#n(e,t,r=null,n){const i=new URL(e.url);const a=new URL(t.url);if(n?.ignoreSearch){a.search="";i.search=""}if(!s(i,a,true)){return false}if(r==null||n?.ignoreVary||!r.headersList.contains("vary")){return true}const A=o(r.headersList.get("vary"));for(const r of A){if(r==="*"){return false}const n=t.headersList.get(r);const s=e.headersList.get(r);if(n!==s){return false}}return true}}Object.defineProperties(Cache.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:true},match:i,matchAll:i,add:i,addAll:i,put:i,delete:i,keys:i});const b=[{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(b);c.converters.MultiCacheQueryOptions=c.dictionaryConverter([...b,{key:"cacheName",converter:c.converters.DOMString}]);c.converters.Response=c.interfaceConverter(u);c.converters["sequence"]=c.sequenceConverter(c.converters.RequestInfo);e.exports={Cache:Cache}},4738:(e,t,r)=>{const{kConstruct:n}=r(296);const{Cache:s}=r(479);const{webidl:o}=r(4222);const{kEnumerableProperty:i}=r(3440);class CacheStorage{#s=new Map;constructor(){if(arguments[0]!==n){o.illegalConstructor()}}async match(e,t={}){o.brandCheck(this,CacheStorage);o.argumentLengthCheck(arguments,1,{header:"CacheStorage.match"});e=o.converters.RequestInfo(e);t=o.converters.MultiCacheQueryOptions(t);if(t.cacheName!=null){if(this.#s.has(t.cacheName)){const r=this.#s.get(t.cacheName);const o=new s(n,r);return await o.match(e,t)}}else{for(const r of this.#s.values()){const o=new s(n,r);const i=await o.match(e,t);if(i!==undefined){return i}}}}async has(e){o.brandCheck(this,CacheStorage);o.argumentLengthCheck(arguments,1,{header:"CacheStorage.has"});e=o.converters.DOMString(e);return this.#s.has(e)}async open(e){o.brandCheck(this,CacheStorage);o.argumentLengthCheck(arguments,1,{header:"CacheStorage.open"});e=o.converters.DOMString(e);if(this.#s.has(e)){const t=this.#s.get(e);return new s(n,t)}const t=[];this.#s.set(e,t);return new s(n,t)}async delete(e){o.brandCheck(this,CacheStorage);o.argumentLengthCheck(arguments,1,{header:"CacheStorage.delete"});e=o.converters.DOMString(e);return this.#s.delete(e)}async keys(){o.brandCheck(this,CacheStorage);const e=this.#s.keys();return[...e]}}Object.defineProperties(CacheStorage.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:true},match:i,has:i,open:i,delete:i,keys:i});e.exports={CacheStorage:CacheStorage}},296:(e,t,r)=>{e.exports={kConstruct:r(6443).kConstruct}},3993:(e,t,r)=>{const n=r(2613);const{URLSerializer:s}=r(4322);const{isValidHeaderName:o}=r(5523);function urlEquals(e,t,r=false){const n=s(e,r);const o=s(t,r);return n===o}function fieldValues(e){n(e!==null);const t=[];for(let r of e.split(",")){r=r.trim();if(!r.length){continue}else if(!o(r)){continue}t.push(r)}return t}e.exports={urlEquals:urlEquals,fieldValues:fieldValues}},6197:(e,t,r)=>{const n=r(2613);const s=r(9278);const o=r(8611);const{pipeline:i}=r(2203);const a=r(3440);const A=r(8804);const c=r(4655);const u=r(1);const{RequestContentLengthMismatchError:l,ResponseContentLengthMismatchError:p,InvalidArgumentError:d,RequestAbortedError:g,HeadersTimeoutError:h,HeadersOverflowError:E,SocketError:m,InformationalError:I,BodyTimeoutError:y,HTTPParserError:C,ResponseExceededMaxSizeError:Q,ClientDestroyedError:B}=r(8707);const b=r(9136);const{kUrl:T,kReset:w,kServerName:v,kClient:R,kBusy:k,kParser:D,kConnect:_,kBlocking:S,kResuming:F,kRunning:N,kPending:O,kSize:L,kWriting:U,kQueue:G,kConnected:P,kConnecting:M,kNeedDrain:x,kNoRef:V,kKeepAliveDefaultTimeout:j,kHostHeader:H,kPendingIdx:Y,kRunningIdx:q,kError:J,kPipelining:W,kSocket:K,kKeepAliveTimeoutValue:$,kMaxHeadersSize:z,kKeepAliveMaxTimeout:Z,kKeepAliveTimeoutThreshold:X,kHeadersTimeout:ee,kBodyTimeout:te,kStrictContentLength:re,kConnector:ne,kMaxRedirections:se,kMaxRequests:oe,kCounter:ie,kClose:ae,kDestroy:Ae,kDispatch:ce,kInterceptors:ue,kLocalAddress:le,kMaxResponseSize:pe,kHTTPConnVersion:de,kHost:ge,kHTTP2Session:fe,kHTTP2SessionState:he,kHTTP2BuildRequest:Ee,kHTTP2CopyHeaders:me,kHTTP1BuildRequest:Ie}=r(6443);let ye;try{ye=r(5675)}catch{ye={constants:{}}}const{constants:{HTTP2_HEADER_AUTHORITY:Ce,HTTP2_HEADER_METHOD:Qe,HTTP2_HEADER_PATH:Be,HTTP2_HEADER_SCHEME:be,HTTP2_HEADER_CONTENT_LENGTH:Te,HTTP2_HEADER_EXPECT:we,HTTP2_HEADER_STATUS:ve}}=ye;let Re=false;const ke=Buffer[Symbol.species];const De=Symbol("kClosedResolve");const _e={};try{const e=r(1637);_e.sendHeaders=e.channel("undici:client:sendHeaders");_e.beforeConnect=e.channel("undici:client:beforeConnect");_e.connectError=e.channel("undici:client:connectError");_e.connected=e.channel("undici:client:connected")}catch{_e.sendHeaders={hasSubscribers:false};_e.beforeConnect={hasSubscribers:false};_e.connectError={hasSubscribers:false};_e.connected={hasSubscribers:false}}class Client extends u{constructor(e,{interceptors:t,maxHeaderSize:r,headersTimeout:n,socketTimeout:i,requestTimeout:A,connectTimeout:c,bodyTimeout:u,idleTimeout:l,keepAlive:p,keepAliveTimeout:g,maxKeepAliveTimeout:h,keepAliveMaxTimeout:E,keepAliveTimeoutThreshold:m,socketPath:I,pipelining:y,tls:C,strictContentLength:Q,maxCachedSessions:B,maxRedirections:w,connect:R,maxRequestsPerClient:k,localAddress:D,maxResponseSize:_,autoSelectFamily:S,autoSelectFamilyAttemptTimeout:N,allowH2:O,maxConcurrentStreams:L}={}){super();if(p!==undefined){throw new d("unsupported keepAlive, use pipelining=0 instead")}if(i!==undefined){throw new d("unsupported socketTimeout, use headersTimeout & bodyTimeout instead")}if(A!==undefined){throw new d("unsupported requestTimeout, use headersTimeout & bodyTimeout instead")}if(l!==undefined){throw new d("unsupported idleTimeout, use keepAliveTimeout instead")}if(h!==undefined){throw new d("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead")}if(r!=null&&!Number.isFinite(r)){throw new d("invalid maxHeaderSize")}if(I!=null&&typeof I!=="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(n!=null&&(!Number.isInteger(n)||n<0)){throw new d("headersTimeout must be a positive integer or zero")}if(u!=null&&(!Number.isInteger(u)||u<0)){throw new d("bodyTimeout must be a positive integer or zero")}if(R!=null&&typeof R!=="function"&&typeof R!=="object"){throw new d("connect must be a function or an object")}if(w!=null&&(!Number.isInteger(w)||w<0)){throw new d("maxRedirections must be a positive number")}if(k!=null&&(!Number.isInteger(k)||k<0)){throw new d("maxRequestsPerClient must be a positive number")}if(D!=null&&(typeof D!=="string"||s.isIP(D)===0)){throw new d("localAddress must be valid string IP address")}if(_!=null&&(!Number.isInteger(_)||_<-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(O!=null&&typeof O!=="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 R!=="function"){R=b({...C,maxCachedSessions:B,allowH2:O,socketPath:I,timeout:c,...a.nodeHasAutoSelectFamily&&S?{autoSelectFamily:S,autoSelectFamilyAttemptTimeout:N}:undefined,...R})}this[ue]=t&&t.Client&&Array.isArray(t.Client)?t.Client:[Fe({maxRedirections:w})];this[T]=a.parseOrigin(e);this[ne]=R;this[K]=null;this[W]=y!=null?y:1;this[z]=r||o.maxHeaderSize;this[j]=g==null?4e3:g;this[Z]=E==null?6e5:E;this[X]=m==null?1e3:m;this[$]=this[j];this[v]=null;this[le]=D!=null?D:null;this[F]=0;this[x]=0;this[H]=`host: ${this[T].hostname}${this[T].port?`:${this[T].port}`:""}\r\n`;this[te]=u!=null?u:3e5;this[ee]=n!=null?n:3e5;this[re]=Q==null?true:Q;this[se]=w;this[oe]=k;this[De]=null;this[pe]=_>-1?_:-1;this[de]="h1";this[fe]=null;this[he]=!O?null:{openStreams:0,maxConcurrentStreams:L!=null?L:100};this[ge]=`${this[T].hostname}${this[T].port?`:${this[T].port}`:""}`;this[G]=[];this[q]=0;this[Y]=0}get pipelining(){return this[W]}set pipelining(e){this[W]=e;resume(this,true)}get[O](){return this[G].length-this[Y]}get[N](){return this[Y]-this[q]}get[L](){return this[G].length-this[q]}get[P](){return!!this[K]&&!this[M]&&!this[K].destroyed}get[k](){const e=this[K];return e&&(e[w]||e[U]||e[S])||this[L]>=(this[W]||1)||this[O]>0}[_](e){connect(this);this.once("connect",e)}[ce](e,t){const r=e.origin||this[T].origin;const n=this[de]==="h2"?c[Ee](r,e,t):c[Ie](r,e,t);this[G].push(n);if(this[F]){}else if(a.bodyLength(n.body)==null&&a.isIterable(n.body)){this[F]=1;process.nextTick(resume,this)}else{resume(this,true)}if(this[F]&&this[x]!==2&&this[k]){this[x]=2}return this[x]<2}async[ae](){return new Promise((e=>{if(!this[L]){e(null)}else{this[De]=e}}))}async[Ae](e){return new Promise((t=>{const r=this[G].splice(this[Y]);for(let t=0;t{if(this[De]){this[De]();this[De]=null}t()};if(this[fe]!=null){a.destroy(this[fe],e);this[fe]=null;this[he]=null}if(!this[K]){queueMicrotask(callback)}else{a.destroy(this[K].on("close",callback),e)}resume(this)}))}}function onHttp2SessionError(e){n(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID");this[K][J]=e;onError(this[R],e)}function onHttp2FrameError(e,t,r){const n=new I(`HTTP/2: "frameError" received - type ${e}, code ${t}`);if(r===0){this[K][J]=n;onError(this[R],n)}}function onHttp2SessionEnd(){a.destroy(this,new m("other side closed"));a.destroy(this[K],new m("other side closed"))}function onHTTP2GoAway(e){const t=this[R];const r=new I(`HTTP/2: "GOAWAY" frame received with code ${e}`);t[K]=null;t[fe]=null;if(t.destroyed){n(this[O]===0);const e=t[G].splice(t[q]);for(let t=0;t0){const e=t[G][t[q]];t[G][t[q]++]=null;errorRequest(t,e,r)}t[Y]=t[q];n(t[N]===0);t.emit("disconnect",t[T],[t],r);resume(t)}const Se=r(2824);const Fe=r(4415);const Ne=Buffer.alloc(0);async function lazyllhttp(){const e=process.env.JEST_WORKER_ID?r(3870):undefined;let t;try{t=await WebAssembly.compile(Buffer.from(r(3434),"base64"))}catch(n){t=await WebAssembly.compile(Buffer.from(e||r(3870),"base64"))}return await WebAssembly.instantiate(t,{env:{wasm_on_url:(e,t,r)=>0,wasm_on_status:(e,t,r)=>{n.strictEqual(Ue.ptr,e);const s=t-Me+Ge.byteOffset;return Ue.onStatus(new ke(Ge.buffer,s,r))||0},wasm_on_message_begin:e=>{n.strictEqual(Ue.ptr,e);return Ue.onMessageBegin()||0},wasm_on_header_field:(e,t,r)=>{n.strictEqual(Ue.ptr,e);const s=t-Me+Ge.byteOffset;return Ue.onHeaderField(new ke(Ge.buffer,s,r))||0},wasm_on_header_value:(e,t,r)=>{n.strictEqual(Ue.ptr,e);const s=t-Me+Ge.byteOffset;return Ue.onHeaderValue(new ke(Ge.buffer,s,r))||0},wasm_on_headers_complete:(e,t,r,s)=>{n.strictEqual(Ue.ptr,e);return Ue.onHeadersComplete(t,Boolean(r),Boolean(s))||0},wasm_on_body:(e,t,r)=>{n.strictEqual(Ue.ptr,e);const s=t-Me+Ge.byteOffset;return Ue.onBody(new ke(Ge.buffer,s,r))||0},wasm_on_message_complete:e=>{n.strictEqual(Ue.ptr,e);return Ue.onMessageComplete()||0}}})}let Oe=null;let Le=lazyllhttp();Le.catch();let Ue=null;let Ge=null;let Pe=0;let Me=null;const xe=1;const Ve=2;const je=3;class Parser{constructor(e,t,{exports:r}){n(Number.isFinite(e[z])&&e[z]>0);this.llhttp=r;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[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}n(this.ptr!=null);n(Ue==null);this.llhttp.llhttp_resume(this.ptr);n(this.timeoutType===Ve);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){n(this.ptr!=null);n(Ue==null);n(!this.paused);const{socket:t,llhttp:r}=this;if(e.length>Pe){if(Me){r.free(Me)}Pe=Math.ceil(e.length/4096)*4096;Me=r.malloc(Pe)}new Uint8Array(r.memory.buffer,Me,Pe).set(e);try{let n;try{Ge=e;Ue=this;n=r.llhttp_execute(this.ptr,Me,e.length)}catch(e){throw e}finally{Ue=null;Ge=null}const s=r.llhttp_get_error_pos(this.ptr)-Me;if(n===Se.ERROR.PAUSED_UPGRADE){this.onUpgrade(e.slice(s))}else if(n===Se.ERROR.PAUSED){this.paused=true;t.unshift(e.slice(s))}else if(n!==Se.ERROR.OK){const t=r.llhttp_get_error_reason(this.ptr);let o="";if(t){const e=new Uint8Array(r.memory.buffer,t).indexOf(0);o="Response does not match the HTTP/1.1 protocol ("+Buffer.from(r.memory.buffer,t,e).toString()+")"}throw new C(o,Se.ERROR[n],e.slice(s))}}catch(e){a.destroy(t,e)}}destroy(){n(this.ptr!=null);n(Ue==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 r=t[G][t[q]];if(!r){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 r=this.headers[t-2];if(r.length===10&&r.toString().toLowerCase()==="keep-alive"){this.keepAlive+=e.toString()}else if(r.length===10&&r.toString().toLowerCase()==="connection"){this.connection+=e.toString()}else if(r.length===14&&r.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:r,socket:s,headers:o,statusCode:i}=this;n(t);const A=r[G][r[q]];n(A);n(!s.destroyed);n(s===r[K]);n(!this.paused);n(A.upgrade||A.method==="CONNECT");this.statusCode=null;this.statusText="";this.shouldKeepAlive=null;n(this.headers.length%2===0);this.headers=[];this.headersSize=0;s.unshift(e);s[D].destroy();s[D]=null;s[R]=null;s[J]=null;s.removeListener("error",onSocketError).removeListener("readable",onSocketReadable).removeListener("end",onSocketEnd).removeListener("close",onSocketClose);r[K]=null;r[G][r[q]++]=null;r.emit("disconnect",r[T],[r],new I("upgrade"));try{A.onUpgrade(i,o,s)}catch(e){a.destroy(s,e)}resume(r)}onHeadersComplete(e,t,r){const{client:s,socket:o,headers:i,statusText:A}=this;if(o.destroyed){return-1}const c=s[G][s[q]];if(!c){return-1}n(!this.upgrade);n(this.statusCode<200);if(e===100){a.destroy(o,new m("bad response",a.getSocketInfo(o)));return-1}if(t&&!c.upgrade){a.destroy(o,new m("bad upgrade",a.getSocketInfo(o)));return-1}n.strictEqual(this.timeoutType,xe);this.statusCode=e;this.shouldKeepAlive=r||c.method==="HEAD"&&!o[w]&&this.connection.toLowerCase()==="keep-alive";if(this.statusCode>=200){const e=c.bodyTimeout!=null?c.bodyTimeout:s[te];this.setTimeout(e,Ve)}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}if(c.method==="CONNECT"){n(s[N]===1);this.upgrade=true;return 2}if(t){n(s[N]===1);this.upgrade=true;return 2}n(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(this.shouldKeepAlive&&s[W]){const e=this.keepAlive?a.parseKeepAliveTimeout(this.keepAlive):null;if(e!=null){const t=Math.min(e-s[X],s[Z]);if(t<=0){o[w]=true}else{s[$]=t}}else{s[$]=s[j]}}else{o[w]=true}const u=c.onHeaders(e,i,this.resume,A)===false;if(c.aborted){return-1}if(c.method==="HEAD"){return 1}if(e<200){return 1}if(o[S]){o[S]=false;resume(s)}return u?Se.ERROR.PAUSED:0}onBody(e){const{client:t,socket:r,statusCode:s,maxResponseSize:o}=this;if(r.destroyed){return-1}const i=t[G][t[q]];n(i);n.strictEqual(this.timeoutType,Ve);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}n(s>=200);if(o>-1&&this.bytesRead+e.length>o){a.destroy(r,new Q);return-1}this.bytesRead+=e.length;if(i.onData(e)===false){return Se.ERROR.PAUSED}}onMessageComplete(){const{client:e,socket:t,statusCode:r,upgrade:s,headers:o,contentLength:i,bytesRead:A,shouldKeepAlive:c}=this;if(t.destroyed&&(!r||c)){return-1}if(s){return}const u=e[G][e[q]];n(u);n(r>=100);this.statusCode=null;this.statusText="";this.bytesRead=0;this.contentLength="";this.keepAlive="";this.connection="";n(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(r<200){return}if(u.method!=="HEAD"&&i&&A!==parseInt(i,10)){a.destroy(t,new p);return-1}u.onComplete(o);e[G][e[q]++]=null;if(t[U]){n.strictEqual(e[N],0);a.destroy(t,new I("reset"));return Se.ERROR.PAUSED}else if(!c){a.destroy(t,new I("reset"));return Se.ERROR.PAUSED}else if(t[w]&&e[N]===0){a.destroy(t,new I("reset"));return Se.ERROR.PAUSED}else if(e[W]===1){setImmediate(resume,e)}else{resume(e)}}}function onParserTimeout(e){const{socket:t,timeoutType:r,client:s}=e;if(r===xe){if(!t[U]||t.writableNeedDrain||s[N]>1){n(!e.paused,"cannot be paused while waiting for headers");a.destroy(t,new h)}}else if(r===Ve){if(!e.paused){a.destroy(t,new y)}}else if(r===je){n(s[N]===0&&s[$]);a.destroy(t,new I("socket idle timeout"))}}function onSocketReadable(){const{[D]:e}=this;if(e){e.readMore()}}function onSocketError(e){const{[R]:t,[D]:r}=this;n(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID");if(t[de]!=="h2"){if(e.code==="ECONNRESET"&&r.statusCode&&!r.shouldKeepAlive){r.onMessageComplete();return}}this[J]=e;onError(this[R],e)}function onError(e,t){if(e[N]===0&&t.code!=="UND_ERR_INFO"&&t.code!=="UND_ERR_SOCKET"){n(e[Y]===e[q]);const r=e[G].splice(e[q]);for(let n=0;n0&&r.code!=="UND_ERR_INFO"){const t=e[G][e[q]];e[G][e[q]++]=null;errorRequest(e,t,r)}e[Y]=e[q];n(e[N]===0);e.emit("disconnect",e[T],[e],r);resume(e)}async function connect(e){n(!e[M]);n(!e[K]);let{host:t,hostname:r,protocol:o,port:i}=e[T];if(r[0]==="["){const e=r.indexOf("]");n(e!==-1);const t=r.substring(1,e);n(s.isIP(t));r=t}e[M]=true;if(_e.beforeConnect.hasSubscribers){_e.beforeConnect.publish({connectParams:{host:t,hostname:r,protocol:o,port:i,servername:e[v],localAddress:e[le]},connector:e[ne]})}try{const s=await new Promise(((n,s)=>{e[ne]({host:t,hostname:r,protocol:o,port:i,servername:e[v],localAddress:e[le]},((e,t)=>{if(e){s(e)}else{n(t)}}))}));if(e.destroyed){a.destroy(s.on("error",(()=>{})),new B);return}e[M]=false;n(s);const A=s.alpnProtocol==="h2";if(A){if(!Re){Re=true;process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"})}const t=ye.connect(e[T],{createConnection:()=>s,peerMaxConcurrentStreams:e[he].maxConcurrentStreams});e[de]="h2";t[R]=e;t[K]=s;t.on("error",onHttp2SessionError);t.on("frameError",onHttp2FrameError);t.on("end",onHttp2SessionEnd);t.on("goaway",onHTTP2GoAway);t.on("close",onSocketClose);t.unref();e[fe]=t;s[fe]=t}else{if(!Oe){Oe=await Le;Le=null}s[V]=false;s[U]=false;s[w]=false;s[S]=false;s[D]=new Parser(e,s,Oe)}s[ie]=0;s[oe]=e[oe];s[R]=e;s[J]=null;s.on("error",onSocketError).on("readable",onSocketReadable).on("end",onSocketEnd).on("close",onSocketClose);e[K]=s;if(_e.connected.hasSubscribers){_e.connected.publish({connectParams:{host:t,hostname:r,protocol:o,port:i,servername:e[v],localAddress:e[le]},connector:e[ne],socket:s})}e.emit("connect",e[T],[e])}catch(s){if(e.destroyed){return}e[M]=false;if(_e.connectError.hasSubscribers){_e.connectError.publish({connectParams:{host:t,hostname:r,protocol:o,port:i,servername:e[v],localAddress:e[le]},connector:e[ne],error:s})}if(s.code==="ERR_TLS_CERT_ALTNAME_INVALID"){n(e[N]===0);while(e[O]>0&&e[G][e[Y]].servername===e[v]){const t=e[G][e[Y]++];errorRequest(e,t,s)}}else{onError(e,s)}e.emit("connectionError",e[T],[e],s)}resume(e)}function emitDrain(e){e[x]=0;e.emit("drain",e[T],[e])}function resume(e,t){if(e[F]===2){return}e[F]=2;_resume(e,t);e[F]=0;if(e[q]>256){e[G].splice(0,e[q]);e[Y]-=e[q];e[q]=0}}function _resume(e,t){while(true){if(e.destroyed){n(e[O]===0);return}if(e[De]&&!e[L]){e[De]();e[De]=null;return}const r=e[K];if(r&&!r.destroyed&&r.alpnProtocol!=="h2"){if(e[L]===0){if(!r[V]&&r.unref){r.unref();r[V]=true}}else if(r[V]&&r.ref){r.ref();r[V]=false}if(e[L]===0){if(r[D].timeoutType!==je){r[D].setTimeout(e[$],je)}}else if(e[N]>0&&r[D].statusCode<200){if(r[D].timeoutType!==xe){const t=e[G][e[q]];const n=t.headersTimeout!=null?t.headersTimeout:e[ee];r[D].setTimeout(n,xe)}}}if(e[k]){e[x]=2}else if(e[x]===2){if(t){e[x]=1;process.nextTick(emitDrain,e)}else{emitDrain(e)}continue}if(e[O]===0){return}if(e[N]>=(e[W]||1)){return}const s=e[G][e[Y]];if(e[T].protocol==="https:"&&e[v]!==s.servername){if(e[N]>0){return}e[v]=s.servername;if(r&&r.servername!==s.servername){a.destroy(r,new I("servername changed"));return}}if(e[M]){return}if(!r&&!e[fe]){connect(e);return}if(r.destroyed||r[U]||r[w]||r[S]){return}if(e[N]>0&&!s.idempotent){return}if(e[N]>0&&(s.upgrade||s.method==="CONNECT")){return}if(e[N]>0&&a.bodyLength(s.body)!==0&&(a.isStream(s.body)||a.isAsyncIterable(s.body))){return}if(!s.aborted&&write(e,s)){e[Y]++}else{e[G].splice(e[Y],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[fe],t);return}const{body:r,method:s,path:o,host:i,upgrade:A,headers:c,blocking:u,reset:p}=t;const d=s==="PUT"||s==="POST"||s==="PATCH";if(r&&typeof r.read==="function"){r.read(0)}const h=a.bodyLength(r);let E=h;if(E===null){E=t.contentLength}if(E===0&&!d){E=null}if(shouldSendContentLength(s)&&E>0&&t.contentLength!==null&&t.contentLength!==E){if(e[re]){errorRequest(e,t,new l);return false}process.emitWarning(new l)}const m=e[K];try{t.onConnect((r=>{if(t.aborted||t.completed){return}errorRequest(e,t,r||new g);a.destroy(m,new I("aborted"))}))}catch(r){errorRequest(e,t,r)}if(t.aborted){return false}if(s==="HEAD"){m[w]=true}if(A||s==="CONNECT"){m[w]=true}if(p!=null){m[w]=p}if(e[oe]&&m[ie]++>=e[oe]){m[w]=true}if(u){m[S]=true}let y=`${s} ${o} HTTP/1.1\r\n`;if(typeof i==="string"){y+=`host: ${i}\r\n`}else{y+=e[H]}if(A){y+=`connection: upgrade\r\nupgrade: ${A}\r\n`}else if(e[W]&&!m[w]){y+="connection: keep-alive\r\n"}else{y+="connection: close\r\n"}if(c){y+=c}if(_e.sendHeaders.hasSubscribers){_e.sendHeaders.publish({request:t,headers:y,socket:m})}if(!r||h===0){if(E===0){m.write(`${y}content-length: 0\r\n\r\n`,"latin1")}else{n(E===null,"no body must not have content length");m.write(`${y}\r\n`,"latin1")}t.onRequestSent()}else if(a.isBuffer(r)){n(E===r.byteLength,"buffer body must have content length");m.cork();m.write(`${y}content-length: ${E}\r\n\r\n`,"latin1");m.write(r);m.uncork();t.onBodySent(r);t.onRequestSent();if(!d){m[w]=true}}else if(a.isBlobLike(r)){if(typeof r.stream==="function"){writeIterable({body:r.stream(),client:e,request:t,socket:m,contentLength:E,header:y,expectsPayload:d})}else{writeBlob({body:r,client:e,request:t,socket:m,contentLength:E,header:y,expectsPayload:d})}}else if(a.isStream(r)){writeStream({body:r,client:e,request:t,socket:m,contentLength:E,header:y,expectsPayload:d})}else if(a.isIterable(r)){writeIterable({body:r,client:e,request:t,socket:m,contentLength:E,header:y,expectsPayload:d})}else{n(false)}return true}function writeH2(e,t,r){const{body:s,method:o,path:i,host:A,upgrade:u,expectContinue:p,signal:d,headers:h}=r;let E;if(typeof h==="string")E=c[me](h.trim());else E=h;if(u){errorRequest(e,r,new Error("Upgrade not supported for H2"));return false}try{r.onConnect((t=>{if(r.aborted||r.completed){return}errorRequest(e,r,t||new g)}))}catch(t){errorRequest(e,r,t)}if(r.aborted){return false}let m;const y=e[he];E[Ce]=A||e[ge];E[Qe]=o;if(o==="CONNECT"){t.ref();m=t.request(E,{endStream:false,signal:d});if(m.id&&!m.pending){r.onUpgrade(null,null,m);++y.openStreams}else{m.once("ready",(()=>{r.onUpgrade(null,null,m);++y.openStreams}))}m.once("close",(()=>{y.openStreams-=1;if(y.openStreams===0)t.unref()}));return true}E[Be]=i;E[be]="https";const C=o==="PUT"||o==="POST"||o==="PATCH";if(s&&typeof s.read==="function"){s.read(0)}let Q=a.bodyLength(s);if(Q==null){Q=r.contentLength}if(Q===0||!C){Q=null}if(shouldSendContentLength(o)&&Q>0&&r.contentLength!=null&&r.contentLength!==Q){if(e[re]){errorRequest(e,r,new l);return false}process.emitWarning(new l)}if(Q!=null){n(s,"no body must not have content length");E[Te]=`${Q}`}t.ref();const B=o==="GET"||o==="HEAD";if(p){E[we]="100-continue";m=t.request(E,{endStream:B,signal:d});m.once("continue",writeBodyH2)}else{m=t.request(E,{endStream:B,signal:d});writeBodyH2()}++y.openStreams;m.once("response",(e=>{const{[ve]:t,...n}=e;if(r.onHeaders(Number(t),n,m.resume.bind(m),"")===false){m.pause()}}));m.once("end",(()=>{r.onComplete([])}));m.on("data",(e=>{if(r.onData(e)===false){m.pause()}}));m.once("close",(()=>{y.openStreams-=1;if(y.openStreams===0){t.unref()}}));m.once("error",(function(t){if(e[fe]&&!e[fe].destroyed&&!this.closed&&!this.destroyed){y.streams-=1;a.destroy(m,t)}}));m.once("frameError",((t,n)=>{const s=new I(`HTTP/2: "frameError" received - type ${t}, code ${n}`);errorRequest(e,r,s);if(e[fe]&&!e[fe].destroyed&&!this.closed&&!this.destroyed){y.streams-=1;a.destroy(m,s)}}));return true;function writeBodyH2(){if(!s){r.onRequestSent()}else if(a.isBuffer(s)){n(Q===s.byteLength,"buffer body must have content length");m.cork();m.write(s);m.uncork();m.end();r.onBodySent(s);r.onRequestSent()}else if(a.isBlobLike(s)){if(typeof s.stream==="function"){writeIterable({client:e,request:r,contentLength:Q,h2stream:m,expectsPayload:C,body:s.stream(),socket:e[K],header:""})}else{writeBlob({body:s,client:e,request:r,contentLength:Q,expectsPayload:C,h2stream:m,header:"",socket:e[K]})}}else if(a.isStream(s)){writeStream({body:s,client:e,request:r,contentLength:Q,expectsPayload:C,socket:e[K],h2stream:m,header:""})}else if(a.isIterable(s)){writeIterable({body:s,client:e,request:r,contentLength:Q,expectsPayload:C,header:"",h2stream:m,socket:e[K]})}else{n(false)}}}function writeStream({h2stream:e,body:t,client:r,request:s,socket:o,contentLength:A,header:c,expectsPayload:u}){n(A!==0||r[N]===0,"stream body cannot be pipelined");if(r[de]==="h2"){const d=i(t,e,(r=>{if(r){a.destroy(t,r);a.destroy(e,r)}else{s.onRequestSent()}}));d.on("data",onPipeData);d.once("end",(()=>{d.removeListener("data",onPipeData);a.destroy(d)}));function onPipeData(e){s.onBodySent(e)}return}let l=false;const p=new AsyncWriter({socket:o,request:s,contentLength:A,client:r,expectsPayload:u,header:c});const onData=function(e){if(l){return}try{if(!p.write(e)&&this.pause){this.pause()}}catch(e){a.destroy(this,e)}};const onDrain=function(){if(l){return}if(t.resume){t.resume()}};const onAbort=function(){if(l){return}const e=new g;queueMicrotask((()=>onFinished(e)))};const onFinished=function(e){if(l){return}l=true;n(o.destroyed||o[U]&&r[N]<=1);o.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()}o.on("drain",onDrain).on("error",onFinished)}async function writeBlob({h2stream:e,body:t,client:r,request:s,socket:o,contentLength:i,header:A,expectsPayload:c}){n(i===t.size,"blob body must have content length");const u=r[de]==="h2";try{if(i!=null&&i!==t.size){throw new l}const n=Buffer.from(await t.arrayBuffer());if(u){e.cork();e.write(n);e.uncork()}else{o.cork();o.write(`${A}content-length: ${i}\r\n\r\n`,"latin1");o.write(n);o.uncork()}s.onBodySent(n);s.onRequestSent();if(!c){o[w]=true}resume(r)}catch(t){a.destroy(u?e:o,t)}}async function writeIterable({h2stream:e,body:t,client:r,request:s,socket:o,contentLength:i,header:a,expectsPayload:A}){n(i!==0||r[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)=>{n(c===null);if(o[J]){t(o[J])}else{c=e}}));if(r[de]==="h2"){e.on("close",onDrain).on("drain",onDrain);try{for await(const r of t){if(o[J]){throw o[J]}const t=e.write(r);s.onBodySent(r);if(!t){await waitForDrain()}}}catch(t){e.destroy(t)}finally{s.onRequestSent();e.end();e.off("close",onDrain).off("drain",onDrain)}return}o.on("close",onDrain).on("drain",onDrain);const u=new AsyncWriter({socket:o,request:s,contentLength:i,client:r,expectsPayload:A,header:a});try{for await(const e of t){if(o[J]){throw o[J]}if(!u.write(e)){await waitForDrain()}}u.end()}catch(e){u.destroy(e)}finally{o.off("close",onDrain).off("drain",onDrain)}}class AsyncWriter{constructor({socket:e,request:t,contentLength:r,client:n,expectsPayload:s,header:o}){this.socket=e;this.request=t;this.contentLength=r;this.client=n;this.bytesWritten=0;this.expectsPayload=s;this.header=o;e[U]=true}write(e){const{socket:t,request:r,contentLength:n,client:s,bytesWritten:o,expectsPayload:i,header:a}=this;if(t[J]){throw t[J]}if(t.destroyed){return false}const A=Buffer.byteLength(e);if(!A){return true}if(n!==null&&o+A>n){if(s[re]){throw new l}process.emitWarning(new l)}t.cork();if(o===0){if(!i){t[w]=true}if(n===null){t.write(`${a}transfer-encoding: chunked\r\n`,"latin1")}else{t.write(`${a}content-length: ${n}\r\n\r\n`,"latin1")}}if(n===null){t.write(`\r\n${A.toString(16)}\r\n`,"latin1")}this.bytesWritten+=A;const c=t.write(e);t.uncork();r.onBodySent(e);if(!c){if(t[D].timeout&&t[D].timeoutType===xe){if(t[D].timeout.refresh){t[D].timeout.refresh()}}}return c}end(){const{socket:e,contentLength:t,client:r,bytesWritten:n,expectsPayload:s,header:o,request:i}=this;i.onRequestSent();e[U]=false;if(e[J]){throw e[J]}if(e.destroyed){return}if(n===0){if(s){e.write(`${o}content-length: 0\r\n\r\n`,"latin1")}else{e.write(`${o}\r\n`,"latin1")}}else if(t===null){e.write("\r\n0\r\n\r\n","latin1")}if(t!==null&&n!==t){if(r[re]){throw new l}else{process.emitWarning(new l)}}if(e[D].timeout&&e[D].timeoutType===xe){if(e[D].timeout.refresh){e[D].timeout.refresh()}}resume(r)}destroy(e){const{socket:t,client:r}=this;t[U]=false;if(e){n(r[N]<=1,"pipeline should only contain this request");a.destroy(t,e)}}}function errorRequest(e,t,r){try{t.onError(r);n(t.aborted)}catch(r){e.emit("error",r)}}e.exports=Client},3194:(e,t,r)=>{const{kConnected:n,kSize:s}=r(6443);class CompatWeakRef{constructor(e){this.value=e}deref(){return this.value[n]===0&&this.value[s]===0?undefined:this.value}}class CompatFinalizer{constructor(e){this.finalizer=e}register(e,t){if(e.on){e.on("disconnect",(()=>{if(e[n]===0&&e[s]===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}}},9237:e=>{const t=1024;const r=4096;e.exports={maxAttributeValueSize:t,maxNameValuePairSize:r}},3168:(e,t,r)=>{const{parseSetCookie:n}=r(8915);const{stringify:s,getHeadersList:o}=r(3834);const{webidl:i}=r(4222);const{Headers:a}=r(6349);function getCookies(e){i.argumentLengthCheck(arguments,1,{header:"getCookies"});i.brandCheck(e,a,{strict:false});const t=e.get("cookie");const r={};if(!t){return r}for(const e of t.split(";")){const[t,...n]=e.split("=");r[t.trim()]=n.join("=")}return r}function deleteCookie(e,t,r){i.argumentLengthCheck(arguments,2,{header:"deleteCookie"});i.brandCheck(e,a,{strict:false});t=i.converters.DOMString(t);r=i.converters.DeleteCookieAttributes(r);setCookie(e,{name:t,value:"",expires:new Date(0),...r})}function getSetCookies(e){i.argumentLengthCheck(arguments,1,{header:"getSetCookies"});i.brandCheck(e,a,{strict:false});const t=o(e).cookies;if(!t){return[]}return t.map((e=>n(Array.isArray(e)?e[1]:e)))}function setCookie(e,t){i.argumentLengthCheck(arguments,2,{header:"setCookie"});i.brandCheck(e,a,{strict:false});t=i.converters.Cookie(t);const r=s(t);if(r){e.append("Set-Cookie",s(t))}}i.converters.DeleteCookieAttributes=i.dictionaryConverter([{converter:i.nullableConverter(i.converters.DOMString),key:"path",defaultValue:null},{converter:i.nullableConverter(i.converters.DOMString),key:"domain",defaultValue:null}]);i.converters.Cookie=i.dictionaryConverter([{converter:i.converters.DOMString,key:"name"},{converter:i.converters.DOMString,key:"value"},{converter:i.nullableConverter((e=>{if(typeof e==="number"){return i.converters["unsigned long long"](e)}return new Date(e)})),key:"expires",defaultValue:null},{converter:i.nullableConverter(i.converters["long long"]),key:"maxAge",defaultValue:null},{converter:i.nullableConverter(i.converters.DOMString),key:"domain",defaultValue:null},{converter:i.nullableConverter(i.converters.DOMString),key:"path",defaultValue:null},{converter:i.nullableConverter(i.converters.boolean),key:"secure",defaultValue:null},{converter:i.nullableConverter(i.converters.boolean),key:"httpOnly",defaultValue:null},{converter:i.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:i.sequenceConverter(i.converters.DOMString),key:"unparsed",defaultValue:[]}]);e.exports={getCookies:getCookies,deleteCookie:deleteCookie,getSetCookies:getSetCookies,setCookie:setCookie}},8915:(e,t,r)=>{const{maxNameValuePairSize:n,maxAttributeValueSize:s}=r(9237);const{isCTLExcludingHtab:o}=r(3834);const{collectASequenceOfCodePointsFast:i}=r(4322);const a=r(2613);function parseSetCookie(e){if(o(e)){return null}let t="";let r="";let s="";let a="";if(e.includes(";")){const n={position:0};t=i(";",e,n);r=e.slice(n.position)}else{t=e}if(!t.includes("=")){a=t}else{const e={position:0};s=i("=",t,e);a=t.slice(e.position+1)}s=s.trim();a=a.trim();if(s.length+a.length>n){return null}return{name:s,value:a,...parseUnparsedAttributes(r)}}function parseUnparsedAttributes(e,t={}){if(e.length===0){return t}a(e[0]===";");e=e.slice(1);let r="";if(e.includes(";")){r=i(";",e,{position:0});e=e.slice(r.length)}else{r=e;e=""}let n="";let o="";if(r.includes("=")){const e={position:0};n=i("=",r,e);o=r.slice(e.position+1)}else{n=r}n=n.trim();o=o.trim();if(o.length>s){return parseUnparsedAttributes(e,t)}const A=n.toLowerCase();if(A==="expires"){const e=new Date(o);t.expires=e}else if(A==="max-age"){const r=o.charCodeAt(0);if((r<48||r>57)&&o[0]!=="-"){return parseUnparsedAttributes(e,t)}if(!/^\d+$/.test(o)){return parseUnparsedAttributes(e,t)}const n=Number(o);t.maxAge=n}else if(A==="domain"){let e=o;if(e[0]==="."){e=e.slice(1)}e=e.toLowerCase();t.domain=e}else if(A==="path"){let e="";if(o.length===0||o[0]!=="/"){e="/"}else{e=o}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 r=o.toLowerCase();if(r.includes("none")){e="None"}if(r.includes("strict")){e="Strict"}if(r.includes("lax")){e="Lax"}t.sameSite=e}else{t.unparsed??=[];t.unparsed.push(`${n}=${o}`)}return parseUnparsedAttributes(e,t)}e.exports={parseSetCookie:parseSetCookie,parseUnparsedAttributes:parseUnparsedAttributes}},3834:(e,t,r)=>{const n=r(2613);const{kHeadersList:s}=r(6443);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 r=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];const n=t[e.getUTCDay()];const s=e.getUTCDate().toString().padStart(2,"0");const o=r[e.getUTCMonth()];const i=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`${n}, ${s} ${o} ${i} ${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 r of e.unparsed){if(!r.includes("=")){throw new Error("Invalid unparsed")}const[e,...n]=r.split("=");t.push(`${e.trim()}=${n.join("=")}`)}return t.join("; ")}let o;function getHeadersList(e){if(e[s]){return e[s]}if(!o){o=Object.getOwnPropertySymbols(e).find((e=>e.description==="headers list"));n(o,"Headers cannot be parsed")}const t=e[o];n(t);return t}e.exports={isCTLExcludingHtab:isCTLExcludingHtab,stringify:stringify,getHeadersList:getHeadersList}},9136:(e,t,r)=>{const n=r(9278);const s=r(2613);const o=r(3440);const{InvalidArgumentError:i,ConnectTimeoutError:a}=r(8707);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:u,...l}){if(t!=null&&(!Number.isInteger(t)||t<0)){throw new i("maxCachedSessions must be a positive integer or zero")}const p={path:a,...l};const d=new c(t==null?100:t);u=u==null?1e4:u;e=e!=null?e:false;return function connect({hostname:t,host:i,protocol:a,port:c,servername:l,localAddress:g,httpSocket:h},E){let m;if(a==="https:"){if(!A){A=r(4756)}l=l||p.servername||o.getServerName(i)||null;const n=l||t;const a=d.get(n)||null;s(n);m=A.connect({highWaterMark:16384,...p,servername:l,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(n,e)}))}else{s(!h,"httpSocket can only be sent on TLS update");m=n.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 I=setupTimeout((()=>onConnectTimeout(m)),u);m.setNoDelay(true).once(a==="https:"?"secureConnect":"connect",(function(){I();if(E){const e=E;E=null;e(null,this)}})).on("error",(function(e){I();if(E){const t=E;E=null;t(e)}}));return m}}function setupTimeout(e,t){if(!t){return()=>{}}let r=null;let n=null;const s=setTimeout((()=>{r=setImmediate((()=>{if(process.platform==="win32"){n=setImmediate((()=>e()))}else{e()}}))}),t);return()=>{clearTimeout(s);clearImmediate(r);clearImmediate(n)}}function onConnectTimeout(e){o.destroy(e,new a)}e.exports=buildConnector},735:e=>{const t={};const r=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"];for(let e=0;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,r,n){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=n;this.status=t;this.statusCode=t;this.headers=r}}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,r){super(e);Error.captureStackTrace(this,HTTPParserError);this.name="HTTPParserError";this.code=t?`HPE_${t}`:undefined;this.data=r?r.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:r,data:n}){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=n;this.headers=r}}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}},4655:(e,t,r)=>{const{InvalidArgumentError:n,NotSupportedError:s}=r(8707);const o=r(2613);const{kHTTP2BuildRequest:i,kHTTP2CopyHeaders:a,kHTTP1BuildRequest:A}=r(6443);const c=r(3440);const u=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/;const l=/[^\t\x20-\x7e\x80-\xff]/;const p=/[^\u0021-\u00ff]/;const d=Symbol("handler");const g={};let h;try{const e=r(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:s,body:o,headers:i,query:a,idempotent:A,blocking:l,upgrade:E,headersTimeout:m,bodyTimeout:I,reset:y,throwOnError:C,expectContinue:Q},B){if(typeof t!=="string"){throw new n("path must be a string")}else if(t[0]!=="/"&&!(t.startsWith("http://")||t.startsWith("https://"))&&s!=="CONNECT"){throw new n("path must be an absolute URL or start with a slash")}else if(p.exec(t)!==null){throw new n("invalid request path")}if(typeof s!=="string"){throw new n("method must be a string")}else if(u.exec(s)===null){throw new n("invalid request method")}if(E&&typeof E!=="string"){throw new n("upgrade must be a string")}if(m!=null&&(!Number.isFinite(m)||m<0)){throw new n("invalid headersTimeout")}if(I!=null&&(!Number.isFinite(I)||I<0)){throw new n("invalid bodyTimeout")}if(y!=null&&typeof y!=="boolean"){throw new n("invalid reset")}if(Q!=null&&typeof Q!=="boolean"){throw new n("invalid expectContinue")}this.headersTimeout=m;this.bodyTimeout=I;this.throwOnError=C===true;this.method=s;this.abort=null;if(o==null){this.body=null}else if(c.isStream(o)){this.body=o;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(o)){this.body=o.byteLength?o:null}else if(ArrayBuffer.isView(o)){this.body=o.buffer.byteLength?Buffer.from(o.buffer,o.byteOffset,o.byteLength):null}else if(o instanceof ArrayBuffer){this.body=o.byteLength?Buffer.from(o):null}else if(typeof o==="string"){this.body=o.length?Buffer.from(o):null}else if(c.isFormDataLike(o)||c.isIterable(o)||c.isBlobLike(o)){this.body=o}else{throw new n("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?s==="HEAD"||s==="GET":A;this.blocking=l==null?false:l;this.reset=y==null?null:y;this.host=null;this.contentLength=null;this.contentType=null;this.headers="";this.expectContinue=Q!=null?Q:false;if(Array.isArray(i)){if(i.length%2!==0){throw new n("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")}},3440:(e,t,r)=>{const n=r(2613);const{kDestroyed:s,kBodyUsed:o}=r(6443);const{IncomingMessage:i}=r(8611);const a=r(2203);const A=r(9278);const{InvalidArgumentError:c}=r(8707);const{Blob:u}=r(181);const l=r(9023);const{stringify:p}=r(3480);const{headerNameLowerCasedRecord:d}=r(735);const[g,h]=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 u&&e instanceof u||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 r=p(t);if(r){e+="?"+r}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 r=e.origin!=null?e.origin:`${e.protocol}//${e.hostname}:${t}`;let n=e.path!=null?e.path:`${e.pathname||""}${e.search||""}`;if(r.endsWith("/")){r=r.substring(0,r.length-1)}if(n&&!n.startsWith("/")){n=`/${n}`}e=new URL(r+n)}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("]");n(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}n.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[s])}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===i){e.socket=null}e.destroy(t)}else if(t){process.nextTick(((e,t)=>{e.emit("error",t)}),e,t)}if(e.destroyed!==true){e[s]=true}}const E=/timeout=(\d+)/;function parseKeepAliveTimeout(e){const t=e.toString().match(E);return t?parseInt(t[1],10)*1e3:null}function headerNameToString(e){return d[e]||e.toLowerCase()}function parseHeaders(e,t={}){if(!Array.isArray(e))return e;for(let r=0;re.toString("utf8")))}else{t[n]=e[r+1].toString("utf8")}}else{if(!Array.isArray(s)){s=[s];t[n]=s}s.push(e[r+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 r=false;let n=-1;for(let s=0;s{e.close()}))}else{const t=Buffer.isBuffer(n)?n:Buffer.from(n);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 I=!!String.prototype.toWellFormed;function toUSVString(e){if(I){return`${e}`.toWellFormed()}else if(l.toUSVString){return l.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 y=Object.create(null);y.enumerable=true;e.exports={kEnumerableProperty:y,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,headerNameToString:headerNameToString,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:g,nodeMinor:h,nodeHasAutoSelectFamily:g>18||g===18&&h>=13,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"]}},1:(e,t,r)=>{const n=r(992);const{ClientDestroyedError:s,ClientClosedError:o,InvalidArgumentError:i}=r(8707);const{kDestroy:a,kClose:A,kDispatch:c,kInterceptors:u}=r(6443);const l=Symbol("destroyed");const p=Symbol("closed");const d=Symbol("onDestroyed");const g=Symbol("onClosed");const h=Symbol("Intercepted Dispatch");class DispatcherBase extends n{constructor(){super();this[l]=false;this[d]=null;this[p]=false;this[g]=[]}get destroyed(){return this[l]}get closed(){return this[p]}get interceptors(){return this[u]}set interceptors(e){if(e){for(let t=e.length-1;t>=0;t--){const e=this[u][t];if(typeof e!=="function"){throw new i("interceptor must be an function")}}}this[u]=e}close(e){if(e===undefined){return new Promise(((e,t)=>{this.close(((r,n)=>r?t(r):e(n)))}))}if(typeof e!=="function"){throw new i("invalid callback")}if(this[l]){queueMicrotask((()=>e(new s,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,r)=>{this.destroy(e,((e,n)=>e?r(e):t(n)))}))}if(typeof t!=="function"){throw new i("invalid callback")}if(this[l]){if(this[d]){this[d].push(t)}else{queueMicrotask((()=>t(null,null)))}return}if(!e){e=new s}this[l]=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[u]||this[u].length===0){this[h]=this[c];return this[c](e,t)}let r=this[c].bind(this);for(let e=this[u].length-1;e>=0;e--){r=this[u][e](r)}this[h]=r;return r(e,t)}dispatch(e,t){if(!t||typeof t!=="object"){throw new i("handler must be an object")}try{if(!e||typeof e!=="object"){throw new i("opts must be an object.")}if(this[l]||this[d]){throw new s}if(this[p]){throw new o}return this[h](e,t)}catch(e){if(typeof t.onError!=="function"){throw new i("invalid onError method")}t.onError(e);return false}}}e.exports=DispatcherBase},992:(e,t,r)=>{const n=r(4434);class Dispatcher extends n{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}}e.exports=Dispatcher},8923:(e,t,r)=>{const n=r(9581);const s=r(3440);const{ReadableStreamFrom:o,isBlobLike:i,isReadableStreamLike:a,readableStreamClose:A,createDeferredPromise:c,fullyReadBody:u}=r(5523);const{FormData:l}=r(3073);const{kState:p}=r(9710);const{webidl:d}=r(4222);const{DOMException:g,structuredClone:h}=r(7326);const{Blob:E,File:m}=r(181);const{kBodyUsed:I}=r(6443);const y=r(2613);const{isErrored:C}=r(3440);const{isUint8Array:Q,isArrayBuffer:B}=r(8253);const{File:b}=r(3041);const{parseMIMEType:T,serializeAMimeType:w}=r(4322);let v=globalThis.ReadableStream;const R=m??b;const k=new TextEncoder;const D=new TextDecoder;function extractBody(e,t=false){if(!v){v=r(3774).ReadableStream}let n=null;if(e instanceof v){n=e}else if(i(e)){n=e.stream()}else{n=new v({async pull(e){e.enqueue(typeof u==="string"?k.encode(u):u);queueMicrotask((()=>A(e)))},start(){},type:undefined})}y(a(n));let c=null;let u=null;let l=null;let p=null;if(typeof e==="string"){u=e;p="text/plain;charset=UTF-8"}else if(e instanceof URLSearchParams){u=e.toString();p="application/x-www-form-urlencoded;charset=UTF-8"}else if(B(e)){u=new Uint8Array(e.slice())}else if(ArrayBuffer.isView(e)){u=new Uint8Array(e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength))}else if(s.isFormDataLike(e)){const t=`----formdata-undici-0${`${Math.floor(Math.random()*1e11)}`.padStart(11,"0")}`;const r=`--${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 n=[];const s=new Uint8Array([13,10]);l=0;let o=false;for(const[t,i]of e){if(typeof i==="string"){const e=k.encode(r+`; name="${escape(normalizeLinefeeds(t))}"`+`\r\n\r\n${normalizeLinefeeds(i)}\r\n`);n.push(e);l+=e.byteLength}else{const e=k.encode(`${r}; name="${escape(normalizeLinefeeds(t))}"`+(i.name?`; filename="${escape(i.name)}"`:"")+"\r\n"+`Content-Type: ${i.type||"application/octet-stream"}\r\n\r\n`);n.push(e,i,s);if(typeof i.size==="number"){l+=e.byteLength+i.size+s.byteLength}else{o=true}}}const i=k.encode(`--${t}--`);n.push(i);l+=i.byteLength;if(o){l=null}u=e;c=async function*(){for(const e of n){if(e.stream){yield*e.stream()}else{yield e}}};p="multipart/form-data; boundary="+t}else if(i(e)){u=e;l=e.size;if(e.type){p=e.type}}else if(typeof e[Symbol.asyncIterator]==="function"){if(t){throw new TypeError("keepalive")}if(s.isDisturbed(e)||e.locked){throw new TypeError("Response body object should not be disturbed or locked")}n=e instanceof v?e:o(e)}if(typeof u==="string"||s.isBuffer(u)){l=Buffer.byteLength(u)}if(c!=null){let t;n=new v({async start(){t=c(e)[Symbol.asyncIterator]()},async pull(e){const{value:r,done:s}=await t.next();if(s){queueMicrotask((()=>{e.close()}))}else{if(!C(n)){e.enqueue(new Uint8Array(r))}}return e.desiredSize>0},async cancel(e){await t.return()},type:undefined})}const d={stream:n,source:u,length:l};return[d,p]}function safelyExtractBody(e,t=false){if(!v){v=r(3774).ReadableStream}if(e instanceof v){y(!s.isDisturbed(e),"The body has already been consumed.");y(!e.locked,"The stream is locked.")}return extractBody(e,t)}function cloneBody(e){const[t,r]=e.stream.tee();const n=h(r,{transfer:[r]});const[,s]=n.tee();e.stream=t;return{stream:s,length:e.length,source:e.source}}async function*consumeBody(e){if(e){if(Q(e)){yield e}else{const t=e.stream;if(s.isDisturbed(t)){throw new TypeError("The body has already been consumed.")}if(t.locked){throw new TypeError("The stream is locked.")}t[I]=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=w(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,r]of this.headers)e[t.toLowerCase()]=r;const t=new l;let r;try{r=new n({headers:e,preservePath:true})}catch(e){throw new g(`${e}`,"AbortError")}r.on("field",((e,r)=>{t.append(e,r)}));r.on("file",((e,r,n,s,o)=>{const i=[];if(s==="base64"||s.toLowerCase()==="base64"){let s="";r.on("data",(e=>{s+=e.toString().replace(/[\r\n]/gm,"");const t=s.length-s.length%4;i.push(Buffer.from(s.slice(0,t),"base64"));s=s.slice(t)}));r.on("end",(()=>{i.push(Buffer.from(s,"base64"));t.append(e,new R(i,n,{type:o}))}))}else{r.on("data",(e=>{i.push(e)}));r.on("end",(()=>{t.append(e,new R(i,n,{type:o}))}))}}));const s=new Promise(((e,t)=>{r.on("finish",e);r.on("error",(e=>t(new TypeError(e))))}));if(this.body!==null)for await(const e of consumeBody(this[p].body))r.write(e);r.end();await s;return t}else if(/application\/x-www-form-urlencoded/.test(t)){let e;try{let t="";const r=new TextDecoder("utf-8",{ignoreBOM:true});for await(const e of consumeBody(this[p].body)){if(!Q(e)){throw new TypeError("Expected Uint8Array chunk")}t+=r.decode(e,{stream:true})}t+=r.decode();e=new URLSearchParams(t)}catch(e){throw Object.assign(new TypeError,{cause:e})}const t=new l;for(const[r,n]of e){t.append(r,n)}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,r){d.brandCheck(e,r);throwIfAborted(e[p]);if(bodyUnusable(e[p].body)){throw new TypeError("Body is unusable")}const n=c();const errorSteps=e=>n.reject(e);const successSteps=e=>{try{n.resolve(t(e))}catch(e){errorSteps(e)}};if(e[p].body==null){successSteps(new Uint8Array);return n.promise}await u(e[p].body,successSteps,errorSteps);return n.promise}function bodyUnusable(e){return e!=null&&(e.stream.locked||s.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 r=t.get("content-type");if(r===null){return"failure"}return T(r)}e.exports={extractBody:extractBody,safelyExtractBody:safelyExtractBody,cloneBody:cloneBody,mixinBody:mixinBody}},7326:(e,t,r)=>{const{MessageChannel:n,receiveMessageOnPort:s}=r(8167);const o=["GET","HEAD","POST"];const i=new Set(o);const a=[101,204,205,304];const A=[301,302,303,307,308];const c=new Set(A);const u=["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 l=new Set(u);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 I=["omit","same-origin","include"];const y=["default","no-store","reload","no-cache","force-cache","only-if-cached"];const C=["content-encoding","content-language","content-location","content-type","content-length"];const Q=["half"];const B=["CONNECT","TRACE","TRACK"];const b=new Set(B);const T=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""];const w=new Set(T);const v=globalThis.DOMException??(()=>{try{atob("~")}catch(e){return Object.getPrototypeOf(e).constructor}})();let R;const k=globalThis.structuredClone??function structuredClone(e,t=undefined){if(arguments.length===0){throw new TypeError("missing argument")}if(!R){R=new n}R.port1.unref();R.port2.unref();R.port1.postMessage(e,t?.transfer);return s(R.port2).message};e.exports={DOMException:v,structuredClone:k,subresource:T,forbiddenMethods:B,requestBodyHeader:C,referrerPolicy:p,requestRedirect:g,requestMode:m,requestCredentials:I,requestCache:y,redirectStatus:A,corsSafeListedMethods:o,nullBodyStatus:a,safeMethods:h,badPorts:u,requestDuplex:Q,subresourceSet:w,badPortsSet:l,redirectStatusSet:c,corsSafeListedMethodsSet:i,safeMethodsSet:E,forbiddenMethodsSet:b,referrerPolicySet:d}},4322:(e,t,r)=>{const n=r(2613);const{atob:s}=r(181);const{isomorphicDecode:o}=r(5523);const i=new TextEncoder;const a=/^[!#$%&'*+-.^_|~A-Za-z0-9]+$/;const A=/(\u000A|\u000D|\u0009|\u0020)/;const c=/[\u0009|\u0020-\u007E|\u0080-\u00FF]/;function dataURLProcessor(e){n(e.protocol==="data:");let t=URLSerializer(e,true);t=t.slice(5);const r={position:0};let s=collectASequenceOfCodePointsFast(",",t,r);const i=s.length;s=removeASCIIWhitespace(s,true,true);if(r.position>=t.length){return"failure"}r.position++;const a=t.slice(i+1);let A=stringPercentDecode(a);if(/;(\u0020){0,}base64$/i.test(s)){const e=o(A);A=forgivingBase64(e);if(A==="failure"){return"failure"}s=s.slice(0,-6);s=s.replace(/(\u0020)+$/,"");s=s.slice(0,-1)}if(s.startsWith(";")){s="text/plain"+s}let c=parseMIMEType(s);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 r=e.href;const n=e.hash.length;return n===0?r:r.substring(0,r.length-n)}function collectASequenceOfCodePoints(e,t,r){let n="";while(r.positione.length){return"failure"}t.position++;let n=collectASequenceOfCodePointsFast(";",e,t);n=removeHTTPWhitespace(n,false,true);if(n.length===0||!a.test(n)){return"failure"}const s=r.toLowerCase();const o=n.toLowerCase();const i={type:s,subtype:o,parameters:new Map,essence:`${s}/${o}`};while(t.positionA.test(e)),e,t);let r=collectASequenceOfCodePoints((e=>e!==";"&&e!=="="),e,t);r=r.toLowerCase();if(t.positione.length){break}let n=null;if(e[t.position]==='"'){n=collectAnHTTPQuotedString(e,t,true);collectASequenceOfCodePointsFast(";",e,t)}else{n=collectASequenceOfCodePointsFast(";",e,t);n=removeHTTPWhitespace(n,false,true);if(n.length===0){continue}}if(r.length!==0&&a.test(r)&&(n.length===0||c.test(n))&&!i.parameters.has(r)){i.parameters.set(r,n)}}return i}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=s(e);const r=new Uint8Array(t.length);for(let e=0;ee!=='"'&&e!=="\\"),e,t);if(t.position>=e.length){break}const r=e[t.position];t.position++;if(r==="\\"){if(t.position>=e.length){o+="\\";break}o+=e[t.position];t.position++}else{n(r==='"');break}}if(r){return o}return e.slice(s,t.position)}function serializeAMimeType(e){n(e!=="failure");const{parameters:t,essence:r}=e;let s=r;for(let[e,r]of t.entries()){s+=";";s+=e;s+="=";if(!a.test(r)){r=r.replace(/(\\|")/g,"\\$1");r='"'+r;r+='"'}s+=r}return s}function isHTTPWhiteSpace(e){return e==="\r"||e==="\n"||e==="\t"||e===" "}function removeHTTPWhitespace(e,t=true,r=true){let n=0;let s=e.length-1;if(t){for(;n0&&isHTTPWhiteSpace(e[s]);s--);}return e.slice(n,s+1)}function isASCIIWhitespace(e){return e==="\r"||e==="\n"||e==="\t"||e==="\f"||e===" "}function removeASCIIWhitespace(e,t=true,r=true){let n=0;let s=e.length-1;if(t){for(;n0&&isASCIIWhitespace(e[s]);s--);}return e.slice(n,s+1)}e.exports={dataURLProcessor:dataURLProcessor,URLSerializer:URLSerializer,collectASequenceOfCodePoints:collectASequenceOfCodePoints,collectASequenceOfCodePointsFast:collectASequenceOfCodePointsFast,stringPercentDecode:stringPercentDecode,parseMIMEType:parseMIMEType,collectAnHTTPQuotedString:collectAnHTTPQuotedString,serializeAMimeType:serializeAMimeType}},3041:(e,t,r)=>{const{Blob:n,File:s}=r(181);const{types:o}=r(9023);const{kState:i}=r(9710);const{isBlobLike:a}=r(5523);const{webidl:A}=r(4222);const{parseMIMEType:c,serializeAMimeType:u}=r(4322);const{kEnumerableProperty:l}=r(3440);const p=new TextEncoder;class File extends n{constructor(e,t,r={}){A.argumentLengthCheck(arguments,2,{header:"File constructor"});e=A.converters["sequence"](e);t=A.converters.USVString(t);r=A.converters.FilePropertyBag(r);const n=t;let s=r.type;let o;e:{if(s){s=c(s);if(s==="failure"){s="";break e}s=u(s).toLowerCase()}o=r.lastModified}super(processBlobParts(e,r),{type:s});this[i]={name:n,lastModified:o,type:s}}get name(){A.brandCheck(this,File);return this[i].name}get lastModified(){A.brandCheck(this,File);return this[i].lastModified}get type(){A.brandCheck(this,File);return this[i].type}}class FileLike{constructor(e,t,r={}){const n=t;const s=r.type;const o=r.lastModified??Date.now();this[i]={blobLike:e,name:n,type:s,lastModified:o}}stream(...e){A.brandCheck(this,FileLike);return this[i].blobLike.stream(...e)}arrayBuffer(...e){A.brandCheck(this,FileLike);return this[i].blobLike.arrayBuffer(...e)}slice(...e){A.brandCheck(this,FileLike);return this[i].blobLike.slice(...e)}text(...e){A.brandCheck(this,FileLike);return this[i].blobLike.text(...e)}get size(){A.brandCheck(this,FileLike);return this[i].blobLike.size}get type(){A.brandCheck(this,FileLike);return this[i].blobLike.type}get name(){A.brandCheck(this,FileLike);return this[i].name}get lastModified(){A.brandCheck(this,FileLike);return this[i].lastModified}get[Symbol.toStringTag](){return"File"}}Object.defineProperties(File.prototype,{[Symbol.toStringTag]:{value:"File",configurable:true},name:l,lastModified:l});A.converters.Blob=A.interfaceConverter(n);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)||o.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 r=[];for(const n of e){if(typeof n==="string"){let e=n;if(t.endings==="native"){e=convertLineEndingsNative(e)}r.push(p.encode(e))}else if(o.isAnyArrayBuffer(n)||o.isTypedArray(n)){if(!n.buffer){r.push(new Uint8Array(n))}else{r.push(new Uint8Array(n.buffer,n.byteOffset,n.byteLength))}}else if(a(n)){r.push(n)}}return r}function convertLineEndingsNative(e){let t="\n";if(process.platform==="win32"){t="\r\n"}return e.replace(/\r?\n/g,t)}function isFileLike(e){return s&&e instanceof s||e instanceof File||e&&(typeof e.stream==="function"||typeof e.arrayBuffer==="function")&&e[Symbol.toStringTag]==="File"}e.exports={File:File,FileLike:FileLike,isFileLike:isFileLike}},3073:(e,t,r)=>{const{isBlobLike:n,toUSVString:s,makeIterator:o}=r(5523);const{kState:i}=r(9710);const{File:a,FileLike:A,isFileLike:c}=r(3041);const{webidl:u}=r(4222);const{Blob:l,File:p}=r(181);const d=p??a;class FormData{constructor(e){if(e!==undefined){throw u.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}this[i]=[]}append(e,t,r=undefined){u.brandCheck(this,FormData);u.argumentLengthCheck(arguments,2,{header:"FormData.append"});if(arguments.length===3&&!n(t)){throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'")}e=u.converters.USVString(e);t=n(t)?u.converters.Blob(t,{strict:false}):u.converters.USVString(t);r=arguments.length===3?u.converters.USVString(r):undefined;const s=makeEntry(e,t,r);this[i].push(s)}delete(e){u.brandCheck(this,FormData);u.argumentLengthCheck(arguments,1,{header:"FormData.delete"});e=u.converters.USVString(e);this[i]=this[i].filter((t=>t.name!==e))}get(e){u.brandCheck(this,FormData);u.argumentLengthCheck(arguments,1,{header:"FormData.get"});e=u.converters.USVString(e);const t=this[i].findIndex((t=>t.name===e));if(t===-1){return null}return this[i][t].value}getAll(e){u.brandCheck(this,FormData);u.argumentLengthCheck(arguments,1,{header:"FormData.getAll"});e=u.converters.USVString(e);return this[i].filter((t=>t.name===e)).map((e=>e.value))}has(e){u.brandCheck(this,FormData);u.argumentLengthCheck(arguments,1,{header:"FormData.has"});e=u.converters.USVString(e);return this[i].findIndex((t=>t.name===e))!==-1}set(e,t,r=undefined){u.brandCheck(this,FormData);u.argumentLengthCheck(arguments,2,{header:"FormData.set"});if(arguments.length===3&&!n(t)){throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'")}e=u.converters.USVString(e);t=n(t)?u.converters.Blob(t,{strict:false}):u.converters.USVString(t);r=arguments.length===3?s(r):undefined;const o=makeEntry(e,t,r);const a=this[i].findIndex((t=>t.name===e));if(a!==-1){this[i]=[...this[i].slice(0,a),o,...this[i].slice(a+1).filter((t=>t.name!==e))]}else{this[i].push(o)}}entries(){u.brandCheck(this,FormData);return o((()=>this[i].map((e=>[e.name,e.value]))),"FormData","key+value")}keys(){u.brandCheck(this,FormData);return o((()=>this[i].map((e=>[e.name,e.value]))),"FormData","key")}values(){u.brandCheck(this,FormData);return o((()=>this[i].map((e=>[e.name,e.value]))),"FormData","value")}forEach(e,t=globalThis){u.brandCheck(this,FormData);u.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[r,n]of this){e.apply(t,[n,r,this])}}}FormData.prototype[Symbol.iterator]=FormData.prototype.entries;Object.defineProperties(FormData.prototype,{[Symbol.toStringTag]:{value:"FormData",configurable:true}});function makeEntry(e,t,r){e=Buffer.from(e).toString("utf8");if(typeof t==="string"){t=Buffer.from(t).toString("utf8")}else{if(!c(t)){t=t instanceof l?new d([t],"blob",{type:t.type}):new A(t,"blob",{type:t.type})}if(r!==undefined){const e={type:t.type,lastModified:t.lastModified};t=p&&t instanceof p||t instanceof a?new d([t],r,e):new A(t,r,e)}}return{name:e,value:t}}e.exports={FormData:FormData}},5628: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 r=new URL(e);if(r.protocol!=="http:"&&r.protocol!=="https:"){throw new TypeError(`Only http & https urls are allowed, received ${r.protocol}`)}Object.defineProperty(globalThis,t,{value:r,writable:true,enumerable:false,configurable:false})}e.exports={getGlobalOrigin:getGlobalOrigin,setGlobalOrigin:setGlobalOrigin}},6349:(e,t,r)=>{const{kHeadersList:n,kConstruct:s}=r(6443);const{kGuard:o}=r(9710);const{kEnumerableProperty:i}=r(3440);const{makeIterator:a,isValidHeaderName:A,isValidHeaderValue:c}=r(5523);const{webidl:u}=r(4222);const l=r(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 r=e.length;while(r>t&&isHTTPWhiteSpaceCharCode(e.charCodeAt(r-1)))--r;while(r>t&&isHTTPWhiteSpaceCharCode(e.charCodeAt(t)))++t;return t===0&&r===e.length?e:e.substring(t,r)}function fill(e,t){if(Array.isArray(t)){for(let r=0;r>","record"]})}}function appendHeader(e,t,r){r=headerValueNormalize(r);if(!A(t)){throw u.errors.invalidArgument({prefix:"Headers.append",value:t,type:"header name"})}else if(!c(r)){throw u.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}if(e[o]==="immutable"){throw new TypeError("immutable")}else if(e[o]==="request-no-cors"){}return e[n].append(t,r)}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 r=e.toLowerCase();const n=this[p].get(r);if(n){const e=r==="cookie"?"; ":", ";this[p].set(r,{name:n.name,value:`${n.value}${e}${t}`})}else{this[p].set(r,{name:e,value:t})}if(r==="set-cookie"){this.cookies??=[];this.cookies.push(t)}}set(e,t){this[d]=null;const r=e.toLowerCase();if(r==="set-cookie"){this.cookies=[t]}this[p].set(r,{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:r}of this[p].values()){e[t]=r}}return e}}class Headers{constructor(e=undefined){if(e===s){return}this[n]=new HeadersList;this[o]="none";if(e!==undefined){e=u.converters.HeadersInit(e);fill(this,e)}}append(e,t){u.brandCheck(this,Headers);u.argumentLengthCheck(arguments,2,{header:"Headers.append"});e=u.converters.ByteString(e);t=u.converters.ByteString(t);return appendHeader(this,e,t)}delete(e){u.brandCheck(this,Headers);u.argumentLengthCheck(arguments,1,{header:"Headers.delete"});e=u.converters.ByteString(e);if(!A(e)){throw u.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"})}if(this[o]==="immutable"){throw new TypeError("immutable")}else if(this[o]==="request-no-cors"){}if(!this[n].contains(e)){return}this[n].delete(e)}get(e){u.brandCheck(this,Headers);u.argumentLengthCheck(arguments,1,{header:"Headers.get"});e=u.converters.ByteString(e);if(!A(e)){throw u.errors.invalidArgument({prefix:"Headers.get",value:e,type:"header name"})}return this[n].get(e)}has(e){u.brandCheck(this,Headers);u.argumentLengthCheck(arguments,1,{header:"Headers.has"});e=u.converters.ByteString(e);if(!A(e)){throw u.errors.invalidArgument({prefix:"Headers.has",value:e,type:"header name"})}return this[n].contains(e)}set(e,t){u.brandCheck(this,Headers);u.argumentLengthCheck(arguments,2,{header:"Headers.set"});e=u.converters.ByteString(e);t=u.converters.ByteString(t);t=headerValueNormalize(t);if(!A(e)){throw u.errors.invalidArgument({prefix:"Headers.set",value:e,type:"header name"})}else if(!c(t)){throw u.errors.invalidArgument({prefix:"Headers.set",value:t,type:"header value"})}if(this[o]==="immutable"){throw new TypeError("immutable")}else if(this[o]==="request-no-cors"){}this[n].set(e,t)}getSetCookie(){u.brandCheck(this,Headers);const e=this[n].cookies;if(e){return[...e]}return[]}get[d](){if(this[n][d]){return this[n][d]}const e=[];const t=[...this[n]].sort(((e,t)=>e[0]e),"Headers","key")}return a((()=>[...this[d].values()]),"Headers","key")}values(){u.brandCheck(this,Headers);if(this[o]==="immutable"){const e=this[d];return a((()=>e),"Headers","value")}return a((()=>[...this[d].values()]),"Headers","value")}entries(){u.brandCheck(this,Headers);if(this[o]==="immutable"){const e=this[d];return a((()=>e),"Headers","key+value")}return a((()=>[...this[d].values()]),"Headers","key+value")}forEach(e,t=globalThis){u.brandCheck(this,Headers);u.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[r,n]of this){e.apply(t,[n,r,this])}}[Symbol.for("nodejs.util.inspect.custom")](){u.brandCheck(this,Headers);return this[n]}}Headers.prototype[Symbol.iterator]=Headers.prototype.entries;Object.defineProperties(Headers.prototype,{append:i,delete:i,get:i,has:i,set:i,getSetCookie:i,keys:i,values:i,entries:i,forEach:i,[Symbol.iterator]:{enumerable:false},[Symbol.toStringTag]:{value:"Headers",configurable:true}});u.converters.HeadersInit=function(e){if(u.util.Type(e)==="Object"){if(e[Symbol.iterator]){return u.converters["sequence>"](e)}return u.converters["record"](e)}throw u.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})};e.exports={fill:fill,Headers:Headers,HeadersList:HeadersList}},2315:(e,t,r)=>{const{Response:n,makeNetworkError:s,makeAppropriateNetworkError:o,filterResponse:i,makeResponse:a}=r(8676);const{Headers:A}=r(6349);const{Request:c,makeRequest:u}=r(5194);const l=r(3106);const{bytesMatch:p,makePolicyContainer:d,clonePolicyContainer:g,requestBadPort:h,TAOCheck:E,appendRequestOriginHeader:m,responseLocationURL:I,requestCurrentURL:y,setRequestReferrerPolicyOnRedirect:C,tryUpgradeRequestToAPotentiallyTrustworthyURL:Q,createOpaqueTimingInfo:B,appendFetchMetadata:b,corsCheck:T,crossOriginResourcePolicyCheck:w,determineRequestsReferrer:v,coarsenedSharedCurrentTime:R,createDeferredPromise:k,isBlobLike:D,sameOrigin:_,isCancelled:S,isAborted:F,isErrorLike:N,fullyReadBody:O,readableStreamClose:L,isomorphicEncode:U,urlIsLocal:G,urlIsHttpHttpsScheme:P,urlHasHttpsScheme:M}=r(5523);const{kState:x,kHeaders:V,kGuard:j,kRealm:H}=r(9710);const Y=r(2613);const{safelyExtractBody:q}=r(8923);const{redirectStatusSet:J,nullBodyStatus:W,safeMethodsSet:K,requestBodyHeader:$,subresourceSet:z,DOMException:Z}=r(7326);const{kHeadersList:X}=r(6443);const ee=r(4434);const{Readable:te,pipeline:re}=r(2203);const{addAbortListener:ne,isErrored:se,isReadable:oe,nodeMajor:ie,nodeMinor:ae}=r(3440);const{dataURLProcessor:Ae,serializeAMimeType:ce}=r(4322);const{TransformStream:ue}=r(3774);const{getGlobalDispatcher:le}=r(2581);const{webidl:pe}=r(4222);const{STATUS_CODES:de}=r(8611);const ge=["GET","HEAD"];let fe;let he=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 r=k();let s;try{s=new c(e,t)}catch(e){r.reject(e);return r.promise}const o=s[x];if(s.signal.aborted){abortFetch(r,o,null,s.signal.reason);return r.promise}const i=o.client.globalObject;if(i?.constructor?.name==="ServiceWorkerGlobalScope"){o.serviceWorkers="none"}let a=null;const A=null;let u=false;let l=null;ne(s.signal,(()=>{u=true;Y(l!=null);l.abort(s.signal.reason);abortFetch(r,o,a,s.signal.reason)}));const handleFetchDone=e=>finalizeAndReportTiming(e,"fetch");const processResponse=e=>{if(u){return Promise.resolve()}if(e.aborted){abortFetch(r,o,a,l.serializedAbortReason);return Promise.resolve()}if(e.type==="error"){r.reject(Object.assign(new TypeError("fetch failed"),{cause:e.error}));return Promise.resolve()}a=new n;a[x]=e;a[H]=A;a[V][X]=e.headersList;a[V][j]="immutable";a[V][H]=A;r.resolve(a)};l=fetching({request:o,processResponseEndOfBody:handleFetchDone,processResponse:processResponse,dispatcher:t.dispatcher??le()});return r.promise}function finalizeAndReportTiming(e,t="other"){if(e.type==="error"&&e.aborted){return}if(!e.urlList?.length){return}const r=e.urlList[0];let n=e.timingInfo;let s=e.cacheState;if(!P(r)){return}if(n===null){return}if(!e.timingAllowPassed){n=B({startTime:n.startTime});s=""}n.endTime=R();e.timingInfo=n;markResourceTiming(n,r,t,globalThis,s)}function markResourceTiming(e,t,r,n,s){if(ie>18||ie===18&&ae>=2){performance.markResourceTiming(e,t.href,r,n,s)}}function abortFetch(e,t,r,n){if(!n){n=new Z("The operation was aborted.","AbortError")}e.reject(n);if(t.body!=null&&oe(t.body?.stream)){t.body.stream.cancel(n).catch((e=>{if(e.code==="ERR_INVALID_STATE"){return}throw e}))}if(r==null){return}const s=r[x];if(s.body!=null&&oe(s.body?.stream)){s.body.stream.cancel(n).catch((e=>{if(e.code==="ERR_INVALID_STATE"){return}throw e}))}}function fetching({request:e,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:n,processResponseEndOfBody:s,processResponseConsumeBody:o,useParallelQueue:i=false,dispatcher:a}){let A=null;let c=false;if(e.client!=null){A=e.client.globalObject;c=e.client.crossOriginIsolatedCapability}const u=R(c);const l=B({startTime:u});const p={controller:new Fetch(a),request:e,timingInfo:l,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:n,processResponseConsumeBody:o,processResponseEndOfBody:s,taskDestination:A,crossOriginIsolatedCapability:c};Y(!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 r=e.request;let n=null;if(r.localURLsOnly&&!G(y(r))){n=s("local URLs only")}Q(r);if(h(r)==="blocked"){n=s("bad port")}if(r.referrerPolicy===""){r.referrerPolicy=r.policyContainer.referrerPolicy}if(r.referrer!=="no-referrer"){r.referrer=v(r)}if(n===null){n=await(async()=>{const t=y(r);if(_(t,r.url)&&r.responseTainting==="basic"||t.protocol==="data:"||(r.mode==="navigate"||r.mode==="websocket")){r.responseTainting="basic";return await schemeFetch(e)}if(r.mode==="same-origin"){return s('request mode cannot be "same-origin"')}if(r.mode==="no-cors"){if(r.redirect!=="follow"){return s('redirect mode cannot be "follow" for "no-cors" request')}r.responseTainting="opaque";return await schemeFetch(e)}if(!P(y(r))){return s("URL scheme must be a HTTP(S) scheme")}r.responseTainting="cors";return await httpFetch(e)})()}if(t){return n}if(n.status!==0&&!n.internalResponse){if(r.responseTainting==="cors"){}if(r.responseTainting==="basic"){n=i(n,"basic")}else if(r.responseTainting==="cors"){n=i(n,"cors")}else if(r.responseTainting==="opaque"){n=i(n,"opaque")}else{Y(false)}}let o=n.status===0?n:n.internalResponse;if(o.urlList.length===0){o.urlList.push(...r.urlList)}if(!r.timingAllowFailed){n.timingAllowPassed=true}if(n.type==="opaque"&&o.status===206&&o.rangeRequested&&!r.headers.contains("range")){n=o=s()}if(n.status!==0&&(r.method==="HEAD"||r.method==="CONNECT"||W.includes(o.status))){o.body=null;e.controller.dump=true}if(r.integrity){const processBodyError=t=>fetchFinale(e,s(t));if(r.responseTainting==="opaque"||n.body==null){processBodyError(n.error);return}const processBody=t=>{if(!p(t,r.integrity)){processBodyError("integrity mismatch");return}n.body=q(t)[0];fetchFinale(e,n)};await O(n.body,processBody,processBodyError)}else{fetchFinale(e,n)}}function schemeFetch(e){if(S(e)&&e.request.redirectCount===0){return Promise.resolve(o(e))}const{request:t}=e;const{protocol:n}=y(t);switch(n){case"about:":{return Promise.resolve(s("about scheme is not supported"))}case"blob:":{if(!fe){fe=r(181).resolveObjectURL}const e=y(t);if(e.search.length!==0){return Promise.resolve(s("NetworkError when attempting to fetch resource."))}const n=fe(e.toString());if(t.method!=="GET"||!D(n)){return Promise.resolve(s("invalid method"))}const o=q(n);const i=o[0];const A=U(`${i.length}`);const c=o[1]??"";const u=a({statusText:"OK",headersList:[["content-length",{name:"Content-Length",value:A}],["content-type",{name:"Content-Type",value:c}]]});u.body=i;return Promise.resolve(u)}case"data:":{const e=y(t);const r=Ae(e);if(r==="failure"){return Promise.resolve(s("failed to fetch the data URL"))}const n=ce(r.mimeType);return Promise.resolve(a({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:n}]],body:q(r.body)[0]}))}case"file:":{return Promise.resolve(s("not implemented... yet..."))}case"http:":case"https:":{return httpFetch(e).catch((e=>s(e)))}default:{return Promise.resolve(s("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 ue({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=r=>e.processResponseConsumeBody(t,r);const processBodyError=r=>e.processResponseConsumeBody(t,r);if(t.body==null){queueMicrotask((()=>processBody(null)))}else{return O(t.body,processBody,processBodyError)}return Promise.resolve()}}async function httpFetch(e){const t=e.request;let r=null;let n=null;const o=e.timingInfo;if(t.serviceWorkers==="all"){}if(r===null){if(t.redirect==="follow"){t.serviceWorkers="none"}n=r=await httpNetworkOrCacheFetch(e);if(t.responseTainting==="cors"&&T(t,r)==="failure"){return s("cors failure")}if(E(t,r)==="failure"){t.timingAllowFailed=true}}if((t.responseTainting==="opaque"||r.type==="opaque")&&w(t.origin,t.client,t.destination,n)==="blocked"){return s("blocked")}if(J.has(n.status)){if(t.redirect!=="manual"){e.controller.connection.destroy()}if(t.redirect==="error"){r=s("unexpected redirect")}else if(t.redirect==="manual"){r=n}else if(t.redirect==="follow"){r=await httpRedirectFetch(e,r)}else{Y(false)}}r.timingInfo=o;return r}function httpRedirectFetch(e,t){const r=e.request;const n=t.internalResponse?t.internalResponse:t;let o;try{o=I(n,y(r).hash);if(o==null){return t}}catch(e){return Promise.resolve(s(e))}if(!P(o)){return Promise.resolve(s("URL scheme must be a HTTP(S) scheme"))}if(r.redirectCount===20){return Promise.resolve(s("redirect count exceeded"))}r.redirectCount+=1;if(r.mode==="cors"&&(o.username||o.password)&&!_(r,o)){return Promise.resolve(s('cross origin not allowed for request mode "cors"'))}if(r.responseTainting==="cors"&&(o.username||o.password)){return Promise.resolve(s('URL cannot contain credentials for request mode "cors"'))}if(n.status!==303&&r.body!=null&&r.body.source==null){return Promise.resolve(s())}if([301,302].includes(n.status)&&r.method==="POST"||n.status===303&&!ge.includes(r.method)){r.method="GET";r.body=null;for(const e of $){r.headersList.delete(e)}}if(!_(y(r),o)){r.headersList.delete("authorization");r.headersList.delete("proxy-authorization",true);r.headersList.delete("cookie");r.headersList.delete("host")}if(r.body!=null){Y(r.body.source!=null);r.body=q(r.body.source)[0]}const i=e.timingInfo;i.redirectEndTime=i.postRedirectStartTime=R(e.crossOriginIsolatedCapability);if(i.redirectStartTime===0){i.redirectStartTime=i.startTime}r.urlList.push(o);C(r,n);return mainFetch(e,true)}async function httpNetworkOrCacheFetch(e,t=false,r=false){const n=e.request;let i=null;let a=null;let A=null;const c=null;const l=false;if(n.window==="no-window"&&n.redirect==="error"){i=e;a=n}else{a=u(n);i={...e};i.request=a}const p=n.credentials==="include"||n.credentials==="same-origin"&&n.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=U(`${d}`)}if(g!=null){a.headersList.append("content-length",g)}if(d!=null&&a.keepalive){}if(a.referrer instanceof URL){a.headersList.append("referer",U(a.referrer.href))}m(a);b(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(M(y(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 s("only if cached")}const e=await httpNetworkFetch(i,p,r);if(!K.has(a.method)&&e.status>=200&&e.status<=399){}if(l&&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(n.window==="no-window"){return s()}if(S(e)){return o(e)}return s("proxy authentication required")}if(A.status===421&&!r&&(n.body==null||n.body.source!=null)){if(S(e)){return o(e)}e.controller.connection.destroy();A=await httpNetworkOrCacheFetch(e,t,true)}if(t){}return A}async function httpNetworkFetch(e,t=false,n=false){Y(!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 i=e.request;let c=null;const u=e.timingInfo;const p=null;if(p==null){i.cache="no-store"}const d=n?"yes":"no";if(i.mode==="websocket"){}else{}let g=null;if(i.body==null&&e.processRequestEndOfBody){queueMicrotask((()=>e.processRequestEndOfBody()))}else if(i.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 i.body.stream){yield*processBodyChunk(e)}processEndOfBody()}catch(e){processBodyError(e)}}()}try{const{body:t,status:r,statusText:n,headersList:s,socket:o}=await dispatch({body:g});if(o){c=a({status:r,statusText:n,headersList:s,socket:o})}else{const o=t[Symbol.asyncIterator]();e.controller.next=()=>o.next();c=a({status:r,statusText:n,headersList:s})}}catch(t){if(t.name==="AbortError"){e.controller.connection.destroy();return o(e,t)}return s(t)}const pullAlgorithm=()=>{e.controller.resume()};const cancelAlgorithm=t=>{e.controller.abort(t)};if(!he){he=r(3774).ReadableStream}const h=new he({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 r;try{const{done:r,value:n}=await e.controller.next();if(F(e)){break}t=r?undefined:n}catch(n){if(e.controller.ended&&!u.encodedBodySize){t=undefined}else{t=n;r=true}}if(t===undefined){L(e.controller.controller);finalizeResponse(e,c);return}u.decodedBodySize+=t?.byteLength??0;if(r){e.controller.terminate(t);return}e.controller.controller.enqueue(new Uint8Array(t));if(se(h)){e.controller.terminate();return}if(!e.controller.controller.desiredSize){return}}};function onAborted(t){if(F(e)){c.aborted=true;if(oe(h)){e.controller.controller.error(e.controller.serializedAbortReason)}}else{if(oe(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 r=y(i);const n=e.controller.dispatcher;return new Promise(((s,o)=>n.dispatch({path:r.pathname+r.search,origin:r.origin,method:i.method,body:e.controller.dispatcher.isMockActive?i.body&&(i.body.source||i.body.stream):t,headers:i.headersList.entries,maxRedirections:0,upgrade:i.mode==="websocket"?"websocket":undefined},{body:null,abort:null,onConnect(t){const{connection:r}=e.controller;if(r.destroyed){t(new Z("The operation was aborted.","AbortError"))}else{e.controller.on("terminated",t);this.abort=r.abort=t}},onHeaders(e,t,r,n){if(e<200){return}let o=[];let a="";const c=new A;if(Array.isArray(t)){for(let e=0;ee.trim()))}else if(r.toLowerCase()==="location"){a=n}c[X].append(r,n)}}else{const e=Object.keys(t);for(const r of e){const e=t[r];if(r.toLowerCase()==="content-encoding"){o=e.toLowerCase().split(",").map((e=>e.trim())).reverse()}else if(r.toLowerCase()==="location"){a=e}c[X].append(r,e)}}this.body=new te({read:r});const u=[];const p=i.redirect==="follow"&&a&&J.has(e);if(i.method!=="HEAD"&&i.method!=="CONNECT"&&!W.includes(e)&&!p){for(const e of o){if(e==="x-gzip"||e==="gzip"){u.push(l.createGunzip({flush:l.constants.Z_SYNC_FLUSH,finishFlush:l.constants.Z_SYNC_FLUSH}))}else if(e==="deflate"){u.push(l.createInflate())}else if(e==="br"){u.push(l.createBrotliDecompress())}else{u.length=0;break}}}s({status:e,statusText:n,headersList:c[X],body:u.length?re(this.body,...u,(()=>{})):this.body.on("error",(()=>{}))});return true},onData(t){if(e.controller.dump){return}const r=t;u.encodedBodySize+=r.byteLength;return this.body.push(r)},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);o(t)},onUpgrade(e,t,r){if(e!==101){return}const n=new A;for(let e=0;e{const{extractBody:n,mixinBody:s,cloneBody:o}=r(8923);const{Headers:i,fill:a,HeadersList:A}=r(6349);const{FinalizationRegistry:c}=r(3194)();const u=r(3440);const{isValidHTTPToken:l,sameOrigin:p,normalizeMethod:d,makePolicyContainer:g,normalizeMethodRecord:h}=r(5523);const{forbiddenMethodsSet:E,corsSafeListedMethodsSet:m,referrerPolicy:I,requestRedirect:y,requestMode:C,requestCredentials:Q,requestCache:B,requestDuplex:b}=r(7326);const{kEnumerableProperty:T}=u;const{kHeaders:w,kSignal:v,kState:R,kGuard:k,kRealm:D}=r(9710);const{webidl:_}=r(4222);const{getGlobalOrigin:S}=r(5628);const{URLSerializer:F}=r(4322);const{kHeadersList:N,kConstruct:O}=r(6443);const L=r(2613);const{getMaxListeners:U,setMaxListeners:G,getEventListeners:P,defaultMaxListeners:M}=r(4434);let x=globalThis.TransformStream;const V=Symbol("abortController");const j=new c((({signal:e,abort:t})=>{e.removeEventListener("abort",t)}));class Request{constructor(e,t={}){if(e===O){return}_.argumentLengthCheck(arguments,1,{header:"Request constructor"});e=_.converters.RequestInfo(e);t=_.converters.RequestInit(t);this[D]={settingsObject:{baseUrl:S(),get origin(){return this.baseUrl?.origin},policyContainer:g()}};let s=null;let o=null;const c=this[D].settingsObject.baseUrl;let I=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)}s=makeRequest({urlList:[t]});o="cors"}else{L(e instanceof Request);s=e[R];I=e[v]}const y=this[D].settingsObject.origin;let C="client";if(s.window?.constructor?.name==="EnvironmentSettingsObject"&&p(s.window,y)){C=s.window}if(t.window!=null){throw new TypeError(`'window' option '${C}' must be null`)}if("window"in t){C="no-window"}s=makeRequest({method:s.method,headersList:s.headersList,unsafeRequest:s.unsafeRequest,client:this[D].settingsObject,window:C,priority:s.priority,origin:s.origin,referrer:s.referrer,referrerPolicy:s.referrerPolicy,mode:s.mode,credentials:s.credentials,cache:s.cache,redirect:s.redirect,integrity:s.integrity,keepalive:s.keepalive,reloadNavigation:s.reloadNavigation,historyNavigation:s.historyNavigation,urlList:[...s.urlList]});const Q=Object.keys(t).length!==0;if(Q){if(s.mode==="navigate"){s.mode="same-origin"}s.reloadNavigation=false;s.historyNavigation=false;s.origin="client";s.referrer="client";s.referrerPolicy="";s.url=s.urlList[s.urlList.length-1];s.urlList=[s.url]}if(t.referrer!==undefined){const e=t.referrer;if(e===""){s.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"||y&&!p(t,this[D].settingsObject.baseUrl)){s.referrer="client"}else{s.referrer=t}}}if(t.referrerPolicy!==undefined){s.referrerPolicy=t.referrerPolicy}let B;if(t.mode!==undefined){B=t.mode}else{B=o}if(B==="navigate"){throw _.errors.exception({header:"Request constructor",message:"invalid request mode navigate."})}if(B!=null){s.mode=B}if(t.credentials!==undefined){s.credentials=t.credentials}if(t.cache!==undefined){s.cache=t.cache}if(s.cache==="only-if-cached"&&s.mode!=="same-origin"){throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode")}if(t.redirect!==undefined){s.redirect=t.redirect}if(t.integrity!=null){s.integrity=String(t.integrity)}if(t.keepalive!==undefined){s.keepalive=Boolean(t.keepalive)}if(t.method!==undefined){let e=t.method;if(!l(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);s.method=e}if(t.signal!==undefined){I=t.signal}this[R]=s;const b=new AbortController;this[v]=b.signal;this[v][D]=this[D];if(I!=null){if(!I||typeof I.aborted!=="boolean"||typeof I.addEventListener!=="function"){throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.")}if(I.aborted){b.abort(I.reason)}else{this[V]=b;const e=new WeakRef(b);const abort=function(){const t=e.deref();if(t!==undefined){t.abort(this.reason)}};try{if(typeof U==="function"&&U(I)===M){G(100,I)}else if(P(I,"abort").length>=M){G(100,I)}}catch{}u.addAbortListener(I,abort);j.register(b,{signal:I,abort:abort})}}this[w]=new i(O);this[w][N]=s.headersList;this[w][k]="request";this[w][D]=this[D];if(B==="no-cors"){if(!m.has(s.method)){throw new TypeError(`'${s.method} is unsupported in no-cors mode.`)}this[w][k]="request-no-cors"}if(Q){const e=this[w][N];const r=t.headers!==undefined?t.headers:new A(e);e.clear();if(r instanceof A){for(const[t,n]of r){e.append(t,n)}e.cookies=r.cookies}else{a(this[w],r)}}const T=e instanceof Request?e[R].body:null;if((t.body!=null||T!=null)&&(s.method==="GET"||s.method==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body.")}let F=null;if(t.body!=null){const[e,r]=n(t.body,s.keepalive);F=e;if(r&&!this[w][N].contains("content-type")){this[w].append("content-type",r)}}const H=F??T;if(H!=null&&H.source==null){if(F!=null&&t.duplex==null){throw new TypeError("RequestInit: duplex option is required when sending a body.")}if(s.mode!=="same-origin"&&s.mode!=="cors"){throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"')}s.useCORSPreflightFlag=true}let Y=H;if(F==null&&T!=null){if(u.isDisturbed(T.stream)||T.stream.locked){throw new TypeError("Cannot construct a Request with a Request object that has already been used.")}if(!x){x=r(3774).TransformStream}const e=new x;T.stream.pipeThrough(e);Y={source:T.source,length:T.length,stream:e.readable}}this[R].body=Y}get method(){_.brandCheck(this,Request);return this[R].method}get url(){_.brandCheck(this,Request);return F(this[R].url)}get headers(){_.brandCheck(this,Request);return this[w]}get destination(){_.brandCheck(this,Request);return this[R].destination}get referrer(){_.brandCheck(this,Request);if(this[R].referrer==="no-referrer"){return""}if(this[R].referrer==="client"){return"about:client"}return this[R].referrer.toString()}get referrerPolicy(){_.brandCheck(this,Request);return this[R].referrerPolicy}get mode(){_.brandCheck(this,Request);return this[R].mode}get credentials(){return this[R].credentials}get cache(){_.brandCheck(this,Request);return this[R].cache}get redirect(){_.brandCheck(this,Request);return this[R].redirect}get integrity(){_.brandCheck(this,Request);return this[R].integrity}get keepalive(){_.brandCheck(this,Request);return this[R].keepalive}get isReloadNavigation(){_.brandCheck(this,Request);return this[R].reloadNavigation}get isHistoryNavigation(){_.brandCheck(this,Request);return this[R].historyNavigation}get signal(){_.brandCheck(this,Request);return this[v]}get body(){_.brandCheck(this,Request);return this[R].body?this[R].body.stream:null}get bodyUsed(){_.brandCheck(this,Request);return!!this[R].body&&u.isDisturbed(this[R].body.stream)}get duplex(){_.brandCheck(this,Request);return"half"}clone(){_.brandCheck(this,Request);if(this.bodyUsed||this.body?.locked){throw new TypeError("unusable")}const e=cloneRequest(this[R]);const t=new Request(O);t[R]=e;t[D]=this[D];t[w]=new i(O);t[w][N]=e.headersList;t[w][k]=this[w][k];t[w][D]=this[w][D];const r=new AbortController;if(this.signal.aborted){r.abort(this.signal.reason)}else{u.addAbortListener(this.signal,(()=>{r.abort(this.signal.reason)}))}t[v]=r.signal;return t}}s(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=o(e.body)}return t}Object.defineProperties(Request.prototype,{method:T,url:T,headers:T,redirect:T,clone:T,signal:T,duplex:T,destination:T,body:T,bodyUsed:T,isHistoryNavigation:T,isReloadNavigation:T,keepalive:T,integrity:T,cache:T,credentials:T,attribute:T,referrerPolicy:T,referrer:T,mode:T,[Symbol.toStringTag]:{value:"Request",configurable:true}});_.converters.Request=_.interfaceConverter(Request);_.converters.RequestInfo=function(e){if(typeof e==="string"){return _.converters.USVString(e)}if(e instanceof Request){return _.converters.Request(e)}return _.converters.USVString(e)};_.converters.AbortSignal=_.interfaceConverter(AbortSignal);_.converters.RequestInit=_.dictionaryConverter([{key:"method",converter:_.converters.ByteString},{key:"headers",converter:_.converters.HeadersInit},{key:"body",converter:_.nullableConverter(_.converters.BodyInit)},{key:"referrer",converter:_.converters.USVString},{key:"referrerPolicy",converter:_.converters.DOMString,allowedValues:I},{key:"mode",converter:_.converters.DOMString,allowedValues:C},{key:"credentials",converter:_.converters.DOMString,allowedValues:Q},{key:"cache",converter:_.converters.DOMString,allowedValues:B},{key:"redirect",converter:_.converters.DOMString,allowedValues:y},{key:"integrity",converter:_.converters.DOMString},{key:"keepalive",converter:_.converters.boolean},{key:"signal",converter:_.nullableConverter((e=>_.converters.AbortSignal(e,{strict:false})))},{key:"window",converter:_.converters.any},{key:"duplex",converter:_.converters.DOMString,allowedValues:b}]);e.exports={Request:Request,makeRequest:makeRequest}},8676:(e,t,r)=>{const{Headers:n,HeadersList:s,fill:o}=r(6349);const{extractBody:i,cloneBody:a,mixinBody:A}=r(8923);const c=r(3440);const{kEnumerableProperty:u}=c;const{isValidReasonPhrase:l,isCancelled:p,isAborted:d,isBlobLike:g,serializeJavascriptValueToJSONString:h,isErrorLike:E,isomorphicEncode:m}=r(5523);const{redirectStatusSet:I,nullBodyStatus:y,DOMException:C}=r(7326);const{kState:Q,kHeaders:B,kGuard:b,kRealm:T}=r(9710);const{webidl:w}=r(4222);const{FormData:v}=r(3073);const{getGlobalOrigin:R}=r(5628);const{URLSerializer:k}=r(4322);const{kHeadersList:D,kConstruct:_}=r(6443);const S=r(2613);const{types:F}=r(9023);const N=globalThis.ReadableStream||r(3774).ReadableStream;const O=new TextEncoder("utf-8");class Response{static error(){const e={settingsObject:{}};const t=new Response;t[Q]=makeNetworkError();t[T]=e;t[B][D]=t[Q].headersList;t[B][b]="immutable";t[B][T]=e;return t}static json(e,t={}){w.argumentLengthCheck(arguments,1,{header:"Response.json"});if(t!==null){t=w.converters.ResponseInit(t)}const r=O.encode(h(e));const n=i(r);const s={settingsObject:{}};const o=new Response;o[T]=s;o[B][b]="response";o[B][T]=s;initializeResponse(o,t,{body:n[0],type:"application/json"});return o}static redirect(e,t=302){const r={settingsObject:{}};w.argumentLengthCheck(arguments,1,{header:"Response.redirect"});e=w.converters.USVString(e);t=w.converters["unsigned short"](t);let n;try{n=new URL(e,R())}catch(t){throw Object.assign(new TypeError("Failed to parse URL from "+e),{cause:t})}if(!I.has(t)){throw new RangeError("Invalid status code "+t)}const s=new Response;s[T]=r;s[B][b]="immutable";s[B][T]=r;s[Q].status=t;const o=m(k(n));s[Q].headersList.append("location",o);return s}constructor(e=null,t={}){if(e!==null){e=w.converters.BodyInit(e)}t=w.converters.ResponseInit(t);this[T]={settingsObject:{}};this[Q]=makeResponse({});this[B]=new n(_);this[B][b]="response";this[B][D]=this[Q].headersList;this[B][T]=this[T];let r=null;if(e!=null){const[t,n]=i(e);r={body:t,type:n}}initializeResponse(this,t,r)}get type(){w.brandCheck(this,Response);return this[Q].type}get url(){w.brandCheck(this,Response);const e=this[Q].urlList;const t=e[e.length-1]??null;if(t===null){return""}return k(t,true)}get redirected(){w.brandCheck(this,Response);return this[Q].urlList.length>1}get status(){w.brandCheck(this,Response);return this[Q].status}get ok(){w.brandCheck(this,Response);return this[Q].status>=200&&this[Q].status<=299}get statusText(){w.brandCheck(this,Response);return this[Q].statusText}get headers(){w.brandCheck(this,Response);return this[B]}get body(){w.brandCheck(this,Response);return this[Q].body?this[Q].body.stream:null}get bodyUsed(){w.brandCheck(this,Response);return!!this[Q].body&&c.isDisturbed(this[Q].body.stream)}clone(){w.brandCheck(this,Response);if(this.bodyUsed||this.body&&this.body.locked){throw w.errors.exception({header:"Response.clone",message:"Body has already been consumed."})}const e=cloneResponse(this[Q]);const t=new Response;t[Q]=e;t[T]=this[T];t[B][D]=e.headersList;t[B][b]=this[B][b];t[B][T]=this[B][T];return t}}A(Response);Object.defineProperties(Response.prototype,{type:u,url:u,status:u,ok:u,redirected:u,statusText:u,headers:u,clone:u,body:u,bodyUsed:u,[Symbol.toStringTag]:{value:"Response",configurable:true}});Object.defineProperties(Response,{json:u,redirect:u,error:u});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 s(e.headersList):new s,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,r){return r in t?t[r]:e[r]},set(e,r,n){S(!(r in t));e[r]=n;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 C("The operation was aborted.","AbortError"),{cause:t})):makeNetworkError(Object.assign(new C("Request was cancelled."),{cause:t}))}function initializeResponse(e,t,r){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(!l(String(t.statusText))){throw new TypeError("Invalid statusText")}}if("status"in t&&t.status!=null){e[Q].status=t.status}if("statusText"in t&&t.statusText!=null){e[Q].statusText=t.statusText}if("headers"in t&&t.headers!=null){o(e[B],t.headers)}if(r){if(y.includes(e.status)){throw w.errors.exception({header:"Response constructor",message:"Invalid response status code "+e.status})}e[Q].body=r.body;if(r.type!=null&&!e[Q].headersList.contains("Content-Type")){e[Q].headersList.append("content-type",r.type)}}}w.converters.ReadableStream=w.interfaceConverter(N);w.converters.FormData=w.interfaceConverter(v);w.converters.URLSearchParams=w.interfaceConverter(URLSearchParams);w.converters.XMLHttpRequestBodyInit=function(e){if(typeof e==="string"){return w.converters.USVString(e)}if(g(e)){return w.converters.Blob(e,{strict:false})}if(F.isArrayBuffer(e)||F.isTypedArray(e)||F.isDataView(e)){return w.converters.BufferSource(e)}if(c.isFormDataLike(e)){return w.converters.FormData(e,{strict:false})}if(e instanceof URLSearchParams){return w.converters.URLSearchParams(e)}return w.converters.DOMString(e)};w.converters.BodyInit=function(e){if(e instanceof N){return w.converters.ReadableStream(e)}if(e?.[Symbol.asyncIterator]){return e}return w.converters.XMLHttpRequestBodyInit(e)};w.converters.ResponseInit=w.dictionaryConverter([{key:"status",converter:w.converters["unsigned short"],defaultValue:200},{key:"statusText",converter:w.converters.ByteString,defaultValue:""},{key:"headers",converter:w.converters.HeadersInit}]);e.exports={makeNetworkError:makeNetworkError,makeResponse:makeResponse,makeAppropriateNetworkError:makeAppropriateNetworkError,filterResponse:filterResponse,Response:Response,cloneResponse:cloneResponse}},9710:e=>{e.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kGuard:Symbol("guard"),kRealm:Symbol("realm")}},5523:(e,t,r)=>{const{redirectStatusSet:n,referrerPolicySet:s,badPortsSet:o}=r(7326);const{getGlobalOrigin:i}=r(5628);const{performance:a}=r(2987);const{isBlobLike:A,toUSVString:c,ReadableStreamFrom:u}=r(3440);const l=r(2613);const{isUint8Array:p}=r(8253);let d=[];let g;try{g=r(6982);const e=["sha256","sha384","sha512"];d=g.getHashes().filter((t=>e.includes(t)))}catch{}function responseURL(e){const t=e.urlList;const r=t.length;return r===0?null:t[r-1].toString()}function responseLocationURL(e,t){if(!n.has(e.status)){return null}let r=e.headersList.get("location");if(r!==null&&isValidHeaderValue(r)){r=new URL(r,responseURL(e))}if(r&&!r.hash){r.hash=t}return r}function requestCurrentURL(e){return e.urlList[e.urlList.length-1]}function requestBadPort(e){const t=requestCurrentURL(e);if(urlIsHttpHttpsScheme(t)&&o.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&&r<=126||r>=128&&r<=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=n.length;e!==0;e--){const t=n[e-1].trim();if(s.has(t)){o=t;break}}}if(o!==""){e.referrerPolicy=o}}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;l(t);let r=null;if(e.referrer==="client"){const e=i();if(!e||e.origin==="null"){return"no-referrer"}r=new URL(e)}else if(e.referrer instanceof URL){r=e.referrer}let n=stripURLForReferrer(r);const s=stripURLForReferrer(r,true);if(n.toString().length>4096){n=s}const o=sameOrigin(e,n);const a=isURLPotentiallyTrustworthy(n)&&!isURLPotentiallyTrustworthy(e.url);switch(t){case"origin":return s!=null?s:stripURLForReferrer(r,true);case"unsafe-url":return n;case"same-origin":return o?s:"no-referrer";case"origin-when-cross-origin":return o?n:s;case"strict-origin-when-cross-origin":{const t=requestCurrentURL(e);if(sameOrigin(n,t)){return n}if(isURLPotentiallyTrustworthy(n)&&!isURLPotentiallyTrustworthy(t)){return"no-referrer"}return s}case"strict-origin":case"no-referrer-when-downgrade":default:return a?"no-referrer":s}}function stripURLForReferrer(e,t){l(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(g===undefined){return true}const r=parseMetadata(t);if(r==="no metadata"){return true}if(r.length===0){return true}const n=getStrongestMetadata(r);const s=filterMetadataListByAlgorithm(r,n);for(const t of s){const r=t.algo;const n=t.hash;let s=g.createHash(r).update(e).digest("base64");if(s[s.length-1]==="="){if(s[s.length-2]==="="){s=s.slice(0,-2)}else{s=s.slice(0,-1)}}if(compareBase64Mixed(s,n)){return true}}return false}const h=/(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function parseMetadata(e){const t=[];let r=true;for(const n of e.split(" ")){r=false;const e=h.exec(n);if(e===null||e.groups===undefined||e.groups.algo===undefined){continue}const s=e.groups.algo.toLowerCase();if(d.includes(s)){t.push(e.groups)}}if(r===true){return"no metadata"}return t}function getStrongestMetadata(e){let t=e[0].algo;if(t[3]==="5"){return t}for(let r=1;r{e=r;t=n}));return{promise:r,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 E={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(E,null);function normalizeMethod(e){return E[e.toLowerCase()]??e}function serializeJavascriptValueToJSONString(e){const t=JSON.stringify(e);if(t===undefined){throw new TypeError("Value is not JSON serializable")}l(typeof t==="string");return t}const m=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function makeIterator(e,t,r){const n={index:0,kind:r,target:e};const s={next(){if(Object.getPrototypeOf(this)!==s){throw new TypeError(`'next' called on an object that does not implement interface ${t} Iterator.`)}const{index:e,kind:r,target:o}=n;const i=o();const a=i.length;if(e>=a){return{value:undefined,done:true}}const A=i[e];n.index=e+1;return iteratorResult(A,r)},[Symbol.toStringTag]:`${t} Iterator`};Object.setPrototypeOf(s,m);return Object.setPrototypeOf({},s)}function iteratorResult(e,t){let r;switch(t){case"key":{r=e[0];break}case"value":{r=e[1];break}case"key+value":{r=e;break}}return{value:r,done:false}}async function fullyReadBody(e,t,r){const n=t;const s=r;let o;try{o=e.stream.getReader()}catch(e){s(e);return}try{const e=await readAllBytes(o);n(e)}catch(e){s(e)}}let I=globalThis.ReadableStream;function isReadableStreamLike(e){if(!I){I=r(3774).ReadableStream}return e instanceof I||e[Symbol.toStringTag]==="ReadableStream"&&typeof e.tee==="function"}const y=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:u,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:C,isErrorLike:isErrorLike,fullyReadBody:fullyReadBody,bytesMatch:bytesMatch,isReadableStreamLike:isReadableStreamLike,readableStreamClose:readableStreamClose,isomorphicEncode:isomorphicEncode,isomorphicDecode:isomorphicDecode,urlIsLocal:urlIsLocal,urlHasHttpsScheme:urlHasHttpsScheme,urlIsHttpHttpsScheme:urlIsHttpHttpsScheme,readAllBytes:readAllBytes,normalizeMethodRecord:E,parseMetadata:parseMetadata}},4222:(e,t,r)=>{const{types:n}=r(9023);const{hasOwn:s,toUSVString:o}=r(5523);const i={};i.converters={};i.util={};i.errors={};i.errors.exception=function(e){return new TypeError(`${e.header}: ${e.message}`)};i.errors.conversionFailed=function(e){const t=e.types.length===1?"":" one of";const r=`${e.argument} could not be converted to`+`${t}: ${e.types.join(", ")}.`;return i.errors.exception({header:e.prefix,message:r})};i.errors.invalidArgument=function(e){return i.errors.exception({header:e.prefix,message:`"${e.value}" is an invalid ${e.type}.`})};i.brandCheck=function(e,t,r=undefined){if(r?.strict!==false&&!(e instanceof t)){throw new TypeError("Illegal invocation")}else{return e?.[Symbol.toStringTag]===t.prototype[Symbol.toStringTag]}};i.argumentLengthCheck=function({length:e},t,r){if(es){throw i.errors.exception({header:"Integer conversion",message:`Value must be between ${o}-${s}, got ${a}.`})}return a}if(!Number.isNaN(a)&&n.clamp===true){a=Math.min(Math.max(a,o),s);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=i.util.IntegerPart(a);a=a%Math.pow(2,t);if(r==="signed"&&a>=Math.pow(2,t)-1){return a-Math.pow(2,t)}return a};i.util.IntegerPart=function(e){const t=Math.floor(Math.abs(e));if(e<0){return-1*t}return t};i.sequenceConverter=function(e){return t=>{if(i.util.Type(t)!=="Object"){throw i.errors.exception({header:"Sequence",message:`Value of type ${i.util.Type(t)} is not an Object.`})}const r=t?.[Symbol.iterator]?.();const n=[];if(r===undefined||typeof r.next!=="function"){throw i.errors.exception({header:"Sequence",message:"Object is not an iterator."})}while(true){const{done:t,value:s}=r.next();if(t){break}n.push(e(s))}return n}};i.recordConverter=function(e,t){return r=>{if(i.util.Type(r)!=="Object"){throw i.errors.exception({header:"Record",message:`Value of type ${i.util.Type(r)} is not an Object.`})}const s={};if(!n.isProxy(r)){const n=Object.keys(r);for(const o of n){const n=e(o);const i=t(r[o]);s[n]=i}return s}const o=Reflect.ownKeys(r);for(const n of o){const o=Reflect.getOwnPropertyDescriptor(r,n);if(o?.enumerable){const o=e(n);const i=t(r[n]);s[o]=i}}return s}};i.interfaceConverter=function(e){return(t,r={})=>{if(r.strict!==false&&!(t instanceof e)){throw i.errors.exception({header:e.name,message:`Expected ${t} to be an instance of ${e.name}.`})}return t}};i.dictionaryConverter=function(e){return t=>{const r=i.util.Type(t);const n={};if(r==="Null"||r==="Undefined"){return n}else if(r!=="Object"){throw i.errors.exception({header:"Dictionary",message:`Expected ${t} to be one of: Null, Undefined, Object.`})}for(const r of e){const{key:e,defaultValue:o,required:a,converter:A}=r;if(a===true){if(!s(t,e)){throw i.errors.exception({header:"Dictionary",message:`Missing required key "${e}".`})}}let c=t[e];const u=s(r,"defaultValue");if(u&&c!==null){c=c??o}if(a||u||c!==undefined){c=A(c);if(r.allowedValues&&!r.allowedValues.includes(c)){throw i.errors.exception({header:"Dictionary",message:`${c} is not an accepted type. Expected one of ${r.allowedValues.join(", ")}.`})}n[e]=c}}return n}};i.nullableConverter=function(e){return t=>{if(t===null){return t}return e(t)}};i.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)};i.converters.ByteString=function(e){const t=i.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};i.converters.USVString=o;i.converters.boolean=function(e){const t=Boolean(e);return t};i.converters.any=function(e){return e};i.converters["long long"]=function(e){const t=i.util.ConvertToInt(e,64,"signed");return t};i.converters["unsigned long long"]=function(e){const t=i.util.ConvertToInt(e,64,"unsigned");return t};i.converters["unsigned long"]=function(e){const t=i.util.ConvertToInt(e,32,"unsigned");return t};i.converters["unsigned short"]=function(e,t){const r=i.util.ConvertToInt(e,16,"unsigned",t);return r};i.converters.ArrayBuffer=function(e,t={}){if(i.util.Type(e)!=="Object"||!n.isAnyArrayBuffer(e)){throw i.errors.conversionFailed({prefix:`${e}`,argument:`${e}`,types:["ArrayBuffer"]})}if(t.allowShared===false&&n.isSharedArrayBuffer(e)){throw i.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return e};i.converters.TypedArray=function(e,t,r={}){if(i.util.Type(e)!=="Object"||!n.isTypedArray(e)||e.constructor.name!==t.name){throw i.errors.conversionFailed({prefix:`${t.name}`,argument:`${e}`,types:[t.name]})}if(r.allowShared===false&&n.isSharedArrayBuffer(e.buffer)){throw i.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return e};i.converters.DataView=function(e,t={}){if(i.util.Type(e)!=="Object"||!n.isDataView(e)){throw i.errors.exception({header:"DataView",message:"Object is not a DataView."})}if(t.allowShared===false&&n.isSharedArrayBuffer(e.buffer)){throw i.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return e};i.converters.BufferSource=function(e,t={}){if(n.isAnyArrayBuffer(e)){return i.converters.ArrayBuffer(e,t)}if(n.isTypedArray(e)){return i.converters.TypedArray(e,e.constructor)}if(n.isDataView(e)){return i.converters.DataView(e,t)}throw new TypeError(`Could not convert ${e} to a BufferSource.`)};i.converters["sequence"]=i.sequenceConverter(i.converters.ByteString);i.converters["sequence>"]=i.sequenceConverter(i.converters["sequence"]);i.converters["record"]=i.recordConverter(i.converters.ByteString,i.converters.ByteString);e.exports={webidl:i}},396: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}},2160:(e,t,r)=>{const{staticPropertyDescriptors:n,readOperation:s,fireAProgressEvent:o}=r(165);const{kState:i,kError:a,kResult:A,kEvents:c,kAborted:u}=r(6812);const{webidl:l}=r(4222);const{kEnumerableProperty:p}=r(3440);class FileReader extends EventTarget{constructor(){super();this[i]="empty";this[A]=null;this[a]=null;this[c]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){l.brandCheck(this,FileReader);l.argumentLengthCheck(arguments,1,{header:"FileReader.readAsArrayBuffer"});e=l.converters.Blob(e,{strict:false});s(this,e,"ArrayBuffer")}readAsBinaryString(e){l.brandCheck(this,FileReader);l.argumentLengthCheck(arguments,1,{header:"FileReader.readAsBinaryString"});e=l.converters.Blob(e,{strict:false});s(this,e,"BinaryString")}readAsText(e,t=undefined){l.brandCheck(this,FileReader);l.argumentLengthCheck(arguments,1,{header:"FileReader.readAsText"});e=l.converters.Blob(e,{strict:false});if(t!==undefined){t=l.converters.DOMString(t)}s(this,e,"Text",t)}readAsDataURL(e){l.brandCheck(this,FileReader);l.argumentLengthCheck(arguments,1,{header:"FileReader.readAsDataURL"});e=l.converters.Blob(e,{strict:false});s(this,e,"DataURL")}abort(){if(this[i]==="empty"||this[i]==="done"){this[A]=null;return}if(this[i]==="loading"){this[i]="done";this[A]=null}this[u]=true;o("abort",this);if(this[i]!=="loading"){o("loadend",this)}}get readyState(){l.brandCheck(this,FileReader);switch(this[i]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){l.brandCheck(this,FileReader);return this[A]}get error(){l.brandCheck(this,FileReader);return this[a]}get onloadend(){l.brandCheck(this,FileReader);return this[c].loadend}set onloadend(e){l.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(){l.brandCheck(this,FileReader);return this[c].error}set onerror(e){l.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(){l.brandCheck(this,FileReader);return this[c].loadstart}set onloadstart(e){l.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(){l.brandCheck(this,FileReader);return this[c].progress}set onprogress(e){l.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(){l.brandCheck(this,FileReader);return this[c].load}set onload(e){l.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(){l.brandCheck(this,FileReader);return this[c].abort}set onabort(e){l.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:n,LOADING:n,DONE:n,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:n,LOADING:n,DONE:n});e.exports={FileReader:FileReader}},5976:(e,t,r)=>{const{webidl:n}=r(4222);const s=Symbol("ProgressEvent state");class ProgressEvent extends Event{constructor(e,t={}){e=n.converters.DOMString(e);t=n.converters.ProgressEventInit(t??{});super(e,t);this[s]={lengthComputable:t.lengthComputable,loaded:t.loaded,total:t.total}}get lengthComputable(){n.brandCheck(this,ProgressEvent);return this[s].lengthComputable}get loaded(){n.brandCheck(this,ProgressEvent);return this[s].loaded}get total(){n.brandCheck(this,ProgressEvent);return this[s].total}}n.converters.ProgressEventInit=n.dictionaryConverter([{key:"lengthComputable",converter:n.converters.boolean,defaultValue:false},{key:"loaded",converter:n.converters["unsigned long long"],defaultValue:0},{key:"total",converter:n.converters["unsigned long long"],defaultValue:0},{key:"bubbles",converter:n.converters.boolean,defaultValue:false},{key:"cancelable",converter:n.converters.boolean,defaultValue:false},{key:"composed",converter:n.converters.boolean,defaultValue:false}]);e.exports={ProgressEvent:ProgressEvent}},6812: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")}},165:(e,t,r)=>{const{kState:n,kError:s,kResult:o,kAborted:i,kLastProgressEventFired:a}=r(6812);const{ProgressEvent:A}=r(5976);const{getEncoding:c}=r(396);const{DOMException:u}=r(7326);const{serializeAMimeType:l,parseMIMEType:p}=r(4322);const{types:d}=r(9023);const{StringDecoder:g}=r(3193);const{btoa:h}=r(181);const E={enumerable:true,writable:false,configurable:false};function readOperation(e,t,r,A){if(e[n]==="loading"){throw new u("Invalid state","InvalidStateError")}e[n]="loading";e[o]=null;e[s]=null;const c=t.stream();const l=c.getReader();const p=[];let g=l.read();let h=true;(async()=>{while(!e[i]){try{const{done:c,value:u}=await g;if(h&&!e[i]){queueMicrotask((()=>{fireAProgressEvent("loadstart",e)}))}h=false;if(!c&&d.isUint8Array(u)){p.push(u);if((e[a]===undefined||Date.now()-e[a]>=50)&&!e[i]){e[a]=Date.now();queueMicrotask((()=>{fireAProgressEvent("progress",e)}))}g=l.read()}else if(c){queueMicrotask((()=>{e[n]="done";try{const n=packageData(p,r,t.type,A);if(e[i]){return}e[o]=n;fireAProgressEvent("load",e)}catch(t){e[s]=t;fireAProgressEvent("error",e)}if(e[n]!=="loading"){fireAProgressEvent("loadend",e)}}));break}}catch(t){if(e[i]){return}queueMicrotask((()=>{e[n]="done";e[s]=t;fireAProgressEvent("error",e);if(e[n]!=="loading"){fireAProgressEvent("loadend",e)}}));break}}})()}function fireAProgressEvent(e,t){const r=new A(e,{bubbles:false,cancelable:false});t.dispatchEvent(r)}function packageData(e,t,r,n){switch(t){case"DataURL":{let t="data:";const n=p(r||"application/octet-stream");if(n!=="failure"){t+=l(n)}t+=";base64,";const s=new g("latin1");for(const r of e){t+=h(s.write(r))}t+=h(s.end());return t}case"Text":{let t="failure";if(n){t=c(n)}if(t==="failure"&&r){const e=p(r);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 r=new g("latin1");for(const n of e){t+=r.write(n)}t+=r.end();return t}}}function decode(e,t){const r=combineByteSequences(e);const n=BOMSniffing(r);let s=0;if(n!==null){t=n;s=n==="UTF-8"?3:2}const o=r.slice(s);return new TextDecoder(t).decode(o)}function BOMSniffing(e){const[t,r,n]=e;if(t===239&&r===187&&n===191){return"UTF-8"}else if(t===254&&r===255){return"UTF-16BE"}else if(t===255&&r===254){return"UTF-16LE"}return null}function combineByteSequences(e){const t=e.reduce(((e,t)=>e+t.byteLength),0);let r=0;return e.reduce(((e,t)=>{e.set(t,r);r+=t.byteLength;return e}),new Uint8Array(t))}e.exports={staticPropertyDescriptors:E,readOperation:readOperation,fireAProgressEvent:fireAProgressEvent}},2581:(e,t,r)=>{const n=Symbol.for("undici.globalDispatcher.1");const{InvalidArgumentError:s}=r(8707);const o=r(9965);if(getGlobalDispatcher()===undefined){setGlobalDispatcher(new o)}function setGlobalDispatcher(e){if(!e||typeof e.dispatch!=="function"){throw new s("Argument agent must implement Agent")}Object.defineProperty(globalThis,n,{value:e,writable:true,enumerable:false,configurable:false})}function getGlobalDispatcher(){return globalThis[n]}e.exports={setGlobalDispatcher:setGlobalDispatcher,getGlobalDispatcher:getGlobalDispatcher}},8840: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)}}},8299:(e,t,r)=>{const n=r(3440);const{kBodyUsed:s}=r(6443);const o=r(2613);const{InvalidArgumentError:i}=r(8707);const a=r(4434);const A=[300,301,302,303,307,308];const c=Symbol("body");class BodyAsyncIterable{constructor(e){this[c]=e;this[s]=false}async*[Symbol.asyncIterator](){o(!this[s],"disturbed");this[s]=true;yield*this[c]}}class RedirectHandler{constructor(e,t,r,A){if(t!=null&&(!Number.isInteger(t)||t<0)){throw new i("maxRedirections must be a positive number")}n.validateHandler(A,r.method,r.upgrade);this.dispatch=e;this.location=null;this.abort=null;this.opts={...r,maxRedirections:0};this.maxRedirections=t;this.handler=A;this.history=[];if(n.isStream(this.opts.body)){if(n.bodyLength(this.opts.body)===0){this.opts.body.on("data",(function(){o(false)}))}if(typeof this.opts.body.readableDidRead!=="boolean"){this.opts.body[s]=false;a.prototype.on.call(this.opts.body,"data",(function(){this[s]=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)&&n.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,r){this.handler.onUpgrade(e,t,r)}onError(e){this.handler.onError(e)}onHeaders(e,t,r,s){this.location=this.history.length>=this.maxRedirections||n.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,r,s)}const{origin:o,pathname:i,search:a}=n.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin)));const A=a?`${i}${a}`:i;this.opts.headers=cleanRequestHeaders(this.opts.headers,e===303,this.opts.origin!==o);this.opts.path=A;this.opts.origin=o;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 n=r(2613);const{kRetryHandlerDefaultRetry:s}=r(6443);const{RequestRetryError:o}=r(8707);const{isDisturbed:i,parseHeaders:a,parseRangeHeader:A}=r(3440);function calculateRetryAfterHeader(e){const t=Date.now();const r=new Date(e).getTime()-t;return r}class RetryHandler{constructor(e,t){const{retryOptions:r,...n}=e;const{retry:o,maxRetries:i,maxTimeout:a,minTimeout:A,timeoutFactor:c,methods:u,errorCodes:l,retryAfter:p,statusCodes:d}=r??{};this.dispatch=t.dispatch;this.handler=t.handler;this.opts=n;this.abort=null;this.aborted=false;this.retryOpts={retry:o??RetryHandler[s],retryAfter:p??true,maxTimeout:a??30*1e3,timeout:A??500,timeoutFactor:c??2,maxRetries:i??5,methods:u??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:d??[500,502,503,504,429],errorCodes:l??["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,r){if(this.handler.onUpgrade){this.handler.onUpgrade(e,t,r)}}onConnect(e){if(this.aborted){e(this.reason)}else{this.abort=e}}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[s](e,{state:t,opts:r},n){const{statusCode:s,code:o,headers:i}=e;const{method:a,retryOptions:A}=r;const{maxRetries:c,timeout:u,maxTimeout:l,timeoutFactor:p,statusCodes:d,errorCodes:g,methods:h}=A;let{counter:E,currentTimeout:m}=t;m=m!=null&&m>0?m:u;if(o&&o!=="UND_ERR_REQ_RETRY"&&o!=="UND_ERR_SOCKET"&&!g.includes(o)){n(e);return}if(Array.isArray(h)&&!h.includes(a)){n(e);return}if(s!=null&&Array.isArray(d)&&!d.includes(s)){n(e);return}if(E>c){n(e);return}let I=i!=null&&i["retry-after"];if(I){I=Number(I);I=isNaN(I)?calculateRetryAfterHeader(I):I*1e3}const y=I>0?Math.min(I,l):Math.min(m*p**E,l);t.currentTimeout=y;setTimeout((()=>n(null)),y)}onHeaders(e,t,r,s){const i=a(t);this.retryCount+=1;if(e>=300){this.abort(new o("Request failed",e,{headers:i,count:this.retryCount}));return false}if(this.resume!=null){this.resume=null;if(e!==206){return true}const t=A(i["content-range"]);if(!t){this.abort(new o("Content-Range mismatch",e,{headers:i,count:this.retryCount}));return false}if(this.etag!=null&&this.etag!==i.etag){this.abort(new o("ETag mismatch",e,{headers:i,count:this.retryCount}));return false}const{start:s,size:a,end:c=a}=t;n(this.start===s,"content-range mismatch");n(this.end==null||this.end===c,"content-range mismatch");this.resume=r;return true}if(this.end==null){if(e===206){const o=A(i["content-range"]);if(o==null){return this.handler.onHeaders(e,t,r,s)}const{start:a,size:c,end:u=c}=o;n(a!=null&&Number.isFinite(a)&&this.start!==a,"content-range mismatch");n(Number.isFinite(a));n(u!=null&&Number.isFinite(u)&&this.end!==u,"invalid content-length");this.start=a;this.end=u}if(this.end==null){const e=i["content-length"];this.end=e!=null?Number(e):null}n(Number.isFinite(this.start));n(this.end==null||Number.isFinite(this.end),"invalid content-length");this.resume=r;this.etag=i.etag!=null?i.etag:null;return this.handler.onHeaders(e,t,r,s)}const c=new o("Request failed",e,{headers:i,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||i(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||i(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},4415:(e,t,r)=>{const n=r(8299);function createRedirectInterceptor({maxRedirections:e}){return t=>function Intercept(r,s){const{maxRedirections:o=e}=r;if(!o){return t(r,s)}const i=new n(t,o,r,s);r={...r,maxRedirections:0};return t(r,i)}}e.exports=createRedirectInterceptor},2824:(e,t,r)=>{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 n=r(172);var s;(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"})(s=t.ERROR||(t.ERROR={}));var o;(function(e){e[e["BOTH"]=0]="BOTH";e[e["REQUEST"]=1]="REQUEST";e[e["RESPONSE"]=2]="RESPONSE"})(o=t.TYPE||(t.TYPE={}));var i;(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"})(i=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=n.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 u;(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"})(u=t.HEADER_STATE||(t.HEADER_STATE={}));t.SPECIAL_HEADERS={connection:u.CONNECTION,"content-length":u.CONTENT_LENGTH,"proxy-connection":u.CONNECTION,"transfer-encoding":u.TRANSFER_ENCODING,upgrade:u.UPGRADE}},3870:e=>{e.exports="AGFzbQEAAAABMAhgAX8Bf2ADf39/AX9gBH9/f38Bf2AAAGADf39/AGABfwBgAn9/AGAGf39/f39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQACA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAED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W5pZW50X3RyYW5zZmVyX2VuY29kaW5nACUYbGxodHRwX21lc3NhZ2VfbmVlZHNfZW9mAD8JFwEAQQELEQECAwQFCwYHNTk3MS8tJyspCsLgAkUCAAsIABCIgICAAAsZACAAEMKAgIAAGiAAIAI2AjggACABOgAoCxwAIAAgAC8BMiAALQAuIAAQwYCAgAAQgICAgAALKgEBf0HAABDGgICAACIBEMKAgIAAGiABQYCIgIAANgI4IAEgADoAKCABCwoAIAAQyICAgAALBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LRQEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABDCgICAABogACAENgI4IAAgAzoAKCAAIAI6AC0gACABNgIYCxEAIAAgASABIAJqEMOAgIAACxAAIABBAEHcABDMgICAABoLZwEBf0EAIQECQCAAKAIMDQACQAJAAkACQCAALQAvDgMBAAMCCyAAKAI4IgFFDQAgASgCLCIBRQ0AIAAgARGAgICAAAAiAQ0DC0EADwsQyoCAgAAACyAAQcOWgIAANgIQQQ4hAQsgAQseAAJAIAAoAgwNACAAQdGbgIAANgIQIABBFTYCDAsLFgACQCAAKAIMQRVHDQAgAEEANgIMCwsWAAJAIAAoAgxBFkcNACAAQQA2AgwLCwcAIAAoAgwLBwAgACgCEAsJACAAIAE2AhALBwAgACgCFAsiAAJAIABBJEkNABDKgICAAAALIABBAnRBoLOAgABqKAIACyIAAkAgAEEuSQ0AEMqAgIAAAAsgAEECdEGwtICAAGooAgAL7gsBAX9B66iAgAAhAQJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAA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QAgAC8BMkH//wNxIgVBnH9qQeQASQ0AIAVBzAFGDQAgBUGwAkYNACAEQcAAcQ0AQQAhAyAEQYgEcUGABEYNACAEQShxQQBHIQMLIABBADsBMCAAQQA6AC8gAwuZAQECfwJAAkACQCAALQAqRQ0AIAAtACtFDQBBACEBIAAvATAiAkECcUUNAQwCC0EAIQEgAC8BMCICQQFxRQ0BC0EBIQEgAC0AKEEBRg0AIAAvATJB//8DcSIAQZx/akHkAEkNACAAQcwBRg0AIABBsAJGDQAgAkHAAHENAEEAIQEgAkGIBHFBgARGDQAgAkEocUEARyEBCyABC1kAIABBGGpCADcDACAAQgA3AwAgAEE4akIANwMAIABBMGpCADcDACAAQShqQgA3AwAgAEEgakIANwMAIABBEGpCADcDACAAQQhqQgA3AwAgAEHdATYCHEEAC3sBAX8CQCAAKAIMIgMNAAJAIAAoAgRFDQAgACABNgIECwJAIAAgASACEMSAgIAAIgMNACAAKAIMDwsgACADNgIcQQAhAyAAKAIEIgFFDQAgACABIAIgACgCCBGBgICAAAAiAUUNACAAIAI2AhQgACABNgIMIAEhAwsgAwvk8wEDDn8DfgR/I4CAgIAAQRBrIgMkgICAgAAgASEEIAEhBSABIQYgASEHIAEhCCABIQkgASEKIAEhCyABIQwgASENIAEhDiABIQ8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAk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QAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAQDscBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxweHyAhIyUoP0BBREVGR0hJSktMTU9QUVJT3gNXWVtcXWBiZWZnaGlqa2xtb3BxcnN0dXZ3eHl6e3x9foABggGFAYYBhwGJAYsBjAGNAY4BjwGQAZEBlAGVAZYBlwGYAZkBmgGbAZwBnQGeAZ8BoAGhAaIBowGkAaUBpgGnAagBqQGqAasBrAGtAa4BrwGwAbEBsgGzAbQBtQG2AbcBuAG5AboBuwG8Ab0BvgG/AcABwQHCAcMBxAHFAcYBxwHIAckBygHLAcwBzQHOAc8B0AHRAdIB0wHUAdUB1gHXAdgB2QHaAdsB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RAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxRCyAAQeUANgIcIAAgATYCFCAAIBA2AgxBACEQDLABCyAAQQA2AhwgACABNgIUIABBxoqAgAA2AhAgAEEHNgIMQQAhEAyvAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMSQsgAEHSADYCHCAAIAE2AhQgACAQNgIMQQAhEAyuAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMSQsgAEHTADYCHCAAIAE2AhQgACAQNgIMQQAhEAytAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMTQsgAEHlADYCHCAAIAE2AhQgACAQNgIMQQAhEAysAQsgAEEANgIcIAAgATYCFCAAQdyIgIAANgIQIABBBzYCDEEAIRAMqwELIBBBP0cNASABQQFqIQELQQUhEAyQAQtBACEQIABBADYCHCAAIAE2AhQgAEH9koCAADYCECAAQQc2AgwMqAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMpwELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMpgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEYLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMpQELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0gA2AhwgACAUNgIUIAAgATYCDEEAIRAMpAELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0wA2AhwgACAUNgIUIAAgATYCDEEAIRAMowELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDEMLIABB5QA2AhwgACAUNgIUIAAgATYCDEEAIRAMogELIABBADYCHCAAIBQ2AhQgAEHDj4CAADYCECAAQQ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AoAgwiAw0AAkAgACgCBEUNACAAIAE2AgQLAkAgACABIAIQxICAgAAiAw0AIAAoAgwPCyAAIAM2AhxBACEDIAAoAgQiAUUNACAAIAEgAiAAKAIIEYGAgIAAACIBRQ0AIAAgAjYCFCAAIAE2AgwgASEDCyADC+TzAQMOfwN+BH8jgICAgABBEGsiAySAgICAACABIQQgASEFIAEhBiABIQcgASEIIAEhCSABIQogASELIAEhDCABIQ0gASEOIAEhDwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAAKAIcIhBBf2oO3QHaAQHZAQIDBAUGBwgJCgsMDQ7YAQ8Q1wEREtYBExQVFhcYGRob4AHfARwdHtUBHyAhIiMkJdQBJicoKSorLNMB0gEtLtEB0AEvMDEyMzQ1Njc4OTo7PD0+P0BBQkNERUbbAUdISUrPAc4BS80BTMwBTU5PUFFSU1RVVldYWVpbXF1eX2BhYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ent8fX5/gAGBAYIBgwGEAYUBhgGHAYgBiQGKAYsBjAGNAY4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bYBIRAMDQtBtwEhEAwMC0G4ASEQDAsLQbkBIRAMCgtBugEhEAwJC0G7ASEQDAgLQcYBIRAMBwtBvAEhEAwGC0G9ASEQDAULQb4BIRAMBAtBvwEhEAwDC0HAASEQDAILQcIBIRAMAQtBwQEhEAsDQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAk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ICAACIQDecBIAEhAQz1AgsCQCABIgEgAkcNAEEGIRAM8AMLIAAgAUEBaiIBIAIQu4CAgAAiEA3oASABIQEMMQsgAEIANwMgQRIhEAzVAwsgASIQIAJHDStBHSEQDO0DCwJAIAEiASACRg0AIAFBAWohAUEQIRAM1AMLQQchEAzsAwsgAEIAIAApAyAiESACIAEiEGutIhJ9IhMgEyARVhs3AyAgESASViIURQ3lAUEIIRAM6wMLAkAgASIBIAJGDQAgAEGJgICAADYCCCAAIAE2AgQgASEBQRQhEAzSAwtBCSEQDOoDCyABIQEgACkDIFAN5AEgASEBDPICCwJAIAEiASACRw0AQQshEAzpAwsgACABQQFqIgEgAhC2gICAACIQDeUBIAEhAQzyAgsgACABIgEgAhC4gICAACIQDeUBIAEhAQzyAgsgACABIgEgAhC4gICAACIQDeYBIAEhAQwNCyAAIAEiASACELqAgIAAIhAN5wEgASEBDPACCwJAIAEiASACRw0AQQ8hEAzlAwsgAS0AACIQQTtGDQggEEENRw3oASABQQFqIQEM7wILIAAgASIBIAIQuoCAgAAiEA3oASABIQEM8gILA0ACQCABLQAAQfC1gIAAai0AACIQQQFGDQAgEEECRw3rASAAKAIEIRAgAEEANgIEIAAgECABQQFqIgEQuYCAgAAiEA3qASABIQEM9AILIAFBAWoiASACRw0AC0ESIRAM4gMLIAAgASIBIAIQuoCAgAAiEA3pASABIQEMCgsgASIBIAJHDQZBGyEQDOADCwJAIAEiASACRw0AQRYhEAzgAwsgAEGKgICAADYCCCAAIAE2AgQgACABIAIQuICAgAAiEA3qASABIQFBICEQDMYDCwJAIAEiASACRg0AA0ACQCABLQAAQfC3gIAAai0AACIQQQJGDQACQCAQQX9qDgTlAewBAOsB7AELIAFBAWohAUEIIRAMyAMLIAFBAWoiASACRw0AC0EVIRAM3wMLQRUhEAzeAwsDQAJAIAEtAABB8LmAgABqLQAAIhBBAkYNACAQQX9qDgTeAewB4AHrAewBCyABQQFqIgEgAkcNAAtBGCEQDN0DCwJAIAEiASACRg0AIABBi4CA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sgAEEANgIAIBdBAWohAQJAIAAtAClBIUcNACABIQEMVgsgAEEANgIcIAAgATYCFCAAQZuKgIAANgIQIABBCDYCDEEAIRAMtgELIABBADYCACAXQQFqIQECQCAALQApIhBBXWpBC08NACABIQEMVQsCQCAQQQZLDQBBASAQdEHKAHFFDQAgASEBDFULQQAhECAAQQA2AhwgACABNgIUIABB94mAgAA2AhAgAEEINgIMDLUBCyAQQRVGDXEgAEEANgIcIAAgATYCFCAAQbmNgIAANgIQIABBGjYCDEEAIRAMtAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFQLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMswELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMsgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMsQELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFELIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMsAELIABBADYCHCAAIAE2AhQgAEHGioCAADYCECAAQQc2AgxBACEQDK8BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxJCyAAQdIANgIcIAAgATYCFCAAIBA2AgxBACEQDK4BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxJCyAAQdMANgIcIAAgATYCFCAAIBA2AgxBACEQDK0BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxNCyAAQeUANgIcIAAgATYCFCAAIBA2AgxBACEQDKwBCyAAQQA2AhwgACABNgIUIABB3IiAgAA2AhAgAEEHNgIMQQAhEAyrAQsgEEE/Rw0BIAFBAWohAQtBBSEQDJABC0EAIRAgAEEANgIcIAAgATYCFCAAQf2SgIAANgIQIABBBz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AAAAAAAAAAAAAAAAAAAAQAAAQAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAEAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAgAAAAACAAAAAAAAAAAAAAAAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw=="},172:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.enumToMap=void 0;function enumToMap(e){const t={};Object.keys(e).forEach((r=>{const n=e[r];if(typeof n==="number"){t[r]=n}}));return t}t.enumToMap=enumToMap},7501:(e,t,r)=>{const{kClients:n}=r(6443);const s=r(9965);const{kAgent:o,kMockAgentSet:i,kMockAgentGet:a,kDispatches:A,kIsMockActive:c,kNetConnect:u,kGetNetConnect:l,kOptions:p,kFactory:d}=r(1117);const g=r(7365);const h=r(4004);const{matchValue:E,buildMockOptions:m}=r(3397);const{InvalidArgumentError:I,UndiciError:y}=r(8707);const C=r(992);const Q=r(1529);const B=r(6142);class FakeWeakRef{constructor(e){this.value=e}deref(){return this.value}}class MockAgent extends C{constructor(e){super(e);this[u]=true;this[c]=true;if(e&&e.agent&&typeof e.agent.dispatch!=="function"){throw new I("Argument opts.agent must implement Agent")}const t=e&&e.agent?e.agent:new s(e);this[o]=t;this[n]=t[n];this[p]=m(e)}get(e){let t=this[a](e);if(!t){t=this[d](e);this[i](e,t)}return t}dispatch(e,t){this.get(e.origin);return this[o].dispatch(e,t)}async close(){await this[o].close();this[n].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[u])){this[u].push(e)}else{this[u]=[e]}}else if(typeof e==="undefined"){this[u]=true}else{throw new I("Unsupported matcher. Must be one of String|Function|RegExp.")}}disableNetConnect(){this[u]=false}get isMockActive(){return this[c]}[i](e,t){this[n].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[n].get(e);if(t){return t.deref()}if(typeof e!=="string"){const t=this[d]("http://localhost:9999");this[i](e,t);return t}for(const[t,r]of Array.from(this[n])){const n=r.deref();if(n&&typeof t!=="string"&&E(t,e)){const t=this[d](e);this[i](e,t);t[A]=n[A];return t}}}[l](){return this[u]}pendingInterceptors(){const e=this[n];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 r=new Q("interceptor","interceptors").pluralize(t.length);throw new y(`\n${r.count} ${r.noun} ${r.is} pending:\n\n${e.format(t)}\n`.trim())}}e.exports=MockAgent},7365:(e,t,r)=>{const{promisify:n}=r(9023);const s=r(6197);const{buildMockDispatch:o}=r(3397);const{kDispatches:i,kMockAgent:a,kClose:A,kOriginalClose:c,kOrigin:u,kOriginalDispatch:l,kConnected:p}=r(1117);const{MockInterceptor:d}=r(1511);const g=r(6443);const{InvalidArgumentError:h}=r(8707);class MockClient extends s{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[u]=e;this[i]=[];this[p]=1;this[l]=this.dispatch;this[c]=this.close.bind(this);this.dispatch=o.call(this);this.close=this[A]}get[g.kConnected](){return this[p]}intercept(e){return new d(e,this[i])}async[A](){await n(this[c])();this[p]=0;this[a][g.kClients].delete(this[u])}}e.exports=MockClient},2429:(e,t,r)=>{const{UndiciError:n}=r(8707);class MockNotMatchedError extends n{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}},1511:(e,t,r)=>{const{getResponseData:n,buildKey:s,addMockDispatch:o}=r(3397);const{kDispatches:i,kDispatchKey:a,kDefaultHeaders:A,kDefaultTrailers:c,kContentLength:u,kMockDispatch:l}=r(1117);const{InvalidArgumentError:p}=r(8707);const{buildURL:d}=r(3440);class MockScope{constructor(e){this[l]=e}delay(e){if(typeof e!=="number"||!Number.isInteger(e)||e<=0){throw new p("waitInMs must be a valid integer > 0")}this[l].delay=e;return this}persist(){this[l].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[l].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]=s(e);this[i]=t;this[A]={};this[c]={};this[u]=false}createMockScopeDispatchData(e,t,r={}){const s=n(t);const o=this[u]?{"content-length":s.length}:{};const i={...this[A],...o,...r.headers};const a={...this[c],...r.trailers};return{statusCode:e,data:t,headers:i,trailers:a}}validateReplyParameters(e,t,r){if(typeof e==="undefined"){throw new p("statusCode must be defined")}if(typeof t==="undefined"){throw new p("data must be defined")}if(typeof r!=="object"){throw new p("responseOptions must be an object")}}reply(e){if(typeof e==="function"){const wrappedDefaultsCallback=t=>{const r=e(t);if(typeof r!=="object"){throw new p("reply options callback must return an object")}const{statusCode:n,data:s="",responseOptions:o={}}=r;this.validateReplyParameters(n,s,o);return{...this.createMockScopeDispatchData(n,s,o)}};const t=o(this[i],this[a],wrappedDefaultsCallback);return new MockScope(t)}const[t,r="",n={}]=[...arguments];this.validateReplyParameters(t,r,n);const s=this.createMockScopeDispatchData(t,r,n);const A=o(this[i],this[a],s);return new MockScope(A)}replyWithError(e){if(typeof e==="undefined"){throw new p("error must be defined")}const t=o(this[i],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[u]=true;return this}}e.exports.MockInterceptor=MockInterceptor;e.exports.MockScope=MockScope},4004:(e,t,r)=>{const{promisify:n}=r(9023);const s=r(5076);const{buildMockDispatch:o}=r(3397);const{kDispatches:i,kMockAgent:a,kClose:A,kOriginalClose:c,kOrigin:u,kOriginalDispatch:l,kConnected:p}=r(1117);const{MockInterceptor:d}=r(1511);const g=r(6443);const{InvalidArgumentError:h}=r(8707);class MockPool extends s{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[u]=e;this[i]=[];this[p]=1;this[l]=this.dispatch;this[c]=this.close.bind(this);this.dispatch=o.call(this);this.close=this[A]}get[g.kConnected](){return this[p]}intercept(e){return new d(e,this[i])}async[A](){await n(this[c])();this[p]=0;this[a][g.kClients].delete(this[u])}}e.exports=MockPool},1117: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")}},3397:(e,t,r)=>{const{MockNotMatchedError:n}=r(2429);const{kDispatches:s,kMockAgent:o,kOriginalDispatch:i,kOrigin:a,kGetNetConnect:A}=r(1117);const{buildURL:c,nop:u}=r(3440);const{STATUS_CODES:l}=r(8611);const{types:{isPromise:p}}=r(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 r=0;r!e)).filter((({path:e})=>matchValue(safeUrl(e),s)));if(o.length===0){throw new n(`Mock dispatch not matched for path '${s}'`)}o=o.filter((({method:e})=>matchValue(e,t.method)));if(o.length===0){throw new n(`Mock dispatch not matched for method '${t.method}'`)}o=o.filter((({body:e})=>typeof e!=="undefined"?matchValue(e,t.body):true));if(o.length===0){throw new n(`Mock dispatch not matched for body '${t.body}'`)}o=o.filter((e=>matchHeaders(e,t.headers)));if(o.length===0){throw new n(`Mock dispatch not matched for headers '${typeof t.headers==="object"?JSON.stringify(t.headers):t.headers}'`)}return o[0]}function addMockDispatch(e,t,r){const n={timesInvoked:0,times:1,persist:false,consumed:false};const s=typeof r==="function"?{callback:r}:{...r};const o={...n,...t,pending:true,data:{error:null,...s}};e.push(o);return o}function deleteMockDispatch(e,t){const r=e.findIndex((e=>{if(!e.consumed){return false}return matchKey(e,t)}));if(r!==-1){e.splice(r,1)}}function buildKey(e){const{path:t,method:r,body:n,headers:s,query:o}=e;return{path:t,method:r,body:n,headers:s,query:o}}function generateKeyValues(e){return Object.entries(e).reduce(((e,[t,r])=>[...e,Buffer.from(`${t}`),Array.isArray(r)?r.map((e=>Buffer.from(`${e}`))):Buffer.from(`${r}`)]),[])}function getStatusText(e){return l[e]||"unknown"}async function getResponse(e){const t=[];for await(const r of e){t.push(r)}return Buffer.concat(t).toString("utf8")}function mockDispatch(e,t){const r=buildKey(e);const n=getMockDispatch(this[s],r);n.timesInvoked++;if(n.data.callback){n.data={...n.data,...n.data.callback(e)}}const{data:{statusCode:o,data:i,headers:a,trailers:A,error:c},delay:l,persist:d}=n;const{timesInvoked:g,times:h}=n;n.consumed=!d&&g>=h;n.pending=g0){setTimeout((()=>{handleReply(this[s])}),l)}else{handleReply(this[s])}function handleReply(n,s=i){const c=Array.isArray(e.headers)?buildHeadersFromArray(e.headers):e.headers;const l=typeof s==="function"?s({...e,headers:c}):s;if(p(l)){l.then((e=>handleReply(n,e)));return}const d=getResponseData(l);const g=generateKeyValues(a);const h=generateKeyValues(A);t.abort=u;t.onHeaders(o,g,resume,getStatusText(o));t.onData(Buffer.from(d));t.onComplete(h);deleteMockDispatch(n,r)}function resume(){}return true}function buildMockDispatch(){const e=this[o];const t=this[a];const r=this[i];return function dispatch(s,o){if(e.isMockActive){try{mockDispatch.call(this,s,o)}catch(i){if(i instanceof n){const a=e[A]();if(a===false){throw new n(`${i.message}: subsequent request to origin ${t} was not allowed (net.connect disabled)`)}if(checkNetConnect(a,t)){r.call(this,s,o)}else{throw new n(`${i.message}: subsequent request to origin ${t} was not allowed (net.connect is not enabled for this origin)`)}}else{throw i}}}else{r.call(this,s,o)}}}function checkNetConnect(e,t){const r=new URL(t);if(e===true){return true}else if(Array.isArray(e)&&e.some((e=>matchValue(e,r.host)))){return true}return false}function buildMockOptions(e){if(e){const{agent:t,...r}=e;return r}}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}},6142:(e,t,r)=>{const{Transform:n}=r(2203);const{Console:s}=r(4236);e.exports=class PendingInterceptorsFormatter{constructor({disableColors:e}={}){this.transform=new n({transform(e,t,r){r(null,e)}});this.logger=new s({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){const t=e.map((({method:e,path:t,data:{statusCode:r},persist:n,times:s,timesInvoked:o,origin:i})=>({Method:e,Origin:i,Path:t,"Status code":r,Persistent:n?"✅":"❌",Invocations:o,Remaining:n?Infinity:s-o})));this.logger.table(t);return this.transform.read().toString()}}},1529:e=>{const t={pronoun:"it",is:"is",was:"was",this:"this"};const r={pronoun:"they",is:"are",was:"were",this:"these"};e.exports=class Pluralizer{constructor(e,t){this.singular=e;this.plural=t}pluralize(e){const n=e===1;const s=n?t:r;const o=n?this.singular:this.plural;return{...s,count:e,noun:o}}}},4869:e=>{const t=2048;const r=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&r)===this.bottom}push(e){this.list[this.top]=e;this.top=this.top+1&r}shift(){const e=this.list[this.bottom];if(e===undefined)return null;this.list[this.bottom]=undefined;this.bottom=this.bottom+1&r;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}}},8640:(e,t,r)=>{const n=r(1);const s=r(4869);const{kConnected:o,kSize:i,kRunning:a,kPending:A,kQueued:c,kBusy:u,kFree:l,kUrl:p,kClose:d,kDestroy:g,kDispatch:h}=r(6443);const E=r(4622);const m=Symbol("clients");const I=Symbol("needDrain");const y=Symbol("queue");const C=Symbol("closed resolve");const Q=Symbol("onDrain");const B=Symbol("onConnect");const b=Symbol("onDisconnect");const T=Symbol("onConnectionError");const w=Symbol("get dispatcher");const v=Symbol("add client");const R=Symbol("remove client");const k=Symbol("stats");class PoolBase extends n{constructor(){super();this[y]=new s;this[m]=[];this[c]=0;const e=this;this[Q]=function onDrain(t,r){const n=e[y];let s=false;while(!s){const t=n.shift();if(!t){break}e[c]--;s=!this.dispatch(t.opts,t.handler)}this[I]=s;if(!this[I]&&e[I]){e[I]=false;e.emit("drain",t,[e,...r])}if(e[C]&&n.isEmpty()){Promise.all(e[m].map((e=>e.close()))).then(e[C])}};this[B]=(t,r)=>{e.emit("connect",t,[e,...r])};this[b]=(t,r,n)=>{e.emit("disconnect",t,[e,...r],n)};this[T]=(t,r,n)=>{e.emit("connectionError",t,[e,...r],n)};this[k]=new E(this)}get[u](){return this[I]}get[o](){return this[m].filter((e=>e[o])).length}get[l](){return this[m].filter((e=>e[o]&&!e[I])).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[i](){let e=this[c];for(const{[i]:t}of this[m]){e+=t}return e}get stats(){return this[k]}async[d](){if(this[y].isEmpty()){return Promise.all(this[m].map((e=>e.close())))}else{return new Promise((e=>{this[C]=e}))}}async[g](e){while(true){const t=this[y].shift();if(!t){break}t.handler.onError(e)}return Promise.all(this[m].map((t=>t.destroy(e))))}[h](e,t){const r=this[w]();if(!r){this[I]=true;this[y].push({opts:e,handler:t});this[c]++}else if(!r.dispatch(e,t)){r[I]=true;this[I]=!this[w]()}return!this[I]}[v](e){e.on("drain",this[Q]).on("connect",this[B]).on("disconnect",this[b]).on("connectionError",this[T]);this[m].push(e);if(this[I]){process.nextTick((()=>{if(this[I]){this[Q](e[p],[this,e])}}))}return this}[R](e){e.close((()=>{const t=this[m].indexOf(e);if(t!==-1){this[m].splice(t,1)}}));this[I]=this[m].some((e=>!e[I]&&e.closed!==true&&e.destroyed!==true))}}e.exports={PoolBase:PoolBase,kClients:m,kNeedDrain:I,kAddClient:v,kRemoveClient:R,kGetDispatcher:w}},4622:(e,t,r)=>{const{kFree:n,kConnected:s,kPending:o,kQueued:i,kRunning:a,kSize:A}=r(6443);const c=Symbol("pool");class PoolStats{constructor(e){this[c]=e}get connected(){return this[c][s]}get free(){return this[c][n]}get pending(){return this[c][o]}get queued(){return this[c][i]}get running(){return this[c][a]}get size(){return this[c][A]}}e.exports=PoolStats},5076:(e,t,r)=>{const{PoolBase:n,kClients:s,kNeedDrain:o,kAddClient:i,kGetDispatcher:a}=r(8640);const A=r(6197);const{InvalidArgumentError:c}=r(8707);const u=r(3440);const{kUrl:l,kInterceptors:p}=r(6443);const d=r(9136);const g=Symbol("options");const h=Symbol("connections");const E=Symbol("factory");function defaultFactory(e,t){return new A(e,t)}class Pool extends n{constructor(e,{connections:t,factory:r=defaultFactory,connect:n,connectTimeout:s,tls:o,maxCachedSessions:i,socketPath:a,autoSelectFamily:A,autoSelectFamilyAttemptTimeout:m,allowH2:I,...y}={}){super();if(t!=null&&(!Number.isFinite(t)||t<0)){throw new c("invalid connections")}if(typeof r!=="function"){throw new c("factory must be a function.")}if(n!=null&&typeof n!=="function"&&typeof n!=="object"){throw new c("connect must be a function or an object")}if(typeof n!=="function"){n=d({...o,maxCachedSessions:i,allowH2:I,socketPath:a,timeout:s,...u.nodeHasAutoSelectFamily&&A?{autoSelectFamily:A,autoSelectFamilyAttemptTimeout:m}:undefined,...n})}this[p]=y.interceptors&&y.interceptors.Pool&&Array.isArray(y.interceptors.Pool)?y.interceptors.Pool:[];this[h]=t||null;this[l]=u.parseOrigin(e);this[g]={...u.deepClone(y),connect:n,allowH2:I};this[g].interceptors=y.interceptors?{...y.interceptors}:undefined;this[E]=r}[a](){let e=this[s].find((e=>!e[o]));if(e){return e}if(!this[h]||this[s].length{const{kProxy:n,kClose:s,kDestroy:o,kInterceptors:i}=r(6443);const{URL:a}=r(7016);const A=r(9965);const c=r(5076);const u=r(1);const{InvalidArgumentError:l,RequestAbortedError:p}=r(8707);const d=r(9136);const g=Symbol("proxy agent");const h=Symbol("proxy client");const E=Symbol("proxy headers");const m=Symbol("request tls settings");const I=Symbol("proxy tls settings");const y=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 l("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 u{constructor(e){super(e);this[n]=buildProxyOptions(e);this[g]=new A(e);this[i]=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 l("Proxy opts.uri is mandatory")}const{clientFactory:t=defaultFactory}=e;if(typeof t!=="function"){throw new l("Proxy opts.clientFactory must be a function.")}this[m]=e.requestTls;this[I]=e.proxyTls;this[E]=e.headers||{};const r=new a(e.uri);const{origin:s,port:o,host:c,username:u,password:C}=r;if(e.auth&&e.token){throw new l("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(u&&C){this[E]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(u)}:${decodeURIComponent(C)}`).toString("base64")}`}const Q=d({...e.proxyTls});this[y]=d({...e.requestTls});this[h]=t(r,{connect:Q});this[g]=new A({...e,connect:async(e,t)=>{let r=e.host;if(!e.port){r+=`:${defaultProtocolPort(e.protocol)}`}try{const{socket:n,statusCode:i}=await this[h].connect({origin:s,port:o,path:r,signal:e.signal,headers:{...this[E],host:c}});if(i!==200){n.on("error",(()=>{})).destroy();t(new p(`Proxy response (${i}) !== 200 when HTTP Tunneling`))}if(e.protocol!=="https:"){t(null,n);return}let a;if(this[m]){a=this[m].servername}else{a=e.servername}this[y]({...e,servername:a,httpSocket:n},t)}catch(e){t(e)}}})}dispatch(e,t){const{host:r}=new a(e.origin);const n=buildHeaders(e.headers);throwIfProxyAuthIsSent(n);return this[g].dispatch({...e,headers:{...n,host:r}},t)}async[s](){await this[g].close();await this[h].close()}async[o](){await this[g].destroy();await this[h].destroy()}}function buildHeaders(e){if(Array.isArray(e)){const t={};for(let r=0;re.toLowerCase()==="proxy-authorization"));if(t){throw new l("Proxy-Authorization should be sent in ProxyAgent constructor")}}e.exports=ProxyAgent},8804:e=>{let t=Date.now();let r;const n=[];function onTimeout(){t=Date.now();let e=n.length;let r=0;while(r0&&t>=s.state){s.state=-1;s.callback(s.opaque)}if(s.state===-1){s.state=-2;if(r!==e-1){n[r]=n.pop()}else{n.pop()}e-=1}else{r+=1}}if(n.length>0){refreshTimeout()}}function refreshTimeout(){if(r&&r.refresh){r.refresh()}else{clearTimeout(r);r=setTimeout(onTimeout,1e3);if(r.unref){r.unref()}}}class Timeout{constructor(e,t,r){this.callback=e;this.delay=t;this.opaque=r;this.state=-2;this.refresh()}refresh(){if(this.state===-2){n.push(this);if(!r||n.length===1){refreshTimeout()}}this.state=0}clear(){this.state=-1}}e.exports={setTimeout(e,t,r){return t<1e3?setTimeout(e,t,r):new Timeout(e,t,r)},clearTimeout(e){if(e instanceof Timeout){e.clear()}else{clearTimeout(e)}}}},8550:(e,t,r)=>{const n=r(1637);const{uid:s,states:o}=r(5913);const{kReadyState:i,kSentClose:a,kByteParser:A,kReceivedClose:c}=r(2933);const{fireEvent:u,failWebsocketConnection:l}=r(3574);const{CloseEvent:p}=r(6255);const{makeRequest:d}=r(5194);const{fetching:g}=r(2315);const{Headers:h}=r(6349);const{getGlobalDispatcher:E}=r(2581);const{kHeadersList:m}=r(6443);const I={};I.open=n.channel("undici:websocket:open");I.close=n.channel("undici:websocket:close");I.socketError=n.channel("undici:websocket:socket_error");let y;try{y=r(6982)}catch{}function establishWebSocketConnection(e,t,r,n,o){const i=e;i.protocol=e.protocol==="ws:"?"http:":"https:";const a=d({urlList:[i],serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(o.headers){const e=new h(o.headers)[m];a.headersList=e}const A=y.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 u=g({request:a,useParallelQueue:true,dispatcher:o.dispatcher??E(),processResponse(e){if(e.type==="error"||e.status!==101){l(r,"Received network error or non-101 status code.");return}if(t.length!==0&&!e.headersList.get("Sec-WebSocket-Protocol")){l(r,"Server did not respond with sent protocols.");return}if(e.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){l(r,'Server did not set Upgrade header to "websocket".');return}if(e.headersList.get("Connection")?.toLowerCase()!=="upgrade"){l(r,'Server did not set Connection header to "upgrade".');return}const o=e.headersList.get("Sec-WebSocket-Accept");const i=y.createHash("sha1").update(A+s).digest("base64");if(o!==i){l(r,"Incorrect hash received in Sec-WebSocket-Accept header.");return}const u=e.headersList.get("Sec-WebSocket-Extensions");if(u!==null&&u!==c){l(r,"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")){l(r,"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(I.open.hasSubscribers){I.open.publish({address:e.socket.address(),protocol:p,extensions:u})}n(e)}});return u}function onSocketData(e){if(!this.ws[A].write(e)){this.pause()}}function onSocketClose(){const{ws:e}=this;const t=e[a]&&e[c];let r=1005;let n="";const s=e[A].closingInfo;if(s){r=s.code??1005;n=s.reason}else if(!e[a]){r=1006}e[i]=o.CLOSED;u("close",e,p,{wasClean:t,code:r,reason:n});if(I.close.hasSubscribers){I.close.publish({websocket:e,code:r,reason:n})}}function onSocketError(e){const{ws:t}=this;t[i]=o.CLOSING;if(I.socketError.hasSubscribers){I.socketError.publish(e)}this.destroy()}e.exports={establishWebSocketConnection:establishWebSocketConnection}},5913:e=>{const t="258EAFA5-E914-47DA-95CA-C5AB0DC85B11";const r={enumerable:true,writable:false,configurable:false};const n={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3};const s={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10};const o=2**16-1;const i={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4};const a=Buffer.allocUnsafe(0);e.exports={uid:t,staticPropertyDescriptors:r,states:n,opcodes:s,maxUnsigned16Bit:o,parserStates:i,emptyBuffer:a}},6255:(e,t,r)=>{const{webidl:n}=r(4222);const{kEnumerableProperty:s}=r(3440);const{MessagePort:o}=r(8167);class MessageEvent extends Event{#o;constructor(e,t={}){n.argumentLengthCheck(arguments,1,{header:"MessageEvent constructor"});e=n.converters.DOMString(e);t=n.converters.MessageEventInit(t);super(e,t);this.#o=t}get data(){n.brandCheck(this,MessageEvent);return this.#o.data}get origin(){n.brandCheck(this,MessageEvent);return this.#o.origin}get lastEventId(){n.brandCheck(this,MessageEvent);return this.#o.lastEventId}get source(){n.brandCheck(this,MessageEvent);return this.#o.source}get ports(){n.brandCheck(this,MessageEvent);if(!Object.isFrozen(this.#o.ports)){Object.freeze(this.#o.ports)}return this.#o.ports}initMessageEvent(e,t=false,r=false,s=null,o="",i="",a=null,A=[]){n.brandCheck(this,MessageEvent);n.argumentLengthCheck(arguments,1,{header:"MessageEvent.initMessageEvent"});return new MessageEvent(e,{bubbles:t,cancelable:r,data:s,origin:o,lastEventId:i,source:a,ports:A})}}class CloseEvent extends Event{#o;constructor(e,t={}){n.argumentLengthCheck(arguments,1,{header:"CloseEvent constructor"});e=n.converters.DOMString(e);t=n.converters.CloseEventInit(t);super(e,t);this.#o=t}get wasClean(){n.brandCheck(this,CloseEvent);return this.#o.wasClean}get code(){n.brandCheck(this,CloseEvent);return this.#o.code}get reason(){n.brandCheck(this,CloseEvent);return this.#o.reason}}class ErrorEvent extends Event{#o;constructor(e,t){n.argumentLengthCheck(arguments,1,{header:"ErrorEvent constructor"});super(e,t);e=n.converters.DOMString(e);t=n.converters.ErrorEventInit(t??{});this.#o=t}get message(){n.brandCheck(this,ErrorEvent);return this.#o.message}get filename(){n.brandCheck(this,ErrorEvent);return this.#o.filename}get lineno(){n.brandCheck(this,ErrorEvent);return this.#o.lineno}get colno(){n.brandCheck(this,ErrorEvent);return this.#o.colno}get error(){n.brandCheck(this,ErrorEvent);return this.#o.error}}Object.defineProperties(MessageEvent.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:true},data:s,origin:s,lastEventId:s,source:s,ports:s,initMessageEvent:s});Object.defineProperties(CloseEvent.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:true},reason:s,code:s,wasClean:s});Object.defineProperties(ErrorEvent.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:true},message:s,filename:s,lineno:s,colno:s,error:s});n.converters.MessagePort=n.interfaceConverter(o);n.converters["sequence"]=n.sequenceConverter(n.converters.MessagePort);const i=[{key:"bubbles",converter:n.converters.boolean,defaultValue:false},{key:"cancelable",converter:n.converters.boolean,defaultValue:false},{key:"composed",converter:n.converters.boolean,defaultValue:false}];n.converters.MessageEventInit=n.dictionaryConverter([...i,{key:"data",converter:n.converters.any,defaultValue:null},{key:"origin",converter:n.converters.USVString,defaultValue:""},{key:"lastEventId",converter:n.converters.DOMString,defaultValue:""},{key:"source",converter:n.nullableConverter(n.converters.MessagePort),defaultValue:null},{key:"ports",converter:n.converters["sequence"],get defaultValue(){return[]}}]);n.converters.CloseEventInit=n.dictionaryConverter([...i,{key:"wasClean",converter:n.converters.boolean,defaultValue:false},{key:"code",converter:n.converters["unsigned short"],defaultValue:0},{key:"reason",converter:n.converters.USVString,defaultValue:""}]);n.converters.ErrorEventInit=n.dictionaryConverter([...i,{key:"message",converter:n.converters.DOMString,defaultValue:""},{key:"filename",converter:n.converters.USVString,defaultValue:""},{key:"lineno",converter:n.converters["unsigned long"],defaultValue:0},{key:"colno",converter:n.converters["unsigned long"],defaultValue:0},{key:"error",converter:n.converters.any}]);e.exports={MessageEvent:MessageEvent,CloseEvent:CloseEvent,ErrorEvent:ErrorEvent}},1237:(e,t,r)=>{const{maxUnsigned16Bit:n}=r(5913);let s;try{s=r(6982)}catch{}class WebsocketFrameSend{constructor(e){this.frameData=e;this.maskKey=s.randomBytes(4)}createFrame(e){const t=this.frameData?.byteLength??0;let r=t;let s=6;if(t>n){s+=8;r=127}else if(t>125){s+=2;r=126}const o=Buffer.allocUnsafe(t+s);o[0]=o[1]=0;o[0]|=128;o[0]=(o[0]&240)+e; -/*! ws. MIT License. Einar Otto Stangvik */o[s-4]=this.maskKey[0];o[s-3]=this.maskKey[1];o[s-2]=this.maskKey[2];o[s-1]=this.maskKey[3];o[1]=r;if(r===126){o.writeUInt16BE(t,2)}else if(r===127){o[2]=o[3]=0;o.writeUIntBE(t,4,6)}o[1]|=128;for(let e=0;e{const{Writable:n}=r(2203);const s=r(1637);const{parserStates:o,opcodes:i,states:a,emptyBuffer:A}=r(5913);const{kReadyState:c,kSentClose:u,kResponse:l,kReceivedClose:p}=r(2933);const{isValidStatusCode:d,failWebsocketConnection:g,websocketMessageReceived:h}=r(3574);const{WebsocketFrameSend:E}=r(1237);const m={};m.ping=s.channel("undici:websocket:ping");m.pong=s.channel("undici:websocket:pong");class ByteParser extends n{#i=[];#a=0;#A=o.INFO;#c={};#u=[];constructor(e){super();this.ws=e}_write(e,t,r){this.#i.push(e);this.#a+=e.length;this.run(r)}run(e){while(true){if(this.#A===o.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!==i.CONTINUATION;if(this.#c.fragmented&&this.#c.opcode!==i.BINARY&&this.#c.opcode!==i.TEXT){g(this.ws,"Invalid frame type was fragmented.");return}const r=t[1]&127;if(r<=125){this.#c.payloadLength=r;this.#A=o.READ_DATA}else if(r===126){this.#A=o.PAYLOADLENGTH_16}else if(r===127){this.#A=o.PAYLOADLENGTH_64}if(this.#c.fragmented&&r>125){g(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#c.opcode===i.PING||this.#c.opcode===i.PONG||this.#c.opcode===i.CLOSE)&&r>125){g(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#c.opcode===i.CLOSE){if(r===1){g(this.ws,"Received close frame with a 1-byte body.");return}const e=this.consume(r);this.#c.closeInfo=this.parseCloseBody(false,e);if(!this.ws[u]){const e=Buffer.allocUnsafe(2);e.writeUInt16BE(this.#c.closeInfo.code,0);const t=new E(e);this.ws[l].socket.write(t.createFrame(i.CLOSE),(e=>{if(!e){this.ws[u]=true}}))}this.ws[c]=a.CLOSING;this.ws[p]=true;this.end();return}else if(this.#c.opcode===i.PING){const t=this.consume(r);if(!this.ws[p]){const e=new E(t);this.ws[l].socket.write(e.createFrame(i.PONG));if(m.ping.hasSubscribers){m.ping.publish({payload:t})}}this.#A=o.INFO;if(this.#a>0){continue}else{e();return}}else if(this.#c.opcode===i.PONG){const t=this.consume(r);if(m.pong.hasSubscribers){m.pong.publish({payload:t})}if(this.#a>0){continue}else{e();return}}}else if(this.#A===o.PAYLOADLENGTH_16){if(this.#a<2){return e()}const t=this.consume(2);this.#c.payloadLength=t.readUInt16BE(0);this.#A=o.READ_DATA}else if(this.#A===o.PAYLOADLENGTH_64){if(this.#a<8){return e()}const t=this.consume(8);const r=t.readUInt32BE(0);if(r>2**31-1){g(this.ws,"Received payload length > 2^31 bytes.");return}const n=t.readUInt32BE(4);this.#c.payloadLength=(r<<8)+n;this.#A=o.READ_DATA}else if(this.#A===o.READ_DATA){if(this.#a=this.#c.payloadLength){const e=this.consume(this.#c.payloadLength);this.#u.push(e);if(!this.#c.fragmented||this.#c.fin&&this.#c.opcode===i.CONTINUATION){const e=Buffer.concat(this.#u);h(this.ws,this.#c.originalOpcode,e);this.#c={};this.#u.length=0}this.#A=o.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.#i[0].length===e){this.#a-=this.#i[0].length;return this.#i.shift()}const t=Buffer.allocUnsafe(e);let r=0;while(r!==e){const n=this.#i[0];const{length:s}=n;if(s+r===e){t.set(this.#i.shift(),r);break}else if(s+r>e){t.set(n.subarray(0,e-r),r);this.#i[0]=n.subarray(e-r);break}else{t.set(this.#i.shift(),r);r+=n.length}}this.#a-=e;return t}parseCloseBody(e,t){let r;if(t.length>=2){r=t.readUInt16BE(0)}if(e){if(!d(r)){return null}return{code:r}}let n=t.subarray(2);if(n[0]===239&&n[1]===187&&n[2]===191){n=n.subarray(3)}if(r!==undefined&&!d(r)){return null}try{n=new TextDecoder("utf-8",{fatal:true}).decode(n)}catch{return null}return{code:r,reason:n}}get closingInfo(){return this.#c.closeInfo}}e.exports={ByteParser:ByteParser}},2933: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")}},3574:(e,t,r)=>{const{kReadyState:n,kController:s,kResponse:o,kBinaryType:i,kWebSocketURL:a}=r(2933);const{states:A,opcodes:c}=r(5913);const{MessageEvent:u,ErrorEvent:l}=r(6255);function isEstablished(e){return e[n]===A.OPEN}function isClosing(e){return e[n]===A.CLOSING}function isClosed(e){return e[n]===A.CLOSED}function fireEvent(e,t,r=Event,n){const s=new r(e,n);t.dispatchEvent(s)}function websocketMessageReceived(e,t,r){if(e[n]!==A.OPEN){return}let s;if(t===c.TEXT){try{s=new TextDecoder("utf-8",{fatal:true}).decode(r)}catch{failWebsocketConnection(e,"Received invalid UTF-8 in text frame.");return}}else if(t===c.BINARY){if(e[i]==="blob"){s=new Blob([r])}else{s=new Uint8Array(r).buffer}}fireEvent("message",e,u,{origin:e[a].origin,data:s})}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{[s]:r,[o]:n}=e;r.abort();if(n?.socket&&!n.socket.destroyed){n.socket.destroy()}if(t){fireEvent("error",e,l,{error:new Error(t)})}}e.exports={isEstablished:isEstablished,isClosing:isClosing,isClosed:isClosed,fireEvent:fireEvent,isValidSubprotocol:isValidSubprotocol,isValidStatusCode:isValidStatusCode,failWebsocketConnection:failWebsocketConnection,websocketMessageReceived:websocketMessageReceived}},5171:(e,t,r)=>{const{webidl:n}=r(4222);const{DOMException:s}=r(7326);const{URLSerializer:o}=r(4322);const{getGlobalOrigin:i}=r(5628);const{staticPropertyDescriptors:a,states:A,opcodes:c,emptyBuffer:u}=r(5913);const{kWebSocketURL:l,kReadyState:p,kController:d,kBinaryType:g,kResponse:h,kSentClose:E,kByteParser:m}=r(2933);const{isEstablished:I,isClosing:y,isValidSubprotocol:C,failWebsocketConnection:Q,fireEvent:B}=r(3574);const{establishWebSocketConnection:b}=r(8550);const{WebsocketFrameSend:T}=r(1237);const{ByteParser:w}=r(3171);const{kEnumerableProperty:v,isBlobLike:R}=r(3440);const{getGlobalDispatcher:k}=r(2581);const{types:D}=r(9023);let _=false;class WebSocket extends EventTarget{#l={open:null,error:null,close:null,message:null};#p=0;#d="";#g="";constructor(e,t=[]){super();n.argumentLengthCheck(arguments,1,{header:"WebSocket constructor"});if(!_){_=true;process.emitWarning("WebSockets are experimental, expect them to change at any time.",{code:"UNDICI-WS"})}const r=n.converters["DOMString or sequence or WebSocketInit"](t);e=n.converters.USVString(e);t=r.protocols;const o=i();let a;try{a=new URL(e,o)}catch(e){throw new s(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 s(`Expected a ws: or wss: protocol, got ${a.protocol}`,"SyntaxError")}if(a.hash||a.href.endsWith("#")){throw new s("Got fragment","SyntaxError")}if(typeof t==="string"){t=[t]}if(t.length!==new Set(t.map((e=>e.toLowerCase()))).size){throw new s("Invalid Sec-WebSocket-Protocol value","SyntaxError")}if(t.length>0&&!t.every((e=>C(e)))){throw new s("Invalid Sec-WebSocket-Protocol value","SyntaxError")}this[l]=new URL(a.href);this[d]=b(a,t,this,(e=>this.#f(e)),r);this[p]=WebSocket.CONNECTING;this[g]="blob"}close(e=undefined,t=undefined){n.brandCheck(this,WebSocket);if(e!==undefined){e=n.converters["unsigned short"](e,{clamp:true})}if(t!==undefined){t=n.converters.USVString(t)}if(e!==undefined){if(e!==1e3&&(e<3e3||e>4999)){throw new s("invalid code","InvalidAccessError")}}let r=0;if(t!==undefined){r=Buffer.byteLength(t);if(r>123){throw new s(`Reason must be less than 123 bytes; received ${r}`,"SyntaxError")}}if(this[p]===WebSocket.CLOSING||this[p]===WebSocket.CLOSED){}else if(!I(this)){Q(this,"Connection was closed before it was established.");this[p]=WebSocket.CLOSING}else if(!y(this)){const n=new T;if(e!==undefined&&t===undefined){n.frameData=Buffer.allocUnsafe(2);n.frameData.writeUInt16BE(e,0)}else if(e!==undefined&&t!==undefined){n.frameData=Buffer.allocUnsafe(2+r);n.frameData.writeUInt16BE(e,0);n.frameData.write(t,2,"utf-8")}else{n.frameData=u}const s=this[h].socket;s.write(n.createFrame(c.CLOSE),(e=>{if(!e){this[E]=true}}));this[p]=A.CLOSING}else{this[p]=WebSocket.CLOSING}}send(e){n.brandCheck(this,WebSocket);n.argumentLengthCheck(arguments,1,{header:"WebSocket.send"});e=n.converters.WebSocketSendData(e);if(this[p]===WebSocket.CONNECTING){throw new s("Sent before connected.","InvalidStateError")}if(!I(this)||y(this)){return}const t=this[h].socket;if(typeof e==="string"){const r=Buffer.from(e);const n=new T(r);const s=n.createFrame(c.TEXT);this.#p+=r.byteLength;t.write(s,(()=>{this.#p-=r.byteLength}))}else if(D.isArrayBuffer(e)){const r=Buffer.from(e);const n=new T(r);const s=n.createFrame(c.BINARY);this.#p+=r.byteLength;t.write(s,(()=>{this.#p-=r.byteLength}))}else if(ArrayBuffer.isView(e)){const r=Buffer.from(e,e.byteOffset,e.byteLength);const n=new T(r);const s=n.createFrame(c.BINARY);this.#p+=r.byteLength;t.write(s,(()=>{this.#p-=r.byteLength}))}else if(R(e)){const r=new T;e.arrayBuffer().then((e=>{const n=Buffer.from(e);r.frameData=n;const s=r.createFrame(c.BINARY);this.#p+=n.byteLength;t.write(s,(()=>{this.#p-=n.byteLength}))}))}}get readyState(){n.brandCheck(this,WebSocket);return this[p]}get bufferedAmount(){n.brandCheck(this,WebSocket);return this.#p}get url(){n.brandCheck(this,WebSocket);return o(this[l])}get extensions(){n.brandCheck(this,WebSocket);return this.#g}get protocol(){n.brandCheck(this,WebSocket);return this.#d}get onopen(){n.brandCheck(this,WebSocket);return this.#l.open}set onopen(e){n.brandCheck(this,WebSocket);if(this.#l.open){this.removeEventListener("open",this.#l.open)}if(typeof e==="function"){this.#l.open=e;this.addEventListener("open",e)}else{this.#l.open=null}}get onerror(){n.brandCheck(this,WebSocket);return this.#l.error}set onerror(e){n.brandCheck(this,WebSocket);if(this.#l.error){this.removeEventListener("error",this.#l.error)}if(typeof e==="function"){this.#l.error=e;this.addEventListener("error",e)}else{this.#l.error=null}}get onclose(){n.brandCheck(this,WebSocket);return this.#l.close}set onclose(e){n.brandCheck(this,WebSocket);if(this.#l.close){this.removeEventListener("close",this.#l.close)}if(typeof e==="function"){this.#l.close=e;this.addEventListener("close",e)}else{this.#l.close=null}}get onmessage(){n.brandCheck(this,WebSocket);return this.#l.message}set onmessage(e){n.brandCheck(this,WebSocket);if(this.#l.message){this.removeEventListener("message",this.#l.message)}if(typeof e==="function"){this.#l.message=e;this.addEventListener("message",e)}else{this.#l.message=null}}get binaryType(){n.brandCheck(this,WebSocket);return this[g]}set binaryType(e){n.brandCheck(this,WebSocket);if(e!=="blob"&&e!=="arraybuffer"){this[g]="blob"}else{this[g]=e}}#f(e){this[h]=e;const t=new w(this);t.on("drain",(function onParserDrain(){this.ws[h].socket.resume()}));e.socket.ws=this;this[m]=t;this[p]=A.OPEN;const r=e.headersList.get("sec-websocket-extensions");if(r!==null){this.#g=r}const n=e.headersList.get("sec-websocket-protocol");if(n!==null){this.#d=n}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:v,readyState:v,bufferedAmount:v,onopen:v,onerror:v,onclose:v,close:v,onmessage:v,binaryType:v,send:v,extensions:v,protocol:v,[Symbol.toStringTag]:{value:"WebSocket",writable:false,enumerable:false,configurable:true}});Object.defineProperties(WebSocket,{CONNECTING:a,OPEN:a,CLOSING:a,CLOSED:a});n.converters["sequence"]=n.sequenceConverter(n.converters.DOMString);n.converters["DOMString or sequence"]=function(e){if(n.util.Type(e)==="Object"&&Symbol.iterator in e){return n.converters["sequence"](e)}return n.converters.DOMString(e)};n.converters.WebSocketInit=n.dictionaryConverter([{key:"protocols",converter:n.converters["DOMString or sequence"],get defaultValue(){return[]}},{key:"dispatcher",converter:e=>e,get defaultValue(){return k()}},{key:"headers",converter:n.nullableConverter(n.converters.HeadersInit)}]);n.converters["DOMString or sequence or WebSocketInit"]=function(e){if(n.util.Type(e)==="Object"&&!(Symbol.iterator in e)){return n.converters.WebSocketInit(e)}return{protocols:n.converters["DOMString or sequence"](e)}};n.converters.WebSocketSendData=function(e){if(n.util.Type(e)==="Object"){if(R(e)){return n.converters.Blob(e,{strict:false})}if(ArrayBuffer.isView(e)||D.isAnyArrayBuffer(e)){return n.converters.BufferSource(e)}}return n.converters.USVString(e)};e.exports={WebSocket:WebSocket}},8264: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 r=0;r{t.exports=e(import.meta.url)("assert")},290:t=>{t.exports=e(import.meta.url)("async_hooks")},181:t=>{t.exports=e(import.meta.url)("buffer")},5317:t=>{t.exports=e(import.meta.url)("child_process")},4236:t=>{t.exports=e(import.meta.url)("console")},6982:t=>{t.exports=e(import.meta.url)("crypto")},1637:t=>{t.exports=e(import.meta.url)("diagnostics_channel")},4434:t=>{t.exports=e(import.meta.url)("events")},9896:t=>{t.exports=e(import.meta.url)("fs")},8611:t=>{t.exports=e(import.meta.url)("http")},5675:t=>{t.exports=e(import.meta.url)("http2")},5692:t=>{t.exports=e(import.meta.url)("https")},9278:t=>{t.exports=e(import.meta.url)("net")},8474:t=>{t.exports=e(import.meta.url)("node:events")},7075:t=>{t.exports=e(import.meta.url)("node:stream")},7975:t=>{t.exports=e(import.meta.url)("node:util")},857:t=>{t.exports=e(import.meta.url)("os")},6928:t=>{t.exports=e(import.meta.url)("path")},2987:t=>{t.exports=e(import.meta.url)("perf_hooks")},3480:t=>{t.exports=e(import.meta.url)("querystring")},2203:t=>{t.exports=e(import.meta.url)("stream")},3774:t=>{t.exports=e(import.meta.url)("stream/web")},3193:t=>{t.exports=e(import.meta.url)("string_decoder")},3557:t=>{t.exports=e(import.meta.url)("timers")},4756:t=>{t.exports=e(import.meta.url)("tls")},7016:t=>{t.exports=e(import.meta.url)("url")},9023:t=>{t.exports=e(import.meta.url)("util")},8253:t=>{t.exports=e(import.meta.url)("util/types")},8167:t=>{t.exports=e(import.meta.url)("worker_threads")},3106:t=>{t.exports=e(import.meta.url)("zlib")},7182:(e,t,r)=>{const n=r(7075).Writable;const s=r(7975).inherits;const o=r(4136);const i=r(612);const a=r(2271);const A=45;const c=Buffer.from("-");const u=Buffer.from("\r\n");const EMPTY_FN=function(){};function Dicer(e){if(!(this instanceof Dicer)){return new Dicer(e)}n.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)}))}s(Dicer,n);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{n.prototype.emit.apply(this,arguments)}};Dicer.prototype._write=function(e,t,r){if(!this._hparser&&!this._bparser){return r()}if(this._headerFirst&&this._isPreamble){if(!this._part){this._part=new i(this._partOpts);if(this.listenerCount("preamble")!==0){this.emit("preamble",this._part)}else{this._ignore()}}const t=this._hparser.push(e);if(!this._inHeader&&t!==undefined&&t{const n=r(8474).EventEmitter;const s=r(7975).inherits;const o=r(2393);const i=r(4136);const a=Buffer.from("\r\n\r\n");const A=/\r\n/g;const c=/^([^:]+):[ \t]?([\x00-\xFF]+)?$/;function HeaderParser(e){n.call(this);e=e||{};const t=this;this.nread=0;this.maxed=false;this.npairs=0;this.maxHeaderPairs=o(e,"maxHeaderPairs",2e3);this.maxHeaderSize=o(e,"maxHeaderSize",80*1024);this.buffer="";this.header={};this.finished=false;this.ss=new i(a);this.ss.on("info",(function(e,r,n,s){if(r&&!t.maxed){if(t.nread+s-n>=t.maxHeaderSize){s=t.maxHeaderSize-t.nread+n;t.nread=t.maxHeaderSize;t.maxed=true}else{t.nread+=s-n}t.buffer+=r.toString("binary",n,s)}if(e){t._finish()}}))}s(HeaderParser,n);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 r,n;for(var s=0;s{const n=r(7975).inherits;const s=r(7075).Readable;function PartStream(e){s.call(this,e)}n(PartStream,s);PartStream.prototype._read=function(e){};e.exports=PartStream},4136:(e,t,r)=>{const n=r(8474).EventEmitter;const s=r(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 r=0;r=0){this.emit("info",false,this._lookbehind,0,this._lookbehind_size);this._lookbehind_size=0}else{const r=this._lookbehind_size+o;if(r>0){this.emit("info",false,this._lookbehind,0,r)}this._lookbehind.copy(this._lookbehind,0,r,this._lookbehind_size-r);this._lookbehind_size-=r;e.copy(this._lookbehind,this._lookbehind_size);this._lookbehind_size+=t;this._bufpos=t;return t}}o+=(o>=0)*this._bufpos;if(e.indexOf(r,o)!==-1){o=e.indexOf(r,o);++this.matches;if(o>0){this.emit("info",true,e,this._bufpos,o)}else{this.emit("info",true)}return this._bufpos=o+n}else{o=t-n}while(o0){this.emit("info",false,e,this._bufpos,o{const n=r(7075).Writable;const{inherits:s}=r(7975);const o=r(7182);const i=r(1192);const a=r(855);const A=r(8929);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,...r}=e;this.opts={autoDestroy:false,...r};n.call(this,this.opts);this._done=false;this._parser=this.getParserByHeaders(t);this._finished=false}s(Busboy,n);Busboy.prototype.emit=function(e){if(e==="finish"){if(!this._done){this._parser?.end();return}else if(this._finished){return}this._finished=true}n.prototype.emit.apply(this,arguments)};Busboy.prototype.getParserByHeaders=function(e){const t=A(e["content-type"]);const r={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(i.detect.test(t[0])){return new i(this,r)}if(a.detect.test(t[0])){return new a(this,r)}throw new Error("Unsupported Content-Type.")};Busboy.prototype._write=function(e,t,r){this._parser.write(e,r)};e.exports=Busboy;e.exports["default"]=Busboy;e.exports.Busboy=Busboy;e.exports.Dicer=o},1192:(e,t,r)=>{const{Readable:n}=r(7075);const{inherits:s}=r(7975);const o=r(7182);const i=r(8929);const a=r(2747);const A=r(692);const c=r(2393);const u=/^boundary$/i;const l=/^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 r;let n;const s=this;let h;const E=t.limits;const m=t.isPartAFile||((e,t,r)=>t==="application/octet-stream"||r!==undefined);const I=t.parsedConType||[];const y=t.defCharset||"utf8";const C=t.preservePath;const Q={highWaterMark:t.fileHwm};for(r=0,n=I.length;rv){s.parser.removeListener("part",onPart);s.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(o){let c;let u;let h;let E;let I;let v;let R=0;if(o["content-type"]){h=i(o["content-type"][0]);if(h[0]){c=h[0].toLowerCase();for(r=0,n=h.length;rb){const n=b-R+e.length;if(n>0){r.push(e.slice(0,n))}r.truncated=true;r.bytesRead=b;t.removeAllListeners("data");r.emit("limit");return}else if(!r.push(e)){s._pause=true}r.bytesRead=R};O=function(){F=undefined;r.push(null)}}else{if(_===w){if(!e.hitFieldsLimit){e.hitFieldsLimit=true;e.emit("fieldsLimit")}return skipPart(t)}++_;++S;let r="";let n=false;N=t;k=function(e){if((R+=e.length)>B){const s=B-(R-e.length);r+=e.toString("binary",0,s);n=true;t.removeAllListeners("data")}else{r+=e.toString("binary")}};O=function(){N=undefined;if(r.length){r=a(r,"binary",E)}e.emit("field",u,r,false,n,I,c);--S;checkFinished()}}t._readableState.sync=false;t.on("data",k);t.on("end",O)})).on("error",(function(e){if(F){F.emit("error",e)}}))})).on("error",(function(t){e.emit("error",t)})).on("finish",(function(){O=true;checkFinished()}))}Multipart.prototype.write=function(e,t){const r=this.parser.write(e);if(r&&!this._pause){t()}else{this._needDrain=!r;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){n.call(this,e);this.bytesRead=0;this.truncated=false}s(FileStream,n);FileStream.prototype._read=function(e){};e.exports=Multipart},855:(e,t,r)=>{const n=r(1496);const s=r(2747);const o=r(2393);const i=/^charset$/i;UrlEncoded.detect=/^application\/x-www-form-urlencoded/i;function UrlEncoded(e,t){const r=t.limits;const s=t.parsedConType;this.boy=e;this.fieldSizeLimit=o(r,"fieldSize",1*1024*1024);this.fieldNameSizeLimit=o(r,"fieldNameSize",100);this.fieldsLimit=o(r,"fields",Infinity);let a;for(var A=0,c=s.length;Ai){this._key+=this.decoder.write(e.toString("binary",i,r))}this._state="val";this._hitLimit=false;this._checkingBytes=true;this._val="";this._bytesVal=0;this._valTrunc=false;this.decoder.reset();i=r+1}else if(n!==undefined){++this._fields;let r;const o=this._keyTrunc;if(n>i){r=this._key+=this.decoder.write(e.toString("binary",i,n))}else{r=this._key}this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();if(r.length){this.boy.emit("field",s(r,"binary",this.charset),"",o,false)}i=n+1;if(this._fields===this.fieldsLimit){return t()}}else if(this._hitLimit){if(o>i){this._key+=this.decoder.write(e.toString("binary",i,o))}i=o;if((this._bytesKey=this._key.length)===this.fieldNameSizeLimit){this._checkingBytes=false;this._keyTrunc=true}}else{if(ii){this._val+=this.decoder.write(e.toString("binary",i,n))}this.boy.emit("field",s(this._key,"binary",this.charset),s(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();i=n+1;if(this._fields===this.fieldsLimit){return t()}}else if(this._hitLimit){if(o>i){this._val+=this.decoder.write(e.toString("binary",i,o))}i=o;if(this._val===""&&this.fieldSizeLimit===0||(this._bytesVal=this._val.length)===this.fieldSizeLimit){this._checkingBytes=false;this._valTrunc=true}}else{if(i0){this.boy.emit("field",s(this._key,"binary",this.charset),"",this._keyTrunc,false)}else if(this._state==="val"){this.boy.emit("field",s(this._key,"binary",this.charset),s(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc)}this.boy._done=true;this.boy.emit("finish")};e.exports=UrlEncoded},1496:e=>{const t=/\+/g;const r=[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 n="";let s=0;let o=0;const i=e.length;for(;so){n+=e.substring(o,s);o=s}this.buffer="";++o}}if(o{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}},2747:function(e){const t=new TextDecoder("utf-8");const r=new Map([["utf-8",t],["utf8",t]]);function getDecoder(e){let t;while(true){switch(e){case"utf-8":case"utf8":return n.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 n.latin1;case"utf16le":case"utf-16le":case"ucs2":case"ucs-2":return n.utf16le;case"base64":return n.base64;default:if(t===undefined){t=true;e=e.toLowerCase();continue}return n.other.bind(e)}}}const n={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(r.has(this.toString())){try{return r.get(this).decode(e)}catch{}}return typeof e==="string"?e:e.toString()}};function decodeText(e,t,r){if(e){return getDecoder(r)(e,t)}return e}e.exports=decodeText},2393:e=>{e.exports=function getLimit(e,t,r){if(!e||e[t]===undefined||e[t]===null){return r}if(typeof e[t]!=="number"||isNaN(e[t])){throw new TypeError("Limit "+t+" is not a valid number")}return e[t]}},8929:(e,t,r)=>{const n=r(2747);const s=/%[a-fA-F0-9][a-fA-F0-9]/g;const o={"%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 o[e]}const i=0;const a=1;const A=2;const c=3;function parseParams(e){const t=[];let r=i;let o="";let u=false;let l=false;let p=0;let d="";const g=e.length;for(var h=0;h{e.exports=JSON.parse('{"name":"dotenv","version":"16.4.5","description":"Loads environment variables from .env file","main":"lib/main.js","types":"lib/main.d.ts","exports":{".":{"types":"./lib/main.d.ts","require":"./lib/main.js","default":"./lib/main.js"},"./config":"./config.js","./config.js":"./config.js","./lib/env-options":"./lib/env-options.js","./lib/env-options.js":"./lib/env-options.js","./lib/cli-options":"./lib/cli-options.js","./lib/cli-options.js":"./lib/cli-options.js","./package.json":"./package.json"},"scripts":{"dts-check":"tsc --project tests/types/tsconfig.json","lint":"standard","lint-readme":"standard-markdown","pretest":"npm run lint && npm run dts-check","test":"tap tests/*.js --100 -Rspec","test:coverage":"tap --coverage-report=lcov","prerelease":"npm test","release":"standard-version"},"repository":{"type":"git","url":"git://github.com/motdotla/dotenv.git"},"funding":"https://dotenvx.com","keywords":["dotenv","env",".env","environment","variables","config","settings"],"readmeFilename":"README.md","license":"BSD-2-Clause","devDependencies":{"@definitelytyped/dtslint":"^0.0.133","@types/node":"^18.11.3","decache":"^4.6.1","sinon":"^14.0.1","standard":"^17.0.0","standard-markdown":"^7.1.0","standard-version":"^9.5.0","tap":"^16.3.0","tar":"^6.1.11","typescript":"^4.8.4"},"engines":{"node":">=12"},"browser":{"fs":false}}')}};var r={};function __nccwpck_require__(e){var n=r[e];if(n!==undefined){return n.exports}var s=r[e]={exports:{}};var o=true;try{t[e].call(s.exports,s,s.exports,__nccwpck_require__);o=false}finally{if(o)delete r[e]}return s.exports}(()=>{__nccwpck_require__.n=e=>{var t=e&&e.__esModule?()=>e["default"]:()=>e;__nccwpck_require__.d(t,{a:t});return t}})();(()=>{__nccwpck_require__.d=(e,t)=>{for(var r in t){if(__nccwpck_require__.o(t,r)&&!__nccwpck_require__.o(e,r)){Object.defineProperty(e,r,{enumerable:true,get:t[r]})}}}})();(()=>{__nccwpck_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})();(()=>{__nccwpck_require__.r=e=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(e,"__esModule",{value:true})}})();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 n={};var s={};__nccwpck_require__.r(s);__nccwpck_require__.d(s,{Any:()=>Any,Array:()=>array_Array,AsyncIterator:()=>src_AsyncIterator,Awaited:()=>Awaited,BigInt:()=>bigint_BigInt,Boolean:()=>boolean_Boolean,Capitalize:()=>Capitalize,Composite:()=>Composite,Const:()=>Const,Constructor:()=>Constructor,ConstructorParameters:()=>ConstructorParameters,Date:()=>date_Date,Enum:()=>Enum,Exclude:()=>Exclude,Extends:()=>Extends,Extract:()=>Extract,Function:()=>function_Function,Index:()=>Index,InstanceType:()=>InstanceType,Integer:()=>Integer,Intersect:()=>Intersect,Iterator:()=>src_Iterator,KeyOf:()=>KeyOf,Literal:()=>Literal,Lowercase:()=>Lowercase,Mapped:()=>Mapped,Module:()=>Module,Never:()=>Never,Not:()=>Not,Null:()=>Null,Number:()=>number_Number,Object:()=>I,Omit:()=>Omit,Optional:()=>Optional,Parameters:()=>Parameters,Partial:()=>Partial,Pick:()=>Pick,Promise:()=>promise_Promise,Readonly:()=>Readonly,ReadonlyOptional:()=>ReadonlyOptional,Record:()=>Record,Recursive:()=>Recursive,Ref:()=>Ref,RegExp:()=>regexp_RegExp,Required:()=>Required,Rest:()=>Rest,ReturnType:()=>ReturnType,String:()=>string_String,Symbol:()=>symbol_Symbol,TemplateLiteral:()=>TemplateLiteral,Transform:()=>Transform,Tuple:()=>Tuple,Uint8Array:()=>uint8array_Uint8Array,Uncapitalize:()=>Uncapitalize,Undefined:()=>Undefined,Union:()=>Union,Unknown:()=>Unknown,Unsafe:()=>Unsafe,Uppercase:()=>Uppercase,Void:()=>Void});var o={reset:"",bright:"",dim:"",underscore:"",blink:"",reverse:"",hidden:"",fgBlack:"",fgRed:"",fgGreen:"",fgYellow:"",fgBlue:"",fgMagenta:"",fgCyan:"",fgWhite:"",bgBlack:"",bgRed:"",bgGreen:"",bgYellow:"",bgBlue:"",bgMagenta:"",bgCyan:"",bgWhite:""};var i={FATAL:"fatal",ERROR:"error",INFO:"info",VERBOSE:"verbose",DEBUG:"debug"};var a=class{constructor(){this.ok=this.ok.bind(this);this.info=this.info.bind(this);this.error=this.error.bind(this);this.fatal=this.fatal.bind(this);this.debug=this.debug.bind(this);this.verbose=this.verbose.bind(this)}fatal(e,t){this._logWithStack(i.FATAL,e,t)}error(e,t){this._logWithStack(i.ERROR,e,t)}ok(e,t){this._logWithStack("ok",e,t)}info(e,t){this._logWithStack(i.INFO,e,t)}debug(e,t){this._logWithStack(i.DEBUG,e,t)}verbose(e,t){this._logWithStack(i.VERBOSE,e,t)}_logWithStack(e,t,r){this._log(e,t);if(typeof r==="string"){this._log(e,r);return}if(r){const t=r;let n=t?.error?.stack||t?.stack;if(!n){const e=(new Error).stack?.split("\n");if(e){e.splice(0,4);n=e.filter((e=>e.includes(".ts:"))).join("\n")}}const s={...t};delete s.message;delete s.name;delete s.stack;if(!this._isEmpty(s)){this._log(e,s)}if(typeof n=="string"){const t=this._formatStackTrace(n,1);const r=this._colorizeText(t,o.dim);this._log(e,r)}else if(n){const t=this._formatStackTrace(n.join("\n"),1);const r=this._colorizeText(t,o.dim);this._log(e,r)}else{throw new Error("Stack is null")}}}_colorizeText(e,t){if(!t){throw new Error(`Invalid color: ${t}`)}return t.concat(e).concat(o.reset)}_formatStackTrace(e,t=0,r=""){const n=e.split("\n");for(let e=0;e`${r}${e.replace(/\s*at\s*/," ↳ ")}`)).join("\n")}_isEmpty(e){return!Reflect.ownKeys(e).some((t=>typeof e[String(t)]!=="function"))}_log(e,t){const r={fatal:"×",ok:"✓",error:"⚠",info:"›",debug:"››",verbose:"💬"};const n=r[e];const s=typeof t==="string"?t:JSON.stringify(t,null,2);const i=s.split("\n");const a=i.map(((e,t)=>{const r=t===0?`\t${n}`:`\t${" ".repeat(n.length)}`;return`${r} ${e}`})).join("\n");const A=a;const c={fatal:["error",o.fgRed],ok:["log",o.fgGreen],error:["warn",o.fgYellow],info:["info",o.dim],debug:["debug",o.fgMagenta],verbose:["debug",o.dim]};const u=console[c[e][0]];if(typeof u==="function"&&A.length>12){u(this._colorizeText(A,c[e][1]))}else if(A.length<=12){return}else{throw new Error(A)}}};var A=class{logMessage;metadata;constructor(e,t){this.logMessage=e;this.metadata=t}};var c=class _Logs{_maxLevel=-1;static console;_log({level:e,consoleLog:t,logMessage:r,metadata:n,type:s}){if(this._getNumericLevel(e)<=this._maxLevel){t(r,n)}return new A({raw:r,diff:this._diffColorCommentMessage(s,r),type:s,level:e},n)}_addDiagnosticInformation(e){if(!e){e={}}else if(typeof e!=="object"){e={message:e}}const t=(new Error).stack?.split("\n")||[];if(t.length>3){const r=t[3];const n=r.match(/at (\S+)/);if(n){e.caller=n[1]}}return e}ok(e,t){t=this._addDiagnosticInformation(t);return this._log({level:i.INFO,consoleLog:_Logs.console.ok,logMessage:e,metadata:t,type:"ok"})}info(e,t){t=this._addDiagnosticInformation(t);return this._log({level:i.INFO,consoleLog:_Logs.console.info,logMessage:e,metadata:t,type:"info"})}error(e,t){t=this._addDiagnosticInformation(t);return this._log({level:i.ERROR,consoleLog:_Logs.console.error,logMessage:e,metadata:t,type:"error"})}debug(e,t){t=this._addDiagnosticInformation(t);return this._log({level:i.DEBUG,consoleLog:_Logs.console.debug,logMessage:e,metadata:t,type:"debug"})}fatal(e,t){if(!t){t=_Logs.convertErrorsIntoObjects(new Error(e));const r=t.stack;r.splice(1,1);t.stack=r}if(t instanceof Error){t=_Logs.convertErrorsIntoObjects(t);const e=t.stack;e.splice(1,1);t.stack=e}t=this._addDiagnosticInformation(t);return this._log({level:i.FATAL,consoleLog:_Logs.console.fatal,logMessage:e,metadata:t,type:"fatal"})}verbose(e,t){t=this._addDiagnosticInformation(t);return this._log({level:i.VERBOSE,consoleLog:_Logs.console.verbose,logMessage:e,metadata:t,type:"verbose"})}constructor(e){this._maxLevel=this._getNumericLevel(e);_Logs.console=new a}_diffColorCommentMessage(e,t){const r={fatal:"-",ok:"+",error:"!",info:"#",debug:"@@@@"};const n=r[e];if(n){t=t.trim().split("\n").map((e=>`${n} ${e}`)).join("\n")}else if(e==="debug"){t=t.split("\n").map((e=>`@@ ${e} @@`)).join("\n")}else{t=t.split("\n").map((e=>`# ${e}`)).join("\n")}const s="```diff";const o="```";return[s,t,o].join("\n")}_getNumericLevel(e){switch(e){case i.FATAL:return 0;case i.ERROR:return 1;case i.INFO:return 2;case i.VERBOSE:return 4;case i.DEBUG:return 5;default:return-1}}static convertErrorsIntoObjects(e){if(e instanceof Error){return{message:e.message,name:e.name,stack:e.stack?e.stack.split("\n"):null}}else if(typeof e==="object"&&e!==null){const t=Object.keys(e);t.forEach((t=>{e[t]=this.convertErrorsIntoObjects(e[t])}))}return e}};var u=/\x1b\[\d+m|\s/g;function cleanLogs(e){const t=e.mock.calls.map((e=>e.map((e=>e?.toString())).join(" ")));return t.flat().map((e=>cleanLogString(e)))}function cleanLogString(e){return e.replaceAll(u,"").replaceAll(/\n/g,"").replaceAll(/\r/g,"").replaceAll(/\t/g,"").trim()}function cleanSpyLogs(e){return cleanLogs(e)}function IsAsyncIterator(e){return IsObject(e)&&Symbol.asyncIterator in e}function IsIterator(e){return IsObject(e)&&Symbol.iterator in e}function IsStandardObject(e){return IsObject(e)&&(Object.getPrototypeOf(e)===Object.prototype||Object.getPrototypeOf(e)===null)}function IsInstanceObject(e){return IsObject(e)&&!IsArray(e)&&IsFunction(e.constructor)&&e.constructor.name!=="Object"}function IsPromise(e){return e instanceof Promise}function IsDate(e){return e instanceof Date&&Number.isFinite(e.getTime())}function IsMap(e){return e instanceof globalThis.Map}function IsSet(e){return e instanceof globalThis.Set}function IsRegExp(e){return e instanceof globalThis.RegExp}function IsTypedArray(e){return ArrayBuffer.isView(e)}function IsInt8Array(e){return e instanceof globalThis.Int8Array}function IsUint8Array(e){return e instanceof globalThis.Uint8Array}function IsUint8ClampedArray(e){return e instanceof globalThis.Uint8ClampedArray}function IsInt16Array(e){return e instanceof globalThis.Int16Array}function IsUint16Array(e){return e instanceof globalThis.Uint16Array}function IsInt32Array(e){return e instanceof globalThis.Int32Array}function IsUint32Array(e){return e instanceof globalThis.Uint32Array}function IsFloat32Array(e){return e instanceof globalThis.Float32Array}function IsFloat64Array(e){return e instanceof globalThis.Float64Array}function IsBigInt64Array(e){return e instanceof globalThis.BigInt64Array}function IsBigUint64Array(e){return e instanceof globalThis.BigUint64Array}function HasPropertyKey(e,t){return t in e}function IsObject(e){return e!==null&&typeof e==="object"}function IsArray(e){return Array.isArray(e)&&!ArrayBuffer.isView(e)}function IsUndefined(e){return e===undefined}function IsNull(e){return e===null}function IsBoolean(e){return typeof e==="boolean"}function IsNumber(e){return typeof e==="number"}function IsInteger(e){return Number.isInteger(e)}function IsBigInt(e){return typeof e==="bigint"}function IsString(e){return typeof e==="string"}function IsFunction(e){return typeof e==="function"}function IsSymbol(e){return typeof e==="symbol"}function IsValueType(e){return IsBigInt(e)||IsBoolean(e)||IsNull(e)||IsNumber(e)||IsString(e)||IsSymbol(e)||IsUndefined(e)}var l;(function(e){e.InstanceMode="default";e.ExactOptionalPropertyTypes=false;e.AllowArrayObject=false;e.AllowNaN=false;e.AllowNullVoid=false;function IsExactOptionalProperty(t,r){return e.ExactOptionalPropertyTypes?r in t:t[r]!==undefined}e.IsExactOptionalProperty=IsExactOptionalProperty;function IsObjectLike(t){const r=IsObject(t);return e.AllowArrayObject?r:r&&!IsArray(t)}e.IsObjectLike=IsObjectLike;function IsRecordLike(e){return IsObjectLike(e)&&!(e instanceof Date)&&!(e instanceof Uint8Array)}e.IsRecordLike=IsRecordLike;function IsNumberLike(t){return e.AllowNaN?IsNumber(t):Number.isFinite(t)}e.IsNumberLike=IsNumberLike;function IsVoidLike(t){const r=IsUndefined(t);return e.AllowNullVoid?r||t===null:r}e.IsVoidLike=IsVoidLike})(l||(l={}));function value_HasPropertyKey(e,t){return t in e}function value_IsAsyncIterator(e){return value_IsObject(e)&&!value_IsArray(e)&&!value_IsUint8Array(e)&&Symbol.asyncIterator in e}function value_IsArray(e){return Array.isArray(e)}function value_IsBigInt(e){return typeof e==="bigint"}function value_IsBoolean(e){return typeof e==="boolean"}function value_IsDate(e){return e instanceof globalThis.Date}function value_IsFunction(e){return typeof e==="function"}function value_IsIterator(e){return value_IsObject(e)&&!value_IsArray(e)&&!value_IsUint8Array(e)&&Symbol.iterator in e}function value_IsNull(e){return e===null}function value_IsNumber(e){return typeof e==="number"}function value_IsObject(e){return typeof e==="object"&&e!==null}function value_IsRegExp(e){return e instanceof globalThis.RegExp}function value_IsString(e){return typeof e==="string"}function value_IsSymbol(e){return typeof e==="symbol"}function value_IsUint8Array(e){return e instanceof globalThis.Uint8Array}function value_IsUndefined(e){return e===undefined}function ImmutableArray(e){return globalThis.Object.freeze(e).map((e=>Immutable(e)))}function ImmutableDate(e){return e}function ImmutableUint8Array(e){return e}function ImmutableRegExp(e){return e}function ImmutableObject(e){const t={};for(const r of Object.getOwnPropertyNames(e)){t[r]=Immutable(e[r])}for(const r of Object.getOwnPropertySymbols(e)){t[r]=Immutable(e[r])}return globalThis.Object.freeze(t)}function Immutable(e){return value_IsArray(e)?ImmutableArray(e):value_IsDate(e)?ImmutableDate(e):value_IsUint8Array(e)?ImmutableUint8Array(e):value_IsRegExp(e)?ImmutableRegExp(e):value_IsObject(e)?ImmutableObject(e):e}function ArrayType(e){return e.map((e=>Visit(e)))}function DateType(e){return new Date(e.getTime())}function Uint8ArrayType(e){return new Uint8Array(e)}function RegExpType(e){return new RegExp(e.source,e.flags)}function ObjectType(e){const t={};for(const r of Object.getOwnPropertyNames(e)){t[r]=Visit(e[r])}for(const r of Object.getOwnPropertySymbols(e)){t[r]=Visit(e[r])}return t}function Visit(e){return value_IsArray(e)?ArrayType(e):value_IsDate(e)?DateType(e):value_IsUint8Array(e)?Uint8ArrayType(e):value_IsRegExp(e)?RegExpType(e):value_IsObject(e)?ObjectType(e):e}function Clone(e){return Visit(e)}function CreateType(e,t){const r=t!==undefined?{...t,...e}:e;switch(l.InstanceMode){case"freeze":return Immutable(r);case"clone":return Clone(r);default:return r}}const p=Symbol.for("TypeBox.Transform");const d=Symbol.for("TypeBox.Readonly");const g=Symbol.for("TypeBox.Optional");const h=Symbol.for("TypeBox.Hint");const E=Symbol.for("TypeBox.Kind");function Any(e){return CreateType({[E]:"Any"},e)}function array_Array(e,t){return CreateType({[E]:"Array",type:"array",items:e},t)}function src_AsyncIterator(e,t){return CreateType({[E]:"AsyncIterator",type:"AsyncIterator",items:e},t)}function Computed(e,t,r){return CreateType({[E]:"Computed",target:e,parameters:t},r)}function Never(e){return CreateType({[E]:"Never",not:{}},e)}function IsReadonly(e){return value_IsObject(e)&&e[d]==="Readonly"}function IsOptional(e){return value_IsObject(e)&&e[g]==="Optional"}function IsAny(e){return IsKindOf(e,"Any")}function kind_IsArray(e){return IsKindOf(e,"Array")}function kind_IsAsyncIterator(e){return IsKindOf(e,"AsyncIterator")}function kind_IsBigInt(e){return IsKindOf(e,"BigInt")}function kind_IsBoolean(e){return IsKindOf(e,"Boolean")}function IsComputed(e){return IsKindOf(e,"Computed")}function IsConstructor(e){return IsKindOf(e,"Constructor")}function kind_IsDate(e){return IsKindOf(e,"Date")}function kind_IsFunction(e){return IsKindOf(e,"Function")}function IsImport(e){return IsKindOf(e,"Import")}function kind_IsInteger(e){return IsKindOf(e,"Integer")}function IsProperties(e){return ValueGuard.IsObject(e)}function IsIntersect(e){return IsKindOf(e,"Intersect")}function kind_IsIterator(e){return IsKindOf(e,"Iterator")}function IsKindOf(e,t){return value_IsObject(e)&&E in e&&e[E]===t}function IsLiteralString(e){return IsLiteral(e)&&ValueGuard.IsString(e.const)}function IsLiteralNumber(e){return IsLiteral(e)&&ValueGuard.IsNumber(e.const)}function IsLiteralBoolean(e){return IsLiteral(e)&&ValueGuard.IsBoolean(e.const)}function IsLiteralValue(e){return value_IsBoolean(e)||value_IsNumber(e)||value_IsString(e)}function IsLiteral(e){return IsKindOf(e,"Literal")}function IsMappedKey(e){return IsKindOf(e,"MappedKey")}function IsMappedResult(e){return IsKindOf(e,"MappedResult")}function IsNever(e){return IsKindOf(e,"Never")}function IsNot(e){return IsKindOf(e,"Not")}function kind_IsNull(e){return IsKindOf(e,"Null")}function kind_IsNumber(e){return IsKindOf(e,"Number")}function kind_IsObject(e){return IsKindOf(e,"Object")}function kind_IsPromise(e){return IsKindOf(e,"Promise")}function IsRecord(e){return IsKindOf(e,"Record")}function IsRecursive(e){return ValueGuard.IsObject(e)&&Hint in e&&e[Hint]==="Recursive"}function IsRef(e){return IsKindOf(e,"Ref")}function kind_IsRegExp(e){return IsKindOf(e,"RegExp")}function kind_IsString(e){return IsKindOf(e,"String")}function kind_IsSymbol(e){return IsKindOf(e,"Symbol")}function IsTemplateLiteral(e){return IsKindOf(e,"TemplateLiteral")}function IsThis(e){return IsKindOf(e,"This")}function IsTransform(e){return value_IsObject(e)&&p in e}function IsTuple(e){return IsKindOf(e,"Tuple")}function kind_IsUndefined(e){return IsKindOf(e,"Undefined")}function IsUnion(e){return IsKindOf(e,"Union")}function kind_IsUint8Array(e){return IsKindOf(e,"Uint8Array")}function IsUnknown(e){return IsKindOf(e,"Unknown")}function IsUnsafe(e){return IsKindOf(e,"Unsafe")}function IsVoid(e){return IsKindOf(e,"Void")}function IsKind(e){return value_IsObject(e)&&E in e&&value_IsString(e[E])}function IsSchema(e){return IsAny(e)||kind_IsArray(e)||kind_IsBoolean(e)||kind_IsBigInt(e)||kind_IsAsyncIterator(e)||IsConstructor(e)||kind_IsDate(e)||kind_IsFunction(e)||kind_IsInteger(e)||IsIntersect(e)||kind_IsIterator(e)||IsLiteral(e)||IsMappedKey(e)||IsMappedResult(e)||IsNever(e)||IsNot(e)||kind_IsNull(e)||kind_IsNumber(e)||kind_IsObject(e)||kind_IsPromise(e)||IsRecord(e)||IsRef(e)||kind_IsRegExp(e)||kind_IsString(e)||kind_IsSymbol(e)||IsTemplateLiteral(e)||IsThis(e)||IsTuple(e)||kind_IsUndefined(e)||IsUnion(e)||kind_IsUint8Array(e)||IsUnknown(e)||IsUnsafe(e)||IsVoid(e)||IsKind(e)}function IntersectCreate(e,t={}){const r=e.every((e=>kind_IsObject(e)));const n=IsSchema(t.unevaluatedProperties)?{unevaluatedProperties:t.unevaluatedProperties}:{};return CreateType(t.unevaluatedProperties===false||IsSchema(t.unevaluatedProperties)||r?{...n,[E]:"Intersect",type:"object",allOf:e}:{...n,[E]:"Intersect",allOf:e},t)}function Intersect(e,t){if(e.length===1)return CreateType(e[0],t);if(e.length===0)return Never(t);if(e.some((e=>IsTransform(e))))throw new Error("Cannot intersect transform types");return IntersectCreate(e,t)}function UnionCreate(e,t){return CreateType({[E]:"Union",anyOf:e},t)}function Union(e,t){return e.length===0?Never(t):e.length===1?CreateType(e[0],t):UnionCreate(e,t)}function Ref(e,t){return CreateType({[E]:"Ref",$ref:e},t)}function FromComputed(e,t){return Computed("Awaited",[Computed(e,t)])}function FromRef(e){return Computed("Awaited",[Ref(e)])}function FromIntersect(e){return Intersect(FromRest(e))}function FromUnion(e){return Union(FromRest(e))}function FromPromise(e){return Awaited(e)}function FromRest(e){return e.map((e=>Awaited(e)))}function Awaited(e,t){return CreateType(IsComputed(e)?FromComputed(e.target,e.parameters):IsIntersect(e)?FromIntersect(e.allOf):IsUnion(e)?FromUnion(e.anyOf):kind_IsPromise(e)?FromPromise(e.item):IsRef(e)?FromRef(e.$ref):e,t)}function bigint_BigInt(e){return CreateType({[E]:"BigInt",type:"bigint"},e)}function boolean_Boolean(e){return CreateType({[E]:"Boolean",type:"boolean"},e)}function DiscardKey(e,t){const{[t]:r,...n}=e;return n}function Discard(e,t){return t.reduce(((e,t)=>DiscardKey(e,t)),e)}function MappedResult(e){return CreateType({[E]:"MappedResult",properties:e})}function FromProperties(e,t){const r={};for(const n of globalThis.Object.getOwnPropertyNames(e))r[n]=Optional(e[n],t);return r}function FromMappedResult(e,t){return FromProperties(e.properties,t)}function OptionalFromMappedResult(e,t){const r=FromMappedResult(e,t);return MappedResult(r)}function RemoveOptional(e){return CreateType(Discard(e,[g]))}function AddOptional(e){return CreateType({...e,[g]:"Optional"})}function OptionalWithFlag(e,t){return t===false?RemoveOptional(e):AddOptional(e)}function Optional(e,t){const r=t??true;return IsMappedResult(e)?OptionalFromMappedResult(e,r):OptionalWithFlag(e,r)}function IsIntersectOptional(e){return e.every((e=>IsOptional(e)))}function RemoveOptionalFromType(e){return Discard(e,[g])}function RemoveOptionalFromRest(e){return e.map((e=>IsOptional(e)?RemoveOptionalFromType(e):e))}function ResolveIntersect(e,t){return IsIntersectOptional(e)?Optional(IntersectCreate(RemoveOptionalFromRest(e),t)):IntersectCreate(RemoveOptionalFromRest(e),t)}function IntersectEvaluated(e,t={}){if(e.length===1)return CreateType(e[0],t);if(e.length===0)return Never(t);if(e.some((e=>IsTransform(e))))throw new Error("Cannot intersect transform types");return ResolveIntersect(e,t)}function Literal(e,t){return CreateType({[E]:"Literal",const:e,type:typeof e},t)}function IsUnionOptional(e){return e.some((e=>IsOptional(e)))}function union_evaluated_RemoveOptionalFromRest(e){return e.map((e=>IsOptional(e)?union_evaluated_RemoveOptionalFromType(e):e))}function union_evaluated_RemoveOptionalFromType(e){return Discard(e,[g])}function ResolveUnion(e,t){const r=IsUnionOptional(e);return r?Optional(UnionCreate(union_evaluated_RemoveOptionalFromRest(e),t)):UnionCreate(union_evaluated_RemoveOptionalFromRest(e),t)}function UnionEvaluated(e,t){return e.length===1?CreateType(e[0],t):e.length===0?Never(t):ResolveUnion(e,t)}class error_TypeBoxError extends Error{constructor(e){super(e)}}class TemplateLiteralParserError extends error_TypeBoxError{}function Unescape(e){return e.replace(/\\\$/g,"$").replace(/\\\*/g,"*").replace(/\\\^/g,"^").replace(/\\\|/g,"|").replace(/\\\(/g,"(").replace(/\\\)/g,")")}function IsNonEscaped(e,t,r){return e[t]===r&&e.charCodeAt(t-1)!==92}function IsOpenParen(e,t){return IsNonEscaped(e,t,"(")}function IsCloseParen(e,t){return IsNonEscaped(e,t,")")}function IsSeparator(e,t){return IsNonEscaped(e,t,"|")}function IsGroup(e){if(!(IsOpenParen(e,0)&&IsCloseParen(e,e.length-1)))return false;let t=0;for(let r=0;r0)n.push(TemplateLiteralParse(t));r=s+1}}const s=e.slice(r);if(s.length>0)n.push(TemplateLiteralParse(s));if(n.length===0)return{type:"const",const:""};if(n.length===1)return n[0];return{type:"or",expr:n}}function And(e){function Group(e,t){if(!IsOpenParen(e,t))throw new TemplateLiteralParserError(`TemplateLiteralParser: Index must point to open parens`);let r=0;for(let n=t;n0)t.push(TemplateLiteralParse(o));r=s-1}}return t.length===0?{type:"const",const:""}:t.length===1?t[0]:{type:"and",expr:t}}function TemplateLiteralParse(e){return IsGroup(e)?TemplateLiteralParse(InGroup(e)):IsPrecedenceOr(e)?Or(e):IsPrecedenceAnd(e)?And(e):{type:"const",const:Unescape(e)}}function TemplateLiteralParseExact(e){return TemplateLiteralParse(e.slice(1,e.length-1))}class TemplateLiteralFiniteError extends error_TypeBoxError{}function IsNumberExpression(e){return e.type==="or"&&e.expr.length===2&&e.expr[0].type==="const"&&e.expr[0].const==="0"&&e.expr[1].type==="const"&&e.expr[1].const==="[1-9][0-9]*"}function IsBooleanExpression(e){return e.type==="or"&&e.expr.length===2&&e.expr[0].type==="const"&&e.expr[0].const==="true"&&e.expr[1].type==="const"&&e.expr[1].const==="false"}function IsStringExpression(e){return e.type==="const"&&e.const===".*"}function IsTemplateLiteralExpressionFinite(e){return IsNumberExpression(e)||IsStringExpression(e)?false:IsBooleanExpression(e)?true:e.type==="and"?e.expr.every((e=>IsTemplateLiteralExpressionFinite(e))):e.type==="or"?e.expr.every((e=>IsTemplateLiteralExpressionFinite(e))):e.type==="const"?true:(()=>{throw new TemplateLiteralFiniteError(`Unknown expression type`)})()}function IsTemplateLiteralFinite(e){const t=TemplateLiteralParseExact(e.pattern);return IsTemplateLiteralExpressionFinite(t)}class TemplateLiteralGenerateError extends error_TypeBoxError{}function*GenerateReduce(e){if(e.length===1)return yield*e[0];for(const t of e[0]){for(const r of GenerateReduce(e.slice(1))){yield`${t}${r}`}}}function*GenerateAnd(e){return yield*GenerateReduce(e.expr.map((e=>[...TemplateLiteralExpressionGenerate(e)])))}function*GenerateOr(e){for(const t of e.expr)yield*TemplateLiteralExpressionGenerate(t)}function*GenerateConst(e){return yield e.const}function*TemplateLiteralExpressionGenerate(e){return e.type==="and"?yield*GenerateAnd(e):e.type==="or"?yield*GenerateOr(e):e.type==="const"?yield*GenerateConst(e):(()=>{throw new TemplateLiteralGenerateError("Unknown expression")})()}function TemplateLiteralGenerate(e){const t=TemplateLiteralParseExact(e.pattern);return IsTemplateLiteralExpressionFinite(t)?[...TemplateLiteralExpressionGenerate(t)]:[]}function FromTemplateLiteral(e){const t=TemplateLiteralGenerate(e);return t.map((e=>e.toString()))}function indexed_property_keys_FromUnion(e){const t=[];for(const r of e)t.push(...IndexPropertyKeys(r));return t}function FromLiteral(e){return[e.toString()]}function IndexPropertyKeys(e){return[...new Set(IsTemplateLiteral(e)?FromTemplateLiteral(e):IsUnion(e)?indexed_property_keys_FromUnion(e.anyOf):IsLiteral(e)?FromLiteral(e.const):kind_IsNumber(e)?["[number]"]:kind_IsInteger(e)?["[number]"]:[])]}function MappedIndexPropertyKey(e,t,r){return{[t]:Index(e,[t],Clone(r))}}function MappedIndexPropertyKeys(e,t,r){return t.reduce(((t,n)=>({...t,...MappedIndexPropertyKey(e,n,r)})),{})}function MappedIndexProperties(e,t,r){return MappedIndexPropertyKeys(e,t.keys,r)}function IndexFromMappedKey(e,t,r){const n=MappedIndexProperties(e,t,r);return MappedResult(n)}function indexed_from_mapped_result_FromProperties(e,t,r){const n={};for(const s of Object.getOwnPropertyNames(t)){const o=IndexPropertyKeys(t[s]);n[s]=Index(e,o,r)}return n}function indexed_from_mapped_result_FromMappedResult(e,t,r){return indexed_from_mapped_result_FromProperties(e,t.properties,r)}function IndexFromMappedResult(e,t,r){const n=indexed_from_mapped_result_FromMappedResult(e,t,r);return MappedResult(n)}function indexed_FromRest(e,t){return e.map((e=>IndexFromPropertyKey(e,t)))}function FromIntersectRest(e){return e.filter((e=>!IsNever(e)))}function indexed_FromIntersect(e,t){return IntersectEvaluated(FromIntersectRest(indexed_FromRest(e,t)))}function FromUnionRest(e){return e.some((e=>IsNever(e)))?[]:e}function indexed_FromUnion(e,t){return UnionEvaluated(FromUnionRest(indexed_FromRest(e,t)))}function FromTuple(e,t){return t==="[number]"?UnionEvaluated(e):t in e?e[t]:Never()}function FromArray(e,t){return t==="[number]"?e:Never()}function FromProperty(e,t){return t in e?e[t]:Never()}function IndexFromPropertyKey(e,t){return IsIntersect(e)?indexed_FromIntersect(e.allOf,t):IsUnion(e)?indexed_FromUnion(e.anyOf,t):IsTuple(e)?FromTuple(e.items??[],t):kind_IsArray(e)?FromArray(e.items,t):kind_IsObject(e)?FromProperty(e.properties,t):Never()}function IndexFromPropertyKeys(e,t){return t.map((t=>IndexFromPropertyKey(e,t)))}function FromType(e,t){const r=IndexFromPropertyKeys(e,t);return UnionEvaluated(r)}function UnionFromPropertyKeys(e){const t=e.reduce(((e,t)=>IsLiteralValue(t)?[...e,Literal(t)]:e),[]);return UnionEvaluated(t)}function Index(e,t,r){const n=value_IsArray(t)?UnionFromPropertyKeys(t):t;const s=IsSchema(t)?IndexPropertyKeys(t):t;const o=IsRef(e);const i=IsRef(t);return IsMappedResult(t)?IndexFromMappedResult(e,t,r):IsMappedKey(t)?IndexFromMappedKey(e,t,r):o&&i?Computed("Index",[e,n],r):!o&&i?Computed("Index",[e,n],r):o&&!i?Computed("Index",[e,n],r):CreateType(FromType(e,s),r)}function SetIncludes(e,t){return e.includes(t)}function SetIsSubset(e,t){return e.every((e=>SetIncludes(t,e)))}function SetDistinct(e){return[...new Set(e)]}function SetIntersect(e,t){return e.filter((e=>t.includes(e)))}function SetUnion(e,t){return[...e,...t]}function SetComplement(e,t){return e.filter((e=>!t.includes(e)))}function SetIntersectManyResolve(e,t){return e.reduce(((e,t)=>SetIntersect(e,t)),t)}function SetIntersectMany(e){return e.length===1?e[0]:e.length>1?SetIntersectManyResolve(e.slice(1),e[0]):[]}function SetUnionMany(e){const t=[];for(const r of e)t.push(...r);return t}function keyof_property_keys_FromRest(e){const t=[];for(const r of e)t.push(KeyOfPropertyKeys(r));return t}function keyof_property_keys_FromIntersect(e){const t=keyof_property_keys_FromRest(e);const r=SetUnionMany(t);return r}function keyof_property_keys_FromUnion(e){const t=keyof_property_keys_FromRest(e);const r=SetIntersectMany(t);return r}function keyof_property_keys_FromTuple(e){return e.map(((e,t)=>t.toString()))}function keyof_property_keys_FromArray(e){return["[number]"]}function keyof_property_keys_FromProperties(e){return globalThis.Object.getOwnPropertyNames(e)}function FromPatternProperties(e){if(!m)return[];const t=globalThis.Object.getOwnPropertyNames(e);return t.map((e=>e[0]==="^"&&e[e.length-1]==="$"?e.slice(1,e.length-1):e))}function KeyOfPropertyKeys(e){return IsIntersect(e)?keyof_property_keys_FromIntersect(e.allOf):IsUnion(e)?keyof_property_keys_FromUnion(e.anyOf):IsTuple(e)?keyof_property_keys_FromTuple(e.items??[]):kind_IsArray(e)?keyof_property_keys_FromArray(e.items):kind_IsObject(e)?keyof_property_keys_FromProperties(e.properties):IsRecord(e)?FromPatternProperties(e.patternProperties):[]}let m=false;function KeyOfPattern(e){m=true;const t=KeyOfPropertyKeys(e);m=false;const r=t.map((e=>`(${e})`));return`^(${r.join("|")})$`}function RequiredKeys(e){const t=[];for(let r in e){if(!IsOptional(e[r]))t.push(r)}return t}function _Object(e,t){const r=RequiredKeys(e);const n=r.length>0?{[E]:"Object",type:"object",properties:e,required:r}:{[E]:"Object",type:"object",properties:e};return CreateType(n,t)}var I=_Object;function CompositeKeys(e){const t=[];for(const r of e)t.push(...KeyOfPropertyKeys(r));return SetDistinct(t)}function FilterNever(e){return e.filter((e=>!IsNever(e)))}function CompositeProperty(e,t){const r=[];for(const n of e)r.push(...IndexFromPropertyKeys(n,[t]));return FilterNever(r)}function CompositeProperties(e,t){const r={};for(const n of t){r[n]=IntersectEvaluated(CompositeProperty(e,n))}return r}function Composite(e,t){const r=CompositeKeys(e);const n=CompositeProperties(e,r);const s=I(n,t);return s}function date_Date(e){return CreateType({[E]:"Date",type:"Date"},e)}function function_Function(e,t,r){return CreateType({[E]:"Function",type:"Function",parameters:e,returns:t},r)}function Null(e){return CreateType({[E]:"Null",type:"null"},e)}function symbol_Symbol(e){return CreateType({[E]:"Symbol",type:"symbol"},e)}function Tuple(e,t){return CreateType(e.length>0?{[E]:"Tuple",type:"array",items:e,additionalItems:false,minItems:e.length,maxItems:e.length}:{[E]:"Tuple",type:"array",minItems:e.length,maxItems:e.length},t)}function readonly_from_mapped_result_FromProperties(e,t){const r={};for(const n of globalThis.Object.getOwnPropertyNames(e))r[n]=Readonly(e[n],t);return r}function readonly_from_mapped_result_FromMappedResult(e,t){return readonly_from_mapped_result_FromProperties(e.properties,t)}function ReadonlyFromMappedResult(e,t){const r=readonly_from_mapped_result_FromMappedResult(e,t);return MappedResult(r)}function RemoveReadonly(e){return CreateType(Discard(e,[d]))}function AddReadonly(e){return CreateType({...e,[d]:"Readonly"})}function ReadonlyWithFlag(e,t){return t===false?RemoveReadonly(e):AddReadonly(e)}function Readonly(e,t){const r=t??true;return IsMappedResult(e)?ReadonlyFromMappedResult(e,r):ReadonlyWithFlag(e,r)}function Undefined(e){return CreateType({[E]:"Undefined",type:"undefined"},e)}function uint8array_Uint8Array(e){return CreateType({[E]:"Uint8Array",type:"Uint8Array"},e)}function Unknown(e){return CreateType({[E]:"Unknown"},e)}function const_FromArray(e){return e.map((e=>FromValue(e,false)))}function const_FromProperties(e){const t={};for(const r of globalThis.Object.getOwnPropertyNames(e))t[r]=Readonly(FromValue(e[r],false));return t}function ConditionalReadonly(e,t){return t===true?e:Readonly(e)}function FromValue(e,t){return value_IsAsyncIterator(e)?ConditionalReadonly(Any(),t):value_IsIterator(e)?ConditionalReadonly(Any(),t):value_IsArray(e)?Readonly(Tuple(const_FromArray(e))):value_IsUint8Array(e)?uint8array_Uint8Array():value_IsDate(e)?date_Date():value_IsObject(e)?ConditionalReadonly(I(const_FromProperties(e)),t):value_IsFunction(e)?ConditionalReadonly(function_Function([],Unknown()),t):value_IsUndefined(e)?Undefined():value_IsNull(e)?Null():value_IsSymbol(e)?symbol_Symbol():value_IsBigInt(e)?bigint_BigInt():value_IsNumber(e)?Literal(e):value_IsBoolean(e)?Literal(e):value_IsString(e)?Literal(e):I({})}function Const(e,t){return CreateType(FromValue(e,true),t)}function Constructor(e,t,r){return CreateType({[E]:"Constructor",type:"Constructor",parameters:e,returns:t},r)}function ConstructorParameters(e,t){return Tuple(e.parameters,t)}function Enum(e,t){if(value_IsUndefined(e))throw new Error("Enum undefined or empty");const r=globalThis.Object.getOwnPropertyNames(e).filter((e=>isNaN(e))).map((t=>e[t]));const n=[...new Set(r)];const s=n.map((e=>Literal(e)));return Union(s,{...t,[h]:"Enum"})}function number_Number(e){return CreateType({[E]:"Number",type:"number"},e)}function string_String(e){return CreateType({[E]:"String",type:"string"},e)}function TemplateLiteralToUnion(e){const t=TemplateLiteralGenerate(e);const r=t.map((e=>Literal(e)));return UnionEvaluated(r)}const y="(true|false)";const C="(0|[1-9][0-9]*)";const Q="(.*)";const B="(?!.*)";const b=null&&`^${y}$`;const T=`^${C}$`;const w=`^${Q}$`;const v=`^${B}$`;class TypeGuardUnknownTypeError extends(null&&TypeBoxError){}const R=["Any","Array","AsyncIterator","BigInt","Boolean","Computed","Constructor","Date","Enum","Function","Integer","Intersect","Iterator","Literal","MappedKey","MappedResult","Not","Null","Number","Object","Promise","Record","Ref","RegExp","String","Symbol","TemplateLiteral","This","Tuple","Undefined","Union","Uint8Array","Unknown","Void"];function IsPattern(e){try{new RegExp(e);return true}catch{return false}}function IsControlCharacterFree(e){if(!value_IsString(e))return false;for(let t=0;t=7&&r<=13||r===27||r===127){return false}}return true}function IsAdditionalProperties(e){return IsOptionalBoolean(e)||type_IsSchema(e)}function IsOptionalBigInt(e){return value_IsUndefined(e)||value_IsBigInt(e)}function IsOptionalNumber(e){return value_IsUndefined(e)||value_IsNumber(e)}function IsOptionalBoolean(e){return value_IsUndefined(e)||value_IsBoolean(e)}function IsOptionalString(e){return value_IsUndefined(e)||value_IsString(e)}function IsOptionalPattern(e){return value_IsUndefined(e)||value_IsString(e)&&IsControlCharacterFree(e)&&IsPattern(e)}function IsOptionalFormat(e){return value_IsUndefined(e)||value_IsString(e)&&IsControlCharacterFree(e)}function IsOptionalSchema(e){return value_IsUndefined(e)||type_IsSchema(e)}function type_IsReadonly(e){return ValueGuard.IsObject(e)&&e[ReadonlyKind]==="Readonly"}function type_IsOptional(e){return value_IsObject(e)&&e[g]==="Optional"}function type_IsAny(e){return type_IsKindOf(e,"Any")&&IsOptionalString(e.$id)}function type_IsArray(e){return type_IsKindOf(e,"Array")&&e.type==="array"&&IsOptionalString(e.$id)&&type_IsSchema(e.items)&&IsOptionalNumber(e.minItems)&&IsOptionalNumber(e.maxItems)&&IsOptionalBoolean(e.uniqueItems)&&IsOptionalSchema(e.contains)&&IsOptionalNumber(e.minContains)&&IsOptionalNumber(e.maxContains)}function type_IsAsyncIterator(e){return type_IsKindOf(e,"AsyncIterator")&&e.type==="AsyncIterator"&&IsOptionalString(e.$id)&&type_IsSchema(e.items)}function type_IsBigInt(e){return type_IsKindOf(e,"BigInt")&&e.type==="bigint"&&IsOptionalString(e.$id)&&IsOptionalBigInt(e.exclusiveMaximum)&&IsOptionalBigInt(e.exclusiveMinimum)&&IsOptionalBigInt(e.maximum)&&IsOptionalBigInt(e.minimum)&&IsOptionalBigInt(e.multipleOf)}function type_IsBoolean(e){return type_IsKindOf(e,"Boolean")&&e.type==="boolean"&&IsOptionalString(e.$id)}function type_IsComputed(e){return type_IsKindOf(e,"Computed")&&type_IsString(e.target)&&ValueGuard.IsArray(e.parameters)&&e.parameters.every((e=>type_IsSchema(e)))}function type_IsConstructor(e){return type_IsKindOf(e,"Constructor")&&e.type==="Constructor"&&IsOptionalString(e.$id)&&value_IsArray(e.parameters)&&e.parameters.every((e=>type_IsSchema(e)))&&type_IsSchema(e.returns)}function type_IsDate(e){return type_IsKindOf(e,"Date")&&e.type==="Date"&&IsOptionalString(e.$id)&&IsOptionalNumber(e.exclusiveMaximumTimestamp)&&IsOptionalNumber(e.exclusiveMinimumTimestamp)&&IsOptionalNumber(e.maximumTimestamp)&&IsOptionalNumber(e.minimumTimestamp)&&IsOptionalNumber(e.multipleOfTimestamp)}function type_IsFunction(e){return type_IsKindOf(e,"Function")&&e.type==="Function"&&IsOptionalString(e.$id)&&value_IsArray(e.parameters)&&e.parameters.every((e=>type_IsSchema(e)))&&type_IsSchema(e.returns)}function type_IsImport(e){return type_IsKindOf(e,"Import")&&ValueGuard.HasPropertyKey(e,"$defs")&&ValueGuard.IsObject(e.$defs)&&type_IsProperties(e.$defs)&&ValueGuard.HasPropertyKey(e,"$ref")&&ValueGuard.IsString(e.$ref)&&e.$ref in e.$defs}function type_IsInteger(e){return type_IsKindOf(e,"Integer")&&e.type==="integer"&&IsOptionalString(e.$id)&&IsOptionalNumber(e.exclusiveMaximum)&&IsOptionalNumber(e.exclusiveMinimum)&&IsOptionalNumber(e.maximum)&&IsOptionalNumber(e.minimum)&&IsOptionalNumber(e.multipleOf)}function type_IsProperties(e){return value_IsObject(e)&&Object.entries(e).every((([e,t])=>IsControlCharacterFree(e)&&type_IsSchema(t)))}function type_IsIntersect(e){return type_IsKindOf(e,"Intersect")&&(value_IsString(e.type)&&e.type!=="object"?false:true)&&value_IsArray(e.allOf)&&e.allOf.every((e=>type_IsSchema(e)&&!type_IsTransform(e)))&&IsOptionalString(e.type)&&(IsOptionalBoolean(e.unevaluatedProperties)||IsOptionalSchema(e.unevaluatedProperties))&&IsOptionalString(e.$id)}function type_IsIterator(e){return type_IsKindOf(e,"Iterator")&&e.type==="Iterator"&&IsOptionalString(e.$id)&&type_IsSchema(e.items)}function type_IsKindOf(e,t){return value_IsObject(e)&&E in e&&e[E]===t}function type_IsLiteralString(e){return type_IsLiteral(e)&&value_IsString(e.const)}function type_IsLiteralNumber(e){return type_IsLiteral(e)&&value_IsNumber(e.const)}function type_IsLiteralBoolean(e){return type_IsLiteral(e)&&value_IsBoolean(e.const)}function type_IsLiteral(e){return type_IsKindOf(e,"Literal")&&IsOptionalString(e.$id)&&type_IsLiteralValue(e.const)}function type_IsLiteralValue(e){return value_IsBoolean(e)||value_IsNumber(e)||value_IsString(e)}function type_IsMappedKey(e){return type_IsKindOf(e,"MappedKey")&&value_IsArray(e.keys)&&e.keys.every((e=>value_IsNumber(e)||value_IsString(e)))}function type_IsMappedResult(e){return type_IsKindOf(e,"MappedResult")&&type_IsProperties(e.properties)}function type_IsNever(e){return type_IsKindOf(e,"Never")&&value_IsObject(e.not)&&Object.getOwnPropertyNames(e.not).length===0}function type_IsNot(e){return type_IsKindOf(e,"Not")&&type_IsSchema(e.not)}function type_IsNull(e){return type_IsKindOf(e,"Null")&&e.type==="null"&&IsOptionalString(e.$id)}function type_IsNumber(e){return type_IsKindOf(e,"Number")&&e.type==="number"&&IsOptionalString(e.$id)&&IsOptionalNumber(e.exclusiveMaximum)&&IsOptionalNumber(e.exclusiveMinimum)&&IsOptionalNumber(e.maximum)&&IsOptionalNumber(e.minimum)&&IsOptionalNumber(e.multipleOf)}function type_IsObject(e){return type_IsKindOf(e,"Object")&&e.type==="object"&&IsOptionalString(e.$id)&&type_IsProperties(e.properties)&&IsAdditionalProperties(e.additionalProperties)&&IsOptionalNumber(e.minProperties)&&IsOptionalNumber(e.maxProperties)}function type_IsPromise(e){return type_IsKindOf(e,"Promise")&&e.type==="Promise"&&IsOptionalString(e.$id)&&type_IsSchema(e.item)}function type_IsRecord(e){return type_IsKindOf(e,"Record")&&e.type==="object"&&IsOptionalString(e.$id)&&IsAdditionalProperties(e.additionalProperties)&&value_IsObject(e.patternProperties)&&(e=>{const t=Object.getOwnPropertyNames(e.patternProperties);return t.length===1&&IsPattern(t[0])&&value_IsObject(e.patternProperties)&&type_IsSchema(e.patternProperties[t[0]])})(e)}function type_IsRecursive(e){return ValueGuard.IsObject(e)&&Hint in e&&e[Hint]==="Recursive"}function type_IsRef(e){return type_IsKindOf(e,"Ref")&&IsOptionalString(e.$id)&&value_IsString(e.$ref)}function type_IsRegExp(e){return type_IsKindOf(e,"RegExp")&&IsOptionalString(e.$id)&&value_IsString(e.source)&&value_IsString(e.flags)&&IsOptionalNumber(e.maxLength)&&IsOptionalNumber(e.minLength)}function type_IsString(e){return type_IsKindOf(e,"String")&&e.type==="string"&&IsOptionalString(e.$id)&&IsOptionalNumber(e.minLength)&&IsOptionalNumber(e.maxLength)&&IsOptionalPattern(e.pattern)&&IsOptionalFormat(e.format)}function type_IsSymbol(e){return type_IsKindOf(e,"Symbol")&&e.type==="symbol"&&IsOptionalString(e.$id)}function type_IsTemplateLiteral(e){return type_IsKindOf(e,"TemplateLiteral")&&e.type==="string"&&value_IsString(e.pattern)&&e.pattern[0]==="^"&&e.pattern[e.pattern.length-1]==="$"}function type_IsThis(e){return type_IsKindOf(e,"This")&&IsOptionalString(e.$id)&&value_IsString(e.$ref)}function type_IsTransform(e){return value_IsObject(e)&&p in e}function type_IsTuple(e){return type_IsKindOf(e,"Tuple")&&e.type==="array"&&IsOptionalString(e.$id)&&value_IsNumber(e.minItems)&&value_IsNumber(e.maxItems)&&e.minItems===e.maxItems&&(value_IsUndefined(e.items)&&value_IsUndefined(e.additionalItems)&&e.minItems===0||value_IsArray(e.items)&&e.items.every((e=>type_IsSchema(e))))}function type_IsUndefined(e){return type_IsKindOf(e,"Undefined")&&e.type==="undefined"&&IsOptionalString(e.$id)}function IsUnionLiteral(e){return type_IsUnion(e)&&e.anyOf.every((e=>type_IsLiteralString(e)||type_IsLiteralNumber(e)))}function type_IsUnion(e){return type_IsKindOf(e,"Union")&&IsOptionalString(e.$id)&&value_IsObject(e)&&value_IsArray(e.anyOf)&&e.anyOf.every((e=>type_IsSchema(e)))}function type_IsUint8Array(e){return type_IsKindOf(e,"Uint8Array")&&e.type==="Uint8Array"&&IsOptionalString(e.$id)&&IsOptionalNumber(e.minByteLength)&&IsOptionalNumber(e.maxByteLength)}function type_IsUnknown(e){return type_IsKindOf(e,"Unknown")&&IsOptionalString(e.$id)}function type_IsUnsafe(e){return type_IsKindOf(e,"Unsafe")}function type_IsVoid(e){return type_IsKindOf(e,"Void")&&e.type==="void"&&IsOptionalString(e.$id)}function type_IsKind(e){return value_IsObject(e)&&E in e&&value_IsString(e[E])&&!R.includes(e[E])}function type_IsSchema(e){return value_IsObject(e)&&(type_IsAny(e)||type_IsArray(e)||type_IsBoolean(e)||type_IsBigInt(e)||type_IsAsyncIterator(e)||type_IsConstructor(e)||type_IsDate(e)||type_IsFunction(e)||type_IsInteger(e)||type_IsIntersect(e)||type_IsIterator(e)||type_IsLiteral(e)||type_IsMappedKey(e)||type_IsMappedResult(e)||type_IsNever(e)||type_IsNot(e)||type_IsNull(e)||type_IsNumber(e)||type_IsObject(e)||type_IsPromise(e)||type_IsRecord(e)||type_IsRef(e)||type_IsRegExp(e)||type_IsString(e)||type_IsSymbol(e)||type_IsTemplateLiteral(e)||type_IsThis(e)||type_IsTuple(e)||type_IsUndefined(e)||type_IsUnion(e)||type_IsUint8Array(e)||type_IsUnknown(e)||type_IsUnsafe(e)||type_IsVoid(e)||type_IsKind(e))}class ExtendsResolverError extends error_TypeBoxError{}var k;(function(e){e[e["Union"]=0]="Union";e[e["True"]=1]="True";e[e["False"]=2]="False"})(k||(k={}));function IntoBooleanResult(e){return e===k.False?e:k.True}function Throw(e){throw new ExtendsResolverError(e)}function IsStructuralRight(e){return type_IsNever(e)||type_IsIntersect(e)||type_IsUnion(e)||type_IsUnknown(e)||type_IsAny(e)}function StructuralRight(e,t){return type_IsNever(t)?FromNeverRight(e,t):type_IsIntersect(t)?FromIntersectRight(e,t):type_IsUnion(t)?FromUnionRight(e,t):type_IsUnknown(t)?FromUnknownRight(e,t):type_IsAny(t)?FromAnyRight(e,t):Throw("StructuralRight")}function FromAnyRight(e,t){return k.True}function FromAny(e,t){return type_IsIntersect(t)?FromIntersectRight(e,t):type_IsUnion(t)&&t.anyOf.some((e=>type_IsAny(e)||type_IsUnknown(e)))?k.True:type_IsUnion(t)?k.Union:type_IsUnknown(t)?k.True:type_IsAny(t)?k.True:k.Union}function FromArrayRight(e,t){return type_IsUnknown(e)?k.False:type_IsAny(e)?k.Union:type_IsNever(e)?k.True:k.False}function extends_check_FromArray(e,t){return type_IsObject(t)&&IsObjectArrayLike(t)?k.True:IsStructuralRight(t)?StructuralRight(e,t):!type_IsArray(t)?k.False:IntoBooleanResult(extends_check_Visit(e.items,t.items))}function FromAsyncIterator(e,t){return IsStructuralRight(t)?StructuralRight(e,t):!type_IsAsyncIterator(t)?k.False:IntoBooleanResult(extends_check_Visit(e.items,t.items))}function FromBigInt(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsBigInt(t)?k.True:k.False}function FromBooleanRight(e,t){return type_IsLiteralBoolean(e)?k.True:type_IsBoolean(e)?k.True:k.False}function FromBoolean(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsBoolean(t)?k.True:k.False}function FromConstructor(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):!type_IsConstructor(t)?k.False:e.parameters.length>t.parameters.length?k.False:!e.parameters.every(((e,r)=>IntoBooleanResult(extends_check_Visit(t.parameters[r],e))===k.True))?k.False:IntoBooleanResult(extends_check_Visit(e.returns,t.returns))}function FromDate(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsDate(t)?k.True:k.False}function FromFunction(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):!type_IsFunction(t)?k.False:e.parameters.length>t.parameters.length?k.False:!e.parameters.every(((e,r)=>IntoBooleanResult(extends_check_Visit(t.parameters[r],e))===k.True))?k.False:IntoBooleanResult(extends_check_Visit(e.returns,t.returns))}function FromIntegerRight(e,t){return type_IsLiteral(e)&&value_IsNumber(e.const)?k.True:type_IsNumber(e)||type_IsInteger(e)?k.True:k.False}function FromInteger(e,t){return type_IsInteger(t)||type_IsNumber(t)?k.True:IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):k.False}function FromIntersectRight(e,t){return t.allOf.every((t=>extends_check_Visit(e,t)===k.True))?k.True:k.False}function extends_check_FromIntersect(e,t){return e.allOf.some((e=>extends_check_Visit(e,t)===k.True))?k.True:k.False}function FromIterator(e,t){return IsStructuralRight(t)?StructuralRight(e,t):!type_IsIterator(t)?k.False:IntoBooleanResult(extends_check_Visit(e.items,t.items))}function extends_check_FromLiteral(e,t){return type_IsLiteral(t)&&t.const===e.const?k.True:IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsString(t)?FromStringRight(e,t):type_IsNumber(t)?FromNumberRight(e,t):type_IsInteger(t)?FromIntegerRight(e,t):type_IsBoolean(t)?FromBooleanRight(e,t):k.False}function FromNeverRight(e,t){return k.False}function FromNever(e,t){return k.True}function UnwrapTNot(e){let[t,r]=[e,0];while(true){if(!type_IsNot(t))break;t=t.not;r+=1}return r%2===0?t:Unknown()}function FromNot(e,t){return type_IsNot(e)?extends_check_Visit(UnwrapTNot(e),t):type_IsNot(t)?extends_check_Visit(e,UnwrapTNot(t)):Throw("Invalid fallthrough for Not")}function FromNull(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsNull(t)?k.True:k.False}function FromNumberRight(e,t){return type_IsLiteralNumber(e)?k.True:type_IsNumber(e)||type_IsInteger(e)?k.True:k.False}function FromNumber(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsInteger(t)||type_IsNumber(t)?k.True:k.False}function IsObjectPropertyCount(e,t){return Object.getOwnPropertyNames(e.properties).length===t}function IsObjectStringLike(e){return IsObjectArrayLike(e)}function IsObjectSymbolLike(e){return IsObjectPropertyCount(e,0)||IsObjectPropertyCount(e,1)&&"description"in e.properties&&type_IsUnion(e.properties.description)&&e.properties.description.anyOf.length===2&&(type_IsString(e.properties.description.anyOf[0])&&type_IsUndefined(e.properties.description.anyOf[1])||type_IsString(e.properties.description.anyOf[1])&&type_IsUndefined(e.properties.description.anyOf[0]))}function IsObjectNumberLike(e){return IsObjectPropertyCount(e,0)}function IsObjectBooleanLike(e){return IsObjectPropertyCount(e,0)}function IsObjectBigIntLike(e){return IsObjectPropertyCount(e,0)}function IsObjectDateLike(e){return IsObjectPropertyCount(e,0)}function IsObjectUint8ArrayLike(e){return IsObjectArrayLike(e)}function IsObjectFunctionLike(e){const t=number_Number();return IsObjectPropertyCount(e,0)||IsObjectPropertyCount(e,1)&&"length"in e.properties&&IntoBooleanResult(extends_check_Visit(e.properties["length"],t))===k.True}function IsObjectConstructorLike(e){return IsObjectPropertyCount(e,0)}function IsObjectArrayLike(e){const t=number_Number();return IsObjectPropertyCount(e,0)||IsObjectPropertyCount(e,1)&&"length"in e.properties&&IntoBooleanResult(extends_check_Visit(e.properties["length"],t))===k.True}function IsObjectPromiseLike(e){const t=function_Function([Any()],Any());return IsObjectPropertyCount(e,0)||IsObjectPropertyCount(e,1)&&"then"in e.properties&&IntoBooleanResult(extends_check_Visit(e.properties["then"],t))===k.True}function Property(e,t){return extends_check_Visit(e,t)===k.False?k.False:type_IsOptional(e)&&!type_IsOptional(t)?k.False:k.True}function FromObjectRight(e,t){return type_IsUnknown(e)?k.False:type_IsAny(e)?k.Union:type_IsNever(e)||type_IsLiteralString(e)&&IsObjectStringLike(t)||type_IsLiteralNumber(e)&&IsObjectNumberLike(t)||type_IsLiteralBoolean(e)&&IsObjectBooleanLike(t)||type_IsSymbol(e)&&IsObjectSymbolLike(t)||type_IsBigInt(e)&&IsObjectBigIntLike(t)||type_IsString(e)&&IsObjectStringLike(t)||type_IsSymbol(e)&&IsObjectSymbolLike(t)||type_IsNumber(e)&&IsObjectNumberLike(t)||type_IsInteger(e)&&IsObjectNumberLike(t)||type_IsBoolean(e)&&IsObjectBooleanLike(t)||type_IsUint8Array(e)&&IsObjectUint8ArrayLike(t)||type_IsDate(e)&&IsObjectDateLike(t)||type_IsConstructor(e)&&IsObjectConstructorLike(t)||type_IsFunction(e)&&IsObjectFunctionLike(t)?k.True:type_IsRecord(e)&&type_IsString(RecordKey(e))?(()=>t[h]==="Record"?k.True:k.False)():type_IsRecord(e)&&type_IsNumber(RecordKey(e))?(()=>IsObjectPropertyCount(t,0)?k.True:k.False)():k.False}function FromObject(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):!type_IsObject(t)?k.False:(()=>{for(const r of Object.getOwnPropertyNames(t.properties)){if(!(r in e.properties)&&!type_IsOptional(t.properties[r])){return k.False}if(type_IsOptional(t.properties[r])){return k.True}if(Property(e.properties[r],t.properties[r])===k.False){return k.False}}return k.True})()}function extends_check_FromPromise(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)&&IsObjectPromiseLike(t)?k.True:!type_IsPromise(t)?k.False:IntoBooleanResult(extends_check_Visit(e.item,t.item))}function RecordKey(e){return T in e.patternProperties?number_Number():w in e.patternProperties?string_String():Throw("Unknown record key pattern")}function RecordValue(e){return T in e.patternProperties?e.patternProperties[T]:w in e.patternProperties?e.patternProperties[w]:Throw("Unable to get record value schema")}function FromRecordRight(e,t){const[r,n]=[RecordKey(t),RecordValue(t)];return type_IsLiteralString(e)&&type_IsNumber(r)&&IntoBooleanResult(extends_check_Visit(e,n))===k.True?k.True:type_IsUint8Array(e)&&type_IsNumber(r)?extends_check_Visit(e,n):type_IsString(e)&&type_IsNumber(r)?extends_check_Visit(e,n):type_IsArray(e)&&type_IsNumber(r)?extends_check_Visit(e,n):type_IsObject(e)?(()=>{for(const t of Object.getOwnPropertyNames(e.properties)){if(Property(n,e.properties[t])===k.False){return k.False}}return k.True})():k.False}function FromRecord(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):!type_IsRecord(t)?k.False:extends_check_Visit(RecordValue(e),RecordValue(t))}function FromRegExp(e,t){const r=type_IsRegExp(e)?string_String():e;const n=type_IsRegExp(t)?string_String():t;return extends_check_Visit(r,n)}function FromStringRight(e,t){return type_IsLiteral(e)&&value_IsString(e.const)?k.True:type_IsString(e)?k.True:k.False}function FromString(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsString(t)?k.True:k.False}function FromSymbol(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsSymbol(t)?k.True:k.False}function extends_check_FromTemplateLiteral(e,t){return type_IsTemplateLiteral(e)?extends_check_Visit(TemplateLiteralToUnion(e),t):type_IsTemplateLiteral(t)?extends_check_Visit(e,TemplateLiteralToUnion(t)):Throw("Invalid fallthrough for TemplateLiteral")}function IsArrayOfTuple(e,t){return type_IsArray(t)&&e.items!==undefined&&e.items.every((e=>extends_check_Visit(e,t.items)===k.True))}function FromTupleRight(e,t){return type_IsNever(e)?k.True:type_IsUnknown(e)?k.False:type_IsAny(e)?k.Union:k.False}function extends_check_FromTuple(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)&&IsObjectArrayLike(t)?k.True:type_IsArray(t)&&IsArrayOfTuple(e,t)?k.True:!type_IsTuple(t)?k.False:value_IsUndefined(e.items)&&!value_IsUndefined(t.items)||!value_IsUndefined(e.items)&&value_IsUndefined(t.items)?k.False:value_IsUndefined(e.items)&&!value_IsUndefined(t.items)?k.True:e.items.every(((e,r)=>extends_check_Visit(e,t.items[r])===k.True))?k.True:k.False}function FromUint8Array(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsUint8Array(t)?k.True:k.False}function FromUndefined(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsVoid(t)?FromVoidRight(e,t):type_IsUndefined(t)?k.True:k.False}function FromUnionRight(e,t){return t.anyOf.some((t=>extends_check_Visit(e,t)===k.True))?k.True:k.False}function extends_check_FromUnion(e,t){return e.anyOf.every((e=>extends_check_Visit(e,t)===k.True))?k.True:k.False}function FromUnknownRight(e,t){return k.True}function FromUnknown(e,t){return type_IsNever(t)?FromNeverRight(e,t):type_IsIntersect(t)?FromIntersectRight(e,t):type_IsUnion(t)?FromUnionRight(e,t):type_IsAny(t)?FromAnyRight(e,t):type_IsString(t)?FromStringRight(e,t):type_IsNumber(t)?FromNumberRight(e,t):type_IsInteger(t)?FromIntegerRight(e,t):type_IsBoolean(t)?FromBooleanRight(e,t):type_IsArray(t)?FromArrayRight(e,t):type_IsTuple(t)?FromTupleRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsUnknown(t)?k.True:k.False}function FromVoidRight(e,t){return type_IsUndefined(e)?k.True:type_IsUndefined(e)?k.True:k.False}function FromVoid(e,t){return type_IsIntersect(t)?FromIntersectRight(e,t):type_IsUnion(t)?FromUnionRight(e,t):type_IsUnknown(t)?FromUnknownRight(e,t):type_IsAny(t)?FromAnyRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsVoid(t)?k.True:k.False}function extends_check_Visit(e,t){return type_IsTemplateLiteral(e)||type_IsTemplateLiteral(t)?extends_check_FromTemplateLiteral(e,t):type_IsRegExp(e)||type_IsRegExp(t)?FromRegExp(e,t):type_IsNot(e)||type_IsNot(t)?FromNot(e,t):type_IsAny(e)?FromAny(e,t):type_IsArray(e)?extends_check_FromArray(e,t):type_IsBigInt(e)?FromBigInt(e,t):type_IsBoolean(e)?FromBoolean(e,t):type_IsAsyncIterator(e)?FromAsyncIterator(e,t):type_IsConstructor(e)?FromConstructor(e,t):type_IsDate(e)?FromDate(e,t):type_IsFunction(e)?FromFunction(e,t):type_IsInteger(e)?FromInteger(e,t):type_IsIntersect(e)?extends_check_FromIntersect(e,t):type_IsIterator(e)?FromIterator(e,t):type_IsLiteral(e)?extends_check_FromLiteral(e,t):type_IsNever(e)?FromNever(e,t):type_IsNull(e)?FromNull(e,t):type_IsNumber(e)?FromNumber(e,t):type_IsObject(e)?FromObject(e,t):type_IsRecord(e)?FromRecord(e,t):type_IsString(e)?FromString(e,t):type_IsSymbol(e)?FromSymbol(e,t):type_IsTuple(e)?extends_check_FromTuple(e,t):type_IsPromise(e)?extends_check_FromPromise(e,t):type_IsUint8Array(e)?FromUint8Array(e,t):type_IsUndefined(e)?FromUndefined(e,t):type_IsUnion(e)?extends_check_FromUnion(e,t):type_IsUnknown(e)?FromUnknown(e,t):type_IsVoid(e)?FromVoid(e,t):Throw(`Unknown left type operand '${e[E]}'`)}function ExtendsCheck(e,t){return extends_check_Visit(e,t)}function exclude_from_mapped_result_FromProperties(e,t){const r={};for(const n of globalThis.Object.getOwnPropertyNames(e))r[n]=Exclude(e[n],t);return r}function exclude_from_mapped_result_FromMappedResult(e,t){return exclude_from_mapped_result_FromProperties(e.properties,t)}function ExcludeFromMappedResult(e,t){const r=exclude_from_mapped_result_FromMappedResult(e,t);return MappedResult(r)}function ExcludeFromTemplateLiteral(e,t){return Exclude(TemplateLiteralToUnion(e),t)}function ExcludeRest(e,t){const r=e.filter((e=>ExtendsCheck(e,t)===k.False));return r.length===1?r[0]:Union(r)}function Exclude(e,t,r={}){if(IsTemplateLiteral(e))return CreateType(ExcludeFromTemplateLiteral(e,t),r);if(IsMappedResult(e))return CreateType(ExcludeFromMappedResult(e,t),r);return CreateType(IsUnion(e)?ExcludeRest(e.anyOf,t):ExtendsCheck(e,t)!==k.False?Never():e,r)}function FromPropertyKey(e,t,r,n,s){return{[e]:Extends(Literal(e),t,r,n,Clone(s))}}function FromPropertyKeys(e,t,r,n,s){return e.reduce(((e,o)=>({...e,...FromPropertyKey(o,t,r,n,s)})),{})}function FromMappedKey(e,t,r,n,s){return FromPropertyKeys(e.keys,t,r,n,s)}function ExtendsFromMappedKey(e,t,r,n,s){const o=FromMappedKey(e,t,r,n,s);return MappedResult(o)}function extends_from_mapped_result_FromProperties(e,t,r,n,s){const o={};for(const i of globalThis.Object.getOwnPropertyNames(e))o[i]=Extends(e[i],t,r,n,Clone(s));return o}function extends_from_mapped_result_FromMappedResult(e,t,r,n,s){return extends_from_mapped_result_FromProperties(e.properties,t,r,n,s)}function ExtendsFromMappedResult(e,t,r,n,s){const o=extends_from_mapped_result_FromMappedResult(e,t,r,n,s);return MappedResult(o)}function ExtendsResolve(e,t,r,n){const s=ExtendsCheck(e,t);return s===k.Union?Union([r,n]):s===k.True?r:n}function Extends(e,t,r,n,s){return IsMappedResult(e)?ExtendsFromMappedResult(e,t,r,n,s):IsMappedKey(e)?CreateType(ExtendsFromMappedKey(e,t,r,n,s)):CreateType(ExtendsResolve(e,t,r,n),s)}function extract_from_mapped_result_FromProperties(e,t){const r={};for(const n of globalThis.Object.getOwnPropertyNames(e))r[n]=Extract(e[n],t);return r}function extract_from_mapped_result_FromMappedResult(e,t){return extract_from_mapped_result_FromProperties(e.properties,t)}function ExtractFromMappedResult(e,t){const r=extract_from_mapped_result_FromMappedResult(e,t);return MappedResult(r)}function ExtractFromTemplateLiteral(e,t){return Extract(TemplateLiteralToUnion(e),t)}function ExtractRest(e,t){const r=e.filter((e=>ExtendsCheck(e,t)!==k.False));return r.length===1?r[0]:Union(r)}function Extract(e,t,r){if(IsTemplateLiteral(e))return CreateType(ExtractFromTemplateLiteral(e,t),r);if(IsMappedResult(e))return CreateType(ExtractFromMappedResult(e,t),r);return CreateType(IsUnion(e)?ExtractRest(e.anyOf,t):ExtendsCheck(e,t)!==k.False?e:Never(),r)}function InstanceType(e,t){return CreateType(e.returns,t)}function Integer(e){return CreateType({[E]:"Integer",type:"integer"},e)}function*syntax_FromUnion(e){const t=e.trim().replace(/"|'/g,"");return t==="boolean"?yield boolean_Boolean():t==="number"?yield number_Number():t==="bigint"?yield bigint_BigInt():t==="string"?yield string_String():yield(()=>{const e=t.split("|").map((e=>Literal(e.trim())));return e.length===0?Never():e.length===1?e[0]:UnionEvaluated(e)})()}function*FromTerminal(e){if(e[1]!=="{"){const t=Literal("$");const r=FromSyntax(e.slice(1));return yield*[t,...r]}for(let t=2;tpattern_Visit(e,t))).join("|")})`:kind_IsNumber(e)?`${t}${C}`:kind_IsInteger(e)?`${t}${C}`:kind_IsBigInt(e)?`${t}${C}`:kind_IsString(e)?`${t}${Q}`:IsLiteral(e)?`${t}${Escape(e.const.toString())}`:kind_IsBoolean(e)?`${t}${y}`:(()=>{throw new TemplateLiteralPatternError(`Unexpected Kind '${e[E]}'`)})()}function TemplateLiteralPattern(e){return`^${e.map((e=>pattern_Visit(e,""))).join("")}$`}function TemplateLiteral(e,t){const r=value_IsString(e)?TemplateLiteralPattern(TemplateLiteralSyntax(e)):TemplateLiteralPattern(e);return CreateType({[E]:"TemplateLiteral",type:"string",pattern:r},t)}function MappedIntrinsicPropertyKey(e,t,r){return{[e]:Intrinsic(Literal(e),t,Clone(r))}}function MappedIntrinsicPropertyKeys(e,t,r){const n=e.reduce(((e,n)=>({...e,...MappedIntrinsicPropertyKey(n,t,r)})),{});return n}function MappedIntrinsicProperties(e,t,r){return MappedIntrinsicPropertyKeys(e["keys"],t,r)}function IntrinsicFromMappedKey(e,t,r){const n=MappedIntrinsicProperties(e,t,r);return MappedResult(n)}function ApplyUncapitalize(e){const[t,r]=[e.slice(0,1),e.slice(1)];return[t.toLowerCase(),r].join("")}function ApplyCapitalize(e){const[t,r]=[e.slice(0,1),e.slice(1)];return[t.toUpperCase(),r].join("")}function ApplyUppercase(e){return e.toUpperCase()}function ApplyLowercase(e){return e.toLowerCase()}function intrinsic_FromTemplateLiteral(e,t,r){const n=TemplateLiteralParseExact(e.pattern);const s=IsTemplateLiteralExpressionFinite(n);if(!s)return{...e,pattern:FromLiteralValue(e.pattern,t)};const o=[...TemplateLiteralExpressionGenerate(n)];const i=o.map((e=>Literal(e)));const a=intrinsic_FromRest(i,t);const A=Union(a);return TemplateLiteral([A],r)}function FromLiteralValue(e,t){return typeof e==="string"?t==="Uncapitalize"?ApplyUncapitalize(e):t==="Capitalize"?ApplyCapitalize(e):t==="Uppercase"?ApplyUppercase(e):t==="Lowercase"?ApplyLowercase(e):e:e.toString()}function intrinsic_FromRest(e,t){return e.map((e=>Intrinsic(e,t)))}function Intrinsic(e,t,r={}){return IsMappedKey(e)?IntrinsicFromMappedKey(e,t,r):IsTemplateLiteral(e)?intrinsic_FromTemplateLiteral(e,t,r):IsUnion(e)?Union(intrinsic_FromRest(e.anyOf,t),r):IsLiteral(e)?Literal(FromLiteralValue(e.const,t),r):CreateType(e,r)}function Capitalize(e,t={}){return Intrinsic(e,"Capitalize",t)}function Uncapitalize(e,t={}){return Intrinsic(e,"Uncapitalize",t)}function Lowercase(e,t={}){return Intrinsic(e,"Lowercase",t)}function Uppercase(e,t={}){return Intrinsic(e,"Uppercase",t)}function src_Iterator(e,t){return CreateType({[E]:"Iterator",type:"Iterator",items:e},t)}function keyof_from_mapped_result_FromProperties(e,t){const r={};for(const n of globalThis.Object.getOwnPropertyNames(e))r[n]=KeyOf(e[n],Clone(t));return r}function keyof_from_mapped_result_FromMappedResult(e,t){return keyof_from_mapped_result_FromProperties(e.properties,t)}function KeyOfFromMappedResult(e,t){const r=keyof_from_mapped_result_FromMappedResult(e,t);return MappedResult(r)}function keyof_FromComputed(e,t){return Computed("KeyOf",[Computed(e,t)])}function keyof_FromRef(e){return Computed("KeyOf",[Ref(e)])}function KeyOfFromType(e,t){const r=KeyOfPropertyKeys(e);const n=KeyOfPropertyKeysToRest(r);const s=UnionEvaluated(n);return CreateType(s,t)}function KeyOfPropertyKeysToRest(e){return e.map((e=>e==="[number]"?number_Number():Literal(e)))}function KeyOf(e,t){return IsComputed(e)?keyof_FromComputed(e.target,e.parameters):IsRef(e)?keyof_FromRef(e.$ref):IsMappedResult(e)?KeyOfFromMappedResult(e,t):KeyOfFromType(e,t)}function promise_Promise(e,t){return CreateType({[E]:"Promise",type:"Promise",item:e},t)}function mapped_FromMappedResult(e,t){return e in t?FromSchemaType(e,t[e]):MappedResult(t)}function MappedKeyToKnownMappedResultProperties(e){return{[e]:Literal(e)}}function MappedKeyToUnknownMappedResultProperties(e){const t={};for(const r of e)t[r]=Literal(r);return t}function MappedKeyToMappedResultProperties(e,t){return SetIncludes(t,e)?MappedKeyToKnownMappedResultProperties(e):MappedKeyToUnknownMappedResultProperties(t)}function mapped_FromMappedKey(e,t){const r=MappedKeyToMappedResultProperties(e,t);return mapped_FromMappedResult(e,r)}function mapped_FromRest(e,t){return t.map((t=>FromSchemaType(e,t)))}function mapped_FromProperties(e,t){const r={};for(const n of globalThis.Object.getOwnPropertyNames(t))r[n]=FromSchemaType(e,t[n]);return r}function FromSchemaType(e,t){const r={...t};return IsOptional(t)?Optional(FromSchemaType(e,Discard(t,[g]))):IsReadonly(t)?Readonly(FromSchemaType(e,Discard(t,[d]))):IsMappedResult(t)?mapped_FromMappedResult(e,t.properties):IsMappedKey(t)?mapped_FromMappedKey(e,t.keys):IsConstructor(t)?Constructor(mapped_FromRest(e,t.parameters),FromSchemaType(e,t.returns),r):kind_IsFunction(t)?function_Function(mapped_FromRest(e,t.parameters),FromSchemaType(e,t.returns),r):kind_IsAsyncIterator(t)?src_AsyncIterator(FromSchemaType(e,t.items),r):kind_IsIterator(t)?src_Iterator(FromSchemaType(e,t.items),r):IsIntersect(t)?Intersect(mapped_FromRest(e,t.allOf),r):IsUnion(t)?Union(mapped_FromRest(e,t.anyOf),r):IsTuple(t)?Tuple(mapped_FromRest(e,t.items??[]),r):kind_IsObject(t)?I(mapped_FromProperties(e,t.properties),r):kind_IsArray(t)?array_Array(FromSchemaType(e,t.items),r):kind_IsPromise(t)?promise_Promise(FromSchemaType(e,t.item),r):t}function MappedFunctionReturnType(e,t){const r={};for(const n of e)r[n]=FromSchemaType(n,t);return r}function Mapped(e,t,r){const n=IsSchema(e)?IndexPropertyKeys(e):e;const s=t({[E]:"MappedKey",keys:n});const o=MappedFunctionReturnType(n,s);return I(o,r)}function omit_from_mapped_key_FromPropertyKey(e,t,r){return{[t]:Omit(e,[t],Clone(r))}}function omit_from_mapped_key_FromPropertyKeys(e,t,r){return t.reduce(((t,n)=>({...t,...omit_from_mapped_key_FromPropertyKey(e,n,r)})),{})}function omit_from_mapped_key_FromMappedKey(e,t,r){return omit_from_mapped_key_FromPropertyKeys(e,t.keys,r)}function OmitFromMappedKey(e,t,r){const n=omit_from_mapped_key_FromMappedKey(e,t,r);return MappedResult(n)}function omit_from_mapped_result_FromProperties(e,t,r){const n={};for(const s of globalThis.Object.getOwnPropertyNames(e))n[s]=Omit(e[s],t,Clone(r));return n}function omit_from_mapped_result_FromMappedResult(e,t,r){return omit_from_mapped_result_FromProperties(e.properties,t,r)}function OmitFromMappedResult(e,t,r){const n=omit_from_mapped_result_FromMappedResult(e,t,r);return MappedResult(n)}function omit_FromIntersect(e,t){return e.map((e=>OmitResolve(e,t)))}function omit_FromUnion(e,t){return e.map((e=>OmitResolve(e,t)))}function omit_FromProperty(e,t){const{[t]:r,...n}=e;return n}function omit_FromProperties(e,t){return t.reduce(((e,t)=>omit_FromProperty(e,t)),e)}function omit_FromObject(e,t){const r=Discard(e,[p,"$id","required","properties"]);const n=omit_FromProperties(e["properties"],t);return I(n,r)}function omit_UnionFromPropertyKeys(e){const t=e.reduce(((e,t)=>IsLiteralValue(t)?[...e,Literal(t)]:e),[]);return Union(t)}function OmitResolve(e,t){return IsIntersect(e)?Intersect(omit_FromIntersect(e.allOf,t)):IsUnion(e)?Union(omit_FromUnion(e.anyOf,t)):kind_IsObject(e)?omit_FromObject(e,t):I({})}function Omit(e,t,r){const n=value_IsArray(t)?omit_UnionFromPropertyKeys(t):t;const s=IsSchema(t)?IndexPropertyKeys(t):t;const o=IsRef(e);const i=IsRef(t);return IsMappedResult(e)?OmitFromMappedResult(e,s,r):IsMappedKey(t)?OmitFromMappedKey(e,t,r):o&&i?Computed("Omit",[e,n],r):!o&&i?Computed("Omit",[e,n],r):o&&!i?Computed("Omit",[e,n],r):CreateType({...OmitResolve(e,s),...r})}function pick_from_mapped_key_FromPropertyKey(e,t,r){return{[t]:Pick(e,[t],Clone(r))}}function pick_from_mapped_key_FromPropertyKeys(e,t,r){return t.reduce(((t,n)=>({...t,...pick_from_mapped_key_FromPropertyKey(e,n,r)})),{})}function pick_from_mapped_key_FromMappedKey(e,t,r){return pick_from_mapped_key_FromPropertyKeys(e,t.keys,r)}function PickFromMappedKey(e,t,r){const n=pick_from_mapped_key_FromMappedKey(e,t,r);return MappedResult(n)}function pick_from_mapped_result_FromProperties(e,t,r){const n={};for(const s of globalThis.Object.getOwnPropertyNames(e))n[s]=Pick(e[s],t,Clone(r));return n}function pick_from_mapped_result_FromMappedResult(e,t,r){return pick_from_mapped_result_FromProperties(e.properties,t,r)}function PickFromMappedResult(e,t,r){const n=pick_from_mapped_result_FromMappedResult(e,t,r);return MappedResult(n)}function pick_FromIntersect(e,t){return e.map((e=>PickResolve(e,t)))}function pick_FromUnion(e,t){return e.map((e=>PickResolve(e,t)))}function pick_FromProperties(e,t){const r={};for(const n of t)if(n in e)r[n]=e[n];return r}function pick_FromObject(e,t){const r=Discard(e,[p,"$id","required","properties"]);const n=pick_FromProperties(e["properties"],t);return I(n,r)}function pick_UnionFromPropertyKeys(e){const t=e.reduce(((e,t)=>IsLiteralValue(t)?[...e,Literal(t)]:e),[]);return Union(t)}function PickResolve(e,t){return IsIntersect(e)?Intersect(pick_FromIntersect(e.allOf,t)):IsUnion(e)?Union(pick_FromUnion(e.anyOf,t)):kind_IsObject(e)?pick_FromObject(e,t):I({})}function Pick(e,t,r){const n=value_IsArray(t)?pick_UnionFromPropertyKeys(t):t;const s=IsSchema(t)?IndexPropertyKeys(t):t;const o=IsRef(e);const i=IsRef(t);return IsMappedResult(e)?PickFromMappedResult(e,s,r):IsMappedKey(t)?PickFromMappedKey(e,t,r):o&&i?Computed("Pick",[e,n],r):!o&&i?Computed("Pick",[e,n],r):o&&!i?Computed("Pick",[e,n],r):CreateType({...PickResolve(e,s),...r})}function partial_from_mapped_result_FromProperties(e,t){const r={};for(const n of globalThis.Object.getOwnPropertyNames(e))r[n]=Partial(e[n],Clone(t));return r}function partial_from_mapped_result_FromMappedResult(e,t){return partial_from_mapped_result_FromProperties(e.properties,t)}function PartialFromMappedResult(e,t){const r=partial_from_mapped_result_FromMappedResult(e,t);return MappedResult(r)}function partial_FromComputed(e,t){return Computed("Partial",[Computed(e,t)])}function partial_FromRef(e){return Computed("Partial",[Ref(e)])}function partial_FromProperties(e){const t={};for(const r of globalThis.Object.getOwnPropertyNames(e))t[r]=Optional(e[r]);return t}function partial_FromObject(e){const t=Discard(e,[p,"$id","required","properties"]);const r=partial_FromProperties(e["properties"]);return I(r,t)}function partial_FromRest(e){return e.map((e=>PartialResolve(e)))}function PartialResolve(e){return IsComputed(e)?partial_FromComputed(e.target,e.parameters):IsRef(e)?partial_FromRef(e.$ref):IsIntersect(e)?Intersect(partial_FromRest(e.allOf)):IsUnion(e)?Union(partial_FromRest(e.anyOf)):kind_IsObject(e)?partial_FromObject(e):I({})}function Partial(e,t){if(IsMappedResult(e)){return PartialFromMappedResult(e,t)}else{return CreateType({...PartialResolve(e),...t})}}function RecordCreateFromPattern(e,t,r){return CreateType({[E]:"Record",type:"object",patternProperties:{[e]:t}},r)}function RecordCreateFromKeys(e,t,r){const n={};for(const r of e)n[r]=t;return I(n,{...r,[h]:"Record"})}function FromTemplateLiteralKey(e,t,r){return IsTemplateLiteralFinite(e)?RecordCreateFromKeys(IndexPropertyKeys(e),t,r):RecordCreateFromPattern(e.pattern,t,r)}function FromUnionKey(e,t,r){return RecordCreateFromKeys(IndexPropertyKeys(Union(e)),t,r)}function FromLiteralKey(e,t,r){return RecordCreateFromKeys([e.toString()],t,r)}function FromRegExpKey(e,t,r){return RecordCreateFromPattern(e.source,t,r)}function FromStringKey(e,t,r){const n=value_IsUndefined(e.pattern)?w:e.pattern;return RecordCreateFromPattern(n,t,r)}function FromAnyKey(e,t,r){return RecordCreateFromPattern(w,t,r)}function FromNeverKey(e,t,r){return RecordCreateFromPattern(v,t,r)}function FromIntegerKey(e,t,r){return RecordCreateFromPattern(T,t,r)}function FromNumberKey(e,t,r){return RecordCreateFromPattern(T,t,r)}function Record(e,t,r={}){return IsRef(t)?Computed("Record",[e,t]):IsRef(e)?Computed("Record",[e,t]):IsUnion(e)?FromUnionKey(e.anyOf,t,r):IsTemplateLiteral(e)?FromTemplateLiteralKey(e,t,r):IsLiteral(e)?FromLiteralKey(e.const,t,r):kind_IsInteger(e)?FromIntegerKey(e,t,r):kind_IsNumber(e)?FromNumberKey(e,t,r):kind_IsRegExp(e)?FromRegExpKey(e,t,r):kind_IsString(e)?FromStringKey(e,t,r):IsAny(e)?FromAnyKey(e,t,r):IsNever(e)?FromNeverKey(e,t,r):Never(r)}function required_from_mapped_result_FromProperties(e,t){const r={};for(const n of globalThis.Object.getOwnPropertyNames(e))r[n]=Required(e[n],t);return r}function required_from_mapped_result_FromMappedResult(e,t){return required_from_mapped_result_FromProperties(e.properties,t)}function RequiredFromMappedResult(e,t){const r=required_from_mapped_result_FromMappedResult(e,t);return MappedResult(r)}function required_FromComputed(e,t){return Computed("Required",[Computed(e,t)])}function required_FromRef(e){return Computed("Required",[Ref(e)])}function required_FromProperties(e){const t={};for(const r of globalThis.Object.getOwnPropertyNames(e))t[r]=Discard(e[r],[g]);return t}function required_FromObject(e){const t=Discard(e,[p,"$id","required","properties"]);const r=required_FromProperties(e["properties"]);return I(r,t)}function required_FromRest(e){return e.map((e=>RequiredResolve(e)))}function RequiredResolve(e){return IsComputed(e)?required_FromComputed(e.target,e.parameters):IsRef(e)?required_FromRef(e.$ref):IsIntersect(e)?Intersect(required_FromRest(e.allOf)):IsUnion(e)?Union(required_FromRest(e.anyOf)):kind_IsObject(e)?required_FromObject(e):I({})}function Required(e,t){if(IsMappedResult(e)){return RequiredFromMappedResult(e,t)}else{return CreateType({...RequiredResolve(e),...t})}}function DerefParameters(e,t){return t.map((t=>IsRef(t)?Deref(e,t.$ref):compute_FromType(e,t)))}function Deref(e,t){return t in e?IsRef(e[t])?Deref(e,e[t].$ref):compute_FromType(e,e[t]):Never()}function FromAwaited(e){return Awaited(e[0])}function FromIndex(e){return Index(e[0],e[1])}function FromKeyOf(e){return KeyOf(e[0])}function FromPartial(e){return Partial(e[0])}function FromOmit(e){return Omit(e[0],e[1])}function FromPick(e){return Pick(e[0],e[1])}function compute_FromRecord(e){return Record(e[0],e[1])}function FromRequired(e){return Required(e[0])}function compute_FromComputed(e,t,r){const n=DerefParameters(e,r);return t==="Awaited"?FromAwaited(n):t==="Index"?FromIndex(n):t==="KeyOf"?FromKeyOf(n):t==="Partial"?FromPartial(n):t==="Omit"?FromOmit(n):t==="Pick"?FromPick(n):t==="Record"?compute_FromRecord(n):t==="Required"?FromRequired(n):Never()}function compute_FromObject(e,t){return I(globalThis.Object.keys(t).reduce(((r,n)=>({...r,[n]:compute_FromType(e,t[n])})),{}))}function compute_FromConstructor(e,t,r){return Constructor(compute_FromRest(e,t),compute_FromType(e,r))}function compute_FromFunction(e,t,r){return function_Function(compute_FromRest(e,t),compute_FromType(e,r))}function compute_FromTuple(e,t){return Tuple(compute_FromRest(e,t))}function compute_FromIntersect(e,t){return Intersect(compute_FromRest(e,t))}function compute_FromUnion(e,t){return Union(compute_FromRest(e,t))}function compute_FromArray(e,t){return array_Array(compute_FromType(e,t))}function compute_FromAsyncIterator(e,t){return src_AsyncIterator(compute_FromType(e,t))}function compute_FromIterator(e,t){return src_Iterator(compute_FromType(e,t))}function compute_FromRest(e,t){return t.map((t=>compute_FromType(e,t)))}function compute_FromType(e,t){return IsComputed(t)?CreateType(compute_FromComputed(e,t.target,t.parameters)):kind_IsObject(t)?CreateType(compute_FromObject(e,t.properties),t):IsConstructor(t)?CreateType(compute_FromConstructor(e,t.parameters,t.returns),t):kind_IsFunction(t)?CreateType(compute_FromFunction(e,t.parameters,t.returns),t):IsTuple(t)?CreateType(compute_FromTuple(e,t.items||[]),t):IsIntersect(t)?CreateType(compute_FromIntersect(e,t.allOf),t):IsUnion(t)?CreateType(compute_FromUnion(e,t.anyOf),t):kind_IsArray(t)?CreateType(compute_FromArray(e,t.items),t):kind_IsAsyncIterator(t)?CreateType(compute_FromAsyncIterator(e,t.items),t):kind_IsIterator(t)?CreateType(compute_FromIterator(e,t.items),t):t}function ComputeType(e,t){return t in e?compute_FromType(e,e[t]):Never()}function ComputeModuleProperties(e){return globalThis.Object.getOwnPropertyNames(e).reduce(((t,r)=>({...t,[r]:ComputeType(e,r)})),{})}class TModule{constructor(e){const t=ComputeModuleProperties(e);const r=this.WithIdentifiers(t);this.$defs=r}Import(e,t){return CreateType({[E]:"Import",$defs:this.$defs,$ref:e},t)}WithIdentifiers(e){return globalThis.Object.getOwnPropertyNames(e).reduce(((t,r)=>({...t,[r]:{...e[r],$id:r}})),{})}}function Module(e){return new TModule(e)}function Not(e,t){return CreateType({[E]:"Not",not:e},t)}function Parameters(e,t){return Tuple(e.parameters,t)}function ReadonlyOptional(e){return Readonly(Optional(e))}function CloneRest(e){return e.map((e=>CloneType(e)))}function CloneType(e,t){return t===undefined?Clone(e):Clone({...t,...e})}let D=0;function Recursive(e,t={}){if(value_IsUndefined(t.$id))t.$id=`T${D++}`;const r=CloneType(e({[E]:"This",$ref:`${t.$id}`}));r.$id=t.$id;return CreateType({[h]:"Recursive",...r},t)}function regexp_RegExp(e,t){const r=value_IsString(e)?new globalThis.RegExp(e):e;return CreateType({[E]:"RegExp",type:"RegExp",source:r.source,flags:r.flags},t)}function RestResolve(e){return IsIntersect(e)?e.allOf:IsUnion(e)?e.anyOf:IsTuple(e)?e.items??[]:[]}function Rest(e){return RestResolve(e)}function ReturnType(e,t){return CreateType(e.returns,t)}class TransformDecodeBuilder{constructor(e){this.schema=e}Decode(e){return new TransformEncodeBuilder(this.schema,e)}}class TransformEncodeBuilder{constructor(e,t){this.schema=e;this.decode=t}EncodeTransform(e,t){const Encode=r=>t[p].Encode(e(r));const Decode=e=>this.decode(t[p].Decode(e));const r={Encode:Encode,Decode:Decode};return{...t,[p]:r}}EncodeSchema(e,t){const r={Decode:this.decode,Encode:e};return{...t,[p]:r}}Encode(e){return IsTransform(this.schema)?this.EncodeTransform(e,this.schema):this.EncodeSchema(e,this.schema)}}function Transform(e){return new TransformDecodeBuilder(e)}function Unsafe(e={}){return CreateType({[E]:e[E]??"Unsafe"},e)}function Void(e){return CreateType({[E]:"Void",type:"void"},e)}const _=s;var parseBody=async(e,t=Object.create(null))=>{const{all:r=false,dot:n=false}=t;const s=e instanceof O?e.raw.headers:e.headers;const o=s.get("Content-Type");if(o?.startsWith("multipart/form-data")||o?.startsWith("application/x-www-form-urlencoded")){return parseFormData(e,{all:r,dot:n})}return{}};async function parseFormData(e,t){const r=await e.formData();if(r){return convertFormDataToBodyData(r,t)}return{}}function convertFormDataToBodyData(e,t){const r=Object.create(null);e.forEach(((e,n)=>{const s=t.all||n.endsWith("[]");if(!s){r[n]=e}else{handleParsingAllValues(r,n,e)}}));if(t.dot){Object.entries(r).forEach((([e,t])=>{const n=e.includes(".");if(n){handleParsingNestedValues(r,e,t);delete r[e]}}))}return r}var handleParsingAllValues=(e,t,r)=>{if(e[t]!==void 0){if(Array.isArray(e[t])){e[t].push(r)}else{e[t]=[e[t],r]}}else{e[t]=r}};var handleParsingNestedValues=(e,t,r)=>{let n=e;const s=t.split(".");s.forEach(((e,t)=>{if(t===s.length-1){n[e]=r}else{if(!n[e]||typeof n[e]!=="object"||Array.isArray(n[e])||n[e]instanceof File){n[e]=Object.create(null)}n=n[e]}}))};var splitPath=e=>{const t=e.split("/");if(t[0]===""){t.shift()}return t};var splitRoutingPath=e=>{const{groups:t,path:r}=extractGroupsFromPath(e);const n=splitPath(r);return replaceGroupMarks(n,t)};var extractGroupsFromPath=e=>{const t=[];e=e.replace(/\{[^}]+\}/g,((e,r)=>{const n=`@${r}`;t.push([n,e]);return n}));return{groups:t,path:e}};var replaceGroupMarks=(e,t)=>{for(let r=t.length-1;r>=0;r--){const[n]=t[r];for(let s=e.length-1;s>=0;s--){if(e[s].includes(n)){e[s]=e[s].replace(n,t[r][1]);break}}}return e};var S={};var getPattern=e=>{if(e==="*"){return"*"}const t=e.match(/^\:([^\{\}]+)(?:\{(.+)\})?$/);if(t){if(!S[e]){if(t[2]){S[e]=[e,t[1],new RegExp("^"+t[2]+"$")]}else{S[e]=[e,t[1],true]}}return S[e]}return null};var tryDecode=(e,t)=>{try{return t(e)}catch{return e.replace(/(?:%[0-9A-Fa-f]{2})+/g,(e=>{try{return t(e)}catch{return e}}))}};var tryDecodeURI=e=>tryDecode(e,decodeURI);var getPath=e=>{const t=e.url;const r=t.indexOf("/",8);let n=r;for(;n{const t=e.indexOf("?",8);return t===-1?"":"?"+e.slice(t+1)};var getPathNoStrict=e=>{const t=getPath(e);return t.length>1&&t[t.length-1]==="/"?t.slice(0,-1):t};var mergePath=(...e)=>{let t="";let r=false;for(let n of e){if(t[t.length-1]==="/"){t=t.slice(0,-1);r=true}if(n[0]!=="/"){n=`/${n}`}if(n==="/"&&r){t=`${t}/`}else if(n!=="/"){t=`${t}${n}`}if(n==="/"&&t===""){t="/"}}return t};var checkOptionalParameter=e=>{if(!e.match(/\:.+\?$/)){return null}const t=e.split("/");const r=[];let n="";t.forEach((e=>{if(e!==""&&!/\:/.test(e)){n+="/"+e}else if(/\:/.test(e)){if(/\?/.test(e)){if(r.length===0&&n===""){r.push("/")}else{r.push(n)}const t=e.replace("?","");n+="/"+t;r.push(n)}else{n+="/"+e}}}));return r.filter(((e,t,r)=>r.indexOf(e)===t))};var _decodeURI=e=>{if(!/[%+]/.test(e)){return e}if(e.indexOf("+")!==-1){e=e.replace(/\+/g," ")}return e.indexOf("%")!==-1?N(e):e};var _getQueryParam=(e,t,r)=>{let n;if(!r&&t&&!/[%+]/.test(t)){let r=e.indexOf(`?${t}`,8);if(r===-1){r=e.indexOf(`&${t}`,8)}while(r!==-1){const n=e.charCodeAt(r+t.length+1);if(n===61){const n=r+t.length+2;const s=e.indexOf("&",n);return _decodeURI(e.slice(n,s===-1?void 0:s))}else if(n==38||isNaN(n)){return""}r=e.indexOf(`&${t}`,r+1)}n=/[%+]/.test(e);if(!n){return void 0}}const s={};n??=/[%+]/.test(e);let o=e.indexOf("?",8);while(o!==-1){const t=e.indexOf("&",o+1);let i=e.indexOf("=",o);if(i>t&&t!==-1){i=-1}let a=e.slice(o+1,i===-1?t===-1?void 0:t:i);if(n){a=_decodeURI(a)}o=t;if(a===""){continue}let A;if(i===-1){A=""}else{A=e.slice(i+1,t===-1?void 0:t);if(n){A=_decodeURI(A)}}if(r){if(!(s[a]&&Array.isArray(s[a]))){s[a]=[]}s[a].push(A)}else{s[a]??=A}}return t?s[t]:s};var F=_getQueryParam;var getQueryParams=(e,t)=>_getQueryParam(e,t,true);var N=decodeURIComponent;var tryDecodeURIComponent=e=>tryDecode(e,N);var O=class{raw;#h;#E;routeIndex=0;path;bodyCache={};constructor(e,t="/",r=[[]]){this.raw=e;this.path=t;this.#E=r;this.#h={}}param(e){return e?this.#m(e):this.#I()}#m(e){const t=this.#E[0][this.routeIndex][1][e];const r=this.#y(t);return r?/\%/.test(r)?tryDecodeURIComponent(r):r:void 0}#I(){const e={};const t=Object.keys(this.#E[0][this.routeIndex][1]);for(const r of t){const t=this.#y(this.#E[0][this.routeIndex][1][r]);if(t&&typeof t==="string"){e[r]=/\%/.test(t)?tryDecodeURIComponent(t):t}}return e}#y(e){return this.#E[1]?this.#E[1][e]:e}query(e){return F(this.url,e)}queries(e){return getQueryParams(this.url,e)}header(e){if(e){return this.raw.headers.get(e.toLowerCase())??void 0}const t={};this.raw.headers.forEach(((e,r)=>{t[r]=e}));return t}async parseBody(e){return this.bodyCache.parsedBody??=await parseBody(this,e)}#C=e=>{const{bodyCache:t,raw:r}=this;const n=t[e];if(n){return n}const s=Object.keys(t)[0];if(s){return t[s].then((t=>{if(s==="json"){t=JSON.stringify(t)}return new Response(t)[e]()}))}return t[e]=r[e]()};json(){return this.#C("json")}text(){return this.#C("text")}arrayBuffer(){return this.#C("arrayBuffer")}blob(){return this.#C("blob")}formData(){return this.#C("formData")}addValidatedData(e,t){this.#h[e]=t}valid(e){return this.#h[e]}get url(){return this.raw.url}get method(){return this.raw.method}get matchedRoutes(){return this.#E[0].map((([[,e]])=>e))}get routePath(){return this.#E[0].map((([[,e]])=>e))[this.routeIndex].path}};var L={Stringify:1,BeforeStream:2,Stream:3};var raw=(e,t)=>{const r=new String(e);r.isEscaped=true;r.callbacks=t;return r};var U=/[&<>'"]/;var stringBufferToString=async(e,t)=>{let r="";t||=[];const n=await Promise.all(e);for(let e=n.length-1;;e--){r+=n[e];e--;if(e<0){break}let s=n[e];if(typeof s==="object"){t.push(...s.callbacks||[])}const o=s.isEscaped;s=await(typeof s==="object"?s.toString():s);if(typeof s==="object"){t.push(...s.callbacks||[])}if(s.isEscaped??o){r+=s}else{const e=[r];escapeToBuffer(s,e);r=e[0]}}return raw(r,t)};var escapeToBuffer=(e,t)=>{const r=e.search(U);if(r===-1){t[0]+=e;return}let n;let s;let o=0;for(s=r;s{const t=e.callbacks;if(!t?.length){return e}const r=[e];const n={};t.forEach((e=>e({phase:L.Stringify,buffer:r,context:n})));return r[0]};var resolveCallback=async(e,t,r,n,s)=>{if(typeof e==="object"&&!(e instanceof String)){if(!(e instanceof Promise)){e=e.toString()}if(e instanceof Promise){e=await e}}const o=e.callbacks;if(!o?.length){return Promise.resolve(e)}if(s){s[0]+=e}else{s=[e]}const i=Promise.all(o.map((e=>e({phase:t,buffer:s,context:n})))).then((e=>Promise.all(e.filter(Boolean).map((e=>resolveCallback(e,t,false,n,s)))).then((()=>s[0]))));if(r){return raw(await i,o)}else{return i}};var G="text/plain; charset=UTF-8";var setHeaders=(e,t={})=>{for(const r of Object.keys(t)){e.set(r,t[r])}return e};var P=class{#Q;#B;env={};#b;finalized=false;error;#T=200;#w;#v;#R;#k;#D=true;#_;#S;#F;#E;#N;constructor(e,t){this.#Q=e;if(t){this.#w=t.executionCtx;this.env=t.env;this.#F=t.notFoundHandler;this.#N=t.path;this.#E=t.matchResult}}get req(){this.#B??=new O(this.#Q,this.#N,this.#E);return this.#B}get event(){if(this.#w&&"respondWith"in this.#w){return this.#w}else{throw Error("This context has no FetchEvent")}}get executionCtx(){if(this.#w){return this.#w}else{throw Error("This context has no ExecutionContext")}}get res(){this.#D=false;return this.#k||=new Response("404 Not Found",{status:404})}set res(e){this.#D=false;if(this.#k&&e){try{for(const[t,r]of this.#k.headers.entries()){if(t==="content-type"){continue}if(t==="set-cookie"){const t=this.#k.headers.getSetCookie();e.headers.delete("set-cookie");for(const r of t){e.headers.append("set-cookie",r)}}else{e.headers.set(t,r)}}}catch(t){if(t instanceof TypeError&&t.message.includes("immutable")){this.res=new Response(e.body,{headers:e.headers,status:e.status});return}else{throw t}}}this.#k=e;this.finalized=true}render=(...e)=>{this.#S??=e=>this.html(e);return this.#S(...e)};setLayout=e=>this.#_=e;getLayout=()=>this.#_;setRenderer=e=>{this.#S=e};header=(e,t,r)=>{if(t===void 0){if(this.#v){this.#v.delete(e)}else if(this.#R){delete this.#R[e.toLocaleLowerCase()]}if(this.finalized){this.res.headers.delete(e)}return}if(r?.append){if(!this.#v){this.#D=false;this.#v=new Headers(this.#R);this.#R={}}this.#v.append(e,t)}else{if(this.#v){this.#v.set(e,t)}else{this.#R??={};this.#R[e.toLowerCase()]=t}}if(this.finalized){if(r?.append){this.res.headers.append(e,t)}else{this.res.headers.set(e,t)}}};status=e=>{this.#D=false;this.#T=e};set=(e,t)=>{this.#b??=new Map;this.#b.set(e,t)};get=e=>this.#b?this.#b.get(e):void 0;get var(){if(!this.#b){return{}}return Object.fromEntries(this.#b)}#O(e,t,r){if(this.#D&&!r&&!t&&this.#T===200){return new Response(e,{headers:this.#R})}if(t&&typeof t!=="number"){const r=new Headers(t.headers);if(this.#v){this.#v.forEach(((e,t)=>{if(t==="set-cookie"){r.append(t,e)}else{r.set(t,e)}}))}const n=setHeaders(r,this.#R);return new Response(e,{headers:n,status:t.status??this.#T})}const n=typeof t==="number"?t:this.#T;this.#R??={};this.#v??=new Headers;setHeaders(this.#v,this.#R);if(this.#k){this.#k.headers.forEach(((e,t)=>{if(t==="set-cookie"){this.#v?.append(t,e)}else{this.#v?.set(t,e)}}));setHeaders(this.#v,this.#R)}r??={};for(const[e,t]of Object.entries(r)){if(typeof t==="string"){this.#v.set(e,t)}else{this.#v.delete(e);for(const r of t){this.#v.append(e,r)}}}return new Response(e,{status:n,headers:this.#v})}newResponse=(...e)=>this.#O(...e);body=(e,t,r)=>typeof t==="number"?this.#O(e,t,r):this.#O(e,t);text=(e,t,r)=>{if(!this.#R){if(this.#D&&!r&&!t){return new Response(e)}this.#R={}}this.#R["content-type"]=G;return typeof t==="number"?this.#O(e,t,r):this.#O(e,t)};json=(e,t,r)=>{const n=JSON.stringify(e);this.#R??={};this.#R["content-type"]="application/json; charset=UTF-8";return typeof t==="number"?this.#O(n,t,r):this.#O(n,t)};html=(e,t,r)=>{this.#R??={};this.#R["content-type"]="text/html; charset=UTF-8";if(typeof e==="object"){return resolveCallback(e,L.Stringify,false,{}).then((e=>typeof t==="number"?this.#O(e,t,r):this.#O(e,t)))}return typeof t==="number"?this.#O(e,t,r):this.#O(e,t)};redirect=(e,t)=>{this.#v??=new Headers;this.#v.set("Location",String(e));return this.newResponse(null,t??302)};notFound=()=>{this.#F??=()=>new Response;return this.#F(this)}};var compose=(e,t,r)=>(n,s)=>{let o=-1;const i=n instanceof P;return dispatch(0);async function dispatch(a){if(a<=o){throw new Error("next() called multiple times")}o=a;let A;let c=false;let u;if(e[a]){u=e[a][0][0];if(i){n.req.routeIndex=a}}else{u=a===e.length&&s||void 0}if(!u){if(i&&n.finalized===false&&r){A=await r(n)}}else{try{A=await u(n,(()=>dispatch(a+1)))}catch(e){if(e instanceof Error&&i&&t){n.error=e;A=await t(e,n);c=true}else{throw e}}}if(A&&(n.finalized===false||c)){n.res=A}return n}};var M="ALL";var x="all";var V=["get","post","put","delete","options","patch"];var j="Can not add a route since the matcher is already built.";var H=class extends Error{};var Y=Symbol("composedHandler");var notFoundHandler=e=>e.text("404 Not Found",404);var errorHandler=(e,t)=>{if("getResponse"in e){return e.getResponse()}console.error(e);return t.text("Internal Server Error",500)};var q=class{get;post;put;delete;options;patch;all;on;use;router;getPath;_basePath="/";#N="/";routes=[];constructor(e={}){const t=[...V,x];t.forEach((e=>{this[e]=(t,...r)=>{if(typeof t==="string"){this.#N=t}else{this.#L(e,this.#N,t)}r.forEach((t=>{this.#L(e,this.#N,t)}));return this}}));this.on=(e,t,...r)=>{for(const n of[t].flat()){this.#N=n;for(const t of[e].flat()){r.map((e=>{this.#L(t.toUpperCase(),this.#N,e)}))}}return this};this.use=(e,...t)=>{if(typeof e==="string"){this.#N=e}else{this.#N="*";t.unshift(e)}t.forEach((e=>{this.#L(M,this.#N,e)}));return this};const r=e.strict??true;delete e.strict;Object.assign(this,e);this.getPath=r?e.getPath??getPath:getPathNoStrict}#U(){const e=new q({router:this.router,getPath:this.getPath});e.routes=this.routes;return e}#F=notFoundHandler;errorHandler=errorHandler;route(e,t){const r=this.basePath(e);t.routes.map((e=>{let n;if(t.errorHandler===errorHandler){n=e.handler}else{n=async(r,n)=>(await compose([],t.errorHandler)(r,(()=>e.handler(r,n)))).res;n[Y]=e.handler}r.#L(e.method,e.path,n)}));return this}basePath(e){const t=this.#U();t._basePath=mergePath(this._basePath,e);return t}onError=e=>{this.errorHandler=e;return this};notFound=e=>{this.#F=e;return this};mount(e,t,r){let n;let s;if(r){if(typeof r==="function"){s=r}else{s=r.optionHandler;n=r.replaceRequest}}const o=s?e=>{const t=s(e);return Array.isArray(t)?t:[t]}:e=>{let t=void 0;try{t=e.executionCtx}catch{}return[e.env,t]};n||=(()=>{const t=mergePath(this._basePath,e);const r=t==="/"?0:t.length;return e=>{const t=new URL(e.url);t.pathname=t.pathname.slice(r)||"/";return new Request(t,e)}})();const handler=async(e,r)=>{const s=await t(n(e.req.raw),...o(e));if(s){return s}await r()};this.#L(M,mergePath(e,"*"),handler);return this}#L(e,t,r){e=e.toUpperCase();t=mergePath(this._basePath,t);const n={path:t,method:e,handler:r};this.router.add(e,t,[r,n]);this.routes.push(n)}#G(e,t){if(e instanceof Error){return this.errorHandler(e,t)}throw e}#P(e,t,r,n){if(n==="HEAD"){return(async()=>new Response(null,await this.#P(e,t,r,"GET")))()}const s=this.getPath(e,{env:r});const o=this.router.match(n,s);const i=new P(e,{path:s,matchResult:o,env:r,executionCtx:t,notFoundHandler:this.#F});if(o[0].length===1){let e;try{e=o[0][0][0][0](i,(async()=>{i.res=await this.#F(i)}))}catch(e){return this.#G(e,i)}return e instanceof Promise?e.then((e=>e||(i.finalized?i.res:this.#F(i)))).catch((e=>this.#G(e,i))):e??this.#F(i)}const a=compose(o[0],this.errorHandler,this.#F);return(async()=>{try{const e=await a(i);if(!e.finalized){throw new Error("Context is not finalized. Did you forget to return a Response object or `await next()`?")}return e.res}catch(e){return this.#G(e,i)}})()}fetch=(e,...t)=>this.#P(e,t[1],t[0],e.method);request=(e,t,r,n)=>{if(e instanceof Request){return this.fetch(t?new Request(e,t):e,r,n)}e=e.toString();return this.fetch(new Request(/^https?:\/\//.test(e)?e:`http://localhost${mergePath("/",e)}`,t),r,n)};fire=()=>{addEventListener("fetch",(e=>{e.respondWith(this.#P(e.request,e,void 0,e.request.method))}))}};var J="[^/]+";var W=".*";var K="(?:|/.*)";var $=Symbol();var z=new Set(".\\+*[^]$()");function compareKey(e,t){if(e.length===1){return t.length===1?ee!==W&&e!==K))){throw $}if(s){return}A=this.#V[t]=new Z;if(e!==""){A.#x=n.varIndex++}}if(!s&&e!==""){r.push([e,A.#x])}}else{A=this.#V[o];if(!A){if(Object.keys(this.#V).some((e=>e.length>1&&e!==W&&e!==K))){throw $}if(s){return}A=this.#V[o]=new Z}}A.insert(i,t,r,n,s)}buildRegExpStr(){const e=Object.keys(this.#V).sort(compareKey);const t=e.map((e=>{const t=this.#V[e];return(typeof t.#x==="number"?`(${e})@${t.#x}`:z.has(e)?`\\${e}`:e)+t.buildRegExpStr()}));if(typeof this.#M==="number"){t.unshift(`#${this.#M}`)}if(t.length===0){return""}if(t.length===1){return t[0]}return"(?:"+t.join("|")+")"}};var X=class{#j={varIndex:0};#H=new Z;insert(e,t,r){const n=[];const s=[];for(let t=0;;){let r=false;e=e.replace(/\{[^}]+\}/g,(e=>{const n=`@\\${t}`;s[t]=[n,e];t++;r=true;return n}));if(!r){break}}const o=e.match(/(?::[^\/]+)|(?:\/\*$)|./g)||[];for(let e=s.length-1;e>=0;e--){const[t]=s[e];for(let r=o.length-1;r>=0;r--){if(o[r].indexOf(t)!==-1){o[r]=o[r].replace(t,s[e][1]);break}}}this.#H.insert(o,t,n,this.#j,r);return n}buildRegExp(){let e=this.#H.buildRegExpStr();if(e===""){return[/^$/,[],[]]}let t=0;const r=[];const n=[];e=e.replace(/#(\d+)|@(\d+)|\.\*\$/g,((e,s,o)=>{if(s!==void 0){r[++t]=Number(s);return"$()"}if(o!==void 0){n[Number(o)]=++t;return""}return""}));return[new RegExp(`^${e}`),r,n]}};var ee=[];var te=[/^$/,[],Object.create(null)];var re=Object.create(null);function buildWildcardRegExp(e){return re[e]??=new RegExp(e==="*"?"":`^${e.replace(/\/\*$|([.\\+*[^\]$()])/g,((e,t)=>t?`\\${t}`:"(?:|/.*)"))}$`)}function clearWildcardRegExpCache(){re=Object.create(null)}function buildMatcherFromPreprocessedRoutes(e){const t=new X;const r=[];if(e.length===0){return te}const n=e.map((e=>[!/\*|\/:/.test(e[0]),...e])).sort((([e,t],[r,n])=>e?1:r?-1:t.length-n.length));const s=Object.create(null);for(let e=0,o=-1,i=n.length;e[e,Object.create(null)])),ee]}else{o++}let c;try{c=t.insert(a,o,i)}catch(e){throw e===$?new H(a):e}if(i){continue}r[o]=A.map((([e,t])=>{const r=Object.create(null);t-=1;for(;t>=0;t--){const[e,n]=c[t];r[e]=n}return[e,r]}))}const[o,i,a]=t.buildRegExp();for(let e=0,t=r.length;et.length-e.length))){if(buildWildcardRegExp(r).test(t)){return[...e[r]]}}return void 0}var ne=class{name="RegExpRouter";#Y;#q;constructor(){this.#Y={[M]:Object.create(null)};this.#q={[M]:Object.create(null)}}add(e,t,r){const n=this.#Y;const s=this.#q;if(!n||!s){throw new Error(j)}if(!n[e]){[n,s].forEach((t=>{t[e]=Object.create(null);Object.keys(t[M]).forEach((r=>{t[e][r]=[...t[M][r]]}))}))}if(t==="/*"){t="*"}const o=(t.match(/\/:/g)||[]).length;if(/\*$/.test(t)){const i=buildWildcardRegExp(t);if(e===M){Object.keys(n).forEach((e=>{n[e][t]||=findMiddleware(n[e],t)||findMiddleware(n[M],t)||[]}))}else{n[e][t]||=findMiddleware(n[e],t)||findMiddleware(n[M],t)||[]}Object.keys(n).forEach((t=>{if(e===M||e===t){Object.keys(n[t]).forEach((e=>{i.test(e)&&n[t][e].push([r,o])}))}}));Object.keys(s).forEach((t=>{if(e===M||e===t){Object.keys(s[t]).forEach((e=>i.test(e)&&s[t][e].push([r,o])))}}));return}const i=checkOptionalParameter(t)||[t];for(let t=0,a=i.length;t{if(e===M||e===i){s[i][A]||=[...findMiddleware(n[i],A)||findMiddleware(n[M],A)||[]];s[i][A].push([r,o-a+t+1])}}))}}match(e,t){clearWildcardRegExpCache();const r=this.#J();this.match=(e,t)=>{const n=r[e]||r[M];const s=n[2][t];if(s){return s}const o=t.match(n[0]);if(!o){return[[],ee]}const i=o.indexOf("",1);return[n[1][i],o]};return this.match(e,t)}#J(){const e=Object.create(null);Object.keys(this.#q).concat(Object.keys(this.#Y)).forEach((t=>{e[t]||=this.#W(t)}));this.#Y=this.#q=void 0;return e}#W(e){const t=[];let r=e===M;[this.#Y,this.#q].forEach((n=>{const s=n[e]?Object.keys(n[e]).map((t=>[t,n[e][t]])):[];if(s.length!==0){r||=true;t.push(...s)}else if(e!==M){t.push(...Object.keys(n[M]).map((e=>[e,n[M][e]])))}}));if(!r){return null}else{return buildMatcherFromPreprocessedRoutes(t)}}};var se=class{name="SmartRouter";#K=[];#q=[];constructor(e){this.#K=e.routers}add(e,t,r){if(!this.#q){throw new Error(j)}this.#q.push([e,t,r])}match(e,t){if(!this.#q){throw new Error("Fatal error")}const r=this.#K;const n=this.#q;const s=r.length;let o=0;let i;for(;or.indexOf(e)===t)),score:this.#Z};i[e]=a;n.#$.push(i);return n}#ee(e,t,r,n){const s=[];for(let o=0,i=e.#$.length;o1){r.sort(((e,t)=>e.score-t.score))}return[r.map((({handler:e,params:t})=>[e,t]))]}};var ie=class{name="TrieRouter";#te;constructor(){this.#te=new oe}add(e,t,r){const n=checkOptionalParameter(t);if(n){for(let t=0,s=n.length;t{const r=globalThis;const n=r?.process?.env;t??=getRuntimeKey();const s={bun:()=>n,node:()=>n,"edge-light":()=>n,deno:()=>Deno.env.toObject(),workerd:()=>e.env,fastly:()=>({}),other:()=>({})};return s[t]()};var Ae={deno:"Deno",bun:"Bun",workerd:"Cloudflare-Workers",node:"Node.js"};var getRuntimeKey=()=>{const e=globalThis;const t=typeof navigator!=="undefined"&&typeof navigator.userAgent==="string";if(t){for(const[e,t]of Object.entries(Ae)){if(checkUserAgentEquals(t)){return e}}}if(typeof e?.EdgeRuntime==="string"){return"edge-light"}if(e?.fastly!==void 0){return"fastly"}if(e?.process?.release?.name==="node"){return"node"}return"other"};var checkUserAgentEquals=e=>{const t=navigator.userAgent;return t.startsWith(e)};var ce=class extends Error{res;status;constructor(e=500,t){super(t?.message,{cause:t?.cause});this.res=t?.res;this.status=e}getResponse(){if(this.res){const e=new Response(this.res.body,{status:this.status,headers:this.res.headers});return e}return new Response(this.message,{status:this.status})}};function getUserAgent(){if(typeof navigator==="object"&&"userAgent"in navigator){return navigator.userAgent}if(typeof process==="object"&&process.version!==undefined){return`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`}return""}function register(e,t,r,n){if(typeof r!=="function"){throw new Error("method for before hook must be a function")}if(!n){n={}}if(Array.isArray(t)){return t.reverse().reduce(((t,r)=>register.bind(null,e,r,t,n)),r)()}return Promise.resolve().then((()=>{if(!e.registry[t]){return r(n)}return e.registry[t].reduce(((e,t)=>t.hook.bind(null,e,n)),r)()}))}function addHook(e,t,r,n){const s=n;if(!e.registry[r]){e.registry[r]=[]}if(t==="before"){n=(e,t)=>Promise.resolve().then(s.bind(null,t)).then(e.bind(null,t))}if(t==="after"){n=(e,t)=>{let r;return Promise.resolve().then(e.bind(null,t)).then((e=>{r=e;return s(r,t)})).then((()=>r))}}if(t==="error"){n=(e,t)=>Promise.resolve().then(e.bind(null,t)).catch((e=>s(e,t)))}e.registry[r].push({hook:n,orig:s})}function removeHook(e,t,r){if(!e.registry[t]){return}const n=e.registry[t].map((e=>e.orig)).indexOf(r);if(n===-1){return}e.registry[t].splice(n,1)}const ue=Function.bind;const le=ue.bind(ue);function bindApi(e,t,r){const n=le(removeHook,null).apply(null,r?[t,r]:[t]);e.api={remove:n};e.remove=n;["before","error","after","wrap"].forEach((n=>{const s=r?[t,n,r]:[t,n];e[n]=e.api[n]=le(addHook,null).apply(null,s)}))}function Singular(){const e=Symbol("Singular");const t={registry:{}};const r=register.bind(null,t,e);bindApi(r,t,e);return r}function Collection(){const e={registry:{}};const t=register.bind(null,e);bindApi(t,e);return t}const pe={Singular:Singular,Collection:Collection};var de="0.0.0-development";var ge=`octokit-endpoint.js/${de} ${getUserAgent()}`;var fe={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":ge},mediaType:{format:""}};function lowercaseKeys(e){if(!e){return{}}return Object.keys(e).reduce(((t,r)=>{t[r.toLowerCase()]=e[r];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 r=Object.prototype.hasOwnProperty.call(t,"constructor")&&t.constructor;return typeof r==="function"&&r instanceof r&&Function.prototype.call(r)===Function.prototype.call(e)}function mergeDeep(e,t){const r=Object.assign({},e);Object.keys(t).forEach((n=>{if(isPlainObject(t[n])){if(!(n in e))Object.assign(r,{[n]:t[n]});else r[n]=mergeDeep(e[n],t[n])}else{Object.assign(r,{[n]:t[n]})}}));return r}function removeUndefinedProperties(e){for(const t in e){if(e[t]===void 0){delete e[t]}}return e}function merge(e,t,r){if(typeof t==="string"){let[e,n]=t.split(" ");r=Object.assign(n?{method:e,url:n}:{url:e},r)}else{r=Object.assign({},t)}r.headers=lowercaseKeys(r.headers);removeUndefinedProperties(r);removeUndefinedProperties(r.headers);const n=mergeDeep(e||{},r);if(r.url==="/graphql"){if(e&&e.mediaType.previews?.length){n.mediaType.previews=e.mediaType.previews.filter((e=>!n.mediaType.previews.includes(e))).concat(n.mediaType.previews)}n.mediaType.previews=(n.mediaType.previews||[]).map((e=>e.replace(/-preview/,"")))}return n}function addQueryParameters(e,t){const r=/\?/.test(e)?"&":"?";const n=Object.keys(t);if(n.length===0){return e}return e+r+n.map((e=>{if(e==="q"){return"q="+t.q.split("+").map(encodeURIComponent).join("+")}return`${e}=${encodeURIComponent(t[e])}`})).join("&")}var he=/\{[^}]+\}/g;function removeNonChars(e){return e.replace(/^\W+|\W+$/g,"").split(/,/)}function extractUrlVariableNames(e){const t=e.match(he);if(!t){return[]}return t.map(removeNonChars).reduce(((e,t)=>e.concat(t)),[])}function omit(e,t){const r={__proto__:null};for(const n of Object.keys(e)){if(t.indexOf(n)===-1){r[n]=e[n]}}return r}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,r){t=e==="+"||e==="#"?encodeReserved(t):encodeUnreserved(t);if(r){return encodeUnreserved(r)+"="+t}else{return t}}function isDefined(e){return e!==void 0&&e!==null}function isKeyOperator(e){return e===";"||e==="&"||e==="?"}function getValues(e,t,r,n){var s=e[r],o=[];if(isDefined(s)&&s!==""){if(typeof s==="string"||typeof s==="number"||typeof s==="boolean"){s=s.toString();if(n&&n!=="*"){s=s.substring(0,parseInt(n,10))}o.push(encodeValue(t,s,isKeyOperator(t)?r:""))}else{if(n==="*"){if(Array.isArray(s)){s.filter(isDefined).forEach((function(e){o.push(encodeValue(t,e,isKeyOperator(t)?r:""))}))}else{Object.keys(s).forEach((function(e){if(isDefined(s[e])){o.push(encodeValue(t,s[e],e))}}))}}else{const e=[];if(Array.isArray(s)){s.filter(isDefined).forEach((function(r){e.push(encodeValue(t,r))}))}else{Object.keys(s).forEach((function(r){if(isDefined(s[r])){e.push(encodeUnreserved(r));e.push(encodeValue(t,s[r].toString()))}}))}if(isKeyOperator(t)){o.push(encodeUnreserved(r)+"="+e.join(","))}else if(e.length!==0){o.push(e.join(","))}}}}else{if(t===";"){if(isDefined(s)){o.push(encodeUnreserved(r))}}else if(s===""&&(t==="&"||t==="?")){o.push(encodeUnreserved(r)+"=")}else if(s===""){o.push("")}}return o}function parseUrl(e){return{expand:expand.bind(null,e)}}function expand(e,t){var r=["+","#",".","/",";","?","&"];e=e.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,(function(e,n,s){if(n){let e="";const s=[];if(r.indexOf(n.charAt(0))!==-1){e=n.charAt(0);n=n.substr(1)}n.split(/,/g).forEach((function(r){var n=/([^:\*]*)(?::(\d+)|(\*))?/.exec(r);s.push(getValues(t,e,n[1],n[2]||n[3]))}));if(e&&e!=="+"){var o=",";if(e==="?"){o="&"}else if(e!=="#"){o=e}return(s.length!==0?e:"")+s.join(o)}else{return s.join(",")}}else{return encodeReserved(s)}}));if(e==="/"){return e}else{return e.replace(/\/$/,"")}}function parse(e){let t=e.method.toUpperCase();let r=(e.url||"/").replace(/:([a-z]\w+)/g,"{$1}");let n=Object.assign({},e.headers);let s;let o=omit(e,["method","baseUrl","url","headers","request","mediaType"]);const i=extractUrlVariableNames(r);r=parseUrl(r).expand(o);if(!/^http/.test(r)){r=e.baseUrl+r}const a=Object.keys(e).filter((e=>i.includes(e))).concat("baseUrl");const A=omit(o,a);const c=/application\/octet-stream/i.test(n.accept);if(!c){if(e.mediaType.format){n.accept=n.accept.split(/,/).map((t=>t.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${e.mediaType.format}`))).join(",")}if(r.endsWith("/graphql")){if(e.mediaType.previews?.length){const t=n.accept.match(/[\w-]+(?=-preview)/g)||[];n.accept=t.concat(e.mediaType.previews).map((t=>{const r=e.mediaType.format?`.${e.mediaType.format}`:"+json";return`application/vnd.github.${t}-preview${r}`})).join(",")}}}if(["GET","HEAD"].includes(t)){r=addQueryParameters(r,A)}else{if("data"in A){s=A.data}else{if(Object.keys(A).length){s=A}}}if(!n["content-type"]&&typeof s!=="undefined"){n["content-type"]="application/json; charset=utf-8"}if(["PATCH","PUT"].includes(t)&&typeof s==="undefined"){s=""}return Object.assign({method:t,url:r,headers:n},typeof s!=="undefined"?{body:s}:null,e.request?{request:e.request}:null)}function endpointWithDefaults(e,t,r){return parse(merge(e,t,r))}function withDefaults(e,t){const r=merge(e,t);const n=endpointWithDefaults.bind(null,r);return Object.assign(n,{DEFAULTS:r,defaults:withDefaults.bind(null,r),merge:merge.bind(null,r),parse:parse})}var Ee=withDefaults(null,fe);class RequestError extends Error{name;status;request;response;constructor(e,t,r){super(e);this.name="HttpError";this.status=Number.parseInt(t);if(Number.isNaN(this.status)){this.status=0}if("response"in r){this.response=r.response}const n=Object.assign({},r.request);if(r.request.headers.authorization){n.headers=Object.assign({},r.request.headers,{authorization:r.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}}var me="0.0.0-development";var Ie={headers:{"user-agent":`octokit-request.js/${me} ${getUserAgent()}`}};function dist_bundle_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 r=Object.prototype.hasOwnProperty.call(t,"constructor")&&t.constructor;return typeof r==="function"&&r instanceof r&&Function.prototype.call(r)===Function.prototype.call(e)}async function fetchWrapper(e){const t=e.request?.fetch||globalThis.fetch;if(!t){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")}const r=e.request?.log||console;const n=e.request?.parseSuccessResponseBody!==false;const s=dist_bundle_isPlainObject(e.body)||Array.isArray(e.body)?JSON.stringify(e.body):e.body;const o=Object.fromEntries(Object.entries(e.headers).map((([e,t])=>[e,String(t)])));let i;try{i=await t(e.url,{method:e.method,body:s,redirect:e.request?.redirect,headers:o,signal:e.request?.signal,...e.body&&{duplex:"half"}})}catch(t){let r="Unknown Error";if(t instanceof Error){if(t.name==="AbortError"){t.status=500;throw t}r=t.message;if(t.name==="TypeError"&&"cause"in t){if(t.cause instanceof Error){r=t.cause.message}else if(typeof t.cause==="string"){r=t.cause}}}const n=new RequestError(r,500,{request:e});n.cause=t;throw n}const a=i.status;const A=i.url;const c={};for(const[e,t]of i.headers){c[e]=t}const u={url:A,status:a,headers:c,data:""};if("deprecation"in c){const t=c.link&&c.link.match(/<([^>]+)>; rel="deprecation"/);const n=t&&t.pop();r.warn(`[@octokit/request] "${e.method} ${e.url}" is deprecated. It is scheduled to be removed on ${c.sunset}${n?`. See ${n}`:""}`)}if(a===204||a===205){return u}if(e.method==="HEAD"){if(a<400){return u}throw new RequestError(i.statusText,a,{response:u,request:e})}if(a===304){u.data=await getResponseData(i);throw new RequestError("Not modified",a,{response:u,request:e})}if(a>=400){u.data=await getResponseData(i);throw new RequestError(toErrorMessage(u.data),a,{response:u,request:e})}u.data=n?await getResponseData(i):i.body;return u}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 e.arrayBuffer()}function toErrorMessage(e){if(typeof e==="string"){return e}if(e instanceof ArrayBuffer){return"Unknown error"}if("message"in e){const t="documentation_url"in e?` - ${e.documentation_url}`:"";return Array.isArray(e.errors)?`${e.message}: ${e.errors.map((e=>JSON.stringify(e))).join(", ")}${t}`:`${e.message}${t}`}return`Unknown error: ${JSON.stringify(e)}`}function dist_bundle_withDefaults(e,t){const r=e.defaults(t);const newApi=function(e,t){const n=r.merge(e,t);if(!n.request||!n.request.hook){return fetchWrapper(r.parse(n))}const request2=(e,t)=>fetchWrapper(r.parse(r.merge(e,t)));Object.assign(request2,{endpoint:r,defaults:dist_bundle_withDefaults.bind(null,r)});return n.request.hook(request2,n)};return Object.assign(newApi,{endpoint:r,defaults:dist_bundle_withDefaults.bind(null,r)})}var ye=dist_bundle_withDefaults(Ee,Ie);var Ce="0.0.0-development";function _buildMessageForResponseErrors(e){return`Request failed due to following response errors:\n`+e.errors.map((e=>` - ${e.message}`)).join("\n")}var Qe=class extends Error{constructor(e,t,r){super(_buildMessageForResponseErrors(r));this.request=e;this.headers=t;this.response=r;this.errors=r.errors;this.data=r.data;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}name="GraphqlResponseError";errors;data};var Be=["method","baseUrl","url","headers","request","query","mediaType"];var be=["query","method","url"];var Te=/\/api\/v3\/?$/;function graphql(e,t,r){if(r){if(typeof t==="string"&&"query"in r){return Promise.reject(new Error(`[@octokit/graphql] "query" cannot be used as variable name`))}for(const e in r){if(!be.includes(e))continue;return Promise.reject(new Error(`[@octokit/graphql] "${e}" cannot be used as variable name`))}}const n=typeof t==="string"?Object.assign({query:t},r):t;const s=Object.keys(n).reduce(((e,t)=>{if(Be.includes(t)){e[t]=n[t];return e}if(!e.variables){e.variables={}}e.variables[t]=n[t];return e}),{});const o=n.baseUrl||e.endpoint.DEFAULTS.baseUrl;if(Te.test(o)){s.url=o.replace(Te,"/api/graphql")}return e(s).then((e=>{if(e.data.errors){const t={};for(const r of Object.keys(e.headers)){t[r]=e.headers[r]}throw new Qe(s,t,e.data)}return e.data.data}))}function graphql_dist_bundle_withDefaults(e,t){const r=e.defaults(t);const newApi=(e,t)=>graphql(r,e,t);return Object.assign(newApi,{defaults:graphql_dist_bundle_withDefaults.bind(null,r),endpoint:r.endpoint})}var we=graphql_dist_bundle_withDefaults(ye,{headers:{"user-agent":`octokit-graphql.js/${Ce} ${getUserAgent()}`},method:"POST",url:"/graphql"});function withCustomRequest(e){return graphql_dist_bundle_withDefaults(e,{method:"POST",url:"/graphql"})}var ve=/^v1\./;var Re=/^ghs_/;var ke=/^ghu_/;async function auth(e){const t=e.split(/\./).length===3;const r=ve.test(e)||Re.test(e);const n=ke.test(e);const s=t?"app":r?"installation":n?"user-to-server":"oauth";return{type:"token",token:e,tokenType:s}}function withAuthorizationPrefix(e){if(e.split(/\./).length===3){return`bearer ${e}`}return`token ${e}`}async function hook(e,t,r,n){const s=t.endpoint.merge(r,n);s.headers.authorization=withAuthorizationPrefix(e);return t(s)}var De=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)})};const _e="6.1.2";const noop=()=>{};const Se=console.warn.bind(console);const Fe=console.error.bind(console);const Ne=`octokit-core.js/${_e} ${getUserAgent()}`;class Octokit{static VERSION=_e;static defaults(e){const t=class extends(this){constructor(...t){const r=t[0]||{};if(typeof e==="function"){super(e(r));return}super(Object.assign({},e,r,r.userAgent&&e.userAgent?{userAgent:`${r.userAgent} ${e.userAgent}`}:null))}};return t}static plugins=[];static plugin(...e){const t=this.plugins;const r=class extends(this){static plugins=t.concat(e.filter((e=>!t.includes(e))))};return r}constructor(e={}){const t=new pe.Collection;const r={baseUrl:ye.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},e.request,{hook:t.bind(null,"request")}),mediaType:{previews:[],format:""}};r.headers["user-agent"]=e.userAgent?`${e.userAgent} ${Ne}`:Ne;if(e.baseUrl){r.baseUrl=e.baseUrl}if(e.previews){r.mediaType.previews=e.previews}if(e.timeZone){r.headers["time-zone"]=e.timeZone}this.request=ye.defaults(r);this.graphql=withCustomRequest(this.request).defaults(r);this.log=Object.assign({debug:noop,info:noop,warn:Se,error:Fe},e.log);this.hook=t;if(!e.authStrategy){if(!e.auth){this.auth=async()=>({type:"unauthenticated"})}else{const r=De(e.auth);t.wrap("request",r.hook);this.auth=r}}else{const{authStrategy:r,...n}=e;const s=r(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:n},e.auth));t.wrap("request",s.hook);this.auth=s}const n=this.constructor;for(let t=0;t({async next(){if(!a)return{done:true};try{const e=await s({method:o,url:a,headers:i});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,r,n){if(typeof r==="function"){n=r;r=void 0}return gather(e,[],iterator(e,t,r)[Symbol.asyncIterator](),n)}function gather(e,t,r,n){return r.next().then((s=>{if(s.done){return t}let o=false;function done(){o=true}t=t.concat(n?n(s.value,done):s.value.data);if(o){return t}return gather(e,t,r,n)}))}var Le=Object.assign(paginate,{iterator:iterator});var Ue=null&&["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}/copilot/usage","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}/copilot/usage","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}/organization-roles/{role_id}/teams","GET /orgs/{org}/organization-roles/{role_id}/users","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}/team/{team_slug}/copilot/usage","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}/environments/{environment_name}/secrets","GET /repos/{owner}/{repo}/environments/{environment_name}/variables","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 /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 Ue.includes(e)}else{return false}}function paginateRest(e){return{paginate:Object.assign(paginate.bind(null,e),{iterator:iterator.bind(null,e)})}}paginateRest.VERSION=Oe;const Ge="13.2.6";const Pe={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 /repos/{owner}/{repo}/environments/{environment_name}/variables"],createOrUpdateEnvironmentSecret:["PUT /repos/{owner}/{repo}/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 /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"],deleteEnvironmentVariable:["DELETE /repos/{owner}/{repo}/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}"],getCustomOidcSubClaimForRepo:["GET /repos/{owner}/{repo}/actions/oidc/customization/sub"],getEnvironmentPublicKey:["GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key"],getEnvironmentSecret:["GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"],getEnvironmentVariable:["GET /repos/{owner}/{repo}/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 /repos/{owner}/{repo}/environments/{environment_name}/secrets"],listEnvironmentVariables:["GET /repos/{owner}/{repo}/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"],setCustomOidcSubClaimForRepo:["PUT /repos/{owner}/{repo}/actions/oidc/customization/sub"],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 /repos/{owner}/{repo}/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"],markThreadAsDone:["DELETE /notifications/threads/{thread_id}"],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:{addCopilotSeatsForTeams:["POST /orgs/{org}/copilot/billing/selected_teams"],addCopilotSeatsForUsers:["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"],usageMetricsForEnterprise:["GET /enterprises/{enterprise}/copilot/usage"],usageMetricsForOrg:["GET /orgs/{org}/copilot/usage"],usageMetricsForTeam:["GET /orgs/{org}/team/{team_slug}/copilot/usage"]},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:{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"],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"]}],startForAuthenticatedUser:["POST /user/migrations"],startForOrg:["POST /orgs/{org}/migrations"],unlockRepoForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock"],unlockRepoForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock"]},oidc:{getOidcCustomSubTemplateForOrg:["GET /orgs/{org}/actions/oidc/customization/sub"],updateOidcCustomSubTemplateForOrg:["PUT /orgs/{org}/actions/oidc/customization/sub"]},orgs:{addSecurityManagerTeam:["PUT /orgs/{org}/security-managers/teams/{team_slug}"],assignTeamToOrgRole:["PUT /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],assignUserToOrgRole:["PUT /orgs/{org}/organization-roles/users/{username}/{role_id}"],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}"],createCustomOrganizationRole:["POST /orgs/{org}/organization-roles"],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}"],deleteCustomOrganizationRole:["DELETE /orgs/{org}/organization-roles/{role_id}"],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}"],getOrgRole:["GET /orgs/{org}/organization-roles/{role_id}"],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"],listOrgRoleTeams:["GET /orgs/{org}/organization-roles/{role_id}/teams"],listOrgRoleUsers:["GET /orgs/{org}/organization-roles/{role_id}/users"],listOrgRoles:["GET /orgs/{org}/organization-roles"],listOrganizationFineGrainedPermissions:["GET /orgs/{org}/organization-fine-grained-permissions"],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"],patchCustomOrganizationRole:["PATCH /orgs/{org}/organization-roles/{role_id}"],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"],revokeAllOrgRolesTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}"],revokeAllOrgRolesUser:["DELETE /orgs/{org}/organization-roles/users/{username}"],revokeOrgRoleTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],revokeOrgRoleUser:["DELETE /orgs/{org}/organization-roles/users/{username}/{role_id}"],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"}],cancelPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel"],checkAutomatedSecurityFixes:["GET /repos/{owner}/{repo}/automated-security-fixes"],checkCollaborator:["GET /repos/{owner}/{repo}/collaborators/{username}"],checkPrivateVulnerabilityReporting:["GET /repos/{owner}/{repo}/private-vulnerability-reporting"],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"],createOrUpdateCustomPropertiesValues:["PATCH /repos/{owner}/{repo}/properties/values"],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/deployments"],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}"],getPagesDeployment:["GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_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:{createFork:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks"],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 Me=Pe;const xe=new Map;for(const[e,t]of Object.entries(Me)){for(const[r,n]of Object.entries(t)){const[t,s,o]=n;const[i,a]=t.split(/ /);const A=Object.assign({method:i,url:a},s);if(!xe.has(e)){xe.set(e,new Map)}xe.get(e).set(r,{scope:e,methodName:r,endpointDefaults:A,decorations:o})}}const Ve={has({scope:e},t){return xe.get(e).has(t)},getOwnPropertyDescriptor(e,t){return{value:this.get(e,t),configurable:true,writable:true,enumerable:true}},defineProperty(e,t,r){Object.defineProperty(e.cache,t,r);return true},deleteProperty(e,t){delete e.cache[t];return true},ownKeys({scope:e}){return[...xe.get(e).keys()]},set(e,t,r){return e.cache[t]=r},get({octokit:e,scope:t,cache:r},n){if(r[n]){return r[n]}const s=xe.get(t).get(n);if(!s){return void 0}const{endpointDefaults:o,decorations:i}=s;if(i){r[n]=decorate(e,t,n,o,i)}else{r[n]=e.request.defaults(o)}return r[n]}};function endpointsToMethods(e){const t={};for(const r of xe.keys()){t[r]=new Proxy({octokit:e,scope:r,cache:{}},Ve)}return t}function decorate(e,t,r,n,s){const o=e.request.defaults(n);function withDecorations(...n){let i=o.endpoint.merge(...n);if(s.mapToData){i=Object.assign({},i,{data:i[s.mapToData],[s.mapToData]:void 0});return o(i)}if(s.renamed){const[n,o]=s.renamed;e.log.warn(`octokit.${t}.${r}() has been renamed to octokit.${n}.${o}()`)}if(s.deprecated){e.log.warn(s.deprecated)}if(s.renamedParameters){const i=o.endpoint.merge(...n);for(const[n,o]of Object.entries(s.renamedParameters)){if(n in i){e.log.warn(`"${n}" parameter is deprecated for "octokit.${t}.${r}()". Use "${o}" instead`);if(!(o in i)){i[o]=i[n]}delete i[n]}}return o(i)}return o(...n)}return Object.assign(withDecorations,o)}function restEndpointMethods(e){const t=endpointsToMethods(e);return{rest:t}}restEndpointMethods.VERSION=Ge;function legacyRestEndpointMethods(e){const t=endpointsToMethods(e);return{...t,rest:t}}legacyRestEndpointMethods.VERSION=Ge;var je=__nccwpck_require__(3251);var He="0.0.0-development";async function errorRequest(e,t,r,n){if(!r.request||!r.request.request){throw r}if(r.status>=400&&!e.doNotRetry.includes(r.status)){const s=n.request.retries!=null?n.request.retries:e.retries;const o=Math.pow((n.request.retryCount||0)+1,2);throw t.retry.retryRequest(r,s,o)}throw r}async function wrapRequest(e,t,r,n){const s=new je;s.on("failed",(function(t,r){const s=~~t.request.request.retries;const o=~~t.request.request.retryAfter;n.request.retryCount=r.retryCount+1;if(s>r.retryCount){return o*e.retryAfterBaseValue}}));return s.schedule(requestWithGraphqlErrorHandling.bind(null,e,t,r),n)}async function requestWithGraphqlErrorHandling(e,t,r,n){const s=await r(r,n);if(s.data&&s.data.errors&&s.data.errors.length>0&&/Something went wrong while executing your query/.test(s.data.errors[0].message)){const r=new RequestError(s.data.errors[0].message,500,{request:n,response:s});return errorRequest(e,t,r,n)}return s}function retry(e,t){const r=Object.assign({enabled:true,retryAfterBaseValue:1e3,doNotRetry:[400,401,403,404,422,451],retries:3},t.retry);if(r.enabled){e.hook.error("request",errorRequest.bind(null,r,e));e.hook.wrap("request",wrapRequest.bind(null,r,e))}return{retry:{retryRequest:(e,t,r)=>{e.request.request=Object.assign({},e.request.request,{retries:t,retryAfter:r});return e}}}}retry.VERSION=He;var Ye="0.0.0-development";var dist_bundle_noop=()=>Promise.resolve();function dist_bundle_wrapRequest(e,t,r){return e.retryLimiter.schedule(doRequest,e,t,r)}async function doRequest(e,t,r){const n=r.method!=="GET"&&r.method!=="HEAD";const{pathname:s}=new URL(r.url,"http://github.test");const o=r.method==="GET"&&s.startsWith("/search/");const i=s.startsWith("/graphql");const a=~~t.retryCount;const A=a>0?{priority:0,weight:0}:{};if(e.clustering){A.expiration=1e3*60}if(n||i){await e.write.key(e.id).schedule(A,dist_bundle_noop)}if(n&&e.triggersNotification(s)){await e.notifications.key(e.id).schedule(A,dist_bundle_noop)}if(o){await e.search.key(e.id).schedule(A,dist_bundle_noop)}const c=e.global.key(e.id).schedule(A,t,r);if(i){const e=await c;if(e.data.errors!=null&&e.data.errors.some((e=>e.type==="RATE_LIMITED"))){const t=Object.assign(new Error("GraphQL Rate Limit Exceeded"),{response:e,data:e.data});throw t}}return c}var qe=["/orgs/{org}/invitations","/orgs/{org}/invitations/{invitation_id}","/orgs/{org}/teams/{team_slug}/discussions","/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments","/repos/{owner}/{repo}/collaborators/{username}","/repos/{owner}/{repo}/commits/{commit_sha}/comments","/repos/{owner}/{repo}/issues","/repos/{owner}/{repo}/issues/{issue_number}/comments","/repos/{owner}/{repo}/pulls","/repos/{owner}/{repo}/pulls/{pull_number}/comments","/repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies","/repos/{owner}/{repo}/pulls/{pull_number}/merge","/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers","/repos/{owner}/{repo}/pulls/{pull_number}/reviews","/repos/{owner}/{repo}/releases","/teams/{team_id}/discussions","/teams/{team_id}/discussions/{discussion_number}/comments"];function routeMatcher(e){const t=e.map((e=>e.split("/").map((e=>e.startsWith("{")?"(?:.+?)":e)).join("/")));const r=`^(?:${t.map((e=>`(?:${e})`)).join("|")})[^/]*$`;return new RegExp(r,"i")}var Je=routeMatcher(qe);var We=Je.test.bind(Je);var Ke={};var createGroups=function(e,t){Ke.global=new e.Group({id:"octokit-global",maxConcurrent:10,...t});Ke.search=new e.Group({id:"octokit-search",maxConcurrent:1,minTime:2e3,...t});Ke.write=new e.Group({id:"octokit-write",maxConcurrent:1,minTime:1e3,...t});Ke.notifications=new e.Group({id:"octokit-notifications",maxConcurrent:1,minTime:3e3,...t})};function throttling(e,t){const{enabled:r=true,Bottleneck:n=je,id:s="no-id",timeout:o=1e3*60*2,connection:i}=t.throttle||{};if(!r){return{}}const a={timeout:o};if(typeof i!=="undefined"){a.connection=i}if(Ke.global==null){createGroups(n,a)}const A=Object.assign({clustering:i!=null,triggersNotification:We,fallbackSecondaryRateRetryAfter:60,retryAfterBaseValue:1e3,retryLimiter:new n,id:s,...Ke},t.throttle);if(typeof A.onSecondaryRateLimit!=="function"||typeof A.onRateLimit!=="function"){throw new Error(`octokit/plugin-throttling error:\n You must pass the onSecondaryRateLimit and onRateLimit error handlers.\n See https://octokit.github.io/rest.js/#throttling\n\n const octokit = new Octokit({\n throttle: {\n onSecondaryRateLimit: (retryAfter, options) => {/* ... */},\n onRateLimit: (retryAfter, options) => {/* ... */}\n }\n })\n `)}const c={};const u=new n.Events(c);c.on("secondary-limit",A.onSecondaryRateLimit);c.on("rate-limit",A.onRateLimit);c.on("error",(t=>e.log.warn("Error in throttling-plugin limit handler",t)));A.retryLimiter.on("failed",(async function(t,r){const[n,s,o]=r.args;const{pathname:i}=new URL(o.url,"http://github.test");const a=i.startsWith("/graphql")&&t.status!==401;if(!(a||t.status===403||t.status===429)){return}const A=~~s.retryCount;s.retryCount=A;o.request.retryCount=A;const{wantRetry:c,retryAfter:l=0}=await async function(){if(/\bsecondary rate\b/i.test(t.message)){const r=Number(t.response.headers["retry-after"])||n.fallbackSecondaryRateRetryAfter;const s=await u.trigger("secondary-limit",r,o,e,A);return{wantRetry:s,retryAfter:r}}if(t.response.headers!=null&&t.response.headers["x-ratelimit-remaining"]==="0"||(t.response.data?.errors??[]).some((e=>e.type==="RATE_LIMITED"))){const r=new Date(~~t.response.headers["x-ratelimit-reset"]*1e3).getTime();const n=Math.max(Math.ceil((r-Date.now())/1e3)+1,0);const s=await u.trigger("rate-limit",n,o,e,A);return{wantRetry:s,retryAfter:n}}return{}}();if(c){s.retryCount++;return l*n.retryAfterBaseValue}}));e.hook.wrap("request",dist_bundle_wrapRequest.bind(null,A));return{}}throttling.VERSION=Ye;throttling.triggersNotification=We;var generateMessage=(e,t)=>`The cursor at "${e.join(",")}" did not change its value "${t}" after a page transition. Please make sure your that your query is set up correctly.`;var $e=class extends Error{constructor(e,t){super(generateMessage(e.pathInQuery,t));this.pageInfo=e;this.cursorValue=t;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}name="MissingCursorChangeError"};var ze=class extends Error{constructor(e){super(`No pageInfo property found in response. Please make sure to specify the pageInfo in your query. Response-Data: ${JSON.stringify(e,null,2)}`);this.response=e;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}name="MissingPageInfo"};var isObject=e=>Object.prototype.toString.call(e)==="[object Object]";function findPaginatedResourcePath(e){const t=deepFindPathToProperty(e,"pageInfo");if(t.length===0){throw new ze(e)}return t}var deepFindPathToProperty=(e,t,r=[])=>{for(const n of Object.keys(e)){const s=[...r,n];const o=e[n];if(isObject(o)){if(o.hasOwnProperty(t)){return s}const e=deepFindPathToProperty(o,t,s);if(e.length>0){return e}}}return[]};var get=(e,t)=>t.reduce(((e,t)=>e[t]),e);var set=(e,t,r)=>{const n=t[t.length-1];const s=[...t].slice(0,-1);const o=get(e,s);if(typeof r==="function"){o[n]=r(o[n])}else{o[n]=r}};var extractPageInfos=e=>{const t=findPaginatedResourcePath(e);return{pathInQuery:t,pageInfo:get(e,[...t,"pageInfo"])}};var isForwardSearch=e=>e.hasOwnProperty("hasNextPage");var getCursorFrom=e=>isForwardSearch(e)?e.endCursor:e.startCursor;var hasAnotherPage=e=>isForwardSearch(e)?e.hasNextPage:e.hasPreviousPage;var createIterator=e=>(t,r={})=>{let n=true;let s={...r};return{[Symbol.asyncIterator]:()=>({async next(){if(!n)return{done:true,value:{}};const r=await e.graphql(t,s);const o=extractPageInfos(r);const i=getCursorFrom(o.pageInfo);n=hasAnotherPage(o.pageInfo);if(n&&i===s.cursor){throw new $e(o,i)}s={...s,cursor:i};return{done:false,value:r}}})}};var mergeResponses=(e,t)=>{if(Object.keys(e).length===0){return Object.assign(e,t)}const r=findPaginatedResourcePath(e);const n=[...r,"nodes"];const s=get(t,n);if(s){set(e,n,(e=>[...e,...s]))}const o=[...r,"edges"];const i=get(t,o);if(i){set(e,o,(e=>[...e,...i]))}const a=[...r,"pageInfo"];set(e,a,get(t,a));return e};var createPaginate=e=>{const t=createIterator(e);return async(e,r={})=>{let n={};for await(const s of t(e,r)){n=mergeResponses(n,s)}return n}};var Ze="0.0.0-development";function paginateGraphQL(e){return{graphql:Object.assign(e.graphql,{paginate:Object.assign(createPaginate(e),{iterator:createIterator(e)})})}}var Xe=__nccwpck_require__(7484);var et=__nccwpck_require__(3228);const tt=new Map;function Entries(){return new Map(tt)}function Clear(){return tt.clear()}function Delete(e){return tt.delete(e)}function Has(e){return tt.has(e)}function format_Set(e,t){tt.set(e,t)}function Get(e){return tt.get(e)}const rt=new Map;function type_Entries(){return new Map(rt)}function type_Clear(){return rt.clear()}function type_Delete(e){return rt.delete(e)}function type_Has(e){return rt.has(e)}function type_Set(e,t){rt.set(e,t)}function type_Get(e){return rt.get(e)}function extends_undefined_Intersect(e){return e.allOf.every((e=>ExtendsUndefinedCheck(e)))}function extends_undefined_Union(e){return e.anyOf.some((e=>ExtendsUndefinedCheck(e)))}function extends_undefined_Not(e){return!ExtendsUndefinedCheck(e.not)}function ExtendsUndefinedCheck(e){return e[E]==="Intersect"?extends_undefined_Intersect(e):e[E]==="Union"?extends_undefined_Union(e):e[E]==="Not"?extends_undefined_Not(e):e[E]==="Undefined"?true:false}function DefaultErrorFunction(e){switch(e.errorType){case pt.ArrayContains:return"Expected array to contain at least one matching value";case pt.ArrayMaxContains:return`Expected array to contain no more than ${e.schema.maxContains} matching values`;case pt.ArrayMinContains:return`Expected array to contain at least ${e.schema.minContains} matching values`;case pt.ArrayMaxItems:return`Expected array length to be less or equal to ${e.schema.maxItems}`;case pt.ArrayMinItems:return`Expected array length to be greater or equal to ${e.schema.minItems}`;case pt.ArrayUniqueItems:return"Expected array elements to be unique";case pt.Array:return"Expected array";case pt.AsyncIterator:return"Expected AsyncIterator";case pt.BigIntExclusiveMaximum:return`Expected bigint to be less than ${e.schema.exclusiveMaximum}`;case pt.BigIntExclusiveMinimum:return`Expected bigint to be greater than ${e.schema.exclusiveMinimum}`;case pt.BigIntMaximum:return`Expected bigint to be less or equal to ${e.schema.maximum}`;case pt.BigIntMinimum:return`Expected bigint to be greater or equal to ${e.schema.minimum}`;case pt.BigIntMultipleOf:return`Expected bigint to be a multiple of ${e.schema.multipleOf}`;case pt.BigInt:return"Expected bigint";case pt.Boolean:return"Expected boolean";case pt.DateExclusiveMinimumTimestamp:return`Expected Date timestamp to be greater than ${e.schema.exclusiveMinimumTimestamp}`;case pt.DateExclusiveMaximumTimestamp:return`Expected Date timestamp to be less than ${e.schema.exclusiveMaximumTimestamp}`;case pt.DateMinimumTimestamp:return`Expected Date timestamp to be greater or equal to ${e.schema.minimumTimestamp}`;case pt.DateMaximumTimestamp:return`Expected Date timestamp to be less or equal to ${e.schema.maximumTimestamp}`;case pt.DateMultipleOfTimestamp:return`Expected Date timestamp to be a multiple of ${e.schema.multipleOfTimestamp}`;case pt.Date:return"Expected Date";case pt.Function:return"Expected function";case pt.IntegerExclusiveMaximum:return`Expected integer to be less than ${e.schema.exclusiveMaximum}`;case pt.IntegerExclusiveMinimum:return`Expected integer to be greater than ${e.schema.exclusiveMinimum}`;case pt.IntegerMaximum:return`Expected integer to be less or equal to ${e.schema.maximum}`;case pt.IntegerMinimum:return`Expected integer to be greater or equal to ${e.schema.minimum}`;case pt.IntegerMultipleOf:return`Expected integer to be a multiple of ${e.schema.multipleOf}`;case pt.Integer:return"Expected integer";case pt.IntersectUnevaluatedProperties:return"Unexpected property";case pt.Intersect:return"Expected all values to match";case pt.Iterator:return"Expected Iterator";case pt.Literal:return`Expected ${typeof e.schema.const==="string"?`'${e.schema.const}'`:e.schema.const}`;case pt.Never:return"Never";case pt.Not:return"Value should not match";case pt.Null:return"Expected null";case pt.NumberExclusiveMaximum:return`Expected number to be less than ${e.schema.exclusiveMaximum}`;case pt.NumberExclusiveMinimum:return`Expected number to be greater than ${e.schema.exclusiveMinimum}`;case pt.NumberMaximum:return`Expected number to be less or equal to ${e.schema.maximum}`;case pt.NumberMinimum:return`Expected number to be greater or equal to ${e.schema.minimum}`;case pt.NumberMultipleOf:return`Expected number to be a multiple of ${e.schema.multipleOf}`;case pt.Number:return"Expected number";case pt.Object:return"Expected object";case pt.ObjectAdditionalProperties:return"Unexpected property";case pt.ObjectMaxProperties:return`Expected object to have no more than ${e.schema.maxProperties} properties`;case pt.ObjectMinProperties:return`Expected object to have at least ${e.schema.minProperties} properties`;case pt.ObjectRequiredProperty:return"Expected required property";case pt.Promise:return"Expected Promise";case pt.RegExp:return"Expected string to match regular expression";case pt.StringFormatUnknown:return`Unknown format '${e.schema.format}'`;case pt.StringFormat:return`Expected string to match '${e.schema.format}' format`;case pt.StringMaxLength:return`Expected string length less or equal to ${e.schema.maxLength}`;case pt.StringMinLength:return`Expected string length greater or equal to ${e.schema.minLength}`;case pt.StringPattern:return`Expected string to match '${e.schema.pattern}'`;case pt.String:return"Expected string";case pt.Symbol:return"Expected symbol";case pt.TupleLength:return`Expected tuple to have ${e.schema.maxItems||0} elements`;case pt.Tuple:return"Expected tuple";case pt.Uint8ArrayMaxByteLength:return`Expected byte length less or equal to ${e.schema.maxByteLength}`;case pt.Uint8ArrayMinByteLength:return`Expected byte length greater or equal to ${e.schema.minByteLength}`;case pt.Uint8Array:return"Expected Uint8Array";case pt.Undefined:return"Expected undefined";case pt.Union:return"Expected union value";case pt.Void:return"Expected void";case pt.Kind:return`Expected kind '${e.schema[E]}'`;default:return"Unknown error type"}}let nt=DefaultErrorFunction;function SetErrorFunction(e){nt=e}function GetErrorFunction(){return nt}class TypeDereferenceError extends error_TypeBoxError{constructor(e){super(`Unable to dereference schema with $id '${e.$ref}'`);this.schema=e}}function Resolve(e,t){const r=t.find((t=>t.$id===e.$ref));if(r===undefined)throw new TypeDereferenceError(e);return deref_Deref(r,t)}function Pushref(e,t){if(!IsString(e.$id)||t.some((t=>t.$id===e.$id)))return t;t.push(e);return t}function deref_Deref(e,t){return e[E]==="This"||e[E]==="Ref"?Resolve(e,t):e}class ValueHashError extends error_TypeBoxError{constructor(e){super(`Unable to hash value`);this.value=e}}var st;(function(e){e[e["Undefined"]=0]="Undefined";e[e["Null"]=1]="Null";e[e["Boolean"]=2]="Boolean";e[e["Number"]=3]="Number";e[e["String"]=4]="String";e[e["Object"]=5]="Object";e[e["Array"]=6]="Array";e[e["Date"]=7]="Date";e[e["Uint8Array"]=8]="Uint8Array";e[e["Symbol"]=9]="Symbol";e[e["BigInt"]=10]="BigInt"})(st||(st={}));let ot=BigInt("14695981039346656037");const[it,at]=[BigInt("1099511628211"),BigInt("18446744073709551616")];const At=Array.from({length:256}).map(((e,t)=>BigInt(t)));const ct=new Float64Array(1);const ut=new DataView(ct.buffer);const lt=new Uint8Array(ct.buffer);function*NumberToBytes(e){const t=e===0?1:Math.ceil(Math.floor(Math.log2(e)+1)/8);for(let r=0;r>8*(t-1-r)&255}}function hash_ArrayType(e){FNV1A64(st.Array);for(const t of e){hash_Visit(t)}}function BooleanType(e){FNV1A64(st.Boolean);FNV1A64(e?1:0)}function BigIntType(e){FNV1A64(st.BigInt);ut.setBigInt64(0,e);for(const e of lt){FNV1A64(e)}}function hash_DateType(e){FNV1A64(st.Date);hash_Visit(e.getTime())}function NullType(e){FNV1A64(st.Null)}function NumberType(e){FNV1A64(st.Number);ut.setFloat64(0,e);for(const e of lt){FNV1A64(e)}}function hash_ObjectType(e){FNV1A64(st.Object);for(const t of globalThis.Object.getOwnPropertyNames(e).sort()){hash_Visit(t);hash_Visit(e[t])}}function StringType(e){FNV1A64(st.String);for(let t=0;t=e.minItems)){return false}if(IsDefined(e.maxItems)&&!(r.length<=e.maxItems)){return false}if(!r.every((r=>check_Visit(e.items,t,r)))){return false}if(e.uniqueItems===true&&!function(){const e=new Set;for(const t of r){const r=Hash(t);if(e.has(r)){return false}else{e.add(r)}}return true}()){return false}if(!(IsDefined(e.contains)||IsNumber(e.minContains)||IsNumber(e.maxContains))){return true}const n=IsDefined(e.contains)?e.contains:Never();const s=r.reduce(((e,r)=>check_Visit(n,t,r)?e+1:e),0);if(s===0){return false}if(IsNumber(e.minContains)&&se.maxContains){return false}return true}function check_FromAsyncIterator(e,t,r){return IsAsyncIterator(r)}function check_FromBigInt(e,t,r){if(!IsBigInt(r))return false;if(IsDefined(e.exclusiveMaximum)&&!(re.exclusiveMinimum)){return false}if(IsDefined(e.maximum)&&!(r<=e.maximum)){return false}if(IsDefined(e.minimum)&&!(r>=e.minimum)){return false}if(IsDefined(e.multipleOf)&&!(r%e.multipleOf===BigInt(0))){return false}return true}function check_FromBoolean(e,t,r){return IsBoolean(r)}function check_FromConstructor(e,t,r){return check_Visit(e.returns,t,r.prototype)}function check_FromDate(e,t,r){if(!IsDate(r))return false;if(IsDefined(e.exclusiveMaximumTimestamp)&&!(r.getTime()e.exclusiveMinimumTimestamp)){return false}if(IsDefined(e.maximumTimestamp)&&!(r.getTime()<=e.maximumTimestamp)){return false}if(IsDefined(e.minimumTimestamp)&&!(r.getTime()>=e.minimumTimestamp)){return false}if(IsDefined(e.multipleOfTimestamp)&&!(r.getTime()%e.multipleOfTimestamp===0)){return false}return true}function check_FromFunction(e,t,r){return IsFunction(r)}function FromImport(e,t,r){const n=globalThis.Object.values(e.$defs);const s=e.$defs[e.$ref];return check_Visit(s,[...t,...n],r)}function check_FromInteger(e,t,r){if(!IsInteger(r)){return false}if(IsDefined(e.exclusiveMaximum)&&!(re.exclusiveMinimum)){return false}if(IsDefined(e.maximum)&&!(r<=e.maximum)){return false}if(IsDefined(e.minimum)&&!(r>=e.minimum)){return false}if(IsDefined(e.multipleOf)&&!(r%e.multipleOf===0)){return false}return true}function check_FromIntersect(e,t,r){const n=e.allOf.every((e=>check_Visit(e,t,r)));if(e.unevaluatedProperties===false){const t=new RegExp(KeyOfPattern(e));const s=Object.getOwnPropertyNames(r).every((e=>t.test(e)));return n&&s}else if(IsSchema(e.unevaluatedProperties)){const s=new RegExp(KeyOfPattern(e));const o=Object.getOwnPropertyNames(r).every((n=>s.test(n)||check_Visit(e.unevaluatedProperties,t,r[n])));return n&&o}else{return n}}function check_FromIterator(e,t,r){return IsIterator(r)}function check_FromLiteral(e,t,r){return r===e.const}function check_FromNever(e,t,r){return false}function check_FromNot(e,t,r){return!check_Visit(e.not,t,r)}function check_FromNull(e,t,r){return IsNull(r)}function check_FromNumber(e,t,r){if(!l.IsNumberLike(r))return false;if(IsDefined(e.exclusiveMaximum)&&!(re.exclusiveMinimum)){return false}if(IsDefined(e.minimum)&&!(r>=e.minimum)){return false}if(IsDefined(e.maximum)&&!(r<=e.maximum)){return false}if(IsDefined(e.multipleOf)&&!(r%e.multipleOf===0)){return false}return true}function check_FromObject(e,t,r){if(!l.IsObjectLike(r))return false;if(IsDefined(e.minProperties)&&!(Object.getOwnPropertyNames(r).length>=e.minProperties)){return false}if(IsDefined(e.maxProperties)&&!(Object.getOwnPropertyNames(r).length<=e.maxProperties)){return false}const n=Object.getOwnPropertyNames(e.properties);for(const s of n){const n=e.properties[s];if(e.required&&e.required.includes(s)){if(!check_Visit(n,t,r[s])){return false}if((ExtendsUndefinedCheck(n)||IsAnyOrUnknown(n))&&!(s in r)){return false}}else{if(l.IsExactOptionalProperty(r,s)&&!check_Visit(n,t,r[s])){return false}}}if(e.additionalProperties===false){const t=Object.getOwnPropertyNames(r);if(e.required&&e.required.length===n.length&&t.length===n.length){return true}else{return t.every((e=>n.includes(e)))}}else if(typeof e.additionalProperties==="object"){const s=Object.getOwnPropertyNames(r);return s.every((s=>n.includes(s)||check_Visit(e.additionalProperties,t,r[s])))}else{return true}}function check_FromPromise(e,t,r){return IsPromise(r)}function check_FromRecord(e,t,r){if(!l.IsRecordLike(r)){return false}if(IsDefined(e.minProperties)&&!(Object.getOwnPropertyNames(r).length>=e.minProperties)){return false}if(IsDefined(e.maxProperties)&&!(Object.getOwnPropertyNames(r).length<=e.maxProperties)){return false}const[n,s]=Object.entries(e.patternProperties)[0];const o=new RegExp(n);const i=Object.entries(r).every((([e,r])=>o.test(e)?check_Visit(s,t,r):true));const a=typeof e.additionalProperties==="object"?Object.entries(r).every((([r,n])=>!o.test(r)?check_Visit(e.additionalProperties,t,n):true)):true;const A=e.additionalProperties===false?Object.getOwnPropertyNames(r).every((e=>o.test(e))):true;return i&&a&&A}function check_FromRef(e,t,r){return check_Visit(deref_Deref(e,t),t,r)}function check_FromRegExp(e,t,r){const n=new RegExp(e.source,e.flags);if(IsDefined(e.minLength)){if(!(r.length>=e.minLength))return false}if(IsDefined(e.maxLength)){if(!(r.length<=e.maxLength))return false}return n.test(r)}function check_FromString(e,t,r){if(!IsString(r)){return false}if(IsDefined(e.minLength)){if(!(r.length>=e.minLength))return false}if(IsDefined(e.maxLength)){if(!(r.length<=e.maxLength))return false}if(IsDefined(e.pattern)){const t=new RegExp(e.pattern);if(!t.test(r))return false}if(IsDefined(e.format)){if(!Has(e.format))return false;const t=Get(e.format);return t(r)}return true}function check_FromSymbol(e,t,r){return IsSymbol(r)}function check_FromTemplateLiteral(e,t,r){return IsString(r)&&new RegExp(e.pattern).test(r)}function FromThis(e,t,r){return check_Visit(deref_Deref(e,t),t,r)}function check_FromTuple(e,t,r){if(!IsArray(r)){return false}if(e.items===undefined&&!(r.length===0)){return false}if(!(r.length===e.maxItems)){return false}if(!e.items){return true}for(let n=0;ncheck_Visit(e,t,r)))}function check_FromUint8Array(e,t,r){if(!IsUint8Array(r)){return false}if(IsDefined(e.maxByteLength)&&!(r.length<=e.maxByteLength)){return false}if(IsDefined(e.minByteLength)&&!(r.length>=e.minByteLength)){return false}return true}function check_FromUnknown(e,t,r){return true}function check_FromVoid(e,t,r){return l.IsVoidLike(r)}function FromKind(e,t,r){if(!type_Has(e[E]))return false;const n=type_Get(e[E]);return n(e,r)}function check_Visit(e,t,r){const n=IsDefined(e.$id)?Pushref(e,t):t;const s=e;switch(s[E]){case"Any":return check_FromAny(s,n,r);case"Array":return check_FromArray(s,n,r);case"AsyncIterator":return check_FromAsyncIterator(s,n,r);case"BigInt":return check_FromBigInt(s,n,r);case"Boolean":return check_FromBoolean(s,n,r);case"Constructor":return check_FromConstructor(s,n,r);case"Date":return check_FromDate(s,n,r);case"Function":return check_FromFunction(s,n,r);case"Import":return FromImport(s,n,r);case"Integer":return check_FromInteger(s,n,r);case"Intersect":return check_FromIntersect(s,n,r);case"Iterator":return check_FromIterator(s,n,r);case"Literal":return check_FromLiteral(s,n,r);case"Never":return check_FromNever(s,n,r);case"Not":return check_FromNot(s,n,r);case"Null":return check_FromNull(s,n,r);case"Number":return check_FromNumber(s,n,r);case"Object":return check_FromObject(s,n,r);case"Promise":return check_FromPromise(s,n,r);case"Record":return check_FromRecord(s,n,r);case"Ref":return check_FromRef(s,n,r);case"RegExp":return check_FromRegExp(s,n,r);case"String":return check_FromString(s,n,r);case"Symbol":return check_FromSymbol(s,n,r);case"TemplateLiteral":return check_FromTemplateLiteral(s,n,r);case"This":return FromThis(s,n,r);case"Tuple":return check_FromTuple(s,n,r);case"Undefined":return check_FromUndefined(s,n,r);case"Union":return check_FromUnion(s,n,r);case"Uint8Array":return check_FromUint8Array(s,n,r);case"Unknown":return check_FromUnknown(s,n,r);case"Void":return check_FromVoid(s,n,r);default:if(!type_Has(s[E]))throw new ValueCheckUnknownTypeError(s);return FromKind(s,n,r)}}function Check(...e){return e.length===3?check_Visit(e[0],e[1],e[2]):check_Visit(e[0],[],e[1])}var pt;(function(e){e[e["ArrayContains"]=0]="ArrayContains";e[e["ArrayMaxContains"]=1]="ArrayMaxContains";e[e["ArrayMaxItems"]=2]="ArrayMaxItems";e[e["ArrayMinContains"]=3]="ArrayMinContains";e[e["ArrayMinItems"]=4]="ArrayMinItems";e[e["ArrayUniqueItems"]=5]="ArrayUniqueItems";e[e["Array"]=6]="Array";e[e["AsyncIterator"]=7]="AsyncIterator";e[e["BigIntExclusiveMaximum"]=8]="BigIntExclusiveMaximum";e[e["BigIntExclusiveMinimum"]=9]="BigIntExclusiveMinimum";e[e["BigIntMaximum"]=10]="BigIntMaximum";e[e["BigIntMinimum"]=11]="BigIntMinimum";e[e["BigIntMultipleOf"]=12]="BigIntMultipleOf";e[e["BigInt"]=13]="BigInt";e[e["Boolean"]=14]="Boolean";e[e["DateExclusiveMaximumTimestamp"]=15]="DateExclusiveMaximumTimestamp";e[e["DateExclusiveMinimumTimestamp"]=16]="DateExclusiveMinimumTimestamp";e[e["DateMaximumTimestamp"]=17]="DateMaximumTimestamp";e[e["DateMinimumTimestamp"]=18]="DateMinimumTimestamp";e[e["DateMultipleOfTimestamp"]=19]="DateMultipleOfTimestamp";e[e["Date"]=20]="Date";e[e["Function"]=21]="Function";e[e["IntegerExclusiveMaximum"]=22]="IntegerExclusiveMaximum";e[e["IntegerExclusiveMinimum"]=23]="IntegerExclusiveMinimum";e[e["IntegerMaximum"]=24]="IntegerMaximum";e[e["IntegerMinimum"]=25]="IntegerMinimum";e[e["IntegerMultipleOf"]=26]="IntegerMultipleOf";e[e["Integer"]=27]="Integer";e[e["IntersectUnevaluatedProperties"]=28]="IntersectUnevaluatedProperties";e[e["Intersect"]=29]="Intersect";e[e["Iterator"]=30]="Iterator";e[e["Kind"]=31]="Kind";e[e["Literal"]=32]="Literal";e[e["Never"]=33]="Never";e[e["Not"]=34]="Not";e[e["Null"]=35]="Null";e[e["NumberExclusiveMaximum"]=36]="NumberExclusiveMaximum";e[e["NumberExclusiveMinimum"]=37]="NumberExclusiveMinimum";e[e["NumberMaximum"]=38]="NumberMaximum";e[e["NumberMinimum"]=39]="NumberMinimum";e[e["NumberMultipleOf"]=40]="NumberMultipleOf";e[e["Number"]=41]="Number";e[e["ObjectAdditionalProperties"]=42]="ObjectAdditionalProperties";e[e["ObjectMaxProperties"]=43]="ObjectMaxProperties";e[e["ObjectMinProperties"]=44]="ObjectMinProperties";e[e["ObjectRequiredProperty"]=45]="ObjectRequiredProperty";e[e["Object"]=46]="Object";e[e["Promise"]=47]="Promise";e[e["RegExp"]=48]="RegExp";e[e["StringFormatUnknown"]=49]="StringFormatUnknown";e[e["StringFormat"]=50]="StringFormat";e[e["StringMaxLength"]=51]="StringMaxLength";e[e["StringMinLength"]=52]="StringMinLength";e[e["StringPattern"]=53]="StringPattern";e[e["String"]=54]="String";e[e["Symbol"]=55]="Symbol";e[e["TupleLength"]=56]="TupleLength";e[e["Tuple"]=57]="Tuple";e[e["Uint8ArrayMaxByteLength"]=58]="Uint8ArrayMaxByteLength";e[e["Uint8ArrayMinByteLength"]=59]="Uint8ArrayMinByteLength";e[e["Uint8Array"]=60]="Uint8Array";e[e["Undefined"]=61]="Undefined";e[e["Union"]=62]="Union";e[e["Void"]=63]="Void"})(pt||(pt={}));class ValueErrorsUnknownTypeError extends error_TypeBoxError{constructor(e){super("Unknown type");this.schema=e}}function EscapeKey(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function errors_IsDefined(e){return e!==undefined}class ValueErrorIterator{constructor(e){this.iterator=e}[Symbol.iterator](){return this.iterator}First(){const e=this.iterator.next();return e.done?undefined:e.value}}function Create(e,t,r,n,s=[]){return{type:e,schema:t,path:r,value:n,message:GetErrorFunction()({errorType:e,path:r,schema:t,value:n,errors:s}),errors:s}}function*errors_FromAny(e,t,r,n){}function*errors_FromArray(e,t,r,n){if(!IsArray(n)){return yield Create(pt.Array,e,r,n)}if(errors_IsDefined(e.minItems)&&!(n.length>=e.minItems)){yield Create(pt.ArrayMinItems,e,r,n)}if(errors_IsDefined(e.maxItems)&&!(n.length<=e.maxItems)){yield Create(pt.ArrayMaxItems,e,r,n)}for(let s=0;serrors_Visit(s,t,`${r}${o}`,n).next().done===true?e+1:e),0);if(o===0){yield Create(pt.ArrayContains,e,r,n)}if(IsNumber(e.minContains)&&oe.maxContains){yield Create(pt.ArrayMaxContains,e,r,n)}}function*errors_FromAsyncIterator(e,t,r,n){if(!IsAsyncIterator(n))yield Create(pt.AsyncIterator,e,r,n)}function*errors_FromBigInt(e,t,r,n){if(!IsBigInt(n))return yield Create(pt.BigInt,e,r,n);if(errors_IsDefined(e.exclusiveMaximum)&&!(ne.exclusiveMinimum)){yield Create(pt.BigIntExclusiveMinimum,e,r,n)}if(errors_IsDefined(e.maximum)&&!(n<=e.maximum)){yield Create(pt.BigIntMaximum,e,r,n)}if(errors_IsDefined(e.minimum)&&!(n>=e.minimum)){yield Create(pt.BigIntMinimum,e,r,n)}if(errors_IsDefined(e.multipleOf)&&!(n%e.multipleOf===BigInt(0))){yield Create(pt.BigIntMultipleOf,e,r,n)}}function*errors_FromBoolean(e,t,r,n){if(!IsBoolean(n))yield Create(pt.Boolean,e,r,n)}function*errors_FromConstructor(e,t,r,n){yield*errors_Visit(e.returns,t,r,n.prototype)}function*errors_FromDate(e,t,r,n){if(!IsDate(n))return yield Create(pt.Date,e,r,n);if(errors_IsDefined(e.exclusiveMaximumTimestamp)&&!(n.getTime()e.exclusiveMinimumTimestamp)){yield Create(pt.DateExclusiveMinimumTimestamp,e,r,n)}if(errors_IsDefined(e.maximumTimestamp)&&!(n.getTime()<=e.maximumTimestamp)){yield Create(pt.DateMaximumTimestamp,e,r,n)}if(errors_IsDefined(e.minimumTimestamp)&&!(n.getTime()>=e.minimumTimestamp)){yield Create(pt.DateMinimumTimestamp,e,r,n)}if(errors_IsDefined(e.multipleOfTimestamp)&&!(n.getTime()%e.multipleOfTimestamp===0)){yield Create(pt.DateMultipleOfTimestamp,e,r,n)}}function*errors_FromFunction(e,t,r,n){if(!IsFunction(n))yield Create(pt.Function,e,r,n)}function*errors_FromImport(e,t,r,n){const s=globalThis.Object.values(e.$defs);const o=e.$defs[e.$ref];yield*errors_Visit(o,[...t,...s],r,n)}function*errors_FromInteger(e,t,r,n){if(!IsInteger(n))return yield Create(pt.Integer,e,r,n);if(errors_IsDefined(e.exclusiveMaximum)&&!(ne.exclusiveMinimum)){yield Create(pt.IntegerExclusiveMinimum,e,r,n)}if(errors_IsDefined(e.maximum)&&!(n<=e.maximum)){yield Create(pt.IntegerMaximum,e,r,n)}if(errors_IsDefined(e.minimum)&&!(n>=e.minimum)){yield Create(pt.IntegerMinimum,e,r,n)}if(errors_IsDefined(e.multipleOf)&&!(n%e.multipleOf===0)){yield Create(pt.IntegerMultipleOf,e,r,n)}}function*errors_FromIntersect(e,t,r,n){let s=false;for(const o of e.allOf){for(const e of errors_Visit(o,t,r,n)){s=true;yield e}}if(s){return yield Create(pt.Intersect,e,r,n)}if(e.unevaluatedProperties===false){const t=new RegExp(KeyOfPattern(e));for(const s of Object.getOwnPropertyNames(n)){if(!t.test(s)){yield Create(pt.IntersectUnevaluatedProperties,e,`${r}/${s}`,n)}}}if(typeof e.unevaluatedProperties==="object"){const s=new RegExp(KeyOfPattern(e));for(const o of Object.getOwnPropertyNames(n)){if(!s.test(o)){const s=errors_Visit(e.unevaluatedProperties,t,`${r}/${o}`,n[o]).next();if(!s.done)yield s.value}}}}function*errors_FromIterator(e,t,r,n){if(!IsIterator(n))yield Create(pt.Iterator,e,r,n)}function*errors_FromLiteral(e,t,r,n){if(!(n===e.const))yield Create(pt.Literal,e,r,n)}function*errors_FromNever(e,t,r,n){yield Create(pt.Never,e,r,n)}function*errors_FromNot(e,t,r,n){if(errors_Visit(e.not,t,r,n).next().done===true)yield Create(pt.Not,e,r,n)}function*errors_FromNull(e,t,r,n){if(!IsNull(n))yield Create(pt.Null,e,r,n)}function*errors_FromNumber(e,t,r,n){if(!l.IsNumberLike(n))return yield Create(pt.Number,e,r,n);if(errors_IsDefined(e.exclusiveMaximum)&&!(ne.exclusiveMinimum)){yield Create(pt.NumberExclusiveMinimum,e,r,n)}if(errors_IsDefined(e.maximum)&&!(n<=e.maximum)){yield Create(pt.NumberMaximum,e,r,n)}if(errors_IsDefined(e.minimum)&&!(n>=e.minimum)){yield Create(pt.NumberMinimum,e,r,n)}if(errors_IsDefined(e.multipleOf)&&!(n%e.multipleOf===0)){yield Create(pt.NumberMultipleOf,e,r,n)}}function*errors_FromObject(e,t,r,n){if(!l.IsObjectLike(n))return yield Create(pt.Object,e,r,n);if(errors_IsDefined(e.minProperties)&&!(Object.getOwnPropertyNames(n).length>=e.minProperties)){yield Create(pt.ObjectMinProperties,e,r,n)}if(errors_IsDefined(e.maxProperties)&&!(Object.getOwnPropertyNames(n).length<=e.maxProperties)){yield Create(pt.ObjectMaxProperties,e,r,n)}const s=Array.isArray(e.required)?e.required:[];const o=Object.getOwnPropertyNames(e.properties);const i=Object.getOwnPropertyNames(n);for(const t of s){if(i.includes(t))continue;yield Create(pt.ObjectRequiredProperty,e.properties[t],`${r}/${EscapeKey(t)}`,undefined)}if(e.additionalProperties===false){for(const t of i){if(!o.includes(t)){yield Create(pt.ObjectAdditionalProperties,e,`${r}/${EscapeKey(t)}`,n[t])}}}if(typeof e.additionalProperties==="object"){for(const s of i){if(o.includes(s))continue;yield*errors_Visit(e.additionalProperties,t,`${r}/${EscapeKey(s)}`,n[s])}}for(const s of o){const o=e.properties[s];if(e.required&&e.required.includes(s)){yield*errors_Visit(o,t,`${r}/${EscapeKey(s)}`,n[s]);if(ExtendsUndefinedCheck(e)&&!(s in n)){yield Create(pt.ObjectRequiredProperty,o,`${r}/${EscapeKey(s)}`,undefined)}}else{if(l.IsExactOptionalProperty(n,s)){yield*errors_Visit(o,t,`${r}/${EscapeKey(s)}`,n[s])}}}}function*errors_FromPromise(e,t,r,n){if(!IsPromise(n))yield Create(pt.Promise,e,r,n)}function*errors_FromRecord(e,t,r,n){if(!l.IsRecordLike(n))return yield Create(pt.Object,e,r,n);if(errors_IsDefined(e.minProperties)&&!(Object.getOwnPropertyNames(n).length>=e.minProperties)){yield Create(pt.ObjectMinProperties,e,r,n)}if(errors_IsDefined(e.maxProperties)&&!(Object.getOwnPropertyNames(n).length<=e.maxProperties)){yield Create(pt.ObjectMaxProperties,e,r,n)}const[s,o]=Object.entries(e.patternProperties)[0];const i=new RegExp(s);for(const[e,s]of Object.entries(n)){if(i.test(e))yield*errors_Visit(o,t,`${r}/${EscapeKey(e)}`,s)}if(typeof e.additionalProperties==="object"){for(const[s,o]of Object.entries(n)){if(!i.test(s))yield*errors_Visit(e.additionalProperties,t,`${r}/${EscapeKey(s)}`,o)}}if(e.additionalProperties===false){for(const[t,s]of Object.entries(n)){if(i.test(t))continue;return yield Create(pt.ObjectAdditionalProperties,e,`${r}/${EscapeKey(t)}`,s)}}}function*errors_FromRef(e,t,r,n){yield*errors_Visit(deref_Deref(e,t),t,r,n)}function*errors_FromRegExp(e,t,r,n){if(!IsString(n))return yield Create(pt.String,e,r,n);if(errors_IsDefined(e.minLength)&&!(n.length>=e.minLength)){yield Create(pt.StringMinLength,e,r,n)}if(errors_IsDefined(e.maxLength)&&!(n.length<=e.maxLength)){yield Create(pt.StringMaxLength,e,r,n)}const s=new RegExp(e.source,e.flags);if(!s.test(n)){return yield Create(pt.RegExp,e,r,n)}}function*errors_FromString(e,t,r,n){if(!IsString(n))return yield Create(pt.String,e,r,n);if(errors_IsDefined(e.minLength)&&!(n.length>=e.minLength)){yield Create(pt.StringMinLength,e,r,n)}if(errors_IsDefined(e.maxLength)&&!(n.length<=e.maxLength)){yield Create(pt.StringMaxLength,e,r,n)}if(IsString(e.pattern)){const t=new RegExp(e.pattern);if(!t.test(n)){yield Create(pt.StringPattern,e,r,n)}}if(IsString(e.format)){if(!Has(e.format)){yield Create(pt.StringFormatUnknown,e,r,n)}else{const t=Get(e.format);if(!t(n)){yield Create(pt.StringFormat,e,r,n)}}}}function*errors_FromSymbol(e,t,r,n){if(!IsSymbol(n))yield Create(pt.Symbol,e,r,n)}function*errors_FromTemplateLiteral(e,t,r,n){if(!IsString(n))return yield Create(pt.String,e,r,n);const s=new RegExp(e.pattern);if(!s.test(n)){yield Create(pt.StringPattern,e,r,n)}}function*errors_FromThis(e,t,r,n){yield*errors_Visit(deref_Deref(e,t),t,r,n)}function*errors_FromTuple(e,t,r,n){if(!IsArray(n))return yield Create(pt.Tuple,e,r,n);if(e.items===undefined&&!(n.length===0)){return yield Create(pt.TupleLength,e,r,n)}if(!(n.length===e.maxItems)){return yield Create(pt.TupleLength,e,r,n)}if(!e.items){return}for(let s=0;snew ValueErrorIterator(errors_Visit(e,t,r,n))));yield Create(pt.Union,e,r,n,s)}function*errors_FromUint8Array(e,t,r,n){if(!IsUint8Array(n))return yield Create(pt.Uint8Array,e,r,n);if(errors_IsDefined(e.maxByteLength)&&!(n.length<=e.maxByteLength)){yield Create(pt.Uint8ArrayMaxByteLength,e,r,n)}if(errors_IsDefined(e.minByteLength)&&!(n.length>=e.minByteLength)){yield Create(pt.Uint8ArrayMinByteLength,e,r,n)}}function*errors_FromUnknown(e,t,r,n){}function*errors_FromVoid(e,t,r,n){if(!l.IsVoidLike(n))yield Create(pt.Void,e,r,n)}function*errors_FromKind(e,t,r,n){const s=type_Get(e[E]);if(!s(e,n))yield Create(pt.Kind,e,r,n)}function*errors_Visit(e,t,r,n){const s=errors_IsDefined(e.$id)?[...t,e]:t;const o=e;switch(o[E]){case"Any":return yield*errors_FromAny(o,s,r,n);case"Array":return yield*errors_FromArray(o,s,r,n);case"AsyncIterator":return yield*errors_FromAsyncIterator(o,s,r,n);case"BigInt":return yield*errors_FromBigInt(o,s,r,n);case"Boolean":return yield*errors_FromBoolean(o,s,r,n);case"Constructor":return yield*errors_FromConstructor(o,s,r,n);case"Date":return yield*errors_FromDate(o,s,r,n);case"Function":return yield*errors_FromFunction(o,s,r,n);case"Import":return yield*errors_FromImport(o,s,r,n);case"Integer":return yield*errors_FromInteger(o,s,r,n);case"Intersect":return yield*errors_FromIntersect(o,s,r,n);case"Iterator":return yield*errors_FromIterator(o,s,r,n);case"Literal":return yield*errors_FromLiteral(o,s,r,n);case"Never":return yield*errors_FromNever(o,s,r,n);case"Not":return yield*errors_FromNot(o,s,r,n);case"Null":return yield*errors_FromNull(o,s,r,n);case"Number":return yield*errors_FromNumber(o,s,r,n);case"Object":return yield*errors_FromObject(o,s,r,n);case"Promise":return yield*errors_FromPromise(o,s,r,n);case"Record":return yield*errors_FromRecord(o,s,r,n);case"Ref":return yield*errors_FromRef(o,s,r,n);case"RegExp":return yield*errors_FromRegExp(o,s,r,n);case"String":return yield*errors_FromString(o,s,r,n);case"Symbol":return yield*errors_FromSymbol(o,s,r,n);case"TemplateLiteral":return yield*errors_FromTemplateLiteral(o,s,r,n);case"This":return yield*errors_FromThis(o,s,r,n);case"Tuple":return yield*errors_FromTuple(o,s,r,n);case"Undefined":return yield*errors_FromUndefined(o,s,r,n);case"Union":return yield*errors_FromUnion(o,s,r,n);case"Uint8Array":return yield*errors_FromUint8Array(o,s,r,n);case"Unknown":return yield*errors_FromUnknown(o,s,r,n);case"Void":return yield*errors_FromVoid(o,s,r,n);default:if(!type_Has(o[E]))throw new ValueErrorsUnknownTypeError(e);return yield*errors_FromKind(o,s,r,n)}}function Errors(...e){const t=e.length===3?errors_Visit(e[0],e[1],"",e[2]):errors_Visit(e[0],[],"",e[1]);return new ValueErrorIterator(t)}function KeyOfPropertyEntries(e){const t=KeyOfPropertyKeys(e);const r=IndexFromPropertyKeys(e,t);return t.map(((e,n)=>[t[n],r[n]]))}class TransformDecodeCheckError extends error_TypeBoxError{constructor(e,t,r){super(`Unable to decode value as it does not match the expected schema`);this.schema=e;this.value=t;this.error=r}}class TransformDecodeError extends error_TypeBoxError{constructor(e,t,r,n){super(n instanceof Error?n.message:"Unknown error");this.schema=e;this.path=t;this.value=r;this.error=n}}function Default(e,t,r){try{return IsTransform(e)?e[p].Decode(r):r}catch(n){throw new TransformDecodeError(e,t,r,n)}}function decode_FromArray(e,t,r,n){return IsArray(n)?Default(e,r,n.map(((n,s)=>decode_Visit(e.items,t,`${r}/${s}`,n)))):Default(e,r,n)}function decode_FromIntersect(e,t,r,n){if(!IsObject(n)||IsValueType(n))return Default(e,r,n);const s=KeyOfPropertyEntries(e);const o=s.map((e=>e[0]));const i={...n};for(const[e,n]of s)if(e in i){i[e]=decode_Visit(n,t,`${r}/${e}`,i[e])}if(!IsTransform(e.unevaluatedProperties)){return Default(e,r,i)}const a=Object.getOwnPropertyNames(i);const A=e.unevaluatedProperties;const c={...i};for(const e of a)if(!o.includes(e)){c[e]=Default(A,`${r}/${e}`,c[e])}return Default(e,r,c)}function decode_FromImport(e,t,r,n){const s=globalThis.Object.values(e.$defs);const o=e.$defs[e.$ref];const i=e[p];const a={[p]:i,...o};return decode_Visit(a,[...t,...s],r,n)}function decode_FromNot(e,t,r,n){return Default(e,r,decode_Visit(e.not,t,r,n))}function decode_FromObject(e,t,r,n){if(!IsObject(n))return Default(e,r,n);const s=KeyOfPropertyKeys(e);const o={...n};for(const n of s){if(!HasPropertyKey(o,n))continue;if(IsUndefined(o[n])&&(!kind_IsUndefined(e.properties[n])||l.IsExactOptionalProperty(o,n)))continue;o[n]=decode_Visit(e.properties[n],t,`${r}/${n}`,o[n])}if(!IsSchema(e.additionalProperties)){return Default(e,r,o)}const i=Object.getOwnPropertyNames(o);const a=e.additionalProperties;const A={...o};for(const e of i)if(!s.includes(e)){A[e]=Default(a,`${r}/${e}`,A[e])}return Default(e,r,A)}function decode_FromRecord(e,t,r,n){if(!IsObject(n))return Default(e,r,n);const s=Object.getOwnPropertyNames(e.patternProperties)[0];const o=new RegExp(s);const i={...n};for(const a of Object.getOwnPropertyNames(n))if(o.test(a)){i[a]=decode_Visit(e.patternProperties[s],t,`${r}/${a}`,i[a])}if(!IsSchema(e.additionalProperties)){return Default(e,r,i)}const a=Object.getOwnPropertyNames(i);const A=e.additionalProperties;const c={...i};for(const e of a)if(!o.test(e)){c[e]=Default(A,`${r}/${e}`,c[e])}return Default(e,r,c)}function decode_FromRef(e,t,r,n){const s=deref_Deref(e,t);return Default(e,r,decode_Visit(s,t,r,n))}function decode_FromThis(e,t,r,n){const s=deref_Deref(e,t);return Default(e,r,decode_Visit(s,t,r,n))}function decode_FromTuple(e,t,r,n){return IsArray(n)&&IsArray(e.items)?Default(e,r,e.items.map(((e,s)=>decode_Visit(e,t,`${r}/${s}`,n[s])))):Default(e,r,n)}function decode_FromUnion(e,t,r,n){for(const s of e.anyOf){if(!Check(s,t,n))continue;const o=decode_Visit(s,t,r,n);return Default(e,r,o)}return Default(e,r,n)}function decode_Visit(e,t,r,n){const s=Pushref(e,t);const o=e;switch(e[E]){case"Array":return decode_FromArray(o,s,r,n);case"Import":return decode_FromImport(o,s,r,n);case"Intersect":return decode_FromIntersect(o,s,r,n);case"Not":return decode_FromNot(o,s,r,n);case"Object":return decode_FromObject(o,s,r,n);case"Record":return decode_FromRecord(o,s,r,n);case"Ref":return decode_FromRef(o,s,r,n);case"Symbol":return Default(o,r,n);case"This":return decode_FromThis(o,s,r,n);case"Tuple":return decode_FromTuple(o,s,r,n);case"Union":return decode_FromUnion(o,s,r,n);default:return Default(o,r,n)}}function TransformDecode(e,t,r){return decode_Visit(e,t,"",r)}function has_FromArray(e,t){return IsTransform(e)||has_Visit(e.items,t)}function has_FromAsyncIterator(e,t){return IsTransform(e)||has_Visit(e.items,t)}function has_FromConstructor(e,t){return IsTransform(e)||has_Visit(e.returns,t)||e.parameters.some((e=>has_Visit(e,t)))}function has_FromFunction(e,t){return IsTransform(e)||has_Visit(e.returns,t)||e.parameters.some((e=>has_Visit(e,t)))}function has_FromIntersect(e,t){return IsTransform(e)||IsTransform(e.unevaluatedProperties)||e.allOf.some((e=>has_Visit(e,t)))}function has_FromIterator(e,t){return IsTransform(e)||has_Visit(e.items,t)}function has_FromNot(e,t){return IsTransform(e)||has_Visit(e.not,t)}function has_FromObject(e,t){return IsTransform(e)||Object.values(e.properties).some((e=>has_Visit(e,t)))||IsSchema(e.additionalProperties)&&has_Visit(e.additionalProperties,t)}function has_FromPromise(e,t){return IsTransform(e)||has_Visit(e.item,t)}function has_FromRecord(e,t){const r=Object.getOwnPropertyNames(e.patternProperties)[0];const n=e.patternProperties[r];return IsTransform(e)||has_Visit(n,t)||IsSchema(e.additionalProperties)&&IsTransform(e.additionalProperties)}function has_FromRef(e,t){if(IsTransform(e))return true;return has_Visit(deref_Deref(e,t),t)}function has_FromThis(e,t){if(IsTransform(e))return true;return has_Visit(deref_Deref(e,t),t)}function has_FromTuple(e,t){return IsTransform(e)||!IsUndefined(e.items)&&e.items.some((e=>has_Visit(e,t)))}function has_FromUnion(e,t){return IsTransform(e)||e.anyOf.some((e=>has_Visit(e,t)))}function has_Visit(e,t){const r=Pushref(e,t);const n=e;if(e.$id&&dt.has(e.$id))return false;if(e.$id)dt.add(e.$id);switch(e[E]){case"Array":return has_FromArray(n,r);case"AsyncIterator":return has_FromAsyncIterator(n,r);case"Constructor":return has_FromConstructor(n,r);case"Function":return has_FromFunction(n,r);case"Intersect":return has_FromIntersect(n,r);case"Iterator":return has_FromIterator(n,r);case"Not":return has_FromNot(n,r);case"Object":return has_FromObject(n,r);case"Promise":return has_FromPromise(n,r);case"Record":return has_FromRecord(n,r);case"Ref":return has_FromRef(n,r);case"This":return has_FromThis(n,r);case"Tuple":return has_FromTuple(n,r);case"Union":return has_FromUnion(n,r);default:return IsTransform(e)}}const dt=new Set;function HasTransform(e,t){dt.clear();return has_Visit(e,t)}function Decode(...e){const[t,r,n]=e.length===3?[e[0],e[1],e[2]]:[e[0],[],e[1]];if(!Check(t,r,n))throw new TransformDecodeCheckError(t,n,Errors(t,r,n).First());return HasTransform(t,r)?TransformDecode(t,r,n):n}function clone_FromObject(e){const t={};for(const r of Object.getOwnPropertyNames(e)){t[r]=clone_Clone(e[r])}for(const r of Object.getOwnPropertySymbols(e)){t[r]=clone_Clone(e[r])}return t}function clone_FromArray(e){return e.map((e=>clone_Clone(e)))}function FromTypedArray(e){return e.slice()}function FromMap(e){return new Map(clone_Clone([...e.entries()]))}function FromSet(e){return new Set(clone_Clone([...e.entries()]))}function clone_FromDate(e){return new Date(e.toISOString())}function clone_FromValue(e){return e}function clone_Clone(e){if(IsArray(e))return clone_FromArray(e);if(IsDate(e))return clone_FromDate(e);if(IsTypedArray(e))return FromTypedArray(e);if(IsMap(e))return FromMap(e);if(IsSet(e))return FromSet(e);if(IsObject(e))return clone_FromObject(e);if(IsValueType(e))return clone_FromValue(e);throw new Error("ValueClone: Unable to clone value")}function ValueOrDefault(e,t){const r=HasPropertyKey(e,"default")?e.default:undefined;const n=IsFunction(r)?r():clone_Clone(r);return IsUndefined(t)?n:IsObject(t)&&IsObject(n)?Object.assign(n,t):t}function HasDefaultProperty(e){return IsKind(e)&&"default"in e}function default_FromArray(e,t,r){if(IsArray(r)){for(let n=0;n{const s=default_Visit(r,t,n);return IsObject(s)?{...e,...s}:s}),{})}function default_FromObject(e,t,r){const n=ValueOrDefault(e,r);if(!IsObject(n))return n;const s=Object.getOwnPropertyNames(e.properties);for(const r of s){const s=default_Visit(e.properties[r],t,n[r]);if(IsUndefined(s))continue;n[r]=default_Visit(e.properties[r],t,n[r])}if(!HasDefaultProperty(e.additionalProperties))return n;for(const r of Object.getOwnPropertyNames(n)){if(s.includes(r))continue;n[r]=default_Visit(e.additionalProperties,t,n[r])}return n}function default_FromRecord(e,t,r){const n=ValueOrDefault(e,r);if(!IsObject(n))return n;const s=e.additionalProperties;const[o,i]=Object.entries(e.patternProperties)[0];const a=new RegExp(o);for(const e of Object.getOwnPropertyNames(n)){if(!(a.test(e)&&HasDefaultProperty(i)))continue;n[e]=default_Visit(i,t,n[e])}if(!HasDefaultProperty(s))return n;for(const e of Object.getOwnPropertyNames(n)){if(a.test(e))continue;n[e]=default_Visit(s,t,n[e])}return n}function default_FromRef(e,t,r){return default_Visit(deref_Deref(e,t),t,ValueOrDefault(e,r))}function default_FromThis(e,t,r){return default_Visit(deref_Deref(e,t),t,r)}function default_FromTuple(e,t,r){const n=ValueOrDefault(e,r);if(!IsArray(n)||IsUndefined(e.items))return n;const[s,o]=[e.items,Math.max(e.items.length,n.length)];for(let e=0;e/g,">").replace(/--/g,"--")}function getPluginOptions(e){return{kernelPublicKey:e?.kernelPublicKey||ft,logLevel:e?.logLevel??i.INFO,postCommentOnError:e?.postCommentOnError??true,settingsSchema:e?.settingsSchema,envSchema:e?.envSchema,commandSchema:e?.commandSchema,bypassSignatureVerification:e?.bypassSignatureVerification||false}}var ht="Ubiquity";async function postComment(e,t){if("issue"in e.payload&&e.payload.repository?.owner?.login){const r=createStructuredMetadata(t.metadata?.name,t);await e.octokit.rest.issues.createComment({owner:e.payload.repository.owner.login,repo:e.payload.repository.name,issue_number:e.payload.issue.number,body:[t.logMessage.diff,r].join("\n")})}else{e.logger.info("Cannot post comment because issue is not found in the payload")}}function createStructuredMetadata(e,t){const r=t.logMessage;const n=t.metadata;const s=sanitizeMetadata(n);const o=t.metadata?.stack;const i=(Array.isArray(o)?o.join("\n"):o)?.split("\n")[2]??"";const a=i.match(/at (\S+)/)?.[1]??"";const A=`\x3c!-- ${ht} - ${e} - ${a} - ${n?.revision}`;let c;const u=["```json",s,"```"].join("\n");const l=[A,s,"--\x3e"].join("\n");if(r?.type==="fatal"){c=[u,l].join("\n")}else{c=l}return`\n${c}\n`}var Et={throttle:{onAbuseLimit:(e,t,r)=>{r.log.warn(`Abuse limit hit with "${t.method} ${t.url}", retrying in ${e} seconds.`);return true},onRateLimit:(e,t,r)=>{r.log.warn(`Rate limit hit with "${t.method} ${t.url}", retrying in ${e} seconds.`);return true},onSecondaryRateLimit:(e,t,r)=>{r.log.warn(`Secondary rate limit hit with "${t.method} ${t.url}", retrying in ${e} seconds.`);return true}}};var mt=Octokit.plugin(throttling,retry,paginateRest,restEndpointMethods,paginateGraphQL).defaults((e=>({...Et,...e})));async function verifySignature(e,t,r){try{const n={stateId:t.stateId,eventName:t.eventName,eventPayload:t.eventPayload,settings:t.settings,authToken:t.authToken,ref:t.ref,command:t.command};const s=e.replace("-----BEGIN PUBLIC KEY-----","").replace("-----END PUBLIC KEY-----","").trim();const o=Uint8Array.from(atob(s),(e=>e.charCodeAt(0)));const i=await crypto.subtle.importKey("spki",o,{name:"RSASSA-PKCS1-v1_5",hash:"SHA-256"},true,["verify"]);const a=Uint8Array.from(atob(r),(e=>e.charCodeAt(0)));const A=(new TextEncoder).encode(JSON.stringify(n));return await crypto.subtle.verify("RSASSA-PKCS1-v1_5",i,a,A)}catch(e){console.error(e);return false}}var It=_.Object({stateId:_.String(),eventName:_.String(),eventPayload:_.Record(_.String(),_.Any()),command:_.Union([_.Null(),_.Object({name:_.String(),parameters:_.Unknown()})]),authToken:_.String(),settings:_.Record(_.String(),_.Any()),ref:_.String(),signature:_.String()});function createPlugin(e,t,r){const n=getPluginOptions(r);const s=new Hono;s.get("/manifest.json",(e=>e.json(t)));s.post("/",(async t=>{if(t.req.header("content-type")!=="application/json"){throw new HTTPException(400,{message:"Content-Type must be application/json"})}const r=await t.req.json();const s=[...Value.Errors(It,r)];if(s.length){console.log(s,{depth:null});throw new HTTPException(400,{message:"Invalid body"})}const o=Value.Decode(It,r);const i=o.signature;if(!n.bypassSignatureVerification&&!await verifySignature(n.kernelPublicKey,o,i)){throw new HTTPException(400,{message:"Invalid signature"})}let a;if(n.settingsSchema){try{a=Value.Decode(n.settingsSchema,Value.Default(n.settingsSchema,o.settings))}catch(e){console.log(...Value.Errors(n.settingsSchema,o.settings),{depth:null});throw e}}else{a=o.settings}let A;const c=honoEnv(t);if(n.envSchema){try{A=Value.Decode(n.envSchema,Value.Default(n.envSchema,c))}catch(e){console.log(...Value.Errors(n.envSchema,c),{depth:null});throw e}}else{A=t.env}let u=null;if(o.command&&n.commandSchema){try{u=Value.Decode(n.commandSchema,Value.Default(n.commandSchema,o.command))}catch(e){console.log(...Value.Errors(n.commandSchema,o.command),{depth:null});throw e}}else if(o.command){u=o.command}const l={eventName:o.eventName,payload:o.eventPayload,command:u,octokit:new mt({auth:o.authToken}),config:a,env:A,logger:new Logs(n.logLevel)};try{const r=await e(l);return t.json({stateId:o.stateId,output:r??{}})}catch(e){console.error(e);let t;if(e instanceof Error){t=l.logger.error(`Error: ${e}`,{error:e})}else if(e instanceof LogReturn2){t=e}else{t=l.logger.error(`Error: ${e}`)}if(n.postCommentOnError&&t){await postComment(l,t)}throw new HTTPException(500,{message:"Unexpected error"})}}));return s}var yt=_.Union([_.Null(),_.Object({name:_.String(),parameters:_.Unknown()})]);function jsonType(e){return _.Transform(_.String()).Decode((t=>{const r=JSON.parse(t);return Decode(e,default_Default(e,r))})).Encode((e=>JSON.stringify(e)))}(0,gt.config)();var Ct=_.Object({stateId:_.String(),eventName:_.String(),eventPayload:jsonType(_.Record(_.String(),_.Any())),command:jsonType(yt),authToken:_.String(),settings:jsonType(_.Record(_.String(),_.Any())),ref:_.String(),signature:_.String()});async function createActionsPlugin(e,t){const r=getPluginOptions(t);const n=process.env.PLUGIN_GITHUB_TOKEN;if(!n){Xe.setFailed("Error: PLUGIN_GITHUB_TOKEN env is not set");return}const s=et.context.payload.inputs;const o=s.signature;if(!r.bypassSignatureVerification&&!await verifySignature(r.kernelPublicKey,s,o)){Xe.setFailed(`Error: Invalid signature`);return}const i=et.context.payload.inputs;const a=[...Errors(Ct,i)];if(a.length){console.dir(a,{depth:null});Xe.setFailed(`Error: Invalid inputs payload: ${a.join(",")}`);return}const u=Decode(Ct,i);let l;if(r.settingsSchema){try{l=Decode(r.settingsSchema,default_Default(r.settingsSchema,u.settings))}catch(e){console.dir(...Errors(r.settingsSchema,u.settings),{depth:null});throw e}}else{l=u.settings}let p;if(r.envSchema){try{p=Decode(r.envSchema,default_Default(r.envSchema,process.env))}catch(e){console.dir(...Errors(r.envSchema,process.env),{depth:null});throw e}}else{p=process.env}let d=null;if(u.command&&r.commandSchema){try{d=Decode(r.commandSchema,default_Default(r.commandSchema,u.command))}catch(e){console.dir(...Errors(r.commandSchema,u.command),{depth:null});throw e}}else if(u.command){d=u.command}const g={eventName:u.eventName,payload:u.eventPayload,command:d,octokit:new mt({auth:u.authToken}),config:l,env:p,logger:new c(r.logLevel)};try{const t=await e(g);Xe.setOutput("result",t);await returnDataToKernel(n,u.stateId,t)}catch(e){console.error(e);let t;if(e instanceof Error){Xe.setFailed(e);t=g.logger.error(`Error: ${e}`,{error:e})}else if(e instanceof A){Xe.setFailed(e.logMessage.raw);t=e}else{Xe.setFailed(`Error: ${e}`);t=g.logger.error(`Error: ${e}`)}if(r.postCommentOnError&&t){await postErrorComment(g,t)}}}async function postErrorComment(e,t){if("issue"in e.payload&&e.payload.repository?.owner?.login){await e.octokit.rest.issues.createComment({owner:e.payload.repository.owner.login,repo:e.payload.repository.name,issue_number:e.payload.issue.number,body:`${t.logMessage.diff}\n\x3c!--\n${getGithubWorkflowRunUrl()}\n${sanitizeMetadata(t.metadata)}\n--\x3e`})}else{e.logger.info("Cannot post error comment because issue is not found in the payload")}}function getGithubWorkflowRunUrl(){return`${et.context.payload.repository?.html_url}/actions/runs/${et.context.runId}`}async function returnDataToKernel(e,t,r){const n=new mt({auth:e});await n.rest.repos.createDispatchEvent({owner:et.context.repo.owner,repo:et.context.repo.repo,event_type:"return-data-to-ubiquity-os-kernel",client_payload:{state_id:t,output:r?JSON.stringify(r):null}})}async function getWatchedRepos(e){const{config:{watch:{optOut:t}}}=e;const r=new Set;const n=e.payload.repository.owner?.login;if(!n){throw new Error("No owner found in the payload")}const s=await getReposForOrg(e,n);s.forEach((e=>r.add(e.name.toLowerCase())));for(const e of t){r.forEach((t=>t.includes(e)?r.delete(t):null))}return Array.from(r).map((e=>s.find((t=>t.name.toLowerCase()===e)))).filter((e=>e!==undefined))}async function getReposForOrg(e,t){const{octokit:r}=e;try{return await r.paginate(r.rest.repos.listForOrg,{org:t,per_page:100})}catch(e){throw new Error(`Error getting repositories for org ${t}: `+JSON.stringify(e))}}class LuxonError extends Error{}class InvalidDateTimeError extends LuxonError{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class InvalidIntervalError extends LuxonError{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class InvalidDurationError extends LuxonError{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class ConflictingSpecificationError extends LuxonError{}class InvalidUnitError extends LuxonError{constructor(e){super(`Invalid unit ${e}`)}}class InvalidArgumentError extends LuxonError{}class ZoneIsAbstractError extends LuxonError{constructor(){super("Zone is an abstract class")}}const Qt="numeric",Bt="short",bt="long";const Tt={year:Qt,month:Qt,day:Qt};const wt={year:Qt,month:Bt,day:Qt};const vt={year:Qt,month:Bt,day:Qt,weekday:Bt};const Rt={year:Qt,month:bt,day:Qt};const kt={year:Qt,month:bt,day:Qt,weekday:bt};const Dt={hour:Qt,minute:Qt};const _t={hour:Qt,minute:Qt,second:Qt};const St={hour:Qt,minute:Qt,second:Qt,timeZoneName:Bt};const Ft={hour:Qt,minute:Qt,second:Qt,timeZoneName:bt};const Nt={hour:Qt,minute:Qt,hourCycle:"h23"};const Ot={hour:Qt,minute:Qt,second:Qt,hourCycle:"h23"};const Lt={hour:Qt,minute:Qt,second:Qt,hourCycle:"h23",timeZoneName:Bt};const Ut={hour:Qt,minute:Qt,second:Qt,hourCycle:"h23",timeZoneName:bt};const Gt={year:Qt,month:Qt,day:Qt,hour:Qt,minute:Qt};const Pt={year:Qt,month:Qt,day:Qt,hour:Qt,minute:Qt,second:Qt};const Mt={year:Qt,month:Bt,day:Qt,hour:Qt,minute:Qt};const xt={year:Qt,month:Bt,day:Qt,hour:Qt,minute:Qt,second:Qt};const Vt={year:Qt,month:Bt,day:Qt,weekday:Bt,hour:Qt,minute:Qt};const jt={year:Qt,month:bt,day:Qt,hour:Qt,minute:Qt,timeZoneName:Bt};const Ht={year:Qt,month:bt,day:Qt,hour:Qt,minute:Qt,second:Qt,timeZoneName:Bt};const Yt={year:Qt,month:bt,day:Qt,weekday:bt,hour:Qt,minute:Qt,timeZoneName:bt};const qt={year:Qt,month:bt,day:Qt,weekday:bt,hour:Qt,minute:Qt,second:Qt,timeZoneName:bt};class Zone{get type(){throw new ZoneIsAbstractError}get name(){throw new ZoneIsAbstractError}get ianaName(){return this.name}get isUniversal(){throw new ZoneIsAbstractError}offsetName(e,t){throw new ZoneIsAbstractError}formatOffset(e,t){throw new ZoneIsAbstractError}offset(e){throw new ZoneIsAbstractError}equals(e){throw new ZoneIsAbstractError}get isValid(){throw new ZoneIsAbstractError}}let Jt=null;class SystemZone extends Zone{static get instance(){if(Jt===null){Jt=new SystemZone}return Jt}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return false}offsetName(e,{format:t,locale:r}){return parseZoneInfo(e,t,r)}formatOffset(e,t){return formatOffset(this.offset(e),t)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return true}}let Wt={};function makeDTF(e){if(!Wt[e]){Wt[e]=new Intl.DateTimeFormat("en-US",{hour12:false,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})}return Wt[e]}const Kt={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function hackyOffset(e,t){const r=e.format(t).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r),[,s,o,i,a,A,c,u]=n;return[i,s,o,a,A,c,u]}function partsOffset(e,t){const r=e.formatToParts(t);const n=[];for(let e=0;e=0?d:1e3+d;return(l-p)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}}let zt={};function getCachedLF(e,t={}){const r=JSON.stringify([e,t]);let n=zt[r];if(!n){n=new Intl.ListFormat(e,t);zt[r]=n}return n}let Zt={};function getCachedDTF(e,t={}){const r=JSON.stringify([e,t]);let n=Zt[r];if(!n){n=new Intl.DateTimeFormat(e,t);Zt[r]=n}return n}let Xt={};function getCachedINF(e,t={}){const r=JSON.stringify([e,t]);let n=Xt[r];if(!n){n=new Intl.NumberFormat(e,t);Xt[r]=n}return n}let er={};function getCachedRTF(e,t={}){const{base:r,...n}=t;const s=JSON.stringify([e,n]);let o=er[s];if(!o){o=new Intl.RelativeTimeFormat(e,t);er[s]=o}return o}let tr=null;function systemLocale(){if(tr){return tr}else{tr=(new Intl.DateTimeFormat).resolvedOptions().locale;return tr}}let rr={};function getCachedWeekInfo(e){let t=rr[e];if(!t){const r=new Intl.Locale(e);t="getWeekInfo"in r?r.getWeekInfo():r.weekInfo;rr[e]=t}return t}function parseLocaleString(e){const t=e.indexOf("-x-");if(t!==-1){e=e.substring(0,t)}const r=e.indexOf("-u-");if(r===-1){return[e]}else{let t;let n;try{t=getCachedDTF(e).resolvedOptions();n=e}catch(s){const o=e.substring(0,r);t=getCachedDTF(o).resolvedOptions();n=o}const{numberingSystem:s,calendar:o}=t;return[n,s,o]}}function intlConfigString(e,t,r){if(r||t){if(!e.includes("-u-")){e+="-u"}if(r){e+=`-ca-${r}`}if(t){e+=`-nu-${t}`}return e}else{return e}}function mapMonths(e){const t=[];for(let r=1;r<=12;r++){const n=DateTime.utc(2009,r,1);t.push(e(n))}return t}function mapWeekdays(e){const t=[];for(let r=1;r<=7;r++){const n=DateTime.utc(2016,11,13+r);t.push(e(n))}return t}function listStuff(e,t,r,n){const s=e.listingMode();if(s==="error"){return null}else if(s==="en"){return r(t)}else{return n(t)}}function supportsFastNumbers(e){if(e.numberingSystem&&e.numberingSystem!=="latn"){return false}else{return e.numberingSystem==="latn"||!e.locale||e.locale.startsWith("en")||new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem==="latn"}}class PolyNumberFormatter{constructor(e,t,r){this.padTo=r.padTo||0;this.floor=r.floor||false;const{padTo:n,floor:s,...o}=r;if(!t||Object.keys(o).length>0){const t={useGrouping:false,...r};if(r.padTo>0)t.minimumIntegerDigits=r.padTo;this.inf=getCachedINF(e,t)}}format(e){if(this.inf){const t=this.floor?Math.floor(e):e;return this.inf.format(t)}else{const t=this.floor?Math.floor(e):roundTo(e,3);return padStart(t,this.padTo)}}}class PolyDateFormatter{constructor(e,t,r){this.opts=r;this.originalZone=undefined;let n=undefined;if(this.opts.timeZone){this.dt=e}else if(e.zone.type==="fixed"){const t=-1*(e.offset/60);const r=t>=0?`Etc/GMT+${t}`:`Etc/GMT${t}`;if(e.offset!==0&&IANAZone.create(r).valid){n=r;this.dt=e}else{n="UTC";this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset});this.originalZone=e.zone}}else if(e.zone.type==="system"){this.dt=e}else if(e.zone.type==="iana"){this.dt=e;n=e.zone.name}else{n="UTC";this.dt=e.setZone("UTC").plus({minutes:e.offset});this.originalZone=e.zone}const s={...this.opts};s.timeZone=s.timeZone||n;this.dtf=getCachedDTF(t,s)}format(){if(this.originalZone){return this.formatToParts().map((({value:e})=>e)).join("")}return this.dtf.format(this.dt.toJSDate())}formatToParts(){const e=this.dtf.formatToParts(this.dt.toJSDate());if(this.originalZone){return e.map((e=>{if(e.type==="timeZoneName"){const t=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...e,value:t}}else{return e}}))}return e}resolvedOptions(){return this.dtf.resolvedOptions()}}class PolyRelFormatter{constructor(e,t,r){this.opts={style:"long",...r};if(!t&&hasRelative()){this.rtf=getCachedRTF(e,r)}}format(e,t){if(this.rtf){return this.rtf.format(e,t)}else{return formatRelativeTime(t,e,this.opts.numeric,this.opts.style!=="long")}}formatToParts(e,t){if(this.rtf){return this.rtf.formatToParts(e,t)}else{return[]}}}const nr={firstDay:1,minimalDays:4,weekend:[6,7]};class Locale{static fromOpts(e){return Locale.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,t,r,n,s=false){const o=e||Settings.defaultLocale;const i=o||(s?"en-US":systemLocale());const a=t||Settings.defaultNumberingSystem;const A=r||Settings.defaultOutputCalendar;const c=validateWeekSettings(n)||Settings.defaultWeekSettings;return new Locale(i,a,A,c,o)}static resetCache(){tr=null;Zt={};Xt={};er={}}static fromObject({locale:e,numberingSystem:t,outputCalendar:r,weekSettings:n}={}){return Locale.create(e,t,r,n)}constructor(e,t,r,n,s){const[o,i,a]=parseLocaleString(e);this.locale=o;this.numberingSystem=t||i||null;this.outputCalendar=r||a||null;this.weekSettings=n;this.intl=intlConfigString(this.locale,this.numberingSystem,this.outputCalendar);this.weekdaysCache={format:{},standalone:{}};this.monthsCache={format:{},standalone:{}};this.meridiemCache=null;this.eraCache={};this.specifiedLocale=s;this.fastNumbersCached=null}get fastNumbers(){if(this.fastNumbersCached==null){this.fastNumbersCached=supportsFastNumbers(this)}return this.fastNumbersCached}listingMode(){const e=this.isEnglish();const t=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&t?"en":"intl"}clone(e){if(!e||Object.getOwnPropertyNames(e).length===0){return this}else{return Locale.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,validateWeekSettings(e.weekSettings)||this.weekSettings,e.defaultToEN||false)}}redefaultToEN(e={}){return this.clone({...e,defaultToEN:true})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:false})}months(e,t=false){return listStuff(this,e,months,(()=>{const r=t?{month:e,day:"numeric"}:{month:e},n=t?"format":"standalone";if(!this.monthsCache[n][e]){this.monthsCache[n][e]=mapMonths((e=>this.extract(e,r,"month")))}return this.monthsCache[n][e]}))}weekdays(e,t=false){return listStuff(this,e,weekdays,(()=>{const r=t?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},n=t?"format":"standalone";if(!this.weekdaysCache[n][e]){this.weekdaysCache[n][e]=mapWeekdays((e=>this.extract(e,r,"weekday")))}return this.weekdaysCache[n][e]}))}meridiems(){return listStuff(this,undefined,(()=>yr),(()=>{if(!this.meridiemCache){const e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[DateTime.utc(2016,11,13,9),DateTime.utc(2016,11,13,19)].map((t=>this.extract(t,e,"dayperiod")))}return this.meridiemCache}))}eras(e){return listStuff(this,e,eras,(()=>{const t={era:e};if(!this.eraCache[e]){this.eraCache[e]=[DateTime.utc(-40,1,1),DateTime.utc(2017,1,1)].map((e=>this.extract(e,t,"era")))}return this.eraCache[e]}))}extract(e,t,r){const n=this.dtFormatter(e,t),s=n.formatToParts(),o=s.find((e=>e.type.toLowerCase()===r));return o?o.value:null}numberFormatter(e={}){return new PolyNumberFormatter(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,t={}){return new PolyDateFormatter(e,this.intl,t)}relFormatter(e={}){return new PolyRelFormatter(this.intl,this.isEnglish(),e)}listFormatter(e={}){return getCachedLF(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){if(this.weekSettings){return this.weekSettings}else if(!hasLocaleWeekInfo()){return nr}else{return getCachedWeekInfo(this.locale)}}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}}let sr=null;class FixedOffsetZone extends Zone{static get utcInstance(){if(sr===null){sr=new FixedOffsetZone(0)}return sr}static instance(e){return e===0?FixedOffsetZone.utcInstance:new FixedOffsetZone(e)}static parseSpecifier(e){if(e){const t=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(t){return new FixedOffsetZone(signedOffset(t[1],t[2]))}}return null}constructor(e){super();this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${formatOffset(this.fixed,"narrow")}`}get ianaName(){if(this.fixed===0){return"Etc/UTC"}else{return`Etc/GMT${formatOffset(-this.fixed,"narrow")}`}}offsetName(){return this.name}formatOffset(e,t){return formatOffset(this.fixed,t)}get isUniversal(){return true}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return true}}class InvalidZone extends Zone{constructor(e){super();this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return false}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return false}get isValid(){return false}}function normalizeZone(e,t){let r;if(isUndefined(e)||e===null){return t}else if(e instanceof Zone){return e}else if(isString(e)){const r=e.toLowerCase();if(r==="default")return t;else if(r==="local"||r==="system")return SystemZone.instance;else if(r==="utc"||r==="gmt")return FixedOffsetZone.utcInstance;else return FixedOffsetZone.parseSpecifier(r)||IANAZone.create(e)}else if(isNumber(e)){return FixedOffsetZone.instance(e)}else if(typeof e==="object"&&"offset"in e&&typeof e.offset==="function"){return e}else{return new InvalidZone(e)}}let now=()=>Date.now(),or="system",ir=null,ar=null,Ar=null,cr=60,ur,lr=null;class Settings{static get now(){return now}static set now(e){now=e}static set defaultZone(e){or=e}static get defaultZone(){return normalizeZone(or,SystemZone.instance)}static get defaultLocale(){return ir}static set defaultLocale(e){ir=e}static get defaultNumberingSystem(){return ar}static set defaultNumberingSystem(e){ar=e}static get defaultOutputCalendar(){return Ar}static set defaultOutputCalendar(e){Ar=e}static get defaultWeekSettings(){return lr}static set defaultWeekSettings(e){lr=validateWeekSettings(e)}static get twoDigitCutoffYear(){return cr}static set twoDigitCutoffYear(e){cr=e%100}static get throwOnInvalid(){return ur}static set throwOnInvalid(e){ur=e}static resetCaches(){Locale.resetCache();IANAZone.resetCache()}}class Invalid{constructor(e,t){this.reason=e;this.explanation=t}toMessage(){if(this.explanation){return`${this.reason}: ${this.explanation}`}else{return this.reason}}}const pr=[0,31,59,90,120,151,181,212,243,273,304,334],dr=[0,31,60,91,121,152,182,213,244,274,305,335];function unitOutOfRange(e,t){return new Invalid("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function dayOfWeek(e,t,r){const n=new Date(Date.UTC(e,t-1,r));if(e<100&&e>=0){n.setUTCFullYear(n.getUTCFullYear()-1900)}const s=n.getUTCDay();return s===0?7:s}function computeOrdinal(e,t,r){return r+(isLeapYear(e)?dr:pr)[t-1]}function uncomputeOrdinal(e,t){const r=isLeapYear(e)?dr:pr,n=r.findIndex((e=>eweeksInWeekYear(n,t,r)){c=n+1;A=1}else{c=n}return{weekYear:c,weekNumber:A,weekday:a,...timeObject(e)}}function weekToGregorian(e,t=4,r=1){const{weekYear:n,weekNumber:s,weekday:o}=e,i=isoWeekdayToLocal(dayOfWeek(n,1,t),r),a=daysInYear(n);let A=s*7+o-i-7+t,c;if(A<1){c=n-1;A+=daysInYear(c)}else if(A>a){c=n+1;A-=daysInYear(n)}else{c=n}const{month:u,day:l}=uncomputeOrdinal(c,A);return{year:c,month:u,day:l,...timeObject(e)}}function gregorianToOrdinal(e){const{year:t,month:r,day:n}=e;const s=computeOrdinal(t,r,n);return{year:t,ordinal:s,...timeObject(e)}}function ordinalToGregorian(e){const{year:t,ordinal:r}=e;const{month:n,day:s}=uncomputeOrdinal(t,r);return{year:t,month:n,day:s,...timeObject(e)}}function usesLocalWeekValues(e,t){const r=!isUndefined(e.localWeekday)||!isUndefined(e.localWeekNumber)||!isUndefined(e.localWeekYear);if(r){const r=!isUndefined(e.weekday)||!isUndefined(e.weekNumber)||!isUndefined(e.weekYear);if(r){throw new ConflictingSpecificationError("Cannot mix locale-based week fields with ISO-based week fields")}if(!isUndefined(e.localWeekday))e.weekday=e.localWeekday;if(!isUndefined(e.localWeekNumber))e.weekNumber=e.localWeekNumber;if(!isUndefined(e.localWeekYear))e.weekYear=e.localWeekYear;delete e.localWeekday;delete e.localWeekNumber;delete e.localWeekYear;return{minDaysInFirstWeek:t.getMinDaysInFirstWeek(),startOfWeek:t.getStartOfWeek()}}else{return{minDaysInFirstWeek:4,startOfWeek:1}}}function hasInvalidWeekData(e,t=4,r=1){const n=isInteger(e.weekYear),s=integerBetween(e.weekNumber,1,weeksInWeekYear(e.weekYear,t,r)),o=integerBetween(e.weekday,1,7);if(!n){return unitOutOfRange("weekYear",e.weekYear)}else if(!s){return unitOutOfRange("week",e.weekNumber)}else if(!o){return unitOutOfRange("weekday",e.weekday)}else return false}function hasInvalidOrdinalData(e){const t=isInteger(e.year),r=integerBetween(e.ordinal,1,daysInYear(e.year));if(!t){return unitOutOfRange("year",e.year)}else if(!r){return unitOutOfRange("ordinal",e.ordinal)}else return false}function hasInvalidGregorianData(e){const t=isInteger(e.year),r=integerBetween(e.month,1,12),n=integerBetween(e.day,1,daysInMonth(e.year,e.month));if(!t){return unitOutOfRange("year",e.year)}else if(!r){return unitOutOfRange("month",e.month)}else if(!n){return unitOutOfRange("day",e.day)}else return false}function hasInvalidTimeData(e){const{hour:t,minute:r,second:n,millisecond:s}=e;const o=integerBetween(t,0,23)||t===24&&r===0&&n===0&&s===0,i=integerBetween(r,0,59),a=integerBetween(n,0,59),A=integerBetween(s,0,999);if(!o){return unitOutOfRange("hour",t)}else if(!i){return unitOutOfRange("minute",r)}else if(!a){return unitOutOfRange("second",n)}else if(!A){return unitOutOfRange("millisecond",s)}else return false}function isUndefined(e){return typeof e==="undefined"}function isNumber(e){return typeof e==="number"}function isInteger(e){return typeof e==="number"&&e%1===0}function isString(e){return typeof e==="string"}function isDate(e){return Object.prototype.toString.call(e)==="[object Date]"}function hasRelative(){try{return typeof Intl!=="undefined"&&!!Intl.RelativeTimeFormat}catch(e){return false}}function hasLocaleWeekInfo(){try{return typeof Intl!=="undefined"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(e){return false}}function maybeArray(e){return Array.isArray(e)?e:[e]}function bestBy(e,t,r){if(e.length===0){return undefined}return e.reduce(((e,n)=>{const s=[t(n),n];if(!e){return s}else if(r(e[0],s[0])===e[0]){return e}else{return s}}),null)[1]}function util_pick(e,t){return t.reduce(((t,r)=>{t[r]=e[r];return t}),{})}function util_hasOwnProperty(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function validateWeekSettings(e){if(e==null){return null}else if(typeof e!=="object"){throw new InvalidArgumentError("Week settings must be an object")}else{if(!integerBetween(e.firstDay,1,7)||!integerBetween(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some((e=>!integerBetween(e,1,7)))){throw new InvalidArgumentError("Invalid week settings")}return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}}function integerBetween(e,t,r){return isInteger(e)&&e>=t&&e<=r}function floorMod(e,t){return e-t*Math.floor(e/t)}function padStart(e,t=2){const r=e<0;let n;if(r){n="-"+(""+-e).padStart(t,"0")}else{n=(""+e).padStart(t,"0")}return n}function parseInteger(e){if(isUndefined(e)||e===null||e===""){return undefined}else{return parseInt(e,10)}}function parseFloating(e){if(isUndefined(e)||e===null||e===""){return undefined}else{return parseFloat(e)}}function parseMillis(e){if(isUndefined(e)||e===null||e===""){return undefined}else{const t=parseFloat("0."+e)*1e3;return Math.floor(t)}}function roundTo(e,t,r=false){const n=10**t,s=r?Math.trunc:Math.round;return s(e*n)/n}function isLeapYear(e){return e%4===0&&(e%100!==0||e%400===0)}function daysInYear(e){return isLeapYear(e)?366:365}function daysInMonth(e,t){const r=floorMod(t-1,12)+1,n=e+(t-r)/12;if(r===2){return isLeapYear(n)?29:28}else{return[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}}function objToLocalTS(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);if(e.year<100&&e.year>=0){t=new Date(t);t.setUTCFullYear(e.year,e.month-1,e.day)}return+t}function firstWeekOffset(e,t,r){const n=isoWeekdayToLocal(dayOfWeek(e,1,t),r);return-n+t-1}function weeksInWeekYear(e,t=4,r=1){const n=firstWeekOffset(e,t,r);const s=firstWeekOffset(e+1,t,r);return(daysInYear(e)-n+s)/7}function untruncateYear(e){if(e>99){return e}else return e>Settings.twoDigitCutoffYear?1900+e:2e3+e}function parseZoneInfo(e,t,r,n=null){const s=new Date(e),o={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};if(n){o.timeZone=n}const i={timeZoneName:t,...o};const a=new Intl.DateTimeFormat(r,i).formatToParts(s).find((e=>e.type.toLowerCase()==="timezonename"));return a?a.value:null}function signedOffset(e,t){let r=parseInt(e,10);if(Number.isNaN(r)){r=0}const n=parseInt(t,10)||0,s=r<0||Object.is(r,-0)?-n:n;return r*60+s}function asNumber(e){const t=Number(e);if(typeof e==="boolean"||e===""||Number.isNaN(t))throw new InvalidArgumentError(`Invalid unit value ${e}`);return t}function normalizeObject(e,t){const r={};for(const n in e){if(util_hasOwnProperty(e,n)){const s=e[n];if(s===undefined||s===null)continue;r[t(n)]=asNumber(s)}}return r}function formatOffset(e,t){const r=Math.trunc(Math.abs(e/60)),n=Math.trunc(Math.abs(e%60)),s=e>=0?"+":"-";switch(t){case"short":return`${s}${padStart(r,2)}:${padStart(n,2)}`;case"narrow":return`${s}${r}${n>0?`:${n}`:""}`;case"techie":return`${s}${padStart(r,2)}${padStart(n,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function timeObject(e){return util_pick(e,["hour","minute","second","millisecond"])}function stringify(e){return JSON.stringify(e,Object.keys(e).sort())}const gr=["January","February","March","April","May","June","July","August","September","October","November","December"];const fr=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];const hr=["J","F","M","A","M","J","J","A","S","O","N","D"];function months(e){switch(e){case"narrow":return[...hr];case"short":return[...fr];case"long":return[...gr];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Er=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"];const mr=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"];const Ir=["M","T","W","T","F","S","S"];function weekdays(e){switch(e){case"narrow":return[...Ir];case"short":return[...mr];case"long":return[...Er];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const yr=["AM","PM"];const Cr=["Before Christ","Anno Domini"];const Qr=["BC","AD"];const Br=["B","A"];function eras(e){switch(e){case"narrow":return[...Br];case"short":return[...Qr];case"long":return[...Cr];default:return null}}function meridiemForDateTime(e){return yr[e.hour<12?0:1]}function weekdayForDateTime(e,t){return weekdays(t)[e.weekday-1]}function monthForDateTime(e,t){return months(t)[e.month-1]}function eraForDateTime(e,t){return eras(t)[e.year<0?0:1]}function formatRelativeTime(e,t,r="always",n=false){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]};const o=["hours","minutes","seconds"].indexOf(e)===-1;if(r==="auto"&&o){const r=e==="days";switch(t){case 1:return r?"tomorrow":`next ${s[e][0]}`;case-1:return r?"yesterday":`last ${s[e][0]}`;case 0:return r?"today":`this ${s[e][0]}`;default:}}const i=Object.is(t,-0)||t<0,a=Math.abs(t),A=a===1,c=s[e],u=n?A?c[1]:c[2]||c[1]:A?s[e][0]:e;return i?`${a} ${u} ago`:`in ${a} ${u}`}function formatString(e){const t=pick(e,["weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle"]),r=stringify(t),n="EEEE, LLLL d, yyyy, h:mm a";switch(r){case stringify(Formats.DATE_SHORT):return"M/d/yyyy";case stringify(Formats.DATE_MED):return"LLL d, yyyy";case stringify(Formats.DATE_MED_WITH_WEEKDAY):return"EEE, LLL d, yyyy";case stringify(Formats.DATE_FULL):return"LLLL d, yyyy";case stringify(Formats.DATE_HUGE):return"EEEE, LLLL d, yyyy";case stringify(Formats.TIME_SIMPLE):return"h:mm a";case stringify(Formats.TIME_WITH_SECONDS):return"h:mm:ss a";case stringify(Formats.TIME_WITH_SHORT_OFFSET):return"h:mm a";case stringify(Formats.TIME_WITH_LONG_OFFSET):return"h:mm a";case stringify(Formats.TIME_24_SIMPLE):return"HH:mm";case stringify(Formats.TIME_24_WITH_SECONDS):return"HH:mm:ss";case stringify(Formats.TIME_24_WITH_SHORT_OFFSET):return"HH:mm";case stringify(Formats.TIME_24_WITH_LONG_OFFSET):return"HH:mm";case stringify(Formats.DATETIME_SHORT):return"M/d/yyyy, h:mm a";case stringify(Formats.DATETIME_MED):return"LLL d, yyyy, h:mm a";case stringify(Formats.DATETIME_FULL):return"LLLL d, yyyy, h:mm a";case stringify(Formats.DATETIME_HUGE):return n;case stringify(Formats.DATETIME_SHORT_WITH_SECONDS):return"M/d/yyyy, h:mm:ss a";case stringify(Formats.DATETIME_MED_WITH_SECONDS):return"LLL d, yyyy, h:mm:ss a";case stringify(Formats.DATETIME_MED_WITH_WEEKDAY):return"EEE, d LLL yyyy, h:mm a";case stringify(Formats.DATETIME_FULL_WITH_SECONDS):return"LLLL d, yyyy, h:mm:ss a";case stringify(Formats.DATETIME_HUGE_WITH_SECONDS):return"EEEE, LLLL d, yyyy, h:mm:ss a";default:return n}}function stringifyTokens(e,t){let r="";for(const n of e){if(n.literal){r+=n.val}else{r+=t(n.val)}}return r}const br={D:Tt,DD:wt,DDD:Rt,DDDD:kt,t:Dt,tt:_t,ttt:St,tttt:Ft,T:Nt,TT:Ot,TTT:Lt,TTTT:Ut,f:Gt,ff:Mt,fff:jt,ffff:Yt,F:Pt,FF:xt,FFF:Ht,FFFF:qt};class Formatter{static create(e,t={}){return new Formatter(e,t)}static parseFormat(e){let t=null,r="",n=false;const s=[];for(let o=0;o0){s.push({literal:n||/^\s+$/.test(r),val:r})}t=null;r="";n=!n}else if(n){r+=i}else if(i===t){r+=i}else{if(r.length>0){s.push({literal:/^\s+$/.test(r),val:r})}r=i;t=i}}if(r.length>0){s.push({literal:n||/^\s+$/.test(r),val:r})}return s}static macroTokenToFormatOpts(e){return br[e]}constructor(e,t){this.opts=t;this.loc=e;this.systemLoc=null}formatWithSystemDefault(e,t){if(this.systemLoc===null){this.systemLoc=this.loc.redefaultToSystem()}const r=this.systemLoc.dtFormatter(e,{...this.opts,...t});return r.format()}dtFormatter(e,t={}){return this.loc.dtFormatter(e,{...this.opts,...t})}formatDateTime(e,t){return this.dtFormatter(e,t).format()}formatDateTimeParts(e,t){return this.dtFormatter(e,t).formatToParts()}formatInterval(e,t){const r=this.dtFormatter(e.start,t);return r.dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,t){return this.dtFormatter(e,t).resolvedOptions()}num(e,t=0){if(this.opts.forceSimple){return padStart(e,t)}const r={...this.opts};if(t>0){r.padTo=t}return this.loc.numberFormatter(r).format(e)}formatDateTimeFromString(e,t){const r=this.loc.listingMode()==="en",n=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",string=(t,r)=>this.loc.extract(e,t,r),formatOffset=t=>{if(e.isOffsetFixed&&e.offset===0&&t.allowZ){return"Z"}return e.isValid?e.zone.formatOffset(e.ts,t.format):""},meridiem=()=>r?meridiemForDateTime(e):string({hour:"numeric",hourCycle:"h12"},"dayperiod"),month=(t,n)=>r?monthForDateTime(e,t):string(n?{month:t}:{month:t,day:"numeric"},"month"),weekday=(t,n)=>r?weekdayForDateTime(e,t):string(n?{weekday:t}:{weekday:t,month:"long",day:"numeric"},"weekday"),maybeMacro=t=>{const r=Formatter.macroTokenToFormatOpts(t);if(r){return this.formatWithSystemDefault(e,r)}else{return t}},era=t=>r?eraForDateTime(e,t):string({era:t},"era"),tokenToString=t=>{switch(t){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12===0?12:e.hour%12);case"hh":return this.num(e.hour%12===0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return formatOffset({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return formatOffset({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return formatOffset({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return meridiem();case"d":return n?string({day:"numeric"},"day"):this.num(e.day);case"dd":return n?string({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return weekday("short",true);case"cccc":return weekday("long",true);case"ccccc":return weekday("narrow",true);case"E":return this.num(e.weekday);case"EEE":return weekday("short",false);case"EEEE":return weekday("long",false);case"EEEEE":return weekday("narrow",false);case"L":return n?string({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return n?string({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return month("short",true);case"LLLL":return month("long",true);case"LLLLL":return month("narrow",true);case"M":return n?string({month:"numeric"},"month"):this.num(e.month);case"MM":return n?string({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return month("short",false);case"MMMM":return month("long",false);case"MMMMM":return month("narrow",false);case"y":return n?string({year:"numeric"},"year"):this.num(e.year);case"yy":return n?string({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return n?string({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return n?string({year:"numeric"},"year"):this.num(e.year,6);case"G":return era("short");case"GG":return era("long");case"GGGGG":return era("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return maybeMacro(t)}};return stringifyTokens(Formatter.parseFormat(t),tokenToString)}formatDurationFromString(e,t){const tokenToField=e=>{switch(e[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},tokenToString=e=>t=>{const r=tokenToField(t);if(r){return this.num(e.get(r),t.length)}else{return t}},r=Formatter.parseFormat(t),n=r.reduce(((e,{literal:t,val:r})=>t?e:e.concat(r)),[]),s=e.shiftTo(...n.map(tokenToField).filter((e=>e)));return stringifyTokens(r,tokenToString(s))}}const Tr=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function combineRegexes(...e){const t=e.reduce(((e,t)=>e+t.source),"");return RegExp(`^${t}$`)}function combineExtractors(...e){return t=>e.reduce((([e,r,n],s)=>{const[o,i,a]=s(t,n);return[{...e,...o},i||r,a]}),[{},null,1]).slice(0,2)}function regexParser_parse(e,...t){if(e==null){return[null,null]}for(const[r,n]of t){const t=r.exec(e);if(t){return n(t)}}return[null,null]}function simpleParse(...e){return(t,r)=>{const n={};let s;for(s=0;se!==undefined&&(t||e&&u)?-e:e;return[{years:maybeNegate(parseFloating(r)),months:maybeNegate(parseFloating(n)),weeks:maybeNegate(parseFloating(s)),days:maybeNegate(parseFloating(o)),hours:maybeNegate(parseFloating(i)),minutes:maybeNegate(parseFloating(a)),seconds:maybeNegate(parseFloating(A),A==="-0"),milliseconds:maybeNegate(parseMillis(c),l)}]}const Vr={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function fromStrings(e,t,r,n,s,o,i){const a={year:t.length===2?untruncateYear(parseInteger(t)):parseInteger(t),month:fr.indexOf(r)+1,day:parseInteger(n),hour:parseInteger(s),minute:parseInteger(o)};if(i)a.second=parseInteger(i);if(e){a.weekday=e.length>3?Er.indexOf(e)+1:mr.indexOf(e)+1}return a}const jr=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function extractRFC2822(e){const[,t,r,n,s,o,i,a,A,c,u,l]=e,p=fromStrings(t,s,n,r,o,i,a);let d;if(A){d=Vr[A]}else if(c){d=0}else{d=signedOffset(u,l)}return[p,new FixedOffsetZone(d)]}function preprocessRFC2822(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const Hr=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Yr=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,qr=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function extractRFC1123Or850(e){const[,t,r,n,s,o,i,a]=e,A=fromStrings(t,s,n,r,o,i,a);return[A,FixedOffsetZone.utcInstance]}function extractASCII(e){const[,t,r,n,s,o,i,a]=e,A=fromStrings(t,a,r,n,s,o,i);return[A,FixedOffsetZone.utcInstance]}const Jr=combineRegexes(_r,Dr);const Wr=combineRegexes(Sr,Dr);const Kr=combineRegexes(Fr,Dr);const $r=combineRegexes(kr);const zr=combineExtractors(extractISOYmd,extractISOTime,extractISOOffset,extractIANAZone);const Zr=combineExtractors(Nr,extractISOTime,extractISOOffset,extractIANAZone);const Xr=combineExtractors(Lr,extractISOTime,extractISOOffset,extractIANAZone);const en=combineExtractors(extractISOTime,extractISOOffset,extractIANAZone);function parseISODate(e){return regexParser_parse(e,[Jr,zr],[Wr,Zr],[Kr,Xr],[$r,en])}function parseRFC2822Date(e){return regexParser_parse(preprocessRFC2822(e),[jr,extractRFC2822])}function parseHTTPDate(e){return regexParser_parse(e,[Hr,extractRFC1123Or850],[Yr,extractRFC1123Or850],[qr,extractASCII])}function parseISODuration(e){return regexParser_parse(e,[xr,extractISODuration])}const tn=combineExtractors(extractISOTime);function parseISOTimeOnly(e){return regexParser_parse(e,[Mr,tn])}const rn=combineRegexes(Ur,Pr);const nn=combineRegexes(Gr);const sn=combineExtractors(extractISOTime,extractISOOffset,extractIANAZone);function parseSQL(e){return regexParser_parse(e,[rn,zr],[nn,sn])}const on="Invalid Duration";const an={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},An={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...an},cn=146097/400,un=146097/4800,ln={years:{quarters:4,months:12,weeks:cn/7,days:cn,hours:cn*24,minutes:cn*24*60,seconds:cn*24*60*60,milliseconds:cn*24*60*60*1e3},quarters:{months:3,weeks:cn/28,days:cn/4,hours:cn*24/4,minutes:cn*24*60/4,seconds:cn*24*60*60/4,milliseconds:cn*24*60*60*1e3/4},months:{weeks:un/7,days:un,hours:un*24,minutes:un*24*60,seconds:un*24*60*60,milliseconds:un*24*60*60*1e3},...an};const pn=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"];const dn=pn.slice(0).reverse();function clone(e,t,r=false){const n={values:r?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new Duration(n)}function durationToMillis(e,t){let r=t.milliseconds??0;for(const n of dn.slice(1)){if(t[n]){r+=t[n]*e[n]["milliseconds"]}}return r}function normalizeValues(e,t){const r=durationToMillis(e,t)<0?-1:1;pn.reduceRight(((n,s)=>{if(!isUndefined(t[s])){if(n){const o=t[n]*r;const i=e[s][n];const a=Math.floor(o/i);t[s]+=a*r;t[n]-=a*i*r}return s}else{return n}}),null);pn.reduce(((r,n)=>{if(!isUndefined(t[n])){if(r){const s=t[r]%1;t[r]-=s;t[n]+=s*e[r][n]}return n}else{return r}}),null)}function removeZeroes(e){const t={};for(const[r,n]of Object.entries(e)){if(n!==0){t[r]=n}}return t}class Duration{constructor(e){const t=e.conversionAccuracy==="longterm"||false;let r=t?ln:An;if(e.matrix){r=e.matrix}this.values=e.values;this.loc=e.loc||Locale.create();this.conversionAccuracy=t?"longterm":"casual";this.invalid=e.invalid||null;this.matrix=r;this.isLuxonDuration=true}static fromMillis(e,t){return Duration.fromObject({milliseconds:e},t)}static fromObject(e,t={}){if(e==null||typeof e!=="object"){throw new InvalidArgumentError(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`)}return new Duration({values:normalizeObject(e,Duration.normalizeUnit),loc:Locale.fromObject(t),conversionAccuracy:t.conversionAccuracy,matrix:t.matrix})}static fromDurationLike(e){if(isNumber(e)){return Duration.fromMillis(e)}else if(Duration.isDuration(e)){return e}else if(typeof e==="object"){return Duration.fromObject(e)}else{throw new InvalidArgumentError(`Unknown duration argument ${e} of type ${typeof e}`)}}static fromISO(e,t){const[r]=parseISODuration(e);if(r){return Duration.fromObject(r,t)}else{return Duration.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}}static fromISOTime(e,t){const[r]=parseISOTimeOnly(e);if(r){return Duration.fromObject(r,t)}else{return Duration.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}}static invalid(e,t=null){if(!e){throw new InvalidArgumentError("need to specify a reason the Duration is invalid")}const r=e instanceof Invalid?e:new Invalid(e,t);if(Settings.throwOnInvalid){throw new InvalidDurationError(r)}else{return new Duration({invalid:r})}}static normalizeUnit(e){const t={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e?e.toLowerCase():e];if(!t)throw new InvalidUnitError(e);return t}static isDuration(e){return e&&e.isLuxonDuration||false}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,t={}){const r={...t,floor:t.round!==false&&t.floor!==false};return this.isValid?Formatter.create(this.loc,r).formatDurationFromString(this,e):on}toHuman(e={}){if(!this.isValid)return on;const t=pn.map((t=>{const r=this.values[t];if(isUndefined(r)){return null}return this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:t.slice(0,-1)}).format(r)})).filter((e=>e));return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(t)}toObject(){if(!this.isValid)return{};return{...this.values}}toISO(){if(!this.isValid)return null;let e="P";if(this.years!==0)e+=this.years+"Y";if(this.months!==0||this.quarters!==0)e+=this.months+this.quarters*3+"M";if(this.weeks!==0)e+=this.weeks+"W";if(this.days!==0)e+=this.days+"D";if(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)e+="T";if(this.hours!==0)e+=this.hours+"H";if(this.minutes!==0)e+=this.minutes+"M";if(this.seconds!==0||this.milliseconds!==0)e+=roundTo(this.seconds+this.milliseconds/1e3,3)+"S";if(e==="P")e+="T0S";return e}toISOTime(e={}){if(!this.isValid)return null;const t=this.toMillis();if(t<0||t>=864e5)return null;e={suppressMilliseconds:false,suppressSeconds:false,includePrefix:false,format:"extended",...e,includeOffset:false};const r=DateTime.fromMillis(t,{zone:"UTC"});return r.toISOTime(e)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){if(this.isValid){return`Duration { values: ${JSON.stringify(this.values)} }`}else{return`Duration { Invalid, reason: ${this.invalidReason} }`}}toMillis(){if(!this.isValid)return NaN;return durationToMillis(this.matrix,this.values)}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const t=Duration.fromDurationLike(e),r={};for(const e of pn){if(util_hasOwnProperty(t.values,e)||util_hasOwnProperty(this.values,e)){r[e]=t.get(e)+this.get(e)}}return clone(this,{values:r},true)}minus(e){if(!this.isValid)return this;const t=Duration.fromDurationLike(e);return this.plus(t.negate())}mapUnits(e){if(!this.isValid)return this;const t={};for(const r of Object.keys(this.values)){t[r]=asNumber(e(this.values[r],r))}return clone(this,{values:t},true)}get(e){return this[Duration.normalizeUnit(e)]}set(e){if(!this.isValid)return this;const t={...this.values,...normalizeObject(e,Duration.normalizeUnit)};return clone(this,{values:t})}reconfigure({locale:e,numberingSystem:t,conversionAccuracy:r,matrix:n}={}){const s=this.loc.clone({locale:e,numberingSystem:t});const o={loc:s,matrix:n,conversionAccuracy:r};return clone(this,o)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();normalizeValues(this.matrix,e);return clone(this,{values:e},true)}rescale(){if(!this.isValid)return this;const e=removeZeroes(this.normalize().shiftToAll().toObject());return clone(this,{values:e},true)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0){return this}e=e.map((e=>Duration.normalizeUnit(e)));const t={},r={},n=this.toObject();let s;for(const o of pn){if(e.indexOf(o)>=0){s=o;let e=0;for(const t in r){e+=this.matrix[t][o]*r[t];r[t]=0}if(isNumber(n[o])){e+=n[o]}const i=Math.trunc(e);t[o]=i;r[o]=(e*1e3-i*1e3)/1e3}else if(isNumber(n[o])){r[o]=n[o]}}for(const e in r){if(r[e]!==0){t[s]+=e===s?r[e]:r[e]/this.matrix[s][e]}}normalizeValues(this.matrix,t);return clone(this,{values:t},true)}shiftToAll(){if(!this.isValid)return this;return this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds")}negate(){if(!this.isValid)return this;const e={};for(const t of Object.keys(this.values)){e[t]=this.values[t]===0?0:-this.values[t]}return clone(this,{values:e},true)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid){return false}if(!this.loc.equals(e.loc)){return false}function eq(e,t){if(e===undefined||e===0)return t===undefined||t===0;return e===t}for(const t of pn){if(!eq(this.values[t],e.values[t])){return false}}return true}}const gn="Invalid Interval";function validateStartEnd(e,t){if(!e||!e.isValid){return Interval.invalid("missing or invalid start")}else if(!t||!t.isValid){return Interval.invalid("missing or invalid end")}else if(te}isBefore(e){if(!this.isValid)return false;return this.e<=e}contains(e){if(!this.isValid)return false;return this.s<=e&&this.e>e}set({start:e,end:t}={}){if(!this.isValid)return this;return Interval.fromDateTimes(e||this.s,t||this.e)}splitAt(...e){if(!this.isValid)return[];const t=e.map(friendlyDateTime).filter((e=>this.contains(e))).sort(((e,t)=>e.toMillis()-t.toMillis())),r=[];let{s:n}=this,s=0;while(n+this.e?this.e:e;r.push(Interval.fromDateTimes(n,o));n=o;s+=1}return r}splitBy(e){const t=Duration.fromDurationLike(e);if(!this.isValid||!t.isValid||t.as("milliseconds")===0){return[]}let{s:r}=this,n=1,s;const o=[];while(re*n)));s=+e>+this.e?this.e:e;o.push(Interval.fromDateTimes(r,s));r=s;n+=1}return o}divideEqually(e){if(!this.isValid)return[];return this.splitBy(this.length()/e).slice(0,e)}overlaps(e){return this.e>e.s&&this.s=e.e}equals(e){if(!this.isValid||!e.isValid){return false}return this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;const t=this.s>e.s?this.s:e.s,r=this.e=r){return null}else{return Interval.fromDateTimes(t,r)}}union(e){if(!this.isValid)return this;const t=this.se.e?this.e:e.e;return Interval.fromDateTimes(t,r)}static merge(e){const[t,r]=e.sort(((e,t)=>e.s-t.s)).reduce((([e,t],r)=>{if(!t){return[e,r]}else if(t.overlaps(r)||t.abutsStart(r)){return[e,t.union(r)]}else{return[e.concat([t]),r]}}),[[],null]);if(r){t.push(r)}return t}static xor(e){let t=null,r=0;const n=[],s=e.map((e=>[{time:e.s,type:"s"},{time:e.e,type:"e"}])),o=Array.prototype.concat(...s),i=o.sort(((e,t)=>e.time-t.time));for(const e of i){r+=e.type==="s"?1:-1;if(r===1){t=e.time}else{if(t&&+t!==+e.time){n.push(Interval.fromDateTimes(t,e.time))}t=null}}return Interval.merge(n)}difference(...e){return Interval.xor([this].concat(e)).map((e=>this.intersection(e))).filter((e=>e&&!e.isEmpty()))}toString(){if(!this.isValid)return gn;return`[${this.s.toISO()} – ${this.e.toISO()})`}[Symbol.for("nodejs.util.inspect.custom")](){if(this.isValid){return`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`}else{return`Interval { Invalid, reason: ${this.invalidReason} }`}}toLocaleString(e=Tt,t={}){return this.isValid?Formatter.create(this.s.loc.clone(t),e).formatInterval(this):gn}toISO(e){if(!this.isValid)return gn;return`${this.s.toISO(e)}/${this.e.toISO(e)}`}toISODate(){if(!this.isValid)return gn;return`${this.s.toISODate()}/${this.e.toISODate()}`}toISOTime(e){if(!this.isValid)return gn;return`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`}toFormat(e,{separator:t=" – "}={}){if(!this.isValid)return gn;return`${this.s.toFormat(e)}${t}${this.e.toFormat(e)}`}toDuration(e,t){if(!this.isValid){return Duration.invalid(this.invalidReason)}return this.e.diff(this.s,e,t)}mapEndpoints(e){return Interval.fromDateTimes(e(this.s),e(this.e))}}class Info{static hasDST(e=Settings.defaultZone){const t=DateTime.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset}static isValidIANAZone(e){return IANAZone.isValidZone(e)}static normalizeZone(e){return normalizeZone(e,Settings.defaultZone)}static getStartOfWeek({locale:e=null,locObj:t=null}={}){return(t||Locale.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:t=null}={}){return(t||Locale.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:t=null}={}){return(t||Locale.create(e)).getWeekendDays().slice()}static months(e="long",{locale:t=null,numberingSystem:r=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Locale.create(t,r,s)).months(e)}static monthsFormat(e="long",{locale:t=null,numberingSystem:r=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Locale.create(t,r,s)).months(e,true)}static weekdays(e="long",{locale:t=null,numberingSystem:r=null,locObj:n=null}={}){return(n||Locale.create(t,r,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:t=null,numberingSystem:r=null,locObj:n=null}={}){return(n||Locale.create(t,r,null)).weekdays(e,true)}static meridiems({locale:e=null}={}){return Locale.create(e).meridiems()}static eras(e="short",{locale:t=null}={}){return Locale.create(t,null,"gregory").eras(e)}static features(){return{relative:hasRelative(),localeWeek:hasLocaleWeekInfo()}}}function dayDiff(e,t){const utcDayStart=e=>e.toUTC(0,{keepLocalTime:true}).startOf("day").valueOf(),r=utcDayStart(t)-utcDayStart(e);return Math.floor(Duration.fromMillis(r).as("days"))}function highOrderDiffs(e,t,r){const n=[["years",(e,t)=>t.year-e.year],["quarters",(e,t)=>t.quarter-e.quarter+(t.year-e.year)*4],["months",(e,t)=>t.month-e.month+(t.year-e.year)*12],["weeks",(e,t)=>{const r=dayDiff(e,t);return(r-r%7)/7}],["days",dayDiff]];const s={};const o=e;let i,a;for(const[A,c]of n){if(r.indexOf(A)>=0){i=A;s[A]=c(e,t);a=o.plus(s);if(a>t){s[A]--;e=o.plus(s);if(e>t){a=e;s[A]--;e=o.plus(s)}}else{e=a}}}return[e,s,a,i]}function diff(e,t,r,n){let[s,o,i,a]=highOrderDiffs(e,t,r);const A=t-s;const c=r.filter((e=>["hours","minutes","seconds","milliseconds"].indexOf(e)>=0));if(c.length===0){if(i0){return Duration.fromMillis(A,n).shiftTo(...c).plus(u)}else{return u}}const fn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"};const hn={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]};const En=fn.hanidec.replace(/[\[|\]]/g,"").split("");function parseDigits(e){let t=parseInt(e,10);if(isNaN(t)){t="";for(let r=0;r=r&&n<=s){t+=n-r}}}}return parseInt(t,10)}else{return t}}function digitRegex({numberingSystem:e},t=""){return new RegExp(`${fn[e||"latn"]}${t}`)}const mn="missing Intl.DateTimeFormat.formatToParts support";function intUnit(e,t=e=>e){return{regex:e,deser:([e])=>t(parseDigits(e))}}const In=String.fromCharCode(160);const yn=`[ ${In}]`;const Cn=new RegExp(yn,"g");function fixListRegex(e){return e.replace(/\./g,"\\.?").replace(Cn,yn)}function stripInsensitivities(e){return e.replace(/\./g,"").replace(Cn," ").toLowerCase()}function oneOf(e,t){if(e===null){return null}else{return{regex:RegExp(e.map(fixListRegex).join("|")),deser:([r])=>e.findIndex((e=>stripInsensitivities(r)===stripInsensitivities(e)))+t}}}function offset(e,t){return{regex:e,deser:([,e,t])=>signedOffset(e,t),groups:t}}function simple(e){return{regex:e,deser:([e])=>e}}function escapeToken(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function unitForToken(e,t){const r=digitRegex(t),n=digitRegex(t,"{2}"),s=digitRegex(t,"{3}"),o=digitRegex(t,"{4}"),i=digitRegex(t,"{6}"),a=digitRegex(t,"{1,2}"),A=digitRegex(t,"{1,3}"),c=digitRegex(t,"{1,6}"),u=digitRegex(t,"{1,9}"),l=digitRegex(t,"{2,4}"),p=digitRegex(t,"{4,6}"),literal=e=>({regex:RegExp(escapeToken(e.val)),deser:([e])=>e,literal:true}),unitate=d=>{if(e.literal){return literal(d)}switch(d.val){case"G":return oneOf(t.eras("short"),0);case"GG":return oneOf(t.eras("long"),0);case"y":return intUnit(c);case"yy":return intUnit(l,untruncateYear);case"yyyy":return intUnit(o);case"yyyyy":return intUnit(p);case"yyyyyy":return intUnit(i);case"M":return intUnit(a);case"MM":return intUnit(n);case"MMM":return oneOf(t.months("short",true),1);case"MMMM":return oneOf(t.months("long",true),1);case"L":return intUnit(a);case"LL":return intUnit(n);case"LLL":return oneOf(t.months("short",false),1);case"LLLL":return oneOf(t.months("long",false),1);case"d":return intUnit(a);case"dd":return intUnit(n);case"o":return intUnit(A);case"ooo":return intUnit(s);case"HH":return intUnit(n);case"H":return intUnit(a);case"hh":return intUnit(n);case"h":return intUnit(a);case"mm":return intUnit(n);case"m":return intUnit(a);case"q":return intUnit(a);case"qq":return intUnit(n);case"s":return intUnit(a);case"ss":return intUnit(n);case"S":return intUnit(A);case"SSS":return intUnit(s);case"u":return simple(u);case"uu":return simple(a);case"uuu":return intUnit(r);case"a":return oneOf(t.meridiems(),0);case"kkkk":return intUnit(o);case"kk":return intUnit(l,untruncateYear);case"W":return intUnit(a);case"WW":return intUnit(n);case"E":case"c":return intUnit(r);case"EEE":return oneOf(t.weekdays("short",false),1);case"EEEE":return oneOf(t.weekdays("long",false),1);case"ccc":return oneOf(t.weekdays("short",true),1);case"cccc":return oneOf(t.weekdays("long",true),1);case"Z":case"ZZ":return offset(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return offset(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return simple(/[a-z_+-/]{1,256}?/i);case" ":return simple(/[^\S\n\r]/);default:return literal(d)}};const d=unitate(e)||{invalidReason:mn};d.token=e;return d}const Qn={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function tokenForPart(e,t,r){const{type:n,value:s}=e;if(n==="literal"){const e=/^\s+$/.test(s);return{literal:!e,val:e?" ":s}}const o=t[n];let i=n;if(n==="hour"){if(t.hour12!=null){i=t.hour12?"hour12":"hour24"}else if(t.hourCycle!=null){if(t.hourCycle==="h11"||t.hourCycle==="h12"){i="hour12"}else{i="hour24"}}else{i=r.hour12?"hour12":"hour24"}}let a=Qn[i];if(typeof a==="object"){a=a[o]}if(a){return{literal:false,val:a}}return undefined}function buildRegex(e){const t=e.map((e=>e.regex)).reduce(((e,t)=>`${e}(${t.source})`),"");return[`^${t}$`,e]}function match(e,t,r){const n=e.match(t);if(n){const e={};let t=1;for(const s in r){if(util_hasOwnProperty(r,s)){const o=r[s],i=o.groups?o.groups+1:1;if(!o.literal&&o.token){e[o.token.val[0]]=o.deser(n.slice(t,t+i))}t+=i}}return[n,e]}else{return[n,{}]}}function dateTimeFromMatches(e){const toField=e=>{switch(e){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let t=null;let r;if(!isUndefined(e.z)){t=IANAZone.create(e.z)}if(!isUndefined(e.Z)){if(!t){t=new FixedOffsetZone(e.Z)}r=e.Z}if(!isUndefined(e.q)){e.M=(e.q-1)*3+1}if(!isUndefined(e.h)){if(e.h<12&&e.a===1){e.h+=12}else if(e.h===12&&e.a===0){e.h=0}}if(e.G===0&&e.y){e.y=-e.y}if(!isUndefined(e.u)){e.S=parseMillis(e.u)}const n=Object.keys(e).reduce(((t,r)=>{const n=toField(r);if(n){t[n]=e[r]}return t}),{});return[n,t,r]}let Bn=null;function getDummyDateTime(){if(!Bn){Bn=DateTime.fromMillis(1555555555555)}return Bn}function maybeExpandMacroToken(e,t){if(e.literal){return e}const r=Formatter.macroTokenToFormatOpts(e.val);const n=formatOptsToTokens(r,t);if(n==null||n.includes(undefined)){return e}return n}function expandMacroTokens(e,t){return Array.prototype.concat(...e.map((e=>maybeExpandMacroToken(e,t))))}function explainFromTokens(e,t,r){const n=expandMacroTokens(Formatter.parseFormat(r),e),s=n.map((t=>unitForToken(t,e))),o=s.find((e=>e.invalidReason));if(o){return{input:t,tokens:n,invalidReason:o.invalidReason}}else{const[e,r]=buildRegex(s),o=RegExp(e,"i"),[i,a]=match(t,o,r),[A,c,u]=a?dateTimeFromMatches(a):[null,null,undefined];if(util_hasOwnProperty(a,"a")&&util_hasOwnProperty(a,"H")){throw new ConflictingSpecificationError("Can't include meridiem when specifying 24-hour format")}return{input:t,tokens:n,regex:o,rawMatches:i,matches:a,result:A,zone:c,specificOffset:u}}}function parseFromTokens(e,t,r){const{result:n,zone:s,specificOffset:o,invalidReason:i}=explainFromTokens(e,t,r);return[n,s,o,i]}function formatOptsToTokens(e,t){if(!e){return null}const r=Formatter.create(t,e);const n=r.dtFormatter(getDummyDateTime());const s=n.formatToParts();const o=n.resolvedOptions();return s.map((t=>tokenForPart(t,e,o)))}const bn="Invalid DateTime";const Tn=864e13;function unsupportedZone(e){return new Invalid("unsupported zone",`the zone "${e.name}" is not supported`)}function possiblyCachedWeekData(e){if(e.weekData===null){e.weekData=gregorianToWeek(e.c)}return e.weekData}function possiblyCachedLocalWeekData(e){if(e.localWeekData===null){e.localWeekData=gregorianToWeek(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())}return e.localWeekData}function datetime_clone(e,t){const r={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new DateTime({...r,...t,old:r})}function fixOffset(e,t,r){let n=e-t*60*1e3;const s=r.offset(n);if(t===s){return[n,t]}n-=(s-t)*60*1e3;const o=r.offset(n);if(s===o){return[n,s]}return[e-Math.min(s,o)*60*1e3,Math.max(s,o)]}function tsToObj(e,t){e+=t*60*1e3;const r=new Date(e);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function objToTS(e,t,r){return fixOffset(objToLocalTS(e),t,r)}function adjustTime(e,t){const r=e.o,n=e.c.year+Math.trunc(t.years),s=e.c.month+Math.trunc(t.months)+Math.trunc(t.quarters)*3,o={...e.c,year:n,month:s,day:Math.min(e.c.day,daysInMonth(n,s))+Math.trunc(t.days)+Math.trunc(t.weeks)*7},i=Duration.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),a=objToLocalTS(o);let[A,c]=fixOffset(a,r,e.zone);if(i!==0){A+=i;c=e.zone.offset(A)}return{ts:A,o:c}}function parseDataToDateTime(e,t,r,n,s,o){const{setZone:i,zone:a}=r;if(e&&Object.keys(e).length!==0||t){const n=t||a,s=DateTime.fromObject(e,{...r,zone:n,specificOffset:o});return i?s:s.setZone(a)}else{return DateTime.invalid(new Invalid("unparsable",`the input "${s}" can't be parsed as ${n}`))}}function toTechFormat(e,t,r=true){return e.isValid?Formatter.create(Locale.create("en-US"),{allowZ:r,forceSimple:true}).formatDateTimeFromString(e,t):null}function toISODate(e,t){const r=e.c.year>9999||e.c.year<0;let n="";if(r&&e.c.year>=0)n+="+";n+=padStart(e.c.year,r?6:4);if(t){n+="-";n+=padStart(e.c.month);n+="-";n+=padStart(e.c.day)}else{n+=padStart(e.c.month);n+=padStart(e.c.day)}return n}function toISOTime(e,t,r,n,s,o){let i=padStart(e.c.hour);if(t){i+=":";i+=padStart(e.c.minute);if(e.c.millisecond!==0||e.c.second!==0||!r){i+=":"}}else{i+=padStart(e.c.minute)}if(e.c.millisecond!==0||e.c.second!==0||!r){i+=padStart(e.c.second);if(e.c.millisecond!==0||!n){i+=".";i+=padStart(e.c.millisecond,3)}}if(s){if(e.isOffsetFixed&&e.offset===0&&!o){i+="Z"}else if(e.o<0){i+="-";i+=padStart(Math.trunc(-e.o/60));i+=":";i+=padStart(Math.trunc(-e.o%60))}else{i+="+";i+=padStart(Math.trunc(e.o/60));i+=":";i+=padStart(Math.trunc(e.o%60))}}if(o){i+="["+e.zone.ianaName+"]"}return i}const wn={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},vn={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Rn={ordinal:1,hour:0,minute:0,second:0,millisecond:0};const kn=["year","month","day","hour","minute","second","millisecond"],Dn=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],_n=["year","ordinal","hour","minute","second","millisecond"];function normalizeUnit(e){const t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new InvalidUnitError(e);return t}function normalizeUnitWithLocalWeeks(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return normalizeUnit(e)}}function quickDT(e,t){const r=normalizeZone(t.zone,Settings.defaultZone),n=Locale.fromObject(t),s=Settings.now();let o,i;if(!isUndefined(e.year)){for(const t of kn){if(isUndefined(e[t])){e[t]=wn[t]}}const t=hasInvalidGregorianData(e)||hasInvalidTimeData(e);if(t){return DateTime.invalid(t)}const n=r.offset(s);[o,i]=objToTS(e,n,r)}else{o=s}return new DateTime({ts:o,zone:r,loc:n,o:i})}function diffRelative(e,t,r){const n=isUndefined(r.round)?true:r.round,format=(e,s)=>{e=roundTo(e,n||r.calendary?0:2,true);const o=t.loc.clone(r).relFormatter(r);return o.format(e,s)},differ=n=>{if(r.calendary){if(!t.hasSame(e,n)){return t.startOf(n).diff(e.startOf(n),n).get(n)}else return 0}else{return t.diff(e,n).get(n)}};if(r.unit){return format(differ(r.unit),r.unit)}for(const e of r.units){const t=differ(e);if(Math.abs(t)>=1){return format(t,e)}}return format(e>t?-0:0,r.units[r.units.length-1])}function lastOpts(e){let t={},r;if(e.length>0&&typeof e[e.length-1]==="object"){t=e[e.length-1];r=Array.from(e).slice(0,e.length-1)}else{r=Array.from(e)}return[t,r]}class DateTime{constructor(e){const t=e.zone||Settings.defaultZone;let r=e.invalid||(Number.isNaN(e.ts)?new Invalid("invalid input"):null)||(!t.isValid?unsupportedZone(t):null);this.ts=isUndefined(e.ts)?Settings.now():e.ts;let n=null,s=null;if(!r){const o=e.old&&e.old.ts===this.ts&&e.old.zone.equals(t);if(o){[n,s]=[e.old.c,e.old.o]}else{const e=t.offset(this.ts);n=tsToObj(this.ts,e);r=Number.isNaN(n.year)?new Invalid("invalid input"):null;n=r?null:n;s=r?null:e}}this._zone=t;this.loc=e.loc||Locale.create();this.invalid=r;this.weekData=null;this.localWeekData=null;this.c=n;this.o=s;this.isLuxonDateTime=true}static now(){return new DateTime({})}static local(){const[e,t]=lastOpts(arguments),[r,n,s,o,i,a,A]=t;return quickDT({year:r,month:n,day:s,hour:o,minute:i,second:a,millisecond:A},e)}static utc(){const[e,t]=lastOpts(arguments),[r,n,s,o,i,a,A]=t;e.zone=FixedOffsetZone.utcInstance;return quickDT({year:r,month:n,day:s,hour:o,minute:i,second:a,millisecond:A},e)}static fromJSDate(e,t={}){const r=isDate(e)?e.valueOf():NaN;if(Number.isNaN(r)){return DateTime.invalid("invalid input")}const n=normalizeZone(t.zone,Settings.defaultZone);if(!n.isValid){return DateTime.invalid(unsupportedZone(n))}return new DateTime({ts:r,zone:n,loc:Locale.fromObject(t)})}static fromMillis(e,t={}){if(!isNumber(e)){throw new InvalidArgumentError(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}else if(e<-Tn||e>Tn){return DateTime.invalid("Timestamp out of range")}else{return new DateTime({ts:e,zone:normalizeZone(t.zone,Settings.defaultZone),loc:Locale.fromObject(t)})}}static fromSeconds(e,t={}){if(!isNumber(e)){throw new InvalidArgumentError("fromSeconds requires a numerical input")}else{return new DateTime({ts:e*1e3,zone:normalizeZone(t.zone,Settings.defaultZone),loc:Locale.fromObject(t)})}}static fromObject(e,t={}){e=e||{};const r=normalizeZone(t.zone,Settings.defaultZone);if(!r.isValid){return DateTime.invalid(unsupportedZone(r))}const n=Locale.fromObject(t);const s=normalizeObject(e,normalizeUnitWithLocalWeeks);const{minDaysInFirstWeek:o,startOfWeek:i}=usesLocalWeekValues(s,n);const a=Settings.now(),A=!isUndefined(t.specificOffset)?t.specificOffset:r.offset(a),c=!isUndefined(s.ordinal),u=!isUndefined(s.year),l=!isUndefined(s.month)||!isUndefined(s.day),p=u||l,d=s.weekYear||s.weekNumber;if((p||c)&&d){throw new ConflictingSpecificationError("Can't mix weekYear/weekNumber units with year/month/day or ordinals")}if(l&&c){throw new ConflictingSpecificationError("Can't mix ordinal dates with month/day")}const g=d||s.weekday&&!p;let h,E,m=tsToObj(a,A);if(g){h=Dn;E=vn;m=gregorianToWeek(m,o,i)}else if(c){h=_n;E=Rn;m=gregorianToOrdinal(m)}else{h=kn;E=wn}let I=false;for(const e of h){const t=s[e];if(!isUndefined(t)){I=true}else if(I){s[e]=E[e]}else{s[e]=m[e]}}const y=g?hasInvalidWeekData(s,o,i):c?hasInvalidOrdinalData(s):hasInvalidGregorianData(s),C=y||hasInvalidTimeData(s);if(C){return DateTime.invalid(C)}const Q=g?weekToGregorian(s,o,i):c?ordinalToGregorian(s):s,[B,b]=objToTS(Q,A,r),T=new DateTime({ts:B,zone:r,o:b,loc:n});if(s.weekday&&p&&e.weekday!==T.weekday){return DateTime.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${T.toISO()}`)}return T}static fromISO(e,t={}){const[r,n]=parseISODate(e);return parseDataToDateTime(r,n,t,"ISO 8601",e)}static fromRFC2822(e,t={}){const[r,n]=parseRFC2822Date(e);return parseDataToDateTime(r,n,t,"RFC 2822",e)}static fromHTTP(e,t={}){const[r,n]=parseHTTPDate(e);return parseDataToDateTime(r,n,t,"HTTP",t)}static fromFormat(e,t,r={}){if(isUndefined(e)||isUndefined(t)){throw new InvalidArgumentError("fromFormat requires an input string and a format")}const{locale:n=null,numberingSystem:s=null}=r,o=Locale.fromOpts({locale:n,numberingSystem:s,defaultToEN:true}),[i,a,A,c]=parseFromTokens(o,e,t);if(c){return DateTime.invalid(c)}else{return parseDataToDateTime(i,a,r,`format ${t}`,e,A)}}static fromString(e,t,r={}){return DateTime.fromFormat(e,t,r)}static fromSQL(e,t={}){const[r,n]=parseSQL(e);return parseDataToDateTime(r,n,t,"SQL",e)}static invalid(e,t=null){if(!e){throw new InvalidArgumentError("need to specify a reason the DateTime is invalid")}const r=e instanceof Invalid?e:new Invalid(e,t);if(Settings.throwOnInvalid){throw new InvalidDateTimeError(r)}else{return new DateTime({invalid:r})}}static isDateTime(e){return e&&e.isLuxonDateTime||false}static parseFormatForOpts(e,t={}){const r=formatOptsToTokens(e,Locale.fromObject(t));return!r?null:r.map((e=>e?e.val:null)).join("")}static expandFormat(e,t={}){const r=expandMacroTokens(Formatter.parseFormat(e),Locale.fromObject(t));return r.map((e=>e.val)).join("")}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?possiblyCachedWeekData(this).weekYear:NaN}get weekNumber(){return this.isValid?possiblyCachedWeekData(this).weekNumber:NaN}get weekday(){return this.isValid?possiblyCachedWeekData(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?possiblyCachedLocalWeekData(this).weekday:NaN}get localWeekNumber(){return this.isValid?possiblyCachedLocalWeekData(this).weekNumber:NaN}get localWeekYear(){return this.isValid?possiblyCachedLocalWeekData(this).weekYear:NaN}get ordinal(){return this.isValid?gregorianToOrdinal(this.c).ordinal:NaN}get monthShort(){return this.isValid?Info.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Info.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Info.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Info.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){if(this.isValid){return this.zone.offsetName(this.ts,{format:"short",locale:this.locale})}else{return null}}get offsetNameLong(){if(this.isValid){return this.zone.offsetName(this.ts,{format:"long",locale:this.locale})}else{return null}}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){if(this.isOffsetFixed){return false}else{return this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed){return[this]}const e=864e5;const t=6e4;const r=objToLocalTS(this.c);const n=this.zone.offset(r-e);const s=this.zone.offset(r+e);const o=this.zone.offset(r-n*t);const i=this.zone.offset(r-s*t);if(o===i){return[this]}const a=r-o*t;const A=r-i*t;const c=tsToObj(a,o);const u=tsToObj(A,i);if(c.hour===u.hour&&c.minute===u.minute&&c.second===u.second&&c.millisecond===u.millisecond){return[datetime_clone(this,{ts:a}),datetime_clone(this,{ts:A})]}return[this]}get isInLeapYear(){return isLeapYear(this.year)}get daysInMonth(){return daysInMonth(this.year,this.month)}get daysInYear(){return this.isValid?daysInYear(this.year):NaN}get weeksInWeekYear(){return this.isValid?weeksInWeekYear(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?weeksInWeekYear(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){const{locale:t,numberingSystem:r,calendar:n}=Formatter.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t,numberingSystem:r,outputCalendar:n}}toUTC(e=0,t={}){return this.setZone(FixedOffsetZone.instance(e),t)}toLocal(){return this.setZone(Settings.defaultZone)}setZone(e,{keepLocalTime:t=false,keepCalendarTime:r=false}={}){e=normalizeZone(e,Settings.defaultZone);if(e.equals(this.zone)){return this}else if(!e.isValid){return DateTime.invalid(unsupportedZone(e))}else{let n=this.ts;if(t||r){const t=e.offset(this.ts);const r=this.toObject();[n]=objToTS(r,t,e)}return datetime_clone(this,{ts:n,zone:e})}}reconfigure({locale:e,numberingSystem:t,outputCalendar:r}={}){const n=this.loc.clone({locale:e,numberingSystem:t,outputCalendar:r});return datetime_clone(this,{loc:n})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;const t=normalizeObject(e,normalizeUnitWithLocalWeeks);const{minDaysInFirstWeek:r,startOfWeek:n}=usesLocalWeekValues(t,this.loc);const s=!isUndefined(t.weekYear)||!isUndefined(t.weekNumber)||!isUndefined(t.weekday),o=!isUndefined(t.ordinal),i=!isUndefined(t.year),a=!isUndefined(t.month)||!isUndefined(t.day),A=i||a,c=t.weekYear||t.weekNumber;if((A||o)&&c){throw new ConflictingSpecificationError("Can't mix weekYear/weekNumber units with year/month/day or ordinals")}if(a&&o){throw new ConflictingSpecificationError("Can't mix ordinal dates with month/day")}let u;if(s){u=weekToGregorian({...gregorianToWeek(this.c,r,n),...t},r,n)}else if(!isUndefined(t.ordinal)){u=ordinalToGregorian({...gregorianToOrdinal(this.c),...t})}else{u={...this.toObject(),...t};if(isUndefined(t.day)){u.day=Math.min(daysInMonth(u.year,u.month),u.day)}}const[l,p]=objToTS(u,this.o,this.zone);return datetime_clone(this,{ts:l,o:p})}plus(e){if(!this.isValid)return this;const t=Duration.fromDurationLike(e);return datetime_clone(this,adjustTime(this,t))}minus(e){if(!this.isValid)return this;const t=Duration.fromDurationLike(e).negate();return datetime_clone(this,adjustTime(this,t))}startOf(e,{useLocaleWeeks:t=false}={}){if(!this.isValid)return this;const r={},n=Duration.normalizeUnit(e);switch(n){case"years":r.month=1;case"quarters":case"months":r.day=1;case"weeks":case"days":r.hour=0;case"hours":r.minute=0;case"minutes":r.second=0;case"seconds":r.millisecond=0;break;case"milliseconds":break}if(n==="weeks"){if(t){const e=this.loc.getStartOfWeek();const{weekday:t}=this;if(tthis.valueOf(),i=o?this:e,a=o?e:this,A=diff(i,a,s,n);return o?A.negate():A}diffNow(e="milliseconds",t={}){return this.diff(DateTime.now(),e,t)}until(e){return this.isValid?Interval.fromDateTimes(this,e):this}hasSame(e,t,r){if(!this.isValid)return false;const n=e.valueOf();const s=this.setZone(e.zone,{keepLocalTime:true});return s.startOf(t,r)<=n&&n<=s.endOf(t,r)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;const t=e.base||DateTime.fromObject({},{zone:this.zone}),r=e.padding?thise.valueOf()),Math.min)}static max(...e){if(!e.every(DateTime.isDateTime)){throw new InvalidArgumentError("max requires all arguments be DateTimes")}return bestBy(e,(e=>e.valueOf()),Math.max)}static fromFormatExplain(e,t,r={}){const{locale:n=null,numberingSystem:s=null}=r,o=Locale.fromOpts({locale:n,numberingSystem:s,defaultToEN:true});return explainFromTokens(o,e,t)}static fromStringExplain(e,t,r={}){return DateTime.fromFormatExplain(e,t,r)}static get DATE_SHORT(){return Tt}static get DATE_MED(){return wt}static get DATE_MED_WITH_WEEKDAY(){return vt}static get DATE_FULL(){return Rt}static get DATE_HUGE(){return kt}static get TIME_SIMPLE(){return Dt}static get TIME_WITH_SECONDS(){return _t}static get TIME_WITH_SHORT_OFFSET(){return St}static get TIME_WITH_LONG_OFFSET(){return Ft}static get TIME_24_SIMPLE(){return Nt}static get TIME_24_WITH_SECONDS(){return Ot}static get TIME_24_WITH_SHORT_OFFSET(){return Lt}static get TIME_24_WITH_LONG_OFFSET(){return Ut}static get DATETIME_SHORT(){return Gt}static get DATETIME_SHORT_WITH_SECONDS(){return Pt}static get DATETIME_MED(){return Mt}static get DATETIME_MED_WITH_SECONDS(){return xt}static get DATETIME_MED_WITH_WEEKDAY(){return Vt}static get DATETIME_FULL(){return jt}static get DATETIME_FULL_WITH_SECONDS(){return Ht}static get DATETIME_HUGE(){return Yt}static get DATETIME_HUGE_WITH_SECONDS(){return qt}}function friendlyDateTime(e){if(DateTime.isDateTime(e)){return e}else if(e&&e.valueOf&&isNumber(e.valueOf())){return DateTime.fromJSDate(e)}else if(e&&typeof e==="object"){return DateTime.fromObject(e)}else{throw new InvalidArgumentError(`Unknown datetime argument: ${e}, of type ${typeof e}`)}}const Sn="3.4.4";var Fn=__nccwpck_require__(744);var Nn=__nccwpck_require__.n(Fn);async function getTaskAssignmentDetails(e,t,r){const{logger:n,octokit:s}=e;const o=await s.paginate(s.rest.issues.listEvents,{owner:t.owner.login,repo:t.name,issue_number:r.number});const i=o.filter((e=>e.event==="assigned")).sort(((e,t)=>DateTime.fromISO(t.created_at).toMillis()-DateTime.fromISO(e.created_at).toMillis()));const a=i.find((e=>e.actor?.type==="User"));const A=i.find((e=>e.actor?.type==="Bot"));let c=a||A;if(a&&A&&DateTime.fromISO(a.created_at)>DateTime.fromISO(A.created_at)){c=a}else{c=A}const u={startPlusLabelDuration:DateTime.fromISO(r.created_at).toISO()||"",taskAssignees:r.assignees?r.assignees.map((e=>e.id)):r.assignee?[r.assignee.id]:[]};if(!u.taskAssignees?.length){n.error(`Missing Assignees from ${r.html_url}`);return false}const l=parseTimeLabel(r.labels);if(l===0){}else if(l<0||!l){n.error(`Invalid disqualification threshold found on ${r.html_url}`);return false}u.startPlusLabelDuration=DateTime.fromISO(c?.created_at||r.created_at).plus({milliseconds:l}).toISO()||"";return u}function parseTimeLabel(e){let t=0;for(const r of e){let e="";if(typeof r==="string"){e=r}else{e=r.name||""}if(e.startsWith("Time:")){const r=e.match(/Time: <(\d+) (\w+)/i);if(!r){return 0}const[n,s,o]=r;t=Nn()(`${s} ${o}`)}if(t){break}}return t}function parsePriorityLabel(e){for(const t of e){let e="";if(typeof t==="string"){e=t}else{e=t.name||""}if(e.startsWith("Priority:")){const t=e.match(/Priority: (\d+)/i);if(!t){return 1}return Number(t[1])}}return 1}const On="Followup";const Ln="Unassign";const Un=e(import.meta.url)("node:fs");var Gn=__nccwpck_require__(7645);var Pn=__nccwpck_require__(423);const Mn=validateQuery;const xn=(0,Gn.buildClientSchema)(JSON.parse((0,Un.readFileSync)(__nccwpck_require__.ab+"schema.json","utf8")));function validateQuery(e){return(0,Gn.validate)(xn,Pn(e))}const Vn=`\n query collectLinkedPullRequests($owner: String!, $repo: String!, $issue_number: Int!) {\n repository(owner: $owner, name: $repo) {\n issue(number: $issue_number) {\n closedByPullRequestsReferences(first: 100, includeClosedPrs: false) {\n edges {\n node {\n id\n url\n title\n body\n state\n number\n author {\n login\n ... on User {\n id: databaseId\n }\n }\n }\n }\n }\n }\n }\n }\n`;const jn=Mn(Vn);if(jn.length>1){throw new Error(`Invalid query: ${jn.join(", ")}`)}async function collectLinkedPullRequests(e,t){const{owner:r,repo:n,issue_number:s}=t;const o=await e.octokit.graphql(Vn,{owner:r,repo:n,issue_number:s});return o.repository.issue.closedByPullRequestsReferences.edges.map((e=>e.node))}function parseIssueUrl(e){const t=new URL(e).pathname.split("/");if(t.length!==5){throw new Error(`[parseGitHubUrl] Invalid url: [${e}]`)}return{owner:t[1],repo:t[2],issue_number:Number(t[4])}}async function getAssigneesActivityForIssue(e,t,r){const n=parseIssueUrl(t.html_url);const s=await e.octokit.paginate(e.octokit.rest.issues.listEventsForTimeline,{owner:n.owner,repo:n.repo,issue_number:n.issue_number,per_page:100});const o=await collectLinkedPullRequests(e,n);for(const t of o){const{owner:r,repo:n,issue_number:o}=parseIssueUrl(t.url||"");const i=await e.octokit.paginate(e.octokit.rest.issues.listEventsForTimeline,{owner:r,repo:n,issue_number:o,per_page:100});s.push(...i)}return filterEvents(s,r)}function filterEvents(e,t){const r=new Map;const n=[];for(const s of e){let e=null;let o=null;let i=null;const a=s.event;if("actor"in s&&s.actor){o=s.actor.login.toLowerCase();if(!r.has(o)){r.set(o,s.actor.id)}e=r.get(o);i=s.created_at}else if((s.event==="committed"||s.event==="commented")&&"author"in s){const e="author"in s?s.author:null;const t="committer"in s?s.committer:null;if(e||t){n.push({event:a,created_at:s.author.date,author:s.author.email});continue}}if(e&&t.includes(e)){n.push({event:a,created_at:i,author:o})}}return n.sort(((e,t)=>{if(!e.created_at||!t.created_at){return 0}return DateTime.fromISO(t.created_at).toMillis()-DateTime.fromISO(e.created_at).toMillis()}))}const Hn=`\n mutation ConvertPullRequestToDraft($input: ConvertPullRequestToDraftInput!) {\n convertPullRequestToDraft(input: $input) {\n pullRequest {\n id\n isDraft\n }\n }\n }\n`;const Yn="Ubiquity";function structured_metadata_createStructuredMetadata(e,t){let r,n;if(t){r=t.logMessage;n=t.metadata}const s=JSON.stringify(n,null,2);const o=(new Error).stack?.split("\n")[2]??"";const i=o.match(/at (\S+)/)?.[1]??"";const a=`\x3c!-- ${Yn} - ${e} - ${i} - ${n?.revision}`;let A;const c=["```json",s,"```"].join("\n");const u=[a,s,"--\x3e"].join("\n");if(r?.type==="fatal"){A=[c,u].join("\n")}else{A=u}return A}async function getCommentsFromMetadata(e,t,r,n,s){const{octokit:o}=e;const i=new RegExp(`\x3c!-- ${Yn} - ${s} - \\S+ - [\\s\\S]*?--\x3e`);return await o.paginate(o.rest.issues.listComments,{owner:r,repo:n,issue_number:t},(e=>e.data.filter((e=>e.performed_via_github_app&&e.body&&e.user?.type==="Bot"&&i.test(e.body)))))}async function unassignUserFromIssue(e,t){const{logger:r,config:n}=e;if(n.disqualification<=0){r.info("The unassign threshold is <= 0, won't unassign users.")}else{await removeAllAssignees(e,t)}}async function remindAssigneesForIssue(e,t){const{logger:r,config:n}=e;const s=parseIssueUrl(t.html_url);const o=!!(await collectLinkedPullRequests(e,s)).length;if(n.warning<=0){r.info("The reminder threshold is <= 0, won't send any reminder.")}else if(n.pullRequestRequired&&!o){await unassignUserFromIssue(e,t)}else{r.info(`Passed the reminder threshold on ${t.html_url} sending a reminder.`);await remindAssignees(e,t)}}async function remindAssignees(e,t){const{octokit:r,logger:n,config:s}=e;const{repo:o,owner:i,issue_number:a}=parseIssueUrl(t.html_url);if(!t?.assignees?.length){n.error(`Missing Assignees from ${t.html_url}`);return false}const A=t.assignees.map((e=>e?.login)).filter((e=>!!e)).join(", @");const c=n.info(`@${A}, this task has been idle for a while. Please provide an update.\n\n`,{taskAssignees:t.assignees.map((e=>e?.id))});const u=structured_metadata_createStructuredMetadata(On,c);if(!s.pullRequestRequired){await r.rest.issues.createComment({owner:i,repo:o,issue_number:a,body:[c.logMessage.raw,u].join("\n")})}else{const t=(await collectLinkedPullRequests(e,{repo:o,owner:i,issue_number:a})).filter((e=>e.state==="OPEN"));let s=t.length===0;for(const e of t){const{owner:t,repo:o,issue_number:i}=parseIssueUrl(e.url);try{await r.rest.issues.createComment({owner:t,repo:o,issue_number:i,body:[c.logMessage.raw,u].join("\n")});await r.graphql(Hn,{input:{pullRequestId:e.id}})}catch(t){n.error(`Could not post to ${e.url} will post to the issue instead.`,{e:t});s=true}}if(s){await r.rest.issues.createComment({owner:i,repo:o,issue_number:a,body:[c.logMessage.raw,u].join("\n")})}}return true}async function removeAllAssignees(e,t){const{octokit:r,logger:n}=e;const{repo:s,owner:o,issue_number:i}=parseIssueUrl(t.html_url);if(!t?.assignees?.length){n.error(`Missing Assignees from ${t.html_url}`);return false}const a=t.assignees.map((e=>e?.login)).filter((e=>!!e));const A=n.info(`Passed the disqualification threshold and no activity is detected, removing assignees: ${a.map((e=>`@${e}`)).join(", ")}.`,{issue:t.html_url});const c=structured_metadata_createStructuredMetadata(Ln,A);await r.rest.issues.createComment({owner:o,repo:s,issue_number:i,body:[A.logMessage.raw,c].join("\n")});await r.rest.issues.removeAssignees({owner:o,repo:s,issue_number:i,assignees:a});return true}async function closeLinkedPullRequests(e,t){const{octokit:r,logger:n}=e;const{repo:s,owner:o,issue_number:i}=parseIssueUrl(t.html_url);const a=(await collectLinkedPullRequests(e,{repo:s,owner:o,issue_number:i})).filter((e=>t.assignees?.some((t=>t.id===e.author.id))));for(const e of a){const{owner:t,repo:s,issue_number:o}=parseIssueUrl(e.url);try{await r.rest.pulls.update({owner:t,repo:s,pull_number:o,state:"closed"})}catch(t){n.error(`Could not close pull-request ${e.url}.`,{e:t})}}}function getMostRecentActivityDate(e,t){return t&&t>e?t:e}async function updateTaskReminder(e,t,r){const{octokit:n,logger:s,config:{eventWhitelist:o,warning:i,disqualification:a,prioritySpeed:A}}=e;const c=await getTaskAssignmentDetails(e,t,r);const u=DateTime.local();if(!c)return;const l=await n.paginate(n.rest.issues.listEvents,{owner:t.owner.login,repo:t.name,issue_number:r.number});const p=l.filter((e=>e.event==="assigned"&&c.taskAssignees.includes(e.actor.id))).sort(((e,t)=>DateTime.fromISO(t.created_at).toMillis()-DateTime.fromISO(e.created_at).toMillis())).shift();if(!p){s.error(`Failed to update activity for ${r.html_url}, there is no assigned event.`);return}const d=(await getAssigneesActivityForIssue(e,r,c.taskAssignees)).filter((e=>o.includes(e.event))).shift();const g=DateTime.fromISO(p.created_at);const h=parsePriorityLabel(r.labels);const E=Math.max(1,h);const m=d?.created_at?DateTime.fromISO(d.created_at):undefined;let I=getMostRecentActivityDate(g,m);const y=(await collectLinkedPullRequests(e,{issue_number:r.number,repo:t.name,owner:t.owner.login})).filter((e=>e.state==="OPEN")).map((e=>e.url));y.push(r.html_url);const C=await Promise.all(y.map((async t=>{const{issue_number:r,owner:n,repo:s}=parseIssueUrl(t);const o=await getCommentsFromMetadata(e,r,n,s,On);return o.filter((e=>DateTime.fromISO(e.created_at)>I))})));const Q=C.flat().shift();s.debug(`Handling metadata and disqualification threshold for ${r.html_url}`,{now:u.toLocaleString(DateTime.DATETIME_MED),assignedDate:DateTime.fromISO(p.created_at).toLocaleString(DateTime.DATETIME_MED),lastReminderComment:Q?DateTime.fromISO(Q.created_at).toLocaleString(DateTime.DATETIME_MED):"none",mostRecentActivityDate:I.toLocaleString(DateTime.DATETIME_MED)});const B=a-i;if(Q){const t=DateTime.fromISO(Q.created_at);I=t>I?t:I;if(I.plus({milliseconds:A?B/E:B})<=u){await unassignUserFromIssue(e,r);await closeLinkedPullRequests(e,r)}else{s.info(`Reminder was sent for ${r.html_url} already, not beyond disqualification deadline threshold yet.`,{now:u.toLocaleString(DateTime.DATETIME_MED),assignedDate:DateTime.fromISO(p.created_at).toLocaleString(DateTime.DATETIME_MED),lastReminderComment:Q?DateTime.fromISO(Q.created_at).toLocaleString(DateTime.DATETIME_MED):"none",mostRecentActivityDate:I.toLocaleString(DateTime.DATETIME_MED)})}}else{if(I.plus({milliseconds:A?i/E:i})<=u){await remindAssigneesForIssue(e,r)}else{s.info(`Nothing to do for ${r.html_url} still within due-time.`,{now:u.toLocaleString(DateTime.DATETIME_MED),assignedDate:DateTime.fromISO(p.created_at).toLocaleString(DateTime.DATETIME_MED),lastReminderComment:"none",mostRecentActivityDate:I.toLocaleString(DateTime.DATETIME_MED)})}}}function formatMillisecondsToDaysAndHours(e){if(e<=0){return"0 days and 0 hours"}const t=Math.floor(e/(1e3*60*60*24));const r=Math.floor(e%(1e3*60*60*24)/(1e3*60*60));if(t===0){return`${r} ${r===1?"hour":"hours"}`}else if(r===0){return`${t} ${t===1?"day":"days"}`}else{return`${t} ${t===1?"day":"days"} and ${r} ${r===1?"hour":"hours"}`}}async function watchUserActivity(e){const{logger:t}=e;const r=await getWatchedRepos(e);if(!r?.length){return{message:t.info("No watched repos have been found, no work to do.").logMessage.raw}}if(e.eventName==="issues.assigned"&&r.some((t=>t.id===e.payload.repository.id))&&"issue"in e.payload&&!shouldIgnoreIssue(e.payload.issue)){const r=["[!IMPORTANT]"];const n=Math.max(1,e.payload.issue.labels?parsePriorityLabel(e.payload.issue.labels):1);if(e.config.pullRequestRequired){r.push(`- Be sure to link a pull-request before the first reminder to avoid disqualification.`)}r.push(`- Reminders will be sent every \`${formatMillisecondsToDaysAndHours(e.config.warning/n)}\` if there is no activity.`);r.push(`- Assignees will be disqualified after \`${formatMillisecondsToDaysAndHours(e.config.disqualification/n)}\` of inactivity.`);const s=t.error(r.map((e=>`> ${e}`)).join("\n"));s.logMessage.diff=s.logMessage.raw;await postComment(e,s)}await Promise.all(r.map((async r=>{t.debug(`> Watching user activity for repo: ${r.name} (${r.html_url})`);await updateReminders(e,r)})));return{message:"OK"}}function shouldIgnoreIssue(e){return e.draft||e.pull_request||e.locked||e.state!=="open"}async function updateReminders(e,t){const{logger:r,octokit:n,payload:s}=e;const o=s.repository.owner?.login;if(!o){throw new Error("No owner found in the payload")}const i=await n.paginate(n.rest.issues.listForRepo,{owner:o,repo:t.name,per_page:100,state:"open"});await Promise.all(i.map((async n=>{if(shouldIgnoreIssue(n)){r.debug(`Skipping issue ${n.html_url} due to the issue not meeting the right criteria.`,{draft:n.draft,pullRequest:!!n.pull_request,locked:n.locked,state:n.state});return}if(n.assignees?.length||n.assignee){r.debug(`Checking assigned issue: ${n.html_url}`);await updateTaskReminder(e,t,n)}else{r.info(`Skipping issue ${n.html_url} because no user is assigned.`)}})))}async function run(e){e.logger.debug("Will run with the following configuration:",{configuration:e.config});return watchUserActivity(e)}function thresholdType(e){return _.Transform(_.String(e)).Decode((e=>{const t=Nn()(e);if(t===undefined){throw new error_TypeBoxError(`Invalid threshold value: [${e}]`)}return t})).Encode((e=>{const t=Nn()(e,{long:true});if(t===undefined){throw new error_TypeBoxError(`Invalid threshold value: [${e}]`)}return t}))}const qn=["pull_request.review_requested","pull_request.ready_for_review","pull_request_review_comment.created","issue_comment.created","push"];function mapWebhookToEvent(e){const t=new Map([["pull_request.review_requested","review_requested"],["pull_request.ready_for_review","ready_for_review"],["pull_request_review_comment.created","commented"],["issue_comment.created","commented"],["push","committed"]]);return t.get(e)}const Jn=_.Object({warning:thresholdType({default:"3.5 days",description:"Delay to send reminders. 0 means disabled. Any other value is counted in days, e.g. 1,5 days"}),watch:_.Object({optOut:_.Array(_.String(),{default:[],description:"List of repositories to opt-out from watching user activity within the organization",examples:["repoName","no-owner-required"]})},{default:{}}),prioritySpeed:_.Boolean({default:true,description:"Whether to rush the follow ups by the priority level"}),disqualification:thresholdType({default:"7 days",description:"Delay to unassign users. 0 means disabled and any other value is counted in days, e.g. 7 days",examples:["7 days","1 day"]}),pullRequestRequired:_.Boolean({default:true,description:"Whether a pull request is required for the given issue on disqualify",examples:["true","false"]}),eventWhitelist:_.Transform(_.Array(_.String(),{default:qn,description:"List of webhook event names to consider as valid activity on a task",examples:["pull_request.review_requested","issue_comment.created","push"]})).Decode((e=>{const t=Object.values(qn);const r=[];for(const n of e){if(!t.includes(n)){throw new error_TypeBoxError(`Invalid event [${n}] (unknown event)`)}const e=mapWebhookToEvent(n);if(!e){throw new error_TypeBoxError(`Invalid event [${n}] (unmapped event)`)}if(!r.includes(e)){r.push(e)}}return r})).Encode((e=>e.map((e=>{const t=new Map([["review_requested","pull_request.review_requested"],["ready_for_review","pull_request.ready_for_review"],["commented","pull_request_review_comment.created"],["commented","issue_comment.created"],["committed","push"]]);return t.get(e)}))))},{default:{}});const Wn=_.Object({});createActionsPlugin((e=>run(e)),{envSchema:Wn,settingsSchema:Jn,logLevel:process.env.LOG_LEVEL||i.INFO,postCommentOnError:false,...process.env.KERNEL_PUBLIC_KEY&&{kernelPublicKey:process.env.KERNEL_PUBLIC_KEY}}).catch(console.error); \ No newline at end of file +/*! ws. MIT License. Einar Otto Stangvik */o[s-4]=this.maskKey[0];o[s-3]=this.maskKey[1];o[s-2]=this.maskKey[2];o[s-1]=this.maskKey[3];o[1]=r;if(r===126){o.writeUInt16BE(t,2)}else if(r===127){o[2]=o[3]=0;o.writeUIntBE(t,4,6)}o[1]|=128;for(let e=0;e{const{Writable:n}=r(2203);const s=r(1637);const{parserStates:o,opcodes:i,states:a,emptyBuffer:A}=r(5913);const{kReadyState:c,kSentClose:u,kResponse:l,kReceivedClose:p}=r(2933);const{isValidStatusCode:d,failWebsocketConnection:g,websocketMessageReceived:h}=r(3574);const{WebsocketFrameSend:E}=r(1237);const m={};m.ping=s.channel("undici:websocket:ping");m.pong=s.channel("undici:websocket:pong");class ByteParser extends n{#i=[];#a=0;#A=o.INFO;#c={};#u=[];constructor(e){super();this.ws=e}_write(e,t,r){this.#i.push(e);this.#a+=e.length;this.run(r)}run(e){while(true){if(this.#A===o.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!==i.CONTINUATION;if(this.#c.fragmented&&this.#c.opcode!==i.BINARY&&this.#c.opcode!==i.TEXT){g(this.ws,"Invalid frame type was fragmented.");return}const r=t[1]&127;if(r<=125){this.#c.payloadLength=r;this.#A=o.READ_DATA}else if(r===126){this.#A=o.PAYLOADLENGTH_16}else if(r===127){this.#A=o.PAYLOADLENGTH_64}if(this.#c.fragmented&&r>125){g(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#c.opcode===i.PING||this.#c.opcode===i.PONG||this.#c.opcode===i.CLOSE)&&r>125){g(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#c.opcode===i.CLOSE){if(r===1){g(this.ws,"Received close frame with a 1-byte body.");return}const e=this.consume(r);this.#c.closeInfo=this.parseCloseBody(false,e);if(!this.ws[u]){const e=Buffer.allocUnsafe(2);e.writeUInt16BE(this.#c.closeInfo.code,0);const t=new E(e);this.ws[l].socket.write(t.createFrame(i.CLOSE),(e=>{if(!e){this.ws[u]=true}}))}this.ws[c]=a.CLOSING;this.ws[p]=true;this.end();return}else if(this.#c.opcode===i.PING){const t=this.consume(r);if(!this.ws[p]){const e=new E(t);this.ws[l].socket.write(e.createFrame(i.PONG));if(m.ping.hasSubscribers){m.ping.publish({payload:t})}}this.#A=o.INFO;if(this.#a>0){continue}else{e();return}}else if(this.#c.opcode===i.PONG){const t=this.consume(r);if(m.pong.hasSubscribers){m.pong.publish({payload:t})}if(this.#a>0){continue}else{e();return}}}else if(this.#A===o.PAYLOADLENGTH_16){if(this.#a<2){return e()}const t=this.consume(2);this.#c.payloadLength=t.readUInt16BE(0);this.#A=o.READ_DATA}else if(this.#A===o.PAYLOADLENGTH_64){if(this.#a<8){return e()}const t=this.consume(8);const r=t.readUInt32BE(0);if(r>2**31-1){g(this.ws,"Received payload length > 2^31 bytes.");return}const n=t.readUInt32BE(4);this.#c.payloadLength=(r<<8)+n;this.#A=o.READ_DATA}else if(this.#A===o.READ_DATA){if(this.#a=this.#c.payloadLength){const e=this.consume(this.#c.payloadLength);this.#u.push(e);if(!this.#c.fragmented||this.#c.fin&&this.#c.opcode===i.CONTINUATION){const e=Buffer.concat(this.#u);h(this.ws,this.#c.originalOpcode,e);this.#c={};this.#u.length=0}this.#A=o.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.#i[0].length===e){this.#a-=this.#i[0].length;return this.#i.shift()}const t=Buffer.allocUnsafe(e);let r=0;while(r!==e){const n=this.#i[0];const{length:s}=n;if(s+r===e){t.set(this.#i.shift(),r);break}else if(s+r>e){t.set(n.subarray(0,e-r),r);this.#i[0]=n.subarray(e-r);break}else{t.set(this.#i.shift(),r);r+=n.length}}this.#a-=e;return t}parseCloseBody(e,t){let r;if(t.length>=2){r=t.readUInt16BE(0)}if(e){if(!d(r)){return null}return{code:r}}let n=t.subarray(2);if(n[0]===239&&n[1]===187&&n[2]===191){n=n.subarray(3)}if(r!==undefined&&!d(r)){return null}try{n=new TextDecoder("utf-8",{fatal:true}).decode(n)}catch{return null}return{code:r,reason:n}}get closingInfo(){return this.#c.closeInfo}}e.exports={ByteParser:ByteParser}},2933: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")}},3574:(e,t,r)=>{const{kReadyState:n,kController:s,kResponse:o,kBinaryType:i,kWebSocketURL:a}=r(2933);const{states:A,opcodes:c}=r(5913);const{MessageEvent:u,ErrorEvent:l}=r(6255);function isEstablished(e){return e[n]===A.OPEN}function isClosing(e){return e[n]===A.CLOSING}function isClosed(e){return e[n]===A.CLOSED}function fireEvent(e,t,r=Event,n){const s=new r(e,n);t.dispatchEvent(s)}function websocketMessageReceived(e,t,r){if(e[n]!==A.OPEN){return}let s;if(t===c.TEXT){try{s=new TextDecoder("utf-8",{fatal:true}).decode(r)}catch{failWebsocketConnection(e,"Received invalid UTF-8 in text frame.");return}}else if(t===c.BINARY){if(e[i]==="blob"){s=new Blob([r])}else{s=new Uint8Array(r).buffer}}fireEvent("message",e,u,{origin:e[a].origin,data:s})}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{[s]:r,[o]:n}=e;r.abort();if(n?.socket&&!n.socket.destroyed){n.socket.destroy()}if(t){fireEvent("error",e,l,{error:new Error(t)})}}e.exports={isEstablished:isEstablished,isClosing:isClosing,isClosed:isClosed,fireEvent:fireEvent,isValidSubprotocol:isValidSubprotocol,isValidStatusCode:isValidStatusCode,failWebsocketConnection:failWebsocketConnection,websocketMessageReceived:websocketMessageReceived}},5171:(e,t,r)=>{const{webidl:n}=r(4222);const{DOMException:s}=r(7326);const{URLSerializer:o}=r(4322);const{getGlobalOrigin:i}=r(5628);const{staticPropertyDescriptors:a,states:A,opcodes:c,emptyBuffer:u}=r(5913);const{kWebSocketURL:l,kReadyState:p,kController:d,kBinaryType:g,kResponse:h,kSentClose:E,kByteParser:m}=r(2933);const{isEstablished:I,isClosing:y,isValidSubprotocol:C,failWebsocketConnection:Q,fireEvent:B}=r(3574);const{establishWebSocketConnection:b}=r(8550);const{WebsocketFrameSend:T}=r(1237);const{ByteParser:w}=r(3171);const{kEnumerableProperty:v,isBlobLike:R}=r(3440);const{getGlobalDispatcher:k}=r(2581);const{types:D}=r(9023);let _=false;class WebSocket extends EventTarget{#l={open:null,error:null,close:null,message:null};#p=0;#d="";#g="";constructor(e,t=[]){super();n.argumentLengthCheck(arguments,1,{header:"WebSocket constructor"});if(!_){_=true;process.emitWarning("WebSockets are experimental, expect them to change at any time.",{code:"UNDICI-WS"})}const r=n.converters["DOMString or sequence or WebSocketInit"](t);e=n.converters.USVString(e);t=r.protocols;const o=i();let a;try{a=new URL(e,o)}catch(e){throw new s(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 s(`Expected a ws: or wss: protocol, got ${a.protocol}`,"SyntaxError")}if(a.hash||a.href.endsWith("#")){throw new s("Got fragment","SyntaxError")}if(typeof t==="string"){t=[t]}if(t.length!==new Set(t.map((e=>e.toLowerCase()))).size){throw new s("Invalid Sec-WebSocket-Protocol value","SyntaxError")}if(t.length>0&&!t.every((e=>C(e)))){throw new s("Invalid Sec-WebSocket-Protocol value","SyntaxError")}this[l]=new URL(a.href);this[d]=b(a,t,this,(e=>this.#f(e)),r);this[p]=WebSocket.CONNECTING;this[g]="blob"}close(e=undefined,t=undefined){n.brandCheck(this,WebSocket);if(e!==undefined){e=n.converters["unsigned short"](e,{clamp:true})}if(t!==undefined){t=n.converters.USVString(t)}if(e!==undefined){if(e!==1e3&&(e<3e3||e>4999)){throw new s("invalid code","InvalidAccessError")}}let r=0;if(t!==undefined){r=Buffer.byteLength(t);if(r>123){throw new s(`Reason must be less than 123 bytes; received ${r}`,"SyntaxError")}}if(this[p]===WebSocket.CLOSING||this[p]===WebSocket.CLOSED){}else if(!I(this)){Q(this,"Connection was closed before it was established.");this[p]=WebSocket.CLOSING}else if(!y(this)){const n=new T;if(e!==undefined&&t===undefined){n.frameData=Buffer.allocUnsafe(2);n.frameData.writeUInt16BE(e,0)}else if(e!==undefined&&t!==undefined){n.frameData=Buffer.allocUnsafe(2+r);n.frameData.writeUInt16BE(e,0);n.frameData.write(t,2,"utf-8")}else{n.frameData=u}const s=this[h].socket;s.write(n.createFrame(c.CLOSE),(e=>{if(!e){this[E]=true}}));this[p]=A.CLOSING}else{this[p]=WebSocket.CLOSING}}send(e){n.brandCheck(this,WebSocket);n.argumentLengthCheck(arguments,1,{header:"WebSocket.send"});e=n.converters.WebSocketSendData(e);if(this[p]===WebSocket.CONNECTING){throw new s("Sent before connected.","InvalidStateError")}if(!I(this)||y(this)){return}const t=this[h].socket;if(typeof e==="string"){const r=Buffer.from(e);const n=new T(r);const s=n.createFrame(c.TEXT);this.#p+=r.byteLength;t.write(s,(()=>{this.#p-=r.byteLength}))}else if(D.isArrayBuffer(e)){const r=Buffer.from(e);const n=new T(r);const s=n.createFrame(c.BINARY);this.#p+=r.byteLength;t.write(s,(()=>{this.#p-=r.byteLength}))}else if(ArrayBuffer.isView(e)){const r=Buffer.from(e,e.byteOffset,e.byteLength);const n=new T(r);const s=n.createFrame(c.BINARY);this.#p+=r.byteLength;t.write(s,(()=>{this.#p-=r.byteLength}))}else if(R(e)){const r=new T;e.arrayBuffer().then((e=>{const n=Buffer.from(e);r.frameData=n;const s=r.createFrame(c.BINARY);this.#p+=n.byteLength;t.write(s,(()=>{this.#p-=n.byteLength}))}))}}get readyState(){n.brandCheck(this,WebSocket);return this[p]}get bufferedAmount(){n.brandCheck(this,WebSocket);return this.#p}get url(){n.brandCheck(this,WebSocket);return o(this[l])}get extensions(){n.brandCheck(this,WebSocket);return this.#g}get protocol(){n.brandCheck(this,WebSocket);return this.#d}get onopen(){n.brandCheck(this,WebSocket);return this.#l.open}set onopen(e){n.brandCheck(this,WebSocket);if(this.#l.open){this.removeEventListener("open",this.#l.open)}if(typeof e==="function"){this.#l.open=e;this.addEventListener("open",e)}else{this.#l.open=null}}get onerror(){n.brandCheck(this,WebSocket);return this.#l.error}set onerror(e){n.brandCheck(this,WebSocket);if(this.#l.error){this.removeEventListener("error",this.#l.error)}if(typeof e==="function"){this.#l.error=e;this.addEventListener("error",e)}else{this.#l.error=null}}get onclose(){n.brandCheck(this,WebSocket);return this.#l.close}set onclose(e){n.brandCheck(this,WebSocket);if(this.#l.close){this.removeEventListener("close",this.#l.close)}if(typeof e==="function"){this.#l.close=e;this.addEventListener("close",e)}else{this.#l.close=null}}get onmessage(){n.brandCheck(this,WebSocket);return this.#l.message}set onmessage(e){n.brandCheck(this,WebSocket);if(this.#l.message){this.removeEventListener("message",this.#l.message)}if(typeof e==="function"){this.#l.message=e;this.addEventListener("message",e)}else{this.#l.message=null}}get binaryType(){n.brandCheck(this,WebSocket);return this[g]}set binaryType(e){n.brandCheck(this,WebSocket);if(e!=="blob"&&e!=="arraybuffer"){this[g]="blob"}else{this[g]=e}}#f(e){this[h]=e;const t=new w(this);t.on("drain",(function onParserDrain(){this.ws[h].socket.resume()}));e.socket.ws=this;this[m]=t;this[p]=A.OPEN;const r=e.headersList.get("sec-websocket-extensions");if(r!==null){this.#g=r}const n=e.headersList.get("sec-websocket-protocol");if(n!==null){this.#d=n}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:v,readyState:v,bufferedAmount:v,onopen:v,onerror:v,onclose:v,close:v,onmessage:v,binaryType:v,send:v,extensions:v,protocol:v,[Symbol.toStringTag]:{value:"WebSocket",writable:false,enumerable:false,configurable:true}});Object.defineProperties(WebSocket,{CONNECTING:a,OPEN:a,CLOSING:a,CLOSED:a});n.converters["sequence"]=n.sequenceConverter(n.converters.DOMString);n.converters["DOMString or sequence"]=function(e){if(n.util.Type(e)==="Object"&&Symbol.iterator in e){return n.converters["sequence"](e)}return n.converters.DOMString(e)};n.converters.WebSocketInit=n.dictionaryConverter([{key:"protocols",converter:n.converters["DOMString or sequence"],get defaultValue(){return[]}},{key:"dispatcher",converter:e=>e,get defaultValue(){return k()}},{key:"headers",converter:n.nullableConverter(n.converters.HeadersInit)}]);n.converters["DOMString or sequence or WebSocketInit"]=function(e){if(n.util.Type(e)==="Object"&&!(Symbol.iterator in e)){return n.converters.WebSocketInit(e)}return{protocols:n.converters["DOMString or sequence"](e)}};n.converters.WebSocketSendData=function(e){if(n.util.Type(e)==="Object"){if(R(e)){return n.converters.Blob(e,{strict:false})}if(ArrayBuffer.isView(e)||D.isAnyArrayBuffer(e)){return n.converters.BufferSource(e)}}return n.converters.USVString(e)};e.exports={WebSocket:WebSocket}},8264: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 r=0;r{t.exports=e(import.meta.url)("assert")},290:t=>{t.exports=e(import.meta.url)("async_hooks")},181:t=>{t.exports=e(import.meta.url)("buffer")},5317:t=>{t.exports=e(import.meta.url)("child_process")},4236:t=>{t.exports=e(import.meta.url)("console")},6982:t=>{t.exports=e(import.meta.url)("crypto")},1637:t=>{t.exports=e(import.meta.url)("diagnostics_channel")},4434:t=>{t.exports=e(import.meta.url)("events")},9896:t=>{t.exports=e(import.meta.url)("fs")},8611:t=>{t.exports=e(import.meta.url)("http")},5675:t=>{t.exports=e(import.meta.url)("http2")},5692:t=>{t.exports=e(import.meta.url)("https")},9278:t=>{t.exports=e(import.meta.url)("net")},8474:t=>{t.exports=e(import.meta.url)("node:events")},7075:t=>{t.exports=e(import.meta.url)("node:stream")},7975:t=>{t.exports=e(import.meta.url)("node:util")},857:t=>{t.exports=e(import.meta.url)("os")},6928:t=>{t.exports=e(import.meta.url)("path")},2987:t=>{t.exports=e(import.meta.url)("perf_hooks")},3480:t=>{t.exports=e(import.meta.url)("querystring")},2203:t=>{t.exports=e(import.meta.url)("stream")},3774:t=>{t.exports=e(import.meta.url)("stream/web")},3193:t=>{t.exports=e(import.meta.url)("string_decoder")},3557:t=>{t.exports=e(import.meta.url)("timers")},4756:t=>{t.exports=e(import.meta.url)("tls")},7016:t=>{t.exports=e(import.meta.url)("url")},9023:t=>{t.exports=e(import.meta.url)("util")},8253:t=>{t.exports=e(import.meta.url)("util/types")},8167:t=>{t.exports=e(import.meta.url)("worker_threads")},3106:t=>{t.exports=e(import.meta.url)("zlib")},7182:(e,t,r)=>{const n=r(7075).Writable;const s=r(7975).inherits;const o=r(4136);const i=r(612);const a=r(2271);const A=45;const c=Buffer.from("-");const u=Buffer.from("\r\n");const EMPTY_FN=function(){};function Dicer(e){if(!(this instanceof Dicer)){return new Dicer(e)}n.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)}))}s(Dicer,n);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{n.prototype.emit.apply(this,arguments)}};Dicer.prototype._write=function(e,t,r){if(!this._hparser&&!this._bparser){return r()}if(this._headerFirst&&this._isPreamble){if(!this._part){this._part=new i(this._partOpts);if(this.listenerCount("preamble")!==0){this.emit("preamble",this._part)}else{this._ignore()}}const t=this._hparser.push(e);if(!this._inHeader&&t!==undefined&&t{const n=r(8474).EventEmitter;const s=r(7975).inherits;const o=r(2393);const i=r(4136);const a=Buffer.from("\r\n\r\n");const A=/\r\n/g;const c=/^([^:]+):[ \t]?([\x00-\xFF]+)?$/;function HeaderParser(e){n.call(this);e=e||{};const t=this;this.nread=0;this.maxed=false;this.npairs=0;this.maxHeaderPairs=o(e,"maxHeaderPairs",2e3);this.maxHeaderSize=o(e,"maxHeaderSize",80*1024);this.buffer="";this.header={};this.finished=false;this.ss=new i(a);this.ss.on("info",(function(e,r,n,s){if(r&&!t.maxed){if(t.nread+s-n>=t.maxHeaderSize){s=t.maxHeaderSize-t.nread+n;t.nread=t.maxHeaderSize;t.maxed=true}else{t.nread+=s-n}t.buffer+=r.toString("binary",n,s)}if(e){t._finish()}}))}s(HeaderParser,n);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 r,n;for(var s=0;s{const n=r(7975).inherits;const s=r(7075).Readable;function PartStream(e){s.call(this,e)}n(PartStream,s);PartStream.prototype._read=function(e){};e.exports=PartStream},4136:(e,t,r)=>{const n=r(8474).EventEmitter;const s=r(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 r=0;r=0){this.emit("info",false,this._lookbehind,0,this._lookbehind_size);this._lookbehind_size=0}else{const r=this._lookbehind_size+o;if(r>0){this.emit("info",false,this._lookbehind,0,r)}this._lookbehind.copy(this._lookbehind,0,r,this._lookbehind_size-r);this._lookbehind_size-=r;e.copy(this._lookbehind,this._lookbehind_size);this._lookbehind_size+=t;this._bufpos=t;return t}}o+=(o>=0)*this._bufpos;if(e.indexOf(r,o)!==-1){o=e.indexOf(r,o);++this.matches;if(o>0){this.emit("info",true,e,this._bufpos,o)}else{this.emit("info",true)}return this._bufpos=o+n}else{o=t-n}while(o0){this.emit("info",false,e,this._bufpos,o{const n=r(7075).Writable;const{inherits:s}=r(7975);const o=r(7182);const i=r(1192);const a=r(855);const A=r(8929);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,...r}=e;this.opts={autoDestroy:false,...r};n.call(this,this.opts);this._done=false;this._parser=this.getParserByHeaders(t);this._finished=false}s(Busboy,n);Busboy.prototype.emit=function(e){if(e==="finish"){if(!this._done){this._parser?.end();return}else if(this._finished){return}this._finished=true}n.prototype.emit.apply(this,arguments)};Busboy.prototype.getParserByHeaders=function(e){const t=A(e["content-type"]);const r={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(i.detect.test(t[0])){return new i(this,r)}if(a.detect.test(t[0])){return new a(this,r)}throw new Error("Unsupported Content-Type.")};Busboy.prototype._write=function(e,t,r){this._parser.write(e,r)};e.exports=Busboy;e.exports["default"]=Busboy;e.exports.Busboy=Busboy;e.exports.Dicer=o},1192:(e,t,r)=>{const{Readable:n}=r(7075);const{inherits:s}=r(7975);const o=r(7182);const i=r(8929);const a=r(2747);const A=r(692);const c=r(2393);const u=/^boundary$/i;const l=/^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 r;let n;const s=this;let h;const E=t.limits;const m=t.isPartAFile||((e,t,r)=>t==="application/octet-stream"||r!==undefined);const I=t.parsedConType||[];const y=t.defCharset||"utf8";const C=t.preservePath;const Q={highWaterMark:t.fileHwm};for(r=0,n=I.length;rv){s.parser.removeListener("part",onPart);s.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(o){let c;let u;let h;let E;let I;let v;let R=0;if(o["content-type"]){h=i(o["content-type"][0]);if(h[0]){c=h[0].toLowerCase();for(r=0,n=h.length;rb){const n=b-R+e.length;if(n>0){r.push(e.slice(0,n))}r.truncated=true;r.bytesRead=b;t.removeAllListeners("data");r.emit("limit");return}else if(!r.push(e)){s._pause=true}r.bytesRead=R};O=function(){F=undefined;r.push(null)}}else{if(_===w){if(!e.hitFieldsLimit){e.hitFieldsLimit=true;e.emit("fieldsLimit")}return skipPart(t)}++_;++S;let r="";let n=false;N=t;k=function(e){if((R+=e.length)>B){const s=B-(R-e.length);r+=e.toString("binary",0,s);n=true;t.removeAllListeners("data")}else{r+=e.toString("binary")}};O=function(){N=undefined;if(r.length){r=a(r,"binary",E)}e.emit("field",u,r,false,n,I,c);--S;checkFinished()}}t._readableState.sync=false;t.on("data",k);t.on("end",O)})).on("error",(function(e){if(F){F.emit("error",e)}}))})).on("error",(function(t){e.emit("error",t)})).on("finish",(function(){O=true;checkFinished()}))}Multipart.prototype.write=function(e,t){const r=this.parser.write(e);if(r&&!this._pause){t()}else{this._needDrain=!r;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){n.call(this,e);this.bytesRead=0;this.truncated=false}s(FileStream,n);FileStream.prototype._read=function(e){};e.exports=Multipart},855:(e,t,r)=>{const n=r(1496);const s=r(2747);const o=r(2393);const i=/^charset$/i;UrlEncoded.detect=/^application\/x-www-form-urlencoded/i;function UrlEncoded(e,t){const r=t.limits;const s=t.parsedConType;this.boy=e;this.fieldSizeLimit=o(r,"fieldSize",1*1024*1024);this.fieldNameSizeLimit=o(r,"fieldNameSize",100);this.fieldsLimit=o(r,"fields",Infinity);let a;for(var A=0,c=s.length;Ai){this._key+=this.decoder.write(e.toString("binary",i,r))}this._state="val";this._hitLimit=false;this._checkingBytes=true;this._val="";this._bytesVal=0;this._valTrunc=false;this.decoder.reset();i=r+1}else if(n!==undefined){++this._fields;let r;const o=this._keyTrunc;if(n>i){r=this._key+=this.decoder.write(e.toString("binary",i,n))}else{r=this._key}this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();if(r.length){this.boy.emit("field",s(r,"binary",this.charset),"",o,false)}i=n+1;if(this._fields===this.fieldsLimit){return t()}}else if(this._hitLimit){if(o>i){this._key+=this.decoder.write(e.toString("binary",i,o))}i=o;if((this._bytesKey=this._key.length)===this.fieldNameSizeLimit){this._checkingBytes=false;this._keyTrunc=true}}else{if(ii){this._val+=this.decoder.write(e.toString("binary",i,n))}this.boy.emit("field",s(this._key,"binary",this.charset),s(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();i=n+1;if(this._fields===this.fieldsLimit){return t()}}else if(this._hitLimit){if(o>i){this._val+=this.decoder.write(e.toString("binary",i,o))}i=o;if(this._val===""&&this.fieldSizeLimit===0||(this._bytesVal=this._val.length)===this.fieldSizeLimit){this._checkingBytes=false;this._valTrunc=true}}else{if(i0){this.boy.emit("field",s(this._key,"binary",this.charset),"",this._keyTrunc,false)}else if(this._state==="val"){this.boy.emit("field",s(this._key,"binary",this.charset),s(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc)}this.boy._done=true;this.boy.emit("finish")};e.exports=UrlEncoded},1496:e=>{const t=/\+/g;const r=[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 n="";let s=0;let o=0;const i=e.length;for(;so){n+=e.substring(o,s);o=s}this.buffer="";++o}}if(o{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}},2747:function(e){const t=new TextDecoder("utf-8");const r=new Map([["utf-8",t],["utf8",t]]);function getDecoder(e){let t;while(true){switch(e){case"utf-8":case"utf8":return n.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 n.latin1;case"utf16le":case"utf-16le":case"ucs2":case"ucs-2":return n.utf16le;case"base64":return n.base64;default:if(t===undefined){t=true;e=e.toLowerCase();continue}return n.other.bind(e)}}}const n={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(r.has(this.toString())){try{return r.get(this).decode(e)}catch{}}return typeof e==="string"?e:e.toString()}};function decodeText(e,t,r){if(e){return getDecoder(r)(e,t)}return e}e.exports=decodeText},2393:e=>{e.exports=function getLimit(e,t,r){if(!e||e[t]===undefined||e[t]===null){return r}if(typeof e[t]!=="number"||isNaN(e[t])){throw new TypeError("Limit "+t+" is not a valid number")}return e[t]}},8929:(e,t,r)=>{const n=r(2747);const s=/%[a-fA-F0-9][a-fA-F0-9]/g;const o={"%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 o[e]}const i=0;const a=1;const A=2;const c=3;function parseParams(e){const t=[];let r=i;let o="";let u=false;let l=false;let p=0;let d="";const g=e.length;for(var h=0;h{e.exports=JSON.parse('{"name":"dotenv","version":"16.4.5","description":"Loads environment variables from .env file","main":"lib/main.js","types":"lib/main.d.ts","exports":{".":{"types":"./lib/main.d.ts","require":"./lib/main.js","default":"./lib/main.js"},"./config":"./config.js","./config.js":"./config.js","./lib/env-options":"./lib/env-options.js","./lib/env-options.js":"./lib/env-options.js","./lib/cli-options":"./lib/cli-options.js","./lib/cli-options.js":"./lib/cli-options.js","./package.json":"./package.json"},"scripts":{"dts-check":"tsc --project tests/types/tsconfig.json","lint":"standard","lint-readme":"standard-markdown","pretest":"npm run lint && npm run dts-check","test":"tap tests/*.js --100 -Rspec","test:coverage":"tap --coverage-report=lcov","prerelease":"npm test","release":"standard-version"},"repository":{"type":"git","url":"git://github.com/motdotla/dotenv.git"},"funding":"https://dotenvx.com","keywords":["dotenv","env",".env","environment","variables","config","settings"],"readmeFilename":"README.md","license":"BSD-2-Clause","devDependencies":{"@definitelytyped/dtslint":"^0.0.133","@types/node":"^18.11.3","decache":"^4.6.1","sinon":"^14.0.1","standard":"^17.0.0","standard-markdown":"^7.1.0","standard-version":"^9.5.0","tap":"^16.3.0","tar":"^6.1.11","typescript":"^4.8.4"},"engines":{"node":">=12"},"browser":{"fs":false}}')}};var r={};function __nccwpck_require__(e){var n=r[e];if(n!==undefined){return n.exports}var s=r[e]={exports:{}};var o=true;try{t[e].call(s.exports,s,s.exports,__nccwpck_require__);o=false}finally{if(o)delete r[e]}return s.exports}(()=>{__nccwpck_require__.n=e=>{var t=e&&e.__esModule?()=>e["default"]:()=>e;__nccwpck_require__.d(t,{a:t});return t}})();(()=>{__nccwpck_require__.d=(e,t)=>{for(var r in t){if(__nccwpck_require__.o(t,r)&&!__nccwpck_require__.o(e,r)){Object.defineProperty(e,r,{enumerable:true,get:t[r]})}}}})();(()=>{__nccwpck_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})();(()=>{__nccwpck_require__.r=e=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(e,"__esModule",{value:true})}})();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 n={};var s={};__nccwpck_require__.r(s);__nccwpck_require__.d(s,{Any:()=>Any,Array:()=>array_Array,AsyncIterator:()=>src_AsyncIterator,Awaited:()=>Awaited,BigInt:()=>bigint_BigInt,Boolean:()=>boolean_Boolean,Capitalize:()=>Capitalize,Composite:()=>Composite,Const:()=>Const,Constructor:()=>Constructor,ConstructorParameters:()=>ConstructorParameters,Date:()=>date_Date,Enum:()=>Enum,Exclude:()=>Exclude,Extends:()=>Extends,Extract:()=>Extract,Function:()=>function_Function,Index:()=>Index,InstanceType:()=>InstanceType,Integer:()=>Integer,Intersect:()=>Intersect,Iterator:()=>src_Iterator,KeyOf:()=>KeyOf,Literal:()=>Literal,Lowercase:()=>Lowercase,Mapped:()=>Mapped,Module:()=>Module,Never:()=>Never,Not:()=>Not,Null:()=>Null,Number:()=>number_Number,Object:()=>I,Omit:()=>Omit,Optional:()=>Optional,Parameters:()=>Parameters,Partial:()=>Partial,Pick:()=>Pick,Promise:()=>promise_Promise,Readonly:()=>Readonly,ReadonlyOptional:()=>ReadonlyOptional,Record:()=>Record,Recursive:()=>Recursive,Ref:()=>Ref,RegExp:()=>regexp_RegExp,Required:()=>Required,Rest:()=>Rest,ReturnType:()=>ReturnType,String:()=>string_String,Symbol:()=>symbol_Symbol,TemplateLiteral:()=>TemplateLiteral,Transform:()=>Transform,Tuple:()=>Tuple,Uint8Array:()=>uint8array_Uint8Array,Uncapitalize:()=>Uncapitalize,Undefined:()=>Undefined,Union:()=>Union,Unknown:()=>Unknown,Unsafe:()=>Unsafe,Uppercase:()=>Uppercase,Void:()=>Void});var o={reset:"",bright:"",dim:"",underscore:"",blink:"",reverse:"",hidden:"",fgBlack:"",fgRed:"",fgGreen:"",fgYellow:"",fgBlue:"",fgMagenta:"",fgCyan:"",fgWhite:"",bgBlack:"",bgRed:"",bgGreen:"",bgYellow:"",bgBlue:"",bgMagenta:"",bgCyan:"",bgWhite:""};var i={FATAL:"fatal",ERROR:"error",INFO:"info",VERBOSE:"verbose",DEBUG:"debug"};var a=class{constructor(){this.ok=this.ok.bind(this);this.info=this.info.bind(this);this.error=this.error.bind(this);this.fatal=this.fatal.bind(this);this.debug=this.debug.bind(this);this.verbose=this.verbose.bind(this)}fatal(e,t){this._logWithStack(i.FATAL,e,t)}error(e,t){this._logWithStack(i.ERROR,e,t)}ok(e,t){this._logWithStack("ok",e,t)}info(e,t){this._logWithStack(i.INFO,e,t)}debug(e,t){this._logWithStack(i.DEBUG,e,t)}verbose(e,t){this._logWithStack(i.VERBOSE,e,t)}_logWithStack(e,t,r){this._log(e,t);if(typeof r==="string"){this._log(e,r);return}if(r){const t=r;let n=t?.error?.stack||t?.stack;if(!n){const e=(new Error).stack?.split("\n");if(e){e.splice(0,4);n=e.filter((e=>e.includes(".ts:"))).join("\n")}}const s={...t};delete s.message;delete s.name;delete s.stack;if(!this._isEmpty(s)){this._log(e,s)}if(typeof n=="string"){const t=this._formatStackTrace(n,1);const r=this._colorizeText(t,o.dim);this._log(e,r)}else if(n){const t=this._formatStackTrace(n.join("\n"),1);const r=this._colorizeText(t,o.dim);this._log(e,r)}else{throw new Error("Stack is null")}}}_colorizeText(e,t){if(!t){throw new Error(`Invalid color: ${t}`)}return t.concat(e).concat(o.reset)}_formatStackTrace(e,t=0,r=""){const n=e.split("\n");for(let e=0;e`${r}${e.replace(/\s*at\s*/," ↳ ")}`)).join("\n")}_isEmpty(e){return!Reflect.ownKeys(e).some((t=>typeof e[String(t)]!=="function"))}_log(e,t){const r={fatal:"×",ok:"✓",error:"⚠",info:"›",debug:"››",verbose:"💬"};const n=r[e];const s=typeof t==="string"?t:JSON.stringify(t,null,2);const i=s.split("\n");const a=i.map(((e,t)=>{const r=t===0?`\t${n}`:`\t${" ".repeat(n.length)}`;return`${r} ${e}`})).join("\n");const A=a;const c={fatal:["error",o.fgRed],ok:["log",o.fgGreen],error:["warn",o.fgYellow],info:["info",o.dim],debug:["debug",o.fgMagenta],verbose:["debug",o.dim]};const u=console[c[e][0]];if(typeof u==="function"&&A.length>12){u(this._colorizeText(A,c[e][1]))}else if(A.length<=12){return}else{throw new Error(A)}}};var A=class{logMessage;metadata;constructor(e,t){this.logMessage=e;this.metadata=t}};var c=class _Logs{_maxLevel=-1;static console;_log({level:e,consoleLog:t,logMessage:r,metadata:n,type:s}){if(this._getNumericLevel(e)<=this._maxLevel){t(r,n)}return new A({raw:r,diff:this._diffColorCommentMessage(s,r),type:s,level:e},n)}_addDiagnosticInformation(e){if(!e){e={}}else if(typeof e!=="object"){e={message:e}}const t=(new Error).stack?.split("\n")||[];if(t.length>3){const r=t[3];const n=r.match(/at (\S+)/);if(n){e.caller=n[1]}}return e}ok(e,t){t=this._addDiagnosticInformation(t);return this._log({level:i.INFO,consoleLog:_Logs.console.ok,logMessage:e,metadata:t,type:"ok"})}info(e,t){t=this._addDiagnosticInformation(t);return this._log({level:i.INFO,consoleLog:_Logs.console.info,logMessage:e,metadata:t,type:"info"})}error(e,t){t=this._addDiagnosticInformation(t);return this._log({level:i.ERROR,consoleLog:_Logs.console.error,logMessage:e,metadata:t,type:"error"})}debug(e,t){t=this._addDiagnosticInformation(t);return this._log({level:i.DEBUG,consoleLog:_Logs.console.debug,logMessage:e,metadata:t,type:"debug"})}fatal(e,t){if(!t){t=_Logs.convertErrorsIntoObjects(new Error(e));const r=t.stack;r.splice(1,1);t.stack=r}if(t instanceof Error){t=_Logs.convertErrorsIntoObjects(t);const e=t.stack;e.splice(1,1);t.stack=e}t=this._addDiagnosticInformation(t);return this._log({level:i.FATAL,consoleLog:_Logs.console.fatal,logMessage:e,metadata:t,type:"fatal"})}verbose(e,t){t=this._addDiagnosticInformation(t);return this._log({level:i.VERBOSE,consoleLog:_Logs.console.verbose,logMessage:e,metadata:t,type:"verbose"})}constructor(e){this._maxLevel=this._getNumericLevel(e);_Logs.console=new a}_diffColorCommentMessage(e,t){const r={fatal:"-",ok:"+",error:"!",info:"#",debug:"@@@@"};const n=r[e];if(n){t=t.trim().split("\n").map((e=>`${n} ${e}`)).join("\n")}else if(e==="debug"){t=t.split("\n").map((e=>`@@ ${e} @@`)).join("\n")}else{t=t.split("\n").map((e=>`# ${e}`)).join("\n")}const s="```diff";const o="```";return[s,t,o].join("\n")}_getNumericLevel(e){switch(e){case i.FATAL:return 0;case i.ERROR:return 1;case i.INFO:return 2;case i.VERBOSE:return 4;case i.DEBUG:return 5;default:return-1}}static convertErrorsIntoObjects(e){if(e instanceof Error){return{message:e.message,name:e.name,stack:e.stack?e.stack.split("\n"):null}}else if(typeof e==="object"&&e!==null){const t=Object.keys(e);t.forEach((t=>{e[t]=this.convertErrorsIntoObjects(e[t])}))}return e}};var u=/\x1b\[\d+m|\s/g;function cleanLogs(e){const t=e.mock.calls.map((e=>e.map((e=>e?.toString())).join(" ")));return t.flat().map((e=>cleanLogString(e)))}function cleanLogString(e){return e.replaceAll(u,"").replaceAll(/\n/g,"").replaceAll(/\r/g,"").replaceAll(/\t/g,"").trim()}function cleanSpyLogs(e){return cleanLogs(e)}function IsAsyncIterator(e){return IsObject(e)&&Symbol.asyncIterator in e}function IsIterator(e){return IsObject(e)&&Symbol.iterator in e}function IsStandardObject(e){return IsObject(e)&&(Object.getPrototypeOf(e)===Object.prototype||Object.getPrototypeOf(e)===null)}function IsInstanceObject(e){return IsObject(e)&&!IsArray(e)&&IsFunction(e.constructor)&&e.constructor.name!=="Object"}function IsPromise(e){return e instanceof Promise}function IsDate(e){return e instanceof Date&&Number.isFinite(e.getTime())}function IsMap(e){return e instanceof globalThis.Map}function IsSet(e){return e instanceof globalThis.Set}function IsRegExp(e){return e instanceof globalThis.RegExp}function IsTypedArray(e){return ArrayBuffer.isView(e)}function IsInt8Array(e){return e instanceof globalThis.Int8Array}function IsUint8Array(e){return e instanceof globalThis.Uint8Array}function IsUint8ClampedArray(e){return e instanceof globalThis.Uint8ClampedArray}function IsInt16Array(e){return e instanceof globalThis.Int16Array}function IsUint16Array(e){return e instanceof globalThis.Uint16Array}function IsInt32Array(e){return e instanceof globalThis.Int32Array}function IsUint32Array(e){return e instanceof globalThis.Uint32Array}function IsFloat32Array(e){return e instanceof globalThis.Float32Array}function IsFloat64Array(e){return e instanceof globalThis.Float64Array}function IsBigInt64Array(e){return e instanceof globalThis.BigInt64Array}function IsBigUint64Array(e){return e instanceof globalThis.BigUint64Array}function HasPropertyKey(e,t){return t in e}function IsObject(e){return e!==null&&typeof e==="object"}function IsArray(e){return Array.isArray(e)&&!ArrayBuffer.isView(e)}function IsUndefined(e){return e===undefined}function IsNull(e){return e===null}function IsBoolean(e){return typeof e==="boolean"}function IsNumber(e){return typeof e==="number"}function IsInteger(e){return Number.isInteger(e)}function IsBigInt(e){return typeof e==="bigint"}function IsString(e){return typeof e==="string"}function IsFunction(e){return typeof e==="function"}function IsSymbol(e){return typeof e==="symbol"}function IsValueType(e){return IsBigInt(e)||IsBoolean(e)||IsNull(e)||IsNumber(e)||IsString(e)||IsSymbol(e)||IsUndefined(e)}var l;(function(e){e.InstanceMode="default";e.ExactOptionalPropertyTypes=false;e.AllowArrayObject=false;e.AllowNaN=false;e.AllowNullVoid=false;function IsExactOptionalProperty(t,r){return e.ExactOptionalPropertyTypes?r in t:t[r]!==undefined}e.IsExactOptionalProperty=IsExactOptionalProperty;function IsObjectLike(t){const r=IsObject(t);return e.AllowArrayObject?r:r&&!IsArray(t)}e.IsObjectLike=IsObjectLike;function IsRecordLike(e){return IsObjectLike(e)&&!(e instanceof Date)&&!(e instanceof Uint8Array)}e.IsRecordLike=IsRecordLike;function IsNumberLike(t){return e.AllowNaN?IsNumber(t):Number.isFinite(t)}e.IsNumberLike=IsNumberLike;function IsVoidLike(t){const r=IsUndefined(t);return e.AllowNullVoid?r||t===null:r}e.IsVoidLike=IsVoidLike})(l||(l={}));function value_HasPropertyKey(e,t){return t in e}function value_IsAsyncIterator(e){return value_IsObject(e)&&!value_IsArray(e)&&!value_IsUint8Array(e)&&Symbol.asyncIterator in e}function value_IsArray(e){return Array.isArray(e)}function value_IsBigInt(e){return typeof e==="bigint"}function value_IsBoolean(e){return typeof e==="boolean"}function value_IsDate(e){return e instanceof globalThis.Date}function value_IsFunction(e){return typeof e==="function"}function value_IsIterator(e){return value_IsObject(e)&&!value_IsArray(e)&&!value_IsUint8Array(e)&&Symbol.iterator in e}function value_IsNull(e){return e===null}function value_IsNumber(e){return typeof e==="number"}function value_IsObject(e){return typeof e==="object"&&e!==null}function value_IsRegExp(e){return e instanceof globalThis.RegExp}function value_IsString(e){return typeof e==="string"}function value_IsSymbol(e){return typeof e==="symbol"}function value_IsUint8Array(e){return e instanceof globalThis.Uint8Array}function value_IsUndefined(e){return e===undefined}function ImmutableArray(e){return globalThis.Object.freeze(e).map((e=>Immutable(e)))}function ImmutableDate(e){return e}function ImmutableUint8Array(e){return e}function ImmutableRegExp(e){return e}function ImmutableObject(e){const t={};for(const r of Object.getOwnPropertyNames(e)){t[r]=Immutable(e[r])}for(const r of Object.getOwnPropertySymbols(e)){t[r]=Immutable(e[r])}return globalThis.Object.freeze(t)}function Immutable(e){return value_IsArray(e)?ImmutableArray(e):value_IsDate(e)?ImmutableDate(e):value_IsUint8Array(e)?ImmutableUint8Array(e):value_IsRegExp(e)?ImmutableRegExp(e):value_IsObject(e)?ImmutableObject(e):e}function ArrayType(e){return e.map((e=>Visit(e)))}function DateType(e){return new Date(e.getTime())}function Uint8ArrayType(e){return new Uint8Array(e)}function RegExpType(e){return new RegExp(e.source,e.flags)}function ObjectType(e){const t={};for(const r of Object.getOwnPropertyNames(e)){t[r]=Visit(e[r])}for(const r of Object.getOwnPropertySymbols(e)){t[r]=Visit(e[r])}return t}function Visit(e){return value_IsArray(e)?ArrayType(e):value_IsDate(e)?DateType(e):value_IsUint8Array(e)?Uint8ArrayType(e):value_IsRegExp(e)?RegExpType(e):value_IsObject(e)?ObjectType(e):e}function Clone(e){return Visit(e)}function CreateType(e,t){const r=t!==undefined?{...t,...e}:e;switch(l.InstanceMode){case"freeze":return Immutable(r);case"clone":return Clone(r);default:return r}}const p=Symbol.for("TypeBox.Transform");const d=Symbol.for("TypeBox.Readonly");const g=Symbol.for("TypeBox.Optional");const h=Symbol.for("TypeBox.Hint");const E=Symbol.for("TypeBox.Kind");function Any(e){return CreateType({[E]:"Any"},e)}function array_Array(e,t){return CreateType({[E]:"Array",type:"array",items:e},t)}function src_AsyncIterator(e,t){return CreateType({[E]:"AsyncIterator",type:"AsyncIterator",items:e},t)}function Computed(e,t,r){return CreateType({[E]:"Computed",target:e,parameters:t},r)}function Never(e){return CreateType({[E]:"Never",not:{}},e)}function IsReadonly(e){return value_IsObject(e)&&e[d]==="Readonly"}function IsOptional(e){return value_IsObject(e)&&e[g]==="Optional"}function IsAny(e){return IsKindOf(e,"Any")}function kind_IsArray(e){return IsKindOf(e,"Array")}function kind_IsAsyncIterator(e){return IsKindOf(e,"AsyncIterator")}function kind_IsBigInt(e){return IsKindOf(e,"BigInt")}function kind_IsBoolean(e){return IsKindOf(e,"Boolean")}function IsComputed(e){return IsKindOf(e,"Computed")}function IsConstructor(e){return IsKindOf(e,"Constructor")}function kind_IsDate(e){return IsKindOf(e,"Date")}function kind_IsFunction(e){return IsKindOf(e,"Function")}function IsImport(e){return IsKindOf(e,"Import")}function kind_IsInteger(e){return IsKindOf(e,"Integer")}function IsProperties(e){return ValueGuard.IsObject(e)}function IsIntersect(e){return IsKindOf(e,"Intersect")}function kind_IsIterator(e){return IsKindOf(e,"Iterator")}function IsKindOf(e,t){return value_IsObject(e)&&E in e&&e[E]===t}function IsLiteralString(e){return IsLiteral(e)&&ValueGuard.IsString(e.const)}function IsLiteralNumber(e){return IsLiteral(e)&&ValueGuard.IsNumber(e.const)}function IsLiteralBoolean(e){return IsLiteral(e)&&ValueGuard.IsBoolean(e.const)}function IsLiteralValue(e){return value_IsBoolean(e)||value_IsNumber(e)||value_IsString(e)}function IsLiteral(e){return IsKindOf(e,"Literal")}function IsMappedKey(e){return IsKindOf(e,"MappedKey")}function IsMappedResult(e){return IsKindOf(e,"MappedResult")}function IsNever(e){return IsKindOf(e,"Never")}function IsNot(e){return IsKindOf(e,"Not")}function kind_IsNull(e){return IsKindOf(e,"Null")}function kind_IsNumber(e){return IsKindOf(e,"Number")}function kind_IsObject(e){return IsKindOf(e,"Object")}function kind_IsPromise(e){return IsKindOf(e,"Promise")}function IsRecord(e){return IsKindOf(e,"Record")}function IsRecursive(e){return ValueGuard.IsObject(e)&&Hint in e&&e[Hint]==="Recursive"}function IsRef(e){return IsKindOf(e,"Ref")}function kind_IsRegExp(e){return IsKindOf(e,"RegExp")}function kind_IsString(e){return IsKindOf(e,"String")}function kind_IsSymbol(e){return IsKindOf(e,"Symbol")}function IsTemplateLiteral(e){return IsKindOf(e,"TemplateLiteral")}function IsThis(e){return IsKindOf(e,"This")}function IsTransform(e){return value_IsObject(e)&&p in e}function IsTuple(e){return IsKindOf(e,"Tuple")}function kind_IsUndefined(e){return IsKindOf(e,"Undefined")}function IsUnion(e){return IsKindOf(e,"Union")}function kind_IsUint8Array(e){return IsKindOf(e,"Uint8Array")}function IsUnknown(e){return IsKindOf(e,"Unknown")}function IsUnsafe(e){return IsKindOf(e,"Unsafe")}function IsVoid(e){return IsKindOf(e,"Void")}function IsKind(e){return value_IsObject(e)&&E in e&&value_IsString(e[E])}function IsSchema(e){return IsAny(e)||kind_IsArray(e)||kind_IsBoolean(e)||kind_IsBigInt(e)||kind_IsAsyncIterator(e)||IsConstructor(e)||kind_IsDate(e)||kind_IsFunction(e)||kind_IsInteger(e)||IsIntersect(e)||kind_IsIterator(e)||IsLiteral(e)||IsMappedKey(e)||IsMappedResult(e)||IsNever(e)||IsNot(e)||kind_IsNull(e)||kind_IsNumber(e)||kind_IsObject(e)||kind_IsPromise(e)||IsRecord(e)||IsRef(e)||kind_IsRegExp(e)||kind_IsString(e)||kind_IsSymbol(e)||IsTemplateLiteral(e)||IsThis(e)||IsTuple(e)||kind_IsUndefined(e)||IsUnion(e)||kind_IsUint8Array(e)||IsUnknown(e)||IsUnsafe(e)||IsVoid(e)||IsKind(e)}function IntersectCreate(e,t={}){const r=e.every((e=>kind_IsObject(e)));const n=IsSchema(t.unevaluatedProperties)?{unevaluatedProperties:t.unevaluatedProperties}:{};return CreateType(t.unevaluatedProperties===false||IsSchema(t.unevaluatedProperties)||r?{...n,[E]:"Intersect",type:"object",allOf:e}:{...n,[E]:"Intersect",allOf:e},t)}function Intersect(e,t){if(e.length===1)return CreateType(e[0],t);if(e.length===0)return Never(t);if(e.some((e=>IsTransform(e))))throw new Error("Cannot intersect transform types");return IntersectCreate(e,t)}function UnionCreate(e,t){return CreateType({[E]:"Union",anyOf:e},t)}function Union(e,t){return e.length===0?Never(t):e.length===1?CreateType(e[0],t):UnionCreate(e,t)}function Ref(e,t){return CreateType({[E]:"Ref",$ref:e},t)}function FromComputed(e,t){return Computed("Awaited",[Computed(e,t)])}function FromRef(e){return Computed("Awaited",[Ref(e)])}function FromIntersect(e){return Intersect(FromRest(e))}function FromUnion(e){return Union(FromRest(e))}function FromPromise(e){return Awaited(e)}function FromRest(e){return e.map((e=>Awaited(e)))}function Awaited(e,t){return CreateType(IsComputed(e)?FromComputed(e.target,e.parameters):IsIntersect(e)?FromIntersect(e.allOf):IsUnion(e)?FromUnion(e.anyOf):kind_IsPromise(e)?FromPromise(e.item):IsRef(e)?FromRef(e.$ref):e,t)}function bigint_BigInt(e){return CreateType({[E]:"BigInt",type:"bigint"},e)}function boolean_Boolean(e){return CreateType({[E]:"Boolean",type:"boolean"},e)}function DiscardKey(e,t){const{[t]:r,...n}=e;return n}function Discard(e,t){return t.reduce(((e,t)=>DiscardKey(e,t)),e)}function MappedResult(e){return CreateType({[E]:"MappedResult",properties:e})}function FromProperties(e,t){const r={};for(const n of globalThis.Object.getOwnPropertyNames(e))r[n]=Optional(e[n],t);return r}function FromMappedResult(e,t){return FromProperties(e.properties,t)}function OptionalFromMappedResult(e,t){const r=FromMappedResult(e,t);return MappedResult(r)}function RemoveOptional(e){return CreateType(Discard(e,[g]))}function AddOptional(e){return CreateType({...e,[g]:"Optional"})}function OptionalWithFlag(e,t){return t===false?RemoveOptional(e):AddOptional(e)}function Optional(e,t){const r=t??true;return IsMappedResult(e)?OptionalFromMappedResult(e,r):OptionalWithFlag(e,r)}function IsIntersectOptional(e){return e.every((e=>IsOptional(e)))}function RemoveOptionalFromType(e){return Discard(e,[g])}function RemoveOptionalFromRest(e){return e.map((e=>IsOptional(e)?RemoveOptionalFromType(e):e))}function ResolveIntersect(e,t){return IsIntersectOptional(e)?Optional(IntersectCreate(RemoveOptionalFromRest(e),t)):IntersectCreate(RemoveOptionalFromRest(e),t)}function IntersectEvaluated(e,t={}){if(e.length===1)return CreateType(e[0],t);if(e.length===0)return Never(t);if(e.some((e=>IsTransform(e))))throw new Error("Cannot intersect transform types");return ResolveIntersect(e,t)}function Literal(e,t){return CreateType({[E]:"Literal",const:e,type:typeof e},t)}function IsUnionOptional(e){return e.some((e=>IsOptional(e)))}function union_evaluated_RemoveOptionalFromRest(e){return e.map((e=>IsOptional(e)?union_evaluated_RemoveOptionalFromType(e):e))}function union_evaluated_RemoveOptionalFromType(e){return Discard(e,[g])}function ResolveUnion(e,t){const r=IsUnionOptional(e);return r?Optional(UnionCreate(union_evaluated_RemoveOptionalFromRest(e),t)):UnionCreate(union_evaluated_RemoveOptionalFromRest(e),t)}function UnionEvaluated(e,t){return e.length===1?CreateType(e[0],t):e.length===0?Never(t):ResolveUnion(e,t)}class error_TypeBoxError extends Error{constructor(e){super(e)}}class TemplateLiteralParserError extends error_TypeBoxError{}function Unescape(e){return e.replace(/\\\$/g,"$").replace(/\\\*/g,"*").replace(/\\\^/g,"^").replace(/\\\|/g,"|").replace(/\\\(/g,"(").replace(/\\\)/g,")")}function IsNonEscaped(e,t,r){return e[t]===r&&e.charCodeAt(t-1)!==92}function IsOpenParen(e,t){return IsNonEscaped(e,t,"(")}function IsCloseParen(e,t){return IsNonEscaped(e,t,")")}function IsSeparator(e,t){return IsNonEscaped(e,t,"|")}function IsGroup(e){if(!(IsOpenParen(e,0)&&IsCloseParen(e,e.length-1)))return false;let t=0;for(let r=0;r0)n.push(TemplateLiteralParse(t));r=s+1}}const s=e.slice(r);if(s.length>0)n.push(TemplateLiteralParse(s));if(n.length===0)return{type:"const",const:""};if(n.length===1)return n[0];return{type:"or",expr:n}}function And(e){function Group(e,t){if(!IsOpenParen(e,t))throw new TemplateLiteralParserError(`TemplateLiteralParser: Index must point to open parens`);let r=0;for(let n=t;n0)t.push(TemplateLiteralParse(o));r=s-1}}return t.length===0?{type:"const",const:""}:t.length===1?t[0]:{type:"and",expr:t}}function TemplateLiteralParse(e){return IsGroup(e)?TemplateLiteralParse(InGroup(e)):IsPrecedenceOr(e)?Or(e):IsPrecedenceAnd(e)?And(e):{type:"const",const:Unescape(e)}}function TemplateLiteralParseExact(e){return TemplateLiteralParse(e.slice(1,e.length-1))}class TemplateLiteralFiniteError extends error_TypeBoxError{}function IsNumberExpression(e){return e.type==="or"&&e.expr.length===2&&e.expr[0].type==="const"&&e.expr[0].const==="0"&&e.expr[1].type==="const"&&e.expr[1].const==="[1-9][0-9]*"}function IsBooleanExpression(e){return e.type==="or"&&e.expr.length===2&&e.expr[0].type==="const"&&e.expr[0].const==="true"&&e.expr[1].type==="const"&&e.expr[1].const==="false"}function IsStringExpression(e){return e.type==="const"&&e.const===".*"}function IsTemplateLiteralExpressionFinite(e){return IsNumberExpression(e)||IsStringExpression(e)?false:IsBooleanExpression(e)?true:e.type==="and"?e.expr.every((e=>IsTemplateLiteralExpressionFinite(e))):e.type==="or"?e.expr.every((e=>IsTemplateLiteralExpressionFinite(e))):e.type==="const"?true:(()=>{throw new TemplateLiteralFiniteError(`Unknown expression type`)})()}function IsTemplateLiteralFinite(e){const t=TemplateLiteralParseExact(e.pattern);return IsTemplateLiteralExpressionFinite(t)}class TemplateLiteralGenerateError extends error_TypeBoxError{}function*GenerateReduce(e){if(e.length===1)return yield*e[0];for(const t of e[0]){for(const r of GenerateReduce(e.slice(1))){yield`${t}${r}`}}}function*GenerateAnd(e){return yield*GenerateReduce(e.expr.map((e=>[...TemplateLiteralExpressionGenerate(e)])))}function*GenerateOr(e){for(const t of e.expr)yield*TemplateLiteralExpressionGenerate(t)}function*GenerateConst(e){return yield e.const}function*TemplateLiteralExpressionGenerate(e){return e.type==="and"?yield*GenerateAnd(e):e.type==="or"?yield*GenerateOr(e):e.type==="const"?yield*GenerateConst(e):(()=>{throw new TemplateLiteralGenerateError("Unknown expression")})()}function TemplateLiteralGenerate(e){const t=TemplateLiteralParseExact(e.pattern);return IsTemplateLiteralExpressionFinite(t)?[...TemplateLiteralExpressionGenerate(t)]:[]}function FromTemplateLiteral(e){const t=TemplateLiteralGenerate(e);return t.map((e=>e.toString()))}function indexed_property_keys_FromUnion(e){const t=[];for(const r of e)t.push(...IndexPropertyKeys(r));return t}function FromLiteral(e){return[e.toString()]}function IndexPropertyKeys(e){return[...new Set(IsTemplateLiteral(e)?FromTemplateLiteral(e):IsUnion(e)?indexed_property_keys_FromUnion(e.anyOf):IsLiteral(e)?FromLiteral(e.const):kind_IsNumber(e)?["[number]"]:kind_IsInteger(e)?["[number]"]:[])]}function MappedIndexPropertyKey(e,t,r){return{[t]:Index(e,[t],Clone(r))}}function MappedIndexPropertyKeys(e,t,r){return t.reduce(((t,n)=>({...t,...MappedIndexPropertyKey(e,n,r)})),{})}function MappedIndexProperties(e,t,r){return MappedIndexPropertyKeys(e,t.keys,r)}function IndexFromMappedKey(e,t,r){const n=MappedIndexProperties(e,t,r);return MappedResult(n)}function indexed_from_mapped_result_FromProperties(e,t,r){const n={};for(const s of Object.getOwnPropertyNames(t)){const o=IndexPropertyKeys(t[s]);n[s]=Index(e,o,r)}return n}function indexed_from_mapped_result_FromMappedResult(e,t,r){return indexed_from_mapped_result_FromProperties(e,t.properties,r)}function IndexFromMappedResult(e,t,r){const n=indexed_from_mapped_result_FromMappedResult(e,t,r);return MappedResult(n)}function indexed_FromRest(e,t){return e.map((e=>IndexFromPropertyKey(e,t)))}function FromIntersectRest(e){return e.filter((e=>!IsNever(e)))}function indexed_FromIntersect(e,t){return IntersectEvaluated(FromIntersectRest(indexed_FromRest(e,t)))}function FromUnionRest(e){return e.some((e=>IsNever(e)))?[]:e}function indexed_FromUnion(e,t){return UnionEvaluated(FromUnionRest(indexed_FromRest(e,t)))}function FromTuple(e,t){return t==="[number]"?UnionEvaluated(e):t in e?e[t]:Never()}function FromArray(e,t){return t==="[number]"?e:Never()}function FromProperty(e,t){return t in e?e[t]:Never()}function IndexFromPropertyKey(e,t){return IsIntersect(e)?indexed_FromIntersect(e.allOf,t):IsUnion(e)?indexed_FromUnion(e.anyOf,t):IsTuple(e)?FromTuple(e.items??[],t):kind_IsArray(e)?FromArray(e.items,t):kind_IsObject(e)?FromProperty(e.properties,t):Never()}function IndexFromPropertyKeys(e,t){return t.map((t=>IndexFromPropertyKey(e,t)))}function FromType(e,t){const r=IndexFromPropertyKeys(e,t);return UnionEvaluated(r)}function UnionFromPropertyKeys(e){const t=e.reduce(((e,t)=>IsLiteralValue(t)?[...e,Literal(t)]:e),[]);return UnionEvaluated(t)}function Index(e,t,r){const n=value_IsArray(t)?UnionFromPropertyKeys(t):t;const s=IsSchema(t)?IndexPropertyKeys(t):t;const o=IsRef(e);const i=IsRef(t);return IsMappedResult(t)?IndexFromMappedResult(e,t,r):IsMappedKey(t)?IndexFromMappedKey(e,t,r):o&&i?Computed("Index",[e,n],r):!o&&i?Computed("Index",[e,n],r):o&&!i?Computed("Index",[e,n],r):CreateType(FromType(e,s),r)}function SetIncludes(e,t){return e.includes(t)}function SetIsSubset(e,t){return e.every((e=>SetIncludes(t,e)))}function SetDistinct(e){return[...new Set(e)]}function SetIntersect(e,t){return e.filter((e=>t.includes(e)))}function SetUnion(e,t){return[...e,...t]}function SetComplement(e,t){return e.filter((e=>!t.includes(e)))}function SetIntersectManyResolve(e,t){return e.reduce(((e,t)=>SetIntersect(e,t)),t)}function SetIntersectMany(e){return e.length===1?e[0]:e.length>1?SetIntersectManyResolve(e.slice(1),e[0]):[]}function SetUnionMany(e){const t=[];for(const r of e)t.push(...r);return t}function keyof_property_keys_FromRest(e){const t=[];for(const r of e)t.push(KeyOfPropertyKeys(r));return t}function keyof_property_keys_FromIntersect(e){const t=keyof_property_keys_FromRest(e);const r=SetUnionMany(t);return r}function keyof_property_keys_FromUnion(e){const t=keyof_property_keys_FromRest(e);const r=SetIntersectMany(t);return r}function keyof_property_keys_FromTuple(e){return e.map(((e,t)=>t.toString()))}function keyof_property_keys_FromArray(e){return["[number]"]}function keyof_property_keys_FromProperties(e){return globalThis.Object.getOwnPropertyNames(e)}function FromPatternProperties(e){if(!m)return[];const t=globalThis.Object.getOwnPropertyNames(e);return t.map((e=>e[0]==="^"&&e[e.length-1]==="$"?e.slice(1,e.length-1):e))}function KeyOfPropertyKeys(e){return IsIntersect(e)?keyof_property_keys_FromIntersect(e.allOf):IsUnion(e)?keyof_property_keys_FromUnion(e.anyOf):IsTuple(e)?keyof_property_keys_FromTuple(e.items??[]):kind_IsArray(e)?keyof_property_keys_FromArray(e.items):kind_IsObject(e)?keyof_property_keys_FromProperties(e.properties):IsRecord(e)?FromPatternProperties(e.patternProperties):[]}let m=false;function KeyOfPattern(e){m=true;const t=KeyOfPropertyKeys(e);m=false;const r=t.map((e=>`(${e})`));return`^(${r.join("|")})$`}function RequiredKeys(e){const t=[];for(let r in e){if(!IsOptional(e[r]))t.push(r)}return t}function _Object(e,t){const r=RequiredKeys(e);const n=r.length>0?{[E]:"Object",type:"object",properties:e,required:r}:{[E]:"Object",type:"object",properties:e};return CreateType(n,t)}var I=_Object;function CompositeKeys(e){const t=[];for(const r of e)t.push(...KeyOfPropertyKeys(r));return SetDistinct(t)}function FilterNever(e){return e.filter((e=>!IsNever(e)))}function CompositeProperty(e,t){const r=[];for(const n of e)r.push(...IndexFromPropertyKeys(n,[t]));return FilterNever(r)}function CompositeProperties(e,t){const r={};for(const n of t){r[n]=IntersectEvaluated(CompositeProperty(e,n))}return r}function Composite(e,t){const r=CompositeKeys(e);const n=CompositeProperties(e,r);const s=I(n,t);return s}function date_Date(e){return CreateType({[E]:"Date",type:"Date"},e)}function function_Function(e,t,r){return CreateType({[E]:"Function",type:"Function",parameters:e,returns:t},r)}function Null(e){return CreateType({[E]:"Null",type:"null"},e)}function symbol_Symbol(e){return CreateType({[E]:"Symbol",type:"symbol"},e)}function Tuple(e,t){return CreateType(e.length>0?{[E]:"Tuple",type:"array",items:e,additionalItems:false,minItems:e.length,maxItems:e.length}:{[E]:"Tuple",type:"array",minItems:e.length,maxItems:e.length},t)}function readonly_from_mapped_result_FromProperties(e,t){const r={};for(const n of globalThis.Object.getOwnPropertyNames(e))r[n]=Readonly(e[n],t);return r}function readonly_from_mapped_result_FromMappedResult(e,t){return readonly_from_mapped_result_FromProperties(e.properties,t)}function ReadonlyFromMappedResult(e,t){const r=readonly_from_mapped_result_FromMappedResult(e,t);return MappedResult(r)}function RemoveReadonly(e){return CreateType(Discard(e,[d]))}function AddReadonly(e){return CreateType({...e,[d]:"Readonly"})}function ReadonlyWithFlag(e,t){return t===false?RemoveReadonly(e):AddReadonly(e)}function Readonly(e,t){const r=t??true;return IsMappedResult(e)?ReadonlyFromMappedResult(e,r):ReadonlyWithFlag(e,r)}function Undefined(e){return CreateType({[E]:"Undefined",type:"undefined"},e)}function uint8array_Uint8Array(e){return CreateType({[E]:"Uint8Array",type:"Uint8Array"},e)}function Unknown(e){return CreateType({[E]:"Unknown"},e)}function const_FromArray(e){return e.map((e=>FromValue(e,false)))}function const_FromProperties(e){const t={};for(const r of globalThis.Object.getOwnPropertyNames(e))t[r]=Readonly(FromValue(e[r],false));return t}function ConditionalReadonly(e,t){return t===true?e:Readonly(e)}function FromValue(e,t){return value_IsAsyncIterator(e)?ConditionalReadonly(Any(),t):value_IsIterator(e)?ConditionalReadonly(Any(),t):value_IsArray(e)?Readonly(Tuple(const_FromArray(e))):value_IsUint8Array(e)?uint8array_Uint8Array():value_IsDate(e)?date_Date():value_IsObject(e)?ConditionalReadonly(I(const_FromProperties(e)),t):value_IsFunction(e)?ConditionalReadonly(function_Function([],Unknown()),t):value_IsUndefined(e)?Undefined():value_IsNull(e)?Null():value_IsSymbol(e)?symbol_Symbol():value_IsBigInt(e)?bigint_BigInt():value_IsNumber(e)?Literal(e):value_IsBoolean(e)?Literal(e):value_IsString(e)?Literal(e):I({})}function Const(e,t){return CreateType(FromValue(e,true),t)}function Constructor(e,t,r){return CreateType({[E]:"Constructor",type:"Constructor",parameters:e,returns:t},r)}function ConstructorParameters(e,t){return Tuple(e.parameters,t)}function Enum(e,t){if(value_IsUndefined(e))throw new Error("Enum undefined or empty");const r=globalThis.Object.getOwnPropertyNames(e).filter((e=>isNaN(e))).map((t=>e[t]));const n=[...new Set(r)];const s=n.map((e=>Literal(e)));return Union(s,{...t,[h]:"Enum"})}function number_Number(e){return CreateType({[E]:"Number",type:"number"},e)}function string_String(e){return CreateType({[E]:"String",type:"string"},e)}function TemplateLiteralToUnion(e){const t=TemplateLiteralGenerate(e);const r=t.map((e=>Literal(e)));return UnionEvaluated(r)}const y="(true|false)";const C="(0|[1-9][0-9]*)";const Q="(.*)";const B="(?!.*)";const b=null&&`^${y}$`;const T=`^${C}$`;const w=`^${Q}$`;const v=`^${B}$`;class TypeGuardUnknownTypeError extends(null&&TypeBoxError){}const R=["Any","Array","AsyncIterator","BigInt","Boolean","Computed","Constructor","Date","Enum","Function","Integer","Intersect","Iterator","Literal","MappedKey","MappedResult","Not","Null","Number","Object","Promise","Record","Ref","RegExp","String","Symbol","TemplateLiteral","This","Tuple","Undefined","Union","Uint8Array","Unknown","Void"];function IsPattern(e){try{new RegExp(e);return true}catch{return false}}function IsControlCharacterFree(e){if(!value_IsString(e))return false;for(let t=0;t=7&&r<=13||r===27||r===127){return false}}return true}function IsAdditionalProperties(e){return IsOptionalBoolean(e)||type_IsSchema(e)}function IsOptionalBigInt(e){return value_IsUndefined(e)||value_IsBigInt(e)}function IsOptionalNumber(e){return value_IsUndefined(e)||value_IsNumber(e)}function IsOptionalBoolean(e){return value_IsUndefined(e)||value_IsBoolean(e)}function IsOptionalString(e){return value_IsUndefined(e)||value_IsString(e)}function IsOptionalPattern(e){return value_IsUndefined(e)||value_IsString(e)&&IsControlCharacterFree(e)&&IsPattern(e)}function IsOptionalFormat(e){return value_IsUndefined(e)||value_IsString(e)&&IsControlCharacterFree(e)}function IsOptionalSchema(e){return value_IsUndefined(e)||type_IsSchema(e)}function type_IsReadonly(e){return ValueGuard.IsObject(e)&&e[ReadonlyKind]==="Readonly"}function type_IsOptional(e){return value_IsObject(e)&&e[g]==="Optional"}function type_IsAny(e){return type_IsKindOf(e,"Any")&&IsOptionalString(e.$id)}function type_IsArray(e){return type_IsKindOf(e,"Array")&&e.type==="array"&&IsOptionalString(e.$id)&&type_IsSchema(e.items)&&IsOptionalNumber(e.minItems)&&IsOptionalNumber(e.maxItems)&&IsOptionalBoolean(e.uniqueItems)&&IsOptionalSchema(e.contains)&&IsOptionalNumber(e.minContains)&&IsOptionalNumber(e.maxContains)}function type_IsAsyncIterator(e){return type_IsKindOf(e,"AsyncIterator")&&e.type==="AsyncIterator"&&IsOptionalString(e.$id)&&type_IsSchema(e.items)}function type_IsBigInt(e){return type_IsKindOf(e,"BigInt")&&e.type==="bigint"&&IsOptionalString(e.$id)&&IsOptionalBigInt(e.exclusiveMaximum)&&IsOptionalBigInt(e.exclusiveMinimum)&&IsOptionalBigInt(e.maximum)&&IsOptionalBigInt(e.minimum)&&IsOptionalBigInt(e.multipleOf)}function type_IsBoolean(e){return type_IsKindOf(e,"Boolean")&&e.type==="boolean"&&IsOptionalString(e.$id)}function type_IsComputed(e){return type_IsKindOf(e,"Computed")&&type_IsString(e.target)&&ValueGuard.IsArray(e.parameters)&&e.parameters.every((e=>type_IsSchema(e)))}function type_IsConstructor(e){return type_IsKindOf(e,"Constructor")&&e.type==="Constructor"&&IsOptionalString(e.$id)&&value_IsArray(e.parameters)&&e.parameters.every((e=>type_IsSchema(e)))&&type_IsSchema(e.returns)}function type_IsDate(e){return type_IsKindOf(e,"Date")&&e.type==="Date"&&IsOptionalString(e.$id)&&IsOptionalNumber(e.exclusiveMaximumTimestamp)&&IsOptionalNumber(e.exclusiveMinimumTimestamp)&&IsOptionalNumber(e.maximumTimestamp)&&IsOptionalNumber(e.minimumTimestamp)&&IsOptionalNumber(e.multipleOfTimestamp)}function type_IsFunction(e){return type_IsKindOf(e,"Function")&&e.type==="Function"&&IsOptionalString(e.$id)&&value_IsArray(e.parameters)&&e.parameters.every((e=>type_IsSchema(e)))&&type_IsSchema(e.returns)}function type_IsImport(e){return type_IsKindOf(e,"Import")&&ValueGuard.HasPropertyKey(e,"$defs")&&ValueGuard.IsObject(e.$defs)&&type_IsProperties(e.$defs)&&ValueGuard.HasPropertyKey(e,"$ref")&&ValueGuard.IsString(e.$ref)&&e.$ref in e.$defs}function type_IsInteger(e){return type_IsKindOf(e,"Integer")&&e.type==="integer"&&IsOptionalString(e.$id)&&IsOptionalNumber(e.exclusiveMaximum)&&IsOptionalNumber(e.exclusiveMinimum)&&IsOptionalNumber(e.maximum)&&IsOptionalNumber(e.minimum)&&IsOptionalNumber(e.multipleOf)}function type_IsProperties(e){return value_IsObject(e)&&Object.entries(e).every((([e,t])=>IsControlCharacterFree(e)&&type_IsSchema(t)))}function type_IsIntersect(e){return type_IsKindOf(e,"Intersect")&&(value_IsString(e.type)&&e.type!=="object"?false:true)&&value_IsArray(e.allOf)&&e.allOf.every((e=>type_IsSchema(e)&&!type_IsTransform(e)))&&IsOptionalString(e.type)&&(IsOptionalBoolean(e.unevaluatedProperties)||IsOptionalSchema(e.unevaluatedProperties))&&IsOptionalString(e.$id)}function type_IsIterator(e){return type_IsKindOf(e,"Iterator")&&e.type==="Iterator"&&IsOptionalString(e.$id)&&type_IsSchema(e.items)}function type_IsKindOf(e,t){return value_IsObject(e)&&E in e&&e[E]===t}function type_IsLiteralString(e){return type_IsLiteral(e)&&value_IsString(e.const)}function type_IsLiteralNumber(e){return type_IsLiteral(e)&&value_IsNumber(e.const)}function type_IsLiteralBoolean(e){return type_IsLiteral(e)&&value_IsBoolean(e.const)}function type_IsLiteral(e){return type_IsKindOf(e,"Literal")&&IsOptionalString(e.$id)&&type_IsLiteralValue(e.const)}function type_IsLiteralValue(e){return value_IsBoolean(e)||value_IsNumber(e)||value_IsString(e)}function type_IsMappedKey(e){return type_IsKindOf(e,"MappedKey")&&value_IsArray(e.keys)&&e.keys.every((e=>value_IsNumber(e)||value_IsString(e)))}function type_IsMappedResult(e){return type_IsKindOf(e,"MappedResult")&&type_IsProperties(e.properties)}function type_IsNever(e){return type_IsKindOf(e,"Never")&&value_IsObject(e.not)&&Object.getOwnPropertyNames(e.not).length===0}function type_IsNot(e){return type_IsKindOf(e,"Not")&&type_IsSchema(e.not)}function type_IsNull(e){return type_IsKindOf(e,"Null")&&e.type==="null"&&IsOptionalString(e.$id)}function type_IsNumber(e){return type_IsKindOf(e,"Number")&&e.type==="number"&&IsOptionalString(e.$id)&&IsOptionalNumber(e.exclusiveMaximum)&&IsOptionalNumber(e.exclusiveMinimum)&&IsOptionalNumber(e.maximum)&&IsOptionalNumber(e.minimum)&&IsOptionalNumber(e.multipleOf)}function type_IsObject(e){return type_IsKindOf(e,"Object")&&e.type==="object"&&IsOptionalString(e.$id)&&type_IsProperties(e.properties)&&IsAdditionalProperties(e.additionalProperties)&&IsOptionalNumber(e.minProperties)&&IsOptionalNumber(e.maxProperties)}function type_IsPromise(e){return type_IsKindOf(e,"Promise")&&e.type==="Promise"&&IsOptionalString(e.$id)&&type_IsSchema(e.item)}function type_IsRecord(e){return type_IsKindOf(e,"Record")&&e.type==="object"&&IsOptionalString(e.$id)&&IsAdditionalProperties(e.additionalProperties)&&value_IsObject(e.patternProperties)&&(e=>{const t=Object.getOwnPropertyNames(e.patternProperties);return t.length===1&&IsPattern(t[0])&&value_IsObject(e.patternProperties)&&type_IsSchema(e.patternProperties[t[0]])})(e)}function type_IsRecursive(e){return ValueGuard.IsObject(e)&&Hint in e&&e[Hint]==="Recursive"}function type_IsRef(e){return type_IsKindOf(e,"Ref")&&IsOptionalString(e.$id)&&value_IsString(e.$ref)}function type_IsRegExp(e){return type_IsKindOf(e,"RegExp")&&IsOptionalString(e.$id)&&value_IsString(e.source)&&value_IsString(e.flags)&&IsOptionalNumber(e.maxLength)&&IsOptionalNumber(e.minLength)}function type_IsString(e){return type_IsKindOf(e,"String")&&e.type==="string"&&IsOptionalString(e.$id)&&IsOptionalNumber(e.minLength)&&IsOptionalNumber(e.maxLength)&&IsOptionalPattern(e.pattern)&&IsOptionalFormat(e.format)}function type_IsSymbol(e){return type_IsKindOf(e,"Symbol")&&e.type==="symbol"&&IsOptionalString(e.$id)}function type_IsTemplateLiteral(e){return type_IsKindOf(e,"TemplateLiteral")&&e.type==="string"&&value_IsString(e.pattern)&&e.pattern[0]==="^"&&e.pattern[e.pattern.length-1]==="$"}function type_IsThis(e){return type_IsKindOf(e,"This")&&IsOptionalString(e.$id)&&value_IsString(e.$ref)}function type_IsTransform(e){return value_IsObject(e)&&p in e}function type_IsTuple(e){return type_IsKindOf(e,"Tuple")&&e.type==="array"&&IsOptionalString(e.$id)&&value_IsNumber(e.minItems)&&value_IsNumber(e.maxItems)&&e.minItems===e.maxItems&&(value_IsUndefined(e.items)&&value_IsUndefined(e.additionalItems)&&e.minItems===0||value_IsArray(e.items)&&e.items.every((e=>type_IsSchema(e))))}function type_IsUndefined(e){return type_IsKindOf(e,"Undefined")&&e.type==="undefined"&&IsOptionalString(e.$id)}function IsUnionLiteral(e){return type_IsUnion(e)&&e.anyOf.every((e=>type_IsLiteralString(e)||type_IsLiteralNumber(e)))}function type_IsUnion(e){return type_IsKindOf(e,"Union")&&IsOptionalString(e.$id)&&value_IsObject(e)&&value_IsArray(e.anyOf)&&e.anyOf.every((e=>type_IsSchema(e)))}function type_IsUint8Array(e){return type_IsKindOf(e,"Uint8Array")&&e.type==="Uint8Array"&&IsOptionalString(e.$id)&&IsOptionalNumber(e.minByteLength)&&IsOptionalNumber(e.maxByteLength)}function type_IsUnknown(e){return type_IsKindOf(e,"Unknown")&&IsOptionalString(e.$id)}function type_IsUnsafe(e){return type_IsKindOf(e,"Unsafe")}function type_IsVoid(e){return type_IsKindOf(e,"Void")&&e.type==="void"&&IsOptionalString(e.$id)}function type_IsKind(e){return value_IsObject(e)&&E in e&&value_IsString(e[E])&&!R.includes(e[E])}function type_IsSchema(e){return value_IsObject(e)&&(type_IsAny(e)||type_IsArray(e)||type_IsBoolean(e)||type_IsBigInt(e)||type_IsAsyncIterator(e)||type_IsConstructor(e)||type_IsDate(e)||type_IsFunction(e)||type_IsInteger(e)||type_IsIntersect(e)||type_IsIterator(e)||type_IsLiteral(e)||type_IsMappedKey(e)||type_IsMappedResult(e)||type_IsNever(e)||type_IsNot(e)||type_IsNull(e)||type_IsNumber(e)||type_IsObject(e)||type_IsPromise(e)||type_IsRecord(e)||type_IsRef(e)||type_IsRegExp(e)||type_IsString(e)||type_IsSymbol(e)||type_IsTemplateLiteral(e)||type_IsThis(e)||type_IsTuple(e)||type_IsUndefined(e)||type_IsUnion(e)||type_IsUint8Array(e)||type_IsUnknown(e)||type_IsUnsafe(e)||type_IsVoid(e)||type_IsKind(e))}class ExtendsResolverError extends error_TypeBoxError{}var k;(function(e){e[e["Union"]=0]="Union";e[e["True"]=1]="True";e[e["False"]=2]="False"})(k||(k={}));function IntoBooleanResult(e){return e===k.False?e:k.True}function Throw(e){throw new ExtendsResolverError(e)}function IsStructuralRight(e){return type_IsNever(e)||type_IsIntersect(e)||type_IsUnion(e)||type_IsUnknown(e)||type_IsAny(e)}function StructuralRight(e,t){return type_IsNever(t)?FromNeverRight(e,t):type_IsIntersect(t)?FromIntersectRight(e,t):type_IsUnion(t)?FromUnionRight(e,t):type_IsUnknown(t)?FromUnknownRight(e,t):type_IsAny(t)?FromAnyRight(e,t):Throw("StructuralRight")}function FromAnyRight(e,t){return k.True}function FromAny(e,t){return type_IsIntersect(t)?FromIntersectRight(e,t):type_IsUnion(t)&&t.anyOf.some((e=>type_IsAny(e)||type_IsUnknown(e)))?k.True:type_IsUnion(t)?k.Union:type_IsUnknown(t)?k.True:type_IsAny(t)?k.True:k.Union}function FromArrayRight(e,t){return type_IsUnknown(e)?k.False:type_IsAny(e)?k.Union:type_IsNever(e)?k.True:k.False}function extends_check_FromArray(e,t){return type_IsObject(t)&&IsObjectArrayLike(t)?k.True:IsStructuralRight(t)?StructuralRight(e,t):!type_IsArray(t)?k.False:IntoBooleanResult(extends_check_Visit(e.items,t.items))}function FromAsyncIterator(e,t){return IsStructuralRight(t)?StructuralRight(e,t):!type_IsAsyncIterator(t)?k.False:IntoBooleanResult(extends_check_Visit(e.items,t.items))}function FromBigInt(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsBigInt(t)?k.True:k.False}function FromBooleanRight(e,t){return type_IsLiteralBoolean(e)?k.True:type_IsBoolean(e)?k.True:k.False}function FromBoolean(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsBoolean(t)?k.True:k.False}function FromConstructor(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):!type_IsConstructor(t)?k.False:e.parameters.length>t.parameters.length?k.False:!e.parameters.every(((e,r)=>IntoBooleanResult(extends_check_Visit(t.parameters[r],e))===k.True))?k.False:IntoBooleanResult(extends_check_Visit(e.returns,t.returns))}function FromDate(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsDate(t)?k.True:k.False}function FromFunction(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):!type_IsFunction(t)?k.False:e.parameters.length>t.parameters.length?k.False:!e.parameters.every(((e,r)=>IntoBooleanResult(extends_check_Visit(t.parameters[r],e))===k.True))?k.False:IntoBooleanResult(extends_check_Visit(e.returns,t.returns))}function FromIntegerRight(e,t){return type_IsLiteral(e)&&value_IsNumber(e.const)?k.True:type_IsNumber(e)||type_IsInteger(e)?k.True:k.False}function FromInteger(e,t){return type_IsInteger(t)||type_IsNumber(t)?k.True:IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):k.False}function FromIntersectRight(e,t){return t.allOf.every((t=>extends_check_Visit(e,t)===k.True))?k.True:k.False}function extends_check_FromIntersect(e,t){return e.allOf.some((e=>extends_check_Visit(e,t)===k.True))?k.True:k.False}function FromIterator(e,t){return IsStructuralRight(t)?StructuralRight(e,t):!type_IsIterator(t)?k.False:IntoBooleanResult(extends_check_Visit(e.items,t.items))}function extends_check_FromLiteral(e,t){return type_IsLiteral(t)&&t.const===e.const?k.True:IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsString(t)?FromStringRight(e,t):type_IsNumber(t)?FromNumberRight(e,t):type_IsInteger(t)?FromIntegerRight(e,t):type_IsBoolean(t)?FromBooleanRight(e,t):k.False}function FromNeverRight(e,t){return k.False}function FromNever(e,t){return k.True}function UnwrapTNot(e){let[t,r]=[e,0];while(true){if(!type_IsNot(t))break;t=t.not;r+=1}return r%2===0?t:Unknown()}function FromNot(e,t){return type_IsNot(e)?extends_check_Visit(UnwrapTNot(e),t):type_IsNot(t)?extends_check_Visit(e,UnwrapTNot(t)):Throw("Invalid fallthrough for Not")}function FromNull(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsNull(t)?k.True:k.False}function FromNumberRight(e,t){return type_IsLiteralNumber(e)?k.True:type_IsNumber(e)||type_IsInteger(e)?k.True:k.False}function FromNumber(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsInteger(t)||type_IsNumber(t)?k.True:k.False}function IsObjectPropertyCount(e,t){return Object.getOwnPropertyNames(e.properties).length===t}function IsObjectStringLike(e){return IsObjectArrayLike(e)}function IsObjectSymbolLike(e){return IsObjectPropertyCount(e,0)||IsObjectPropertyCount(e,1)&&"description"in e.properties&&type_IsUnion(e.properties.description)&&e.properties.description.anyOf.length===2&&(type_IsString(e.properties.description.anyOf[0])&&type_IsUndefined(e.properties.description.anyOf[1])||type_IsString(e.properties.description.anyOf[1])&&type_IsUndefined(e.properties.description.anyOf[0]))}function IsObjectNumberLike(e){return IsObjectPropertyCount(e,0)}function IsObjectBooleanLike(e){return IsObjectPropertyCount(e,0)}function IsObjectBigIntLike(e){return IsObjectPropertyCount(e,0)}function IsObjectDateLike(e){return IsObjectPropertyCount(e,0)}function IsObjectUint8ArrayLike(e){return IsObjectArrayLike(e)}function IsObjectFunctionLike(e){const t=number_Number();return IsObjectPropertyCount(e,0)||IsObjectPropertyCount(e,1)&&"length"in e.properties&&IntoBooleanResult(extends_check_Visit(e.properties["length"],t))===k.True}function IsObjectConstructorLike(e){return IsObjectPropertyCount(e,0)}function IsObjectArrayLike(e){const t=number_Number();return IsObjectPropertyCount(e,0)||IsObjectPropertyCount(e,1)&&"length"in e.properties&&IntoBooleanResult(extends_check_Visit(e.properties["length"],t))===k.True}function IsObjectPromiseLike(e){const t=function_Function([Any()],Any());return IsObjectPropertyCount(e,0)||IsObjectPropertyCount(e,1)&&"then"in e.properties&&IntoBooleanResult(extends_check_Visit(e.properties["then"],t))===k.True}function Property(e,t){return extends_check_Visit(e,t)===k.False?k.False:type_IsOptional(e)&&!type_IsOptional(t)?k.False:k.True}function FromObjectRight(e,t){return type_IsUnknown(e)?k.False:type_IsAny(e)?k.Union:type_IsNever(e)||type_IsLiteralString(e)&&IsObjectStringLike(t)||type_IsLiteralNumber(e)&&IsObjectNumberLike(t)||type_IsLiteralBoolean(e)&&IsObjectBooleanLike(t)||type_IsSymbol(e)&&IsObjectSymbolLike(t)||type_IsBigInt(e)&&IsObjectBigIntLike(t)||type_IsString(e)&&IsObjectStringLike(t)||type_IsSymbol(e)&&IsObjectSymbolLike(t)||type_IsNumber(e)&&IsObjectNumberLike(t)||type_IsInteger(e)&&IsObjectNumberLike(t)||type_IsBoolean(e)&&IsObjectBooleanLike(t)||type_IsUint8Array(e)&&IsObjectUint8ArrayLike(t)||type_IsDate(e)&&IsObjectDateLike(t)||type_IsConstructor(e)&&IsObjectConstructorLike(t)||type_IsFunction(e)&&IsObjectFunctionLike(t)?k.True:type_IsRecord(e)&&type_IsString(RecordKey(e))?(()=>t[h]==="Record"?k.True:k.False)():type_IsRecord(e)&&type_IsNumber(RecordKey(e))?(()=>IsObjectPropertyCount(t,0)?k.True:k.False)():k.False}function FromObject(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):!type_IsObject(t)?k.False:(()=>{for(const r of Object.getOwnPropertyNames(t.properties)){if(!(r in e.properties)&&!type_IsOptional(t.properties[r])){return k.False}if(type_IsOptional(t.properties[r])){return k.True}if(Property(e.properties[r],t.properties[r])===k.False){return k.False}}return k.True})()}function extends_check_FromPromise(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)&&IsObjectPromiseLike(t)?k.True:!type_IsPromise(t)?k.False:IntoBooleanResult(extends_check_Visit(e.item,t.item))}function RecordKey(e){return T in e.patternProperties?number_Number():w in e.patternProperties?string_String():Throw("Unknown record key pattern")}function RecordValue(e){return T in e.patternProperties?e.patternProperties[T]:w in e.patternProperties?e.patternProperties[w]:Throw("Unable to get record value schema")}function FromRecordRight(e,t){const[r,n]=[RecordKey(t),RecordValue(t)];return type_IsLiteralString(e)&&type_IsNumber(r)&&IntoBooleanResult(extends_check_Visit(e,n))===k.True?k.True:type_IsUint8Array(e)&&type_IsNumber(r)?extends_check_Visit(e,n):type_IsString(e)&&type_IsNumber(r)?extends_check_Visit(e,n):type_IsArray(e)&&type_IsNumber(r)?extends_check_Visit(e,n):type_IsObject(e)?(()=>{for(const t of Object.getOwnPropertyNames(e.properties)){if(Property(n,e.properties[t])===k.False){return k.False}}return k.True})():k.False}function FromRecord(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):!type_IsRecord(t)?k.False:extends_check_Visit(RecordValue(e),RecordValue(t))}function FromRegExp(e,t){const r=type_IsRegExp(e)?string_String():e;const n=type_IsRegExp(t)?string_String():t;return extends_check_Visit(r,n)}function FromStringRight(e,t){return type_IsLiteral(e)&&value_IsString(e.const)?k.True:type_IsString(e)?k.True:k.False}function FromString(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsString(t)?k.True:k.False}function FromSymbol(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsSymbol(t)?k.True:k.False}function extends_check_FromTemplateLiteral(e,t){return type_IsTemplateLiteral(e)?extends_check_Visit(TemplateLiteralToUnion(e),t):type_IsTemplateLiteral(t)?extends_check_Visit(e,TemplateLiteralToUnion(t)):Throw("Invalid fallthrough for TemplateLiteral")}function IsArrayOfTuple(e,t){return type_IsArray(t)&&e.items!==undefined&&e.items.every((e=>extends_check_Visit(e,t.items)===k.True))}function FromTupleRight(e,t){return type_IsNever(e)?k.True:type_IsUnknown(e)?k.False:type_IsAny(e)?k.Union:k.False}function extends_check_FromTuple(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)&&IsObjectArrayLike(t)?k.True:type_IsArray(t)&&IsArrayOfTuple(e,t)?k.True:!type_IsTuple(t)?k.False:value_IsUndefined(e.items)&&!value_IsUndefined(t.items)||!value_IsUndefined(e.items)&&value_IsUndefined(t.items)?k.False:value_IsUndefined(e.items)&&!value_IsUndefined(t.items)?k.True:e.items.every(((e,r)=>extends_check_Visit(e,t.items[r])===k.True))?k.True:k.False}function FromUint8Array(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsUint8Array(t)?k.True:k.False}function FromUndefined(e,t){return IsStructuralRight(t)?StructuralRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsRecord(t)?FromRecordRight(e,t):type_IsVoid(t)?FromVoidRight(e,t):type_IsUndefined(t)?k.True:k.False}function FromUnionRight(e,t){return t.anyOf.some((t=>extends_check_Visit(e,t)===k.True))?k.True:k.False}function extends_check_FromUnion(e,t){return e.anyOf.every((e=>extends_check_Visit(e,t)===k.True))?k.True:k.False}function FromUnknownRight(e,t){return k.True}function FromUnknown(e,t){return type_IsNever(t)?FromNeverRight(e,t):type_IsIntersect(t)?FromIntersectRight(e,t):type_IsUnion(t)?FromUnionRight(e,t):type_IsAny(t)?FromAnyRight(e,t):type_IsString(t)?FromStringRight(e,t):type_IsNumber(t)?FromNumberRight(e,t):type_IsInteger(t)?FromIntegerRight(e,t):type_IsBoolean(t)?FromBooleanRight(e,t):type_IsArray(t)?FromArrayRight(e,t):type_IsTuple(t)?FromTupleRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsUnknown(t)?k.True:k.False}function FromVoidRight(e,t){return type_IsUndefined(e)?k.True:type_IsUndefined(e)?k.True:k.False}function FromVoid(e,t){return type_IsIntersect(t)?FromIntersectRight(e,t):type_IsUnion(t)?FromUnionRight(e,t):type_IsUnknown(t)?FromUnknownRight(e,t):type_IsAny(t)?FromAnyRight(e,t):type_IsObject(t)?FromObjectRight(e,t):type_IsVoid(t)?k.True:k.False}function extends_check_Visit(e,t){return type_IsTemplateLiteral(e)||type_IsTemplateLiteral(t)?extends_check_FromTemplateLiteral(e,t):type_IsRegExp(e)||type_IsRegExp(t)?FromRegExp(e,t):type_IsNot(e)||type_IsNot(t)?FromNot(e,t):type_IsAny(e)?FromAny(e,t):type_IsArray(e)?extends_check_FromArray(e,t):type_IsBigInt(e)?FromBigInt(e,t):type_IsBoolean(e)?FromBoolean(e,t):type_IsAsyncIterator(e)?FromAsyncIterator(e,t):type_IsConstructor(e)?FromConstructor(e,t):type_IsDate(e)?FromDate(e,t):type_IsFunction(e)?FromFunction(e,t):type_IsInteger(e)?FromInteger(e,t):type_IsIntersect(e)?extends_check_FromIntersect(e,t):type_IsIterator(e)?FromIterator(e,t):type_IsLiteral(e)?extends_check_FromLiteral(e,t):type_IsNever(e)?FromNever(e,t):type_IsNull(e)?FromNull(e,t):type_IsNumber(e)?FromNumber(e,t):type_IsObject(e)?FromObject(e,t):type_IsRecord(e)?FromRecord(e,t):type_IsString(e)?FromString(e,t):type_IsSymbol(e)?FromSymbol(e,t):type_IsTuple(e)?extends_check_FromTuple(e,t):type_IsPromise(e)?extends_check_FromPromise(e,t):type_IsUint8Array(e)?FromUint8Array(e,t):type_IsUndefined(e)?FromUndefined(e,t):type_IsUnion(e)?extends_check_FromUnion(e,t):type_IsUnknown(e)?FromUnknown(e,t):type_IsVoid(e)?FromVoid(e,t):Throw(`Unknown left type operand '${e[E]}'`)}function ExtendsCheck(e,t){return extends_check_Visit(e,t)}function exclude_from_mapped_result_FromProperties(e,t){const r={};for(const n of globalThis.Object.getOwnPropertyNames(e))r[n]=Exclude(e[n],t);return r}function exclude_from_mapped_result_FromMappedResult(e,t){return exclude_from_mapped_result_FromProperties(e.properties,t)}function ExcludeFromMappedResult(e,t){const r=exclude_from_mapped_result_FromMappedResult(e,t);return MappedResult(r)}function ExcludeFromTemplateLiteral(e,t){return Exclude(TemplateLiteralToUnion(e),t)}function ExcludeRest(e,t){const r=e.filter((e=>ExtendsCheck(e,t)===k.False));return r.length===1?r[0]:Union(r)}function Exclude(e,t,r={}){if(IsTemplateLiteral(e))return CreateType(ExcludeFromTemplateLiteral(e,t),r);if(IsMappedResult(e))return CreateType(ExcludeFromMappedResult(e,t),r);return CreateType(IsUnion(e)?ExcludeRest(e.anyOf,t):ExtendsCheck(e,t)!==k.False?Never():e,r)}function FromPropertyKey(e,t,r,n,s){return{[e]:Extends(Literal(e),t,r,n,Clone(s))}}function FromPropertyKeys(e,t,r,n,s){return e.reduce(((e,o)=>({...e,...FromPropertyKey(o,t,r,n,s)})),{})}function FromMappedKey(e,t,r,n,s){return FromPropertyKeys(e.keys,t,r,n,s)}function ExtendsFromMappedKey(e,t,r,n,s){const o=FromMappedKey(e,t,r,n,s);return MappedResult(o)}function extends_from_mapped_result_FromProperties(e,t,r,n,s){const o={};for(const i of globalThis.Object.getOwnPropertyNames(e))o[i]=Extends(e[i],t,r,n,Clone(s));return o}function extends_from_mapped_result_FromMappedResult(e,t,r,n,s){return extends_from_mapped_result_FromProperties(e.properties,t,r,n,s)}function ExtendsFromMappedResult(e,t,r,n,s){const o=extends_from_mapped_result_FromMappedResult(e,t,r,n,s);return MappedResult(o)}function ExtendsResolve(e,t,r,n){const s=ExtendsCheck(e,t);return s===k.Union?Union([r,n]):s===k.True?r:n}function Extends(e,t,r,n,s){return IsMappedResult(e)?ExtendsFromMappedResult(e,t,r,n,s):IsMappedKey(e)?CreateType(ExtendsFromMappedKey(e,t,r,n,s)):CreateType(ExtendsResolve(e,t,r,n),s)}function extract_from_mapped_result_FromProperties(e,t){const r={};for(const n of globalThis.Object.getOwnPropertyNames(e))r[n]=Extract(e[n],t);return r}function extract_from_mapped_result_FromMappedResult(e,t){return extract_from_mapped_result_FromProperties(e.properties,t)}function ExtractFromMappedResult(e,t){const r=extract_from_mapped_result_FromMappedResult(e,t);return MappedResult(r)}function ExtractFromTemplateLiteral(e,t){return Extract(TemplateLiteralToUnion(e),t)}function ExtractRest(e,t){const r=e.filter((e=>ExtendsCheck(e,t)!==k.False));return r.length===1?r[0]:Union(r)}function Extract(e,t,r){if(IsTemplateLiteral(e))return CreateType(ExtractFromTemplateLiteral(e,t),r);if(IsMappedResult(e))return CreateType(ExtractFromMappedResult(e,t),r);return CreateType(IsUnion(e)?ExtractRest(e.anyOf,t):ExtendsCheck(e,t)!==k.False?e:Never(),r)}function InstanceType(e,t){return CreateType(e.returns,t)}function Integer(e){return CreateType({[E]:"Integer",type:"integer"},e)}function*syntax_FromUnion(e){const t=e.trim().replace(/"|'/g,"");return t==="boolean"?yield boolean_Boolean():t==="number"?yield number_Number():t==="bigint"?yield bigint_BigInt():t==="string"?yield string_String():yield(()=>{const e=t.split("|").map((e=>Literal(e.trim())));return e.length===0?Never():e.length===1?e[0]:UnionEvaluated(e)})()}function*FromTerminal(e){if(e[1]!=="{"){const t=Literal("$");const r=FromSyntax(e.slice(1));return yield*[t,...r]}for(let t=2;tpattern_Visit(e,t))).join("|")})`:kind_IsNumber(e)?`${t}${C}`:kind_IsInteger(e)?`${t}${C}`:kind_IsBigInt(e)?`${t}${C}`:kind_IsString(e)?`${t}${Q}`:IsLiteral(e)?`${t}${Escape(e.const.toString())}`:kind_IsBoolean(e)?`${t}${y}`:(()=>{throw new TemplateLiteralPatternError(`Unexpected Kind '${e[E]}'`)})()}function TemplateLiteralPattern(e){return`^${e.map((e=>pattern_Visit(e,""))).join("")}$`}function TemplateLiteral(e,t){const r=value_IsString(e)?TemplateLiteralPattern(TemplateLiteralSyntax(e)):TemplateLiteralPattern(e);return CreateType({[E]:"TemplateLiteral",type:"string",pattern:r},t)}function MappedIntrinsicPropertyKey(e,t,r){return{[e]:Intrinsic(Literal(e),t,Clone(r))}}function MappedIntrinsicPropertyKeys(e,t,r){const n=e.reduce(((e,n)=>({...e,...MappedIntrinsicPropertyKey(n,t,r)})),{});return n}function MappedIntrinsicProperties(e,t,r){return MappedIntrinsicPropertyKeys(e["keys"],t,r)}function IntrinsicFromMappedKey(e,t,r){const n=MappedIntrinsicProperties(e,t,r);return MappedResult(n)}function ApplyUncapitalize(e){const[t,r]=[e.slice(0,1),e.slice(1)];return[t.toLowerCase(),r].join("")}function ApplyCapitalize(e){const[t,r]=[e.slice(0,1),e.slice(1)];return[t.toUpperCase(),r].join("")}function ApplyUppercase(e){return e.toUpperCase()}function ApplyLowercase(e){return e.toLowerCase()}function intrinsic_FromTemplateLiteral(e,t,r){const n=TemplateLiteralParseExact(e.pattern);const s=IsTemplateLiteralExpressionFinite(n);if(!s)return{...e,pattern:FromLiteralValue(e.pattern,t)};const o=[...TemplateLiteralExpressionGenerate(n)];const i=o.map((e=>Literal(e)));const a=intrinsic_FromRest(i,t);const A=Union(a);return TemplateLiteral([A],r)}function FromLiteralValue(e,t){return typeof e==="string"?t==="Uncapitalize"?ApplyUncapitalize(e):t==="Capitalize"?ApplyCapitalize(e):t==="Uppercase"?ApplyUppercase(e):t==="Lowercase"?ApplyLowercase(e):e:e.toString()}function intrinsic_FromRest(e,t){return e.map((e=>Intrinsic(e,t)))}function Intrinsic(e,t,r={}){return IsMappedKey(e)?IntrinsicFromMappedKey(e,t,r):IsTemplateLiteral(e)?intrinsic_FromTemplateLiteral(e,t,r):IsUnion(e)?Union(intrinsic_FromRest(e.anyOf,t),r):IsLiteral(e)?Literal(FromLiteralValue(e.const,t),r):CreateType(e,r)}function Capitalize(e,t={}){return Intrinsic(e,"Capitalize",t)}function Uncapitalize(e,t={}){return Intrinsic(e,"Uncapitalize",t)}function Lowercase(e,t={}){return Intrinsic(e,"Lowercase",t)}function Uppercase(e,t={}){return Intrinsic(e,"Uppercase",t)}function src_Iterator(e,t){return CreateType({[E]:"Iterator",type:"Iterator",items:e},t)}function keyof_from_mapped_result_FromProperties(e,t){const r={};for(const n of globalThis.Object.getOwnPropertyNames(e))r[n]=KeyOf(e[n],Clone(t));return r}function keyof_from_mapped_result_FromMappedResult(e,t){return keyof_from_mapped_result_FromProperties(e.properties,t)}function KeyOfFromMappedResult(e,t){const r=keyof_from_mapped_result_FromMappedResult(e,t);return MappedResult(r)}function keyof_FromComputed(e,t){return Computed("KeyOf",[Computed(e,t)])}function keyof_FromRef(e){return Computed("KeyOf",[Ref(e)])}function KeyOfFromType(e,t){const r=KeyOfPropertyKeys(e);const n=KeyOfPropertyKeysToRest(r);const s=UnionEvaluated(n);return CreateType(s,t)}function KeyOfPropertyKeysToRest(e){return e.map((e=>e==="[number]"?number_Number():Literal(e)))}function KeyOf(e,t){return IsComputed(e)?keyof_FromComputed(e.target,e.parameters):IsRef(e)?keyof_FromRef(e.$ref):IsMappedResult(e)?KeyOfFromMappedResult(e,t):KeyOfFromType(e,t)}function promise_Promise(e,t){return CreateType({[E]:"Promise",type:"Promise",item:e},t)}function mapped_FromMappedResult(e,t){return e in t?FromSchemaType(e,t[e]):MappedResult(t)}function MappedKeyToKnownMappedResultProperties(e){return{[e]:Literal(e)}}function MappedKeyToUnknownMappedResultProperties(e){const t={};for(const r of e)t[r]=Literal(r);return t}function MappedKeyToMappedResultProperties(e,t){return SetIncludes(t,e)?MappedKeyToKnownMappedResultProperties(e):MappedKeyToUnknownMappedResultProperties(t)}function mapped_FromMappedKey(e,t){const r=MappedKeyToMappedResultProperties(e,t);return mapped_FromMappedResult(e,r)}function mapped_FromRest(e,t){return t.map((t=>FromSchemaType(e,t)))}function mapped_FromProperties(e,t){const r={};for(const n of globalThis.Object.getOwnPropertyNames(t))r[n]=FromSchemaType(e,t[n]);return r}function FromSchemaType(e,t){const r={...t};return IsOptional(t)?Optional(FromSchemaType(e,Discard(t,[g]))):IsReadonly(t)?Readonly(FromSchemaType(e,Discard(t,[d]))):IsMappedResult(t)?mapped_FromMappedResult(e,t.properties):IsMappedKey(t)?mapped_FromMappedKey(e,t.keys):IsConstructor(t)?Constructor(mapped_FromRest(e,t.parameters),FromSchemaType(e,t.returns),r):kind_IsFunction(t)?function_Function(mapped_FromRest(e,t.parameters),FromSchemaType(e,t.returns),r):kind_IsAsyncIterator(t)?src_AsyncIterator(FromSchemaType(e,t.items),r):kind_IsIterator(t)?src_Iterator(FromSchemaType(e,t.items),r):IsIntersect(t)?Intersect(mapped_FromRest(e,t.allOf),r):IsUnion(t)?Union(mapped_FromRest(e,t.anyOf),r):IsTuple(t)?Tuple(mapped_FromRest(e,t.items??[]),r):kind_IsObject(t)?I(mapped_FromProperties(e,t.properties),r):kind_IsArray(t)?array_Array(FromSchemaType(e,t.items),r):kind_IsPromise(t)?promise_Promise(FromSchemaType(e,t.item),r):t}function MappedFunctionReturnType(e,t){const r={};for(const n of e)r[n]=FromSchemaType(n,t);return r}function Mapped(e,t,r){const n=IsSchema(e)?IndexPropertyKeys(e):e;const s=t({[E]:"MappedKey",keys:n});const o=MappedFunctionReturnType(n,s);return I(o,r)}function omit_from_mapped_key_FromPropertyKey(e,t,r){return{[t]:Omit(e,[t],Clone(r))}}function omit_from_mapped_key_FromPropertyKeys(e,t,r){return t.reduce(((t,n)=>({...t,...omit_from_mapped_key_FromPropertyKey(e,n,r)})),{})}function omit_from_mapped_key_FromMappedKey(e,t,r){return omit_from_mapped_key_FromPropertyKeys(e,t.keys,r)}function OmitFromMappedKey(e,t,r){const n=omit_from_mapped_key_FromMappedKey(e,t,r);return MappedResult(n)}function omit_from_mapped_result_FromProperties(e,t,r){const n={};for(const s of globalThis.Object.getOwnPropertyNames(e))n[s]=Omit(e[s],t,Clone(r));return n}function omit_from_mapped_result_FromMappedResult(e,t,r){return omit_from_mapped_result_FromProperties(e.properties,t,r)}function OmitFromMappedResult(e,t,r){const n=omit_from_mapped_result_FromMappedResult(e,t,r);return MappedResult(n)}function omit_FromIntersect(e,t){return e.map((e=>OmitResolve(e,t)))}function omit_FromUnion(e,t){return e.map((e=>OmitResolve(e,t)))}function omit_FromProperty(e,t){const{[t]:r,...n}=e;return n}function omit_FromProperties(e,t){return t.reduce(((e,t)=>omit_FromProperty(e,t)),e)}function omit_FromObject(e,t){const r=Discard(e,[p,"$id","required","properties"]);const n=omit_FromProperties(e["properties"],t);return I(n,r)}function omit_UnionFromPropertyKeys(e){const t=e.reduce(((e,t)=>IsLiteralValue(t)?[...e,Literal(t)]:e),[]);return Union(t)}function OmitResolve(e,t){return IsIntersect(e)?Intersect(omit_FromIntersect(e.allOf,t)):IsUnion(e)?Union(omit_FromUnion(e.anyOf,t)):kind_IsObject(e)?omit_FromObject(e,t):I({})}function Omit(e,t,r){const n=value_IsArray(t)?omit_UnionFromPropertyKeys(t):t;const s=IsSchema(t)?IndexPropertyKeys(t):t;const o=IsRef(e);const i=IsRef(t);return IsMappedResult(e)?OmitFromMappedResult(e,s,r):IsMappedKey(t)?OmitFromMappedKey(e,t,r):o&&i?Computed("Omit",[e,n],r):!o&&i?Computed("Omit",[e,n],r):o&&!i?Computed("Omit",[e,n],r):CreateType({...OmitResolve(e,s),...r})}function pick_from_mapped_key_FromPropertyKey(e,t,r){return{[t]:Pick(e,[t],Clone(r))}}function pick_from_mapped_key_FromPropertyKeys(e,t,r){return t.reduce(((t,n)=>({...t,...pick_from_mapped_key_FromPropertyKey(e,n,r)})),{})}function pick_from_mapped_key_FromMappedKey(e,t,r){return pick_from_mapped_key_FromPropertyKeys(e,t.keys,r)}function PickFromMappedKey(e,t,r){const n=pick_from_mapped_key_FromMappedKey(e,t,r);return MappedResult(n)}function pick_from_mapped_result_FromProperties(e,t,r){const n={};for(const s of globalThis.Object.getOwnPropertyNames(e))n[s]=Pick(e[s],t,Clone(r));return n}function pick_from_mapped_result_FromMappedResult(e,t,r){return pick_from_mapped_result_FromProperties(e.properties,t,r)}function PickFromMappedResult(e,t,r){const n=pick_from_mapped_result_FromMappedResult(e,t,r);return MappedResult(n)}function pick_FromIntersect(e,t){return e.map((e=>PickResolve(e,t)))}function pick_FromUnion(e,t){return e.map((e=>PickResolve(e,t)))}function pick_FromProperties(e,t){const r={};for(const n of t)if(n in e)r[n]=e[n];return r}function pick_FromObject(e,t){const r=Discard(e,[p,"$id","required","properties"]);const n=pick_FromProperties(e["properties"],t);return I(n,r)}function pick_UnionFromPropertyKeys(e){const t=e.reduce(((e,t)=>IsLiteralValue(t)?[...e,Literal(t)]:e),[]);return Union(t)}function PickResolve(e,t){return IsIntersect(e)?Intersect(pick_FromIntersect(e.allOf,t)):IsUnion(e)?Union(pick_FromUnion(e.anyOf,t)):kind_IsObject(e)?pick_FromObject(e,t):I({})}function Pick(e,t,r){const n=value_IsArray(t)?pick_UnionFromPropertyKeys(t):t;const s=IsSchema(t)?IndexPropertyKeys(t):t;const o=IsRef(e);const i=IsRef(t);return IsMappedResult(e)?PickFromMappedResult(e,s,r):IsMappedKey(t)?PickFromMappedKey(e,t,r):o&&i?Computed("Pick",[e,n],r):!o&&i?Computed("Pick",[e,n],r):o&&!i?Computed("Pick",[e,n],r):CreateType({...PickResolve(e,s),...r})}function partial_from_mapped_result_FromProperties(e,t){const r={};for(const n of globalThis.Object.getOwnPropertyNames(e))r[n]=Partial(e[n],Clone(t));return r}function partial_from_mapped_result_FromMappedResult(e,t){return partial_from_mapped_result_FromProperties(e.properties,t)}function PartialFromMappedResult(e,t){const r=partial_from_mapped_result_FromMappedResult(e,t);return MappedResult(r)}function partial_FromComputed(e,t){return Computed("Partial",[Computed(e,t)])}function partial_FromRef(e){return Computed("Partial",[Ref(e)])}function partial_FromProperties(e){const t={};for(const r of globalThis.Object.getOwnPropertyNames(e))t[r]=Optional(e[r]);return t}function partial_FromObject(e){const t=Discard(e,[p,"$id","required","properties"]);const r=partial_FromProperties(e["properties"]);return I(r,t)}function partial_FromRest(e){return e.map((e=>PartialResolve(e)))}function PartialResolve(e){return IsComputed(e)?partial_FromComputed(e.target,e.parameters):IsRef(e)?partial_FromRef(e.$ref):IsIntersect(e)?Intersect(partial_FromRest(e.allOf)):IsUnion(e)?Union(partial_FromRest(e.anyOf)):kind_IsObject(e)?partial_FromObject(e):I({})}function Partial(e,t){if(IsMappedResult(e)){return PartialFromMappedResult(e,t)}else{return CreateType({...PartialResolve(e),...t})}}function RecordCreateFromPattern(e,t,r){return CreateType({[E]:"Record",type:"object",patternProperties:{[e]:t}},r)}function RecordCreateFromKeys(e,t,r){const n={};for(const r of e)n[r]=t;return I(n,{...r,[h]:"Record"})}function FromTemplateLiteralKey(e,t,r){return IsTemplateLiteralFinite(e)?RecordCreateFromKeys(IndexPropertyKeys(e),t,r):RecordCreateFromPattern(e.pattern,t,r)}function FromUnionKey(e,t,r){return RecordCreateFromKeys(IndexPropertyKeys(Union(e)),t,r)}function FromLiteralKey(e,t,r){return RecordCreateFromKeys([e.toString()],t,r)}function FromRegExpKey(e,t,r){return RecordCreateFromPattern(e.source,t,r)}function FromStringKey(e,t,r){const n=value_IsUndefined(e.pattern)?w:e.pattern;return RecordCreateFromPattern(n,t,r)}function FromAnyKey(e,t,r){return RecordCreateFromPattern(w,t,r)}function FromNeverKey(e,t,r){return RecordCreateFromPattern(v,t,r)}function FromIntegerKey(e,t,r){return RecordCreateFromPattern(T,t,r)}function FromNumberKey(e,t,r){return RecordCreateFromPattern(T,t,r)}function Record(e,t,r={}){return IsRef(t)?Computed("Record",[e,t]):IsRef(e)?Computed("Record",[e,t]):IsUnion(e)?FromUnionKey(e.anyOf,t,r):IsTemplateLiteral(e)?FromTemplateLiteralKey(e,t,r):IsLiteral(e)?FromLiteralKey(e.const,t,r):kind_IsInteger(e)?FromIntegerKey(e,t,r):kind_IsNumber(e)?FromNumberKey(e,t,r):kind_IsRegExp(e)?FromRegExpKey(e,t,r):kind_IsString(e)?FromStringKey(e,t,r):IsAny(e)?FromAnyKey(e,t,r):IsNever(e)?FromNeverKey(e,t,r):Never(r)}function required_from_mapped_result_FromProperties(e,t){const r={};for(const n of globalThis.Object.getOwnPropertyNames(e))r[n]=Required(e[n],t);return r}function required_from_mapped_result_FromMappedResult(e,t){return required_from_mapped_result_FromProperties(e.properties,t)}function RequiredFromMappedResult(e,t){const r=required_from_mapped_result_FromMappedResult(e,t);return MappedResult(r)}function required_FromComputed(e,t){return Computed("Required",[Computed(e,t)])}function required_FromRef(e){return Computed("Required",[Ref(e)])}function required_FromProperties(e){const t={};for(const r of globalThis.Object.getOwnPropertyNames(e))t[r]=Discard(e[r],[g]);return t}function required_FromObject(e){const t=Discard(e,[p,"$id","required","properties"]);const r=required_FromProperties(e["properties"]);return I(r,t)}function required_FromRest(e){return e.map((e=>RequiredResolve(e)))}function RequiredResolve(e){return IsComputed(e)?required_FromComputed(e.target,e.parameters):IsRef(e)?required_FromRef(e.$ref):IsIntersect(e)?Intersect(required_FromRest(e.allOf)):IsUnion(e)?Union(required_FromRest(e.anyOf)):kind_IsObject(e)?required_FromObject(e):I({})}function Required(e,t){if(IsMappedResult(e)){return RequiredFromMappedResult(e,t)}else{return CreateType({...RequiredResolve(e),...t})}}function DerefParameters(e,t){return t.map((t=>IsRef(t)?Deref(e,t.$ref):compute_FromType(e,t)))}function Deref(e,t){return t in e?IsRef(e[t])?Deref(e,e[t].$ref):compute_FromType(e,e[t]):Never()}function FromAwaited(e){return Awaited(e[0])}function FromIndex(e){return Index(e[0],e[1])}function FromKeyOf(e){return KeyOf(e[0])}function FromPartial(e){return Partial(e[0])}function FromOmit(e){return Omit(e[0],e[1])}function FromPick(e){return Pick(e[0],e[1])}function compute_FromRecord(e){return Record(e[0],e[1])}function FromRequired(e){return Required(e[0])}function compute_FromComputed(e,t,r){const n=DerefParameters(e,r);return t==="Awaited"?FromAwaited(n):t==="Index"?FromIndex(n):t==="KeyOf"?FromKeyOf(n):t==="Partial"?FromPartial(n):t==="Omit"?FromOmit(n):t==="Pick"?FromPick(n):t==="Record"?compute_FromRecord(n):t==="Required"?FromRequired(n):Never()}function compute_FromObject(e,t){return I(globalThis.Object.keys(t).reduce(((r,n)=>({...r,[n]:compute_FromType(e,t[n])})),{}))}function compute_FromConstructor(e,t,r){return Constructor(compute_FromRest(e,t),compute_FromType(e,r))}function compute_FromFunction(e,t,r){return function_Function(compute_FromRest(e,t),compute_FromType(e,r))}function compute_FromTuple(e,t){return Tuple(compute_FromRest(e,t))}function compute_FromIntersect(e,t){return Intersect(compute_FromRest(e,t))}function compute_FromUnion(e,t){return Union(compute_FromRest(e,t))}function compute_FromArray(e,t){return array_Array(compute_FromType(e,t))}function compute_FromAsyncIterator(e,t){return src_AsyncIterator(compute_FromType(e,t))}function compute_FromIterator(e,t){return src_Iterator(compute_FromType(e,t))}function compute_FromRest(e,t){return t.map((t=>compute_FromType(e,t)))}function compute_FromType(e,t){return IsComputed(t)?CreateType(compute_FromComputed(e,t.target,t.parameters)):kind_IsObject(t)?CreateType(compute_FromObject(e,t.properties),t):IsConstructor(t)?CreateType(compute_FromConstructor(e,t.parameters,t.returns),t):kind_IsFunction(t)?CreateType(compute_FromFunction(e,t.parameters,t.returns),t):IsTuple(t)?CreateType(compute_FromTuple(e,t.items||[]),t):IsIntersect(t)?CreateType(compute_FromIntersect(e,t.allOf),t):IsUnion(t)?CreateType(compute_FromUnion(e,t.anyOf),t):kind_IsArray(t)?CreateType(compute_FromArray(e,t.items),t):kind_IsAsyncIterator(t)?CreateType(compute_FromAsyncIterator(e,t.items),t):kind_IsIterator(t)?CreateType(compute_FromIterator(e,t.items),t):t}function ComputeType(e,t){return t in e?compute_FromType(e,e[t]):Never()}function ComputeModuleProperties(e){return globalThis.Object.getOwnPropertyNames(e).reduce(((t,r)=>({...t,[r]:ComputeType(e,r)})),{})}class TModule{constructor(e){const t=ComputeModuleProperties(e);const r=this.WithIdentifiers(t);this.$defs=r}Import(e,t){return CreateType({[E]:"Import",$defs:this.$defs,$ref:e},t)}WithIdentifiers(e){return globalThis.Object.getOwnPropertyNames(e).reduce(((t,r)=>({...t,[r]:{...e[r],$id:r}})),{})}}function Module(e){return new TModule(e)}function Not(e,t){return CreateType({[E]:"Not",not:e},t)}function Parameters(e,t){return Tuple(e.parameters,t)}function ReadonlyOptional(e){return Readonly(Optional(e))}function CloneRest(e){return e.map((e=>CloneType(e)))}function CloneType(e,t){return t===undefined?Clone(e):Clone({...t,...e})}let D=0;function Recursive(e,t={}){if(value_IsUndefined(t.$id))t.$id=`T${D++}`;const r=CloneType(e({[E]:"This",$ref:`${t.$id}`}));r.$id=t.$id;return CreateType({[h]:"Recursive",...r},t)}function regexp_RegExp(e,t){const r=value_IsString(e)?new globalThis.RegExp(e):e;return CreateType({[E]:"RegExp",type:"RegExp",source:r.source,flags:r.flags},t)}function RestResolve(e){return IsIntersect(e)?e.allOf:IsUnion(e)?e.anyOf:IsTuple(e)?e.items??[]:[]}function Rest(e){return RestResolve(e)}function ReturnType(e,t){return CreateType(e.returns,t)}class TransformDecodeBuilder{constructor(e){this.schema=e}Decode(e){return new TransformEncodeBuilder(this.schema,e)}}class TransformEncodeBuilder{constructor(e,t){this.schema=e;this.decode=t}EncodeTransform(e,t){const Encode=r=>t[p].Encode(e(r));const Decode=e=>this.decode(t[p].Decode(e));const r={Encode:Encode,Decode:Decode};return{...t,[p]:r}}EncodeSchema(e,t){const r={Decode:this.decode,Encode:e};return{...t,[p]:r}}Encode(e){return IsTransform(this.schema)?this.EncodeTransform(e,this.schema):this.EncodeSchema(e,this.schema)}}function Transform(e){return new TransformDecodeBuilder(e)}function Unsafe(e={}){return CreateType({[E]:e[E]??"Unsafe"},e)}function Void(e){return CreateType({[E]:"Void",type:"void"},e)}const _=s;var parseBody=async(e,t=Object.create(null))=>{const{all:r=false,dot:n=false}=t;const s=e instanceof O?e.raw.headers:e.headers;const o=s.get("Content-Type");if(o?.startsWith("multipart/form-data")||o?.startsWith("application/x-www-form-urlencoded")){return parseFormData(e,{all:r,dot:n})}return{}};async function parseFormData(e,t){const r=await e.formData();if(r){return convertFormDataToBodyData(r,t)}return{}}function convertFormDataToBodyData(e,t){const r=Object.create(null);e.forEach(((e,n)=>{const s=t.all||n.endsWith("[]");if(!s){r[n]=e}else{handleParsingAllValues(r,n,e)}}));if(t.dot){Object.entries(r).forEach((([e,t])=>{const n=e.includes(".");if(n){handleParsingNestedValues(r,e,t);delete r[e]}}))}return r}var handleParsingAllValues=(e,t,r)=>{if(e[t]!==void 0){if(Array.isArray(e[t])){e[t].push(r)}else{e[t]=[e[t],r]}}else{e[t]=r}};var handleParsingNestedValues=(e,t,r)=>{let n=e;const s=t.split(".");s.forEach(((e,t)=>{if(t===s.length-1){n[e]=r}else{if(!n[e]||typeof n[e]!=="object"||Array.isArray(n[e])||n[e]instanceof File){n[e]=Object.create(null)}n=n[e]}}))};var splitPath=e=>{const t=e.split("/");if(t[0]===""){t.shift()}return t};var splitRoutingPath=e=>{const{groups:t,path:r}=extractGroupsFromPath(e);const n=splitPath(r);return replaceGroupMarks(n,t)};var extractGroupsFromPath=e=>{const t=[];e=e.replace(/\{[^}]+\}/g,((e,r)=>{const n=`@${r}`;t.push([n,e]);return n}));return{groups:t,path:e}};var replaceGroupMarks=(e,t)=>{for(let r=t.length-1;r>=0;r--){const[n]=t[r];for(let s=e.length-1;s>=0;s--){if(e[s].includes(n)){e[s]=e[s].replace(n,t[r][1]);break}}}return e};var S={};var getPattern=e=>{if(e==="*"){return"*"}const t=e.match(/^\:([^\{\}]+)(?:\{(.+)\})?$/);if(t){if(!S[e]){if(t[2]){S[e]=[e,t[1],new RegExp("^"+t[2]+"$")]}else{S[e]=[e,t[1],true]}}return S[e]}return null};var tryDecode=(e,t)=>{try{return t(e)}catch{return e.replace(/(?:%[0-9A-Fa-f]{2})+/g,(e=>{try{return t(e)}catch{return e}}))}};var tryDecodeURI=e=>tryDecode(e,decodeURI);var getPath=e=>{const t=e.url;const r=t.indexOf("/",8);let n=r;for(;n{const t=e.indexOf("?",8);return t===-1?"":"?"+e.slice(t+1)};var getPathNoStrict=e=>{const t=getPath(e);return t.length>1&&t[t.length-1]==="/"?t.slice(0,-1):t};var mergePath=(...e)=>{let t="";let r=false;for(let n of e){if(t[t.length-1]==="/"){t=t.slice(0,-1);r=true}if(n[0]!=="/"){n=`/${n}`}if(n==="/"&&r){t=`${t}/`}else if(n!=="/"){t=`${t}${n}`}if(n==="/"&&t===""){t="/"}}return t};var checkOptionalParameter=e=>{if(!e.match(/\:.+\?$/)){return null}const t=e.split("/");const r=[];let n="";t.forEach((e=>{if(e!==""&&!/\:/.test(e)){n+="/"+e}else if(/\:/.test(e)){if(/\?/.test(e)){if(r.length===0&&n===""){r.push("/")}else{r.push(n)}const t=e.replace("?","");n+="/"+t;r.push(n)}else{n+="/"+e}}}));return r.filter(((e,t,r)=>r.indexOf(e)===t))};var _decodeURI=e=>{if(!/[%+]/.test(e)){return e}if(e.indexOf("+")!==-1){e=e.replace(/\+/g," ")}return e.indexOf("%")!==-1?N(e):e};var _getQueryParam=(e,t,r)=>{let n;if(!r&&t&&!/[%+]/.test(t)){let r=e.indexOf(`?${t}`,8);if(r===-1){r=e.indexOf(`&${t}`,8)}while(r!==-1){const n=e.charCodeAt(r+t.length+1);if(n===61){const n=r+t.length+2;const s=e.indexOf("&",n);return _decodeURI(e.slice(n,s===-1?void 0:s))}else if(n==38||isNaN(n)){return""}r=e.indexOf(`&${t}`,r+1)}n=/[%+]/.test(e);if(!n){return void 0}}const s={};n??=/[%+]/.test(e);let o=e.indexOf("?",8);while(o!==-1){const t=e.indexOf("&",o+1);let i=e.indexOf("=",o);if(i>t&&t!==-1){i=-1}let a=e.slice(o+1,i===-1?t===-1?void 0:t:i);if(n){a=_decodeURI(a)}o=t;if(a===""){continue}let A;if(i===-1){A=""}else{A=e.slice(i+1,t===-1?void 0:t);if(n){A=_decodeURI(A)}}if(r){if(!(s[a]&&Array.isArray(s[a]))){s[a]=[]}s[a].push(A)}else{s[a]??=A}}return t?s[t]:s};var F=_getQueryParam;var getQueryParams=(e,t)=>_getQueryParam(e,t,true);var N=decodeURIComponent;var tryDecodeURIComponent=e=>tryDecode(e,N);var O=class{raw;#h;#E;routeIndex=0;path;bodyCache={};constructor(e,t="/",r=[[]]){this.raw=e;this.path=t;this.#E=r;this.#h={}}param(e){return e?this.#m(e):this.#I()}#m(e){const t=this.#E[0][this.routeIndex][1][e];const r=this.#y(t);return r?/\%/.test(r)?tryDecodeURIComponent(r):r:void 0}#I(){const e={};const t=Object.keys(this.#E[0][this.routeIndex][1]);for(const r of t){const t=this.#y(this.#E[0][this.routeIndex][1][r]);if(t&&typeof t==="string"){e[r]=/\%/.test(t)?tryDecodeURIComponent(t):t}}return e}#y(e){return this.#E[1]?this.#E[1][e]:e}query(e){return F(this.url,e)}queries(e){return getQueryParams(this.url,e)}header(e){if(e){return this.raw.headers.get(e.toLowerCase())??void 0}const t={};this.raw.headers.forEach(((e,r)=>{t[r]=e}));return t}async parseBody(e){return this.bodyCache.parsedBody??=await parseBody(this,e)}#C=e=>{const{bodyCache:t,raw:r}=this;const n=t[e];if(n){return n}const s=Object.keys(t)[0];if(s){return t[s].then((t=>{if(s==="json"){t=JSON.stringify(t)}return new Response(t)[e]()}))}return t[e]=r[e]()};json(){return this.#C("json")}text(){return this.#C("text")}arrayBuffer(){return this.#C("arrayBuffer")}blob(){return this.#C("blob")}formData(){return this.#C("formData")}addValidatedData(e,t){this.#h[e]=t}valid(e){return this.#h[e]}get url(){return this.raw.url}get method(){return this.raw.method}get matchedRoutes(){return this.#E[0].map((([[,e]])=>e))}get routePath(){return this.#E[0].map((([[,e]])=>e))[this.routeIndex].path}};var L={Stringify:1,BeforeStream:2,Stream:3};var raw=(e,t)=>{const r=new String(e);r.isEscaped=true;r.callbacks=t;return r};var U=/[&<>'"]/;var stringBufferToString=async(e,t)=>{let r="";t||=[];const n=await Promise.all(e);for(let e=n.length-1;;e--){r+=n[e];e--;if(e<0){break}let s=n[e];if(typeof s==="object"){t.push(...s.callbacks||[])}const o=s.isEscaped;s=await(typeof s==="object"?s.toString():s);if(typeof s==="object"){t.push(...s.callbacks||[])}if(s.isEscaped??o){r+=s}else{const e=[r];escapeToBuffer(s,e);r=e[0]}}return raw(r,t)};var escapeToBuffer=(e,t)=>{const r=e.search(U);if(r===-1){t[0]+=e;return}let n;let s;let o=0;for(s=r;s{const t=e.callbacks;if(!t?.length){return e}const r=[e];const n={};t.forEach((e=>e({phase:L.Stringify,buffer:r,context:n})));return r[0]};var resolveCallback=async(e,t,r,n,s)=>{if(typeof e==="object"&&!(e instanceof String)){if(!(e instanceof Promise)){e=e.toString()}if(e instanceof Promise){e=await e}}const o=e.callbacks;if(!o?.length){return Promise.resolve(e)}if(s){s[0]+=e}else{s=[e]}const i=Promise.all(o.map((e=>e({phase:t,buffer:s,context:n})))).then((e=>Promise.all(e.filter(Boolean).map((e=>resolveCallback(e,t,false,n,s)))).then((()=>s[0]))));if(r){return raw(await i,o)}else{return i}};var G="text/plain; charset=UTF-8";var setHeaders=(e,t={})=>{for(const r of Object.keys(t)){e.set(r,t[r])}return e};var P=class{#Q;#B;env={};#b;finalized=false;error;#T=200;#w;#v;#R;#k;#D=true;#_;#S;#F;#E;#N;constructor(e,t){this.#Q=e;if(t){this.#w=t.executionCtx;this.env=t.env;this.#F=t.notFoundHandler;this.#N=t.path;this.#E=t.matchResult}}get req(){this.#B??=new O(this.#Q,this.#N,this.#E);return this.#B}get event(){if(this.#w&&"respondWith"in this.#w){return this.#w}else{throw Error("This context has no FetchEvent")}}get executionCtx(){if(this.#w){return this.#w}else{throw Error("This context has no ExecutionContext")}}get res(){this.#D=false;return this.#k||=new Response("404 Not Found",{status:404})}set res(e){this.#D=false;if(this.#k&&e){try{for(const[t,r]of this.#k.headers.entries()){if(t==="content-type"){continue}if(t==="set-cookie"){const t=this.#k.headers.getSetCookie();e.headers.delete("set-cookie");for(const r of t){e.headers.append("set-cookie",r)}}else{e.headers.set(t,r)}}}catch(t){if(t instanceof TypeError&&t.message.includes("immutable")){this.res=new Response(e.body,{headers:e.headers,status:e.status});return}else{throw t}}}this.#k=e;this.finalized=true}render=(...e)=>{this.#S??=e=>this.html(e);return this.#S(...e)};setLayout=e=>this.#_=e;getLayout=()=>this.#_;setRenderer=e=>{this.#S=e};header=(e,t,r)=>{if(t===void 0){if(this.#v){this.#v.delete(e)}else if(this.#R){delete this.#R[e.toLocaleLowerCase()]}if(this.finalized){this.res.headers.delete(e)}return}if(r?.append){if(!this.#v){this.#D=false;this.#v=new Headers(this.#R);this.#R={}}this.#v.append(e,t)}else{if(this.#v){this.#v.set(e,t)}else{this.#R??={};this.#R[e.toLowerCase()]=t}}if(this.finalized){if(r?.append){this.res.headers.append(e,t)}else{this.res.headers.set(e,t)}}};status=e=>{this.#D=false;this.#T=e};set=(e,t)=>{this.#b??=new Map;this.#b.set(e,t)};get=e=>this.#b?this.#b.get(e):void 0;get var(){if(!this.#b){return{}}return Object.fromEntries(this.#b)}#O(e,t,r){if(this.#D&&!r&&!t&&this.#T===200){return new Response(e,{headers:this.#R})}if(t&&typeof t!=="number"){const r=new Headers(t.headers);if(this.#v){this.#v.forEach(((e,t)=>{if(t==="set-cookie"){r.append(t,e)}else{r.set(t,e)}}))}const n=setHeaders(r,this.#R);return new Response(e,{headers:n,status:t.status??this.#T})}const n=typeof t==="number"?t:this.#T;this.#R??={};this.#v??=new Headers;setHeaders(this.#v,this.#R);if(this.#k){this.#k.headers.forEach(((e,t)=>{if(t==="set-cookie"){this.#v?.append(t,e)}else{this.#v?.set(t,e)}}));setHeaders(this.#v,this.#R)}r??={};for(const[e,t]of Object.entries(r)){if(typeof t==="string"){this.#v.set(e,t)}else{this.#v.delete(e);for(const r of t){this.#v.append(e,r)}}}return new Response(e,{status:n,headers:this.#v})}newResponse=(...e)=>this.#O(...e);body=(e,t,r)=>typeof t==="number"?this.#O(e,t,r):this.#O(e,t);text=(e,t,r)=>{if(!this.#R){if(this.#D&&!r&&!t){return new Response(e)}this.#R={}}this.#R["content-type"]=G;return typeof t==="number"?this.#O(e,t,r):this.#O(e,t)};json=(e,t,r)=>{const n=JSON.stringify(e);this.#R??={};this.#R["content-type"]="application/json; charset=UTF-8";return typeof t==="number"?this.#O(n,t,r):this.#O(n,t)};html=(e,t,r)=>{this.#R??={};this.#R["content-type"]="text/html; charset=UTF-8";if(typeof e==="object"){return resolveCallback(e,L.Stringify,false,{}).then((e=>typeof t==="number"?this.#O(e,t,r):this.#O(e,t)))}return typeof t==="number"?this.#O(e,t,r):this.#O(e,t)};redirect=(e,t)=>{this.#v??=new Headers;this.#v.set("Location",String(e));return this.newResponse(null,t??302)};notFound=()=>{this.#F??=()=>new Response;return this.#F(this)}};var compose=(e,t,r)=>(n,s)=>{let o=-1;const i=n instanceof P;return dispatch(0);async function dispatch(a){if(a<=o){throw new Error("next() called multiple times")}o=a;let A;let c=false;let u;if(e[a]){u=e[a][0][0];if(i){n.req.routeIndex=a}}else{u=a===e.length&&s||void 0}if(!u){if(i&&n.finalized===false&&r){A=await r(n)}}else{try{A=await u(n,(()=>dispatch(a+1)))}catch(e){if(e instanceof Error&&i&&t){n.error=e;A=await t(e,n);c=true}else{throw e}}}if(A&&(n.finalized===false||c)){n.res=A}return n}};var M="ALL";var x="all";var V=["get","post","put","delete","options","patch"];var j="Can not add a route since the matcher is already built.";var H=class extends Error{};var Y=Symbol("composedHandler");var notFoundHandler=e=>e.text("404 Not Found",404);var errorHandler=(e,t)=>{if("getResponse"in e){return e.getResponse()}console.error(e);return t.text("Internal Server Error",500)};var q=class{get;post;put;delete;options;patch;all;on;use;router;getPath;_basePath="/";#N="/";routes=[];constructor(e={}){const t=[...V,x];t.forEach((e=>{this[e]=(t,...r)=>{if(typeof t==="string"){this.#N=t}else{this.#L(e,this.#N,t)}r.forEach((t=>{this.#L(e,this.#N,t)}));return this}}));this.on=(e,t,...r)=>{for(const n of[t].flat()){this.#N=n;for(const t of[e].flat()){r.map((e=>{this.#L(t.toUpperCase(),this.#N,e)}))}}return this};this.use=(e,...t)=>{if(typeof e==="string"){this.#N=e}else{this.#N="*";t.unshift(e)}t.forEach((e=>{this.#L(M,this.#N,e)}));return this};const r=e.strict??true;delete e.strict;Object.assign(this,e);this.getPath=r?e.getPath??getPath:getPathNoStrict}#U(){const e=new q({router:this.router,getPath:this.getPath});e.routes=this.routes;return e}#F=notFoundHandler;errorHandler=errorHandler;route(e,t){const r=this.basePath(e);t.routes.map((e=>{let n;if(t.errorHandler===errorHandler){n=e.handler}else{n=async(r,n)=>(await compose([],t.errorHandler)(r,(()=>e.handler(r,n)))).res;n[Y]=e.handler}r.#L(e.method,e.path,n)}));return this}basePath(e){const t=this.#U();t._basePath=mergePath(this._basePath,e);return t}onError=e=>{this.errorHandler=e;return this};notFound=e=>{this.#F=e;return this};mount(e,t,r){let n;let s;if(r){if(typeof r==="function"){s=r}else{s=r.optionHandler;n=r.replaceRequest}}const o=s?e=>{const t=s(e);return Array.isArray(t)?t:[t]}:e=>{let t=void 0;try{t=e.executionCtx}catch{}return[e.env,t]};n||=(()=>{const t=mergePath(this._basePath,e);const r=t==="/"?0:t.length;return e=>{const t=new URL(e.url);t.pathname=t.pathname.slice(r)||"/";return new Request(t,e)}})();const handler=async(e,r)=>{const s=await t(n(e.req.raw),...o(e));if(s){return s}await r()};this.#L(M,mergePath(e,"*"),handler);return this}#L(e,t,r){e=e.toUpperCase();t=mergePath(this._basePath,t);const n={path:t,method:e,handler:r};this.router.add(e,t,[r,n]);this.routes.push(n)}#G(e,t){if(e instanceof Error){return this.errorHandler(e,t)}throw e}#P(e,t,r,n){if(n==="HEAD"){return(async()=>new Response(null,await this.#P(e,t,r,"GET")))()}const s=this.getPath(e,{env:r});const o=this.router.match(n,s);const i=new P(e,{path:s,matchResult:o,env:r,executionCtx:t,notFoundHandler:this.#F});if(o[0].length===1){let e;try{e=o[0][0][0][0](i,(async()=>{i.res=await this.#F(i)}))}catch(e){return this.#G(e,i)}return e instanceof Promise?e.then((e=>e||(i.finalized?i.res:this.#F(i)))).catch((e=>this.#G(e,i))):e??this.#F(i)}const a=compose(o[0],this.errorHandler,this.#F);return(async()=>{try{const e=await a(i);if(!e.finalized){throw new Error("Context is not finalized. Did you forget to return a Response object or `await next()`?")}return e.res}catch(e){return this.#G(e,i)}})()}fetch=(e,...t)=>this.#P(e,t[1],t[0],e.method);request=(e,t,r,n)=>{if(e instanceof Request){return this.fetch(t?new Request(e,t):e,r,n)}e=e.toString();return this.fetch(new Request(/^https?:\/\//.test(e)?e:`http://localhost${mergePath("/",e)}`,t),r,n)};fire=()=>{addEventListener("fetch",(e=>{e.respondWith(this.#P(e.request,e,void 0,e.request.method))}))}};var J="[^/]+";var W=".*";var K="(?:|/.*)";var $=Symbol();var z=new Set(".\\+*[^]$()");function compareKey(e,t){if(e.length===1){return t.length===1?ee!==W&&e!==K))){throw $}if(s){return}A=this.#V[t]=new Z;if(e!==""){A.#x=n.varIndex++}}if(!s&&e!==""){r.push([e,A.#x])}}else{A=this.#V[o];if(!A){if(Object.keys(this.#V).some((e=>e.length>1&&e!==W&&e!==K))){throw $}if(s){return}A=this.#V[o]=new Z}}A.insert(i,t,r,n,s)}buildRegExpStr(){const e=Object.keys(this.#V).sort(compareKey);const t=e.map((e=>{const t=this.#V[e];return(typeof t.#x==="number"?`(${e})@${t.#x}`:z.has(e)?`\\${e}`:e)+t.buildRegExpStr()}));if(typeof this.#M==="number"){t.unshift(`#${this.#M}`)}if(t.length===0){return""}if(t.length===1){return t[0]}return"(?:"+t.join("|")+")"}};var X=class{#j={varIndex:0};#H=new Z;insert(e,t,r){const n=[];const s=[];for(let t=0;;){let r=false;e=e.replace(/\{[^}]+\}/g,(e=>{const n=`@\\${t}`;s[t]=[n,e];t++;r=true;return n}));if(!r){break}}const o=e.match(/(?::[^\/]+)|(?:\/\*$)|./g)||[];for(let e=s.length-1;e>=0;e--){const[t]=s[e];for(let r=o.length-1;r>=0;r--){if(o[r].indexOf(t)!==-1){o[r]=o[r].replace(t,s[e][1]);break}}}this.#H.insert(o,t,n,this.#j,r);return n}buildRegExp(){let e=this.#H.buildRegExpStr();if(e===""){return[/^$/,[],[]]}let t=0;const r=[];const n=[];e=e.replace(/#(\d+)|@(\d+)|\.\*\$/g,((e,s,o)=>{if(s!==void 0){r[++t]=Number(s);return"$()"}if(o!==void 0){n[Number(o)]=++t;return""}return""}));return[new RegExp(`^${e}`),r,n]}};var ee=[];var te=[/^$/,[],Object.create(null)];var re=Object.create(null);function buildWildcardRegExp(e){return re[e]??=new RegExp(e==="*"?"":`^${e.replace(/\/\*$|([.\\+*[^\]$()])/g,((e,t)=>t?`\\${t}`:"(?:|/.*)"))}$`)}function clearWildcardRegExpCache(){re=Object.create(null)}function buildMatcherFromPreprocessedRoutes(e){const t=new X;const r=[];if(e.length===0){return te}const n=e.map((e=>[!/\*|\/:/.test(e[0]),...e])).sort((([e,t],[r,n])=>e?1:r?-1:t.length-n.length));const s=Object.create(null);for(let e=0,o=-1,i=n.length;e[e,Object.create(null)])),ee]}else{o++}let c;try{c=t.insert(a,o,i)}catch(e){throw e===$?new H(a):e}if(i){continue}r[o]=A.map((([e,t])=>{const r=Object.create(null);t-=1;for(;t>=0;t--){const[e,n]=c[t];r[e]=n}return[e,r]}))}const[o,i,a]=t.buildRegExp();for(let e=0,t=r.length;et.length-e.length))){if(buildWildcardRegExp(r).test(t)){return[...e[r]]}}return void 0}var ne=class{name="RegExpRouter";#Y;#q;constructor(){this.#Y={[M]:Object.create(null)};this.#q={[M]:Object.create(null)}}add(e,t,r){const n=this.#Y;const s=this.#q;if(!n||!s){throw new Error(j)}if(!n[e]){[n,s].forEach((t=>{t[e]=Object.create(null);Object.keys(t[M]).forEach((r=>{t[e][r]=[...t[M][r]]}))}))}if(t==="/*"){t="*"}const o=(t.match(/\/:/g)||[]).length;if(/\*$/.test(t)){const i=buildWildcardRegExp(t);if(e===M){Object.keys(n).forEach((e=>{n[e][t]||=findMiddleware(n[e],t)||findMiddleware(n[M],t)||[]}))}else{n[e][t]||=findMiddleware(n[e],t)||findMiddleware(n[M],t)||[]}Object.keys(n).forEach((t=>{if(e===M||e===t){Object.keys(n[t]).forEach((e=>{i.test(e)&&n[t][e].push([r,o])}))}}));Object.keys(s).forEach((t=>{if(e===M||e===t){Object.keys(s[t]).forEach((e=>i.test(e)&&s[t][e].push([r,o])))}}));return}const i=checkOptionalParameter(t)||[t];for(let t=0,a=i.length;t{if(e===M||e===i){s[i][A]||=[...findMiddleware(n[i],A)||findMiddleware(n[M],A)||[]];s[i][A].push([r,o-a+t+1])}}))}}match(e,t){clearWildcardRegExpCache();const r=this.#J();this.match=(e,t)=>{const n=r[e]||r[M];const s=n[2][t];if(s){return s}const o=t.match(n[0]);if(!o){return[[],ee]}const i=o.indexOf("",1);return[n[1][i],o]};return this.match(e,t)}#J(){const e=Object.create(null);Object.keys(this.#q).concat(Object.keys(this.#Y)).forEach((t=>{e[t]||=this.#W(t)}));this.#Y=this.#q=void 0;return e}#W(e){const t=[];let r=e===M;[this.#Y,this.#q].forEach((n=>{const s=n[e]?Object.keys(n[e]).map((t=>[t,n[e][t]])):[];if(s.length!==0){r||=true;t.push(...s)}else if(e!==M){t.push(...Object.keys(n[M]).map((e=>[e,n[M][e]])))}}));if(!r){return null}else{return buildMatcherFromPreprocessedRoutes(t)}}};var se=class{name="SmartRouter";#K=[];#q=[];constructor(e){this.#K=e.routers}add(e,t,r){if(!this.#q){throw new Error(j)}this.#q.push([e,t,r])}match(e,t){if(!this.#q){throw new Error("Fatal error")}const r=this.#K;const n=this.#q;const s=r.length;let o=0;let i;for(;or.indexOf(e)===t)),score:this.#Z};i[e]=a;n.#$.push(i);return n}#ee(e,t,r,n){const s=[];for(let o=0,i=e.#$.length;o1){r.sort(((e,t)=>e.score-t.score))}return[r.map((({handler:e,params:t})=>[e,t]))]}};var ie=class{name="TrieRouter";#te;constructor(){this.#te=new oe}add(e,t,r){const n=checkOptionalParameter(t);if(n){for(let t=0,s=n.length;t{const r=globalThis;const n=r?.process?.env;t??=getRuntimeKey();const s={bun:()=>n,node:()=>n,"edge-light":()=>n,deno:()=>Deno.env.toObject(),workerd:()=>e.env,fastly:()=>({}),other:()=>({})};return s[t]()};var Ae={deno:"Deno",bun:"Bun",workerd:"Cloudflare-Workers",node:"Node.js"};var getRuntimeKey=()=>{const e=globalThis;const t=typeof navigator!=="undefined"&&typeof navigator.userAgent==="string";if(t){for(const[e,t]of Object.entries(Ae)){if(checkUserAgentEquals(t)){return e}}}if(typeof e?.EdgeRuntime==="string"){return"edge-light"}if(e?.fastly!==void 0){return"fastly"}if(e?.process?.release?.name==="node"){return"node"}return"other"};var checkUserAgentEquals=e=>{const t=navigator.userAgent;return t.startsWith(e)};var ce=class extends Error{res;status;constructor(e=500,t){super(t?.message,{cause:t?.cause});this.res=t?.res;this.status=e}getResponse(){if(this.res){const e=new Response(this.res.body,{status:this.status,headers:this.res.headers});return e}return new Response(this.message,{status:this.status})}};function getUserAgent(){if(typeof navigator==="object"&&"userAgent"in navigator){return navigator.userAgent}if(typeof process==="object"&&process.version!==undefined){return`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`}return""}function register(e,t,r,n){if(typeof r!=="function"){throw new Error("method for before hook must be a function")}if(!n){n={}}if(Array.isArray(t)){return t.reverse().reduce(((t,r)=>register.bind(null,e,r,t,n)),r)()}return Promise.resolve().then((()=>{if(!e.registry[t]){return r(n)}return e.registry[t].reduce(((e,t)=>t.hook.bind(null,e,n)),r)()}))}function addHook(e,t,r,n){const s=n;if(!e.registry[r]){e.registry[r]=[]}if(t==="before"){n=(e,t)=>Promise.resolve().then(s.bind(null,t)).then(e.bind(null,t))}if(t==="after"){n=(e,t)=>{let r;return Promise.resolve().then(e.bind(null,t)).then((e=>{r=e;return s(r,t)})).then((()=>r))}}if(t==="error"){n=(e,t)=>Promise.resolve().then(e.bind(null,t)).catch((e=>s(e,t)))}e.registry[r].push({hook:n,orig:s})}function removeHook(e,t,r){if(!e.registry[t]){return}const n=e.registry[t].map((e=>e.orig)).indexOf(r);if(n===-1){return}e.registry[t].splice(n,1)}const ue=Function.bind;const le=ue.bind(ue);function bindApi(e,t,r){const n=le(removeHook,null).apply(null,r?[t,r]:[t]);e.api={remove:n};e.remove=n;["before","error","after","wrap"].forEach((n=>{const s=r?[t,n,r]:[t,n];e[n]=e.api[n]=le(addHook,null).apply(null,s)}))}function Singular(){const e=Symbol("Singular");const t={registry:{}};const r=register.bind(null,t,e);bindApi(r,t,e);return r}function Collection(){const e={registry:{}};const t=register.bind(null,e);bindApi(t,e);return t}const pe={Singular:Singular,Collection:Collection};var de="0.0.0-development";var ge=`octokit-endpoint.js/${de} ${getUserAgent()}`;var fe={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":ge},mediaType:{format:""}};function lowercaseKeys(e){if(!e){return{}}return Object.keys(e).reduce(((t,r)=>{t[r.toLowerCase()]=e[r];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 r=Object.prototype.hasOwnProperty.call(t,"constructor")&&t.constructor;return typeof r==="function"&&r instanceof r&&Function.prototype.call(r)===Function.prototype.call(e)}function mergeDeep(e,t){const r=Object.assign({},e);Object.keys(t).forEach((n=>{if(isPlainObject(t[n])){if(!(n in e))Object.assign(r,{[n]:t[n]});else r[n]=mergeDeep(e[n],t[n])}else{Object.assign(r,{[n]:t[n]})}}));return r}function removeUndefinedProperties(e){for(const t in e){if(e[t]===void 0){delete e[t]}}return e}function merge(e,t,r){if(typeof t==="string"){let[e,n]=t.split(" ");r=Object.assign(n?{method:e,url:n}:{url:e},r)}else{r=Object.assign({},t)}r.headers=lowercaseKeys(r.headers);removeUndefinedProperties(r);removeUndefinedProperties(r.headers);const n=mergeDeep(e||{},r);if(r.url==="/graphql"){if(e&&e.mediaType.previews?.length){n.mediaType.previews=e.mediaType.previews.filter((e=>!n.mediaType.previews.includes(e))).concat(n.mediaType.previews)}n.mediaType.previews=(n.mediaType.previews||[]).map((e=>e.replace(/-preview/,"")))}return n}function addQueryParameters(e,t){const r=/\?/.test(e)?"&":"?";const n=Object.keys(t);if(n.length===0){return e}return e+r+n.map((e=>{if(e==="q"){return"q="+t.q.split("+").map(encodeURIComponent).join("+")}return`${e}=${encodeURIComponent(t[e])}`})).join("&")}var he=/\{[^}]+\}/g;function removeNonChars(e){return e.replace(/^\W+|\W+$/g,"").split(/,/)}function extractUrlVariableNames(e){const t=e.match(he);if(!t){return[]}return t.map(removeNonChars).reduce(((e,t)=>e.concat(t)),[])}function omit(e,t){const r={__proto__:null};for(const n of Object.keys(e)){if(t.indexOf(n)===-1){r[n]=e[n]}}return r}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,r){t=e==="+"||e==="#"?encodeReserved(t):encodeUnreserved(t);if(r){return encodeUnreserved(r)+"="+t}else{return t}}function isDefined(e){return e!==void 0&&e!==null}function isKeyOperator(e){return e===";"||e==="&"||e==="?"}function getValues(e,t,r,n){var s=e[r],o=[];if(isDefined(s)&&s!==""){if(typeof s==="string"||typeof s==="number"||typeof s==="boolean"){s=s.toString();if(n&&n!=="*"){s=s.substring(0,parseInt(n,10))}o.push(encodeValue(t,s,isKeyOperator(t)?r:""))}else{if(n==="*"){if(Array.isArray(s)){s.filter(isDefined).forEach((function(e){o.push(encodeValue(t,e,isKeyOperator(t)?r:""))}))}else{Object.keys(s).forEach((function(e){if(isDefined(s[e])){o.push(encodeValue(t,s[e],e))}}))}}else{const e=[];if(Array.isArray(s)){s.filter(isDefined).forEach((function(r){e.push(encodeValue(t,r))}))}else{Object.keys(s).forEach((function(r){if(isDefined(s[r])){e.push(encodeUnreserved(r));e.push(encodeValue(t,s[r].toString()))}}))}if(isKeyOperator(t)){o.push(encodeUnreserved(r)+"="+e.join(","))}else if(e.length!==0){o.push(e.join(","))}}}}else{if(t===";"){if(isDefined(s)){o.push(encodeUnreserved(r))}}else if(s===""&&(t==="&"||t==="?")){o.push(encodeUnreserved(r)+"=")}else if(s===""){o.push("")}}return o}function parseUrl(e){return{expand:expand.bind(null,e)}}function expand(e,t){var r=["+","#",".","/",";","?","&"];e=e.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,(function(e,n,s){if(n){let e="";const s=[];if(r.indexOf(n.charAt(0))!==-1){e=n.charAt(0);n=n.substr(1)}n.split(/,/g).forEach((function(r){var n=/([^:\*]*)(?::(\d+)|(\*))?/.exec(r);s.push(getValues(t,e,n[1],n[2]||n[3]))}));if(e&&e!=="+"){var o=",";if(e==="?"){o="&"}else if(e!=="#"){o=e}return(s.length!==0?e:"")+s.join(o)}else{return s.join(",")}}else{return encodeReserved(s)}}));if(e==="/"){return e}else{return e.replace(/\/$/,"")}}function parse(e){let t=e.method.toUpperCase();let r=(e.url||"/").replace(/:([a-z]\w+)/g,"{$1}");let n=Object.assign({},e.headers);let s;let o=omit(e,["method","baseUrl","url","headers","request","mediaType"]);const i=extractUrlVariableNames(r);r=parseUrl(r).expand(o);if(!/^http/.test(r)){r=e.baseUrl+r}const a=Object.keys(e).filter((e=>i.includes(e))).concat("baseUrl");const A=omit(o,a);const c=/application\/octet-stream/i.test(n.accept);if(!c){if(e.mediaType.format){n.accept=n.accept.split(/,/).map((t=>t.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${e.mediaType.format}`))).join(",")}if(r.endsWith("/graphql")){if(e.mediaType.previews?.length){const t=n.accept.match(/[\w-]+(?=-preview)/g)||[];n.accept=t.concat(e.mediaType.previews).map((t=>{const r=e.mediaType.format?`.${e.mediaType.format}`:"+json";return`application/vnd.github.${t}-preview${r}`})).join(",")}}}if(["GET","HEAD"].includes(t)){r=addQueryParameters(r,A)}else{if("data"in A){s=A.data}else{if(Object.keys(A).length){s=A}}}if(!n["content-type"]&&typeof s!=="undefined"){n["content-type"]="application/json; charset=utf-8"}if(["PATCH","PUT"].includes(t)&&typeof s==="undefined"){s=""}return Object.assign({method:t,url:r,headers:n},typeof s!=="undefined"?{body:s}:null,e.request?{request:e.request}:null)}function endpointWithDefaults(e,t,r){return parse(merge(e,t,r))}function withDefaults(e,t){const r=merge(e,t);const n=endpointWithDefaults.bind(null,r);return Object.assign(n,{DEFAULTS:r,defaults:withDefaults.bind(null,r),merge:merge.bind(null,r),parse:parse})}var Ee=withDefaults(null,fe);class RequestError extends Error{name;status;request;response;constructor(e,t,r){super(e);this.name="HttpError";this.status=Number.parseInt(t);if(Number.isNaN(this.status)){this.status=0}if("response"in r){this.response=r.response}const n=Object.assign({},r.request);if(r.request.headers.authorization){n.headers=Object.assign({},r.request.headers,{authorization:r.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}}var me="0.0.0-development";var Ie={headers:{"user-agent":`octokit-request.js/${me} ${getUserAgent()}`}};function dist_bundle_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 r=Object.prototype.hasOwnProperty.call(t,"constructor")&&t.constructor;return typeof r==="function"&&r instanceof r&&Function.prototype.call(r)===Function.prototype.call(e)}async function fetchWrapper(e){const t=e.request?.fetch||globalThis.fetch;if(!t){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")}const r=e.request?.log||console;const n=e.request?.parseSuccessResponseBody!==false;const s=dist_bundle_isPlainObject(e.body)||Array.isArray(e.body)?JSON.stringify(e.body):e.body;const o=Object.fromEntries(Object.entries(e.headers).map((([e,t])=>[e,String(t)])));let i;try{i=await t(e.url,{method:e.method,body:s,redirect:e.request?.redirect,headers:o,signal:e.request?.signal,...e.body&&{duplex:"half"}})}catch(t){let r="Unknown Error";if(t instanceof Error){if(t.name==="AbortError"){t.status=500;throw t}r=t.message;if(t.name==="TypeError"&&"cause"in t){if(t.cause instanceof Error){r=t.cause.message}else if(typeof t.cause==="string"){r=t.cause}}}const n=new RequestError(r,500,{request:e});n.cause=t;throw n}const a=i.status;const A=i.url;const c={};for(const[e,t]of i.headers){c[e]=t}const u={url:A,status:a,headers:c,data:""};if("deprecation"in c){const t=c.link&&c.link.match(/<([^>]+)>; rel="deprecation"/);const n=t&&t.pop();r.warn(`[@octokit/request] "${e.method} ${e.url}" is deprecated. It is scheduled to be removed on ${c.sunset}${n?`. See ${n}`:""}`)}if(a===204||a===205){return u}if(e.method==="HEAD"){if(a<400){return u}throw new RequestError(i.statusText,a,{response:u,request:e})}if(a===304){u.data=await getResponseData(i);throw new RequestError("Not modified",a,{response:u,request:e})}if(a>=400){u.data=await getResponseData(i);throw new RequestError(toErrorMessage(u.data),a,{response:u,request:e})}u.data=n?await getResponseData(i):i.body;return u}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 e.arrayBuffer()}function toErrorMessage(e){if(typeof e==="string"){return e}if(e instanceof ArrayBuffer){return"Unknown error"}if("message"in e){const t="documentation_url"in e?` - ${e.documentation_url}`:"";return Array.isArray(e.errors)?`${e.message}: ${e.errors.map((e=>JSON.stringify(e))).join(", ")}${t}`:`${e.message}${t}`}return`Unknown error: ${JSON.stringify(e)}`}function dist_bundle_withDefaults(e,t){const r=e.defaults(t);const newApi=function(e,t){const n=r.merge(e,t);if(!n.request||!n.request.hook){return fetchWrapper(r.parse(n))}const request2=(e,t)=>fetchWrapper(r.parse(r.merge(e,t)));Object.assign(request2,{endpoint:r,defaults:dist_bundle_withDefaults.bind(null,r)});return n.request.hook(request2,n)};return Object.assign(newApi,{endpoint:r,defaults:dist_bundle_withDefaults.bind(null,r)})}var ye=dist_bundle_withDefaults(Ee,Ie);var Ce="0.0.0-development";function _buildMessageForResponseErrors(e){return`Request failed due to following response errors:\n`+e.errors.map((e=>` - ${e.message}`)).join("\n")}var Qe=class extends Error{constructor(e,t,r){super(_buildMessageForResponseErrors(r));this.request=e;this.headers=t;this.response=r;this.errors=r.errors;this.data=r.data;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}name="GraphqlResponseError";errors;data};var Be=["method","baseUrl","url","headers","request","query","mediaType"];var be=["query","method","url"];var Te=/\/api\/v3\/?$/;function graphql(e,t,r){if(r){if(typeof t==="string"&&"query"in r){return Promise.reject(new Error(`[@octokit/graphql] "query" cannot be used as variable name`))}for(const e in r){if(!be.includes(e))continue;return Promise.reject(new Error(`[@octokit/graphql] "${e}" cannot be used as variable name`))}}const n=typeof t==="string"?Object.assign({query:t},r):t;const s=Object.keys(n).reduce(((e,t)=>{if(Be.includes(t)){e[t]=n[t];return e}if(!e.variables){e.variables={}}e.variables[t]=n[t];return e}),{});const o=n.baseUrl||e.endpoint.DEFAULTS.baseUrl;if(Te.test(o)){s.url=o.replace(Te,"/api/graphql")}return e(s).then((e=>{if(e.data.errors){const t={};for(const r of Object.keys(e.headers)){t[r]=e.headers[r]}throw new Qe(s,t,e.data)}return e.data.data}))}function graphql_dist_bundle_withDefaults(e,t){const r=e.defaults(t);const newApi=(e,t)=>graphql(r,e,t);return Object.assign(newApi,{defaults:graphql_dist_bundle_withDefaults.bind(null,r),endpoint:r.endpoint})}var we=graphql_dist_bundle_withDefaults(ye,{headers:{"user-agent":`octokit-graphql.js/${Ce} ${getUserAgent()}`},method:"POST",url:"/graphql"});function withCustomRequest(e){return graphql_dist_bundle_withDefaults(e,{method:"POST",url:"/graphql"})}var ve=/^v1\./;var Re=/^ghs_/;var ke=/^ghu_/;async function auth(e){const t=e.split(/\./).length===3;const r=ve.test(e)||Re.test(e);const n=ke.test(e);const s=t?"app":r?"installation":n?"user-to-server":"oauth";return{type:"token",token:e,tokenType:s}}function withAuthorizationPrefix(e){if(e.split(/\./).length===3){return`bearer ${e}`}return`token ${e}`}async function hook(e,t,r,n){const s=t.endpoint.merge(r,n);s.headers.authorization=withAuthorizationPrefix(e);return t(s)}var De=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)})};const _e="6.1.2";const noop=()=>{};const Se=console.warn.bind(console);const Fe=console.error.bind(console);const Ne=`octokit-core.js/${_e} ${getUserAgent()}`;class Octokit{static VERSION=_e;static defaults(e){const t=class extends(this){constructor(...t){const r=t[0]||{};if(typeof e==="function"){super(e(r));return}super(Object.assign({},e,r,r.userAgent&&e.userAgent?{userAgent:`${r.userAgent} ${e.userAgent}`}:null))}};return t}static plugins=[];static plugin(...e){const t=this.plugins;const r=class extends(this){static plugins=t.concat(e.filter((e=>!t.includes(e))))};return r}constructor(e={}){const t=new pe.Collection;const r={baseUrl:ye.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},e.request,{hook:t.bind(null,"request")}),mediaType:{previews:[],format:""}};r.headers["user-agent"]=e.userAgent?`${e.userAgent} ${Ne}`:Ne;if(e.baseUrl){r.baseUrl=e.baseUrl}if(e.previews){r.mediaType.previews=e.previews}if(e.timeZone){r.headers["time-zone"]=e.timeZone}this.request=ye.defaults(r);this.graphql=withCustomRequest(this.request).defaults(r);this.log=Object.assign({debug:noop,info:noop,warn:Se,error:Fe},e.log);this.hook=t;if(!e.authStrategy){if(!e.auth){this.auth=async()=>({type:"unauthenticated"})}else{const r=De(e.auth);t.wrap("request",r.hook);this.auth=r}}else{const{authStrategy:r,...n}=e;const s=r(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:n},e.auth));t.wrap("request",s.hook);this.auth=s}const n=this.constructor;for(let t=0;t({async next(){if(!a)return{done:true};try{const e=await s({method:o,url:a,headers:i});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,r,n){if(typeof r==="function"){n=r;r=void 0}return gather(e,[],iterator(e,t,r)[Symbol.asyncIterator](),n)}function gather(e,t,r,n){return r.next().then((s=>{if(s.done){return t}let o=false;function done(){o=true}t=t.concat(n?n(s.value,done):s.value.data);if(o){return t}return gather(e,t,r,n)}))}var Le=Object.assign(paginate,{iterator:iterator});var Ue=null&&["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}/copilot/usage","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}/copilot/usage","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}/organization-roles/{role_id}/teams","GET /orgs/{org}/organization-roles/{role_id}/users","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}/team/{team_slug}/copilot/usage","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}/environments/{environment_name}/secrets","GET /repos/{owner}/{repo}/environments/{environment_name}/variables","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 /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 Ue.includes(e)}else{return false}}function paginateRest(e){return{paginate:Object.assign(paginate.bind(null,e),{iterator:iterator.bind(null,e)})}}paginateRest.VERSION=Oe;const Ge="13.2.6";const Pe={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 /repos/{owner}/{repo}/environments/{environment_name}/variables"],createOrUpdateEnvironmentSecret:["PUT /repos/{owner}/{repo}/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 /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"],deleteEnvironmentVariable:["DELETE /repos/{owner}/{repo}/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}"],getCustomOidcSubClaimForRepo:["GET /repos/{owner}/{repo}/actions/oidc/customization/sub"],getEnvironmentPublicKey:["GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key"],getEnvironmentSecret:["GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"],getEnvironmentVariable:["GET /repos/{owner}/{repo}/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 /repos/{owner}/{repo}/environments/{environment_name}/secrets"],listEnvironmentVariables:["GET /repos/{owner}/{repo}/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"],setCustomOidcSubClaimForRepo:["PUT /repos/{owner}/{repo}/actions/oidc/customization/sub"],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 /repos/{owner}/{repo}/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"],markThreadAsDone:["DELETE /notifications/threads/{thread_id}"],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:{addCopilotSeatsForTeams:["POST /orgs/{org}/copilot/billing/selected_teams"],addCopilotSeatsForUsers:["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"],usageMetricsForEnterprise:["GET /enterprises/{enterprise}/copilot/usage"],usageMetricsForOrg:["GET /orgs/{org}/copilot/usage"],usageMetricsForTeam:["GET /orgs/{org}/team/{team_slug}/copilot/usage"]},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:{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"],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"]}],startForAuthenticatedUser:["POST /user/migrations"],startForOrg:["POST /orgs/{org}/migrations"],unlockRepoForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock"],unlockRepoForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock"]},oidc:{getOidcCustomSubTemplateForOrg:["GET /orgs/{org}/actions/oidc/customization/sub"],updateOidcCustomSubTemplateForOrg:["PUT /orgs/{org}/actions/oidc/customization/sub"]},orgs:{addSecurityManagerTeam:["PUT /orgs/{org}/security-managers/teams/{team_slug}"],assignTeamToOrgRole:["PUT /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],assignUserToOrgRole:["PUT /orgs/{org}/organization-roles/users/{username}/{role_id}"],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}"],createCustomOrganizationRole:["POST /orgs/{org}/organization-roles"],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}"],deleteCustomOrganizationRole:["DELETE /orgs/{org}/organization-roles/{role_id}"],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}"],getOrgRole:["GET /orgs/{org}/organization-roles/{role_id}"],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"],listOrgRoleTeams:["GET /orgs/{org}/organization-roles/{role_id}/teams"],listOrgRoleUsers:["GET /orgs/{org}/organization-roles/{role_id}/users"],listOrgRoles:["GET /orgs/{org}/organization-roles"],listOrganizationFineGrainedPermissions:["GET /orgs/{org}/organization-fine-grained-permissions"],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"],patchCustomOrganizationRole:["PATCH /orgs/{org}/organization-roles/{role_id}"],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"],revokeAllOrgRolesTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}"],revokeAllOrgRolesUser:["DELETE /orgs/{org}/organization-roles/users/{username}"],revokeOrgRoleTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],revokeOrgRoleUser:["DELETE /orgs/{org}/organization-roles/users/{username}/{role_id}"],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"}],cancelPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel"],checkAutomatedSecurityFixes:["GET /repos/{owner}/{repo}/automated-security-fixes"],checkCollaborator:["GET /repos/{owner}/{repo}/collaborators/{username}"],checkPrivateVulnerabilityReporting:["GET /repos/{owner}/{repo}/private-vulnerability-reporting"],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"],createOrUpdateCustomPropertiesValues:["PATCH /repos/{owner}/{repo}/properties/values"],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/deployments"],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}"],getPagesDeployment:["GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_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:{createFork:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks"],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 Me=Pe;const xe=new Map;for(const[e,t]of Object.entries(Me)){for(const[r,n]of Object.entries(t)){const[t,s,o]=n;const[i,a]=t.split(/ /);const A=Object.assign({method:i,url:a},s);if(!xe.has(e)){xe.set(e,new Map)}xe.get(e).set(r,{scope:e,methodName:r,endpointDefaults:A,decorations:o})}}const Ve={has({scope:e},t){return xe.get(e).has(t)},getOwnPropertyDescriptor(e,t){return{value:this.get(e,t),configurable:true,writable:true,enumerable:true}},defineProperty(e,t,r){Object.defineProperty(e.cache,t,r);return true},deleteProperty(e,t){delete e.cache[t];return true},ownKeys({scope:e}){return[...xe.get(e).keys()]},set(e,t,r){return e.cache[t]=r},get({octokit:e,scope:t,cache:r},n){if(r[n]){return r[n]}const s=xe.get(t).get(n);if(!s){return void 0}const{endpointDefaults:o,decorations:i}=s;if(i){r[n]=decorate(e,t,n,o,i)}else{r[n]=e.request.defaults(o)}return r[n]}};function endpointsToMethods(e){const t={};for(const r of xe.keys()){t[r]=new Proxy({octokit:e,scope:r,cache:{}},Ve)}return t}function decorate(e,t,r,n,s){const o=e.request.defaults(n);function withDecorations(...n){let i=o.endpoint.merge(...n);if(s.mapToData){i=Object.assign({},i,{data:i[s.mapToData],[s.mapToData]:void 0});return o(i)}if(s.renamed){const[n,o]=s.renamed;e.log.warn(`octokit.${t}.${r}() has been renamed to octokit.${n}.${o}()`)}if(s.deprecated){e.log.warn(s.deprecated)}if(s.renamedParameters){const i=o.endpoint.merge(...n);for(const[n,o]of Object.entries(s.renamedParameters)){if(n in i){e.log.warn(`"${n}" parameter is deprecated for "octokit.${t}.${r}()". Use "${o}" instead`);if(!(o in i)){i[o]=i[n]}delete i[n]}}return o(i)}return o(...n)}return Object.assign(withDecorations,o)}function restEndpointMethods(e){const t=endpointsToMethods(e);return{rest:t}}restEndpointMethods.VERSION=Ge;function legacyRestEndpointMethods(e){const t=endpointsToMethods(e);return{...t,rest:t}}legacyRestEndpointMethods.VERSION=Ge;var je=__nccwpck_require__(3251);var He="0.0.0-development";async function errorRequest(e,t,r,n){if(!r.request||!r.request.request){throw r}if(r.status>=400&&!e.doNotRetry.includes(r.status)){const s=n.request.retries!=null?n.request.retries:e.retries;const o=Math.pow((n.request.retryCount||0)+1,2);throw t.retry.retryRequest(r,s,o)}throw r}async function wrapRequest(e,t,r,n){const s=new je;s.on("failed",(function(t,r){const s=~~t.request.request.retries;const o=~~t.request.request.retryAfter;n.request.retryCount=r.retryCount+1;if(s>r.retryCount){return o*e.retryAfterBaseValue}}));return s.schedule(requestWithGraphqlErrorHandling.bind(null,e,t,r),n)}async function requestWithGraphqlErrorHandling(e,t,r,n){const s=await r(r,n);if(s.data&&s.data.errors&&s.data.errors.length>0&&/Something went wrong while executing your query/.test(s.data.errors[0].message)){const r=new RequestError(s.data.errors[0].message,500,{request:n,response:s});return errorRequest(e,t,r,n)}return s}function retry(e,t){const r=Object.assign({enabled:true,retryAfterBaseValue:1e3,doNotRetry:[400,401,403,404,422,451],retries:3},t.retry);if(r.enabled){e.hook.error("request",errorRequest.bind(null,r,e));e.hook.wrap("request",wrapRequest.bind(null,r,e))}return{retry:{retryRequest:(e,t,r)=>{e.request.request=Object.assign({},e.request.request,{retries:t,retryAfter:r});return e}}}}retry.VERSION=He;var Ye="0.0.0-development";var dist_bundle_noop=()=>Promise.resolve();function dist_bundle_wrapRequest(e,t,r){return e.retryLimiter.schedule(doRequest,e,t,r)}async function doRequest(e,t,r){const n=r.method!=="GET"&&r.method!=="HEAD";const{pathname:s}=new URL(r.url,"http://github.test");const o=r.method==="GET"&&s.startsWith("/search/");const i=s.startsWith("/graphql");const a=~~t.retryCount;const A=a>0?{priority:0,weight:0}:{};if(e.clustering){A.expiration=1e3*60}if(n||i){await e.write.key(e.id).schedule(A,dist_bundle_noop)}if(n&&e.triggersNotification(s)){await e.notifications.key(e.id).schedule(A,dist_bundle_noop)}if(o){await e.search.key(e.id).schedule(A,dist_bundle_noop)}const c=e.global.key(e.id).schedule(A,t,r);if(i){const e=await c;if(e.data.errors!=null&&e.data.errors.some((e=>e.type==="RATE_LIMITED"))){const t=Object.assign(new Error("GraphQL Rate Limit Exceeded"),{response:e,data:e.data});throw t}}return c}var qe=["/orgs/{org}/invitations","/orgs/{org}/invitations/{invitation_id}","/orgs/{org}/teams/{team_slug}/discussions","/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments","/repos/{owner}/{repo}/collaborators/{username}","/repos/{owner}/{repo}/commits/{commit_sha}/comments","/repos/{owner}/{repo}/issues","/repos/{owner}/{repo}/issues/{issue_number}/comments","/repos/{owner}/{repo}/pulls","/repos/{owner}/{repo}/pulls/{pull_number}/comments","/repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies","/repos/{owner}/{repo}/pulls/{pull_number}/merge","/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers","/repos/{owner}/{repo}/pulls/{pull_number}/reviews","/repos/{owner}/{repo}/releases","/teams/{team_id}/discussions","/teams/{team_id}/discussions/{discussion_number}/comments"];function routeMatcher(e){const t=e.map((e=>e.split("/").map((e=>e.startsWith("{")?"(?:.+?)":e)).join("/")));const r=`^(?:${t.map((e=>`(?:${e})`)).join("|")})[^/]*$`;return new RegExp(r,"i")}var Je=routeMatcher(qe);var We=Je.test.bind(Je);var Ke={};var createGroups=function(e,t){Ke.global=new e.Group({id:"octokit-global",maxConcurrent:10,...t});Ke.search=new e.Group({id:"octokit-search",maxConcurrent:1,minTime:2e3,...t});Ke.write=new e.Group({id:"octokit-write",maxConcurrent:1,minTime:1e3,...t});Ke.notifications=new e.Group({id:"octokit-notifications",maxConcurrent:1,minTime:3e3,...t})};function throttling(e,t){const{enabled:r=true,Bottleneck:n=je,id:s="no-id",timeout:o=1e3*60*2,connection:i}=t.throttle||{};if(!r){return{}}const a={timeout:o};if(typeof i!=="undefined"){a.connection=i}if(Ke.global==null){createGroups(n,a)}const A=Object.assign({clustering:i!=null,triggersNotification:We,fallbackSecondaryRateRetryAfter:60,retryAfterBaseValue:1e3,retryLimiter:new n,id:s,...Ke},t.throttle);if(typeof A.onSecondaryRateLimit!=="function"||typeof A.onRateLimit!=="function"){throw new Error(`octokit/plugin-throttling error:\n You must pass the onSecondaryRateLimit and onRateLimit error handlers.\n See https://octokit.github.io/rest.js/#throttling\n\n const octokit = new Octokit({\n throttle: {\n onSecondaryRateLimit: (retryAfter, options) => {/* ... */},\n onRateLimit: (retryAfter, options) => {/* ... */}\n }\n })\n `)}const c={};const u=new n.Events(c);c.on("secondary-limit",A.onSecondaryRateLimit);c.on("rate-limit",A.onRateLimit);c.on("error",(t=>e.log.warn("Error in throttling-plugin limit handler",t)));A.retryLimiter.on("failed",(async function(t,r){const[n,s,o]=r.args;const{pathname:i}=new URL(o.url,"http://github.test");const a=i.startsWith("/graphql")&&t.status!==401;if(!(a||t.status===403||t.status===429)){return}const A=~~s.retryCount;s.retryCount=A;o.request.retryCount=A;const{wantRetry:c,retryAfter:l=0}=await async function(){if(/\bsecondary rate\b/i.test(t.message)){const r=Number(t.response.headers["retry-after"])||n.fallbackSecondaryRateRetryAfter;const s=await u.trigger("secondary-limit",r,o,e,A);return{wantRetry:s,retryAfter:r}}if(t.response.headers!=null&&t.response.headers["x-ratelimit-remaining"]==="0"||(t.response.data?.errors??[]).some((e=>e.type==="RATE_LIMITED"))){const r=new Date(~~t.response.headers["x-ratelimit-reset"]*1e3).getTime();const n=Math.max(Math.ceil((r-Date.now())/1e3)+1,0);const s=await u.trigger("rate-limit",n,o,e,A);return{wantRetry:s,retryAfter:n}}return{}}();if(c){s.retryCount++;return l*n.retryAfterBaseValue}}));e.hook.wrap("request",dist_bundle_wrapRequest.bind(null,A));return{}}throttling.VERSION=Ye;throttling.triggersNotification=We;var generateMessage=(e,t)=>`The cursor at "${e.join(",")}" did not change its value "${t}" after a page transition. Please make sure your that your query is set up correctly.`;var $e=class extends Error{constructor(e,t){super(generateMessage(e.pathInQuery,t));this.pageInfo=e;this.cursorValue=t;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}name="MissingCursorChangeError"};var ze=class extends Error{constructor(e){super(`No pageInfo property found in response. Please make sure to specify the pageInfo in your query. Response-Data: ${JSON.stringify(e,null,2)}`);this.response=e;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}name="MissingPageInfo"};var isObject=e=>Object.prototype.toString.call(e)==="[object Object]";function findPaginatedResourcePath(e){const t=deepFindPathToProperty(e,"pageInfo");if(t.length===0){throw new ze(e)}return t}var deepFindPathToProperty=(e,t,r=[])=>{for(const n of Object.keys(e)){const s=[...r,n];const o=e[n];if(isObject(o)){if(o.hasOwnProperty(t)){return s}const e=deepFindPathToProperty(o,t,s);if(e.length>0){return e}}}return[]};var get=(e,t)=>t.reduce(((e,t)=>e[t]),e);var set=(e,t,r)=>{const n=t[t.length-1];const s=[...t].slice(0,-1);const o=get(e,s);if(typeof r==="function"){o[n]=r(o[n])}else{o[n]=r}};var extractPageInfos=e=>{const t=findPaginatedResourcePath(e);return{pathInQuery:t,pageInfo:get(e,[...t,"pageInfo"])}};var isForwardSearch=e=>e.hasOwnProperty("hasNextPage");var getCursorFrom=e=>isForwardSearch(e)?e.endCursor:e.startCursor;var hasAnotherPage=e=>isForwardSearch(e)?e.hasNextPage:e.hasPreviousPage;var createIterator=e=>(t,r={})=>{let n=true;let s={...r};return{[Symbol.asyncIterator]:()=>({async next(){if(!n)return{done:true,value:{}};const r=await e.graphql(t,s);const o=extractPageInfos(r);const i=getCursorFrom(o.pageInfo);n=hasAnotherPage(o.pageInfo);if(n&&i===s.cursor){throw new $e(o,i)}s={...s,cursor:i};return{done:false,value:r}}})}};var mergeResponses=(e,t)=>{if(Object.keys(e).length===0){return Object.assign(e,t)}const r=findPaginatedResourcePath(e);const n=[...r,"nodes"];const s=get(t,n);if(s){set(e,n,(e=>[...e,...s]))}const o=[...r,"edges"];const i=get(t,o);if(i){set(e,o,(e=>[...e,...i]))}const a=[...r,"pageInfo"];set(e,a,get(t,a));return e};var createPaginate=e=>{const t=createIterator(e);return async(e,r={})=>{let n={};for await(const s of t(e,r)){n=mergeResponses(n,s)}return n}};var Ze="0.0.0-development";function paginateGraphQL(e){return{graphql:Object.assign(e.graphql,{paginate:Object.assign(createPaginate(e),{iterator:createIterator(e)})})}}var Xe=__nccwpck_require__(7484);var et=__nccwpck_require__(3228);const tt=new Map;function Entries(){return new Map(tt)}function Clear(){return tt.clear()}function Delete(e){return tt.delete(e)}function Has(e){return tt.has(e)}function format_Set(e,t){tt.set(e,t)}function Get(e){return tt.get(e)}const rt=new Map;function type_Entries(){return new Map(rt)}function type_Clear(){return rt.clear()}function type_Delete(e){return rt.delete(e)}function type_Has(e){return rt.has(e)}function type_Set(e,t){rt.set(e,t)}function type_Get(e){return rt.get(e)}function extends_undefined_Intersect(e){return e.allOf.every((e=>ExtendsUndefinedCheck(e)))}function extends_undefined_Union(e){return e.anyOf.some((e=>ExtendsUndefinedCheck(e)))}function extends_undefined_Not(e){return!ExtendsUndefinedCheck(e.not)}function ExtendsUndefinedCheck(e){return e[E]==="Intersect"?extends_undefined_Intersect(e):e[E]==="Union"?extends_undefined_Union(e):e[E]==="Not"?extends_undefined_Not(e):e[E]==="Undefined"?true:false}function DefaultErrorFunction(e){switch(e.errorType){case pt.ArrayContains:return"Expected array to contain at least one matching value";case pt.ArrayMaxContains:return`Expected array to contain no more than ${e.schema.maxContains} matching values`;case pt.ArrayMinContains:return`Expected array to contain at least ${e.schema.minContains} matching values`;case pt.ArrayMaxItems:return`Expected array length to be less or equal to ${e.schema.maxItems}`;case pt.ArrayMinItems:return`Expected array length to be greater or equal to ${e.schema.minItems}`;case pt.ArrayUniqueItems:return"Expected array elements to be unique";case pt.Array:return"Expected array";case pt.AsyncIterator:return"Expected AsyncIterator";case pt.BigIntExclusiveMaximum:return`Expected bigint to be less than ${e.schema.exclusiveMaximum}`;case pt.BigIntExclusiveMinimum:return`Expected bigint to be greater than ${e.schema.exclusiveMinimum}`;case pt.BigIntMaximum:return`Expected bigint to be less or equal to ${e.schema.maximum}`;case pt.BigIntMinimum:return`Expected bigint to be greater or equal to ${e.schema.minimum}`;case pt.BigIntMultipleOf:return`Expected bigint to be a multiple of ${e.schema.multipleOf}`;case pt.BigInt:return"Expected bigint";case pt.Boolean:return"Expected boolean";case pt.DateExclusiveMinimumTimestamp:return`Expected Date timestamp to be greater than ${e.schema.exclusiveMinimumTimestamp}`;case pt.DateExclusiveMaximumTimestamp:return`Expected Date timestamp to be less than ${e.schema.exclusiveMaximumTimestamp}`;case pt.DateMinimumTimestamp:return`Expected Date timestamp to be greater or equal to ${e.schema.minimumTimestamp}`;case pt.DateMaximumTimestamp:return`Expected Date timestamp to be less or equal to ${e.schema.maximumTimestamp}`;case pt.DateMultipleOfTimestamp:return`Expected Date timestamp to be a multiple of ${e.schema.multipleOfTimestamp}`;case pt.Date:return"Expected Date";case pt.Function:return"Expected function";case pt.IntegerExclusiveMaximum:return`Expected integer to be less than ${e.schema.exclusiveMaximum}`;case pt.IntegerExclusiveMinimum:return`Expected integer to be greater than ${e.schema.exclusiveMinimum}`;case pt.IntegerMaximum:return`Expected integer to be less or equal to ${e.schema.maximum}`;case pt.IntegerMinimum:return`Expected integer to be greater or equal to ${e.schema.minimum}`;case pt.IntegerMultipleOf:return`Expected integer to be a multiple of ${e.schema.multipleOf}`;case pt.Integer:return"Expected integer";case pt.IntersectUnevaluatedProperties:return"Unexpected property";case pt.Intersect:return"Expected all values to match";case pt.Iterator:return"Expected Iterator";case pt.Literal:return`Expected ${typeof e.schema.const==="string"?`'${e.schema.const}'`:e.schema.const}`;case pt.Never:return"Never";case pt.Not:return"Value should not match";case pt.Null:return"Expected null";case pt.NumberExclusiveMaximum:return`Expected number to be less than ${e.schema.exclusiveMaximum}`;case pt.NumberExclusiveMinimum:return`Expected number to be greater than ${e.schema.exclusiveMinimum}`;case pt.NumberMaximum:return`Expected number to be less or equal to ${e.schema.maximum}`;case pt.NumberMinimum:return`Expected number to be greater or equal to ${e.schema.minimum}`;case pt.NumberMultipleOf:return`Expected number to be a multiple of ${e.schema.multipleOf}`;case pt.Number:return"Expected number";case pt.Object:return"Expected object";case pt.ObjectAdditionalProperties:return"Unexpected property";case pt.ObjectMaxProperties:return`Expected object to have no more than ${e.schema.maxProperties} properties`;case pt.ObjectMinProperties:return`Expected object to have at least ${e.schema.minProperties} properties`;case pt.ObjectRequiredProperty:return"Expected required property";case pt.Promise:return"Expected Promise";case pt.RegExp:return"Expected string to match regular expression";case pt.StringFormatUnknown:return`Unknown format '${e.schema.format}'`;case pt.StringFormat:return`Expected string to match '${e.schema.format}' format`;case pt.StringMaxLength:return`Expected string length less or equal to ${e.schema.maxLength}`;case pt.StringMinLength:return`Expected string length greater or equal to ${e.schema.minLength}`;case pt.StringPattern:return`Expected string to match '${e.schema.pattern}'`;case pt.String:return"Expected string";case pt.Symbol:return"Expected symbol";case pt.TupleLength:return`Expected tuple to have ${e.schema.maxItems||0} elements`;case pt.Tuple:return"Expected tuple";case pt.Uint8ArrayMaxByteLength:return`Expected byte length less or equal to ${e.schema.maxByteLength}`;case pt.Uint8ArrayMinByteLength:return`Expected byte length greater or equal to ${e.schema.minByteLength}`;case pt.Uint8Array:return"Expected Uint8Array";case pt.Undefined:return"Expected undefined";case pt.Union:return"Expected union value";case pt.Void:return"Expected void";case pt.Kind:return`Expected kind '${e.schema[E]}'`;default:return"Unknown error type"}}let nt=DefaultErrorFunction;function SetErrorFunction(e){nt=e}function GetErrorFunction(){return nt}class TypeDereferenceError extends error_TypeBoxError{constructor(e){super(`Unable to dereference schema with $id '${e.$ref}'`);this.schema=e}}function Resolve(e,t){const r=t.find((t=>t.$id===e.$ref));if(r===undefined)throw new TypeDereferenceError(e);return deref_Deref(r,t)}function Pushref(e,t){if(!IsString(e.$id)||t.some((t=>t.$id===e.$id)))return t;t.push(e);return t}function deref_Deref(e,t){return e[E]==="This"||e[E]==="Ref"?Resolve(e,t):e}class ValueHashError extends error_TypeBoxError{constructor(e){super(`Unable to hash value`);this.value=e}}var st;(function(e){e[e["Undefined"]=0]="Undefined";e[e["Null"]=1]="Null";e[e["Boolean"]=2]="Boolean";e[e["Number"]=3]="Number";e[e["String"]=4]="String";e[e["Object"]=5]="Object";e[e["Array"]=6]="Array";e[e["Date"]=7]="Date";e[e["Uint8Array"]=8]="Uint8Array";e[e["Symbol"]=9]="Symbol";e[e["BigInt"]=10]="BigInt"})(st||(st={}));let ot=BigInt("14695981039346656037");const[it,at]=[BigInt("1099511628211"),BigInt("18446744073709551616")];const At=Array.from({length:256}).map(((e,t)=>BigInt(t)));const ct=new Float64Array(1);const ut=new DataView(ct.buffer);const lt=new Uint8Array(ct.buffer);function*NumberToBytes(e){const t=e===0?1:Math.ceil(Math.floor(Math.log2(e)+1)/8);for(let r=0;r>8*(t-1-r)&255}}function hash_ArrayType(e){FNV1A64(st.Array);for(const t of e){hash_Visit(t)}}function BooleanType(e){FNV1A64(st.Boolean);FNV1A64(e?1:0)}function BigIntType(e){FNV1A64(st.BigInt);ut.setBigInt64(0,e);for(const e of lt){FNV1A64(e)}}function hash_DateType(e){FNV1A64(st.Date);hash_Visit(e.getTime())}function NullType(e){FNV1A64(st.Null)}function NumberType(e){FNV1A64(st.Number);ut.setFloat64(0,e);for(const e of lt){FNV1A64(e)}}function hash_ObjectType(e){FNV1A64(st.Object);for(const t of globalThis.Object.getOwnPropertyNames(e).sort()){hash_Visit(t);hash_Visit(e[t])}}function StringType(e){FNV1A64(st.String);for(let t=0;t=e.minItems)){return false}if(IsDefined(e.maxItems)&&!(r.length<=e.maxItems)){return false}if(!r.every((r=>check_Visit(e.items,t,r)))){return false}if(e.uniqueItems===true&&!function(){const e=new Set;for(const t of r){const r=Hash(t);if(e.has(r)){return false}else{e.add(r)}}return true}()){return false}if(!(IsDefined(e.contains)||IsNumber(e.minContains)||IsNumber(e.maxContains))){return true}const n=IsDefined(e.contains)?e.contains:Never();const s=r.reduce(((e,r)=>check_Visit(n,t,r)?e+1:e),0);if(s===0){return false}if(IsNumber(e.minContains)&&se.maxContains){return false}return true}function check_FromAsyncIterator(e,t,r){return IsAsyncIterator(r)}function check_FromBigInt(e,t,r){if(!IsBigInt(r))return false;if(IsDefined(e.exclusiveMaximum)&&!(re.exclusiveMinimum)){return false}if(IsDefined(e.maximum)&&!(r<=e.maximum)){return false}if(IsDefined(e.minimum)&&!(r>=e.minimum)){return false}if(IsDefined(e.multipleOf)&&!(r%e.multipleOf===BigInt(0))){return false}return true}function check_FromBoolean(e,t,r){return IsBoolean(r)}function check_FromConstructor(e,t,r){return check_Visit(e.returns,t,r.prototype)}function check_FromDate(e,t,r){if(!IsDate(r))return false;if(IsDefined(e.exclusiveMaximumTimestamp)&&!(r.getTime()e.exclusiveMinimumTimestamp)){return false}if(IsDefined(e.maximumTimestamp)&&!(r.getTime()<=e.maximumTimestamp)){return false}if(IsDefined(e.minimumTimestamp)&&!(r.getTime()>=e.minimumTimestamp)){return false}if(IsDefined(e.multipleOfTimestamp)&&!(r.getTime()%e.multipleOfTimestamp===0)){return false}return true}function check_FromFunction(e,t,r){return IsFunction(r)}function FromImport(e,t,r){const n=globalThis.Object.values(e.$defs);const s=e.$defs[e.$ref];return check_Visit(s,[...t,...n],r)}function check_FromInteger(e,t,r){if(!IsInteger(r)){return false}if(IsDefined(e.exclusiveMaximum)&&!(re.exclusiveMinimum)){return false}if(IsDefined(e.maximum)&&!(r<=e.maximum)){return false}if(IsDefined(e.minimum)&&!(r>=e.minimum)){return false}if(IsDefined(e.multipleOf)&&!(r%e.multipleOf===0)){return false}return true}function check_FromIntersect(e,t,r){const n=e.allOf.every((e=>check_Visit(e,t,r)));if(e.unevaluatedProperties===false){const t=new RegExp(KeyOfPattern(e));const s=Object.getOwnPropertyNames(r).every((e=>t.test(e)));return n&&s}else if(IsSchema(e.unevaluatedProperties)){const s=new RegExp(KeyOfPattern(e));const o=Object.getOwnPropertyNames(r).every((n=>s.test(n)||check_Visit(e.unevaluatedProperties,t,r[n])));return n&&o}else{return n}}function check_FromIterator(e,t,r){return IsIterator(r)}function check_FromLiteral(e,t,r){return r===e.const}function check_FromNever(e,t,r){return false}function check_FromNot(e,t,r){return!check_Visit(e.not,t,r)}function check_FromNull(e,t,r){return IsNull(r)}function check_FromNumber(e,t,r){if(!l.IsNumberLike(r))return false;if(IsDefined(e.exclusiveMaximum)&&!(re.exclusiveMinimum)){return false}if(IsDefined(e.minimum)&&!(r>=e.minimum)){return false}if(IsDefined(e.maximum)&&!(r<=e.maximum)){return false}if(IsDefined(e.multipleOf)&&!(r%e.multipleOf===0)){return false}return true}function check_FromObject(e,t,r){if(!l.IsObjectLike(r))return false;if(IsDefined(e.minProperties)&&!(Object.getOwnPropertyNames(r).length>=e.minProperties)){return false}if(IsDefined(e.maxProperties)&&!(Object.getOwnPropertyNames(r).length<=e.maxProperties)){return false}const n=Object.getOwnPropertyNames(e.properties);for(const s of n){const n=e.properties[s];if(e.required&&e.required.includes(s)){if(!check_Visit(n,t,r[s])){return false}if((ExtendsUndefinedCheck(n)||IsAnyOrUnknown(n))&&!(s in r)){return false}}else{if(l.IsExactOptionalProperty(r,s)&&!check_Visit(n,t,r[s])){return false}}}if(e.additionalProperties===false){const t=Object.getOwnPropertyNames(r);if(e.required&&e.required.length===n.length&&t.length===n.length){return true}else{return t.every((e=>n.includes(e)))}}else if(typeof e.additionalProperties==="object"){const s=Object.getOwnPropertyNames(r);return s.every((s=>n.includes(s)||check_Visit(e.additionalProperties,t,r[s])))}else{return true}}function check_FromPromise(e,t,r){return IsPromise(r)}function check_FromRecord(e,t,r){if(!l.IsRecordLike(r)){return false}if(IsDefined(e.minProperties)&&!(Object.getOwnPropertyNames(r).length>=e.minProperties)){return false}if(IsDefined(e.maxProperties)&&!(Object.getOwnPropertyNames(r).length<=e.maxProperties)){return false}const[n,s]=Object.entries(e.patternProperties)[0];const o=new RegExp(n);const i=Object.entries(r).every((([e,r])=>o.test(e)?check_Visit(s,t,r):true));const a=typeof e.additionalProperties==="object"?Object.entries(r).every((([r,n])=>!o.test(r)?check_Visit(e.additionalProperties,t,n):true)):true;const A=e.additionalProperties===false?Object.getOwnPropertyNames(r).every((e=>o.test(e))):true;return i&&a&&A}function check_FromRef(e,t,r){return check_Visit(deref_Deref(e,t),t,r)}function check_FromRegExp(e,t,r){const n=new RegExp(e.source,e.flags);if(IsDefined(e.minLength)){if(!(r.length>=e.minLength))return false}if(IsDefined(e.maxLength)){if(!(r.length<=e.maxLength))return false}return n.test(r)}function check_FromString(e,t,r){if(!IsString(r)){return false}if(IsDefined(e.minLength)){if(!(r.length>=e.minLength))return false}if(IsDefined(e.maxLength)){if(!(r.length<=e.maxLength))return false}if(IsDefined(e.pattern)){const t=new RegExp(e.pattern);if(!t.test(r))return false}if(IsDefined(e.format)){if(!Has(e.format))return false;const t=Get(e.format);return t(r)}return true}function check_FromSymbol(e,t,r){return IsSymbol(r)}function check_FromTemplateLiteral(e,t,r){return IsString(r)&&new RegExp(e.pattern).test(r)}function FromThis(e,t,r){return check_Visit(deref_Deref(e,t),t,r)}function check_FromTuple(e,t,r){if(!IsArray(r)){return false}if(e.items===undefined&&!(r.length===0)){return false}if(!(r.length===e.maxItems)){return false}if(!e.items){return true}for(let n=0;ncheck_Visit(e,t,r)))}function check_FromUint8Array(e,t,r){if(!IsUint8Array(r)){return false}if(IsDefined(e.maxByteLength)&&!(r.length<=e.maxByteLength)){return false}if(IsDefined(e.minByteLength)&&!(r.length>=e.minByteLength)){return false}return true}function check_FromUnknown(e,t,r){return true}function check_FromVoid(e,t,r){return l.IsVoidLike(r)}function FromKind(e,t,r){if(!type_Has(e[E]))return false;const n=type_Get(e[E]);return n(e,r)}function check_Visit(e,t,r){const n=IsDefined(e.$id)?Pushref(e,t):t;const s=e;switch(s[E]){case"Any":return check_FromAny(s,n,r);case"Array":return check_FromArray(s,n,r);case"AsyncIterator":return check_FromAsyncIterator(s,n,r);case"BigInt":return check_FromBigInt(s,n,r);case"Boolean":return check_FromBoolean(s,n,r);case"Constructor":return check_FromConstructor(s,n,r);case"Date":return check_FromDate(s,n,r);case"Function":return check_FromFunction(s,n,r);case"Import":return FromImport(s,n,r);case"Integer":return check_FromInteger(s,n,r);case"Intersect":return check_FromIntersect(s,n,r);case"Iterator":return check_FromIterator(s,n,r);case"Literal":return check_FromLiteral(s,n,r);case"Never":return check_FromNever(s,n,r);case"Not":return check_FromNot(s,n,r);case"Null":return check_FromNull(s,n,r);case"Number":return check_FromNumber(s,n,r);case"Object":return check_FromObject(s,n,r);case"Promise":return check_FromPromise(s,n,r);case"Record":return check_FromRecord(s,n,r);case"Ref":return check_FromRef(s,n,r);case"RegExp":return check_FromRegExp(s,n,r);case"String":return check_FromString(s,n,r);case"Symbol":return check_FromSymbol(s,n,r);case"TemplateLiteral":return check_FromTemplateLiteral(s,n,r);case"This":return FromThis(s,n,r);case"Tuple":return check_FromTuple(s,n,r);case"Undefined":return check_FromUndefined(s,n,r);case"Union":return check_FromUnion(s,n,r);case"Uint8Array":return check_FromUint8Array(s,n,r);case"Unknown":return check_FromUnknown(s,n,r);case"Void":return check_FromVoid(s,n,r);default:if(!type_Has(s[E]))throw new ValueCheckUnknownTypeError(s);return FromKind(s,n,r)}}function Check(...e){return e.length===3?check_Visit(e[0],e[1],e[2]):check_Visit(e[0],[],e[1])}var pt;(function(e){e[e["ArrayContains"]=0]="ArrayContains";e[e["ArrayMaxContains"]=1]="ArrayMaxContains";e[e["ArrayMaxItems"]=2]="ArrayMaxItems";e[e["ArrayMinContains"]=3]="ArrayMinContains";e[e["ArrayMinItems"]=4]="ArrayMinItems";e[e["ArrayUniqueItems"]=5]="ArrayUniqueItems";e[e["Array"]=6]="Array";e[e["AsyncIterator"]=7]="AsyncIterator";e[e["BigIntExclusiveMaximum"]=8]="BigIntExclusiveMaximum";e[e["BigIntExclusiveMinimum"]=9]="BigIntExclusiveMinimum";e[e["BigIntMaximum"]=10]="BigIntMaximum";e[e["BigIntMinimum"]=11]="BigIntMinimum";e[e["BigIntMultipleOf"]=12]="BigIntMultipleOf";e[e["BigInt"]=13]="BigInt";e[e["Boolean"]=14]="Boolean";e[e["DateExclusiveMaximumTimestamp"]=15]="DateExclusiveMaximumTimestamp";e[e["DateExclusiveMinimumTimestamp"]=16]="DateExclusiveMinimumTimestamp";e[e["DateMaximumTimestamp"]=17]="DateMaximumTimestamp";e[e["DateMinimumTimestamp"]=18]="DateMinimumTimestamp";e[e["DateMultipleOfTimestamp"]=19]="DateMultipleOfTimestamp";e[e["Date"]=20]="Date";e[e["Function"]=21]="Function";e[e["IntegerExclusiveMaximum"]=22]="IntegerExclusiveMaximum";e[e["IntegerExclusiveMinimum"]=23]="IntegerExclusiveMinimum";e[e["IntegerMaximum"]=24]="IntegerMaximum";e[e["IntegerMinimum"]=25]="IntegerMinimum";e[e["IntegerMultipleOf"]=26]="IntegerMultipleOf";e[e["Integer"]=27]="Integer";e[e["IntersectUnevaluatedProperties"]=28]="IntersectUnevaluatedProperties";e[e["Intersect"]=29]="Intersect";e[e["Iterator"]=30]="Iterator";e[e["Kind"]=31]="Kind";e[e["Literal"]=32]="Literal";e[e["Never"]=33]="Never";e[e["Not"]=34]="Not";e[e["Null"]=35]="Null";e[e["NumberExclusiveMaximum"]=36]="NumberExclusiveMaximum";e[e["NumberExclusiveMinimum"]=37]="NumberExclusiveMinimum";e[e["NumberMaximum"]=38]="NumberMaximum";e[e["NumberMinimum"]=39]="NumberMinimum";e[e["NumberMultipleOf"]=40]="NumberMultipleOf";e[e["Number"]=41]="Number";e[e["ObjectAdditionalProperties"]=42]="ObjectAdditionalProperties";e[e["ObjectMaxProperties"]=43]="ObjectMaxProperties";e[e["ObjectMinProperties"]=44]="ObjectMinProperties";e[e["ObjectRequiredProperty"]=45]="ObjectRequiredProperty";e[e["Object"]=46]="Object";e[e["Promise"]=47]="Promise";e[e["RegExp"]=48]="RegExp";e[e["StringFormatUnknown"]=49]="StringFormatUnknown";e[e["StringFormat"]=50]="StringFormat";e[e["StringMaxLength"]=51]="StringMaxLength";e[e["StringMinLength"]=52]="StringMinLength";e[e["StringPattern"]=53]="StringPattern";e[e["String"]=54]="String";e[e["Symbol"]=55]="Symbol";e[e["TupleLength"]=56]="TupleLength";e[e["Tuple"]=57]="Tuple";e[e["Uint8ArrayMaxByteLength"]=58]="Uint8ArrayMaxByteLength";e[e["Uint8ArrayMinByteLength"]=59]="Uint8ArrayMinByteLength";e[e["Uint8Array"]=60]="Uint8Array";e[e["Undefined"]=61]="Undefined";e[e["Union"]=62]="Union";e[e["Void"]=63]="Void"})(pt||(pt={}));class ValueErrorsUnknownTypeError extends error_TypeBoxError{constructor(e){super("Unknown type");this.schema=e}}function EscapeKey(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function errors_IsDefined(e){return e!==undefined}class ValueErrorIterator{constructor(e){this.iterator=e}[Symbol.iterator](){return this.iterator}First(){const e=this.iterator.next();return e.done?undefined:e.value}}function Create(e,t,r,n,s=[]){return{type:e,schema:t,path:r,value:n,message:GetErrorFunction()({errorType:e,path:r,schema:t,value:n,errors:s}),errors:s}}function*errors_FromAny(e,t,r,n){}function*errors_FromArray(e,t,r,n){if(!IsArray(n)){return yield Create(pt.Array,e,r,n)}if(errors_IsDefined(e.minItems)&&!(n.length>=e.minItems)){yield Create(pt.ArrayMinItems,e,r,n)}if(errors_IsDefined(e.maxItems)&&!(n.length<=e.maxItems)){yield Create(pt.ArrayMaxItems,e,r,n)}for(let s=0;serrors_Visit(s,t,`${r}${o}`,n).next().done===true?e+1:e),0);if(o===0){yield Create(pt.ArrayContains,e,r,n)}if(IsNumber(e.minContains)&&oe.maxContains){yield Create(pt.ArrayMaxContains,e,r,n)}}function*errors_FromAsyncIterator(e,t,r,n){if(!IsAsyncIterator(n))yield Create(pt.AsyncIterator,e,r,n)}function*errors_FromBigInt(e,t,r,n){if(!IsBigInt(n))return yield Create(pt.BigInt,e,r,n);if(errors_IsDefined(e.exclusiveMaximum)&&!(ne.exclusiveMinimum)){yield Create(pt.BigIntExclusiveMinimum,e,r,n)}if(errors_IsDefined(e.maximum)&&!(n<=e.maximum)){yield Create(pt.BigIntMaximum,e,r,n)}if(errors_IsDefined(e.minimum)&&!(n>=e.minimum)){yield Create(pt.BigIntMinimum,e,r,n)}if(errors_IsDefined(e.multipleOf)&&!(n%e.multipleOf===BigInt(0))){yield Create(pt.BigIntMultipleOf,e,r,n)}}function*errors_FromBoolean(e,t,r,n){if(!IsBoolean(n))yield Create(pt.Boolean,e,r,n)}function*errors_FromConstructor(e,t,r,n){yield*errors_Visit(e.returns,t,r,n.prototype)}function*errors_FromDate(e,t,r,n){if(!IsDate(n))return yield Create(pt.Date,e,r,n);if(errors_IsDefined(e.exclusiveMaximumTimestamp)&&!(n.getTime()e.exclusiveMinimumTimestamp)){yield Create(pt.DateExclusiveMinimumTimestamp,e,r,n)}if(errors_IsDefined(e.maximumTimestamp)&&!(n.getTime()<=e.maximumTimestamp)){yield Create(pt.DateMaximumTimestamp,e,r,n)}if(errors_IsDefined(e.minimumTimestamp)&&!(n.getTime()>=e.minimumTimestamp)){yield Create(pt.DateMinimumTimestamp,e,r,n)}if(errors_IsDefined(e.multipleOfTimestamp)&&!(n.getTime()%e.multipleOfTimestamp===0)){yield Create(pt.DateMultipleOfTimestamp,e,r,n)}}function*errors_FromFunction(e,t,r,n){if(!IsFunction(n))yield Create(pt.Function,e,r,n)}function*errors_FromImport(e,t,r,n){const s=globalThis.Object.values(e.$defs);const o=e.$defs[e.$ref];yield*errors_Visit(o,[...t,...s],r,n)}function*errors_FromInteger(e,t,r,n){if(!IsInteger(n))return yield Create(pt.Integer,e,r,n);if(errors_IsDefined(e.exclusiveMaximum)&&!(ne.exclusiveMinimum)){yield Create(pt.IntegerExclusiveMinimum,e,r,n)}if(errors_IsDefined(e.maximum)&&!(n<=e.maximum)){yield Create(pt.IntegerMaximum,e,r,n)}if(errors_IsDefined(e.minimum)&&!(n>=e.minimum)){yield Create(pt.IntegerMinimum,e,r,n)}if(errors_IsDefined(e.multipleOf)&&!(n%e.multipleOf===0)){yield Create(pt.IntegerMultipleOf,e,r,n)}}function*errors_FromIntersect(e,t,r,n){let s=false;for(const o of e.allOf){for(const e of errors_Visit(o,t,r,n)){s=true;yield e}}if(s){return yield Create(pt.Intersect,e,r,n)}if(e.unevaluatedProperties===false){const t=new RegExp(KeyOfPattern(e));for(const s of Object.getOwnPropertyNames(n)){if(!t.test(s)){yield Create(pt.IntersectUnevaluatedProperties,e,`${r}/${s}`,n)}}}if(typeof e.unevaluatedProperties==="object"){const s=new RegExp(KeyOfPattern(e));for(const o of Object.getOwnPropertyNames(n)){if(!s.test(o)){const s=errors_Visit(e.unevaluatedProperties,t,`${r}/${o}`,n[o]).next();if(!s.done)yield s.value}}}}function*errors_FromIterator(e,t,r,n){if(!IsIterator(n))yield Create(pt.Iterator,e,r,n)}function*errors_FromLiteral(e,t,r,n){if(!(n===e.const))yield Create(pt.Literal,e,r,n)}function*errors_FromNever(e,t,r,n){yield Create(pt.Never,e,r,n)}function*errors_FromNot(e,t,r,n){if(errors_Visit(e.not,t,r,n).next().done===true)yield Create(pt.Not,e,r,n)}function*errors_FromNull(e,t,r,n){if(!IsNull(n))yield Create(pt.Null,e,r,n)}function*errors_FromNumber(e,t,r,n){if(!l.IsNumberLike(n))return yield Create(pt.Number,e,r,n);if(errors_IsDefined(e.exclusiveMaximum)&&!(ne.exclusiveMinimum)){yield Create(pt.NumberExclusiveMinimum,e,r,n)}if(errors_IsDefined(e.maximum)&&!(n<=e.maximum)){yield Create(pt.NumberMaximum,e,r,n)}if(errors_IsDefined(e.minimum)&&!(n>=e.minimum)){yield Create(pt.NumberMinimum,e,r,n)}if(errors_IsDefined(e.multipleOf)&&!(n%e.multipleOf===0)){yield Create(pt.NumberMultipleOf,e,r,n)}}function*errors_FromObject(e,t,r,n){if(!l.IsObjectLike(n))return yield Create(pt.Object,e,r,n);if(errors_IsDefined(e.minProperties)&&!(Object.getOwnPropertyNames(n).length>=e.minProperties)){yield Create(pt.ObjectMinProperties,e,r,n)}if(errors_IsDefined(e.maxProperties)&&!(Object.getOwnPropertyNames(n).length<=e.maxProperties)){yield Create(pt.ObjectMaxProperties,e,r,n)}const s=Array.isArray(e.required)?e.required:[];const o=Object.getOwnPropertyNames(e.properties);const i=Object.getOwnPropertyNames(n);for(const t of s){if(i.includes(t))continue;yield Create(pt.ObjectRequiredProperty,e.properties[t],`${r}/${EscapeKey(t)}`,undefined)}if(e.additionalProperties===false){for(const t of i){if(!o.includes(t)){yield Create(pt.ObjectAdditionalProperties,e,`${r}/${EscapeKey(t)}`,n[t])}}}if(typeof e.additionalProperties==="object"){for(const s of i){if(o.includes(s))continue;yield*errors_Visit(e.additionalProperties,t,`${r}/${EscapeKey(s)}`,n[s])}}for(const s of o){const o=e.properties[s];if(e.required&&e.required.includes(s)){yield*errors_Visit(o,t,`${r}/${EscapeKey(s)}`,n[s]);if(ExtendsUndefinedCheck(e)&&!(s in n)){yield Create(pt.ObjectRequiredProperty,o,`${r}/${EscapeKey(s)}`,undefined)}}else{if(l.IsExactOptionalProperty(n,s)){yield*errors_Visit(o,t,`${r}/${EscapeKey(s)}`,n[s])}}}}function*errors_FromPromise(e,t,r,n){if(!IsPromise(n))yield Create(pt.Promise,e,r,n)}function*errors_FromRecord(e,t,r,n){if(!l.IsRecordLike(n))return yield Create(pt.Object,e,r,n);if(errors_IsDefined(e.minProperties)&&!(Object.getOwnPropertyNames(n).length>=e.minProperties)){yield Create(pt.ObjectMinProperties,e,r,n)}if(errors_IsDefined(e.maxProperties)&&!(Object.getOwnPropertyNames(n).length<=e.maxProperties)){yield Create(pt.ObjectMaxProperties,e,r,n)}const[s,o]=Object.entries(e.patternProperties)[0];const i=new RegExp(s);for(const[e,s]of Object.entries(n)){if(i.test(e))yield*errors_Visit(o,t,`${r}/${EscapeKey(e)}`,s)}if(typeof e.additionalProperties==="object"){for(const[s,o]of Object.entries(n)){if(!i.test(s))yield*errors_Visit(e.additionalProperties,t,`${r}/${EscapeKey(s)}`,o)}}if(e.additionalProperties===false){for(const[t,s]of Object.entries(n)){if(i.test(t))continue;return yield Create(pt.ObjectAdditionalProperties,e,`${r}/${EscapeKey(t)}`,s)}}}function*errors_FromRef(e,t,r,n){yield*errors_Visit(deref_Deref(e,t),t,r,n)}function*errors_FromRegExp(e,t,r,n){if(!IsString(n))return yield Create(pt.String,e,r,n);if(errors_IsDefined(e.minLength)&&!(n.length>=e.minLength)){yield Create(pt.StringMinLength,e,r,n)}if(errors_IsDefined(e.maxLength)&&!(n.length<=e.maxLength)){yield Create(pt.StringMaxLength,e,r,n)}const s=new RegExp(e.source,e.flags);if(!s.test(n)){return yield Create(pt.RegExp,e,r,n)}}function*errors_FromString(e,t,r,n){if(!IsString(n))return yield Create(pt.String,e,r,n);if(errors_IsDefined(e.minLength)&&!(n.length>=e.minLength)){yield Create(pt.StringMinLength,e,r,n)}if(errors_IsDefined(e.maxLength)&&!(n.length<=e.maxLength)){yield Create(pt.StringMaxLength,e,r,n)}if(IsString(e.pattern)){const t=new RegExp(e.pattern);if(!t.test(n)){yield Create(pt.StringPattern,e,r,n)}}if(IsString(e.format)){if(!Has(e.format)){yield Create(pt.StringFormatUnknown,e,r,n)}else{const t=Get(e.format);if(!t(n)){yield Create(pt.StringFormat,e,r,n)}}}}function*errors_FromSymbol(e,t,r,n){if(!IsSymbol(n))yield Create(pt.Symbol,e,r,n)}function*errors_FromTemplateLiteral(e,t,r,n){if(!IsString(n))return yield Create(pt.String,e,r,n);const s=new RegExp(e.pattern);if(!s.test(n)){yield Create(pt.StringPattern,e,r,n)}}function*errors_FromThis(e,t,r,n){yield*errors_Visit(deref_Deref(e,t),t,r,n)}function*errors_FromTuple(e,t,r,n){if(!IsArray(n))return yield Create(pt.Tuple,e,r,n);if(e.items===undefined&&!(n.length===0)){return yield Create(pt.TupleLength,e,r,n)}if(!(n.length===e.maxItems)){return yield Create(pt.TupleLength,e,r,n)}if(!e.items){return}for(let s=0;snew ValueErrorIterator(errors_Visit(e,t,r,n))));yield Create(pt.Union,e,r,n,s)}function*errors_FromUint8Array(e,t,r,n){if(!IsUint8Array(n))return yield Create(pt.Uint8Array,e,r,n);if(errors_IsDefined(e.maxByteLength)&&!(n.length<=e.maxByteLength)){yield Create(pt.Uint8ArrayMaxByteLength,e,r,n)}if(errors_IsDefined(e.minByteLength)&&!(n.length>=e.minByteLength)){yield Create(pt.Uint8ArrayMinByteLength,e,r,n)}}function*errors_FromUnknown(e,t,r,n){}function*errors_FromVoid(e,t,r,n){if(!l.IsVoidLike(n))yield Create(pt.Void,e,r,n)}function*errors_FromKind(e,t,r,n){const s=type_Get(e[E]);if(!s(e,n))yield Create(pt.Kind,e,r,n)}function*errors_Visit(e,t,r,n){const s=errors_IsDefined(e.$id)?[...t,e]:t;const o=e;switch(o[E]){case"Any":return yield*errors_FromAny(o,s,r,n);case"Array":return yield*errors_FromArray(o,s,r,n);case"AsyncIterator":return yield*errors_FromAsyncIterator(o,s,r,n);case"BigInt":return yield*errors_FromBigInt(o,s,r,n);case"Boolean":return yield*errors_FromBoolean(o,s,r,n);case"Constructor":return yield*errors_FromConstructor(o,s,r,n);case"Date":return yield*errors_FromDate(o,s,r,n);case"Function":return yield*errors_FromFunction(o,s,r,n);case"Import":return yield*errors_FromImport(o,s,r,n);case"Integer":return yield*errors_FromInteger(o,s,r,n);case"Intersect":return yield*errors_FromIntersect(o,s,r,n);case"Iterator":return yield*errors_FromIterator(o,s,r,n);case"Literal":return yield*errors_FromLiteral(o,s,r,n);case"Never":return yield*errors_FromNever(o,s,r,n);case"Not":return yield*errors_FromNot(o,s,r,n);case"Null":return yield*errors_FromNull(o,s,r,n);case"Number":return yield*errors_FromNumber(o,s,r,n);case"Object":return yield*errors_FromObject(o,s,r,n);case"Promise":return yield*errors_FromPromise(o,s,r,n);case"Record":return yield*errors_FromRecord(o,s,r,n);case"Ref":return yield*errors_FromRef(o,s,r,n);case"RegExp":return yield*errors_FromRegExp(o,s,r,n);case"String":return yield*errors_FromString(o,s,r,n);case"Symbol":return yield*errors_FromSymbol(o,s,r,n);case"TemplateLiteral":return yield*errors_FromTemplateLiteral(o,s,r,n);case"This":return yield*errors_FromThis(o,s,r,n);case"Tuple":return yield*errors_FromTuple(o,s,r,n);case"Undefined":return yield*errors_FromUndefined(o,s,r,n);case"Union":return yield*errors_FromUnion(o,s,r,n);case"Uint8Array":return yield*errors_FromUint8Array(o,s,r,n);case"Unknown":return yield*errors_FromUnknown(o,s,r,n);case"Void":return yield*errors_FromVoid(o,s,r,n);default:if(!type_Has(o[E]))throw new ValueErrorsUnknownTypeError(e);return yield*errors_FromKind(o,s,r,n)}}function Errors(...e){const t=e.length===3?errors_Visit(e[0],e[1],"",e[2]):errors_Visit(e[0],[],"",e[1]);return new ValueErrorIterator(t)}function KeyOfPropertyEntries(e){const t=KeyOfPropertyKeys(e);const r=IndexFromPropertyKeys(e,t);return t.map(((e,n)=>[t[n],r[n]]))}class TransformDecodeCheckError extends error_TypeBoxError{constructor(e,t,r){super(`Unable to decode value as it does not match the expected schema`);this.schema=e;this.value=t;this.error=r}}class TransformDecodeError extends error_TypeBoxError{constructor(e,t,r,n){super(n instanceof Error?n.message:"Unknown error");this.schema=e;this.path=t;this.value=r;this.error=n}}function Default(e,t,r){try{return IsTransform(e)?e[p].Decode(r):r}catch(n){throw new TransformDecodeError(e,t,r,n)}}function decode_FromArray(e,t,r,n){return IsArray(n)?Default(e,r,n.map(((n,s)=>decode_Visit(e.items,t,`${r}/${s}`,n)))):Default(e,r,n)}function decode_FromIntersect(e,t,r,n){if(!IsObject(n)||IsValueType(n))return Default(e,r,n);const s=KeyOfPropertyEntries(e);const o=s.map((e=>e[0]));const i={...n};for(const[e,n]of s)if(e in i){i[e]=decode_Visit(n,t,`${r}/${e}`,i[e])}if(!IsTransform(e.unevaluatedProperties)){return Default(e,r,i)}const a=Object.getOwnPropertyNames(i);const A=e.unevaluatedProperties;const c={...i};for(const e of a)if(!o.includes(e)){c[e]=Default(A,`${r}/${e}`,c[e])}return Default(e,r,c)}function decode_FromImport(e,t,r,n){const s=globalThis.Object.values(e.$defs);const o=e.$defs[e.$ref];const i=e[p];const a={[p]:i,...o};return decode_Visit(a,[...t,...s],r,n)}function decode_FromNot(e,t,r,n){return Default(e,r,decode_Visit(e.not,t,r,n))}function decode_FromObject(e,t,r,n){if(!IsObject(n))return Default(e,r,n);const s=KeyOfPropertyKeys(e);const o={...n};for(const n of s){if(!HasPropertyKey(o,n))continue;if(IsUndefined(o[n])&&(!kind_IsUndefined(e.properties[n])||l.IsExactOptionalProperty(o,n)))continue;o[n]=decode_Visit(e.properties[n],t,`${r}/${n}`,o[n])}if(!IsSchema(e.additionalProperties)){return Default(e,r,o)}const i=Object.getOwnPropertyNames(o);const a=e.additionalProperties;const A={...o};for(const e of i)if(!s.includes(e)){A[e]=Default(a,`${r}/${e}`,A[e])}return Default(e,r,A)}function decode_FromRecord(e,t,r,n){if(!IsObject(n))return Default(e,r,n);const s=Object.getOwnPropertyNames(e.patternProperties)[0];const o=new RegExp(s);const i={...n};for(const a of Object.getOwnPropertyNames(n))if(o.test(a)){i[a]=decode_Visit(e.patternProperties[s],t,`${r}/${a}`,i[a])}if(!IsSchema(e.additionalProperties)){return Default(e,r,i)}const a=Object.getOwnPropertyNames(i);const A=e.additionalProperties;const c={...i};for(const e of a)if(!o.test(e)){c[e]=Default(A,`${r}/${e}`,c[e])}return Default(e,r,c)}function decode_FromRef(e,t,r,n){const s=deref_Deref(e,t);return Default(e,r,decode_Visit(s,t,r,n))}function decode_FromThis(e,t,r,n){const s=deref_Deref(e,t);return Default(e,r,decode_Visit(s,t,r,n))}function decode_FromTuple(e,t,r,n){return IsArray(n)&&IsArray(e.items)?Default(e,r,e.items.map(((e,s)=>decode_Visit(e,t,`${r}/${s}`,n[s])))):Default(e,r,n)}function decode_FromUnion(e,t,r,n){for(const s of e.anyOf){if(!Check(s,t,n))continue;const o=decode_Visit(s,t,r,n);return Default(e,r,o)}return Default(e,r,n)}function decode_Visit(e,t,r,n){const s=Pushref(e,t);const o=e;switch(e[E]){case"Array":return decode_FromArray(o,s,r,n);case"Import":return decode_FromImport(o,s,r,n);case"Intersect":return decode_FromIntersect(o,s,r,n);case"Not":return decode_FromNot(o,s,r,n);case"Object":return decode_FromObject(o,s,r,n);case"Record":return decode_FromRecord(o,s,r,n);case"Ref":return decode_FromRef(o,s,r,n);case"Symbol":return Default(o,r,n);case"This":return decode_FromThis(o,s,r,n);case"Tuple":return decode_FromTuple(o,s,r,n);case"Union":return decode_FromUnion(o,s,r,n);default:return Default(o,r,n)}}function TransformDecode(e,t,r){return decode_Visit(e,t,"",r)}function has_FromArray(e,t){return IsTransform(e)||has_Visit(e.items,t)}function has_FromAsyncIterator(e,t){return IsTransform(e)||has_Visit(e.items,t)}function has_FromConstructor(e,t){return IsTransform(e)||has_Visit(e.returns,t)||e.parameters.some((e=>has_Visit(e,t)))}function has_FromFunction(e,t){return IsTransform(e)||has_Visit(e.returns,t)||e.parameters.some((e=>has_Visit(e,t)))}function has_FromIntersect(e,t){return IsTransform(e)||IsTransform(e.unevaluatedProperties)||e.allOf.some((e=>has_Visit(e,t)))}function has_FromIterator(e,t){return IsTransform(e)||has_Visit(e.items,t)}function has_FromNot(e,t){return IsTransform(e)||has_Visit(e.not,t)}function has_FromObject(e,t){return IsTransform(e)||Object.values(e.properties).some((e=>has_Visit(e,t)))||IsSchema(e.additionalProperties)&&has_Visit(e.additionalProperties,t)}function has_FromPromise(e,t){return IsTransform(e)||has_Visit(e.item,t)}function has_FromRecord(e,t){const r=Object.getOwnPropertyNames(e.patternProperties)[0];const n=e.patternProperties[r];return IsTransform(e)||has_Visit(n,t)||IsSchema(e.additionalProperties)&&IsTransform(e.additionalProperties)}function has_FromRef(e,t){if(IsTransform(e))return true;return has_Visit(deref_Deref(e,t),t)}function has_FromThis(e,t){if(IsTransform(e))return true;return has_Visit(deref_Deref(e,t),t)}function has_FromTuple(e,t){return IsTransform(e)||!IsUndefined(e.items)&&e.items.some((e=>has_Visit(e,t)))}function has_FromUnion(e,t){return IsTransform(e)||e.anyOf.some((e=>has_Visit(e,t)))}function has_Visit(e,t){const r=Pushref(e,t);const n=e;if(e.$id&&dt.has(e.$id))return false;if(e.$id)dt.add(e.$id);switch(e[E]){case"Array":return has_FromArray(n,r);case"AsyncIterator":return has_FromAsyncIterator(n,r);case"Constructor":return has_FromConstructor(n,r);case"Function":return has_FromFunction(n,r);case"Intersect":return has_FromIntersect(n,r);case"Iterator":return has_FromIterator(n,r);case"Not":return has_FromNot(n,r);case"Object":return has_FromObject(n,r);case"Promise":return has_FromPromise(n,r);case"Record":return has_FromRecord(n,r);case"Ref":return has_FromRef(n,r);case"This":return has_FromThis(n,r);case"Tuple":return has_FromTuple(n,r);case"Union":return has_FromUnion(n,r);default:return IsTransform(e)}}const dt=new Set;function HasTransform(e,t){dt.clear();return has_Visit(e,t)}function Decode(...e){const[t,r,n]=e.length===3?[e[0],e[1],e[2]]:[e[0],[],e[1]];if(!Check(t,r,n))throw new TransformDecodeCheckError(t,n,Errors(t,r,n).First());return HasTransform(t,r)?TransformDecode(t,r,n):n}function clone_FromObject(e){const t={};for(const r of Object.getOwnPropertyNames(e)){t[r]=clone_Clone(e[r])}for(const r of Object.getOwnPropertySymbols(e)){t[r]=clone_Clone(e[r])}return t}function clone_FromArray(e){return e.map((e=>clone_Clone(e)))}function FromTypedArray(e){return e.slice()}function FromMap(e){return new Map(clone_Clone([...e.entries()]))}function FromSet(e){return new Set(clone_Clone([...e.entries()]))}function clone_FromDate(e){return new Date(e.toISOString())}function clone_FromValue(e){return e}function clone_Clone(e){if(IsArray(e))return clone_FromArray(e);if(IsDate(e))return clone_FromDate(e);if(IsTypedArray(e))return FromTypedArray(e);if(IsMap(e))return FromMap(e);if(IsSet(e))return FromSet(e);if(IsObject(e))return clone_FromObject(e);if(IsValueType(e))return clone_FromValue(e);throw new Error("ValueClone: Unable to clone value")}function ValueOrDefault(e,t){const r=HasPropertyKey(e,"default")?e.default:undefined;const n=IsFunction(r)?r():clone_Clone(r);return IsUndefined(t)?n:IsObject(t)&&IsObject(n)?Object.assign(n,t):t}function HasDefaultProperty(e){return IsKind(e)&&"default"in e}function default_FromArray(e,t,r){if(IsArray(r)){for(let n=0;n{const s=default_Visit(r,t,n);return IsObject(s)?{...e,...s}:s}),{})}function default_FromObject(e,t,r){const n=ValueOrDefault(e,r);if(!IsObject(n))return n;const s=Object.getOwnPropertyNames(e.properties);for(const r of s){const s=default_Visit(e.properties[r],t,n[r]);if(IsUndefined(s))continue;n[r]=default_Visit(e.properties[r],t,n[r])}if(!HasDefaultProperty(e.additionalProperties))return n;for(const r of Object.getOwnPropertyNames(n)){if(s.includes(r))continue;n[r]=default_Visit(e.additionalProperties,t,n[r])}return n}function default_FromRecord(e,t,r){const n=ValueOrDefault(e,r);if(!IsObject(n))return n;const s=e.additionalProperties;const[o,i]=Object.entries(e.patternProperties)[0];const a=new RegExp(o);for(const e of Object.getOwnPropertyNames(n)){if(!(a.test(e)&&HasDefaultProperty(i)))continue;n[e]=default_Visit(i,t,n[e])}if(!HasDefaultProperty(s))return n;for(const e of Object.getOwnPropertyNames(n)){if(a.test(e))continue;n[e]=default_Visit(s,t,n[e])}return n}function default_FromRef(e,t,r){return default_Visit(deref_Deref(e,t),t,ValueOrDefault(e,r))}function default_FromThis(e,t,r){return default_Visit(deref_Deref(e,t),t,r)}function default_FromTuple(e,t,r){const n=ValueOrDefault(e,r);if(!IsArray(n)||IsUndefined(e.items))return n;const[s,o]=[e.items,Math.max(e.items.length,n.length)];for(let e=0;e/g,">").replace(/--/g,"--")}function getPluginOptions(e){return{kernelPublicKey:e?.kernelPublicKey||ft,logLevel:e?.logLevel??i.INFO,postCommentOnError:e?.postCommentOnError??true,settingsSchema:e?.settingsSchema,envSchema:e?.envSchema,commandSchema:e?.commandSchema,bypassSignatureVerification:e?.bypassSignatureVerification||false}}var ht="Ubiquity";async function postComment(e,t){if("issue"in e.payload&&e.payload.repository?.owner?.login){const r=createStructuredMetadata(t.metadata?.name,t);await e.octokit.rest.issues.createComment({owner:e.payload.repository.owner.login,repo:e.payload.repository.name,issue_number:e.payload.issue.number,body:[t.logMessage.diff,r].join("\n")})}else{e.logger.info("Cannot post comment because issue is not found in the payload")}}function createStructuredMetadata(e,t){const r=t.logMessage;const n=t.metadata;const s=sanitizeMetadata(n);const o=t.metadata?.stack;const i=(Array.isArray(o)?o.join("\n"):o)?.split("\n")[2]??"";const a=i.match(/at (\S+)/)?.[1]??"";const A=`\x3c!-- ${ht} - ${e} - ${a} - ${n?.revision}`;let c;const u=["```json",s,"```"].join("\n");const l=[A,s,"--\x3e"].join("\n");if(r?.type==="fatal"){c=[u,l].join("\n")}else{c=l}return`\n${c}\n`}var Et={throttle:{onAbuseLimit:(e,t,r)=>{r.log.warn(`Abuse limit hit with "${t.method} ${t.url}", retrying in ${e} seconds.`);return true},onRateLimit:(e,t,r)=>{r.log.warn(`Rate limit hit with "${t.method} ${t.url}", retrying in ${e} seconds.`);return true},onSecondaryRateLimit:(e,t,r)=>{r.log.warn(`Secondary rate limit hit with "${t.method} ${t.url}", retrying in ${e} seconds.`);return true}}};var mt=Octokit.plugin(throttling,retry,paginateRest,restEndpointMethods,paginateGraphQL).defaults((e=>({...Et,...e})));async function verifySignature(e,t,r){try{const n={stateId:t.stateId,eventName:t.eventName,eventPayload:t.eventPayload,settings:t.settings,authToken:t.authToken,ref:t.ref,command:t.command};const s=e.replace("-----BEGIN PUBLIC KEY-----","").replace("-----END PUBLIC KEY-----","").trim();const o=Uint8Array.from(atob(s),(e=>e.charCodeAt(0)));const i=await crypto.subtle.importKey("spki",o,{name:"RSASSA-PKCS1-v1_5",hash:"SHA-256"},true,["verify"]);const a=Uint8Array.from(atob(r),(e=>e.charCodeAt(0)));const A=(new TextEncoder).encode(JSON.stringify(n));return await crypto.subtle.verify("RSASSA-PKCS1-v1_5",i,a,A)}catch(e){console.error(e);return false}}var It=_.Object({stateId:_.String(),eventName:_.String(),eventPayload:_.Record(_.String(),_.Any()),command:_.Union([_.Null(),_.Object({name:_.String(),parameters:_.Unknown()})]),authToken:_.String(),settings:_.Record(_.String(),_.Any()),ref:_.String(),signature:_.String()});function createPlugin(e,t,r){const n=getPluginOptions(r);const s=new Hono;s.get("/manifest.json",(e=>e.json(t)));s.post("/",(async t=>{if(t.req.header("content-type")!=="application/json"){throw new HTTPException(400,{message:"Content-Type must be application/json"})}const r=await t.req.json();const s=[...Value.Errors(It,r)];if(s.length){console.log(s,{depth:null});throw new HTTPException(400,{message:"Invalid body"})}const o=Value.Decode(It,r);const i=o.signature;if(!n.bypassSignatureVerification&&!await verifySignature(n.kernelPublicKey,o,i)){throw new HTTPException(400,{message:"Invalid signature"})}let a;if(n.settingsSchema){try{a=Value.Decode(n.settingsSchema,Value.Default(n.settingsSchema,o.settings))}catch(e){console.log(...Value.Errors(n.settingsSchema,o.settings),{depth:null});throw e}}else{a=o.settings}let A;const c=honoEnv(t);if(n.envSchema){try{A=Value.Decode(n.envSchema,Value.Default(n.envSchema,c))}catch(e){console.log(...Value.Errors(n.envSchema,c),{depth:null});throw e}}else{A=t.env}let u=null;if(o.command&&n.commandSchema){try{u=Value.Decode(n.commandSchema,Value.Default(n.commandSchema,o.command))}catch(e){console.log(...Value.Errors(n.commandSchema,o.command),{depth:null});throw e}}else if(o.command){u=o.command}const l={eventName:o.eventName,payload:o.eventPayload,command:u,octokit:new mt({auth:o.authToken}),config:a,env:A,logger:new Logs(n.logLevel)};try{const r=await e(l);return t.json({stateId:o.stateId,output:r??{}})}catch(e){console.error(e);let t;if(e instanceof Error){t=l.logger.error(`Error: ${e}`,{error:e})}else if(e instanceof LogReturn2){t=e}else{t=l.logger.error(`Error: ${e}`)}if(n.postCommentOnError&&t){await postComment(l,t)}throw new HTTPException(500,{message:"Unexpected error"})}}));return s}var yt=_.Union([_.Null(),_.Object({name:_.String(),parameters:_.Unknown()})]);function jsonType(e){return _.Transform(_.String()).Decode((t=>{const r=JSON.parse(t);return Decode(e,default_Default(e,r))})).Encode((e=>JSON.stringify(e)))}(0,gt.config)();var Ct=_.Object({stateId:_.String(),eventName:_.String(),eventPayload:jsonType(_.Record(_.String(),_.Any())),command:jsonType(yt),authToken:_.String(),settings:jsonType(_.Record(_.String(),_.Any())),ref:_.String(),signature:_.String()});async function createActionsPlugin(e,t){const r=getPluginOptions(t);const n=process.env.PLUGIN_GITHUB_TOKEN;if(!n){Xe.setFailed("Error: PLUGIN_GITHUB_TOKEN env is not set");return}const s=et.context.payload.inputs;const o=s.signature;if(!r.bypassSignatureVerification&&!await verifySignature(r.kernelPublicKey,s,o)){Xe.setFailed(`Error: Invalid signature`);return}const i=et.context.payload.inputs;const a=[...Errors(Ct,i)];if(a.length){console.dir(a,{depth:null});Xe.setFailed(`Error: Invalid inputs payload: ${a.join(",")}`);return}const u=Decode(Ct,i);let l;if(r.settingsSchema){try{l=Decode(r.settingsSchema,default_Default(r.settingsSchema,u.settings))}catch(e){console.dir(...Errors(r.settingsSchema,u.settings),{depth:null});throw e}}else{l=u.settings}let p;if(r.envSchema){try{p=Decode(r.envSchema,default_Default(r.envSchema,process.env))}catch(e){console.dir(...Errors(r.envSchema,process.env),{depth:null});throw e}}else{p=process.env}let d=null;if(u.command&&r.commandSchema){try{d=Decode(r.commandSchema,default_Default(r.commandSchema,u.command))}catch(e){console.dir(...Errors(r.commandSchema,u.command),{depth:null});throw e}}else if(u.command){d=u.command}const g={eventName:u.eventName,payload:u.eventPayload,command:d,octokit:new mt({auth:u.authToken}),config:l,env:p,logger:new c(r.logLevel)};try{const t=await e(g);Xe.setOutput("result",t);await returnDataToKernel(n,u.stateId,t)}catch(e){console.error(e);let t;if(e instanceof Error){Xe.setFailed(e);t=g.logger.error(`Error: ${e}`,{error:e})}else if(e instanceof A){Xe.setFailed(e.logMessage.raw);t=e}else{Xe.setFailed(`Error: ${e}`);t=g.logger.error(`Error: ${e}`)}if(r.postCommentOnError&&t){await postErrorComment(g,t)}}}async function postErrorComment(e,t){if("issue"in e.payload&&e.payload.repository?.owner?.login){await e.octokit.rest.issues.createComment({owner:e.payload.repository.owner.login,repo:e.payload.repository.name,issue_number:e.payload.issue.number,body:`${t.logMessage.diff}\n\x3c!--\n${getGithubWorkflowRunUrl()}\n${sanitizeMetadata(t.metadata)}\n--\x3e`})}else{e.logger.info("Cannot post error comment because issue is not found in the payload")}}function getGithubWorkflowRunUrl(){return`${et.context.payload.repository?.html_url}/actions/runs/${et.context.runId}`}async function returnDataToKernel(e,t,r){const n=new mt({auth:e});await n.rest.repos.createDispatchEvent({owner:et.context.repo.owner,repo:et.context.repo.repo,event_type:"return-data-to-ubiquity-os-kernel",client_payload:{state_id:t,output:r?JSON.stringify(r):null}})}function formatMillisecondsToHumanReadable(e){if(e<=0){return"< 1 minute"}const t=Math.floor(e/(1e3*60*60*24));const r=Math.floor(e%(1e3*60*60*24)/(1e3*60*60));const n=Math.floor(e%(1e3*60*60)/(1e3*60));const s=[];if(t>0){s.push(`${t} ${t===1?"day":"days"}`)}if(r>0){s.push(`${r} ${r===1?"hour":"hours"}`)}if(n>0){s.push(`${n} ${n===1?"minute":"minutes"}`)}if(s.length===0){return"< 1 minute"}if(s.length===1){return s[0]}else if(s.length===2){return`${s[0]} and ${s[1]}`}else{return`${s[0]}, ${s[1]}, and ${s[2]}`}}async function getWatchedRepos(e){const{config:{watch:{optOut:t}}}=e;const r=new Set;const n=e.payload.repository.owner?.login;if(!n){throw new Error("No owner found in the payload")}const s=await getReposForOrg(e,n);s.forEach((e=>r.add(e.name.toLowerCase())));for(const e of t){r.forEach((t=>t.includes(e)?r.delete(t):null))}return Array.from(r).map((e=>s.find((t=>t.name.toLowerCase()===e)))).filter((e=>e!==undefined))}async function getReposForOrg(e,t){const{octokit:r}=e;try{return await r.paginate(r.rest.repos.listForOrg,{org:t,per_page:100})}catch(e){throw new Error(`Error getting repositories for org ${t}: `+JSON.stringify(e))}}class LuxonError extends Error{}class InvalidDateTimeError extends LuxonError{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class InvalidIntervalError extends LuxonError{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class InvalidDurationError extends LuxonError{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class ConflictingSpecificationError extends LuxonError{}class InvalidUnitError extends LuxonError{constructor(e){super(`Invalid unit ${e}`)}}class InvalidArgumentError extends LuxonError{}class ZoneIsAbstractError extends LuxonError{constructor(){super("Zone is an abstract class")}}const Qt="numeric",Bt="short",bt="long";const Tt={year:Qt,month:Qt,day:Qt};const wt={year:Qt,month:Bt,day:Qt};const vt={year:Qt,month:Bt,day:Qt,weekday:Bt};const Rt={year:Qt,month:bt,day:Qt};const kt={year:Qt,month:bt,day:Qt,weekday:bt};const Dt={hour:Qt,minute:Qt};const _t={hour:Qt,minute:Qt,second:Qt};const St={hour:Qt,minute:Qt,second:Qt,timeZoneName:Bt};const Ft={hour:Qt,minute:Qt,second:Qt,timeZoneName:bt};const Nt={hour:Qt,minute:Qt,hourCycle:"h23"};const Ot={hour:Qt,minute:Qt,second:Qt,hourCycle:"h23"};const Lt={hour:Qt,minute:Qt,second:Qt,hourCycle:"h23",timeZoneName:Bt};const Ut={hour:Qt,minute:Qt,second:Qt,hourCycle:"h23",timeZoneName:bt};const Gt={year:Qt,month:Qt,day:Qt,hour:Qt,minute:Qt};const Pt={year:Qt,month:Qt,day:Qt,hour:Qt,minute:Qt,second:Qt};const Mt={year:Qt,month:Bt,day:Qt,hour:Qt,minute:Qt};const xt={year:Qt,month:Bt,day:Qt,hour:Qt,minute:Qt,second:Qt};const Vt={year:Qt,month:Bt,day:Qt,weekday:Bt,hour:Qt,minute:Qt};const jt={year:Qt,month:bt,day:Qt,hour:Qt,minute:Qt,timeZoneName:Bt};const Ht={year:Qt,month:bt,day:Qt,hour:Qt,minute:Qt,second:Qt,timeZoneName:Bt};const Yt={year:Qt,month:bt,day:Qt,weekday:bt,hour:Qt,minute:Qt,timeZoneName:bt};const qt={year:Qt,month:bt,day:Qt,weekday:bt,hour:Qt,minute:Qt,second:Qt,timeZoneName:bt};class Zone{get type(){throw new ZoneIsAbstractError}get name(){throw new ZoneIsAbstractError}get ianaName(){return this.name}get isUniversal(){throw new ZoneIsAbstractError}offsetName(e,t){throw new ZoneIsAbstractError}formatOffset(e,t){throw new ZoneIsAbstractError}offset(e){throw new ZoneIsAbstractError}equals(e){throw new ZoneIsAbstractError}get isValid(){throw new ZoneIsAbstractError}}let Jt=null;class SystemZone extends Zone{static get instance(){if(Jt===null){Jt=new SystemZone}return Jt}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return false}offsetName(e,{format:t,locale:r}){return parseZoneInfo(e,t,r)}formatOffset(e,t){return formatOffset(this.offset(e),t)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return true}}let Wt={};function makeDTF(e){if(!Wt[e]){Wt[e]=new Intl.DateTimeFormat("en-US",{hour12:false,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})}return Wt[e]}const Kt={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function hackyOffset(e,t){const r=e.format(t).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r),[,s,o,i,a,A,c,u]=n;return[i,s,o,a,A,c,u]}function partsOffset(e,t){const r=e.formatToParts(t);const n=[];for(let e=0;e=0?d:1e3+d;return(l-p)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}}let zt={};function getCachedLF(e,t={}){const r=JSON.stringify([e,t]);let n=zt[r];if(!n){n=new Intl.ListFormat(e,t);zt[r]=n}return n}let Zt={};function getCachedDTF(e,t={}){const r=JSON.stringify([e,t]);let n=Zt[r];if(!n){n=new Intl.DateTimeFormat(e,t);Zt[r]=n}return n}let Xt={};function getCachedINF(e,t={}){const r=JSON.stringify([e,t]);let n=Xt[r];if(!n){n=new Intl.NumberFormat(e,t);Xt[r]=n}return n}let er={};function getCachedRTF(e,t={}){const{base:r,...n}=t;const s=JSON.stringify([e,n]);let o=er[s];if(!o){o=new Intl.RelativeTimeFormat(e,t);er[s]=o}return o}let tr=null;function systemLocale(){if(tr){return tr}else{tr=(new Intl.DateTimeFormat).resolvedOptions().locale;return tr}}let rr={};function getCachedWeekInfo(e){let t=rr[e];if(!t){const r=new Intl.Locale(e);t="getWeekInfo"in r?r.getWeekInfo():r.weekInfo;rr[e]=t}return t}function parseLocaleString(e){const t=e.indexOf("-x-");if(t!==-1){e=e.substring(0,t)}const r=e.indexOf("-u-");if(r===-1){return[e]}else{let t;let n;try{t=getCachedDTF(e).resolvedOptions();n=e}catch(s){const o=e.substring(0,r);t=getCachedDTF(o).resolvedOptions();n=o}const{numberingSystem:s,calendar:o}=t;return[n,s,o]}}function intlConfigString(e,t,r){if(r||t){if(!e.includes("-u-")){e+="-u"}if(r){e+=`-ca-${r}`}if(t){e+=`-nu-${t}`}return e}else{return e}}function mapMonths(e){const t=[];for(let r=1;r<=12;r++){const n=DateTime.utc(2009,r,1);t.push(e(n))}return t}function mapWeekdays(e){const t=[];for(let r=1;r<=7;r++){const n=DateTime.utc(2016,11,13+r);t.push(e(n))}return t}function listStuff(e,t,r,n){const s=e.listingMode();if(s==="error"){return null}else if(s==="en"){return r(t)}else{return n(t)}}function supportsFastNumbers(e){if(e.numberingSystem&&e.numberingSystem!=="latn"){return false}else{return e.numberingSystem==="latn"||!e.locale||e.locale.startsWith("en")||new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem==="latn"}}class PolyNumberFormatter{constructor(e,t,r){this.padTo=r.padTo||0;this.floor=r.floor||false;const{padTo:n,floor:s,...o}=r;if(!t||Object.keys(o).length>0){const t={useGrouping:false,...r};if(r.padTo>0)t.minimumIntegerDigits=r.padTo;this.inf=getCachedINF(e,t)}}format(e){if(this.inf){const t=this.floor?Math.floor(e):e;return this.inf.format(t)}else{const t=this.floor?Math.floor(e):roundTo(e,3);return padStart(t,this.padTo)}}}class PolyDateFormatter{constructor(e,t,r){this.opts=r;this.originalZone=undefined;let n=undefined;if(this.opts.timeZone){this.dt=e}else if(e.zone.type==="fixed"){const t=-1*(e.offset/60);const r=t>=0?`Etc/GMT+${t}`:`Etc/GMT${t}`;if(e.offset!==0&&IANAZone.create(r).valid){n=r;this.dt=e}else{n="UTC";this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset});this.originalZone=e.zone}}else if(e.zone.type==="system"){this.dt=e}else if(e.zone.type==="iana"){this.dt=e;n=e.zone.name}else{n="UTC";this.dt=e.setZone("UTC").plus({minutes:e.offset});this.originalZone=e.zone}const s={...this.opts};s.timeZone=s.timeZone||n;this.dtf=getCachedDTF(t,s)}format(){if(this.originalZone){return this.formatToParts().map((({value:e})=>e)).join("")}return this.dtf.format(this.dt.toJSDate())}formatToParts(){const e=this.dtf.formatToParts(this.dt.toJSDate());if(this.originalZone){return e.map((e=>{if(e.type==="timeZoneName"){const t=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...e,value:t}}else{return e}}))}return e}resolvedOptions(){return this.dtf.resolvedOptions()}}class PolyRelFormatter{constructor(e,t,r){this.opts={style:"long",...r};if(!t&&hasRelative()){this.rtf=getCachedRTF(e,r)}}format(e,t){if(this.rtf){return this.rtf.format(e,t)}else{return formatRelativeTime(t,e,this.opts.numeric,this.opts.style!=="long")}}formatToParts(e,t){if(this.rtf){return this.rtf.formatToParts(e,t)}else{return[]}}}const nr={firstDay:1,minimalDays:4,weekend:[6,7]};class Locale{static fromOpts(e){return Locale.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,t,r,n,s=false){const o=e||Settings.defaultLocale;const i=o||(s?"en-US":systemLocale());const a=t||Settings.defaultNumberingSystem;const A=r||Settings.defaultOutputCalendar;const c=validateWeekSettings(n)||Settings.defaultWeekSettings;return new Locale(i,a,A,c,o)}static resetCache(){tr=null;Zt={};Xt={};er={}}static fromObject({locale:e,numberingSystem:t,outputCalendar:r,weekSettings:n}={}){return Locale.create(e,t,r,n)}constructor(e,t,r,n,s){const[o,i,a]=parseLocaleString(e);this.locale=o;this.numberingSystem=t||i||null;this.outputCalendar=r||a||null;this.weekSettings=n;this.intl=intlConfigString(this.locale,this.numberingSystem,this.outputCalendar);this.weekdaysCache={format:{},standalone:{}};this.monthsCache={format:{},standalone:{}};this.meridiemCache=null;this.eraCache={};this.specifiedLocale=s;this.fastNumbersCached=null}get fastNumbers(){if(this.fastNumbersCached==null){this.fastNumbersCached=supportsFastNumbers(this)}return this.fastNumbersCached}listingMode(){const e=this.isEnglish();const t=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&t?"en":"intl"}clone(e){if(!e||Object.getOwnPropertyNames(e).length===0){return this}else{return Locale.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,validateWeekSettings(e.weekSettings)||this.weekSettings,e.defaultToEN||false)}}redefaultToEN(e={}){return this.clone({...e,defaultToEN:true})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:false})}months(e,t=false){return listStuff(this,e,months,(()=>{const r=t?{month:e,day:"numeric"}:{month:e},n=t?"format":"standalone";if(!this.monthsCache[n][e]){this.monthsCache[n][e]=mapMonths((e=>this.extract(e,r,"month")))}return this.monthsCache[n][e]}))}weekdays(e,t=false){return listStuff(this,e,weekdays,(()=>{const r=t?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},n=t?"format":"standalone";if(!this.weekdaysCache[n][e]){this.weekdaysCache[n][e]=mapWeekdays((e=>this.extract(e,r,"weekday")))}return this.weekdaysCache[n][e]}))}meridiems(){return listStuff(this,undefined,(()=>yr),(()=>{if(!this.meridiemCache){const e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[DateTime.utc(2016,11,13,9),DateTime.utc(2016,11,13,19)].map((t=>this.extract(t,e,"dayperiod")))}return this.meridiemCache}))}eras(e){return listStuff(this,e,eras,(()=>{const t={era:e};if(!this.eraCache[e]){this.eraCache[e]=[DateTime.utc(-40,1,1),DateTime.utc(2017,1,1)].map((e=>this.extract(e,t,"era")))}return this.eraCache[e]}))}extract(e,t,r){const n=this.dtFormatter(e,t),s=n.formatToParts(),o=s.find((e=>e.type.toLowerCase()===r));return o?o.value:null}numberFormatter(e={}){return new PolyNumberFormatter(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,t={}){return new PolyDateFormatter(e,this.intl,t)}relFormatter(e={}){return new PolyRelFormatter(this.intl,this.isEnglish(),e)}listFormatter(e={}){return getCachedLF(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){if(this.weekSettings){return this.weekSettings}else if(!hasLocaleWeekInfo()){return nr}else{return getCachedWeekInfo(this.locale)}}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}}let sr=null;class FixedOffsetZone extends Zone{static get utcInstance(){if(sr===null){sr=new FixedOffsetZone(0)}return sr}static instance(e){return e===0?FixedOffsetZone.utcInstance:new FixedOffsetZone(e)}static parseSpecifier(e){if(e){const t=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(t){return new FixedOffsetZone(signedOffset(t[1],t[2]))}}return null}constructor(e){super();this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${formatOffset(this.fixed,"narrow")}`}get ianaName(){if(this.fixed===0){return"Etc/UTC"}else{return`Etc/GMT${formatOffset(-this.fixed,"narrow")}`}}offsetName(){return this.name}formatOffset(e,t){return formatOffset(this.fixed,t)}get isUniversal(){return true}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return true}}class InvalidZone extends Zone{constructor(e){super();this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return false}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return false}get isValid(){return false}}function normalizeZone(e,t){let r;if(isUndefined(e)||e===null){return t}else if(e instanceof Zone){return e}else if(isString(e)){const r=e.toLowerCase();if(r==="default")return t;else if(r==="local"||r==="system")return SystemZone.instance;else if(r==="utc"||r==="gmt")return FixedOffsetZone.utcInstance;else return FixedOffsetZone.parseSpecifier(r)||IANAZone.create(e)}else if(isNumber(e)){return FixedOffsetZone.instance(e)}else if(typeof e==="object"&&"offset"in e&&typeof e.offset==="function"){return e}else{return new InvalidZone(e)}}let now=()=>Date.now(),or="system",ir=null,ar=null,Ar=null,cr=60,ur,lr=null;class Settings{static get now(){return now}static set now(e){now=e}static set defaultZone(e){or=e}static get defaultZone(){return normalizeZone(or,SystemZone.instance)}static get defaultLocale(){return ir}static set defaultLocale(e){ir=e}static get defaultNumberingSystem(){return ar}static set defaultNumberingSystem(e){ar=e}static get defaultOutputCalendar(){return Ar}static set defaultOutputCalendar(e){Ar=e}static get defaultWeekSettings(){return lr}static set defaultWeekSettings(e){lr=validateWeekSettings(e)}static get twoDigitCutoffYear(){return cr}static set twoDigitCutoffYear(e){cr=e%100}static get throwOnInvalid(){return ur}static set throwOnInvalid(e){ur=e}static resetCaches(){Locale.resetCache();IANAZone.resetCache()}}class Invalid{constructor(e,t){this.reason=e;this.explanation=t}toMessage(){if(this.explanation){return`${this.reason}: ${this.explanation}`}else{return this.reason}}}const pr=[0,31,59,90,120,151,181,212,243,273,304,334],dr=[0,31,60,91,121,152,182,213,244,274,305,335];function unitOutOfRange(e,t){return new Invalid("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function dayOfWeek(e,t,r){const n=new Date(Date.UTC(e,t-1,r));if(e<100&&e>=0){n.setUTCFullYear(n.getUTCFullYear()-1900)}const s=n.getUTCDay();return s===0?7:s}function computeOrdinal(e,t,r){return r+(isLeapYear(e)?dr:pr)[t-1]}function uncomputeOrdinal(e,t){const r=isLeapYear(e)?dr:pr,n=r.findIndex((e=>eweeksInWeekYear(n,t,r)){c=n+1;A=1}else{c=n}return{weekYear:c,weekNumber:A,weekday:a,...timeObject(e)}}function weekToGregorian(e,t=4,r=1){const{weekYear:n,weekNumber:s,weekday:o}=e,i=isoWeekdayToLocal(dayOfWeek(n,1,t),r),a=daysInYear(n);let A=s*7+o-i-7+t,c;if(A<1){c=n-1;A+=daysInYear(c)}else if(A>a){c=n+1;A-=daysInYear(n)}else{c=n}const{month:u,day:l}=uncomputeOrdinal(c,A);return{year:c,month:u,day:l,...timeObject(e)}}function gregorianToOrdinal(e){const{year:t,month:r,day:n}=e;const s=computeOrdinal(t,r,n);return{year:t,ordinal:s,...timeObject(e)}}function ordinalToGregorian(e){const{year:t,ordinal:r}=e;const{month:n,day:s}=uncomputeOrdinal(t,r);return{year:t,month:n,day:s,...timeObject(e)}}function usesLocalWeekValues(e,t){const r=!isUndefined(e.localWeekday)||!isUndefined(e.localWeekNumber)||!isUndefined(e.localWeekYear);if(r){const r=!isUndefined(e.weekday)||!isUndefined(e.weekNumber)||!isUndefined(e.weekYear);if(r){throw new ConflictingSpecificationError("Cannot mix locale-based week fields with ISO-based week fields")}if(!isUndefined(e.localWeekday))e.weekday=e.localWeekday;if(!isUndefined(e.localWeekNumber))e.weekNumber=e.localWeekNumber;if(!isUndefined(e.localWeekYear))e.weekYear=e.localWeekYear;delete e.localWeekday;delete e.localWeekNumber;delete e.localWeekYear;return{minDaysInFirstWeek:t.getMinDaysInFirstWeek(),startOfWeek:t.getStartOfWeek()}}else{return{minDaysInFirstWeek:4,startOfWeek:1}}}function hasInvalidWeekData(e,t=4,r=1){const n=isInteger(e.weekYear),s=integerBetween(e.weekNumber,1,weeksInWeekYear(e.weekYear,t,r)),o=integerBetween(e.weekday,1,7);if(!n){return unitOutOfRange("weekYear",e.weekYear)}else if(!s){return unitOutOfRange("week",e.weekNumber)}else if(!o){return unitOutOfRange("weekday",e.weekday)}else return false}function hasInvalidOrdinalData(e){const t=isInteger(e.year),r=integerBetween(e.ordinal,1,daysInYear(e.year));if(!t){return unitOutOfRange("year",e.year)}else if(!r){return unitOutOfRange("ordinal",e.ordinal)}else return false}function hasInvalidGregorianData(e){const t=isInteger(e.year),r=integerBetween(e.month,1,12),n=integerBetween(e.day,1,daysInMonth(e.year,e.month));if(!t){return unitOutOfRange("year",e.year)}else if(!r){return unitOutOfRange("month",e.month)}else if(!n){return unitOutOfRange("day",e.day)}else return false}function hasInvalidTimeData(e){const{hour:t,minute:r,second:n,millisecond:s}=e;const o=integerBetween(t,0,23)||t===24&&r===0&&n===0&&s===0,i=integerBetween(r,0,59),a=integerBetween(n,0,59),A=integerBetween(s,0,999);if(!o){return unitOutOfRange("hour",t)}else if(!i){return unitOutOfRange("minute",r)}else if(!a){return unitOutOfRange("second",n)}else if(!A){return unitOutOfRange("millisecond",s)}else return false}function isUndefined(e){return typeof e==="undefined"}function isNumber(e){return typeof e==="number"}function isInteger(e){return typeof e==="number"&&e%1===0}function isString(e){return typeof e==="string"}function isDate(e){return Object.prototype.toString.call(e)==="[object Date]"}function hasRelative(){try{return typeof Intl!=="undefined"&&!!Intl.RelativeTimeFormat}catch(e){return false}}function hasLocaleWeekInfo(){try{return typeof Intl!=="undefined"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(e){return false}}function maybeArray(e){return Array.isArray(e)?e:[e]}function bestBy(e,t,r){if(e.length===0){return undefined}return e.reduce(((e,n)=>{const s=[t(n),n];if(!e){return s}else if(r(e[0],s[0])===e[0]){return e}else{return s}}),null)[1]}function util_pick(e,t){return t.reduce(((t,r)=>{t[r]=e[r];return t}),{})}function util_hasOwnProperty(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function validateWeekSettings(e){if(e==null){return null}else if(typeof e!=="object"){throw new InvalidArgumentError("Week settings must be an object")}else{if(!integerBetween(e.firstDay,1,7)||!integerBetween(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some((e=>!integerBetween(e,1,7)))){throw new InvalidArgumentError("Invalid week settings")}return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}}function integerBetween(e,t,r){return isInteger(e)&&e>=t&&e<=r}function floorMod(e,t){return e-t*Math.floor(e/t)}function padStart(e,t=2){const r=e<0;let n;if(r){n="-"+(""+-e).padStart(t,"0")}else{n=(""+e).padStart(t,"0")}return n}function parseInteger(e){if(isUndefined(e)||e===null||e===""){return undefined}else{return parseInt(e,10)}}function parseFloating(e){if(isUndefined(e)||e===null||e===""){return undefined}else{return parseFloat(e)}}function parseMillis(e){if(isUndefined(e)||e===null||e===""){return undefined}else{const t=parseFloat("0."+e)*1e3;return Math.floor(t)}}function roundTo(e,t,r=false){const n=10**t,s=r?Math.trunc:Math.round;return s(e*n)/n}function isLeapYear(e){return e%4===0&&(e%100!==0||e%400===0)}function daysInYear(e){return isLeapYear(e)?366:365}function daysInMonth(e,t){const r=floorMod(t-1,12)+1,n=e+(t-r)/12;if(r===2){return isLeapYear(n)?29:28}else{return[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}}function objToLocalTS(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);if(e.year<100&&e.year>=0){t=new Date(t);t.setUTCFullYear(e.year,e.month-1,e.day)}return+t}function firstWeekOffset(e,t,r){const n=isoWeekdayToLocal(dayOfWeek(e,1,t),r);return-n+t-1}function weeksInWeekYear(e,t=4,r=1){const n=firstWeekOffset(e,t,r);const s=firstWeekOffset(e+1,t,r);return(daysInYear(e)-n+s)/7}function untruncateYear(e){if(e>99){return e}else return e>Settings.twoDigitCutoffYear?1900+e:2e3+e}function parseZoneInfo(e,t,r,n=null){const s=new Date(e),o={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};if(n){o.timeZone=n}const i={timeZoneName:t,...o};const a=new Intl.DateTimeFormat(r,i).formatToParts(s).find((e=>e.type.toLowerCase()==="timezonename"));return a?a.value:null}function signedOffset(e,t){let r=parseInt(e,10);if(Number.isNaN(r)){r=0}const n=parseInt(t,10)||0,s=r<0||Object.is(r,-0)?-n:n;return r*60+s}function asNumber(e){const t=Number(e);if(typeof e==="boolean"||e===""||Number.isNaN(t))throw new InvalidArgumentError(`Invalid unit value ${e}`);return t}function normalizeObject(e,t){const r={};for(const n in e){if(util_hasOwnProperty(e,n)){const s=e[n];if(s===undefined||s===null)continue;r[t(n)]=asNumber(s)}}return r}function formatOffset(e,t){const r=Math.trunc(Math.abs(e/60)),n=Math.trunc(Math.abs(e%60)),s=e>=0?"+":"-";switch(t){case"short":return`${s}${padStart(r,2)}:${padStart(n,2)}`;case"narrow":return`${s}${r}${n>0?`:${n}`:""}`;case"techie":return`${s}${padStart(r,2)}${padStart(n,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function timeObject(e){return util_pick(e,["hour","minute","second","millisecond"])}function stringify(e){return JSON.stringify(e,Object.keys(e).sort())}const gr=["January","February","March","April","May","June","July","August","September","October","November","December"];const fr=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];const hr=["J","F","M","A","M","J","J","A","S","O","N","D"];function months(e){switch(e){case"narrow":return[...hr];case"short":return[...fr];case"long":return[...gr];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Er=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"];const mr=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"];const Ir=["M","T","W","T","F","S","S"];function weekdays(e){switch(e){case"narrow":return[...Ir];case"short":return[...mr];case"long":return[...Er];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const yr=["AM","PM"];const Cr=["Before Christ","Anno Domini"];const Qr=["BC","AD"];const Br=["B","A"];function eras(e){switch(e){case"narrow":return[...Br];case"short":return[...Qr];case"long":return[...Cr];default:return null}}function meridiemForDateTime(e){return yr[e.hour<12?0:1]}function weekdayForDateTime(e,t){return weekdays(t)[e.weekday-1]}function monthForDateTime(e,t){return months(t)[e.month-1]}function eraForDateTime(e,t){return eras(t)[e.year<0?0:1]}function formatRelativeTime(e,t,r="always",n=false){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]};const o=["hours","minutes","seconds"].indexOf(e)===-1;if(r==="auto"&&o){const r=e==="days";switch(t){case 1:return r?"tomorrow":`next ${s[e][0]}`;case-1:return r?"yesterday":`last ${s[e][0]}`;case 0:return r?"today":`this ${s[e][0]}`;default:}}const i=Object.is(t,-0)||t<0,a=Math.abs(t),A=a===1,c=s[e],u=n?A?c[1]:c[2]||c[1]:A?s[e][0]:e;return i?`${a} ${u} ago`:`in ${a} ${u}`}function formatString(e){const t=pick(e,["weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle"]),r=stringify(t),n="EEEE, LLLL d, yyyy, h:mm a";switch(r){case stringify(Formats.DATE_SHORT):return"M/d/yyyy";case stringify(Formats.DATE_MED):return"LLL d, yyyy";case stringify(Formats.DATE_MED_WITH_WEEKDAY):return"EEE, LLL d, yyyy";case stringify(Formats.DATE_FULL):return"LLLL d, yyyy";case stringify(Formats.DATE_HUGE):return"EEEE, LLLL d, yyyy";case stringify(Formats.TIME_SIMPLE):return"h:mm a";case stringify(Formats.TIME_WITH_SECONDS):return"h:mm:ss a";case stringify(Formats.TIME_WITH_SHORT_OFFSET):return"h:mm a";case stringify(Formats.TIME_WITH_LONG_OFFSET):return"h:mm a";case stringify(Formats.TIME_24_SIMPLE):return"HH:mm";case stringify(Formats.TIME_24_WITH_SECONDS):return"HH:mm:ss";case stringify(Formats.TIME_24_WITH_SHORT_OFFSET):return"HH:mm";case stringify(Formats.TIME_24_WITH_LONG_OFFSET):return"HH:mm";case stringify(Formats.DATETIME_SHORT):return"M/d/yyyy, h:mm a";case stringify(Formats.DATETIME_MED):return"LLL d, yyyy, h:mm a";case stringify(Formats.DATETIME_FULL):return"LLLL d, yyyy, h:mm a";case stringify(Formats.DATETIME_HUGE):return n;case stringify(Formats.DATETIME_SHORT_WITH_SECONDS):return"M/d/yyyy, h:mm:ss a";case stringify(Formats.DATETIME_MED_WITH_SECONDS):return"LLL d, yyyy, h:mm:ss a";case stringify(Formats.DATETIME_MED_WITH_WEEKDAY):return"EEE, d LLL yyyy, h:mm a";case stringify(Formats.DATETIME_FULL_WITH_SECONDS):return"LLLL d, yyyy, h:mm:ss a";case stringify(Formats.DATETIME_HUGE_WITH_SECONDS):return"EEEE, LLLL d, yyyy, h:mm:ss a";default:return n}}function stringifyTokens(e,t){let r="";for(const n of e){if(n.literal){r+=n.val}else{r+=t(n.val)}}return r}const br={D:Tt,DD:wt,DDD:Rt,DDDD:kt,t:Dt,tt:_t,ttt:St,tttt:Ft,T:Nt,TT:Ot,TTT:Lt,TTTT:Ut,f:Gt,ff:Mt,fff:jt,ffff:Yt,F:Pt,FF:xt,FFF:Ht,FFFF:qt};class Formatter{static create(e,t={}){return new Formatter(e,t)}static parseFormat(e){let t=null,r="",n=false;const s=[];for(let o=0;o0){s.push({literal:n||/^\s+$/.test(r),val:r})}t=null;r="";n=!n}else if(n){r+=i}else if(i===t){r+=i}else{if(r.length>0){s.push({literal:/^\s+$/.test(r),val:r})}r=i;t=i}}if(r.length>0){s.push({literal:n||/^\s+$/.test(r),val:r})}return s}static macroTokenToFormatOpts(e){return br[e]}constructor(e,t){this.opts=t;this.loc=e;this.systemLoc=null}formatWithSystemDefault(e,t){if(this.systemLoc===null){this.systemLoc=this.loc.redefaultToSystem()}const r=this.systemLoc.dtFormatter(e,{...this.opts,...t});return r.format()}dtFormatter(e,t={}){return this.loc.dtFormatter(e,{...this.opts,...t})}formatDateTime(e,t){return this.dtFormatter(e,t).format()}formatDateTimeParts(e,t){return this.dtFormatter(e,t).formatToParts()}formatInterval(e,t){const r=this.dtFormatter(e.start,t);return r.dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,t){return this.dtFormatter(e,t).resolvedOptions()}num(e,t=0){if(this.opts.forceSimple){return padStart(e,t)}const r={...this.opts};if(t>0){r.padTo=t}return this.loc.numberFormatter(r).format(e)}formatDateTimeFromString(e,t){const r=this.loc.listingMode()==="en",n=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",string=(t,r)=>this.loc.extract(e,t,r),formatOffset=t=>{if(e.isOffsetFixed&&e.offset===0&&t.allowZ){return"Z"}return e.isValid?e.zone.formatOffset(e.ts,t.format):""},meridiem=()=>r?meridiemForDateTime(e):string({hour:"numeric",hourCycle:"h12"},"dayperiod"),month=(t,n)=>r?monthForDateTime(e,t):string(n?{month:t}:{month:t,day:"numeric"},"month"),weekday=(t,n)=>r?weekdayForDateTime(e,t):string(n?{weekday:t}:{weekday:t,month:"long",day:"numeric"},"weekday"),maybeMacro=t=>{const r=Formatter.macroTokenToFormatOpts(t);if(r){return this.formatWithSystemDefault(e,r)}else{return t}},era=t=>r?eraForDateTime(e,t):string({era:t},"era"),tokenToString=t=>{switch(t){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12===0?12:e.hour%12);case"hh":return this.num(e.hour%12===0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return formatOffset({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return formatOffset({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return formatOffset({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return meridiem();case"d":return n?string({day:"numeric"},"day"):this.num(e.day);case"dd":return n?string({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return weekday("short",true);case"cccc":return weekday("long",true);case"ccccc":return weekday("narrow",true);case"E":return this.num(e.weekday);case"EEE":return weekday("short",false);case"EEEE":return weekday("long",false);case"EEEEE":return weekday("narrow",false);case"L":return n?string({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return n?string({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return month("short",true);case"LLLL":return month("long",true);case"LLLLL":return month("narrow",true);case"M":return n?string({month:"numeric"},"month"):this.num(e.month);case"MM":return n?string({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return month("short",false);case"MMMM":return month("long",false);case"MMMMM":return month("narrow",false);case"y":return n?string({year:"numeric"},"year"):this.num(e.year);case"yy":return n?string({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return n?string({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return n?string({year:"numeric"},"year"):this.num(e.year,6);case"G":return era("short");case"GG":return era("long");case"GGGGG":return era("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return maybeMacro(t)}};return stringifyTokens(Formatter.parseFormat(t),tokenToString)}formatDurationFromString(e,t){const tokenToField=e=>{switch(e[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},tokenToString=e=>t=>{const r=tokenToField(t);if(r){return this.num(e.get(r),t.length)}else{return t}},r=Formatter.parseFormat(t),n=r.reduce(((e,{literal:t,val:r})=>t?e:e.concat(r)),[]),s=e.shiftTo(...n.map(tokenToField).filter((e=>e)));return stringifyTokens(r,tokenToString(s))}}const Tr=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function combineRegexes(...e){const t=e.reduce(((e,t)=>e+t.source),"");return RegExp(`^${t}$`)}function combineExtractors(...e){return t=>e.reduce((([e,r,n],s)=>{const[o,i,a]=s(t,n);return[{...e,...o},i||r,a]}),[{},null,1]).slice(0,2)}function regexParser_parse(e,...t){if(e==null){return[null,null]}for(const[r,n]of t){const t=r.exec(e);if(t){return n(t)}}return[null,null]}function simpleParse(...e){return(t,r)=>{const n={};let s;for(s=0;se!==undefined&&(t||e&&u)?-e:e;return[{years:maybeNegate(parseFloating(r)),months:maybeNegate(parseFloating(n)),weeks:maybeNegate(parseFloating(s)),days:maybeNegate(parseFloating(o)),hours:maybeNegate(parseFloating(i)),minutes:maybeNegate(parseFloating(a)),seconds:maybeNegate(parseFloating(A),A==="-0"),milliseconds:maybeNegate(parseMillis(c),l)}]}const Vr={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function fromStrings(e,t,r,n,s,o,i){const a={year:t.length===2?untruncateYear(parseInteger(t)):parseInteger(t),month:fr.indexOf(r)+1,day:parseInteger(n),hour:parseInteger(s),minute:parseInteger(o)};if(i)a.second=parseInteger(i);if(e){a.weekday=e.length>3?Er.indexOf(e)+1:mr.indexOf(e)+1}return a}const jr=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function extractRFC2822(e){const[,t,r,n,s,o,i,a,A,c,u,l]=e,p=fromStrings(t,s,n,r,o,i,a);let d;if(A){d=Vr[A]}else if(c){d=0}else{d=signedOffset(u,l)}return[p,new FixedOffsetZone(d)]}function preprocessRFC2822(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const Hr=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Yr=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,qr=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function extractRFC1123Or850(e){const[,t,r,n,s,o,i,a]=e,A=fromStrings(t,s,n,r,o,i,a);return[A,FixedOffsetZone.utcInstance]}function extractASCII(e){const[,t,r,n,s,o,i,a]=e,A=fromStrings(t,a,r,n,s,o,i);return[A,FixedOffsetZone.utcInstance]}const Jr=combineRegexes(_r,Dr);const Wr=combineRegexes(Sr,Dr);const Kr=combineRegexes(Fr,Dr);const $r=combineRegexes(kr);const zr=combineExtractors(extractISOYmd,extractISOTime,extractISOOffset,extractIANAZone);const Zr=combineExtractors(Nr,extractISOTime,extractISOOffset,extractIANAZone);const Xr=combineExtractors(Lr,extractISOTime,extractISOOffset,extractIANAZone);const en=combineExtractors(extractISOTime,extractISOOffset,extractIANAZone);function parseISODate(e){return regexParser_parse(e,[Jr,zr],[Wr,Zr],[Kr,Xr],[$r,en])}function parseRFC2822Date(e){return regexParser_parse(preprocessRFC2822(e),[jr,extractRFC2822])}function parseHTTPDate(e){return regexParser_parse(e,[Hr,extractRFC1123Or850],[Yr,extractRFC1123Or850],[qr,extractASCII])}function parseISODuration(e){return regexParser_parse(e,[xr,extractISODuration])}const tn=combineExtractors(extractISOTime);function parseISOTimeOnly(e){return regexParser_parse(e,[Mr,tn])}const rn=combineRegexes(Ur,Pr);const nn=combineRegexes(Gr);const sn=combineExtractors(extractISOTime,extractISOOffset,extractIANAZone);function parseSQL(e){return regexParser_parse(e,[rn,zr],[nn,sn])}const on="Invalid Duration";const an={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},An={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...an},cn=146097/400,un=146097/4800,ln={years:{quarters:4,months:12,weeks:cn/7,days:cn,hours:cn*24,minutes:cn*24*60,seconds:cn*24*60*60,milliseconds:cn*24*60*60*1e3},quarters:{months:3,weeks:cn/28,days:cn/4,hours:cn*24/4,minutes:cn*24*60/4,seconds:cn*24*60*60/4,milliseconds:cn*24*60*60*1e3/4},months:{weeks:un/7,days:un,hours:un*24,minutes:un*24*60,seconds:un*24*60*60,milliseconds:un*24*60*60*1e3},...an};const pn=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"];const dn=pn.slice(0).reverse();function clone(e,t,r=false){const n={values:r?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new Duration(n)}function durationToMillis(e,t){let r=t.milliseconds??0;for(const n of dn.slice(1)){if(t[n]){r+=t[n]*e[n]["milliseconds"]}}return r}function normalizeValues(e,t){const r=durationToMillis(e,t)<0?-1:1;pn.reduceRight(((n,s)=>{if(!isUndefined(t[s])){if(n){const o=t[n]*r;const i=e[s][n];const a=Math.floor(o/i);t[s]+=a*r;t[n]-=a*i*r}return s}else{return n}}),null);pn.reduce(((r,n)=>{if(!isUndefined(t[n])){if(r){const s=t[r]%1;t[r]-=s;t[n]+=s*e[r][n]}return n}else{return r}}),null)}function removeZeroes(e){const t={};for(const[r,n]of Object.entries(e)){if(n!==0){t[r]=n}}return t}class Duration{constructor(e){const t=e.conversionAccuracy==="longterm"||false;let r=t?ln:An;if(e.matrix){r=e.matrix}this.values=e.values;this.loc=e.loc||Locale.create();this.conversionAccuracy=t?"longterm":"casual";this.invalid=e.invalid||null;this.matrix=r;this.isLuxonDuration=true}static fromMillis(e,t){return Duration.fromObject({milliseconds:e},t)}static fromObject(e,t={}){if(e==null||typeof e!=="object"){throw new InvalidArgumentError(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`)}return new Duration({values:normalizeObject(e,Duration.normalizeUnit),loc:Locale.fromObject(t),conversionAccuracy:t.conversionAccuracy,matrix:t.matrix})}static fromDurationLike(e){if(isNumber(e)){return Duration.fromMillis(e)}else if(Duration.isDuration(e)){return e}else if(typeof e==="object"){return Duration.fromObject(e)}else{throw new InvalidArgumentError(`Unknown duration argument ${e} of type ${typeof e}`)}}static fromISO(e,t){const[r]=parseISODuration(e);if(r){return Duration.fromObject(r,t)}else{return Duration.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}}static fromISOTime(e,t){const[r]=parseISOTimeOnly(e);if(r){return Duration.fromObject(r,t)}else{return Duration.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}}static invalid(e,t=null){if(!e){throw new InvalidArgumentError("need to specify a reason the Duration is invalid")}const r=e instanceof Invalid?e:new Invalid(e,t);if(Settings.throwOnInvalid){throw new InvalidDurationError(r)}else{return new Duration({invalid:r})}}static normalizeUnit(e){const t={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e?e.toLowerCase():e];if(!t)throw new InvalidUnitError(e);return t}static isDuration(e){return e&&e.isLuxonDuration||false}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,t={}){const r={...t,floor:t.round!==false&&t.floor!==false};return this.isValid?Formatter.create(this.loc,r).formatDurationFromString(this,e):on}toHuman(e={}){if(!this.isValid)return on;const t=pn.map((t=>{const r=this.values[t];if(isUndefined(r)){return null}return this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:t.slice(0,-1)}).format(r)})).filter((e=>e));return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(t)}toObject(){if(!this.isValid)return{};return{...this.values}}toISO(){if(!this.isValid)return null;let e="P";if(this.years!==0)e+=this.years+"Y";if(this.months!==0||this.quarters!==0)e+=this.months+this.quarters*3+"M";if(this.weeks!==0)e+=this.weeks+"W";if(this.days!==0)e+=this.days+"D";if(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)e+="T";if(this.hours!==0)e+=this.hours+"H";if(this.minutes!==0)e+=this.minutes+"M";if(this.seconds!==0||this.milliseconds!==0)e+=roundTo(this.seconds+this.milliseconds/1e3,3)+"S";if(e==="P")e+="T0S";return e}toISOTime(e={}){if(!this.isValid)return null;const t=this.toMillis();if(t<0||t>=864e5)return null;e={suppressMilliseconds:false,suppressSeconds:false,includePrefix:false,format:"extended",...e,includeOffset:false};const r=DateTime.fromMillis(t,{zone:"UTC"});return r.toISOTime(e)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){if(this.isValid){return`Duration { values: ${JSON.stringify(this.values)} }`}else{return`Duration { Invalid, reason: ${this.invalidReason} }`}}toMillis(){if(!this.isValid)return NaN;return durationToMillis(this.matrix,this.values)}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const t=Duration.fromDurationLike(e),r={};for(const e of pn){if(util_hasOwnProperty(t.values,e)||util_hasOwnProperty(this.values,e)){r[e]=t.get(e)+this.get(e)}}return clone(this,{values:r},true)}minus(e){if(!this.isValid)return this;const t=Duration.fromDurationLike(e);return this.plus(t.negate())}mapUnits(e){if(!this.isValid)return this;const t={};for(const r of Object.keys(this.values)){t[r]=asNumber(e(this.values[r],r))}return clone(this,{values:t},true)}get(e){return this[Duration.normalizeUnit(e)]}set(e){if(!this.isValid)return this;const t={...this.values,...normalizeObject(e,Duration.normalizeUnit)};return clone(this,{values:t})}reconfigure({locale:e,numberingSystem:t,conversionAccuracy:r,matrix:n}={}){const s=this.loc.clone({locale:e,numberingSystem:t});const o={loc:s,matrix:n,conversionAccuracy:r};return clone(this,o)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();normalizeValues(this.matrix,e);return clone(this,{values:e},true)}rescale(){if(!this.isValid)return this;const e=removeZeroes(this.normalize().shiftToAll().toObject());return clone(this,{values:e},true)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0){return this}e=e.map((e=>Duration.normalizeUnit(e)));const t={},r={},n=this.toObject();let s;for(const o of pn){if(e.indexOf(o)>=0){s=o;let e=0;for(const t in r){e+=this.matrix[t][o]*r[t];r[t]=0}if(isNumber(n[o])){e+=n[o]}const i=Math.trunc(e);t[o]=i;r[o]=(e*1e3-i*1e3)/1e3}else if(isNumber(n[o])){r[o]=n[o]}}for(const e in r){if(r[e]!==0){t[s]+=e===s?r[e]:r[e]/this.matrix[s][e]}}normalizeValues(this.matrix,t);return clone(this,{values:t},true)}shiftToAll(){if(!this.isValid)return this;return this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds")}negate(){if(!this.isValid)return this;const e={};for(const t of Object.keys(this.values)){e[t]=this.values[t]===0?0:-this.values[t]}return clone(this,{values:e},true)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid){return false}if(!this.loc.equals(e.loc)){return false}function eq(e,t){if(e===undefined||e===0)return t===undefined||t===0;return e===t}for(const t of pn){if(!eq(this.values[t],e.values[t])){return false}}return true}}const gn="Invalid Interval";function validateStartEnd(e,t){if(!e||!e.isValid){return Interval.invalid("missing or invalid start")}else if(!t||!t.isValid){return Interval.invalid("missing or invalid end")}else if(te}isBefore(e){if(!this.isValid)return false;return this.e<=e}contains(e){if(!this.isValid)return false;return this.s<=e&&this.e>e}set({start:e,end:t}={}){if(!this.isValid)return this;return Interval.fromDateTimes(e||this.s,t||this.e)}splitAt(...e){if(!this.isValid)return[];const t=e.map(friendlyDateTime).filter((e=>this.contains(e))).sort(((e,t)=>e.toMillis()-t.toMillis())),r=[];let{s:n}=this,s=0;while(n+this.e?this.e:e;r.push(Interval.fromDateTimes(n,o));n=o;s+=1}return r}splitBy(e){const t=Duration.fromDurationLike(e);if(!this.isValid||!t.isValid||t.as("milliseconds")===0){return[]}let{s:r}=this,n=1,s;const o=[];while(re*n)));s=+e>+this.e?this.e:e;o.push(Interval.fromDateTimes(r,s));r=s;n+=1}return o}divideEqually(e){if(!this.isValid)return[];return this.splitBy(this.length()/e).slice(0,e)}overlaps(e){return this.e>e.s&&this.s=e.e}equals(e){if(!this.isValid||!e.isValid){return false}return this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;const t=this.s>e.s?this.s:e.s,r=this.e=r){return null}else{return Interval.fromDateTimes(t,r)}}union(e){if(!this.isValid)return this;const t=this.se.e?this.e:e.e;return Interval.fromDateTimes(t,r)}static merge(e){const[t,r]=e.sort(((e,t)=>e.s-t.s)).reduce((([e,t],r)=>{if(!t){return[e,r]}else if(t.overlaps(r)||t.abutsStart(r)){return[e,t.union(r)]}else{return[e.concat([t]),r]}}),[[],null]);if(r){t.push(r)}return t}static xor(e){let t=null,r=0;const n=[],s=e.map((e=>[{time:e.s,type:"s"},{time:e.e,type:"e"}])),o=Array.prototype.concat(...s),i=o.sort(((e,t)=>e.time-t.time));for(const e of i){r+=e.type==="s"?1:-1;if(r===1){t=e.time}else{if(t&&+t!==+e.time){n.push(Interval.fromDateTimes(t,e.time))}t=null}}return Interval.merge(n)}difference(...e){return Interval.xor([this].concat(e)).map((e=>this.intersection(e))).filter((e=>e&&!e.isEmpty()))}toString(){if(!this.isValid)return gn;return`[${this.s.toISO()} – ${this.e.toISO()})`}[Symbol.for("nodejs.util.inspect.custom")](){if(this.isValid){return`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`}else{return`Interval { Invalid, reason: ${this.invalidReason} }`}}toLocaleString(e=Tt,t={}){return this.isValid?Formatter.create(this.s.loc.clone(t),e).formatInterval(this):gn}toISO(e){if(!this.isValid)return gn;return`${this.s.toISO(e)}/${this.e.toISO(e)}`}toISODate(){if(!this.isValid)return gn;return`${this.s.toISODate()}/${this.e.toISODate()}`}toISOTime(e){if(!this.isValid)return gn;return`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`}toFormat(e,{separator:t=" – "}={}){if(!this.isValid)return gn;return`${this.s.toFormat(e)}${t}${this.e.toFormat(e)}`}toDuration(e,t){if(!this.isValid){return Duration.invalid(this.invalidReason)}return this.e.diff(this.s,e,t)}mapEndpoints(e){return Interval.fromDateTimes(e(this.s),e(this.e))}}class Info{static hasDST(e=Settings.defaultZone){const t=DateTime.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset}static isValidIANAZone(e){return IANAZone.isValidZone(e)}static normalizeZone(e){return normalizeZone(e,Settings.defaultZone)}static getStartOfWeek({locale:e=null,locObj:t=null}={}){return(t||Locale.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:t=null}={}){return(t||Locale.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:t=null}={}){return(t||Locale.create(e)).getWeekendDays().slice()}static months(e="long",{locale:t=null,numberingSystem:r=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Locale.create(t,r,s)).months(e)}static monthsFormat(e="long",{locale:t=null,numberingSystem:r=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Locale.create(t,r,s)).months(e,true)}static weekdays(e="long",{locale:t=null,numberingSystem:r=null,locObj:n=null}={}){return(n||Locale.create(t,r,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:t=null,numberingSystem:r=null,locObj:n=null}={}){return(n||Locale.create(t,r,null)).weekdays(e,true)}static meridiems({locale:e=null}={}){return Locale.create(e).meridiems()}static eras(e="short",{locale:t=null}={}){return Locale.create(t,null,"gregory").eras(e)}static features(){return{relative:hasRelative(),localeWeek:hasLocaleWeekInfo()}}}function dayDiff(e,t){const utcDayStart=e=>e.toUTC(0,{keepLocalTime:true}).startOf("day").valueOf(),r=utcDayStart(t)-utcDayStart(e);return Math.floor(Duration.fromMillis(r).as("days"))}function highOrderDiffs(e,t,r){const n=[["years",(e,t)=>t.year-e.year],["quarters",(e,t)=>t.quarter-e.quarter+(t.year-e.year)*4],["months",(e,t)=>t.month-e.month+(t.year-e.year)*12],["weeks",(e,t)=>{const r=dayDiff(e,t);return(r-r%7)/7}],["days",dayDiff]];const s={};const o=e;let i,a;for(const[A,c]of n){if(r.indexOf(A)>=0){i=A;s[A]=c(e,t);a=o.plus(s);if(a>t){s[A]--;e=o.plus(s);if(e>t){a=e;s[A]--;e=o.plus(s)}}else{e=a}}}return[e,s,a,i]}function diff(e,t,r,n){let[s,o,i,a]=highOrderDiffs(e,t,r);const A=t-s;const c=r.filter((e=>["hours","minutes","seconds","milliseconds"].indexOf(e)>=0));if(c.length===0){if(i0){return Duration.fromMillis(A,n).shiftTo(...c).plus(u)}else{return u}}const fn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"};const hn={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]};const En=fn.hanidec.replace(/[\[|\]]/g,"").split("");function parseDigits(e){let t=parseInt(e,10);if(isNaN(t)){t="";for(let r=0;r=r&&n<=s){t+=n-r}}}}return parseInt(t,10)}else{return t}}function digitRegex({numberingSystem:e},t=""){return new RegExp(`${fn[e||"latn"]}${t}`)}const mn="missing Intl.DateTimeFormat.formatToParts support";function intUnit(e,t=e=>e){return{regex:e,deser:([e])=>t(parseDigits(e))}}const In=String.fromCharCode(160);const yn=`[ ${In}]`;const Cn=new RegExp(yn,"g");function fixListRegex(e){return e.replace(/\./g,"\\.?").replace(Cn,yn)}function stripInsensitivities(e){return e.replace(/\./g,"").replace(Cn," ").toLowerCase()}function oneOf(e,t){if(e===null){return null}else{return{regex:RegExp(e.map(fixListRegex).join("|")),deser:([r])=>e.findIndex((e=>stripInsensitivities(r)===stripInsensitivities(e)))+t}}}function offset(e,t){return{regex:e,deser:([,e,t])=>signedOffset(e,t),groups:t}}function simple(e){return{regex:e,deser:([e])=>e}}function escapeToken(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function unitForToken(e,t){const r=digitRegex(t),n=digitRegex(t,"{2}"),s=digitRegex(t,"{3}"),o=digitRegex(t,"{4}"),i=digitRegex(t,"{6}"),a=digitRegex(t,"{1,2}"),A=digitRegex(t,"{1,3}"),c=digitRegex(t,"{1,6}"),u=digitRegex(t,"{1,9}"),l=digitRegex(t,"{2,4}"),p=digitRegex(t,"{4,6}"),literal=e=>({regex:RegExp(escapeToken(e.val)),deser:([e])=>e,literal:true}),unitate=d=>{if(e.literal){return literal(d)}switch(d.val){case"G":return oneOf(t.eras("short"),0);case"GG":return oneOf(t.eras("long"),0);case"y":return intUnit(c);case"yy":return intUnit(l,untruncateYear);case"yyyy":return intUnit(o);case"yyyyy":return intUnit(p);case"yyyyyy":return intUnit(i);case"M":return intUnit(a);case"MM":return intUnit(n);case"MMM":return oneOf(t.months("short",true),1);case"MMMM":return oneOf(t.months("long",true),1);case"L":return intUnit(a);case"LL":return intUnit(n);case"LLL":return oneOf(t.months("short",false),1);case"LLLL":return oneOf(t.months("long",false),1);case"d":return intUnit(a);case"dd":return intUnit(n);case"o":return intUnit(A);case"ooo":return intUnit(s);case"HH":return intUnit(n);case"H":return intUnit(a);case"hh":return intUnit(n);case"h":return intUnit(a);case"mm":return intUnit(n);case"m":return intUnit(a);case"q":return intUnit(a);case"qq":return intUnit(n);case"s":return intUnit(a);case"ss":return intUnit(n);case"S":return intUnit(A);case"SSS":return intUnit(s);case"u":return simple(u);case"uu":return simple(a);case"uuu":return intUnit(r);case"a":return oneOf(t.meridiems(),0);case"kkkk":return intUnit(o);case"kk":return intUnit(l,untruncateYear);case"W":return intUnit(a);case"WW":return intUnit(n);case"E":case"c":return intUnit(r);case"EEE":return oneOf(t.weekdays("short",false),1);case"EEEE":return oneOf(t.weekdays("long",false),1);case"ccc":return oneOf(t.weekdays("short",true),1);case"cccc":return oneOf(t.weekdays("long",true),1);case"Z":case"ZZ":return offset(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return offset(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return simple(/[a-z_+-/]{1,256}?/i);case" ":return simple(/[^\S\n\r]/);default:return literal(d)}};const d=unitate(e)||{invalidReason:mn};d.token=e;return d}const Qn={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function tokenForPart(e,t,r){const{type:n,value:s}=e;if(n==="literal"){const e=/^\s+$/.test(s);return{literal:!e,val:e?" ":s}}const o=t[n];let i=n;if(n==="hour"){if(t.hour12!=null){i=t.hour12?"hour12":"hour24"}else if(t.hourCycle!=null){if(t.hourCycle==="h11"||t.hourCycle==="h12"){i="hour12"}else{i="hour24"}}else{i=r.hour12?"hour12":"hour24"}}let a=Qn[i];if(typeof a==="object"){a=a[o]}if(a){return{literal:false,val:a}}return undefined}function buildRegex(e){const t=e.map((e=>e.regex)).reduce(((e,t)=>`${e}(${t.source})`),"");return[`^${t}$`,e]}function match(e,t,r){const n=e.match(t);if(n){const e={};let t=1;for(const s in r){if(util_hasOwnProperty(r,s)){const o=r[s],i=o.groups?o.groups+1:1;if(!o.literal&&o.token){e[o.token.val[0]]=o.deser(n.slice(t,t+i))}t+=i}}return[n,e]}else{return[n,{}]}}function dateTimeFromMatches(e){const toField=e=>{switch(e){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let t=null;let r;if(!isUndefined(e.z)){t=IANAZone.create(e.z)}if(!isUndefined(e.Z)){if(!t){t=new FixedOffsetZone(e.Z)}r=e.Z}if(!isUndefined(e.q)){e.M=(e.q-1)*3+1}if(!isUndefined(e.h)){if(e.h<12&&e.a===1){e.h+=12}else if(e.h===12&&e.a===0){e.h=0}}if(e.G===0&&e.y){e.y=-e.y}if(!isUndefined(e.u)){e.S=parseMillis(e.u)}const n=Object.keys(e).reduce(((t,r)=>{const n=toField(r);if(n){t[n]=e[r]}return t}),{});return[n,t,r]}let Bn=null;function getDummyDateTime(){if(!Bn){Bn=DateTime.fromMillis(1555555555555)}return Bn}function maybeExpandMacroToken(e,t){if(e.literal){return e}const r=Formatter.macroTokenToFormatOpts(e.val);const n=formatOptsToTokens(r,t);if(n==null||n.includes(undefined)){return e}return n}function expandMacroTokens(e,t){return Array.prototype.concat(...e.map((e=>maybeExpandMacroToken(e,t))))}function explainFromTokens(e,t,r){const n=expandMacroTokens(Formatter.parseFormat(r),e),s=n.map((t=>unitForToken(t,e))),o=s.find((e=>e.invalidReason));if(o){return{input:t,tokens:n,invalidReason:o.invalidReason}}else{const[e,r]=buildRegex(s),o=RegExp(e,"i"),[i,a]=match(t,o,r),[A,c,u]=a?dateTimeFromMatches(a):[null,null,undefined];if(util_hasOwnProperty(a,"a")&&util_hasOwnProperty(a,"H")){throw new ConflictingSpecificationError("Can't include meridiem when specifying 24-hour format")}return{input:t,tokens:n,regex:o,rawMatches:i,matches:a,result:A,zone:c,specificOffset:u}}}function parseFromTokens(e,t,r){const{result:n,zone:s,specificOffset:o,invalidReason:i}=explainFromTokens(e,t,r);return[n,s,o,i]}function formatOptsToTokens(e,t){if(!e){return null}const r=Formatter.create(t,e);const n=r.dtFormatter(getDummyDateTime());const s=n.formatToParts();const o=n.resolvedOptions();return s.map((t=>tokenForPart(t,e,o)))}const bn="Invalid DateTime";const Tn=864e13;function unsupportedZone(e){return new Invalid("unsupported zone",`the zone "${e.name}" is not supported`)}function possiblyCachedWeekData(e){if(e.weekData===null){e.weekData=gregorianToWeek(e.c)}return e.weekData}function possiblyCachedLocalWeekData(e){if(e.localWeekData===null){e.localWeekData=gregorianToWeek(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())}return e.localWeekData}function datetime_clone(e,t){const r={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new DateTime({...r,...t,old:r})}function fixOffset(e,t,r){let n=e-t*60*1e3;const s=r.offset(n);if(t===s){return[n,t]}n-=(s-t)*60*1e3;const o=r.offset(n);if(s===o){return[n,s]}return[e-Math.min(s,o)*60*1e3,Math.max(s,o)]}function tsToObj(e,t){e+=t*60*1e3;const r=new Date(e);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function objToTS(e,t,r){return fixOffset(objToLocalTS(e),t,r)}function adjustTime(e,t){const r=e.o,n=e.c.year+Math.trunc(t.years),s=e.c.month+Math.trunc(t.months)+Math.trunc(t.quarters)*3,o={...e.c,year:n,month:s,day:Math.min(e.c.day,daysInMonth(n,s))+Math.trunc(t.days)+Math.trunc(t.weeks)*7},i=Duration.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),a=objToLocalTS(o);let[A,c]=fixOffset(a,r,e.zone);if(i!==0){A+=i;c=e.zone.offset(A)}return{ts:A,o:c}}function parseDataToDateTime(e,t,r,n,s,o){const{setZone:i,zone:a}=r;if(e&&Object.keys(e).length!==0||t){const n=t||a,s=DateTime.fromObject(e,{...r,zone:n,specificOffset:o});return i?s:s.setZone(a)}else{return DateTime.invalid(new Invalid("unparsable",`the input "${s}" can't be parsed as ${n}`))}}function toTechFormat(e,t,r=true){return e.isValid?Formatter.create(Locale.create("en-US"),{allowZ:r,forceSimple:true}).formatDateTimeFromString(e,t):null}function toISODate(e,t){const r=e.c.year>9999||e.c.year<0;let n="";if(r&&e.c.year>=0)n+="+";n+=padStart(e.c.year,r?6:4);if(t){n+="-";n+=padStart(e.c.month);n+="-";n+=padStart(e.c.day)}else{n+=padStart(e.c.month);n+=padStart(e.c.day)}return n}function toISOTime(e,t,r,n,s,o){let i=padStart(e.c.hour);if(t){i+=":";i+=padStart(e.c.minute);if(e.c.millisecond!==0||e.c.second!==0||!r){i+=":"}}else{i+=padStart(e.c.minute)}if(e.c.millisecond!==0||e.c.second!==0||!r){i+=padStart(e.c.second);if(e.c.millisecond!==0||!n){i+=".";i+=padStart(e.c.millisecond,3)}}if(s){if(e.isOffsetFixed&&e.offset===0&&!o){i+="Z"}else if(e.o<0){i+="-";i+=padStart(Math.trunc(-e.o/60));i+=":";i+=padStart(Math.trunc(-e.o%60))}else{i+="+";i+=padStart(Math.trunc(e.o/60));i+=":";i+=padStart(Math.trunc(e.o%60))}}if(o){i+="["+e.zone.ianaName+"]"}return i}const wn={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},vn={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Rn={ordinal:1,hour:0,minute:0,second:0,millisecond:0};const kn=["year","month","day","hour","minute","second","millisecond"],Dn=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],_n=["year","ordinal","hour","minute","second","millisecond"];function normalizeUnit(e){const t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new InvalidUnitError(e);return t}function normalizeUnitWithLocalWeeks(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return normalizeUnit(e)}}function quickDT(e,t){const r=normalizeZone(t.zone,Settings.defaultZone),n=Locale.fromObject(t),s=Settings.now();let o,i;if(!isUndefined(e.year)){for(const t of kn){if(isUndefined(e[t])){e[t]=wn[t]}}const t=hasInvalidGregorianData(e)||hasInvalidTimeData(e);if(t){return DateTime.invalid(t)}const n=r.offset(s);[o,i]=objToTS(e,n,r)}else{o=s}return new DateTime({ts:o,zone:r,loc:n,o:i})}function diffRelative(e,t,r){const n=isUndefined(r.round)?true:r.round,format=(e,s)=>{e=roundTo(e,n||r.calendary?0:2,true);const o=t.loc.clone(r).relFormatter(r);return o.format(e,s)},differ=n=>{if(r.calendary){if(!t.hasSame(e,n)){return t.startOf(n).diff(e.startOf(n),n).get(n)}else return 0}else{return t.diff(e,n).get(n)}};if(r.unit){return format(differ(r.unit),r.unit)}for(const e of r.units){const t=differ(e);if(Math.abs(t)>=1){return format(t,e)}}return format(e>t?-0:0,r.units[r.units.length-1])}function lastOpts(e){let t={},r;if(e.length>0&&typeof e[e.length-1]==="object"){t=e[e.length-1];r=Array.from(e).slice(0,e.length-1)}else{r=Array.from(e)}return[t,r]}class DateTime{constructor(e){const t=e.zone||Settings.defaultZone;let r=e.invalid||(Number.isNaN(e.ts)?new Invalid("invalid input"):null)||(!t.isValid?unsupportedZone(t):null);this.ts=isUndefined(e.ts)?Settings.now():e.ts;let n=null,s=null;if(!r){const o=e.old&&e.old.ts===this.ts&&e.old.zone.equals(t);if(o){[n,s]=[e.old.c,e.old.o]}else{const e=t.offset(this.ts);n=tsToObj(this.ts,e);r=Number.isNaN(n.year)?new Invalid("invalid input"):null;n=r?null:n;s=r?null:e}}this._zone=t;this.loc=e.loc||Locale.create();this.invalid=r;this.weekData=null;this.localWeekData=null;this.c=n;this.o=s;this.isLuxonDateTime=true}static now(){return new DateTime({})}static local(){const[e,t]=lastOpts(arguments),[r,n,s,o,i,a,A]=t;return quickDT({year:r,month:n,day:s,hour:o,minute:i,second:a,millisecond:A},e)}static utc(){const[e,t]=lastOpts(arguments),[r,n,s,o,i,a,A]=t;e.zone=FixedOffsetZone.utcInstance;return quickDT({year:r,month:n,day:s,hour:o,minute:i,second:a,millisecond:A},e)}static fromJSDate(e,t={}){const r=isDate(e)?e.valueOf():NaN;if(Number.isNaN(r)){return DateTime.invalid("invalid input")}const n=normalizeZone(t.zone,Settings.defaultZone);if(!n.isValid){return DateTime.invalid(unsupportedZone(n))}return new DateTime({ts:r,zone:n,loc:Locale.fromObject(t)})}static fromMillis(e,t={}){if(!isNumber(e)){throw new InvalidArgumentError(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}else if(e<-Tn||e>Tn){return DateTime.invalid("Timestamp out of range")}else{return new DateTime({ts:e,zone:normalizeZone(t.zone,Settings.defaultZone),loc:Locale.fromObject(t)})}}static fromSeconds(e,t={}){if(!isNumber(e)){throw new InvalidArgumentError("fromSeconds requires a numerical input")}else{return new DateTime({ts:e*1e3,zone:normalizeZone(t.zone,Settings.defaultZone),loc:Locale.fromObject(t)})}}static fromObject(e,t={}){e=e||{};const r=normalizeZone(t.zone,Settings.defaultZone);if(!r.isValid){return DateTime.invalid(unsupportedZone(r))}const n=Locale.fromObject(t);const s=normalizeObject(e,normalizeUnitWithLocalWeeks);const{minDaysInFirstWeek:o,startOfWeek:i}=usesLocalWeekValues(s,n);const a=Settings.now(),A=!isUndefined(t.specificOffset)?t.specificOffset:r.offset(a),c=!isUndefined(s.ordinal),u=!isUndefined(s.year),l=!isUndefined(s.month)||!isUndefined(s.day),p=u||l,d=s.weekYear||s.weekNumber;if((p||c)&&d){throw new ConflictingSpecificationError("Can't mix weekYear/weekNumber units with year/month/day or ordinals")}if(l&&c){throw new ConflictingSpecificationError("Can't mix ordinal dates with month/day")}const g=d||s.weekday&&!p;let h,E,m=tsToObj(a,A);if(g){h=Dn;E=vn;m=gregorianToWeek(m,o,i)}else if(c){h=_n;E=Rn;m=gregorianToOrdinal(m)}else{h=kn;E=wn}let I=false;for(const e of h){const t=s[e];if(!isUndefined(t)){I=true}else if(I){s[e]=E[e]}else{s[e]=m[e]}}const y=g?hasInvalidWeekData(s,o,i):c?hasInvalidOrdinalData(s):hasInvalidGregorianData(s),C=y||hasInvalidTimeData(s);if(C){return DateTime.invalid(C)}const Q=g?weekToGregorian(s,o,i):c?ordinalToGregorian(s):s,[B,b]=objToTS(Q,A,r),T=new DateTime({ts:B,zone:r,o:b,loc:n});if(s.weekday&&p&&e.weekday!==T.weekday){return DateTime.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${T.toISO()}`)}return T}static fromISO(e,t={}){const[r,n]=parseISODate(e);return parseDataToDateTime(r,n,t,"ISO 8601",e)}static fromRFC2822(e,t={}){const[r,n]=parseRFC2822Date(e);return parseDataToDateTime(r,n,t,"RFC 2822",e)}static fromHTTP(e,t={}){const[r,n]=parseHTTPDate(e);return parseDataToDateTime(r,n,t,"HTTP",t)}static fromFormat(e,t,r={}){if(isUndefined(e)||isUndefined(t)){throw new InvalidArgumentError("fromFormat requires an input string and a format")}const{locale:n=null,numberingSystem:s=null}=r,o=Locale.fromOpts({locale:n,numberingSystem:s,defaultToEN:true}),[i,a,A,c]=parseFromTokens(o,e,t);if(c){return DateTime.invalid(c)}else{return parseDataToDateTime(i,a,r,`format ${t}`,e,A)}}static fromString(e,t,r={}){return DateTime.fromFormat(e,t,r)}static fromSQL(e,t={}){const[r,n]=parseSQL(e);return parseDataToDateTime(r,n,t,"SQL",e)}static invalid(e,t=null){if(!e){throw new InvalidArgumentError("need to specify a reason the DateTime is invalid")}const r=e instanceof Invalid?e:new Invalid(e,t);if(Settings.throwOnInvalid){throw new InvalidDateTimeError(r)}else{return new DateTime({invalid:r})}}static isDateTime(e){return e&&e.isLuxonDateTime||false}static parseFormatForOpts(e,t={}){const r=formatOptsToTokens(e,Locale.fromObject(t));return!r?null:r.map((e=>e?e.val:null)).join("")}static expandFormat(e,t={}){const r=expandMacroTokens(Formatter.parseFormat(e),Locale.fromObject(t));return r.map((e=>e.val)).join("")}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?possiblyCachedWeekData(this).weekYear:NaN}get weekNumber(){return this.isValid?possiblyCachedWeekData(this).weekNumber:NaN}get weekday(){return this.isValid?possiblyCachedWeekData(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?possiblyCachedLocalWeekData(this).weekday:NaN}get localWeekNumber(){return this.isValid?possiblyCachedLocalWeekData(this).weekNumber:NaN}get localWeekYear(){return this.isValid?possiblyCachedLocalWeekData(this).weekYear:NaN}get ordinal(){return this.isValid?gregorianToOrdinal(this.c).ordinal:NaN}get monthShort(){return this.isValid?Info.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Info.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Info.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Info.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){if(this.isValid){return this.zone.offsetName(this.ts,{format:"short",locale:this.locale})}else{return null}}get offsetNameLong(){if(this.isValid){return this.zone.offsetName(this.ts,{format:"long",locale:this.locale})}else{return null}}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){if(this.isOffsetFixed){return false}else{return this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed){return[this]}const e=864e5;const t=6e4;const r=objToLocalTS(this.c);const n=this.zone.offset(r-e);const s=this.zone.offset(r+e);const o=this.zone.offset(r-n*t);const i=this.zone.offset(r-s*t);if(o===i){return[this]}const a=r-o*t;const A=r-i*t;const c=tsToObj(a,o);const u=tsToObj(A,i);if(c.hour===u.hour&&c.minute===u.minute&&c.second===u.second&&c.millisecond===u.millisecond){return[datetime_clone(this,{ts:a}),datetime_clone(this,{ts:A})]}return[this]}get isInLeapYear(){return isLeapYear(this.year)}get daysInMonth(){return daysInMonth(this.year,this.month)}get daysInYear(){return this.isValid?daysInYear(this.year):NaN}get weeksInWeekYear(){return this.isValid?weeksInWeekYear(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?weeksInWeekYear(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){const{locale:t,numberingSystem:r,calendar:n}=Formatter.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t,numberingSystem:r,outputCalendar:n}}toUTC(e=0,t={}){return this.setZone(FixedOffsetZone.instance(e),t)}toLocal(){return this.setZone(Settings.defaultZone)}setZone(e,{keepLocalTime:t=false,keepCalendarTime:r=false}={}){e=normalizeZone(e,Settings.defaultZone);if(e.equals(this.zone)){return this}else if(!e.isValid){return DateTime.invalid(unsupportedZone(e))}else{let n=this.ts;if(t||r){const t=e.offset(this.ts);const r=this.toObject();[n]=objToTS(r,t,e)}return datetime_clone(this,{ts:n,zone:e})}}reconfigure({locale:e,numberingSystem:t,outputCalendar:r}={}){const n=this.loc.clone({locale:e,numberingSystem:t,outputCalendar:r});return datetime_clone(this,{loc:n})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;const t=normalizeObject(e,normalizeUnitWithLocalWeeks);const{minDaysInFirstWeek:r,startOfWeek:n}=usesLocalWeekValues(t,this.loc);const s=!isUndefined(t.weekYear)||!isUndefined(t.weekNumber)||!isUndefined(t.weekday),o=!isUndefined(t.ordinal),i=!isUndefined(t.year),a=!isUndefined(t.month)||!isUndefined(t.day),A=i||a,c=t.weekYear||t.weekNumber;if((A||o)&&c){throw new ConflictingSpecificationError("Can't mix weekYear/weekNumber units with year/month/day or ordinals")}if(a&&o){throw new ConflictingSpecificationError("Can't mix ordinal dates with month/day")}let u;if(s){u=weekToGregorian({...gregorianToWeek(this.c,r,n),...t},r,n)}else if(!isUndefined(t.ordinal)){u=ordinalToGregorian({...gregorianToOrdinal(this.c),...t})}else{u={...this.toObject(),...t};if(isUndefined(t.day)){u.day=Math.min(daysInMonth(u.year,u.month),u.day)}}const[l,p]=objToTS(u,this.o,this.zone);return datetime_clone(this,{ts:l,o:p})}plus(e){if(!this.isValid)return this;const t=Duration.fromDurationLike(e);return datetime_clone(this,adjustTime(this,t))}minus(e){if(!this.isValid)return this;const t=Duration.fromDurationLike(e).negate();return datetime_clone(this,adjustTime(this,t))}startOf(e,{useLocaleWeeks:t=false}={}){if(!this.isValid)return this;const r={},n=Duration.normalizeUnit(e);switch(n){case"years":r.month=1;case"quarters":case"months":r.day=1;case"weeks":case"days":r.hour=0;case"hours":r.minute=0;case"minutes":r.second=0;case"seconds":r.millisecond=0;break;case"milliseconds":break}if(n==="weeks"){if(t){const e=this.loc.getStartOfWeek();const{weekday:t}=this;if(tthis.valueOf(),i=o?this:e,a=o?e:this,A=diff(i,a,s,n);return o?A.negate():A}diffNow(e="milliseconds",t={}){return this.diff(DateTime.now(),e,t)}until(e){return this.isValid?Interval.fromDateTimes(this,e):this}hasSame(e,t,r){if(!this.isValid)return false;const n=e.valueOf();const s=this.setZone(e.zone,{keepLocalTime:true});return s.startOf(t,r)<=n&&n<=s.endOf(t,r)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;const t=e.base||DateTime.fromObject({},{zone:this.zone}),r=e.padding?thise.valueOf()),Math.min)}static max(...e){if(!e.every(DateTime.isDateTime)){throw new InvalidArgumentError("max requires all arguments be DateTimes")}return bestBy(e,(e=>e.valueOf()),Math.max)}static fromFormatExplain(e,t,r={}){const{locale:n=null,numberingSystem:s=null}=r,o=Locale.fromOpts({locale:n,numberingSystem:s,defaultToEN:true});return explainFromTokens(o,e,t)}static fromStringExplain(e,t,r={}){return DateTime.fromFormatExplain(e,t,r)}static get DATE_SHORT(){return Tt}static get DATE_MED(){return wt}static get DATE_MED_WITH_WEEKDAY(){return vt}static get DATE_FULL(){return Rt}static get DATE_HUGE(){return kt}static get TIME_SIMPLE(){return Dt}static get TIME_WITH_SECONDS(){return _t}static get TIME_WITH_SHORT_OFFSET(){return St}static get TIME_WITH_LONG_OFFSET(){return Ft}static get TIME_24_SIMPLE(){return Nt}static get TIME_24_WITH_SECONDS(){return Ot}static get TIME_24_WITH_SHORT_OFFSET(){return Lt}static get TIME_24_WITH_LONG_OFFSET(){return Ut}static get DATETIME_SHORT(){return Gt}static get DATETIME_SHORT_WITH_SECONDS(){return Pt}static get DATETIME_MED(){return Mt}static get DATETIME_MED_WITH_SECONDS(){return xt}static get DATETIME_MED_WITH_WEEKDAY(){return Vt}static get DATETIME_FULL(){return jt}static get DATETIME_FULL_WITH_SECONDS(){return Ht}static get DATETIME_HUGE(){return Yt}static get DATETIME_HUGE_WITH_SECONDS(){return qt}}function friendlyDateTime(e){if(DateTime.isDateTime(e)){return e}else if(e&&e.valueOf&&isNumber(e.valueOf())){return DateTime.fromJSDate(e)}else if(e&&typeof e==="object"){return DateTime.fromObject(e)}else{throw new InvalidArgumentError(`Unknown datetime argument: ${e}, of type ${typeof e}`)}}const Sn="3.4.4";var Fn=__nccwpck_require__(744);var Nn=__nccwpck_require__.n(Fn);async function getTaskAssignmentDetails(e,t,r){const{logger:n,octokit:s}=e;const o=await s.paginate(s.rest.issues.listEvents,{owner:t.owner.login,repo:t.name,issue_number:r.number});const i=o.filter((e=>e.event==="assigned")).sort(((e,t)=>DateTime.fromISO(t.created_at).toMillis()-DateTime.fromISO(e.created_at).toMillis()));const a=i.find((e=>e.actor?.type==="User"));const A=i.find((e=>e.actor?.type==="Bot"));let c=a||A;if(a&&A&&DateTime.fromISO(a.created_at)>DateTime.fromISO(A.created_at)){c=a}else{c=A}const u={startPlusLabelDuration:DateTime.fromISO(r.created_at).toISO()||"",taskAssignees:r.assignees?r.assignees.map((e=>e.id)):r.assignee?[r.assignee.id]:[]};if(!u.taskAssignees?.length){n.error(`Missing Assignees from ${r.html_url}`);return false}const l=parseTimeLabel(r.labels);if(l===0){}else if(l<0||!l){n.error(`Invalid disqualification threshold found on ${r.html_url}`);return false}u.startPlusLabelDuration=DateTime.fromISO(c?.created_at||r.created_at).plus({milliseconds:l}).toISO()||"";return u}function parseTimeLabel(e){let t=0;for(const r of e){let e="";if(typeof r==="string"){e=r}else{e=r.name||""}if(e.startsWith("Time:")){const r=e.match(/Time: <(\d+) (\w+)/i);if(!r){return 0}const[n,s,o]=r;t=Nn()(`${s} ${o}`)}if(t){break}}return t}function parsePriorityLabel(e){for(const t of e){let e="";if(typeof t==="string"){e=t}else{e=t.name||""}if(e.startsWith("Priority:")){const t=e.match(/Priority: (\d+)/i);if(!t){return 1}return Number(t[1])}}return 1}const On="Followup";const Ln="Unassign";const Un=e(import.meta.url)("node:fs");var Gn=__nccwpck_require__(7645);var Pn=__nccwpck_require__(423);const Mn=validateQuery;const xn=(0,Gn.buildClientSchema)(JSON.parse((0,Un.readFileSync)(__nccwpck_require__.ab+"schema.json","utf8")));function validateQuery(e){return(0,Gn.validate)(xn,Pn(e))}const Vn=`\n query collectLinkedPullRequests($owner: String!, $repo: String!, $issue_number: Int!) {\n repository(owner: $owner, name: $repo) {\n issue(number: $issue_number) {\n closedByPullRequestsReferences(first: 100, includeClosedPrs: false) {\n edges {\n node {\n id\n url\n title\n body\n state\n number\n author {\n login\n ... on User {\n id: databaseId\n }\n }\n reviewDecision\n }\n }\n }\n }\n }\n }\n`;const jn=Mn(Vn);if(jn.length>1){throw new Error(`Invalid query: ${jn.join(", ")}`)}async function collectLinkedPullRequests(e,t){const{owner:r,repo:n,issue_number:s}=t;const o=await e.octokit.graphql(Vn,{owner:r,repo:n,issue_number:s});return o.repository.issue.closedByPullRequestsReferences.edges.map((e=>e.node))}function parseIssueUrl(e){const t=new URL(e).pathname.split("/");if(t.length!==5){throw new Error(`[parseGitHubUrl] Invalid url: [${e}]`)}return{owner:t[1],repo:t[2],issue_number:Number(t[4])}}async function getAssigneesActivityForIssue(e,t,r){const n=parseIssueUrl(t.html_url);const s=await e.octokit.paginate(e.octokit.rest.issues.listEventsForTimeline,{owner:n.owner,repo:n.repo,issue_number:n.issue_number,per_page:100});const o=await collectLinkedPullRequests(e,n);for(const t of o){const{owner:r,repo:n,issue_number:o}=parseIssueUrl(t.url||"");const i=await e.octokit.paginate(e.octokit.rest.issues.listEventsForTimeline,{owner:r,repo:n,issue_number:o,per_page:100});s.push(...i)}return filterEvents(s,r)}function filterEvents(e,t){const r=new Map;const n=[];for(const s of e){let e=null;let o=null;let i=null;const a=s.event;if("actor"in s&&s.actor){o=s.actor.login.toLowerCase();if(!r.has(o)){r.set(o,s.actor.id)}e=r.get(o);i=s.created_at}else if((s.event==="committed"||s.event==="commented")&&"author"in s){const e="author"in s?s.author:null;const t="committer"in s?s.committer:null;if(e||t){n.push({event:a,created_at:s.author.date,author:s.author.email});continue}}if(e&&t.includes(e)){n.push({event:a,created_at:i,author:o})}}return n.sort(((e,t)=>{if(!e.created_at||!t.created_at){return 0}return DateTime.fromISO(t.created_at).toMillis()-DateTime.fromISO(e.created_at).toMillis()}))}const Hn=`\n mutation ConvertPullRequestToDraft($input: ConvertPullRequestToDraftInput!) {\n convertPullRequestToDraft(input: $input) {\n pullRequest {\n id\n isDraft\n }\n }\n }\n`;const Yn="Ubiquity";function structured_metadata_createStructuredMetadata(e,t){let r,n;if(t){r=t.logMessage;n=t.metadata}const s=JSON.stringify(n,null,2);const o=(new Error).stack?.split("\n")[2]??"";const i=o.match(/at (\S+)/)?.[1]??"";const a=`\x3c!-- ${Yn} - ${e} - ${i} - ${n?.revision}`;let A;const c=["```json",s,"```"].join("\n");const u=[a,s,"--\x3e"].join("\n");if(r?.type==="fatal"){A=[c,u].join("\n")}else{A=u}return A}async function getCommentsFromMetadata(e,t,r,n,s){const{octokit:o}=e;const i=new RegExp(`\x3c!-- ${Yn} - ${s} - \\S+ - [\\s\\S]*?--\x3e`);return await o.paginate(o.rest.issues.listComments,{owner:r,repo:n,issue_number:t},(e=>e.data.filter((e=>e.performed_via_github_app&&e.body&&e.user?.type==="Bot"&&i.test(e.body)))))}async function unassignUserFromIssue(e,t){const{logger:r,config:n}=e;if(n.disqualification<=0){r.info("The unassign threshold is <= 0, won't unassign users.")}else{await removeAllAssignees(e,t)}}async function remindAssigneesForIssue(e,t){const{logger:r,config:n}=e;const s=parseIssueUrl(t.html_url);const o=!!(await collectLinkedPullRequests(e,s)).filter((e=>e.state==="OPEN")).length;if(n.warning<=0){r.info("The reminder threshold is <= 0, won't send any reminder.")}else if(n.pullRequestRequired&&!o){await unassignUserFromIssue(e,t)}else{r.info(`Passed the reminder threshold on ${t.html_url} sending a reminder.`);await remindAssignees(e,t)}}async function remindAssignees(e,t){const{octokit:r,logger:n,config:s}=e;const{repo:o,owner:i,issue_number:a}=parseIssueUrl(t.html_url);if(!t?.assignees?.length){n.error(`Missing Assignees from ${t.html_url}`);return false}const A=t.assignees.map((e=>e?.login)).filter((e=>!!e)).join(", @");const c=n.info(`@${A}, this task has been idle for a while. Please provide an update.\n\n`,{taskAssignees:t.assignees.map((e=>e?.id))});const u=structured_metadata_createStructuredMetadata(On,c);if(!s.pullRequestRequired){await r.rest.issues.createComment({owner:i,repo:o,issue_number:a,body:[c.logMessage.raw,u].join("\n")})}else{const t=(await collectLinkedPullRequests(e,{repo:o,owner:i,issue_number:a})).filter((e=>e.state==="OPEN"));let s=t.length===0;for(const e of t){const{owner:t,repo:o,issue_number:i}=parseIssueUrl(e.url);try{await r.rest.issues.createComment({owner:t,repo:o,issue_number:i,body:[c.logMessage.raw,u].join("\n")});if(e.reviewDecision==="CHANGES_REQUESTED"){await r.graphql(Hn,{input:{pullRequestId:e.id}})}}catch(t){n.error(`Could not post to ${e.url} will post to the issue instead.`,{e:t});s=true}}if(s){await r.rest.issues.createComment({owner:i,repo:o,issue_number:a,body:[c.logMessage.raw,u].join("\n")})}}return true}async function removeAllAssignees(e,t){const{octokit:r,logger:n}=e;const{repo:s,owner:o,issue_number:i}=parseIssueUrl(t.html_url);if(!t?.assignees?.length){n.error(`Missing Assignees from ${t.html_url}`);return false}const a=t.assignees.map((e=>e?.login)).filter((e=>!!e));const A=n.info(`Passed the disqualification threshold and no activity is detected, removing assignees: ${a.map((e=>`@${e}`)).join(", ")}.`,{issue:t.html_url});const c=structured_metadata_createStructuredMetadata(Ln,A);await r.rest.issues.createComment({owner:o,repo:s,issue_number:i,body:[A.logMessage.raw,c].join("\n")});await r.rest.issues.removeAssignees({owner:o,repo:s,issue_number:i,assignees:a});return true}async function closeLinkedPullRequests(e,t){const{octokit:r,logger:n}=e;const{repo:s,owner:o,issue_number:i}=parseIssueUrl(t.html_url);const a=(await collectLinkedPullRequests(e,{repo:s,owner:o,issue_number:i})).filter((e=>t.assignees?.some((t=>t.id===e.author.id))));for(const e of a){const{owner:t,repo:s,issue_number:o}=parseIssueUrl(e.url);try{await r.rest.pulls.update({owner:t,repo:s,pull_number:o,state:"closed"})}catch(t){n.error(`Could not close pull-request ${e.url}.`,{e:t})}}}function getMostRecentActivityDate(e,t){return t&&t>e?t:e}async function updateTaskReminder(e,t,r){const{octokit:n,logger:s,config:{eventWhitelist:o,warning:i,disqualification:a,prioritySpeed:A}}=e;const c=await getTaskAssignmentDetails(e,t,r);const u=DateTime.local();if(!c)return;const l=await n.paginate(n.rest.issues.listEvents,{owner:t.owner.login,repo:t.name,issue_number:r.number});const p=l.filter((e=>e.event==="assigned"&&c.taskAssignees.includes(e.actor.id))).sort(((e,t)=>DateTime.fromISO(t.created_at).toMillis()-DateTime.fromISO(e.created_at).toMillis())).shift();if(!p){s.error(`Failed to update activity for ${r.html_url}, there is no assigned event.`);return}const d=(await getAssigneesActivityForIssue(e,r,c.taskAssignees)).filter((e=>o.includes(e.event))).shift();const g=DateTime.fromISO(p.created_at);const h=parsePriorityLabel(r.labels);const E=Math.max(1,h);const m=d?.created_at?DateTime.fromISO(d.created_at):undefined;let I=getMostRecentActivityDate(g,m);const y=(await collectLinkedPullRequests(e,{issue_number:r.number,repo:t.name,owner:t.owner.login})).filter((e=>e.state==="OPEN")).map((e=>e.url));y.push(r.html_url);const C=await Promise.all(y.map((async t=>{const{issue_number:r,owner:n,repo:s}=parseIssueUrl(t);const o=await getCommentsFromMetadata(e,r,n,s,On);return o.filter((e=>DateTime.fromISO(e.created_at)>I))})));const Q=C.flat().shift();s.debug(`Handling metadata and disqualification threshold for ${r.html_url}`,{now:u.toLocaleString(DateTime.DATETIME_MED),assignedDate:DateTime.fromISO(p.created_at).toLocaleString(DateTime.DATETIME_MED),lastReminderComment:Q?DateTime.fromISO(Q.created_at).toLocaleString(DateTime.DATETIME_MED):"none",mostRecentActivityDate:I.toLocaleString(DateTime.DATETIME_MED)});const B=a-i;if(Q){const t=DateTime.fromISO(Q.created_at);I=t>I?t:I;if(I.plus({milliseconds:A?B/E:B})<=u){await unassignUserFromIssue(e,r);await closeLinkedPullRequests(e,r)}else{s.info(`Reminder was sent for ${r.html_url} already, not beyond disqualification deadline threshold yet.`,{now:u.toLocaleString(DateTime.DATETIME_MED),assignedDate:DateTime.fromISO(p.created_at).toLocaleString(DateTime.DATETIME_MED),lastReminderComment:Q?DateTime.fromISO(Q.created_at).toLocaleString(DateTime.DATETIME_MED):"none",mostRecentActivityDate:I.toLocaleString(DateTime.DATETIME_MED)})}}else{if(I.plus({milliseconds:A?i/E:i})<=u){await remindAssigneesForIssue(e,r)}else{s.info(`Nothing to do for ${r.html_url} still within due-time.`,{now:u.toLocaleString(DateTime.DATETIME_MED),assignedDate:DateTime.fromISO(p.created_at).toLocaleString(DateTime.DATETIME_MED),lastReminderComment:"none",mostRecentActivityDate:I.toLocaleString(DateTime.DATETIME_MED)})}}}async function watchUserActivity(e){const{logger:t}=e;const r=await getWatchedRepos(e);if(!r?.length){return{message:t.info("No watched repos have been found, no work to do.").logMessage.raw}}if(e.eventName==="issues.assigned"&&r.some((t=>t.id===e.payload.repository.id))&&"issue"in e.payload&&!shouldIgnoreIssue(e.payload.issue)){const r=["[!IMPORTANT]"];const n=Math.max(1,e.payload.issue.labels?parsePriorityLabel(e.payload.issue.labels):1);if(e.config.pullRequestRequired){r.push(`- Be sure to link a pull-request before the first reminder to avoid disqualification.`)}r.push(`- Reminders will be sent every \`${formatMillisecondsToHumanReadable(e.config.warning/n)}\` if there is no activity.`);r.push(`- Assignees will be disqualified after \`${formatMillisecondsToHumanReadable(e.config.disqualification/n)}\` of inactivity.`);const s=t.error(r.map((e=>`> ${e}`)).join("\n"));s.logMessage.diff=s.logMessage.raw;await postComment(e,s)}await Promise.all(r.map((async r=>{t.debug(`> Watching user activity for repo: ${r.name} (${r.html_url})`);await updateReminders(e,r)})));return{message:"OK"}}function shouldIgnoreIssue(e){return e.draft||e.pull_request||e.locked||e.state!=="open"}async function updateReminders(e,t){const{logger:r,octokit:n,payload:s}=e;const o=s.repository.owner?.login;if(!o){throw new Error("No owner found in the payload")}const i=await n.paginate(n.rest.issues.listForRepo,{owner:o,repo:t.name,per_page:100,state:"open"});await Promise.all(i.map((async n=>{if(shouldIgnoreIssue(n)){r.debug(`Skipping issue ${n.html_url} due to the issue not meeting the right criteria.`,{draft:n.draft,pullRequest:!!n.pull_request,locked:n.locked,state:n.state});return}if(n.assignees?.length||n.assignee){r.debug(`Checking assigned issue: ${n.html_url}`);await updateTaskReminder(e,t,n)}else{r.info(`Skipping issue ${n.html_url} because no user is assigned.`)}})))}async function run(e){e.logger.debug("Will run with the following configuration:",{configuration:e.config});return watchUserActivity(e)}function thresholdType(e){return _.Transform(_.String(e)).Decode((e=>{const t=Nn()(e);if(t===undefined){throw new error_TypeBoxError(`Invalid threshold value: [${e}]`)}return t})).Encode((e=>{const t=Nn()(e,{long:true});if(t===undefined){throw new error_TypeBoxError(`Invalid threshold value: [${e}]`)}return t}))}const qn=["pull_request.review_requested","pull_request.ready_for_review","pull_request_review_comment.created","issue_comment.created","push"];function mapWebhookToEvent(e){const t=new Map([["pull_request.review_requested","review_requested"],["pull_request.ready_for_review","ready_for_review"],["pull_request_review_comment.created","commented"],["issue_comment.created","commented"],["push","committed"]]);return t.get(e)}const Jn=_.Object({warning:thresholdType({default:"3.5 days",description:"Delay to send reminders. 0 means disabled. Any other value is counted in days, e.g. 1,5 days"}),watch:_.Object({optOut:_.Array(_.String(),{default:[],description:"List of repositories to opt-out from watching user activity within the organization",examples:["repoName","no-owner-required"]})},{default:{}}),prioritySpeed:_.Boolean({default:true,description:"Whether to rush the follow ups by the priority level"}),disqualification:thresholdType({default:"7 days",description:"Delay to unassign users. 0 means disabled and any other value is counted in days, e.g. 7 days",examples:["7 days","1 day"]}),pullRequestRequired:_.Boolean({default:true,description:"Whether a pull request is required for the given issue on disqualify",examples:["true","false"]}),eventWhitelist:_.Transform(_.Array(_.String(),{default:qn,description:"List of webhook event names to consider as valid activity on a task",examples:["pull_request.review_requested","issue_comment.created","push"]})).Decode((e=>{const t=Object.values(qn);const r=[];for(const n of e){if(!t.includes(n)){throw new error_TypeBoxError(`Invalid event [${n}] (unknown event)`)}const e=mapWebhookToEvent(n);if(!e){throw new error_TypeBoxError(`Invalid event [${n}] (unmapped event)`)}if(!r.includes(e)){r.push(e)}}return r})).Encode((e=>e.map((e=>{const t=new Map([["review_requested","pull_request.review_requested"],["ready_for_review","pull_request.ready_for_review"],["commented","pull_request_review_comment.created"],["commented","issue_comment.created"],["committed","push"]]);return t.get(e)}))))},{default:{}});const Wn=_.Object({});createActionsPlugin((e=>run(e)),{envSchema:Wn,settingsSchema:Jn,logLevel:process.env.LOG_LEVEL||i.INFO,postCommentOnError:false,...process.env.KERNEL_PUBLIC_KEY&&{kernelPublicKey:process.env.KERNEL_PUBLIC_KEY}}).catch(console.error); \ No newline at end of file diff --git a/package.json b/package.json index 9aee29f..1c90744 100644 --- a/package.json +++ b/package.json @@ -20,8 +20,7 @@ "prepare": "husky install", "test": "cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest --setupFiles dotenv/config --coverage", "supabase:generate:local": "supabase gen types typescript --local > src/types/database.ts", - "supabase:generate:remote": "cross-env-shell \"supabase gen types typescript --project-id $SUPABASE_PROJECT_ID --schema public > src/types/database.ts\"", - "server": "bun --watch src/worker.ts" + "supabase:generate:remote": "cross-env-shell \"supabase gen types typescript --project-id $SUPABASE_PROJECT_ID --schema public > src/types/database.ts\"" }, "keywords": [ "typescript", diff --git a/src/handlers/time-format.ts b/src/handlers/time-format.ts index d7dfa03..e8065a5 100644 --- a/src/handlers/time-format.ts +++ b/src/handlers/time-format.ts @@ -1,14 +1,33 @@ -export function formatMillisecondsToDaysAndHours(milliseconds: number): string { +export function formatMillisecondsToHumanReadable(milliseconds: number): string { if (milliseconds <= 0) { - return "0 days and 0 hours"; + return "< 1 minute"; } const days = Math.floor(milliseconds / (1000 * 60 * 60 * 24)); const hours = Math.floor((milliseconds % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); - if (days === 0) { - return `${hours} ${hours === 1 ? "hour" : "hours"}`; - } else if (hours === 0) { - return `${days} ${days === 1 ? "day" : "days"}`; + const minutes = Math.floor((milliseconds % (1000 * 60 * 60)) / (1000 * 60)); + const components: string[] = []; + + if (days > 0) { + components.push(`${days} ${days === 1 ? "day" : "days"}`); + } + + if (hours > 0) { + components.push(`${hours} ${hours === 1 ? "hour" : "hours"}`); + } + + if (minutes > 0) { + components.push(`${minutes} ${minutes === 1 ? "minute" : "minutes"}`); + } + + if (components.length === 0) { + return "< 1 minute"; + } + + if (components.length === 1) { + return components[0]; + } else if (components.length === 2) { + return `${components[0]} and ${components[1]}`; } else { - return `${days} ${days === 1 ? "day" : "days"} and ${hours} ${hours === 1 ? "hour" : "hours"}`; + return `${components[0]}, ${components[1]}, and ${components[2]}`; } } diff --git a/src/handlers/watch-user-activity.ts b/src/handlers/watch-user-activity.ts index 67e1b53..0fa8ec7 100644 --- a/src/handlers/watch-user-activity.ts +++ b/src/handlers/watch-user-activity.ts @@ -1,11 +1,11 @@ import { RestEndpointMethodTypes } from "@octokit/rest"; import { postComment } from "@ubiquity-os/plugin-sdk"; +import { formatMillisecondsToHumanReadable } from "./time-format"; import { getWatchedRepos } from "../helpers/get-watched-repos"; import { parsePriorityLabel } from "../helpers/task-metadata"; import { updateTaskReminder } from "../helpers/task-update"; import { ListForOrg } from "../types/github-types"; import { ContextPlugin } from "../types/plugin-input"; -import { formatMillisecondsToDaysAndHours } from "./time-format"; type IssueType = RestEndpointMethodTypes["issues"]["listForRepo"]["response"]["data"]["0"]; @@ -29,9 +29,9 @@ export async function watchUserActivity(context: ContextPlugin) { if (context.config.pullRequestRequired) { message.push(`- Be sure to link a pull-request before the first reminder to avoid disqualification.`); } - message.push(`- Reminders will be sent every \`${formatMillisecondsToDaysAndHours(context.config.warning / priorityValue)}\` if there is no activity.`); + message.push(`- Reminders will be sent every \`${formatMillisecondsToHumanReadable(context.config.warning / priorityValue)}\` if there is no activity.`); message.push( - `- Assignees will be disqualified after \`${formatMillisecondsToDaysAndHours(context.config.disqualification / priorityValue)}\` of inactivity.` + `- Assignees will be disqualified after \`${formatMillisecondsToHumanReadable(context.config.disqualification / priorityValue)}\` of inactivity.` ); const log = logger.error(message.map((o) => `> ${o}`).join("\n")); log.logMessage.diff = log.logMessage.raw; diff --git a/src/helpers/collect-linked-pulls.ts b/src/helpers/collect-linked-pulls.ts index 23893aa..6d450cb 100644 --- a/src/helpers/collect-linked-pulls.ts +++ b/src/helpers/collect-linked-pulls.ts @@ -2,7 +2,7 @@ import { PullRequest, validate } from "@octokit/graphql-schema"; import { ContextPlugin } from "../types/plugin-input"; type ClosedByPullRequestsReferences = { - node: Pick & { author: { login: string; id: number } }; + node: Pick & { author: { login: string; id: number } }; }; type IssueWithClosedByPrs = { @@ -34,6 +34,7 @@ const query = /* GraphQL */ ` id: databaseId } } + reviewDecision } } } diff --git a/src/helpers/remind-and-remove.ts b/src/helpers/remind-and-remove.ts index c0bc767..64f62ac 100644 --- a/src/helpers/remind-and-remove.ts +++ b/src/helpers/remind-and-remove.ts @@ -20,7 +20,7 @@ export async function remindAssigneesForIssue(context: ContextPlugin, issue: Lis const { logger, config } = context; const issueItem = parseIssueUrl(issue.html_url); - const hasLinkedPr = !!(await collectLinkedPullRequests(context, issueItem)).length; + const hasLinkedPr = !!(await collectLinkedPullRequests(context, issueItem)).filter((o) => o.state === "OPEN").length; if (config.warning <= 0) { logger.info("The reminder threshold is <= 0, won't send any reminder."); } else if (config.pullRequestRequired && !hasLinkedPr) { @@ -71,11 +71,13 @@ async function remindAssignees(context: ContextPlugin, issue: ListIssueForRepo) issue_number: prNumber, body: [logMessage.logMessage.raw, metadata].join("\n"), }); - await octokit.graphql(MUTATION_PULL_REQUEST_TO_DRAFT, { - input: { - pullRequestId: pullRequest.id, - }, - }); + if (pullRequest.reviewDecision === "CHANGES_REQUESTED") { + await octokit.graphql(MUTATION_PULL_REQUEST_TO_DRAFT, { + input: { + pullRequestId: pullRequest.id, + }, + }); + } } catch (e) { logger.error(`Could not post to ${pullRequest.url} will post to the issue instead.`, { e }); shouldPostToMainIssue = true;