diff --git a/.github/actions/next-repo-actions/dist/triage-issues-with-ai/index.js b/.github/actions/next-repo-actions/dist/triage-issues-with-ai/index.js index c67d4323b6c18..d23c381ce3c57 100644 --- a/.github/actions/next-repo-actions/dist/triage-issues-with-ai/index.js +++ b/.github/actions/next-repo-actions/dist/triage-issues-with-ai/index.js @@ -13,4 +13,4 @@ e.exports=r(6450)},588:(e,t,r)=>{"use strict"; * MIT Licensed */var s=r(3182);var n=r(1017).extname;var o=/^\s*([^;\s]*)(?:;|\s|$)/;var i=/^text\//i;t.charset=charset;t.charsets={lookup:charset};t.contentType=contentType;t.extension=extension;t.extensions=Object.create(null);t.lookup=lookup;t.types=Object.create(null);populateMaps(t.extensions,t.types);function charset(e){if(!e||typeof e!=="string"){return false}var t=o.exec(e);var r=t&&s[t[1].toLowerCase()];if(r&&r.charset){return r.charset}if(t&&i.test(t[1])){return"UTF-8"}return false}function contentType(e){if(!e||typeof e!=="string"){return false}var r=e.indexOf("/")===-1?t.lookup(e):e;if(!r){return false}if(r.indexOf("charset")===-1){var s=t.charset(r);if(s)r+="; charset="+s.toLowerCase()}return r}function extension(e){if(!e||typeof e!=="string"){return false}var r=o.exec(e);var s=r&&t.extensions[r[1].toLowerCase()];if(!s||!s.length){return false}return s[0]}function lookup(e){if(!e||typeof e!=="string"){return false}var r=n("x."+e).toLowerCase().substr(1);if(!r){return false}return t.types[r]||false}function populateMaps(e,t){var r=["nginx","apache",undefined,"iana"];Object.keys(s).forEach((function forEachMimeType(n){var o=s[n];var i=o.extensions;if(!i||!i.length){return}e[n]=i;for(var a=0;al||c===l&&t[A].substr(0,12)==="application/")){continue}}t[A]=n}}))}},3069:(e,t,r)=>{var s=r(7212);e.exports=s(once);e.exports.strict=s(onceStrict);once.proto=once((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return once(this)},configurable:true});Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return onceStrict(this)},configurable:true})}));function once(e){var f=function(){if(f.called)return f.value;f.called=true;return f.value=e.apply(this,arguments)};f.called=false;return f}function onceStrict(e){var f=function(){if(f.called)throw new Error(f.onceError);f.called=true;return f.value=e.apply(this,arguments)};var t=e.name||"Function wrapped with `once`";f.onceError=t+" shouldn't be called more than once";f.called=false;return f}},7574:e=>{"use strict";e.exports=(e,t)=>{t=t||(()=>{});return e.then((e=>new Promise((e=>{e(t())})).then((()=>e))),(e=>new Promise((e=>{e(t())})).then((()=>{throw e}))))}},5062:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const s=r(2171);const n=r(2013);const o=r(8663);const empty=()=>{};const i=new n.TimeoutError;class PQueue extends s{constructor(e){var t,r,s,n;super();this._intervalCount=0;this._intervalEnd=0;this._pendingCount=0;this._resolveEmpty=empty;this._resolveIdle=empty;e=Object.assign({carryoverConcurrencyCount:false,intervalCap:Infinity,interval:0,concurrency:Infinity,autoStart:true,queueClass:o.default},e);if(!(typeof e.intervalCap==="number"&&e.intervalCap>=1)){throw new TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${(r=(t=e.intervalCap)===null||t===void 0?void 0:t.toString())!==null&&r!==void 0?r:""}\` (${typeof e.intervalCap})`)}if(e.interval===undefined||!(Number.isFinite(e.interval)&&e.interval>=0)){throw new TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${(n=(s=e.interval)===null||s===void 0?void 0:s.toString())!==null&&n!==void 0?n:""}\` (${typeof e.interval})`)}this._carryoverConcurrencyCount=e.carryoverConcurrencyCount;this._isIntervalIgnored=e.intervalCap===Infinity||e.interval===0;this._intervalCap=e.intervalCap;this._interval=e.interval;this._queue=new e.queueClass;this._queueClass=e.queueClass;this.concurrency=e.concurrency;this._timeout=e.timeout;this._throwOnTimeout=e.throwOnTimeout===true;this._isPaused=e.autoStart===false}get _doesIntervalAllowAnother(){return this._isIntervalIgnored||this._intervalCount{this._onResumeInterval()}),t)}return true}}return false}_tryToStartAnother(){if(this._queue.size===0){if(this._intervalId){clearInterval(this._intervalId)}this._intervalId=undefined;this._resolvePromises();return false}if(!this._isPaused){const e=!this._isIntervalPaused();if(this._doesIntervalAllowAnother&&this._doesConcurrentAllowAnother){const t=this._queue.dequeue();if(!t){return false}this.emit("active");t();if(e){this._initializeIntervalIfNeeded()}return true}}return false}_initializeIntervalIfNeeded(){if(this._isIntervalIgnored||this._intervalId!==undefined){return}this._intervalId=setInterval((()=>{this._onInterval()}),this._interval);this._intervalEnd=Date.now()+this._interval}_onInterval(){if(this._intervalCount===0&&this._pendingCount===0&&this._intervalId){clearInterval(this._intervalId);this._intervalId=undefined}this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0;this._processQueue()}_processQueue(){while(this._tryToStartAnother()){}}get concurrency(){return this._concurrency}set concurrency(e){if(!(typeof e==="number"&&e>=1)){throw new TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${e}\` (${typeof e})`)}this._concurrency=e;this._processQueue()}async add(e,t={}){return new Promise(((r,s)=>{const run=async()=>{this._pendingCount++;this._intervalCount++;try{const o=this._timeout===undefined&&t.timeout===undefined?e():n.default(Promise.resolve(e()),t.timeout===undefined?this._timeout:t.timeout,(()=>{if(t.throwOnTimeout===undefined?this._throwOnTimeout:t.throwOnTimeout){s(i)}return undefined}));r(await o)}catch(e){s(e)}this._next()};this._queue.enqueue(run,t);this._tryToStartAnother();this.emit("add")}))}async addAll(e,t){return Promise.all(e.map((async e=>this.add(e,t))))}start(){if(!this._isPaused){return this}this._isPaused=false;this._processQueue();return this}pause(){this._isPaused=true}clear(){this._queue=new this._queueClass}async onEmpty(){if(this._queue.size===0){return}return new Promise((e=>{const t=this._resolveEmpty;this._resolveEmpty=()=>{t();e()}}))}async onIdle(){if(this._pendingCount===0&&this._queue.size===0){return}return new Promise((e=>{const t=this._resolveIdle;this._resolveIdle=()=>{t();e()}}))}get size(){return this._queue.size}sizeBy(e){return this._queue.filter(e).length}get pending(){return this._pendingCount}get isPaused(){return this._isPaused}get timeout(){return this._timeout}set timeout(e){this._timeout=e}}t["default"]=PQueue},7904:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function lowerBound(e,t,r){let s=0;let n=e.length;while(n>0){const o=n/2|0;let i=s+o;if(r(e[i],t)<=0){s=++i;n-=o+1}else{n=o}}return s}t["default"]=lowerBound},8663:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const s=r(7904);class PriorityQueue{constructor(){this._queue=[]}enqueue(e,t){t=Object.assign({priority:0},t);const r={priority:t.priority,run:e};if(this.size&&this._queue[this.size-1].priority>=t.priority){this._queue.push(r);return}const n=s.default(this._queue,r,((e,t)=>t.priority-e.priority));this._queue.splice(n,0,r)}dequeue(){const e=this._queue.shift();return e===null||e===void 0?void 0:e.run}filter(e){return this._queue.filter((t=>t.priority===e.priority)).map((e=>e.run))}get size(){return this._queue.length}}t["default"]=PriorityQueue},9005:(e,t,r)=>{"use strict";const s=r(5560);const n=["Failed to fetch","NetworkError when attempting to fetch resource.","The Internet connection appears to be offline.","Network request failed"];class AbortError extends Error{constructor(e){super();if(e instanceof Error){this.originalError=e;({message:e}=e)}else{this.originalError=new Error(e);this.originalError.stack=this.stack}this.name="AbortError";this.message=e}}const decorateErrorWithCounts=(e,t,r)=>{const s=r.retries-(t-1);e.attemptNumber=t;e.retriesLeft=s;return e};const isNetworkError=e=>n.includes(e);const pRetry=(e,t)=>new Promise(((r,n)=>{t={onFailedAttempt:()=>{},retries:10,...t};const o=s.operation(t);o.attempt((async s=>{try{r(await e(s))}catch(e){if(!(e instanceof Error)){n(new TypeError(`Non-error was thrown: "${e}". You should only throw errors.`));return}if(e instanceof AbortError){o.stop();n(e.originalError)}else if(e instanceof TypeError&&!isNetworkError(e.message)){o.stop();n(e)}else{decorateErrorWithCounts(e,s,t);try{await t.onFailedAttempt(e)}catch(e){n(e);return}if(!o.retry(e)){n(o.mainError())}}}}))}));e.exports=pRetry;e.exports["default"]=pRetry;e.exports.AbortError=AbortError},2013:(e,t,r)=>{"use strict";const s=r(7574);class TimeoutError extends Error{constructor(e){super(e);this.name="TimeoutError"}}const pTimeout=(e,t,r)=>new Promise(((n,o)=>{if(typeof t!=="number"||t<0){throw new TypeError("Expected `milliseconds` to be a positive number")}if(t===Infinity){n(e);return}const i=setTimeout((()=>{if(typeof r==="function"){try{n(r())}catch(e){o(e)}return}const s=typeof r==="string"?r:`Promise timed out after ${t} milliseconds`;const i=r instanceof Error?r:new TimeoutError(s);if(typeof e.cancel==="function"){e.cancel()}o(i)}),t);s(e.then(n,o),(()=>{clearTimeout(i)}))}));e.exports=pTimeout;e.exports["default"]=pTimeout;e.exports.TimeoutError=TimeoutError},490:(e,t,r)=>{"use strict";var s=r(7310).parse;var n={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443};var o=String.prototype.endsWith||function(e){return e.length<=this.length&&this.indexOf(e,this.length-e.length)!==-1};function getProxyForUrl(e){var t=typeof e==="string"?s(e):e||{};var r=t.protocol;var o=t.host;var i=t.port;if(typeof o!=="string"||!o||typeof r!=="string"){return""}r=r.split(":",1)[0];o=o.replace(/:\d*$/,"");i=parseInt(i)||n[r]||0;if(!shouldProxy(o,i)){return""}var a=getEnv("npm_config_"+r+"_proxy")||getEnv(r+"_proxy")||getEnv("npm_config_proxy")||getEnv("all_proxy");if(a&&a.indexOf("://")===-1){a=r+"://"+a}return a}function shouldProxy(e,t){var r=(getEnv("npm_config_no_proxy")||getEnv("no_proxy")).toLowerCase();if(!r){return true}if(r==="*"){return false}return r.split(/[,\s]/).every((function(r){if(!r){return true}var s=r.match(/^(.+):(\d+)$/);var n=s?s[1]:r;var i=s?parseInt(s[2]):0;if(i&&i!==t){return true}if(!/^[.*]/.test(n)){return e!==n}if(n.charAt(0)==="*"){n=n.slice(1)}return!o.call(e,n)}))}function getEnv(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}t.getProxyForUrl=getProxyForUrl},5560:(e,t,r)=>{e.exports=r(5312)},5312:(e,t,r)=>{var s=r(9689);t.operation=function(e){var r=t.timeouts(e);return new s(r,{forever:e&&(e.forever||e.retries===Infinity),unref:e&&e.unref,maxRetryTime:e&&e.maxRetryTime})};t.timeouts=function(e){if(e instanceof Array){return[].concat(e)}var t={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:Infinity,randomize:false};for(var r in e){t[r]=e[r]}if(t.minTimeout>t.maxTimeout){throw new Error("minTimeout is greater than maxTimeout")}var s=[];for(var n=0;n{function RetryOperation(e,t){if(typeof t==="boolean"){t={forever:t}}this._originalTimeouts=JSON.parse(JSON.stringify(e));this._timeouts=e;this._options=t||{};this._maxRetryTime=t&&t.maxRetryTime||Infinity;this._fn=null;this._errors=[];this._attempts=1;this._operationTimeout=null;this._operationTimeoutCb=null;this._timeout=null;this._operationStart=null;this._timer=null;if(this._options.forever){this._cachedTimeouts=this._timeouts.slice(0)}}e.exports=RetryOperation;RetryOperation.prototype.reset=function(){this._attempts=1;this._timeouts=this._originalTimeouts.slice(0)};RetryOperation.prototype.stop=function(){if(this._timeout){clearTimeout(this._timeout)}if(this._timer){clearTimeout(this._timer)}this._timeouts=[];this._cachedTimeouts=null};RetryOperation.prototype.retry=function(e){if(this._timeout){clearTimeout(this._timeout)}if(!e){return false}var t=(new Date).getTime();if(e&&t-this._operationStart>=this._maxRetryTime){this._errors.push(e);this._errors.unshift(new Error("RetryOperation timeout occurred"));return false}this._errors.push(e);var r=this._timeouts.shift();if(r===undefined){if(this._cachedTimeouts){this._errors.splice(0,this._errors.length-1);r=this._cachedTimeouts.slice(-1)}else{return false}}var s=this;this._timer=setTimeout((function(){s._attempts++;if(s._operationTimeoutCb){s._timeout=setTimeout((function(){s._operationTimeoutCb(s._attempts)}),s._operationTimeout);if(s._options.unref){s._timeout.unref()}}s._fn(s._attempts)}),r);if(this._options.unref){this._timer.unref()}return true};RetryOperation.prototype.attempt=function(e,t){this._fn=e;if(t){if(t.timeout){this._operationTimeout=t.timeout}if(t.cb){this._operationTimeoutCb=t.cb}}var r=this;if(this._operationTimeoutCb){this._timeout=setTimeout((function(){r._operationTimeoutCb()}),r._operationTimeout)}this._operationStart=(new Date).getTime();this._fn(this._attempts)};RetryOperation.prototype.try=function(e){console.log("Using RetryOperation.try() is deprecated");this.attempt(e)};RetryOperation.prototype.start=function(e){console.log("Using RetryOperation.start() is deprecated");this.attempt(e)};RetryOperation.prototype.start=RetryOperation.prototype.try;RetryOperation.prototype.errors=function(){return this._errors};RetryOperation.prototype.attempts=function(){return this._attempts};RetryOperation.prototype.mainError=function(){if(this._errors.length===0){return null}var e={};var t=null;var r=0;for(var s=0;s=r){t=n;r=i}}return t}},4642:e=>{"use strict";const t=typeof Buffer!=="undefined";const r=/"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*:/;const s=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/;function _parse(e,n,o){if(o==null){if(n!==null&&typeof n==="object"){o=n;n=undefined}}if(t&&Buffer.isBuffer(e)){e=e.toString()}if(e&&e.charCodeAt(0)===65279){e=e.slice(1)}const i=JSON.parse(e,n);if(i===null||typeof i!=="object"){return i}const a=o&&o.protoAction||"error";const A=o&&o.constructorAction||"error";if(a==="ignore"&&A==="ignore"){return i}if(a!=="ignore"&&A!=="ignore"){if(r.test(e)===false&&s.test(e)===false){return i}}else if(a!=="ignore"&&A==="ignore"){if(r.test(e)===false){return i}}else{if(s.test(e)===false){return i}}return filter(i,{protoAction:a,constructorAction:A,safe:o&&o.safe})}function filter(e,{protoAction:t="error",constructorAction:r="error",safe:s}={}){let n=[e];while(n.length){const e=n;n=[];for(const o of e){if(t!=="ignore"&&Object.prototype.hasOwnProperty.call(o,"__proto__")){if(s===true){return null}else if(t==="error"){throw new SyntaxError("Object contains forbidden prototype property")}delete o.__proto__}if(r!=="ignore"&&Object.prototype.hasOwnProperty.call(o,"constructor")&&Object.prototype.hasOwnProperty.call(o.constructor,"prototype")){if(s===true){return null}else if(r==="error"){throw new SyntaxError("Object contains forbidden prototype property")}delete o.constructor}for(const e in o){const t=o[e];if(t&&typeof t==="object"){n.push(t)}}}}return e}function parse(e,t,r){const s=Error.stackTraceLimit;Error.stackTraceLimit=0;try{return _parse(e,t,r)}finally{Error.stackTraceLimit=s}}function safeParse(e,t){const r=Error.stackTraceLimit;Error.stackTraceLimit=0;try{return _parse(e,t,{safe:true})}catch(e){return null}finally{Error.stackTraceLimit=r}}e.exports=parse;e.exports["default"]=parse;e.exports.parse=parse;e.exports.safeParse=safeParse;e.exports.scan=filter},1856:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AttachmentBuilder=void 0;const s=r(5154);const n=r(6564);const o=r(133);const i=r(3077);class AttachmentBuilder extends s.BitBuilderBase{build(){return this.getResult(n.SlackDto,{blocks:o.getBuilderResults(this.props.blocks)})}}t.AttachmentBuilder=AttachmentBuilder;o.applyMixins(AttachmentBuilder,[i.Blocks,i.Color,i.End,i.Fallback])},2306:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ConfirmationDialogBuilder=void 0;const s=r(5154);const n=r(6564);const o=r(133);const i=r(3077);class ConfirmationDialogBuilder extends s.BitBuilderBase{build(){return this.getResult(n.SlackDto,{text:o.getMarkdownObject(this.props.text),title:o.getPlainTextObject(this.props.title),confirm:o.getPlainTextObject(this.props.confirm),deny:o.getPlainTextObject(this.props.deny)})}}t.ConfirmationDialogBuilder=ConfirmationDialogBuilder;o.applyMixins(ConfirmationDialogBuilder,[i.Confirm,i.Danger,i.Deny,i.End,i.Primary,i.Text,i.Title])},3706:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Bits=t.OptionGroup=t.Option=t.ConfirmationDialog=t.Attachment=void 0;const s=r(1856);const n=r(2306);const o=r(4198);const i=r(3907);function Attachment(e){return new s.AttachmentBuilder(e)}t.Attachment=Attachment;function ConfirmationDialog(e){return new n.ConfirmationDialogBuilder(e)}t.ConfirmationDialog=ConfirmationDialog;function Option(e){return new o.OptionBuilder(e)}t.Option=Option;function OptionGroup(e){return new i.OptionGroupBuilder(e)}t.OptionGroup=OptionGroup;const a={Attachment:Attachment,ConfirmationDialog:ConfirmationDialog,Option:Option,OptionGroup:OptionGroup};t.Bits=a},3907:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.OptionGroupBuilder=void 0;const s=r(5154);const n=r(6564);const o=r(133);const i=r(3077);class OptionGroupBuilder extends s.BitBuilderBase{build(){return this.getResult(n.SlackDto,{label:o.getPlainTextObject(this.props.label),options:o.getBuilderResults(this.props.options)})}}t.OptionGroupBuilder=OptionGroupBuilder;o.applyMixins(OptionGroupBuilder,[i.End,i.Label,i.Options])},4198:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.OptionBuilder=void 0;const s=r(5154);const n=r(6564);const o=r(133);const i=r(3077);class OptionBuilder extends s.BitBuilderBase{build({isMarkdown:e}={isMarkdown:false}){return this.getResult(n.SlackDto,{text:e?o.getMarkdownObject(this.props.text):o.getPlainTextObject(this.props.text),description:e?o.getMarkdownObject(this.props.description):o.getPlainTextObject(this.props.description)})}}t.OptionBuilder=OptionBuilder;o.applyMixins(OptionBuilder,[i.Description,i.End,i.Text,i.Url,i.Value])},3682:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ActionsBuilder=void 0;const s=r(5154);const n=r(6838);const o=r(6564);const i=r(133);const a=r(3077);class ActionsBuilder extends s.BlockBuilderBase{build(){return this.getResult(o.SlackBlockDto,{type:n.BlockType.Actions,elements:i.getBuilderResults(this.props.elements)})}}t.ActionsBuilder=ActionsBuilder;i.applyMixins(ActionsBuilder,[a.BlockId,a.End,a.Elements])},1489:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ContextBuilder=void 0;const s=r(5154);const n=r(6838);const o=r(6564);const i=r(133);const a=r(3077);class ContextBuilder extends s.BlockBuilderBase{build(){return this.getResult(o.SlackBlockDto,{type:n.BlockType.Context,elements:i.getElementsForContext(this.props.elements)})}}t.ContextBuilder=ContextBuilder;i.applyMixins(ContextBuilder,[a.BlockId,a.Elements,a.End])},6369:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DividerBuilder=void 0;const s=r(5154);const n=r(6838);const o=r(6564);const i=r(133);const a=r(3077);class DividerBuilder extends s.BlockBuilderBase{build(){return this.getResult(o.SlackBlockDto,{type:n.BlockType.Divider})}}t.DividerBuilder=DividerBuilder;i.applyMixins(DividerBuilder,[a.BlockId,a.End])},9970:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.FileBuilder=void 0;const s=r(5154);const n=r(6838);const o=r(6564);const i=r(133);const a=r(3077);class FileBuilder extends s.BlockBuilderBase{build(){return this.getResult(o.SlackBlockDto,{type:n.BlockType.File,source:n.FileType.Remote})}}t.FileBuilder=FileBuilder;i.applyMixins(FileBuilder,[a.BlockId,a.End,a.ExternalId])},4897:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.HeaderBuilder=void 0;const s=r(5154);const n=r(6838);const o=r(6564);const i=r(133);const a=r(3077);class HeaderBuilder extends s.BlockBuilderBase{build(){return this.getResult(o.SlackBlockDto,{type:n.BlockType.Header,text:i.getPlainTextObject(this.props.text)})}}t.HeaderBuilder=HeaderBuilder;i.applyMixins(HeaderBuilder,[a.BlockId,a.End,a.Text])},5828:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ImageBuilder=void 0;const s=r(5154);const n=r(6838);const o=r(6564);const i=r(133);const a=r(3077);class ImageBuilder extends s.BlockBuilderBase{build(){return this.getResult(o.SlackBlockDto,{type:n.BlockType.Image,title:i.getPlainTextObject(this.props.title)})}}t.ImageBuilder=ImageBuilder;i.applyMixins(ImageBuilder,[a.AltText,a.BlockId,a.End,a.ImageUrl,a.Title])},7604:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Blocks=t.Video=t.Section=t.Input=t.Image=t.Header=t.File=t.Divider=t.Context=t.Actions=void 0;const s=r(3682);const n=r(1489);const o=r(6369);const i=r(9970);const a=r(4897);const A=r(5828);const c=r(6047);const l=r(7381);const u=r(2963);function Actions(e){return new s.ActionsBuilder(e)}t.Actions=Actions;function Context(e){return new n.ContextBuilder(e)}t.Context=Context;function Divider(e){return new o.DividerBuilder(e)}t.Divider=Divider;function File(e){return new i.FileBuilder(e)}t.File=File;function Header(e){return new a.HeaderBuilder(e)}t.Header=Header;function Image(e){return new A.ImageBuilder(e)}t.Image=Image;function Input(e){return new c.InputBuilder(e)}t.Input=Input;function Section(e){return new l.SectionBuilder(e)}t.Section=Section;function Video(e){return new u.VideoBuilder(e)}t.Video=Video;const p={Actions:Actions,Context:Context,Divider:Divider,File:File,Header:Header,Image:Image,Input:Input,Section:Section,Video:Video};t.Blocks=p},6047:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.InputBuilder=void 0;const s=r(5154);const n=r(6838);const o=r(6564);const i=r(133);const a=r(3077);class InputBuilder extends s.BlockBuilderBase{build(){return this.getResult(o.SlackBlockDto,{type:n.BlockType.Input,label:i.getPlainTextObject(this.props.label),hint:i.getPlainTextObject(this.props.hint),element:i.getBuilderResult(this.props.element)})}}t.InputBuilder=InputBuilder;i.applyMixins(InputBuilder,[a.BlockId,a.DispatchAction,a.Element,a.End,a.Hint,a.Label,a.Optional])},7381:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.SectionBuilder=void 0;const s=r(5154);const n=r(6838);const o=r(6564);const i=r(133);const a=r(3077);class SectionBuilder extends s.BlockBuilderBase{build(){return this.getResult(o.SlackBlockDto,{type:n.BlockType.Section,text:i.getMarkdownObject(this.props.text),fields:i.getFields(this.props.fields),accessory:i.getBuilderResult(this.props.accessory)})}}t.SectionBuilder=SectionBuilder;i.applyMixins(SectionBuilder,[a.Accessory,a.BlockId,a.End,a.Fields,a.Text])},2963:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.VideoBuilder=void 0;const s=r(5154);const n=r(6838);const o=r(6564);const i=r(133);const a=r(3077);class VideoBuilder extends s.BlockBuilderBase{build(){return this.getResult(o.SlackBlockDto,{type:n.BlockType.Video,description:i.getPlainTextObject(this.props.description),title:i.getPlainTextObject(this.props.title)})}}t.VideoBuilder=VideoBuilder;i.applyMixins(VideoBuilder,[a.AltText,a.AuthorName,a.BlockId,a.Description,a.End,a.ProviderIconUrl,a.ProviderName,a.ThumbnailUrl,a.Title,a.TitleUrl,a.VideoUrl])},789:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AccordionUIComponent=void 0;const s=r(7604);const n=r(9269);const o=r(6838);const i=r(243);class AccordionUIComponent{constructor(e){this.items=e.items;this.paginator=e.paginator;this.expandButtonText=e.expandButtonText||o.ComponentUIText.More;this.collapseButtonText=e.collapseButtonText||o.ComponentUIText.Close;this.titleTextFunction=e.titleTextFunction;this.actionIdFunction=e.actionIdFunction;this.builderFunction=e.builderFunction;this.isExpandableFunction=e.isExpandableFunction}getBlocks(){const e=this.items.map(((e,t)=>{const r=this.paginator.checkItemIsExpandedByIndex(t);const o=s.Blocks.Section({text:this.titleTextFunction({item:e})});if(this.isExpandableFunction(e)){o.accessory(n.Elements.Button({text:r?this.collapseButtonText:this.expandButtonText,actionId:this.actionIdFunction({expandedItems:this.paginator.getNextStateByItemIndex(t)})}))}const i=[o,...r?this.builderFunction({item:e}).flat():[]];return t===0?i:[s.Blocks.Divider(),...i]})).flat();return i.Builder.pruneUndefinedFromArray(e)}}t.AccordionUIComponent=AccordionUIComponent},9192:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Components=t.Accordion=t.EasyPaginator=t.Paginator=void 0;const s=r(2870);const n=r(789);const o=r(1498);function Paginator(e){const{page:t,perPage:r,totalItems:n}=e;const i=new o.PaginatorStateManager({page:t,perPage:r,totalItems:n});return new s.PaginatorUIComponent({items:e.items,paginator:i,nextButtonText:e.nextButtonText||null,previousButtonText:e.previousButtonText||null,pageCountTextFunction:e.pageCountText||null,actionIdFunction:e.actionId,builderFunction:e.blocksForEach})}t.Paginator=Paginator;function EasyPaginator(e){const{page:t,perPage:r,items:n}=e;const i=n.length;const a=new o.PaginatorStateManager({page:t,perPage:r,totalItems:i});const A=a.extractItems(n);return new s.PaginatorUIComponent({paginator:a,items:A,nextButtonText:e.nextButtonText||null,previousButtonText:e.previousButtonText||null,pageCountTextFunction:e.pageCountText||null,actionIdFunction:e.actionId,builderFunction:e.blocksForEach})}t.EasyPaginator=EasyPaginator;function Accordion(e){const{items:t,expandedItems:r,collapseOnExpand:s}=e;const i=new o.AccordionStateManager({expandedItems:r,collapseOnExpand:s});return new n.AccordionUIComponent({items:t,paginator:i,expandButtonText:e.expandButtonText||null,collapseButtonText:e.collapseButtonText||null,titleTextFunction:e.titleText,actionIdFunction:e.actionId,builderFunction:e.blocksForExpanded,isExpandableFunction:e.isExpandable||(()=>true)})}t.Accordion=Accordion;const i={Paginator:Paginator,EasyPaginator:EasyPaginator,Accordion:Accordion};t.Components=i},2870:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PaginatorUIComponent=void 0;const s=r(7604);const n=r(9269);const o=r(6838);const i=r(243);const defaultPageCountText=({page:e,totalPages:t})=>`Page ${e} of ${t}`;class PaginatorUIComponent{constructor(e){this.items=e.items;this.paginator=e.paginator;this.nextButtonText=e.nextButtonText||o.ComponentUIText.Next;this.previousButtonText=e.previousButtonText||o.ComponentUIText.Previous;this.pageCountTextFunction=e.pageCountTextFunction||defaultPageCountText;this.actionIdFunction=e.actionIdFunction;this.builderFunction=e.builderFunction}getBlocks(){const e=[];for(let t=0;t1?[...e.flat(),s.Blocks.Context().elements(this.pageCountTextFunction({page:this.paginator.getPage(),totalPages:this.paginator.getTotalPages()})),s.Blocks.Divider(),s.Blocks.Actions().elements(n.Elements.Button({text:this.previousButtonText,actionId:this.actionIdFunction({buttonId:o.PaginatorButtonId.Previous,...this.paginator.getPreviousPageState()})}),n.Elements.Button({text:this.nextButtonText,actionId:this.actionIdFunction({buttonId:o.PaginatorButtonId.Next,...this.paginator.getNextPageState()})}))]:e.flat();return i.Builder.pruneUndefinedFromArray(t)}}t.PaginatorUIComponent=PaginatorUIComponent},2654:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.conditionals=t.omitIfFalsy=t.setIfFalsy=t.omitIfTruthy=t.setIfTruthy=void 0;const r=[undefined,null,false];const falsy=e=>r.includes(e);const truthy=e=>!r.includes(e);function setIfTruthy(e,t){return truthy(e)?t:undefined}t.setIfTruthy=setIfTruthy;function omitIfTruthy(e,t){return truthy(e)?undefined:t}t.omitIfTruthy=omitIfTruthy;function setIfFalsy(e,t){return falsy(e)?t:undefined}t.setIfFalsy=setIfFalsy;function omitIfFalsy(e,t){return falsy(e)?undefined:t}t.omitIfFalsy=omitIfFalsy;const s={setIfTruthy:setIfTruthy,omitIfTruthy:omitIfTruthy,setIfFalsy:setIfFalsy,omitIfFalsy:omitIfFalsy};t.conditionals=s},162:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ButtonBuilder=void 0;const s=r(5154);const n=r(6838);const o=r(6564);const i=r(133);const a=r(3077);class ButtonBuilder extends s.ElementBuilderBase{build(){return this.getResult(o.SlackElementDto,{type:n.ElementType.Button,confirm:i.getBuilderResult(this.props.confirm),text:i.getPlainTextObject(this.props.text)})}}t.ButtonBuilder=ButtonBuilder;i.applyMixins(ButtonBuilder,[a.AccessibilityLabel,a.ActionId,a.Confirm,a.Danger,a.End,a.Primary,a.Text,a.Url,a.Value])},3755:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ChannelMultiSelectBuilder=void 0;const s=r(5154);const n=r(6838);const o=r(6564);const i=r(133);const a=r(3077);class ChannelMultiSelectBuilder extends s.ElementBuilderBase{build(){return this.getResult(o.SlackElementDto,{type:n.ElementType.ChannelsMultiSelect,placeholder:i.getPlainTextObject(this.props.placeholder),confirm:i.getBuilderResult(this.props.confirm)})}}t.ChannelMultiSelectBuilder=ChannelMultiSelectBuilder;i.applyMixins(ChannelMultiSelectBuilder,[a.ActionId,a.Confirm,a.End,a.FocusOnLoad,a.InitialChannels,a.MaxSelectedItems,a.Placeholder])},9209:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ChannelSelectBuilder=void 0;const s=r(5154);const n=r(6838);const o=r(6564);const i=r(133);const a=r(3077);class ChannelSelectBuilder extends s.ElementBuilderBase{build(){return this.getResult(o.SlackElementDto,{type:n.ElementType.ChannelSelect,placeholder:i.getPlainTextObject(this.props.placeholder),confirm:i.getBuilderResult(this.props.confirm)})}}t.ChannelSelectBuilder=ChannelSelectBuilder;i.applyMixins(ChannelSelectBuilder,[a.ActionId,a.Confirm,a.End,a.FocusOnLoad,a.InitialChannel,a.Placeholder,a.ResponseUrlEnabled])},7794:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CheckboxesBuilder=void 0;const s=r(5154);const n=r(6838);const o=r(6564);const i=r(133);const a=r(3077);class CheckboxesBuilder extends s.ElementBuilderBase{build(){return this.getResult(o.SlackElementDto,{type:n.ElementType.Checkboxes,options:i.getBuilderResults(this.props.options,{isMarkdown:true}),initialOptions:i.getBuilderResults(this.props.initialOptions,{isMarkdown:true}),confirm:i.getBuilderResult(this.props.confirm)})}}t.CheckboxesBuilder=CheckboxesBuilder;i.applyMixins(CheckboxesBuilder,[a.ActionId,a.Confirm,a.End,a.FocusOnLoad,a.InitialOptions,a.Options])},4061:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ConversationMultiSelectBuilder=void 0;const s=r(5154);const n=r(6838);const o=r(6564);const i=r(133);const a=r(3077);class ConversationMultiSelectBuilder extends s.ElementBuilderBase{build(){return this.getResult(o.SlackElementDto,{type:n.ElementType.ConversationsMultiSelect,placeholder:i.getPlainTextObject(this.props.placeholder),confirm:i.getBuilderResult(this.props.confirm),filter:i.getFilter(this.props)})}}t.ConversationMultiSelectBuilder=ConversationMultiSelectBuilder;i.applyMixins(ConversationMultiSelectBuilder,[a.ActionId,a.Confirm,a.DefaultToCurrentConversation,a.End,a.ExcludeBotUsers,a.ExcludeExternalSharedChannels,a.Filter,a.FocusOnLoad,a.InitialConversations,a.MaxSelectedItems,a.Placeholder])},4742:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ConversationSelectBuilder=void 0;const s=r(5154);const n=r(6838);const o=r(6564);const i=r(133);const a=r(3077);class ConversationSelectBuilder extends s.ElementBuilderBase{build(){return this.getResult(o.SlackElementDto,{type:n.ElementType.ConversationSelect,placeholder:i.getPlainTextObject(this.props.placeholder),confirm:i.getBuilderResult(this.props.confirm),filter:i.getFilter(this.props)})}}t.ConversationSelectBuilder=ConversationSelectBuilder;i.applyMixins(ConversationSelectBuilder,[a.ActionId,a.Confirm,a.DefaultToCurrentConversation,a.End,a.ExcludeBotUsers,a.ExcludeExternalSharedChannels,a.Filter,a.FocusOnLoad,a.InitialConversation,a.Placeholder,a.ResponseUrlEnabled,a.Placeholder])},6086:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DatePickerBuilder=void 0;const s=r(5154);const n=r(6838);const o=r(6564);const i=r(133);const a=r(3077);class DatePickerBuilder extends s.ElementBuilderBase{build(){return this.getResult(o.SlackElementDto,{type:n.ElementType.DatePicker,placeholder:i.getPlainTextObject(this.props.placeholder),initialDate:i.getFormattedDate(this.props.initialDate),confirm:i.getBuilderResult(this.props.confirm)})}}t.DatePickerBuilder=DatePickerBuilder;i.applyMixins(DatePickerBuilder,[a.ActionId,a.Confirm,a.End,a.FocusOnLoad,a.InitialDate,a.Placeholder])},7779:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DateTimePickerBuilder=void 0;const s=r(5154);const n=r(6838);const o=r(6564);const i=r(133);const a=r(3077);class DateTimePickerBuilder extends s.ElementBuilderBase{build(){return this.getResult(o.SlackElementDto,{type:n.ElementType.DateTimePicker,initialDateTime:i.getDateTimeIntegerFromDate(this.props.initialDateTime),confirm:i.getBuilderResult(this.props.confirm)})}}t.DateTimePickerBuilder=DateTimePickerBuilder;i.applyMixins(DateTimePickerBuilder,[a.ActionId,a.Confirm,a.End,a.FocusOnLoad,a.InitialDateTime])},3164:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.EmailInputBuilder=void 0;const s=r(5154);const n=r(6838);const o=r(6564);const i=r(133);const a=r(3077);class EmailInputBuilder extends s.ElementBuilderBase{build(){return this.getResult(o.SlackElementDto,{type:n.ElementType.EmailInput,placeholder:i.getPlainTextObject(this.props.placeholder),dispatchActionConfig:i.getDispatchActionsConfigurationObject(this.props)})}}t.EmailInputBuilder=EmailInputBuilder;i.applyMixins(EmailInputBuilder,[a.ActionId,a.DispatchActionOnCharacterEntered,a.DispatchActionOnEnterPressed,a.End,a.FocusOnLoad,a.InitialValue,a.Placeholder])},6560:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExternalMultiSelectBuilder=void 0;const s=r(5154);const n=r(6838);const o=r(6564);const i=r(133);const a=r(3077);class ExternalMultiSelectBuilder extends s.ElementBuilderBase{build(){return this.getResult(o.SlackElementDto,{type:n.ElementType.ExternalMultiSelect,placeholder:i.getPlainTextObject(this.props.placeholder),initialOptions:i.getBuilderResults(this.props.initialOptions),confirm:i.getBuilderResult(this.props.confirm)})}}t.ExternalMultiSelectBuilder=ExternalMultiSelectBuilder;i.applyMixins(ExternalMultiSelectBuilder,[a.ActionId,a.Confirm,a.End,a.FocusOnLoad,a.InitialOptions,a.MaxSelectedItems,a.MinQueryLength,a.Placeholder])},8828:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExternalSelectBuilder=void 0;const s=r(5154);const n=r(6838);const o=r(6564);const i=r(133);const a=r(3077);class ExternalSelectBuilder extends s.ElementBuilderBase{build(){return this.getResult(o.SlackElementDto,{type:n.ElementType.ExternalSelect,placeholder:i.getPlainTextObject(this.props.placeholder),initialOption:i.getBuilderResult(this.props.initialOption),confirm:i.getBuilderResult(this.props.confirm)})}}t.ExternalSelectBuilder=ExternalSelectBuilder;i.applyMixins(ExternalSelectBuilder,[a.ActionId,a.Confirm,a.End,a.FocusOnLoad,a.InitialOption,a.MinQueryLength,a.Placeholder])},530:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.FileInputBuilder=void 0;const s=r(5154);const n=r(6838);const o=r(6564);const i=r(133);const a=r(3077);class FileInputBuilder extends s.ElementBuilderBase{build(){return this.getResult(o.SlackElementDto,{type:n.ElementType.FileInput})}}t.FileInputBuilder=FileInputBuilder;i.applyMixins(FileInputBuilder,[a.ActionId,a.Filetypes,a.MaxFiles,a.End])},1283:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ImgBuilder=void 0;const s=r(5154);const n=r(6838);const o=r(6564);const i=r(133);const a=r(3077);class ImgBuilder extends s.ElementBuilderBase{build(){return this.getResult(o.SlackElementDto,{type:n.ElementType.Image})}}t.ImgBuilder=ImgBuilder;i.applyMixins(ImgBuilder,[a.AltText,a.ImageUrl,a.End])},9269:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Elements=t.UserSelect=t.UserMultiSelect=t.URLInput=t.TimePicker=t.TextInput=t.StaticSelect=t.StaticMultiSelect=t.RadioButtons=t.OverflowMenu=t.NumberInput=t.FileInput=t.Img=t.ExternalSelect=t.ExternalMultiSelect=t.EmailInput=t.DateTimePicker=t.DatePicker=t.ConversationSelect=t.ConversationMultiSelect=t.Checkboxes=t.ChannelSelect=t.ChannelMultiSelect=t.Button=void 0;const s=r(162);const n=r(3755);const o=r(9209);const i=r(7794);const a=r(4061);const A=r(4742);const c=r(6086);const l=r(7779);const u=r(3164);const p=r(6560);const d=r(8828);const g=r(530);const h=r(1283);const m=r(9104);const E=r(9612);const C=r(5364);const I=r(3666);const B=r(4652);const Q=r(5923);const b=r(4015);const y=r(1527);const v=r(4604);const w=r(8509);function Button(e){return new s.ButtonBuilder(e)}t.Button=Button;function ChannelMultiSelect(e){return new n.ChannelMultiSelectBuilder(e)}t.ChannelMultiSelect=ChannelMultiSelect;function ChannelSelect(e){return new o.ChannelSelectBuilder(e)}t.ChannelSelect=ChannelSelect;function Checkboxes(e){return new i.CheckboxesBuilder(e)}t.Checkboxes=Checkboxes;function ConversationMultiSelect(e){return new a.ConversationMultiSelectBuilder(e)}t.ConversationMultiSelect=ConversationMultiSelect;function ConversationSelect(e){return new A.ConversationSelectBuilder(e)}t.ConversationSelect=ConversationSelect;function DatePicker(e){return new c.DatePickerBuilder(e)}t.DatePicker=DatePicker;function DateTimePicker(e){return new l.DateTimePickerBuilder(e)}t.DateTimePicker=DateTimePicker;function EmailInput(e){return new u.EmailInputBuilder(e)}t.EmailInput=EmailInput;function ExternalMultiSelect(e){return new p.ExternalMultiSelectBuilder(e)}t.ExternalMultiSelect=ExternalMultiSelect;function ExternalSelect(e){return new d.ExternalSelectBuilder(e)}t.ExternalSelect=ExternalSelect;function Img(e){return new h.ImgBuilder(e)}t.Img=Img;function FileInput(e){return new g.FileInputBuilder(e)}t.FileInput=FileInput;function NumberInput(e){return new m.NumberInputBuilder(e)}t.NumberInput=NumberInput;function OverflowMenu(e){return new E.OverflowMenuBuilder(e)}t.OverflowMenu=OverflowMenu;function RadioButtons(e){return new C.RadioButtonsBuilder(e)}t.RadioButtons=RadioButtons;function StaticMultiSelect(e){return new I.StaticMultiSelectBuilder(e)}t.StaticMultiSelect=StaticMultiSelect;function StaticSelect(e){return new B.StaticSelectBuilder(e)}t.StaticSelect=StaticSelect;function TextInput(e){return new Q.TextInputBuilder(e)}t.TextInput=TextInput;function TimePicker(e){return new b.TimePickerBuilder(e)}t.TimePicker=TimePicker;function URLInput(e){return new y.URLInputBuilder(e)}t.URLInput=URLInput;function UserMultiSelect(e){return new v.UserMultiSelectBuilder(e)}t.UserMultiSelect=UserMultiSelect;function UserSelect(e){return new w.UserSelectBuilder(e)}t.UserSelect=UserSelect;const x={Button:Button,ChannelMultiSelect:ChannelMultiSelect,ChannelSelect:ChannelSelect,Checkboxes:Checkboxes,ConversationMultiSelect:ConversationMultiSelect,ConversationSelect:ConversationSelect,DatePicker:DatePicker,DateTimePicker:DateTimePicker,EmailInput:EmailInput,ExternalMultiSelect:ExternalMultiSelect,ExternalSelect:ExternalSelect,Img:Img,NumberInput:NumberInput,OverflowMenu:OverflowMenu,RadioButtons:RadioButtons,StaticMultiSelect:StaticMultiSelect,StaticSelect:StaticSelect,TextInput:TextInput,TimePicker:TimePicker,URLInput:URLInput,UserMultiSelect:UserMultiSelect,UserSelect:UserSelect,FileInput:FileInput};t.Elements=x},9104:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NumberInputBuilder=void 0;const s=r(5154);const n=r(6838);const o=r(6564);const i=r(133);const a=r(3077);class NumberInputBuilder extends s.ElementBuilderBase{build(){return this.getResult(o.SlackElementDto,{type:n.ElementType.NumberInput,initialValue:i.getStringFromNumber(this.props.initialValue),maxValue:i.getStringFromNumber(this.props.maxValue),minValue:i.getStringFromNumber(this.props.minValue),placeholder:i.getPlainTextObject(this.props.placeholder),dispatchActionConfig:i.getDispatchActionsConfigurationObject(this.props)})}}t.NumberInputBuilder=NumberInputBuilder;i.applyMixins(NumberInputBuilder,[a.ActionId,a.DispatchActionOnCharacterEntered,a.DispatchActionOnEnterPressed,a.End,a.FocusOnLoad,a.InitialValue,a.IsDecimalAllowed,a.MaxValue,a.MinValue,a.Placeholder])},9612:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.OverflowMenuBuilder=void 0;const s=r(5154);const n=r(6838);const o=r(6564);const i=r(133);const a=r(3077);class OverflowMenuBuilder extends s.ElementBuilderBase{build(){return this.getResult(o.SlackElementDto,{type:n.ElementType.Overflow,options:i.getBuilderResults(this.props.options),confirm:i.getBuilderResult(this.props.confirm)})}}t.OverflowMenuBuilder=OverflowMenuBuilder;i.applyMixins(OverflowMenuBuilder,[a.ActionId,a.Confirm,a.End,a.Options])},5364:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.RadioButtonsBuilder=void 0;const s=r(5154);const n=r(6838);const o=r(6564);const i=r(133);const a=r(3077);class RadioButtonsBuilder extends s.ElementBuilderBase{build(){return this.getResult(o.SlackElementDto,{type:n.ElementType.RadioButtons,options:i.getBuilderResults(this.props.options,{isMarkdown:true}),initialOption:i.getBuilderResult(this.props.initialOption,{isMarkdown:true}),confirm:i.getBuilderResult(this.props.confirm)})}}t.RadioButtonsBuilder=RadioButtonsBuilder;i.applyMixins(RadioButtonsBuilder,[a.ActionId,a.Confirm,a.End,a.FocusOnLoad,a.InitialOption,a.Options])},3666:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.StaticMultiSelectBuilder=void 0;const s=r(5154);const n=r(6838);const o=r(6564);const i=r(133);const a=r(3077);class StaticMultiSelectBuilder extends s.ElementBuilderBase{build(){return this.getResult(o.SlackElementDto,{type:n.ElementType.StaticMultiSelect,placeholder:i.getPlainTextObject(this.props.placeholder),options:i.getBuilderResults(this.props.options),initialOptions:i.getBuilderResults(this.props.initialOptions),optionGroups:i.getBuilderResults(this.props.optionGroups),confirm:i.getBuilderResult(this.props.confirm)})}}t.StaticMultiSelectBuilder=StaticMultiSelectBuilder;i.applyMixins(StaticMultiSelectBuilder,[a.ActionId,a.Confirm,a.End,a.FocusOnLoad,a.InitialOptions,a.MaxSelectedItems,a.OptionGroups,a.Options,a.Placeholder])},4652:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.StaticSelectBuilder=void 0;const s=r(5154);const n=r(6838);const o=r(6564);const i=r(133);const a=r(3077);class StaticSelectBuilder extends s.ElementBuilderBase{build(){return this.getResult(o.SlackElementDto,{type:n.ElementType.StaticSelect,placeholder:i.getPlainTextObject(this.props.placeholder),options:i.getBuilderResults(this.props.options),optionGroups:i.getBuilderResults(this.props.optionGroups),initialOption:i.getBuilderResult(this.props.initialOption),confirm:i.getBuilderResult(this.props.confirm)})}}t.StaticSelectBuilder=StaticSelectBuilder;i.applyMixins(StaticSelectBuilder,[a.ActionId,a.Confirm,a.End,a.FocusOnLoad,a.InitialOption,a.OptionGroups,a.Options,a.Placeholder])},5923:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TextInputBuilder=void 0;const s=r(5154);const n=r(6838);const o=r(6564);const i=r(133);const a=r(3077);class TextInputBuilder extends s.ElementBuilderBase{build(){return this.getResult(o.SlackElementDto,{type:n.ElementType.TextInput,placeholder:i.getPlainTextObject(this.props.placeholder),dispatchActionConfig:i.getDispatchActionsConfigurationObject(this.props)})}}t.TextInputBuilder=TextInputBuilder;i.applyMixins(TextInputBuilder,[a.ActionId,a.DispatchActionOnCharacterEntered,a.DispatchActionOnEnterPressed,a.End,a.FocusOnLoad,a.InitialValue,a.MaxLength,a.MinLength,a.Multiline,a.Placeholder])},4015:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TimePickerBuilder=void 0;const s=r(5154);const n=r(6838);const o=r(6564);const i=r(133);const a=r(3077);class TimePickerBuilder extends s.ElementBuilderBase{build(){return this.getResult(o.SlackElementDto,{type:n.ElementType.TimePicker,placeholder:i.getPlainTextObject(this.props.placeholder),confirm:i.getBuilderResult(this.props.confirm)})}}t.TimePickerBuilder=TimePickerBuilder;i.applyMixins(TimePickerBuilder,[a.ActionId,a.Confirm,a.End,a.FocusOnLoad,a.InitialTime,a.Placeholder])},1527:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.URLInputBuilder=void 0;const s=r(5154);const n=r(6838);const o=r(6564);const i=r(133);const a=r(3077);class URLInputBuilder extends s.ElementBuilderBase{build(){return this.getResult(o.SlackElementDto,{type:n.ElementType.URLInput,placeholder:i.getPlainTextObject(this.props.placeholder),dispatchActionConfig:i.getDispatchActionsConfigurationObject(this.props)})}}t.URLInputBuilder=URLInputBuilder;i.applyMixins(URLInputBuilder,[a.ActionId,a.DispatchActionOnCharacterEntered,a.DispatchActionOnEnterPressed,a.End,a.FocusOnLoad,a.InitialValue,a.Placeholder])},4604:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.UserMultiSelectBuilder=void 0;const s=r(5154);const n=r(6838);const o=r(6564);const i=r(133);const a=r(3077);class UserMultiSelectBuilder extends s.ElementBuilderBase{build(){return this.getResult(o.SlackElementDto,{type:n.ElementType.UserMultiSelect,placeholder:i.getPlainTextObject(this.props.placeholder),confirm:i.getBuilderResult(this.props.confirm)})}}t.UserMultiSelectBuilder=UserMultiSelectBuilder;i.applyMixins(UserMultiSelectBuilder,[a.ActionId,a.Confirm,a.End,a.FocusOnLoad,a.InitialUsers,a.MaxSelectedItems,a.Placeholder])},8509:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.UserSelectBuilder=void 0;const s=r(5154);const n=r(6838);const o=r(6564);const i=r(133);const a=r(3077);class UserSelectBuilder extends s.ElementBuilderBase{build(){return this.getResult(o.SlackElementDto,{type:n.ElementType.UserSelect,placeholder:i.getPlainTextObject(this.props.placeholder),confirm:i.getBuilderResult(this.props.confirm)})}}t.UserSelectBuilder=UserSelectBuilder;i.applyMixins(UserSelectBuilder,[a.ActionId,a.Confirm,a.End,a.FocusOnLoad,a.InitialUser,a.Placeholder])},9690:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;Object.defineProperty(e,s,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__exportStar||function(e,t){for(var r in e)if(r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r))s(t,e,r)};Object.defineProperty(t,"__esModule",{value:true});n(r(3706),t);n(r(7604),t);n(r(9192),t);n(r(2654),t);n(r(9269),t);n(r(5543),t);n(r(4271),t);n(r(4609),t)},9090:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.BitBuilderBase=void 0;const s=r(7450);class BitBuilderBase extends s.Builder{}t.BitBuilderBase=BitBuilderBase},7544:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.BlockBuilderBase=void 0;const s=r(7450);class BlockBuilderBase extends s.Builder{}t.BlockBuilderBase=BlockBuilderBase},5991:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CompositionObjectBase=void 0;class CompositionObjectBase{}t.CompositionObjectBase=CompositionObjectBase},7148:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ElementBuilderBase=void 0;const s=r(7450);class ElementBuilderBase extends s.Builder{}t.ElementBuilderBase=ElementBuilderBase},5154:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;Object.defineProperty(e,s,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__exportStar||function(e,t){for(var r in e)if(r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r))s(t,e,r)};Object.defineProperty(t,"__esModule",{value:true});n(r(9090),t);n(r(7544),t);n(r(5991),t);n(r(7148),t);n(r(9221),t)},9221:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.SurfaceBuilderBase=void 0;const s=r(7450);class SurfaceBuilderBase extends s.Builder{}t.SurfaceBuilderBase=SurfaceBuilderBase},1049:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.BlockType=void 0;var r;(function(e){e["Section"]="section";e["Actions"]="actions";e["Context"]="context";e["Input"]="input";e["File"]="file";e["Divider"]="divider";e["Image"]="image";e["Header"]="header";e["Video"]="video"})(r=t.BlockType||(t.BlockType={}))},1637:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ButtonStyle=void 0;var r;(function(e){e["Danger"]="danger";e["Primary"]="primary"})(r=t.ButtonStyle||(t.ButtonStyle={}))},6887:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ComponentUIText=void 0;var r;(function(e){e["Next"]="Next";e["Previous"]="Previous";e["More"]="More";e["Close"]="Close"})(r=t.ComponentUIText||(t.ComponentUIText={}))},4871:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DispatchOnType=void 0;var r;(function(e){e["OnEnterPressed"]="on_enter_pressed";e["OnCharacterEntered"]="on_character_entered"})(r=t.DispatchOnType||(t.DispatchOnType={}))},9387:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ElementType=void 0;var r;(function(e){e["Button"]="button";e["Checkboxes"]="checkboxes";e["DatePicker"]="datepicker";e["DateTimePicker"]="datetimepicker";e["TimePicker"]="timepicker";e["Image"]="image";e["Overflow"]="overflow";e["TextInput"]="plain_text_input";e["RadioButtons"]="radio_buttons";e["StaticSelect"]="static_select";e["ExternalSelect"]="external_select";e["UserSelect"]="users_select";e["ConversationSelect"]="conversations_select";e["ChannelSelect"]="channels_select";e["StaticMultiSelect"]="multi_static_select";e["ExternalMultiSelect"]="multi_external_select";e["UserMultiSelect"]="multi_users_select";e["ConversationsMultiSelect"]="multi_conversations_select";e["ChannelsMultiSelect"]="multi_channels_select";e["URLInput"]="url_text_input";e["EmailInput"]="email_text_input";e["NumberInput"]="number_input";e["FileInput"]="file_input"})(r=t.ElementType||(t.ElementType={}))},2309:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.FileType=void 0;var r;(function(e){e["Remote"]="remote"})(r=t.FileType||(t.FileType={}))},8143:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.FilterType=void 0;var r;(function(e){e["Im"]="im";e["Mpim"]="mpim";e["Private"]="private";e["Public"]="public"})(r=t.FilterType||(t.FilterType={}))},6838:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;Object.defineProperty(e,s,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__exportStar||function(e,t){for(var r in e)if(r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r))s(t,e,r)};Object.defineProperty(t,"__esModule",{value:true});n(r(1049),t);n(r(1637),t);n(r(6887),t);n(r(4871),t);n(r(9387),t);n(r(2309),t);n(r(8143),t);n(r(9514),t);n(r(922),t);n(r(1286),t);n(r(1590),t);n(r(9741),t)},9514:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ObjectType=void 0;var r;(function(e){e["Text"]="plain_text";e["Markdown"]="mrkdwn"})(r=t.ObjectType||(t.ObjectType={}))},922:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PaginatorButtonId=void 0;var r;(function(e){e["Next"]="next";e["Previous"]="previous"})(r=t.PaginatorButtonId||(t.PaginatorButtonId={}))},1286:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Prop=void 0;var r;(function(e){e["AuthorName"]="authorName";e["Blocks"]="blocks";e["Elements"]="elements";e["BlockId"]="blockId";e["ExternalId"]="externalId";e["Label"]="label";e["Element"]="element";e["Hint"]="hint";e["Optional"]="optional";e["Fields"]="fields";e["Accessory"]="accessory";e["ActionId"]="actionId";e["Url"]="url";e["Style"]="style";e["Value"]="value";e["Option"]="option";e["Confirm"]="confirm";e["ImageUrl"]="imageUrl";e["AltText"]="altText";e["Options"]="options";e["InitialOptions"]="initialOptions";e["InitialOption"]="initialOption";e["Placeholder"]="placeholder";e["InitialDate"]="initialDate";e["InitialDateTime"]="initialDateTime";e["InitialValue"]="initialValue";e["IsDecimalAllowed"]="isDecimalAllowed";e["Multiline"]="multiline";e["MinLength"]="minLength";e["MaxLength"]="maxLength";e["MinValue"]="minValue";e["MaxValue"]="maxValue";e["InitialChannel"]="initialChannel";e["InitialChannels"]="initialChannels";e["InitialConversation"]="initialConversation";e["InitialConversations"]="initialConversations";e["ResponseUrlEnabled"]="responseUrlEnabled";e["DefaultToCurrentConversation"]="defaultToCurrentConversation";e["Filter"]="filter";e["MinQueryLength"]="minQueryLength";e["OptionGroups"]="optionGroups";e["InitialUser"]="initialUser";e["InitialUsers"]="initialUsers";e["MaxSelectedItems"]="maxSelectedItems";e["Title"]="title";e["Submit"]="submit";e["Close"]="close";e["Deny"]="deny";e["ExcludeExternalSharedChannels"]="excludeExternalSharedChannels";e["ExcludeBotUsers"]="excludeBotUsers";e["Text"]="text";e["PrivateMetaData"]="privateMetaData";e["CallbackId"]="callbackId";e["Channel"]="channel";e["ClearOnClose"]="clearOnClose";e["NotifyOnClose"]="notifyOnClose";e["Description"]="description";e["Danger"]="danger";e["Primary"]="primary";e["AsUser"]="asUser";e["ThreadTs"]="threadTs";e["ReplaceOriginal"]="replaceOriginal";e["DeleteOriginal"]="deleteOriginal";e["ResponseType"]="responseType";e["PostAt"]="postAt";e["Ephemeral"]="ephemeral";e["InChannel"]="inChannel";e["Ts"]="ts";e["Color"]="color";e["Fallback"]="fallback";e["Attachments"]="attachments";e["DispatchAction"]="dispatchAction";e["DispatchActionConfig"]="dispatchActionConfig";e["OnEnterPressed"]="onEnterPressed";e["OnCharacterEntered"]="onCharacterEntered";e["DispatchActionOnEnterPressed"]="dispatchActionOnEnterPressed";e["DispatchActionOnCharacterEntered"]="dispatchActionOnCharacterEntered";e["InitialTime"]="initialTime";e["Mrkdwn"]="mrkdwn";e["IgnoreMarkdown"]="ignoreMarkdown";e["SubmitDisabled"]="submitDisabled";e["FocusOnLoad"]="focusOnLoad";e["AccessibilityLabel"]="accessibilityLabel";e["ProviderIconUrl"]="providerIconUrl";e["ProviderName"]="providerName";e["TitleUrl"]="titleUrl";e["ThumbnailUrl"]="thumbnailUrl";e["VideoUrl"]="videoUrl";e["MaxFiles"]="maxFiles";e["Filetypes"]="filetypes"})(r=t.Prop||(t.Prop={}))},1590:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ResponseType=void 0;var r;(function(e){e["Ephemeral"]="ephemeral";e["InChannel"]="in_channel"})(r=t.ResponseType||(t.ResponseType={}))},9741:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.SurfaceType=void 0;var r;(function(e){e["HomeTab"]="home";e["Modal"]="modal";e["WorkflowStep"]="workflow_step"})(r=t.SurfaceType||(t.SurfaceType={}))},6564:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;Object.defineProperty(e,s,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__exportStar||function(e,t){for(var r in e)if(r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r))s(t,e,r)};Object.defineProperty(t,"__esModule",{value:true});n(r(895),t)},895:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.SlackElementDto=t.SlackBlockDto=t.SlackWorkflowStepDto=t.SlackModalDto=t.SlackHomeTabDto=t.SlackMessageDto=t.SlackDto=t.Param=void 0;const s=r(6838);var n;(function(e){e["actionId"]="action_id";e["blocks"]="blocks";e["blockId"]="block_id";e["maxSelectedItems"]="max_selected_items";e["title"]="title";e["text"]="text";e["confirm"]="confirm";e["deny"]="deny";e["style"]="style";e["danger"]="danger";e["label"]="label";e["options"]="options";e["value"]="value";e["description"]="description";e["url"]="url";e["elements"]="elements";e["externalId"]="external_id";e["imageUrl"]="image_url";e["altText"]="alt_text";e["element"]="element";e["hint"]="hint";e["optional"]="optional";e["fields"]="fields";e["accessory"]="accessory";e["initialChannels"]="initial_channels";e["initialChannel"]="initial_channel";e["responseUrlEnabled"]="response_url_enabled";e["initialOptions"]="initial_options";e["initialConversations"]="initial_conversations";e["defaultToCurrentConversation"]="default_to_current_conversation";e["filter"]="filter";e["initialConversation"]="initial_conversation";e["initialDate"]="initial_date";e["initialDateTime"]="initial_date_time";e["isDecimalAllowed"]="is_decimal_allowed";e["minQueryLength"]="min_query_length";e["initialOption"]="initial_option";e["optionGroups"]="option_groups";e["placeholder"]="placeholder";e["initialValue"]="initial_value";e["multiline"]="multiline";e["minLength"]="min_length";e["maxLength"]="max_length";e["initialUsers"]="initial_users";e["initialUser"]="initial_user";e["channel"]="channel";e["close"]="close";e["submit"]="submit";e["clearOnClose"]="clear_on_close";e["notifyOnClose"]="notify_on_close";e["privateMetaData"]="private_metadata";e["callbackId"]="callback_id";e["asUser"]="as_user";e["ts"]="ts";e["threadTs"]="thread_ts";e["replaceOriginal"]="replace_original";e["deleteOriginal"]="delete_original";e["responseType"]="response_type";e["postAt"]="post_at";e["color"]="color";e["fallback"]="fallback";e["attachments"]="attachments";e["dispatchAction"]="dispatch_action";e["dispatchActionConfig"]="dispatch_action_config";e["initialTime"]="initial_time";e["mrkdwn"]="mrkdwn";e["submitDisabled"]="submit_disabled";e["type"]="type";e["focusOnLoad"]="focus_on_load";e["accessibilityLabel"]="accessibility_label";e["authorName"]="author_name";e["providerIconUrl"]="provider_icon_url";e["providerName"]="provider_name";e["titleUrl"]="title_url";e["thumbnailUrl"]="thumbnail_url";e["videoUrl"]="video_url";e["minValue"]="min_value";e["maxValue"]="max_value";e["maxFiles"]="max_files";e["filetypes"]="filetypes";e["source"]="source"})(n=t.Param||(t.Param={}));class SlackDto{constructor(e){Object.keys(e).forEach((t=>{const r=SlackDto.mapParam(t);if(e[t]!==undefined&&r!==undefined){this[r]=e[t]}}))}static mapParam(e){return n[e]}}t.SlackDto=SlackDto;class SlackMessageDto extends SlackDto{}t.SlackMessageDto=SlackMessageDto;class SlackHomeTabDto extends SlackDto{constructor(){super(...arguments);this.type=s.SurfaceType.HomeTab}}t.SlackHomeTabDto=SlackHomeTabDto;class SlackModalDto extends SlackDto{constructor(){super(...arguments);this.type=s.SurfaceType.Modal}}t.SlackModalDto=SlackModalDto;class SlackWorkflowStepDto extends SlackDto{constructor(){super(...arguments);this.type=s.SurfaceType.WorkflowStep}}t.SlackWorkflowStepDto=SlackWorkflowStepDto;class SlackBlockDto extends SlackDto{}t.SlackBlockDto=SlackBlockDto;class SlackElementDto extends SlackDto{}t.SlackElementDto=SlackElementDto},5624:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.BlockBuilderError=void 0;class BlockBuilderError extends Error{constructor(e){super(e);this.name="BlockBuilderError";Error.captureStackTrace(this,this.constructor)}}t.BlockBuilderError=BlockBuilderError},8476:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;Object.defineProperty(e,s,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__exportStar||function(e,t){for(var r in e)if(r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r))s(t,e,r)};Object.defineProperty(t,"__esModule",{value:true});n(r(5624),t)},8470:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.applyMixins=void 0;function applyMixins(e,t){const{constructor:r}=e.prototype;t.forEach((t=>{Object.getOwnPropertyNames(t.prototype).forEach((r=>{const s=Object.getOwnPropertyDescriptor(t.prototype,r);Object.defineProperty(e.prototype,r,s)}))}));e.prototype.constructor=r}t.applyMixins=applyMixins},7216:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getDispatchActionsConfigurationObject=t.getFilter=t.getDateTimeIntegerFromDate=t.getFormattedDate=t.getFields=t.getElementsForContext=t.getMarkdownObject=t.getStringFromNumber=t.getPlainTextObject=t.getBuilderResults=t.getBuilderResult=void 0;const s=r(5347);const n={isMarkdown:false};const valueOrUndefined=e=>e===undefined?undefined:e;const valuesOrUndefined=e=>{if(e.filter((e=>e!==undefined)).length===0){return undefined}return e};function getBuilderResult(e,t=n){return valueOrUndefined(e)&&e.build(t)}t.getBuilderResult=getBuilderResult;function getBuilderResults(e,t=n){return valueOrUndefined(e)&&e.map((e=>getBuilderResult(e,t)))}t.getBuilderResults=getBuilderResults;function getPlainTextObject(e){return valueOrUndefined(e)?new s.PlainTextObject(e):undefined}t.getPlainTextObject=getPlainTextObject;function getStringFromNumber(e){return valueOrUndefined(e)?e.toString():undefined}t.getStringFromNumber=getStringFromNumber;function getMarkdownObject(e){return valueOrUndefined(e)?new s.MarkdownObject(e):undefined}t.getMarkdownObject=getMarkdownObject;function getElementsForContext(e){return valueOrUndefined(e)&&e.map((e=>typeof e==="string"?new s.MarkdownObject(e):e.build()))}t.getElementsForContext=getElementsForContext;function getFields(e){return valueOrUndefined(e)&&e.map((e=>new s.MarkdownObject(e)))}t.getFields=getFields;function getFormattedDate(e){return valueOrUndefined(e)&&e.toISOString().split("T")[0]}t.getFormattedDate=getFormattedDate;function getDateTimeIntegerFromDate(e){return valueOrUndefined(e)&&Math.floor(e.getTime()/1e3)}t.getDateTimeIntegerFromDate=getDateTimeIntegerFromDate;function getFilter({filter:e,excludeBotUsers:t,excludeExternalSharedChannels:r}){return valuesOrUndefined([e,t,r])&&new s.FilterObject({filter:e,excludeBotUsers:t,excludeExternalSharedChannels:r})}t.getFilter=getFilter;function getDispatchActionsConfigurationObject({onEnterPressed:e,onCharacterEntered:t}){return valuesOrUndefined([e,t])&&new s.DispatchActionsConfigurationObject([e,t].filter(Boolean))}t.getDispatchActionsConfigurationObject=getDispatchActionsConfigurationObject},133:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;Object.defineProperty(e,s,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__exportStar||function(e,t){for(var r in e)if(r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r))s(t,e,r)};Object.defineProperty(t,"__esModule",{value:true});n(r(8470),t);n(r(7216),t)},1498:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;Object.defineProperty(e,s,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__exportStar||function(e,t){for(var r in e)if(r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r))s(t,e,r)};Object.defineProperty(t,"__esModule",{value:true});n(r(5154),t);n(r(6838),t);n(r(6564),t);n(r(8476),t);n(r(133),t);n(r(243),t);n(r(3077),t);n(r(5347),t);n(r(4095),t)},9636:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AccordionStateManager=void 0;class AccordionStateManager{constructor(e){this.expandedItems=e.expandedItems||[];this.collapseOnExpand=e.collapseOnExpand||false}checkItemIsExpandedByIndex(e){return this.expandedItems.includes(e)}getNextStateByItemIndex(e){if(e===undefined){return this.expandedItems}const t=this.checkItemIsExpandedByIndex(e);if(t){const t=[...this.expandedItems];const r=this.expandedItems.findIndex((t=>t===e));t.splice(r,1);return t}return this.collapseOnExpand?[e]:[...this.expandedItems,e]}}t.AccordionStateManager=AccordionStateManager},7450:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Builder=void 0;const s=r(8476);class Builder{constructor(e){this.props=e?{...e}:{};Object.keys(this.props).forEach((e=>this.props[e]===undefined&&delete this.props[e]));Object.seal(this)}set(e,t){if(this.props[t]!==undefined){throw new s.BlockBuilderError(`Property ${t} can only be assigned once.`)}if(e!==undefined){this.props[t]=e}return this}append(e,t){const r=Builder.pruneUndefinedFromArray(e);if(r.length>0){this.props[t]=this.props[t]===undefined?r:this.props[t].concat(r)}return this}getResult(e,t){const r=new e({...this.props,...t});return Object.freeze(r)}build(e){throw new s.BlockBuilderError("Builder must have a declared 'build' method")}static pruneUndefinedFromArray(e){return e.filter((e=>e!==undefined?e:false))}}t.Builder=Builder},243:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;Object.defineProperty(e,s,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__exportStar||function(e,t){for(var r in e)if(r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r))s(t,e,r)};Object.defineProperty(t,"__esModule",{value:true});n(r(9636),t);n(r(7450),t);n(r(5890),t)},5890:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PaginatorStateManager=void 0;class PaginatorStateManager{constructor(e){const t=PaginatorStateManager.calculateState({page:Math.floor(e.page)||1,totalItems:Math.floor(e.totalItems)||1,perPage:Math.floor(e.perPage)});this.page=t.page;this.perPage=t.perPage;this.totalItems=t.totalItems;this.totalPages=t.totalPages;this.offset=t.offset}static calculateState(e){const{page:t,totalItems:r,perPage:s}=e;const n=Math.ceil(r/s);const o=PaginatorStateManager.calculatePage(t,n);const i=(o-1)*s;return{totalItems:r,perPage:s,totalPages:n,offset:i,page:o}}static calculatePage(e,t){if(e<1){return t}return e>t?1:e}getPage(){return this.page}getTotalPages(){return this.totalPages}getTotalItems(){return this.totalItems}getStateByPage(e){return PaginatorStateManager.calculateState({page:e,perPage:this.perPage,totalItems:this.totalItems})}getNextPageState(){return this.getStateByPage(this.page+1)}getPreviousPageState(){return this.getStateByPage(this.page-1)}extractItems(e){const t=this.offset;const r=t+this.perPage;return e.slice(t,r)}}t.PaginatorStateManager=PaginatorStateManager},3163:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Options=t.OptionGroups=t.InitialUsers=t.InitialOptions=t.InitialConversations=t.InitialChannels=t.Filter=t.Fields=t.Elements=t.Blocks=t.Attachments=void 0;const s=r(243);const n=r(6838);class Attachments extends s.Builder{attachments(...e){return this.append(e.flat(),n.Prop.Attachments)}}t.Attachments=Attachments;class Blocks extends s.Builder{blocks(...e){return this.append(e.flat(),n.Prop.Blocks)}}t.Blocks=Blocks;class Elements extends s.Builder{elements(...e){return this.append(e.flat(),n.Prop.Elements)}}t.Elements=Elements;class Fields extends s.Builder{fields(...e){return this.append(e.flat(),n.Prop.Fields)}}t.Fields=Fields;class Filter extends s.Builder{filter(...e){return this.append(e.flat(),n.Prop.Filter)}}t.Filter=Filter;class InitialChannels extends s.Builder{initialChannels(...e){return this.append(e.flat(),n.Prop.InitialChannels)}}t.InitialChannels=InitialChannels;class InitialConversations extends s.Builder{initialConversations(...e){return this.append(e.flat(),n.Prop.InitialConversations)}}t.InitialConversations=InitialConversations;class InitialOptions extends s.Builder{initialOptions(...e){return this.append(e.flat(),n.Prop.InitialOptions)}}t.InitialOptions=InitialOptions;class InitialUsers extends s.Builder{initialUsers(...e){return this.append(e.flat(),n.Prop.InitialUsers)}}t.InitialUsers=InitialUsers;class OptionGroups extends s.Builder{optionGroups(...e){return this.append(e.flat(),n.Prop.OptionGroups)}}t.OptionGroups=OptionGroups;class Options extends s.Builder{options(...e){return this.append(e.flat(),n.Prop.Options)}}t.Options=Options},7127:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.SubmitDisabled=t.ResponseUrlEnabled=t.ReplaceOriginal=t.Primary=t.Optional=t.NotifyOnClose=t.Multiline=t.InChannel=t.IgnoreMarkdown=t.FocusOnLoad=t.ExcludeBotUsers=t.ExcludeExternalSharedChannels=t.Ephemeral=t.DispatchActionOnEnterPressed=t.DispatchActionOnCharacterEntered=t.DispatchAction=t.DeleteOriginal=t.DefaultToCurrentConversation=t.Danger=t.ClearOnClose=t.AsUser=void 0;const s=r(243);const n=r(6838);class AsUser extends s.Builder{asUser(e=true){return this.set(e,n.Prop.AsUser)}}t.AsUser=AsUser;class ClearOnClose extends s.Builder{clearOnClose(e=true){return this.set(e,n.Prop.ClearOnClose)}}t.ClearOnClose=ClearOnClose;class Danger extends s.Builder{danger(e=true){return e?this.set(n.ButtonStyle.Danger,n.Prop.Style):this}}t.Danger=Danger;class DefaultToCurrentConversation extends s.Builder{defaultToCurrentConversation(e=true){return this.set(e,n.Prop.DefaultToCurrentConversation)}}t.DefaultToCurrentConversation=DefaultToCurrentConversation;class DeleteOriginal extends s.Builder{deleteOriginal(e=true){return this.set(e,n.Prop.DeleteOriginal)}}t.DeleteOriginal=DeleteOriginal;class DispatchAction extends s.Builder{dispatchAction(e=true){return this.set(e,n.Prop.DispatchAction)}}t.DispatchAction=DispatchAction;class DispatchActionOnCharacterEntered extends s.Builder{dispatchActionOnCharacterEntered(e=true){return e?this.set(n.DispatchOnType.OnCharacterEntered,n.Prop.OnCharacterEntered):this}}t.DispatchActionOnCharacterEntered=DispatchActionOnCharacterEntered;class DispatchActionOnEnterPressed extends s.Builder{dispatchActionOnEnterPressed(e=true){return e?this.set(n.DispatchOnType.OnEnterPressed,n.Prop.OnEnterPressed):this}}t.DispatchActionOnEnterPressed=DispatchActionOnEnterPressed;class Ephemeral extends s.Builder{ephemeral(e=true){return e?this.set(n.ResponseType.Ephemeral,n.Prop.ResponseType):this}}t.Ephemeral=Ephemeral;class ExcludeExternalSharedChannels extends s.Builder{excludeExternalSharedChannels(e=true){return this.set(e,n.Prop.ExcludeExternalSharedChannels)}}t.ExcludeExternalSharedChannels=ExcludeExternalSharedChannels;class ExcludeBotUsers extends s.Builder{excludeBotUsers(e=true){return this.set(e,n.Prop.ExcludeBotUsers)}}t.ExcludeBotUsers=ExcludeBotUsers;class FocusOnLoad extends s.Builder{focusOnLoad(e=true){return this.set(e,n.Prop.FocusOnLoad)}}t.FocusOnLoad=FocusOnLoad;class IgnoreMarkdown extends s.Builder{ignoreMarkdown(e=false){return this.set(e,n.Prop.Mrkdwn)}}t.IgnoreMarkdown=IgnoreMarkdown;class InChannel extends s.Builder{inChannel(e=true){return e?this.set(n.ResponseType.InChannel,n.Prop.ResponseType):this}}t.InChannel=InChannel;class Multiline extends s.Builder{multiline(e=true){return this.set(e,n.Prop.Multiline)}}t.Multiline=Multiline;class NotifyOnClose extends s.Builder{notifyOnClose(e=true){return this.set(e,n.Prop.NotifyOnClose)}}t.NotifyOnClose=NotifyOnClose;class Optional extends s.Builder{optional(e=true){return this.set(e,n.Prop.Optional)}}t.Optional=Optional;class Primary extends s.Builder{primary(e=true){return e?this.set(n.ButtonStyle.Primary,n.Prop.Style):this}}t.Primary=Primary;class ReplaceOriginal extends s.Builder{replaceOriginal(e=true){return this.set(e,n.Prop.ReplaceOriginal)}}t.ReplaceOriginal=ReplaceOriginal;class ResponseUrlEnabled extends s.Builder{responseUrlEnabled(e=true){return this.set(e,n.Prop.ResponseUrlEnabled)}}t.ResponseUrlEnabled=ResponseUrlEnabled;class SubmitDisabled extends s.Builder{submitDisabled(e=true){return this.set(e,n.Prop.SubmitDisabled)}}t.SubmitDisabled=SubmitDisabled},3077:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;Object.defineProperty(e,s,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__exportStar||function(e,t){for(var r in e)if(r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r))s(t,e,r)};Object.defineProperty(t,"__esModule",{value:true});n(r(3163),t);n(r(7127),t);n(r(1710),t);n(r(1232),t)},1710:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PrintPreviewUrl=t.GetPreviewUrl=t.GetBlocks=t.GetAttachments=t.End=t.BuildToObject=t.BuildToJSON=void 0;const s=r(243);class BuildToJSON extends s.Builder{buildToJSON(){const e=this.build();return JSON.stringify(e)}}t.BuildToJSON=BuildToJSON;class BuildToObject extends s.Builder{buildToObject(){return this.build()}}t.BuildToObject=BuildToObject;class End extends s.Builder{end(){return this}}t.End=End;class GetAttachments extends s.Builder{getAttachments(){return this.build().attachments}}t.GetAttachments=GetAttachments;class GetBlocks extends s.Builder{getBlocks(){this.build();return this.build().blocks}}t.GetBlocks=GetBlocks;class GetPreviewUrl extends s.Builder{getPreviewUrl(){const e=this.build();const t="https://app.slack.com/block-kit-builder/#";const r=e.type?JSON.stringify(e):JSON.stringify({blocks:e.blocks,attachments:e.attachments});return encodeURI(`${t}${r}`).replace(/[!'()*]/g,escape)}}t.GetPreviewUrl=GetPreviewUrl;class PrintPreviewUrl extends GetPreviewUrl{printPreviewUrl(){console.log(this.getPreviewUrl())}}t.PrintPreviewUrl=PrintPreviewUrl},1232:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.MaxFiles=t.VideoUrl=t.Value=t.Url=t.Ts=t.TitleUrl=t.Title=t.ThumbnailUrl=t.ThreadTs=t.Text=t.Submit=t.ProviderName=t.ProviderIconUrl=t.PrivateMetaData=t.PostAt=t.Placeholder=t.MinValue=t.MinLength=t.MinQueryLength=t.MaxValue=t.MaxSelectedItems=t.MaxLength=t.Label=t.IsDecimalAllowed=t.InitialValue=t.InitialUser=t.InitialTime=t.InitialOption=t.InitialDateTime=t.InitialDate=t.InitialConversation=t.InitialChannel=t.ImageUrl=t.Hint=t.Fallback=t.ExternalId=t.Element=t.Description=t.Deny=t.Confirm=t.Color=t.Close=t.Channel=t.CallbackId=t.BlockId=t.AuthorName=t.AltText=t.ActionId=t.Accessory=t.AccessibilityLabel=void 0;t.Filetypes=void 0;const s=r(243);const n=r(6838);class AccessibilityLabel extends s.Builder{accessibilityLabel(e){return this.set(e,n.Prop.AccessibilityLabel)}}t.AccessibilityLabel=AccessibilityLabel;class Accessory extends s.Builder{accessory(e){return this.set(e,n.Prop.Accessory)}}t.Accessory=Accessory;class ActionId extends s.Builder{actionId(e){return this.set(e,n.Prop.ActionId)}}t.ActionId=ActionId;class AltText extends s.Builder{altText(e){return this.set(e,n.Prop.AltText)}}t.AltText=AltText;class AuthorName extends s.Builder{authorName(e){return this.set(e,n.Prop.AuthorName)}}t.AuthorName=AuthorName;class BlockId extends s.Builder{blockId(e){return this.set(e,n.Prop.BlockId)}}t.BlockId=BlockId;class CallbackId extends s.Builder{callbackId(e){return this.set(e,n.Prop.CallbackId)}}t.CallbackId=CallbackId;class Channel extends s.Builder{channel(e){return this.set(e,n.Prop.Channel)}}t.Channel=Channel;class Close extends s.Builder{close(e){return this.set(e,n.Prop.Close)}}t.Close=Close;class Color extends s.Builder{color(e){return this.set(e,n.Prop.Color)}}t.Color=Color;class Confirm extends s.Builder{confirm(e){return this.set(e,n.Prop.Confirm)}}t.Confirm=Confirm;class Deny extends s.Builder{deny(e){return this.set(e,n.Prop.Deny)}}t.Deny=Deny;class Description extends s.Builder{description(e){return this.set(e,n.Prop.Description)}}t.Description=Description;class Element extends s.Builder{element(e){return this.set(e,n.Prop.Element)}}t.Element=Element;class ExternalId extends s.Builder{externalId(e){return this.set(e,n.Prop.ExternalId)}}t.ExternalId=ExternalId;class Fallback extends s.Builder{fallback(e){return this.set(e,n.Prop.Fallback)}}t.Fallback=Fallback;class Hint extends s.Builder{hint(e){return this.set(e,n.Prop.Hint)}}t.Hint=Hint;class ImageUrl extends s.Builder{imageUrl(e){return this.set(e,n.Prop.ImageUrl)}}t.ImageUrl=ImageUrl;class InitialChannel extends s.Builder{initialChannel(e){return this.set(e,n.Prop.InitialChannel)}}t.InitialChannel=InitialChannel;class InitialConversation extends s.Builder{initialConversation(e){return this.set(e,n.Prop.InitialConversation)}}t.InitialConversation=InitialConversation;class InitialDate extends s.Builder{initialDate(e){return this.set(e,n.Prop.InitialDate)}}t.InitialDate=InitialDate;class InitialDateTime extends s.Builder{initialDateTime(e){return this.set(e,n.Prop.InitialDateTime)}}t.InitialDateTime=InitialDateTime;class InitialOption extends s.Builder{initialOption(e){return this.set(e,n.Prop.InitialOption)}}t.InitialOption=InitialOption;class InitialTime extends s.Builder{initialTime(e){return this.set(e,n.Prop.InitialTime)}}t.InitialTime=InitialTime;class InitialUser extends s.Builder{initialUser(e){return this.set(e,n.Prop.InitialUser)}}t.InitialUser=InitialUser;class InitialValue extends s.Builder{initialValue(e){return this.set(e,n.Prop.InitialValue)}}t.InitialValue=InitialValue;class IsDecimalAllowed extends s.Builder{isDecimalAllowed(e){return this.set(e,n.Prop.IsDecimalAllowed)}}t.IsDecimalAllowed=IsDecimalAllowed;class Label extends s.Builder{label(e){return this.set(e,n.Prop.Label)}}t.Label=Label;class MaxLength extends s.Builder{maxLength(e){return this.set(e,n.Prop.MaxLength)}}t.MaxLength=MaxLength;class MaxSelectedItems extends s.Builder{maxSelectedItems(e){return this.set(e,n.Prop.MaxSelectedItems)}}t.MaxSelectedItems=MaxSelectedItems;class MaxValue extends s.Builder{maxValue(e){return this.set(e,n.Prop.MaxValue)}}t.MaxValue=MaxValue;class MinQueryLength extends s.Builder{minQueryLength(e){return this.set(e,n.Prop.MinQueryLength)}}t.MinQueryLength=MinQueryLength;class MinLength extends s.Builder{minLength(e){return this.set(e,n.Prop.MinLength)}}t.MinLength=MinLength;class MinValue extends s.Builder{minValue(e){return this.set(e,n.Prop.MinValue)}}t.MinValue=MinValue;class Placeholder extends s.Builder{placeholder(e){return this.set(e,n.Prop.Placeholder)}}t.Placeholder=Placeholder;class PostAt extends s.Builder{postAt(e){return this.set(e,n.Prop.PostAt)}}t.PostAt=PostAt;class PrivateMetaData extends s.Builder{privateMetaData(e){return this.set(e,n.Prop.PrivateMetaData)}}t.PrivateMetaData=PrivateMetaData;class ProviderIconUrl extends s.Builder{providerIconUrl(e){return this.set(e,n.Prop.ProviderIconUrl)}}t.ProviderIconUrl=ProviderIconUrl;class ProviderName extends s.Builder{providerName(e){return this.set(e,n.Prop.ProviderName)}}t.ProviderName=ProviderName;class Submit extends s.Builder{submit(e){return this.set(e,n.Prop.Submit)}}t.Submit=Submit;class Text extends s.Builder{text(e){return this.set(e,n.Prop.Text)}}t.Text=Text;class ThreadTs extends s.Builder{threadTs(e){return this.set(e,n.Prop.ThreadTs)}}t.ThreadTs=ThreadTs;class ThumbnailUrl extends s.Builder{thumbnailUrl(e){return this.set(e,n.Prop.ThumbnailUrl)}}t.ThumbnailUrl=ThumbnailUrl;class Title extends s.Builder{title(e){return this.set(e,n.Prop.Title)}}t.Title=Title;class TitleUrl extends s.Builder{titleUrl(e){return this.set(e,n.Prop.TitleUrl)}}t.TitleUrl=TitleUrl;class Ts extends s.Builder{ts(e){return this.set(e,n.Prop.Ts)}}t.Ts=Ts;class Url extends s.Builder{url(e){return this.set(e,n.Prop.Url)}}t.Url=Url;class Value extends s.Builder{value(e){return this.set(e,n.Prop.Value)}}t.Value=Value;class VideoUrl extends s.Builder{videoUrl(e){return this.set(e,n.Prop.VideoUrl)}}t.VideoUrl=VideoUrl;class MaxFiles extends s.Builder{maxFiles(e=10){return this.set(e,n.Prop.MaxFiles)}}t.MaxFiles=MaxFiles;class Filetypes extends s.Builder{filetypes(e=[]){return this.set(e.flat(),n.Prop.Filetypes)}}t.Filetypes=Filetypes},7935:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DispatchActionsConfigurationObject=void 0;const s=r(5154);class DispatchActionsConfigurationObject extends s.CompositionObjectBase{constructor(e){super();this.trigger_actions_on=e}}t.DispatchActionsConfigurationObject=DispatchActionsConfigurationObject},2383:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.FilterObject=void 0;const s=r(5154);class FilterObject extends s.CompositionObjectBase{constructor(e){super();this.include=e.filter;this.exclude_external_shared_channels=e.excludeExternalSharedChannels;this.exclude_bot_users=e.excludeBotUsers}}t.FilterObject=FilterObject},5347:function(e,t,r){"use strict";var s=this&&this.__createBinding||(Object.create?function(e,t,r,s){if(s===undefined)s=r;Object.defineProperty(e,s,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,s){if(s===undefined)s=r;e[s]=t[r]});var n=this&&this.__exportStar||function(e,t){for(var r in e)if(r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r))s(t,e,r)};Object.defineProperty(t,"__esModule",{value:true});n(r(7935),t);n(r(2383),t);n(r(3806),t);n(r(3642),t)},3806:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.MarkdownObject=void 0;const s=r(5154);const n=r(6838);class MarkdownObject extends s.CompositionObjectBase{constructor(e){super();this.type=n.ObjectType.Markdown;this.text=e}}t.MarkdownObject=MarkdownObject},3642:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PlainTextObject=void 0;const s=r(5154);const n=r(6838);class PlainTextObject extends s.CompositionObjectBase{constructor(e){super();this.type=n.ObjectType.Text;this.text=e}}t.PlainTextObject=PlainTextObject},4095:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},5543:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Md=t.group=t.channel=t.user=t.emoji=t.mailto=t.link=t.listBullet=t.listDash=t.codeBlock=t.codeInline=t.strike=t.italic=t.bold=t.blockquote=t.quote=void 0;function quote(e){return`"${e}"`}t.quote=quote;function blockquote(e){return e.split("\n").map((e=>`>${e}`)).join("\n")}t.blockquote=blockquote;function bold(e){return`*${e}*`}t.bold=bold;function italic(e){return`_${e}_`}t.italic=italic;function strike(e){return`~${e}~`}t.strike=strike;function codeInline(e){return`\`${e}\``}t.codeInline=codeInline;function codeBlock(e){return`\`\`\`${e}\`\`\``}t.codeBlock=codeBlock;function listDash(...e){return e.flat().map((e=>`- ${e}`)).join("\n")}t.listDash=listDash;function listBullet(...e){return e.flat().map((e=>`• ${e}`)).join("\n")}t.listBullet=listBullet;function link(e,t){return t?`<${e}|${t}>`:`<${e}>`}t.link=link;function mailto(e,t){return``}t.mailto=mailto;function emoji(e){return`:${e}:`}t.emoji=emoji;function user(e){return`<@${e}>`}t.user=user;function channel(e){return`<#${e}>`}t.channel=channel;function group(e){return``}t.group=group;const r={quote:quote,blockquote:blockquote,bold:bold,italic:italic,strike:strike,codeInline:codeInline,codeBlock:codeBlock,listDash:listDash,listBullet:listBullet,link:link,mailto:mailto,emoji:emoji,user:user,channel:channel,group:group};t.Md=r},7487:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.HomeTabBuilder=void 0;const s=r(5154);const n=r(6838);const o=r(6564);const i=r(133);const a=r(3077);class HomeTabBuilder extends s.SurfaceBuilderBase{build(){return this.getResult(o.SlackHomeTabDto,{type:n.SurfaceType.HomeTab,blocks:i.getBuilderResults(this.props.blocks)})}}t.HomeTabBuilder=HomeTabBuilder;i.applyMixins(HomeTabBuilder,[a.Blocks,a.CallbackId,a.ExternalId,a.PrivateMetaData,a.BuildToJSON,a.BuildToObject,a.GetBlocks,a.GetPreviewUrl,a.PrintPreviewUrl])},4271:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Surfaces=t.WorkflowStep=t.Modal=t.Message=t.HomeTab=void 0;const s=r(7487);const n=r(4025);const o=r(9052);const i=r(1833);function HomeTab(e){return new s.HomeTabBuilder(e)}t.HomeTab=HomeTab;function Message(e){return new n.MessageBuilder(e)}t.Message=Message;function Modal(e){return new o.ModalBuilder(e)}t.Modal=Modal;function WorkflowStep(e){return new i.WorkflowStepBuilder(e)}t.WorkflowStep=WorkflowStep;const a={HomeTab:HomeTab,Message:Message,Modal:Modal,WorkflowStep:WorkflowStep};t.Surfaces=a},4025:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.MessageBuilder=void 0;const s=r(5154);const n=r(6564);const o=r(133);const i=r(3077);class MessageBuilder extends s.SurfaceBuilderBase{build(){return this.getResult(n.SlackMessageDto,{blocks:o.getBuilderResults(this.props.blocks),attachments:o.getBuilderResults(this.props.attachments)})}}t.MessageBuilder=MessageBuilder;o.applyMixins(MessageBuilder,[i.AsUser,i.Attachments,i.Blocks,i.Channel,i.DeleteOriginal,i.Ephemeral,i.IgnoreMarkdown,i.InChannel,i.PostAt,i.ReplaceOriginal,i.Text,i.ThreadTs,i.Ts,i.BuildToJSON,i.BuildToObject,i.GetAttachments,i.GetBlocks,i.GetPreviewUrl,i.PrintPreviewUrl])},9052:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ModalBuilder=void 0;const s=r(5154);const n=r(6838);const o=r(6564);const i=r(133);const a=r(3077);class ModalBuilder extends s.SurfaceBuilderBase{build(){return this.getResult(o.SlackModalDto,{type:n.SurfaceType.Modal,title:i.getPlainTextObject(this.props.title),blocks:i.getBuilderResults(this.props.blocks),close:i.getPlainTextObject(this.props.close),submit:i.getPlainTextObject(this.props.submit)})}}t.ModalBuilder=ModalBuilder;i.applyMixins(ModalBuilder,[a.Blocks,a.CallbackId,a.ClearOnClose,a.Close,a.ExternalId,a.NotifyOnClose,a.PrivateMetaData,a.Submit,a.Title,a.BuildToJSON,a.BuildToObject,a.GetBlocks,a.GetPreviewUrl,a.PrintPreviewUrl])},1833:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.WorkflowStepBuilder=void 0;const s=r(5154);const n=r(6838);const o=r(6564);const i=r(133);const a=r(3077);class WorkflowStepBuilder extends s.SurfaceBuilderBase{build(){return this.getResult(o.SlackWorkflowStepDto,{type:n.SurfaceType.WorkflowStep,title:i.getPlainTextObject(this.props.title),blocks:i.getBuilderResults(this.props.blocks),close:i.getPlainTextObject(this.props.close),submit:i.getPlainTextObject(this.props.submit)})}}t.WorkflowStepBuilder=WorkflowStepBuilder;i.applyMixins(WorkflowStepBuilder,[a.Blocks,a.CallbackId,a.PrivateMetaData,a.SubmitDisabled,a.BuildToJSON,a.BuildToObject,a.GetBlocks,a.GetPreviewUrl,a.PrintPreviewUrl])},4609:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Utilities=t.buildBlocks=t.buildBlock=t.OptionGroupCollection=t.OptionCollection=t.AttachmentCollection=t.BlockCollection=void 0;const s=r(243);const getBuiltCollection=(...e)=>s.Builder.pruneUndefinedFromArray(e.flat()).map((e=>e&&e.build()));function BlockCollection(...e){return getBuiltCollection(...e)}t.BlockCollection=BlockCollection;function AttachmentCollection(...e){return getBuiltCollection(...e)}t.AttachmentCollection=AttachmentCollection;function OptionCollection(...e){return getBuiltCollection(...e)}t.OptionCollection=OptionCollection;function OptionGroupCollection(...e){return getBuiltCollection(...e)}t.OptionGroupCollection=OptionGroupCollection;function buildBlock(e){return e.build()}t.buildBlock=buildBlock;function buildBlocks(...e){return getBuiltCollection(...e)}t.buildBlocks=buildBlocks;const n={AttachmentCollection:AttachmentCollection,BlockCollection:BlockCollection,OptionCollection:OptionCollection,OptionGroupCollection:OptionGroupCollection,buildBlock:buildBlock,buildBlocks:buildBlocks};t.Utilities=n},8578:(e,t,r)=>{e.exports=r(2805)},2805:(e,t,r)=>{"use strict";var s=r(1808);var n=r(4404);var o=r(3685);var i=r(5687);var a=r(2361);var A=r(9491);var c=r(3837);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,s,n){var o=toOptions(r,s,n);for(var i=0,a=t.requests.length;i=this.maxSockets){n.requests.push(o);return}n.createSocket(o,(function(t){t.on("free",onFree);t.on("close",onCloseOrRemove);t.on("agentRemove",onCloseOrRemove);e.onSocket(t);function onFree(){n.emit("free",t,o)}function onCloseOrRemove(e){n.removeSocket(t);t.removeListener("free",onFree);t.removeListener("close",onCloseOrRemove);t.removeListener("agentRemove",onCloseOrRemove)}}))};TunnelingAgent.prototype.createSocket=function createSocket(e,t){var r=this;var s={};r.sockets.push(s);var n=mergeOptions({},r.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:false,headers:{host:e.host+":"+e.port}});if(e.localAddress){n.localAddress=e.localAddress}if(n.proxyAuth){n.headers=n.headers||{};n.headers["Proxy-Authorization"]="Basic "+new Buffer(n.proxyAuth).toString("base64")}l("making CONNECT request");var o=r.request(n);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(n,i,a){o.removeAllListeners();i.removeAllListeners();if(n.statusCode!==200){l("tunneling socket could not be established, statusCode=%d",n.statusCode);i.destroy();var A=new Error("tunneling socket could not be established, "+"statusCode="+n.statusCode);A.code="ECONNRESET";e.request.emit("error",A);r.removeSocket(s);return}if(a.length>0){l("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(s);return}l("tunneling connection has established");r.sockets[r.sockets.indexOf(s)]=i;return t(i)}function onError(t){o.removeAllListeners();l("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var n=new Error("tunneling socket could not be established, "+"cause="+t.message);n.code="ECONNRESET";e.request.emit("error",n);r.removeSocket(s)}};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(s){var o=e.request.getHeader("host");var i=mergeOptions({},r.options,{socket:s,servername:o?o.replace(/:.*$/,""):e.host});var a=n.connect(0,i);r.sockets[r.sockets.indexOf(s)]=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{"use strict";const s=r(1735);const n=r(8648);const o=r(2366);const i=r(780);const a=r(6318);const A=r(8840);const c=r(7497);const{InvalidArgumentError:l}=o;const u=r(6499);const p=r(9218);const d=r(1287);const g=r(6004);const h=r(7220);const m=r(2703);const E=r(9498);const C=r(8984);const{getGlobalDispatcher:I,setGlobalDispatcher:B}=r(2899);const Q=r(253);const b=r(292);const y=r(3167);let v;try{r(6113);v=true}catch{v=false}Object.assign(n.prototype,u);e.exports.Dispatcher=n;e.exports.Client=s;e.exports.Pool=i;e.exports.BalancedPool=a;e.exports.Agent=A;e.exports.ProxyAgent=E;e.exports.RetryHandler=C;e.exports.DecoratorHandler=Q;e.exports.RedirectHandler=b;e.exports.createRedirectInterceptor=y;e.exports.buildConnector=p;e.exports.errors=o;function makeDispatcher(e){return(t,r,s)=>{if(typeof r==="function"){s=r;r=null}if(!t||typeof t!=="string"&&typeof t!=="object"&&!(t instanceof URL)){throw new l("invalid url")}if(r!=null&&typeof r!=="object"){throw new l("invalid opts")}if(r&&r.path!=null){if(typeof r.path!=="string"){throw new l("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:n,dispatcher:o=I()}=r;if(n){throw new l("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")},s)}}e.exports.setGlobalDispatcher=B;e.exports.getGlobalDispatcher=I;if(c.nodeMajor>16||c.nodeMajor===16&&c.nodeMinor>=8){let t=null;e.exports.fetch=async function fetch(e){if(!t){t=r(8802).fetch}try{return await t(...arguments)}catch(e){if(typeof e==="object"){Error.captureStackTrace(e,this)}throw e}};e.exports.Headers=r(1855).Headers;e.exports.Response=r(3950).Response;e.exports.Request=r(6453).Request;e.exports.FormData=r(9425).FormData;e.exports.File=r(5506).File;e.exports.FileReader=r(929).FileReader;const{setGlobalOrigin:s,getGlobalOrigin:n}=r(7011);e.exports.setGlobalOrigin=s;e.exports.getGlobalOrigin=n;const{CacheStorage:o}=r(4082);const{kConstruct:i}=r(6648);e.exports.caches=new o(i)}if(c.nodeMajor>=16){const{deleteCookie:t,getCookies:s,getSetCookies:n,setCookie:o}=r(9738);e.exports.deleteCookie=t;e.exports.getCookies=s;e.exports.getSetCookies=n;e.exports.setCookie=o;const{parseMIMEType:i,serializeAMimeType:a}=r(5958);e.exports.parseMIMEType=i;e.exports.serializeAMimeType=a}if(c.nodeMajor>=18&&v){const{WebSocket:t}=r(1986);e.exports.WebSocket=t}e.exports.request=makeDispatcher(u.request);e.exports.stream=makeDispatcher(u.stream);e.exports.pipeline=makeDispatcher(u.pipeline);e.exports.connect=makeDispatcher(u.connect);e.exports.upgrade=makeDispatcher(u.upgrade);e.exports.MockClient=d;e.exports.MockPool=h;e.exports.MockAgent=g;e.exports.mockErrors=m},8840:(e,t,r)=>{"use strict";const{InvalidArgumentError:s}=r(2366);const{kClients:n,kRunning:o,kClose:i,kDestroy:a,kDispatch:A,kInterceptors:c}=r(3932);const l=r(8757);const u=r(780);const p=r(1735);const d=r(7497);const g=r(3167);const{WeakRef:h,FinalizationRegistry:m}=r(5285)();const E=Symbol("onConnect");const C=Symbol("onDisconnect");const I=Symbol("onConnectionError");const B=Symbol("maxRedirections");const Q=Symbol("onDrain");const b=Symbol("factory");const y=Symbol("finalizer");const v=Symbol("options");function defaultFactory(e,t){return t&&t.connections===1?new p(e,t):new u(e,t)}class Agent extends l{constructor({factory:e=defaultFactory,maxRedirections:t=0,connect:r,...o}={}){super();if(typeof e!=="function"){throw new s("factory must be a function.")}if(r!=null&&typeof r!=="function"&&typeof r!=="object"){throw new s("connect must be a function or an object")}if(!Number.isInteger(t)||t<0){throw new s("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[v]={...d.deepClone(o),connect:r};this[v].interceptors=o.interceptors?{...o.interceptors}:undefined;this[B]=t;this[b]=e;this[n]=new Map;this[y]=new m((e=>{const t=this[n].get(e);if(t!==undefined&&t.deref()===undefined){this[n].delete(e)}}));const i=this;this[Q]=(e,t)=>{i.emit("drain",e,[i,...t])};this[E]=(e,t)=>{i.emit("connect",e,[i,...t])};this[C]=(e,t,r)=>{i.emit("disconnect",e,[i,...t],r)};this[I]=(e,t,r)=>{i.emit("connectionError",e,[i,...t],r)}}get[o](){let e=0;for(const t of this[n].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 s("opts.origin must be a non-empty string or URL.")}const o=this[n].get(r);let i=o?o.deref():null;if(!i){i=this[b](e.origin,this[v]).on("drain",this[Q]).on("connect",this[E]).on("disconnect",this[C]).on("connectionError",this[I]);this[n].set(r,new h(i));this[y].register(i,r)}return i.dispatch(e,t)}async[i](){const e=[];for(const t of this[n].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[n].values()){const s=r.deref();if(s){t.push(s.destroy(e))}}await Promise.all(t)}}e.exports=Agent},8949:(e,t,r)=>{const{addAbortListener:s}=r(7497);const{RequestAbortedError:n}=r(2366);const o=Symbol("kListener");const i=Symbol("kSignal");function abort(e){if(e.abort){e.abort()}else{e.onError(new n)}}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)};s(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}},6589:(e,t,r)=>{"use strict";const{AsyncResource:s}=r(852);const{InvalidArgumentError:n,RequestAbortedError:o,SocketError:i}=r(2366);const a=r(7497);const{addSignal:A,removeSignal:c}=r(8949);class ConnectHandler extends s{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_CONNECT");this.opaque=s||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:s,opaque:n,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(s,null,null,{statusCode:e,headers:i,socket:r,opaque:n,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,s)=>e?r(e):t(s)))}))}try{const r=new ConnectHandler(e,t);this.dispatch({...e,method:"CONNECT"},r)}catch(r){if(typeof t!=="function"){throw r}const s=e&&e.opaque;queueMicrotask((()=>t(r,{opaque:s})))}}e.exports=connect},6970:(e,t,r)=>{"use strict";const{Readable:s,Duplex:n,PassThrough:o}=r(2781);const{InvalidArgumentError:i,InvalidReturnValueError:a,RequestAbortedError:A}=r(2366);const c=r(7497);const{AsyncResource:l}=r(852);const{addSignal:u,removeSignal:p}=r(8949);const d=r(9491);const g=Symbol("resume");class PipelineRequest extends s{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 s{constructor(e){super({autoDestroy:true});this[g]=e}_read(){this[g]()}_destroy(e,t){if(!e&&!this._readableState.endEmitted){e=new A}t(e)}}class PipelineHandler extends l{constructor(e,t){if(!e||typeof e!=="object"){throw new i("invalid opts")}if(typeof t!=="function"){throw new i("invalid handler")}const{signal:r,method:s,opaque:o,onInfo:a,responseHeaders:l}=e;if(r&&typeof r.on!=="function"&&typeof r.addEventListener!=="function"){throw new i("signal must be an EventEmitter or EventTarget")}if(s==="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=l||null;this.handler=t;this.abort=null;this.context=null;this.onInfo=a||null;this.req=(new PipelineRequest).on("error",c.nop);this.ret=new n({readableObjectMode:e.objectMode,autoDestroy:true,read:()=>{const{body:e}=this;if(e&&e.resume){e.resume()}},write:(e,t,r)=>{const{req:s}=this;if(s.push(e,t)||s._readableState.destroyed){r()}else{s[g]=r}},destroy:(e,t)=>{const{body:r,req:s,res:n,ret:o,abort:i}=this;if(!e&&!o._readableState.endEmitted){e=new A}if(i&&e){i()}c.destroy(r,e);c.destroy(s,e);c.destroy(n,e);p(this);t(e)}}).on("prefinish",(()=>{const{req:e}=this;e.push(null)}));this.res=null;u(this,r)}onConnect(e,t){const{ret:r,res:s}=this;d(!s,"pipeline cannot be retried");if(r.destroyed){throw new A}this.abort=e;this.context=t}onHeaders(e,t,r){const{opaque:s,handler:n,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(n,null,{statusCode:e,headers:r,opaque:s,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},8859:(e,t,r)=>{"use strict";const s=r(2086);const{InvalidArgumentError:n,RequestAbortedError:o}=r(2366);const i=r(7497);const{getResolveErrorBodyCallback:a}=r(6017);const{AsyncResource:A}=r(852);const{addSignal:c,removeSignal:l}=r(8949);class RequestHandler extends A{constructor(e,t){if(!e||typeof e!=="object"){throw new n("invalid opts")}const{signal:r,method:s,opaque:o,body:a,onInfo:A,responseHeaders:l,throwOnError:u,highWaterMark:p}=e;try{if(typeof t!=="function"){throw new n("invalid callback")}if(p&&(typeof p!=="number"||p<0)){throw new n("invalid highWaterMark")}if(r&&typeof r.on!=="function"&&typeof r.addEventListener!=="function"){throw new n("signal must be an EventEmitter or EventTarget")}if(s==="CONNECT"){throw new n("invalid method")}if(A&&typeof A!=="function"){throw new n("invalid onInfo callback")}super("UNDICI_REQUEST")}catch(e){if(i.isStream(a)){i.destroy(a.on("error",i.nop),e)}throw e}this.responseHeaders=l||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=u;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,n){const{callback:o,opaque:A,abort:c,context:l,responseHeaders:u,highWaterMark:p}=this;const d=u==="raw"?i.parseRawHeaders(t):i.parseHeaders(t);if(e<200){if(this.onInfo){this.onInfo({statusCode:e,headers:d})}return}const g=u==="raw"?i.parseHeaders(t):d;const h=g["content-type"];const m=new s({resume:r,abort:c,contentType:h,highWaterMark:p});this.callback=null;this.res=m;if(o!==null){if(this.throwOnError&&e>=400){this.runInAsyncScope(a,null,{callback:o,body:m,contentType:h,statusCode:e,statusMessage:n,headers:d})}else{this.runInAsyncScope(o,null,null,{statusCode:e,headers:d,trailers:this.trailers,opaque:A,body:m,context:l})}}}onData(e){const{res:t}=this;return t.push(e)}onComplete(e){const{res:t}=this;l(this);i.parseHeaders(e,this.trailers);t.push(null)}onError(e){const{res:t,callback:r,body:s,opaque:n}=this;l(this);if(r){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}if(t){this.res=null;queueMicrotask((()=>{i.destroy(t,e)}))}if(s){this.body=null;i.destroy(s,e)}}}function request(e,t){if(t===undefined){return new Promise(((t,r)=>{request.call(this,e,((e,s)=>e?r(e):t(s)))}))}try{this.dispatch(e,new RequestHandler(e,t))}catch(r){if(typeof t!=="function"){throw r}const s=e&&e.opaque;queueMicrotask((()=>t(r,{opaque:s})))}}e.exports=request;e.exports.RequestHandler=RequestHandler},4336:(e,t,r)=>{"use strict";const{finished:s,PassThrough:n}=r(2781);const{InvalidArgumentError:o,InvalidReturnValueError:i,RequestAbortedError:a}=r(2366);const A=r(7497);const{getResolveErrorBodyCallback:c}=r(6017);const{AsyncResource:l}=r(852);const{addSignal:u,removeSignal:p}=r(8949);class StreamHandler extends l{constructor(e,t,r){if(!e||typeof e!=="object"){throw new o("invalid opts")}const{signal:s,method:n,opaque:i,body:a,onInfo:c,responseHeaders:l,throwOnError:p}=e;try{if(typeof r!=="function"){throw new o("invalid callback")}if(typeof t!=="function"){throw new o("invalid factory")}if(s&&typeof s.on!=="function"&&typeof s.addEventListener!=="function"){throw new o("signal must be an EventEmitter or EventTarget")}if(n==="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=l||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)}))}u(this,s)}onConnect(e,t){if(!this.callback){throw new a}this.abort=e;this.context=t}onHeaders(e,t,r,o){const{factory:a,opaque:l,context:u,callback:p,responseHeaders:d}=this;const g=d==="raw"?A.parseRawHeaders(t):A.parseHeaders(t);if(e<200){if(this.onInfo){this.onInfo({statusCode:e,headers:g})}return}this.factory=null;let h;if(this.throwOnError&&e>=400){const r=d==="raw"?A.parseHeaders(t):g;const s=r["content-type"];h=new n;this.callback=null;this.runInAsyncScope(c,null,{callback:p,body:h,contentType:s,statusCode:e,statusMessage:o,headers:g})}else{if(a===null){return}h=this.runInAsyncScope(a,null,{statusCode:e,headers:g,opaque:l,context:u});if(!h||typeof h.write!=="function"||typeof h.end!=="function"||typeof h.on!=="function"){throw new i("expected Writable")}s(h,{readable:false},(e=>{const{callback:t,res:r,opaque:s,trailers:n,abort:o}=this;this.res=null;if(e||!r.readable){A.destroy(r,e)}this.callback=null;this.runInAsyncScope(t,null,e||null,{opaque:s,trailers:n});if(e){o()}}))}h.on("drain",r);this.res=h;const m=h.writableNeedDrain!==undefined?h.writableNeedDrain:h._writableState&&h._writableState.needDrain;return m!==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:s,body:n}=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:s})}))}if(n){this.body=null;A.destroy(n,e)}}}function stream(e,t,r){if(r===undefined){return new Promise(((r,s)=>{stream.call(this,e,t,((e,t)=>e?s(e):r(t)))}))}try{this.dispatch(e,new StreamHandler(e,t,r))}catch(t){if(typeof r!=="function"){throw t}const s=e&&e.opaque;queueMicrotask((()=>r(t,{opaque:s})))}}e.exports=stream},6458:(e,t,r)=>{"use strict";const{InvalidArgumentError:s,RequestAbortedError:n,SocketError:o}=r(2366);const{AsyncResource:i}=r(852);const a=r(7497);const{addSignal:A,removeSignal:c}=r(8949);const l=r(9491);class UpgradeHandler extends i{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_UPGRADE");this.responseHeaders=o||null;this.opaque=n||null;this.callback=t;this.abort=null;this.context=null;A(this,r)}onConnect(e,t){if(!this.callback){throw new n}this.abort=e;this.context=null}onHeaders(){throw new o("bad upgrade",null)}onUpgrade(e,t,r){const{callback:s,opaque:n,context:o}=this;l.strictEqual(e,101);c(this);this.callback=null;const i=this.responseHeaders==="raw"?a.parseRawHeaders(t):a.parseHeaders(t);this.runInAsyncScope(s,null,null,{headers:i,socket:r,opaque:n,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,s)=>e?r(e):t(s)))}))}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 s=e&&e.opaque;queueMicrotask((()=>t(r,{opaque:s})))}}e.exports=upgrade},6499:(e,t,r)=>{"use strict";e.exports.request=r(8859);e.exports.stream=r(4336);e.exports.pipeline=r(6970);e.exports.upgrade=r(6458);e.exports.connect=r(6589)},2086:(e,t,r)=>{"use strict";const s=r(9491);const{Readable:n}=r(2781);const{RequestAbortedError:o,NotSupportedError:i,InvalidArgumentError:a}=r(2366);const A=r(7497);const{ReadableStreamFrom:c,toUSVString:l}=r(7497);let u;const p=Symbol("kConsume");const d=Symbol("kReading");const g=Symbol("kBody");const h=Symbol("abort");const m=Symbol("kContentType");const noop=()=>{};e.exports=class BodyReadable extends n{constructor({resume:e,abort:t,contentType:r="",highWaterMark:s=64*1024}){super({autoDestroy:true,read:e,highWaterMark:s});this._readableState.dataEmitted=false;this[h]=t;this[p]=null;this[g]=null;this[m]=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();s(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,s)=>{const n=r?A.addAbortListener(r,(()=>{this.destroy()})):noop;this.on("close",(function(){n();if(r&&r.aborted){s(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")}s(!e[p]);return new Promise(((r,s)=>{e[p]={type:t,stream:e,resolve:r,reject:s,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:s,resolve:n,stream:o,length:i}=e;try{if(t==="text"){n(l(Buffer.concat(s)))}else if(t==="json"){n(JSON.parse(Buffer.concat(s)))}else if(t==="arrayBuffer"){const e=new Uint8Array(i);let t=0;for(const r of s){e.set(r,t);t+=r.byteLength}n(e.buffer)}else if(t==="blob"){if(!u){u=r(4300).Blob}n(new u(s,{type:o[m]}))}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}},6017:(e,t,r)=>{const s=r(9491);const{ResponseStatusCodeError:n}=r(2366);const{toUSVString:o}=r(7497);async function getResolveErrorBodyCallback({callback:e,body:t,contentType:r,statusCode:i,statusMessage:a,headers:A}){s(t);let c=[];let l=0;for await(const e of t){c.push(e);l+=e.length;if(l>128*1024){c=null;break}}if(i===204||!r||!c){process.nextTick(e,new n(`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 n(`Response status code ${i}${a?`: ${a}`:""}`,i,A,t));return}if(r.startsWith("text/")){const t=o(Buffer.concat(c));process.nextTick(e,new n(`Response status code ${i}${a?`: ${a}`:""}`,i,A,t));return}}catch(e){}process.nextTick(e,new n(`Response status code ${i}${a?`: ${a}`:""}`,i,A))}e.exports={getResolveErrorBodyCallback:getResolveErrorBodyCallback}},6318:(e,t,r)=>{"use strict";const{BalancedPoolMissingUpstreamError:s,InvalidArgumentError:n}=r(2366);const{PoolBase:o,kClients:i,kNeedDrain:a,kAddClient:A,kRemoveClient:c,kGetDispatcher:l}=r(4414);const u=r(780);const{kUrl:p,kInterceptors:d}=r(3932);const{parseOrigin:g}=r(7497);const h=Symbol("factory");const m=Symbol("options");const E=Symbol("kGreatestCommonDivisor");const C=Symbol("kCurrentWeight");const I=Symbol("kIndex");const B=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 u(e,t)}class BalancedPool extends o{constructor(e=[],{factory:t=defaultFactory,...r}={}){super();this[m]=r;this[I]=-1;this[C]=0;this[Q]=this[m].maxWeightPerServer||100;this[b]=this[m].errorPenalty||15;if(!Array.isArray(e)){e=[e]}if(typeof t!=="function"){throw new n("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[m]));this[A](r);r.on("connect",(()=>{r[B]=Math.min(this[Q],r[B]+this[b])}));r.on("connectionError",(()=>{r[B]=Math.max(1,r[B]-this[b]);this._updateBalancedPoolStats()}));r.on("disconnect",((...e)=>{const t=e[2];if(t&&t.code==="UND_ERR_SOCKET"){r[B]=Math.max(1,r[B]-this[b]);this._updateBalancedPoolStats()}}));for(const e of this[i]){e[B]=this[Q]}this._updateBalancedPoolStats();return this}_updateBalancedPoolStats(){this[E]=this[i].map((e=>e[B])).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))}[l](){if(this[i].length===0){throw new s}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 n=this[i].findIndex((e=>!e[a]));while(r++this[i][n][B]&&!e[a]){n=this[I]}if(this[I]===0){this[C]=this[C]-this[E];if(this[C]<=0){this[C]=this[Q]}}if(e[B]>=this[C]&&!e[a]){return e}}this[C]=this[i][n][B];this[I]=n;return this[i][n]}}e.exports=BalancedPool},2028:(e,t,r)=>{"use strict";const{kConstruct:s}=r(6648);const{urlEquals:n,fieldValues:o}=r(3651);const{kEnumerableProperty:i,isDisturbed:a}=r(7497);const{kHeadersList:A}=r(3932);const{webidl:c}=r(9111);const{Response:l,cloneResponse:u}=r(3950);const{Request:p}=r(6453);const{kState:d,kHeaders:g,kGuard:h,kRealm:m}=r(5376);const{fetching:E}=r(8802);const{urlIsHttpHttpsScheme:C,createDeferredPromise:I,readAllBytes:B}=r(5496);const Q=r(9491);const{getGlobalDispatcher:b}=r(2899);class Cache{#e;constructor(){if(arguments[0]!==s){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 s=[];if(e===undefined){for(const e of this.#e){s.push(e[1])}}else{const e=this.#t(r,t);for(const t of e){s.push(t[1])}}const n=[];for(const e of s){const t=new l(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";n.push(t)}return Object.freeze(n)}async add(e){c.brandCheck(this,Cache);c.argumentLengthCheck(arguments,1,{header:"Cache.add"});e=c.converters.RequestInfo(e);const t=[e];const 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(!C(e.url)||e.method!=="GET"){throw c.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme when method is not GET."})}}const s=[];for(const n of e){const e=new p(n)[d];if(!C(e.url)){throw c.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme."})}e.initiator="fetch";e.destination="subresource";r.push(e);const i=I();s.push(E({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 s){e.abort()}return}}}},processResponseEndOfBody(e){if(e.aborted){i.reject(new DOMException("aborted","AbortError"));return}i.resolve(e)}}));t.push(i.promise)}const n=Promise.all(t);const i=await n;const a=[];let A=0;for(const e of i){const t={type:"put",request:r[A],response:e};a.push(t);A++}const l=I();let u=null;try{this.#r(a)}catch(e){u=e}queueMicrotask((()=>{if(u===null){l.resolve(undefined)}else{l.reject(u)}}));return l.promise}async put(e,t){c.brandCheck(this,Cache);c.argumentLengthCheck(arguments,2,{header:"Cache.put"});e=c.converters.RequestInfo(e);t=c.converters.Response(t);let r=null;if(e instanceof p){r=e[d]}else{r=new p(e)[d]}if(!C(r.url)||r.method!=="GET"){throw c.errors.exception({header:"Cache.put",message:"Expected an http/s scheme when method is not GET"})}const s=t[d];if(s.status===206){throw c.errors.exception({header:"Cache.put",message:"Got 206 status"})}if(s.headersList.contains("vary")){const e=o(s.headersList.get("vary"));for(const t of e){if(t==="*"){throw c.errors.exception({header:"Cache.put",message:"Got * vary field value"})}}}if(s.body&&(a(s.body.stream)||s.body.stream.locked)){throw c.errors.exception({header:"Cache.put",message:"Response body is locked or disturbed"})}const n=u(s);const i=I();if(s.body!=null){const e=s.body.stream;const t=e.getReader();B(t).then(i.resolve,i.reject)}else{i.resolve(undefined)}const A=[];const l={type:"put",request:r,response:n};A.push(l);const g=await i.promise;if(n.body!=null){n.body.source=g}const h=I();let m=null;try{this.#r(A)}catch(e){m=e}queueMicrotask((()=>{if(m===null){h.resolve()}else{h.reject(m)}}));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 s=[];const n={type:"delete",request:r,options:t};s.push(n);const o=I();let i=null;let a;try{a=this.#r(s)}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 s=I();const n=[];if(e===undefined){for(const e of this.#e){n.push(e[0])}}else{const e=this.#t(r,t);for(const t of e){n.push(t[0])}}queueMicrotask((()=>{const e=[];for(const t of n){const r=new p("https://a");r[d]=t;r[g][A]=t.headersList;r[g][h]="immutable";r[m]=t.client;e.push(r)}s.resolve(Object.freeze(e))}));return s.promise}#r(e){const t=this.#e;const r=[...t];const s=[];const n=[];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,s).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 n=r.request;if(!C(n.url)){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"})}if(n.method!=="GET"){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"})}if(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]);s.push([r.request,r.response])}n.push([r.request,r.response])}return n}catch(e){this.#e.length=0;this.#e=r;throw e}}#t(e,t,r){const s=[];const n=r??this.#e;for(const r of n){const[n,o]=r;if(this.#s(e,n,o,t)){s.push(r)}}return s}#s(e,t,r=null,s){const i=new URL(e.url);const a=new URL(t.url);if(s?.ignoreSearch){a.search="";i.search=""}if(!n(i,a,true)){return false}if(r==null||s?.ignoreVary||!r.headersList.contains("vary")){return true}const A=o(r.headersList.get("vary"));for(const r of A){if(r==="*"){return false}const s=t.headersList.get(r);const n=e.headersList.get(r);if(s!==n){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 y=[{key:"ignoreSearch",converter:c.converters.boolean,defaultValue:false},{key:"ignoreMethod",converter:c.converters.boolean,defaultValue:false},{key:"ignoreVary",converter:c.converters.boolean,defaultValue:false}];c.converters.CacheQueryOptions=c.dictionaryConverter(y);c.converters.MultiCacheQueryOptions=c.dictionaryConverter([...y,{key:"cacheName",converter:c.converters.DOMString}]);c.converters.Response=c.interfaceConverter(l);c.converters["sequence"]=c.sequenceConverter(c.converters.RequestInfo);e.exports={Cache:Cache}},4082:(e,t,r)=>{"use strict";const{kConstruct:s}=r(6648);const{Cache:n}=r(2028);const{webidl:o}=r(9111);const{kEnumerableProperty:i}=r(7497);class CacheStorage{#n=new Map;constructor(){if(arguments[0]!==s){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.#n.has(t.cacheName)){const r=this.#n.get(t.cacheName);const o=new n(s,r);return await o.match(e,t)}}else{for(const r of this.#n.values()){const o=new n(s,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.#n.has(e)}async open(e){o.brandCheck(this,CacheStorage);o.argumentLengthCheck(arguments,1,{header:"CacheStorage.open"});e=o.converters.DOMString(e);if(this.#n.has(e)){const t=this.#n.get(e);return new n(s,t)}const t=[];this.#n.set(e,t);return new n(s,t)}async delete(e){o.brandCheck(this,CacheStorage);o.argumentLengthCheck(arguments,1,{header:"CacheStorage.delete"});e=o.converters.DOMString(e);return this.#n.delete(e)}async keys(){o.brandCheck(this,CacheStorage);const e=this.#n.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}},6648:(e,t,r)=>{"use strict";e.exports={kConstruct:r(3932).kConstruct}},3651:(e,t,r)=>{"use strict";const s=r(9491);const{URLSerializer:n}=r(5958);const{isValidHeaderName:o}=r(5496);function urlEquals(e,t,r=false){const s=n(e,r);const o=n(t,r);return s===o}function fieldValues(e){s(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}},1735:(e,t,r)=>{"use strict";const s=r(9491);const n=r(1808);const o=r(3685);const{pipeline:i}=r(2781);const a=r(7497);const A=r(2882);const c=r(3404);const l=r(8757);const{RequestContentLengthMismatchError:u,ResponseContentLengthMismatchError:p,InvalidArgumentError:d,RequestAbortedError:g,HeadersTimeoutError:h,HeadersOverflowError:m,SocketError:E,InformationalError:C,BodyTimeoutError:I,HTTPParserError:B,ResponseExceededMaxSizeError:Q,ClientDestroyedError:b}=r(2366);const y=r(9218);const{kUrl:v,kReset:w,kServerName:x,kClient:k,kBusy:R,kParser:S,kConnect:D,kBlocking:T,kResuming:_,kRunning:F,kPending:N,kSize:U,kWriting:O,kQueue:M,kConnected:L,kConnecting:P,kNeedDrain:G,kNoRef:H,kKeepAliveDefaultTimeout:j,kHostHeader:V,kPendingIdx:J,kRunningIdx:Y,kError:q,kPipelining:W,kSocket:Z,kKeepAliveTimeoutValue:z,kMaxHeadersSize:K,kKeepAliveMaxTimeout:X,kKeepAliveTimeoutThreshold:$,kHeadersTimeout:ee,kBodyTimeout:te,kStrictContentLength:re,kConnector:se,kMaxRedirections:ne,kMaxRequests:oe,kCounter:ie,kClose:ae,kDestroy:Ae,kDispatch:ce,kInterceptors:le,kLocalAddress:ue,kMaxResponseSize:pe,kHTTPConnVersion:de,kHost:ge,kHTTP2Session:he,kHTTP2SessionState:fe,kHTTP2BuildRequest:me,kHTTP2CopyHeaders:Ee,kHTTP1BuildRequest:Ce}=r(3932);let Ie;try{Ie=r(5158)}catch{Ie={constants:{}}}const{constants:{HTTP2_HEADER_AUTHORITY:Be,HTTP2_HEADER_METHOD:Qe,HTTP2_HEADER_PATH:be,HTTP2_HEADER_SCHEME:ye,HTTP2_HEADER_CONTENT_LENGTH:ve,HTTP2_HEADER_EXPECT:we,HTTP2_HEADER_STATUS:xe}}=Ie;let ke=false;const Re=Buffer[Symbol.species];const Se=Symbol("kClosedResolve");const De={};try{const e=r(7643);De.sendHeaders=e.channel("undici:client:sendHeaders");De.beforeConnect=e.channel("undici:client:beforeConnect");De.connectError=e.channel("undici:client:connectError");De.connected=e.channel("undici:client:connected")}catch{De.sendHeaders={hasSubscribers:false};De.beforeConnect={hasSubscribers:false};De.connectError={hasSubscribers:false};De.connected={hasSubscribers:false}}class Client extends l{constructor(e,{interceptors:t,maxHeaderSize:r,headersTimeout:s,socketTimeout:i,requestTimeout:A,connectTimeout:c,bodyTimeout:l,idleTimeout:u,keepAlive:p,keepAliveTimeout:g,maxKeepAliveTimeout:h,keepAliveMaxTimeout:m,keepAliveTimeoutThreshold:E,socketPath:C,pipelining:I,tls:B,strictContentLength:Q,maxCachedSessions:b,maxRedirections:w,connect:k,maxRequestsPerClient:R,localAddress:S,maxResponseSize:D,autoSelectFamily:T,autoSelectFamilyAttemptTimeout:F,allowH2:N,maxConcurrentStreams:U}={}){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(u!==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(C!=null&&typeof C!=="string"){throw new d("invalid socketPath")}if(c!=null&&(!Number.isFinite(c)||c<0)){throw new d("invalid connectTimeout")}if(g!=null&&(!Number.isFinite(g)||g<=0)){throw new d("invalid keepAliveTimeout")}if(m!=null&&(!Number.isFinite(m)||m<=0)){throw new d("invalid keepAliveMaxTimeout")}if(E!=null&&!Number.isFinite(E)){throw new d("invalid keepAliveTimeoutThreshold")}if(s!=null&&(!Number.isInteger(s)||s<0)){throw new d("headersTimeout must be a positive integer or zero")}if(l!=null&&(!Number.isInteger(l)||l<0)){throw new d("bodyTimeout must be a positive integer or zero")}if(k!=null&&typeof k!=="function"&&typeof k!=="object"){throw new d("connect must be a function or an object")}if(w!=null&&(!Number.isInteger(w)||w<0)){throw new d("maxRedirections must be a positive number")}if(R!=null&&(!Number.isInteger(R)||R<0)){throw new d("maxRequestsPerClient must be a positive number")}if(S!=null&&(typeof S!=="string"||n.isIP(S)===0)){throw new d("localAddress must be valid string IP address")}if(D!=null&&(!Number.isInteger(D)||D<-1)){throw new d("maxResponseSize must be a positive number")}if(F!=null&&(!Number.isInteger(F)||F<-1)){throw new d("autoSelectFamilyAttemptTimeout must be a positive number")}if(N!=null&&typeof N!=="boolean"){throw new d("allowH2 must be a valid boolean value")}if(U!=null&&(typeof U!=="number"||U<1)){throw new d("maxConcurrentStreams must be a possitive integer, greater than 0")}if(typeof k!=="function"){k=y({...B,maxCachedSessions:b,allowH2:N,socketPath:C,timeout:c,...a.nodeHasAutoSelectFamily&&T?{autoSelectFamily:T,autoSelectFamilyAttemptTimeout:F}:undefined,...k})}this[le]=t&&t.Client&&Array.isArray(t.Client)?t.Client:[_e({maxRedirections:w})];this[v]=a.parseOrigin(e);this[se]=k;this[Z]=null;this[W]=I!=null?I:1;this[K]=r||o.maxHeaderSize;this[j]=g==null?4e3:g;this[X]=m==null?6e5:m;this[$]=E==null?1e3:E;this[z]=this[j];this[x]=null;this[ue]=S!=null?S:null;this[_]=0;this[G]=0;this[V]=`host: ${this[v].hostname}${this[v].port?`:${this[v].port}`:""}\r\n`;this[te]=l!=null?l:3e5;this[ee]=s!=null?s:3e5;this[re]=Q==null?true:Q;this[ne]=w;this[oe]=R;this[Se]=null;this[pe]=D>-1?D:-1;this[de]="h1";this[he]=null;this[fe]=!N?null:{openStreams:0,maxConcurrentStreams:U!=null?U:100};this[ge]=`${this[v].hostname}${this[v].port?`:${this[v].port}`:""}`;this[M]=[];this[Y]=0;this[J]=0}get pipelining(){return this[W]}set pipelining(e){this[W]=e;resume(this,true)}get[N](){return this[M].length-this[J]}get[F](){return this[J]-this[Y]}get[U](){return this[M].length-this[Y]}get[L](){return!!this[Z]&&!this[P]&&!this[Z].destroyed}get[R](){const e=this[Z];return e&&(e[w]||e[O]||e[T])||this[U]>=(this[W]||1)||this[N]>0}[D](e){connect(this);this.once("connect",e)}[ce](e,t){const r=e.origin||this[v].origin;const s=this[de]==="h2"?c[me](r,e,t):c[Ce](r,e,t);this[M].push(s);if(this[_]){}else if(a.bodyLength(s.body)==null&&a.isIterable(s.body)){this[_]=1;process.nextTick(resume,this)}else{resume(this,true)}if(this[_]&&this[G]!==2&&this[R]){this[G]=2}return this[G]<2}async[ae](){return new Promise((e=>{if(!this[U]){e(null)}else{this[Se]=e}}))}async[Ae](e){return new Promise((t=>{const r=this[M].splice(this[J]);for(let t=0;t{if(this[Se]){this[Se]();this[Se]=null}t()};if(this[he]!=null){a.destroy(this[he],e);this[he]=null;this[fe]=null}if(!this[Z]){queueMicrotask(callback)}else{a.destroy(this[Z].on("close",callback),e)}resume(this)}))}}function onHttp2SessionError(e){s(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID");this[Z][q]=e;onError(this[k],e)}function onHttp2FrameError(e,t,r){const s=new C(`HTTP/2: "frameError" received - type ${e}, code ${t}`);if(r===0){this[Z][q]=s;onError(this[k],s)}}function onHttp2SessionEnd(){a.destroy(this,new E("other side closed"));a.destroy(this[Z],new E("other side closed"))}function onHTTP2GoAway(e){const t=this[k];const r=new C(`HTTP/2: "GOAWAY" frame received with code ${e}`);t[Z]=null;t[he]=null;if(t.destroyed){s(this[N]===0);const e=t[M].splice(t[Y]);for(let t=0;t0){const e=t[M][t[Y]];t[M][t[Y]++]=null;errorRequest(t,e,r)}t[J]=t[Y];s(t[F]===0);t.emit("disconnect",t[v],[t],r);resume(t)}const Te=r(5749);const _e=r(3167);const Fe=Buffer.alloc(0);async function lazyllhttp(){const e=process.env.JEST_WORKER_ID?r(9827):undefined;let t;try{t=await WebAssembly.compile(Buffer.from(r(7785),"base64"))}catch(s){t=await WebAssembly.compile(Buffer.from(e||r(9827),"base64"))}return await WebAssembly.instantiate(t,{env:{wasm_on_url:(e,t,r)=>0,wasm_on_status:(e,t,r)=>{s.strictEqual(Oe.ptr,e);const n=t-Pe+Me.byteOffset;return Oe.onStatus(new Re(Me.buffer,n,r))||0},wasm_on_message_begin:e=>{s.strictEqual(Oe.ptr,e);return Oe.onMessageBegin()||0},wasm_on_header_field:(e,t,r)=>{s.strictEqual(Oe.ptr,e);const n=t-Pe+Me.byteOffset;return Oe.onHeaderField(new Re(Me.buffer,n,r))||0},wasm_on_header_value:(e,t,r)=>{s.strictEqual(Oe.ptr,e);const n=t-Pe+Me.byteOffset;return Oe.onHeaderValue(new Re(Me.buffer,n,r))||0},wasm_on_headers_complete:(e,t,r,n)=>{s.strictEqual(Oe.ptr,e);return Oe.onHeadersComplete(t,Boolean(r),Boolean(n))||0},wasm_on_body:(e,t,r)=>{s.strictEqual(Oe.ptr,e);const n=t-Pe+Me.byteOffset;return Oe.onBody(new Re(Me.buffer,n,r))||0},wasm_on_message_complete:e=>{s.strictEqual(Oe.ptr,e);return Oe.onMessageComplete()||0}}})}let Ne=null;let Ue=lazyllhttp();Ue.catch();let Oe=null;let Me=null;let Le=0;let Pe=null;const Ge=1;const He=2;const je=3;class Parser{constructor(e,t,{exports:r}){s(Number.isFinite(e[K])&&e[K]>0);this.llhttp=r;this.ptr=this.llhttp.llhttp_alloc(Te.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[K];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}s(this.ptr!=null);s(Oe==null);this.llhttp.llhttp_resume(this.ptr);s(this.timeoutType===He);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}this.paused=false;this.execute(this.socket.read()||Fe);this.readMore()}readMore(){while(!this.paused&&this.ptr){const e=this.socket.read();if(e===null){break}this.execute(e)}}execute(e){s(this.ptr!=null);s(Oe==null);s(!this.paused);const{socket:t,llhttp:r}=this;if(e.length>Le){if(Pe){r.free(Pe)}Le=Math.ceil(e.length/4096)*4096;Pe=r.malloc(Le)}new Uint8Array(r.memory.buffer,Pe,Le).set(e);try{let s;try{Me=e;Oe=this;s=r.llhttp_execute(this.ptr,Pe,e.length)}catch(e){throw e}finally{Oe=null;Me=null}const n=r.llhttp_get_error_pos(this.ptr)-Pe;if(s===Te.ERROR.PAUSED_UPGRADE){this.onUpgrade(e.slice(n))}else if(s===Te.ERROR.PAUSED){this.paused=true;t.unshift(e.slice(n))}else if(s!==Te.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 B(o,Te.ERROR[s],e.slice(n))}}catch(e){a.destroy(t,e)}}destroy(){s(this.ptr!=null);s(Oe==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[M][t[Y]];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 m)}}onUpgrade(e){const{upgrade:t,client:r,socket:n,headers:o,statusCode:i}=this;s(t);const A=r[M][r[Y]];s(A);s(!n.destroyed);s(n===r[Z]);s(!this.paused);s(A.upgrade||A.method==="CONNECT");this.statusCode=null;this.statusText="";this.shouldKeepAlive=null;s(this.headers.length%2===0);this.headers=[];this.headersSize=0;n.unshift(e);n[S].destroy();n[S]=null;n[k]=null;n[q]=null;n.removeListener("error",onSocketError).removeListener("readable",onSocketReadable).removeListener("end",onSocketEnd).removeListener("close",onSocketClose);r[Z]=null;r[M][r[Y]++]=null;r.emit("disconnect",r[v],[r],new C("upgrade"));try{A.onUpgrade(i,o,n)}catch(e){a.destroy(n,e)}resume(r)}onHeadersComplete(e,t,r){const{client:n,socket:o,headers:i,statusText:A}=this;if(o.destroyed){return-1}const c=n[M][n[Y]];if(!c){return-1}s(!this.upgrade);s(this.statusCode<200);if(e===100){a.destroy(o,new E("bad response",a.getSocketInfo(o)));return-1}if(t&&!c.upgrade){a.destroy(o,new E("bad upgrade",a.getSocketInfo(o)));return-1}s.strictEqual(this.timeoutType,Ge);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:n[te];this.setTimeout(e,He)}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}if(c.method==="CONNECT"){s(n[F]===1);this.upgrade=true;return 2}if(t){s(n[F]===1);this.upgrade=true;return 2}s(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(this.shouldKeepAlive&&n[W]){const e=this.keepAlive?a.parseKeepAliveTimeout(this.keepAlive):null;if(e!=null){const t=Math.min(e-n[$],n[X]);if(t<=0){o[w]=true}else{n[z]=t}}else{n[z]=n[j]}}else{o[w]=true}const l=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[T]){o[T]=false;resume(n)}return l?Te.ERROR.PAUSED:0}onBody(e){const{client:t,socket:r,statusCode:n,maxResponseSize:o}=this;if(r.destroyed){return-1}const i=t[M][t[Y]];s(i);s.strictEqual(this.timeoutType,He);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}s(n>=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 Te.ERROR.PAUSED}}onMessageComplete(){const{client:e,socket:t,statusCode:r,upgrade:n,headers:o,contentLength:i,bytesRead:A,shouldKeepAlive:c}=this;if(t.destroyed&&(!r||c)){return-1}if(n){return}const l=e[M][e[Y]];s(l);s(r>=100);this.statusCode=null;this.statusText="";this.bytesRead=0;this.contentLength="";this.keepAlive="";this.connection="";s(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(r<200){return}if(l.method!=="HEAD"&&i&&A!==parseInt(i,10)){a.destroy(t,new p);return-1}l.onComplete(o);e[M][e[Y]++]=null;if(t[O]){s.strictEqual(e[F],0);a.destroy(t,new C("reset"));return Te.ERROR.PAUSED}else if(!c){a.destroy(t,new C("reset"));return Te.ERROR.PAUSED}else if(t[w]&&e[F]===0){a.destroy(t,new C("reset"));return Te.ERROR.PAUSED}else if(e[W]===1){setImmediate(resume,e)}else{resume(e)}}}function onParserTimeout(e){const{socket:t,timeoutType:r,client:n}=e;if(r===Ge){if(!t[O]||t.writableNeedDrain||n[F]>1){s(!e.paused,"cannot be paused while waiting for headers");a.destroy(t,new h)}}else if(r===He){if(!e.paused){a.destroy(t,new I)}}else if(r===je){s(n[F]===0&&n[z]);a.destroy(t,new C("socket idle timeout"))}}function onSocketReadable(){const{[S]:e}=this;if(e){e.readMore()}}function onSocketError(e){const{[k]:t,[S]:r}=this;s(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID");if(t[de]!=="h2"){if(e.code==="ECONNRESET"&&r.statusCode&&!r.shouldKeepAlive){r.onMessageComplete();return}}this[q]=e;onError(this[k],e)}function onError(e,t){if(e[F]===0&&t.code!=="UND_ERR_INFO"&&t.code!=="UND_ERR_SOCKET"){s(e[J]===e[Y]);const r=e[M].splice(e[Y]);for(let s=0;s0&&r.code!=="UND_ERR_INFO"){const t=e[M][e[Y]];e[M][e[Y]++]=null;errorRequest(e,t,r)}e[J]=e[Y];s(e[F]===0);e.emit("disconnect",e[v],[e],r);resume(e)}async function connect(e){s(!e[P]);s(!e[Z]);let{host:t,hostname:r,protocol:o,port:i}=e[v];if(r[0]==="["){const e=r.indexOf("]");s(e!==-1);const t=r.substring(1,e);s(n.isIP(t));r=t}e[P]=true;if(De.beforeConnect.hasSubscribers){De.beforeConnect.publish({connectParams:{host:t,hostname:r,protocol:o,port:i,servername:e[x],localAddress:e[ue]},connector:e[se]})}try{const n=await new Promise(((s,n)=>{e[se]({host:t,hostname:r,protocol:o,port:i,servername:e[x],localAddress:e[ue]},((e,t)=>{if(e){n(e)}else{s(t)}}))}));if(e.destroyed){a.destroy(n.on("error",(()=>{})),new b);return}e[P]=false;s(n);const A=n.alpnProtocol==="h2";if(A){if(!ke){ke=true;process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"})}const t=Ie.connect(e[v],{createConnection:()=>n,peerMaxConcurrentStreams:e[fe].maxConcurrentStreams});e[de]="h2";t[k]=e;t[Z]=n;t.on("error",onHttp2SessionError);t.on("frameError",onHttp2FrameError);t.on("end",onHttp2SessionEnd);t.on("goaway",onHTTP2GoAway);t.on("close",onSocketClose);t.unref();e[he]=t;n[he]=t}else{if(!Ne){Ne=await Ue;Ue=null}n[H]=false;n[O]=false;n[w]=false;n[T]=false;n[S]=new Parser(e,n,Ne)}n[ie]=0;n[oe]=e[oe];n[k]=e;n[q]=null;n.on("error",onSocketError).on("readable",onSocketReadable).on("end",onSocketEnd).on("close",onSocketClose);e[Z]=n;if(De.connected.hasSubscribers){De.connected.publish({connectParams:{host:t,hostname:r,protocol:o,port:i,servername:e[x],localAddress:e[ue]},connector:e[se],socket:n})}e.emit("connect",e[v],[e])}catch(n){if(e.destroyed){return}e[P]=false;if(De.connectError.hasSubscribers){De.connectError.publish({connectParams:{host:t,hostname:r,protocol:o,port:i,servername:e[x],localAddress:e[ue]},connector:e[se],error:n})}if(n.code==="ERR_TLS_CERT_ALTNAME_INVALID"){s(e[F]===0);while(e[N]>0&&e[M][e[J]].servername===e[x]){const t=e[M][e[J]++];errorRequest(e,t,n)}}else{onError(e,n)}e.emit("connectionError",e[v],[e],n)}resume(e)}function emitDrain(e){e[G]=0;e.emit("drain",e[v],[e])}function resume(e,t){if(e[_]===2){return}e[_]=2;_resume(e,t);e[_]=0;if(e[Y]>256){e[M].splice(0,e[Y]);e[J]-=e[Y];e[Y]=0}}function _resume(e,t){while(true){if(e.destroyed){s(e[N]===0);return}if(e[Se]&&!e[U]){e[Se]();e[Se]=null;return}const r=e[Z];if(r&&!r.destroyed&&r.alpnProtocol!=="h2"){if(e[U]===0){if(!r[H]&&r.unref){r.unref();r[H]=true}}else if(r[H]&&r.ref){r.ref();r[H]=false}if(e[U]===0){if(r[S].timeoutType!==je){r[S].setTimeout(e[z],je)}}else if(e[F]>0&&r[S].statusCode<200){if(r[S].timeoutType!==Ge){const t=e[M][e[Y]];const s=t.headersTimeout!=null?t.headersTimeout:e[ee];r[S].setTimeout(s,Ge)}}}if(e[R]){e[G]=2}else if(e[G]===2){if(t){e[G]=1;process.nextTick(emitDrain,e)}else{emitDrain(e)}continue}if(e[N]===0){return}if(e[F]>=(e[W]||1)){return}const n=e[M][e[J]];if(e[v].protocol==="https:"&&e[x]!==n.servername){if(e[F]>0){return}e[x]=n.servername;if(r&&r.servername!==n.servername){a.destroy(r,new C("servername changed"));return}}if(e[P]){return}if(!r&&!e[he]){connect(e);return}if(r.destroyed||r[O]||r[w]||r[T]){return}if(e[F]>0&&!n.idempotent){return}if(e[F]>0&&(n.upgrade||n.method==="CONNECT")){return}if(e[F]>0&&a.bodyLength(n.body)!==0&&(a.isStream(n.body)||a.isAsyncIterable(n.body))){return}if(!n.aborted&&write(e,n)){e[J]++}else{e[M].splice(e[J],1)}}}function shouldSendContentLength(e){return e!=="GET"&&e!=="HEAD"&&e!=="OPTIONS"&&e!=="TRACE"&&e!=="CONNECT"}function write(e,t){if(e[de]==="h2"){writeH2(e,e[he],t);return}const{body:r,method:n,path:o,host:i,upgrade:A,headers:c,blocking:l,reset:p}=t;const d=n==="PUT"||n==="POST"||n==="PATCH";if(r&&typeof r.read==="function"){r.read(0)}const h=a.bodyLength(r);let m=h;if(m===null){m=t.contentLength}if(m===0&&!d){m=null}if(shouldSendContentLength(n)&&m>0&&t.contentLength!==null&&t.contentLength!==m){if(e[re]){errorRequest(e,t,new u);return false}process.emitWarning(new u)}const E=e[Z];try{t.onConnect((r=>{if(t.aborted||t.completed){return}errorRequest(e,t,r||new g);a.destroy(E,new C("aborted"))}))}catch(r){errorRequest(e,t,r)}if(t.aborted){return false}if(n==="HEAD"){E[w]=true}if(A||n==="CONNECT"){E[w]=true}if(p!=null){E[w]=p}if(e[oe]&&E[ie]++>=e[oe]){E[w]=true}if(l){E[T]=true}let I=`${n} ${o} HTTP/1.1\r\n`;if(typeof i==="string"){I+=`host: ${i}\r\n`}else{I+=e[V]}if(A){I+=`connection: upgrade\r\nupgrade: ${A}\r\n`}else if(e[W]&&!E[w]){I+="connection: keep-alive\r\n"}else{I+="connection: close\r\n"}if(c){I+=c}if(De.sendHeaders.hasSubscribers){De.sendHeaders.publish({request:t,headers:I,socket:E})}if(!r||h===0){if(m===0){E.write(`${I}content-length: 0\r\n\r\n`,"latin1")}else{s(m===null,"no body must not have content length");E.write(`${I}\r\n`,"latin1")}t.onRequestSent()}else if(a.isBuffer(r)){s(m===r.byteLength,"buffer body must have content length");E.cork();E.write(`${I}content-length: ${m}\r\n\r\n`,"latin1");E.write(r);E.uncork();t.onBodySent(r);t.onRequestSent();if(!d){E[w]=true}}else if(a.isBlobLike(r)){if(typeof r.stream==="function"){writeIterable({body:r.stream(),client:e,request:t,socket:E,contentLength:m,header:I,expectsPayload:d})}else{writeBlob({body:r,client:e,request:t,socket:E,contentLength:m,header:I,expectsPayload:d})}}else if(a.isStream(r)){writeStream({body:r,client:e,request:t,socket:E,contentLength:m,header:I,expectsPayload:d})}else if(a.isIterable(r)){writeIterable({body:r,client:e,request:t,socket:E,contentLength:m,header:I,expectsPayload:d})}else{s(false)}return true}function writeH2(e,t,r){const{body:n,method:o,path:i,host:A,upgrade:l,expectContinue:p,signal:d,headers:h}=r;let m;if(typeof h==="string")m=c[Ee](h.trim());else m=h;if(l){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 E;const I=e[fe];m[Be]=A||e[ge];m[Qe]=o;if(o==="CONNECT"){t.ref();E=t.request(m,{endStream:false,signal:d});if(E.id&&!E.pending){r.onUpgrade(null,null,E);++I.openStreams}else{E.once("ready",(()=>{r.onUpgrade(null,null,E);++I.openStreams}))}E.once("close",(()=>{I.openStreams-=1;if(I.openStreams===0)t.unref()}));return true}m[be]=i;m[ye]="https";const B=o==="PUT"||o==="POST"||o==="PATCH";if(n&&typeof n.read==="function"){n.read(0)}let Q=a.bodyLength(n);if(Q==null){Q=r.contentLength}if(Q===0||!B){Q=null}if(shouldSendContentLength(o)&&Q>0&&r.contentLength!=null&&r.contentLength!==Q){if(e[re]){errorRequest(e,r,new u);return false}process.emitWarning(new u)}if(Q!=null){s(n,"no body must not have content length");m[ve]=`${Q}`}t.ref();const b=o==="GET"||o==="HEAD";if(p){m[we]="100-continue";E=t.request(m,{endStream:b,signal:d});E.once("continue",writeBodyH2)}else{E=t.request(m,{endStream:b,signal:d});writeBodyH2()}++I.openStreams;E.once("response",(e=>{const{[xe]:t,...s}=e;if(r.onHeaders(Number(t),s,E.resume.bind(E),"")===false){E.pause()}}));E.once("end",(()=>{r.onComplete([])}));E.on("data",(e=>{if(r.onData(e)===false){E.pause()}}));E.once("close",(()=>{I.openStreams-=1;if(I.openStreams===0){t.unref()}}));E.once("error",(function(t){if(e[he]&&!e[he].destroyed&&!this.closed&&!this.destroyed){I.streams-=1;a.destroy(E,t)}}));E.once("frameError",((t,s)=>{const n=new C(`HTTP/2: "frameError" received - type ${t}, code ${s}`);errorRequest(e,r,n);if(e[he]&&!e[he].destroyed&&!this.closed&&!this.destroyed){I.streams-=1;a.destroy(E,n)}}));return true;function writeBodyH2(){if(!n){r.onRequestSent()}else if(a.isBuffer(n)){s(Q===n.byteLength,"buffer body must have content length");E.cork();E.write(n);E.uncork();E.end();r.onBodySent(n);r.onRequestSent()}else if(a.isBlobLike(n)){if(typeof n.stream==="function"){writeIterable({client:e,request:r,contentLength:Q,h2stream:E,expectsPayload:B,body:n.stream(),socket:e[Z],header:""})}else{writeBlob({body:n,client:e,request:r,contentLength:Q,expectsPayload:B,h2stream:E,header:"",socket:e[Z]})}}else if(a.isStream(n)){writeStream({body:n,client:e,request:r,contentLength:Q,expectsPayload:B,socket:e[Z],h2stream:E,header:""})}else if(a.isIterable(n)){writeIterable({body:n,client:e,request:r,contentLength:Q,expectsPayload:B,header:"",h2stream:E,socket:e[Z]})}else{s(false)}}}function writeStream({h2stream:e,body:t,client:r,request:n,socket:o,contentLength:A,header:c,expectsPayload:l}){s(A!==0||r[F]===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{n.onRequestSent()}}));d.on("data",onPipeData);d.once("end",(()=>{d.removeListener("data",onPipeData);a.destroy(d)}));function onPipeData(e){n.onBodySent(e)}return}let u=false;const p=new AsyncWriter({socket:o,request:n,contentLength:A,client:r,expectsPayload:l,header:c});const onData=function(e){if(u){return}try{if(!p.write(e)&&this.pause){this.pause()}}catch(e){a.destroy(this,e)}};const onDrain=function(){if(u){return}if(t.resume){t.resume()}};const onAbort=function(){if(u){return}const e=new g;queueMicrotask((()=>onFinished(e)))};const onFinished=function(e){if(u){return}u=true;s(o.destroyed||o[O]&&r[F]<=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:n,socket:o,contentLength:i,header:A,expectsPayload:c}){s(i===t.size,"blob body must have content length");const l=r[de]==="h2";try{if(i!=null&&i!==t.size){throw new u}const s=Buffer.from(await t.arrayBuffer());if(l){e.cork();e.write(s);e.uncork()}else{o.cork();o.write(`${A}content-length: ${i}\r\n\r\n`,"latin1");o.write(s);o.uncork()}n.onBodySent(s);n.onRequestSent();if(!c){o[w]=true}resume(r)}catch(t){a.destroy(l?e:o,t)}}async function writeIterable({h2stream:e,body:t,client:r,request:n,socket:o,contentLength:i,header:a,expectsPayload:A}){s(i!==0||r[F]===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)=>{s(c===null);if(o[q]){t(o[q])}else{c=e}}));if(r[de]==="h2"){e.on("close",onDrain).on("drain",onDrain);try{for await(const r of t){if(o[q]){throw o[q]}const t=e.write(r);n.onBodySent(r);if(!t){await waitForDrain()}}}catch(t){e.destroy(t)}finally{n.onRequestSent();e.end();e.off("close",onDrain).off("drain",onDrain)}return}o.on("close",onDrain).on("drain",onDrain);const l=new AsyncWriter({socket:o,request:n,contentLength:i,client:r,expectsPayload:A,header:a});try{for await(const e of t){if(o[q]){throw o[q]}if(!l.write(e)){await waitForDrain()}}l.end()}catch(e){l.destroy(e)}finally{o.off("close",onDrain).off("drain",onDrain)}}class AsyncWriter{constructor({socket:e,request:t,contentLength:r,client:s,expectsPayload:n,header:o}){this.socket=e;this.request=t;this.contentLength=r;this.client=s;this.bytesWritten=0;this.expectsPayload=n;this.header=o;e[O]=true}write(e){const{socket:t,request:r,contentLength:s,client:n,bytesWritten:o,expectsPayload:i,header:a}=this;if(t[q]){throw t[q]}if(t.destroyed){return false}const A=Buffer.byteLength(e);if(!A){return true}if(s!==null&&o+A>s){if(n[re]){throw new u}process.emitWarning(new u)}t.cork();if(o===0){if(!i){t[w]=true}if(s===null){t.write(`${a}transfer-encoding: chunked\r\n`,"latin1")}else{t.write(`${a}content-length: ${s}\r\n\r\n`,"latin1")}}if(s===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[S].timeout&&t[S].timeoutType===Ge){if(t[S].timeout.refresh){t[S].timeout.refresh()}}}return c}end(){const{socket:e,contentLength:t,client:r,bytesWritten:s,expectsPayload:n,header:o,request:i}=this;i.onRequestSent();e[O]=false;if(e[q]){throw e[q]}if(e.destroyed){return}if(s===0){if(n){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&&s!==t){if(r[re]){throw new u}else{process.emitWarning(new u)}}if(e[S].timeout&&e[S].timeoutType===Ge){if(e[S].timeout.refresh){e[S].timeout.refresh()}}resume(r)}destroy(e){const{socket:t,client:r}=this;t[O]=false;if(e){s(r[F]<=1,"pipeline should only contain this request");a.destroy(t,e)}}}function errorRequest(e,t,r){try{t.onError(r);s(t.aborted)}catch(r){e.emit("error",r)}}e.exports=Client},5285:(e,t,r)=>{"use strict";const{kConnected:s,kSize:n}=r(3932);class CompatWeakRef{constructor(e){this.value=e}deref(){return this.value[s]===0&&this.value[n]===0?undefined:this.value}}class CompatFinalizer{constructor(e){this.finalizer=e}register(e,t){if(e.on){e.on("disconnect",(()=>{if(e[s]===0&&e[n]===0){this.finalizer(t)}}))}}}e.exports=function(){if(process.env.NODE_V8_COVERAGE){return{WeakRef:CompatWeakRef,FinalizationRegistry:CompatFinalizer}}return{WeakRef:global.WeakRef||CompatWeakRef,FinalizationRegistry:global.FinalizationRegistry||CompatFinalizer}}},3598:e=>{"use strict";const t=1024;const r=4096;e.exports={maxAttributeValueSize:t,maxNameValuePairSize:r}},9738:(e,t,r)=>{"use strict";const{parseSetCookie:s}=r(8367);const{stringify:n,getHeadersList:o}=r(7576);const{webidl:i}=r(9111);const{Headers:a}=r(1855);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,...s]=e.split("=");r[t.trim()]=s.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=>s(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=n(t);if(r){e.append("Set-Cookie",n(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}},8367:(e,t,r)=>{"use strict";const{maxNameValuePairSize:s,maxAttributeValueSize:n}=r(3598);const{isCTLExcludingHtab:o}=r(7576);const{collectASequenceOfCodePointsFast:i}=r(5958);const a=r(9491);function parseSetCookie(e){if(o(e)){return null}let t="";let r="";let n="";let a="";if(e.includes(";")){const s={position:0};t=i(";",e,s);r=e.slice(s.position)}else{t=e}if(!t.includes("=")){a=t}else{const e={position:0};n=i("=",t,e);a=t.slice(e.position+1)}n=n.trim();a=a.trim();if(n.length+a.length>s){return null}return{name:n,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 s="";let o="";if(r.includes("=")){const e={position:0};s=i("=",r,e);o=r.slice(e.position+1)}else{s=r}s=s.trim();o=o.trim();if(o.length>n){return parseUnparsedAttributes(e,t)}const A=s.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 s=Number(o);t.maxAge=s}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(`${s}=${o}`)}return parseUnparsedAttributes(e,t)}e.exports={parseSetCookie:parseSetCookie,parseUnparsedAttributes:parseUnparsedAttributes}},7576:(e,t,r)=>{"use strict";const s=r(9491);const{kHeadersList:n}=r(3932);function isCTLExcludingHtab(e){if(e.length===0){return false}for(const t of e){const e=t.charCodeAt(0);if(e>=0||e<=8||(e>=10||e<=31)||e===127){return false}}}function validateCookieName(e){for(const t of e){const e=t.charCodeAt(0);if(e<=32||e>127||t==="("||t===")"||t===">"||t==="<"||t==="@"||t===","||t===";"||t===":"||t==="\\"||t==='"'||t==="/"||t==="["||t==="]"||t==="?"||t==="="||t==="{"||t==="}"){throw new Error("Invalid cookie name")}}}function validateCookieValue(e){for(const t of e){const e=t.charCodeAt(0);if(e<33||e===34||e===44||e===59||e===92||e>126){throw new Error("Invalid header value")}}}function validateCookiePath(e){for(const t of e){const e=t.charCodeAt(0);if(e<33||t===";"){throw new Error("Invalid cookie path")}}}function validateCookieDomain(e){if(e.startsWith("-")||e.endsWith(".")||e.endsWith("-")){throw new Error("Invalid cookie domain")}}function toIMFDate(e){if(typeof e==="number"){e=new Date(e)}const t=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];const r=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];const s=t[e.getUTCDay()];const n=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`${s}, ${n} ${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,...s]=r.split("=");t.push(`${e.trim()}=${s.join("=")}`)}return t.join("; ")}let o;function getHeadersList(e){if(e[n]){return e[n]}if(!o){o=Object.getOwnPropertySymbols(e).find((e=>e.description==="headers list"));s(o,"Headers cannot be parsed")}const t=e[o];s(t);return t}e.exports={isCTLExcludingHtab:isCTLExcludingHtab,stringify:stringify,getHeadersList:getHeadersList}},9218:(e,t,r)=>{"use strict";const s=r(1808);const n=r(9491);const o=r(7497);const{InvalidArgumentError:i,ConnectTimeoutError:a}=r(2366);let A;let c;if(global.FinalizationRegistry&&!process.env.NODE_V8_COVERAGE){c=class WeakSessionCache{constructor(e){this._maxCachedSessions=e;this._sessionCache=new Map;this._sessionRegistry=new global.FinalizationRegistry((e=>{if(this._sessionCache.size=this._maxCachedSessions){const{value:e}=this._sessionCache.keys().next();this._sessionCache.delete(e)}this._sessionCache.set(e,t)}}}function buildConnector({allowH2:e,maxCachedSessions:t,socketPath:a,timeout:l,...u}){if(t!=null&&(!Number.isInteger(t)||t<0)){throw new i("maxCachedSessions must be a positive integer or zero")}const p={path:a,...u};const d=new c(t==null?100:t);l=l==null?1e4:l;e=e!=null?e:false;return function connect({hostname:t,host:i,protocol:a,port:c,servername:u,localAddress:g,httpSocket:h},m){let E;if(a==="https:"){if(!A){A=r(4404)}u=u||p.servername||o.getServerName(i)||null;const s=u||t;const a=d.get(s)||null;n(s);E=A.connect({highWaterMark:16384,...p,servername:u,session:a,localAddress:g,ALPNProtocols:e?["http/1.1","h2"]:["http/1.1"],socket:h,port:c||443,host:t});E.on("session",(function(e){d.set(s,e)}))}else{n(!h,"httpSocket can only be sent on TLS update");E=s.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;E.setKeepAlive(true,e)}const C=setupTimeout((()=>onConnectTimeout(E)),l);E.setNoDelay(true).once(a==="https:"?"secureConnect":"connect",(function(){C();if(m){const e=m;m=null;e(null,this)}})).on("error",(function(e){C();if(m){const t=m;m=null;t(e)}}));return E}}function setupTimeout(e,t){if(!t){return()=>{}}let r=null;let s=null;const n=setTimeout((()=>{r=setImmediate((()=>{if(process.platform==="win32"){s=setImmediate((()=>e()))}else{e()}}))}),t);return()=>{clearTimeout(n);clearImmediate(r);clearImmediate(s)}}function onConnectTimeout(e){o.destroy(e,new a)}e.exports=buildConnector},2366:e=>{"use strict";class UndiciError extends Error{constructor(e){super(e);this.name="UndiciError";this.code="UND_ERR"}}class ConnectTimeoutError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,ConnectTimeoutError);this.name="ConnectTimeoutError";this.message=e||"Connect Timeout Error";this.code="UND_ERR_CONNECT_TIMEOUT"}}class HeadersTimeoutError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,HeadersTimeoutError);this.name="HeadersTimeoutError";this.message=e||"Headers Timeout Error";this.code="UND_ERR_HEADERS_TIMEOUT"}}class HeadersOverflowError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,HeadersOverflowError);this.name="HeadersOverflowError";this.message=e||"Headers Overflow Error";this.code="UND_ERR_HEADERS_OVERFLOW"}}class BodyTimeoutError extends UndiciError{constructor(e){super(e);Error.captureStackTrace(this,BodyTimeoutError);this.name="BodyTimeoutError";this.message=e||"Body Timeout Error";this.code="UND_ERR_BODY_TIMEOUT"}}class ResponseStatusCodeError extends UndiciError{constructor(e,t,r,s){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=s;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:s}){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=s;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}},3404:(e,t,r)=>{"use strict";const{InvalidArgumentError:s,NotSupportedError:n}=r(2366);const o=r(9491);const{kHTTP2BuildRequest:i,kHTTP2CopyHeaders:a,kHTTP1BuildRequest:A}=r(3932);const c=r(7497);const l=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/;const u=/[^\t\x20-\x7e\x80-\xff]/;const p=/[^\u0021-\u00ff]/;const d=Symbol("handler");const g={};let h;try{const e=r(7643);g.create=e.channel("undici:request:create");g.bodySent=e.channel("undici:request:bodySent");g.headers=e.channel("undici:request:headers");g.trailers=e.channel("undici:request:trailers");g.error=e.channel("undici:request:error")}catch{g.create={hasSubscribers:false};g.bodySent={hasSubscribers:false};g.headers={hasSubscribers:false};g.trailers={hasSubscribers:false};g.error={hasSubscribers:false}}class Request{constructor(e,{path:t,method:n,body:o,headers:i,query:a,idempotent:A,blocking:u,upgrade:m,headersTimeout:E,bodyTimeout:C,reset:I,throwOnError:B,expectContinue:Q},b){if(typeof t!=="string"){throw new s("path must be a string")}else if(t[0]!=="/"&&!(t.startsWith("http://")||t.startsWith("https://"))&&n!=="CONNECT"){throw new s("path must be an absolute URL or start with a slash")}else if(p.exec(t)!==null){throw new s("invalid request path")}if(typeof n!=="string"){throw new s("method must be a string")}else if(l.exec(n)===null){throw new s("invalid request method")}if(m&&typeof m!=="string"){throw new s("upgrade must be a string")}if(E!=null&&(!Number.isFinite(E)||E<0)){throw new s("invalid headersTimeout")}if(C!=null&&(!Number.isFinite(C)||C<0)){throw new s("invalid bodyTimeout")}if(I!=null&&typeof I!=="boolean"){throw new s("invalid reset")}if(Q!=null&&typeof Q!=="boolean"){throw new s("invalid expectContinue")}this.headersTimeout=E;this.bodyTimeout=C;this.throwOnError=B===true;this.method=n;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 s("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable")}this.completed=false;this.aborted=false;this.upgrade=m||null;this.path=a?c.buildURL(t,a):t;this.origin=e;this.idempotent=A==null?n==="HEAD"||n==="GET":A;this.blocking=u==null?false:u;this.reset=I==null?null:I;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 s("headers array must be even")}for(let e=0;e{e.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kHeadersList:Symbol("headers list"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kInterceptors:Symbol("dispatch interceptors"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kHTTP2BuildRequest:Symbol("http2 build request"),kHTTP1BuildRequest:Symbol("http1 build request"),kHTTP2CopyHeaders:Symbol("http2 copy headers"),kHTTPConnVersion:Symbol("http connection version"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable")}},7497:(e,t,r)=>{"use strict";const s=r(9491);const{kDestroyed:n,kBodyUsed:o}=r(3932);const{IncomingMessage:i}=r(3685);const a=r(2781);const A=r(1808);const{InvalidArgumentError:c}=r(2366);const{Blob:l}=r(4300);const u=r(3837);const{stringify:p}=r(3477);const[d,g]=process.versions.node.split(".").map((e=>Number(e)));function nop(){}function isStream(e){return e&&typeof e==="object"&&typeof e.pipe==="function"&&typeof e.on==="function"}function isBlobLike(e){return l&&e instanceof l||e&&typeof e==="object"&&(typeof e.stream==="function"||typeof e.arrayBuffer==="function")&&/^(Blob|File)$/.test(e[Symbol.toStringTag])}function buildURL(e,t){if(e.includes("?")||e.includes("#")){throw new Error('Query params cannot be passed when url already contains "?" or "#".')}const 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 s=e.path!=null?e.path:`${e.pathname||""}${e.search||""}`;if(r.endsWith("/")){r=r.substring(0,r.length-1)}if(s&&!s.startsWith("/")){s=`/${s}`}e=new URL(r+s)}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("]");s(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}s.strictEqual(typeof e,"string");const t=getHostname(e);if(A.isIP(t)){return""}return t}function deepClone(e){return JSON.parse(JSON.stringify(e))}function isAsyncIterable(e){return!!(e!=null&&typeof e[Symbol.asyncIterator]==="function")}function isIterable(e){return!!(e!=null&&(typeof e[Symbol.iterator]==="function"||typeof e[Symbol.asyncIterator]==="function"))}function bodyLength(e){if(e==null){return 0}else if(isStream(e)){const t=e._readableState;return t&&t.objectMode===false&&t.ended===true&&Number.isFinite(t.length)?t.length:null}else if(isBlobLike(e)){return e.size!=null?e.size:null}else if(isBuffer(e)){return e.byteLength}return null}function isDestroyed(e){return!e||!!(e.destroyed||e[n])}function isReadableAborted(e){const t=e&&e._readableState;return isDestroyed(e)&&t&&!t.endEmitted}function destroy(e,t){if(e==null||!isStream(e)||isDestroyed(e)){return}if(typeof e.destroy==="function"){if(Object.getPrototypeOf(e).constructor===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[n]=true}}const h=/timeout=(\d+)/;function parseKeepAliveTimeout(e){const t=e.toString().match(h);return t?parseInt(t[1],10)*1e3:null}function parseHeaders(e,t={}){if(!Array.isArray(e))return e;for(let r=0;re.toString("utf8")))}else{t[s]=e[r+1].toString("utf8")}}else{if(!Array.isArray(n)){n=[n];t[s]=n}n.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 s=-1;for(let n=0;n{e.close()}))}else{const t=Buffer.isBuffer(s)?s:Buffer.from(s);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 E=!!String.prototype.toWellFormed;function toUSVString(e){if(E){return`${e}`.toWellFormed()}else if(u.toUSVString){return u.toUSVString(e)}return`${e}`}function parseRangeHeader(e){if(e==null||e==="")return{start:0,end:null,size:null};const t=e?e.match(/^bytes (\d+)-(\d+)\/(\d+)?$/):null;return t?{start:parseInt(t[1]),end:t[2]?parseInt(t[2]):null,size:t[3]?parseInt(t[3]):null}:null}const C=Object.create(null);C.enumerable=true;e.exports={kEnumerableProperty:C,nop:nop,isDisturbed:isDisturbed,isErrored:isErrored,isReadable:isReadable,toUSVString:toUSVString,isReadableAborted:isReadableAborted,isBlobLike:isBlobLike,parseOrigin:parseOrigin,parseURL:parseURL,getServerName:getServerName,isStream:isStream,isIterable:isIterable,isAsyncIterable:isAsyncIterable,isDestroyed:isDestroyed,parseRawHeaders:parseRawHeaders,parseHeaders:parseHeaders,parseKeepAliveTimeout:parseKeepAliveTimeout,destroy:destroy,bodyLength:bodyLength,deepClone:deepClone,ReadableStreamFrom:ReadableStreamFrom,isBuffer:isBuffer,validateHandler:validateHandler,getSocketInfo:getSocketInfo,isFormDataLike:isFormDataLike,buildURL:buildURL,throwIfAborted:throwIfAborted,addAbortListener:addAbortListener,parseRangeHeader:parseRangeHeader,nodeMajor:d,nodeMinor:g,nodeHasAutoSelectFamily:d>18||d===18&&g>=13,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"]}},8757:(e,t,r)=>{"use strict";const s=r(8648);const{ClientDestroyedError:n,ClientClosedError:o,InvalidArgumentError:i}=r(2366);const{kDestroy:a,kClose:A,kDispatch:c,kInterceptors:l}=r(3932);const u=Symbol("destroyed");const p=Symbol("closed");const d=Symbol("onDestroyed");const g=Symbol("onClosed");const h=Symbol("Intercepted Dispatch");class DispatcherBase extends s{constructor(){super();this[u]=false;this[d]=null;this[p]=false;this[g]=[]}get destroyed(){return this[u]}get closed(){return this[p]}get interceptors(){return this[l]}set interceptors(e){if(e){for(let t=e.length-1;t>=0;t--){const e=this[l][t];if(typeof e!=="function"){throw new i("interceptor must be an function")}}}this[l]=e}close(e){if(e===undefined){return new Promise(((e,t)=>{this.close(((r,s)=>r?t(r):e(s)))}))}if(typeof e!=="function"){throw new i("invalid callback")}if(this[u]){queueMicrotask((()=>e(new n,null)));return}if(this[p]){if(this[g]){this[g].push(e)}else{queueMicrotask((()=>e(null,null)))}return}this[p]=true;this[g].push(e);const onClosed=()=>{const e=this[g];this[g]=null;for(let t=0;tthis.destroy())).then((()=>{queueMicrotask(onClosed)}))}destroy(e,t){if(typeof e==="function"){t=e;e=null}if(t===undefined){return new Promise(((t,r)=>{this.destroy(e,((e,s)=>e?r(e):t(s)))}))}if(typeof t!=="function"){throw new i("invalid callback")}if(this[u]){if(this[d]){this[d].push(t)}else{queueMicrotask((()=>t(null,null)))}return}if(!e){e=new n}this[u]=true;this[d]=this[d]||[];this[d].push(t);const onDestroyed=()=>{const e=this[d];this[d]=null;for(let t=0;t{queueMicrotask(onDestroyed)}))}[h](e,t){if(!this[l]||this[l].length===0){this[h]=this[c];return this[c](e,t)}let r=this[c].bind(this);for(let e=this[l].length-1;e>=0;e--){r=this[l][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[u]||this[d]){throw new n}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},8648:(e,t,r)=>{"use strict";const s=r(2361);class Dispatcher extends s{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}}e.exports=Dispatcher},1226:(e,t,r)=>{"use strict";const s=r(7455);const n=r(7497);const{ReadableStreamFrom:o,isBlobLike:i,isReadableStreamLike:a,readableStreamClose:A,createDeferredPromise:c,fullyReadBody:l}=r(5496);const{FormData:u}=r(9425);const{kState:p}=r(5376);const{webidl:d}=r(9111);const{DOMException:g,structuredClone:h}=r(7533);const{Blob:m,File:E}=r(4300);const{kBodyUsed:C}=r(3932);const I=r(9491);const{isErrored:B}=r(7497);const{isUint8Array:Q,isArrayBuffer:b}=r(9830);const{File:y}=r(5506);const{parseMIMEType:v,serializeAMimeType:w}=r(5958);let x=globalThis.ReadableStream;const k=E??y;const R=new TextEncoder;const S=new TextDecoder;function extractBody(e,t=false){if(!x){x=r(5356).ReadableStream}let s=null;if(e instanceof x){s=e}else if(i(e)){s=e.stream()}else{s=new x({async pull(e){e.enqueue(typeof l==="string"?R.encode(l):l);queueMicrotask((()=>A(e)))},start(){},type:undefined})}I(a(s));let c=null;let l=null;let u=null;let p=null;if(typeof e==="string"){l=e;p="text/plain;charset=UTF-8"}else if(e instanceof URLSearchParams){l=e.toString();p="application/x-www-form-urlencoded;charset=UTF-8"}else if(b(e)){l=new Uint8Array(e.slice())}else if(ArrayBuffer.isView(e)){l=new Uint8Array(e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength))}else if(n.isFormDataLike(e)){const t=`----formdata-undici-0${`${Math.floor(Math.random()*1e11)}`.padStart(11,"0")}`;const 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 s=[];const n=new Uint8Array([13,10]);u=0;let o=false;for(const[t,i]of e){if(typeof i==="string"){const e=R.encode(r+`; name="${escape(normalizeLinefeeds(t))}"`+`\r\n\r\n${normalizeLinefeeds(i)}\r\n`);s.push(e);u+=e.byteLength}else{const e=R.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`);s.push(e,i,n);if(typeof i.size==="number"){u+=e.byteLength+i.size+n.byteLength}else{o=true}}}const i=R.encode(`--${t}--`);s.push(i);u+=i.byteLength;if(o){u=null}l=e;c=async function*(){for(const e of s){if(e.stream){yield*e.stream()}else{yield e}}};p="multipart/form-data; boundary="+t}else if(i(e)){l=e;u=e.size;if(e.type){p=e.type}}else if(typeof e[Symbol.asyncIterator]==="function"){if(t){throw new TypeError("keepalive")}if(n.isDisturbed(e)||e.locked){throw new TypeError("Response body object should not be disturbed or locked")}s=e instanceof x?e:o(e)}if(typeof l==="string"||n.isBuffer(l)){u=Buffer.byteLength(l)}if(c!=null){let t;s=new x({async start(){t=c(e)[Symbol.asyncIterator]()},async pull(e){const{value:r,done:n}=await t.next();if(n){queueMicrotask((()=>{e.close()}))}else{if(!B(s)){e.enqueue(new Uint8Array(r))}}return e.desiredSize>0},async cancel(e){await t.return()},type:undefined})}const d={stream:s,source:l,length:u};return[d,p]}function safelyExtractBody(e,t=false){if(!x){x=r(5356).ReadableStream}if(e instanceof x){I(!n.isDisturbed(e),"The body has already been consumed.");I(!e.locked,"The stream is locked.")}return extractBody(e,t)}function cloneBody(e){const[t,r]=e.stream.tee();const s=h(r,{transfer:[r]});const[,n]=s.tee();e.stream=t;return{stream:n,length:e.length,source:e.source}}async function*consumeBody(e){if(e){if(Q(e)){yield e}else{const t=e.stream;if(n.isDisturbed(t)){throw new TypeError("The body has already been consumed.")}if(t.locked){throw new TypeError("The stream is locked.")}t[C]=true;yield*t}}}function throwIfAborted(e){if(e.aborted){throw new g("The operation was aborted.","AbortError")}}function bodyMixinMethods(e){const t={blob(){return specConsumeBody(this,(e=>{let t=bodyMimeType(this);if(t==="failure"){t=""}else if(t){t=w(t)}return new m([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 u;let r;try{r=new s({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,s,n,o)=>{const i=[];if(n==="base64"||n.toLowerCase()==="base64"){let n="";r.on("data",(e=>{n+=e.toString().replace(/[\r\n]/gm,"");const t=n.length-n.length%4;i.push(Buffer.from(n.slice(0,t),"base64"));n=n.slice(t)}));r.on("end",(()=>{i.push(Buffer.from(n,"base64"));t.append(e,new k(i,s,{type:o}))}))}else{r.on("data",(e=>{i.push(e)}));r.on("end",(()=>{t.append(e,new k(i,s,{type:o}))}))}}));const n=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 n;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 u;for(const[r,s]of e){t.append(r,s)}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 s=c();const errorSteps=e=>s.reject(e);const successSteps=e=>{try{s.resolve(t(e))}catch(e){errorSteps(e)}};if(e[p].body==null){successSteps(new Uint8Array);return s.promise}await l(e[p].body,successSteps,errorSteps);return s.promise}function bodyUnusable(e){return e!=null&&(e.stream.locked||n.isDisturbed(e.stream))}function utf8DecodeBytes(e){if(e.length===0){return""}if(e[0]===239&&e[1]===187&&e[2]===191){e=e.subarray(3)}const t=S.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 v(r)}e.exports={extractBody:extractBody,safelyExtractBody:safelyExtractBody,cloneBody:cloneBody,mixinBody:mixinBody}},7533:(e,t,r)=>{"use strict";const{MessageChannel:s,receiveMessageOnPort:n}=r(1267);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 l=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","5060","5061","6000","6566","6665","6666","6667","6668","6669","6697","10080"];const u=new Set(l);const p=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"];const d=new Set(p);const g=["follow","manual","error"];const h=["GET","HEAD","OPTIONS","TRACE"];const m=new Set(h);const E=["navigate","same-origin","no-cors","cors"];const C=["omit","same-origin","include"];const I=["default","no-store","reload","no-cache","force-cache","only-if-cached"];const B=["content-encoding","content-language","content-location","content-type","content-length"];const Q=["half"];const b=["CONNECT","TRACE","TRACK"];const y=new Set(b);const v=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""];const w=new Set(v);const x=globalThis.DOMException??(()=>{try{atob("~")}catch(e){return Object.getPrototypeOf(e).constructor}})();let k;const R=globalThis.structuredClone??function structuredClone(e,t=undefined){if(arguments.length===0){throw new TypeError("missing argument")}if(!k){k=new s}k.port1.unref();k.port2.unref();k.port1.postMessage(e,t?.transfer);return n(k.port2).message};e.exports={DOMException:x,structuredClone:R,subresource:v,forbiddenMethods:b,requestBodyHeader:B,referrerPolicy:p,requestRedirect:g,requestMode:E,requestCredentials:C,requestCache:I,redirectStatus:A,corsSafeListedMethods:o,nullBodyStatus:a,safeMethods:h,badPorts:l,requestDuplex:Q,subresourceSet:w,badPortsSet:u,redirectStatusSet:c,corsSafeListedMethodsSet:i,safeMethodsSet:m,forbiddenMethodsSet:y,referrerPolicySet:d}},5958:(e,t,r)=>{const s=r(9491);const{atob:n}=r(4300);const{isomorphicDecode:o}=r(5496);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){s(e.protocol==="data:");let t=URLSerializer(e,true);t=t.slice(5);const r={position:0};let n=collectASequenceOfCodePointsFast(",",t,r);const i=n.length;n=removeASCIIWhitespace(n,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(n)){const e=o(A);A=forgivingBase64(e);if(A==="failure"){return"failure"}n=n.slice(0,-6);n=n.replace(/(\u0020)+$/,"");n=n.slice(0,-1)}if(n.startsWith(";")){n="text/plain"+n}let c=parseMIMEType(n);if(c==="failure"){c=parseMIMEType("text/plain;charset=US-ASCII")}return{mimeType:c,body:A}}function URLSerializer(e,t=false){if(!t){return e.href}const r=e.href;const s=e.hash.length;return s===0?r:r.substring(0,r.length-s)}function collectASequenceOfCodePoints(e,t,r){let s="";while(r.positione.length){return"failure"}t.position++;let s=collectASequenceOfCodePointsFast(";",e,t);s=removeHTTPWhitespace(s,false,true);if(s.length===0||!a.test(s)){return"failure"}const n=r.toLowerCase();const o=s.toLowerCase();const i={type:n,subtype:o,parameters:new Map,essence:`${n}/${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 s=null;if(e[t.position]==='"'){s=collectAnHTTPQuotedString(e,t,true);collectASequenceOfCodePointsFast(";",e,t)}else{s=collectASequenceOfCodePointsFast(";",e,t);s=removeHTTPWhitespace(s,false,true);if(s.length===0){continue}}if(r.length!==0&&a.test(r)&&(s.length===0||c.test(s))&&!i.parameters.has(r)){i.parameters.set(r,s)}}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=n(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{s(r==='"');break}}if(r){return o}return e.slice(n,t.position)}function serializeAMimeType(e){s(e!=="failure");const{parameters:t,essence:r}=e;let n=r;for(let[e,r]of t.entries()){n+=";";n+=e;n+="=";if(!a.test(r)){r=r.replace(/(\\|")/g,"\\$1");r='"'+r;r+='"'}n+=r}return n}function isHTTPWhiteSpace(e){return e==="\r"||e==="\n"||e==="\t"||e===" "}function removeHTTPWhitespace(e,t=true,r=true){let s=0;let n=e.length-1;if(t){for(;s0&&isHTTPWhiteSpace(e[n]);n--);}return e.slice(s,n+1)}function isASCIIWhitespace(e){return e==="\r"||e==="\n"||e==="\t"||e==="\f"||e===" "}function removeASCIIWhitespace(e,t=true,r=true){let s=0;let n=e.length-1;if(t){for(;s0&&isASCIIWhitespace(e[n]);n--);}return e.slice(s,n+1)}e.exports={dataURLProcessor:dataURLProcessor,URLSerializer:URLSerializer,collectASequenceOfCodePoints:collectASequenceOfCodePoints,collectASequenceOfCodePointsFast:collectASequenceOfCodePointsFast,stringPercentDecode:stringPercentDecode,parseMIMEType:parseMIMEType,collectAnHTTPQuotedString:collectAnHTTPQuotedString,serializeAMimeType:serializeAMimeType}},5506:(e,t,r)=>{"use strict";const{Blob:s,File:n}=r(4300);const{types:o}=r(3837);const{kState:i}=r(5376);const{isBlobLike:a}=r(5496);const{webidl:A}=r(9111);const{parseMIMEType:c,serializeAMimeType:l}=r(5958);const{kEnumerableProperty:u}=r(7497);const p=new TextEncoder;class File extends s{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 s=t;let n=r.type;let o;e:{if(n){n=c(n);if(n==="failure"){n="";break e}n=l(n).toLowerCase()}o=r.lastModified}super(processBlobParts(e,r),{type:n});this[i]={name:s,lastModified:o,type:n}}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 s=t;const n=r.type;const o=r.lastModified??Date.now();this[i]={blobLike:e,name:s,type:n,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:u,lastModified:u});A.converters.Blob=A.interfaceConverter(s);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 s of e){if(typeof s==="string"){let e=s;if(t.endings==="native"){e=convertLineEndingsNative(e)}r.push(p.encode(e))}else if(o.isAnyArrayBuffer(s)||o.isTypedArray(s)){if(!s.buffer){r.push(new Uint8Array(s))}else{r.push(new Uint8Array(s.buffer,s.byteOffset,s.byteLength))}}else if(a(s)){r.push(s)}}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 n&&e instanceof n||e instanceof File||e&&(typeof e.stream==="function"||typeof e.arrayBuffer==="function")&&e[Symbol.toStringTag]==="File"}e.exports={File:File,FileLike:FileLike,isFileLike:isFileLike}},9425:(e,t,r)=>{"use strict";const{isBlobLike:s,toUSVString:n,makeIterator:o}=r(5496);const{kState:i}=r(5376);const{File:a,FileLike:A,isFileLike:c}=r(5506);const{webidl:l}=r(9111);const{Blob:u,File:p}=r(4300);const d=p??a;class FormData{constructor(e){if(e!==undefined){throw l.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}this[i]=[]}append(e,t,r=undefined){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,2,{header:"FormData.append"});if(arguments.length===3&&!s(t)){throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'")}e=l.converters.USVString(e);t=s(t)?l.converters.Blob(t,{strict:false}):l.converters.USVString(t);r=arguments.length===3?l.converters.USVString(r):undefined;const n=makeEntry(e,t,r);this[i].push(n)}delete(e){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,1,{header:"FormData.delete"});e=l.converters.USVString(e);this[i]=this[i].filter((t=>t.name!==e))}get(e){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,1,{header:"FormData.get"});e=l.converters.USVString(e);const t=this[i].findIndex((t=>t.name===e));if(t===-1){return null}return this[i][t].value}getAll(e){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,1,{header:"FormData.getAll"});e=l.converters.USVString(e);return this[i].filter((t=>t.name===e)).map((e=>e.value))}has(e){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,1,{header:"FormData.has"});e=l.converters.USVString(e);return this[i].findIndex((t=>t.name===e))!==-1}set(e,t,r=undefined){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,2,{header:"FormData.set"});if(arguments.length===3&&!s(t)){throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'")}e=l.converters.USVString(e);t=s(t)?l.converters.Blob(t,{strict:false}):l.converters.USVString(t);r=arguments.length===3?n(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(){l.brandCheck(this,FormData);return o((()=>this[i].map((e=>[e.name,e.value]))),"FormData","key+value")}keys(){l.brandCheck(this,FormData);return o((()=>this[i].map((e=>[e.name,e.value]))),"FormData","key")}values(){l.brandCheck(this,FormData);return o((()=>this[i].map((e=>[e.name,e.value]))),"FormData","value")}forEach(e,t=globalThis){l.brandCheck(this,FormData);l.argumentLengthCheck(arguments,1,{header:"FormData.forEach"});if(typeof e!=="function"){throw new TypeError("Failed to execute 'forEach' on 'FormData': parameter 1 is not of type 'Function'.")}for(const[r,s]of this){e.apply(t,[s,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 u?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}},7011:e=>{"use strict";const t=Symbol.for("undici.globalOrigin.1");function getGlobalOrigin(){return globalThis[t]}function setGlobalOrigin(e){if(e===undefined){Object.defineProperty(globalThis,t,{value:undefined,writable:true,enumerable:false,configurable:false});return}const 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}},1855:(e,t,r)=>{"use strict";const{kHeadersList:s,kConstruct:n}=r(3932);const{kGuard:o}=r(5376);const{kEnumerableProperty:i}=r(7497);const{makeIterator:a,isValidHeaderName:A,isValidHeaderValue:c}=r(5496);const{webidl:l}=r(9111);const u=r(9491);const p=Symbol("headers map");const d=Symbol("headers map sorted");function isHTTPWhiteSpaceCharCode(e){return e===10||e===13||e===9||e===32}function headerValueNormalize(e){let t=0;let 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 l.errors.invalidArgument({prefix:"Headers.append",value:t,type:"header name"})}else if(!c(r)){throw l.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[s].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 s=this[p].get(r);if(s){const e=r==="cookie"?"; ":", ";this[p].set(r,{name:s.name,value:`${s.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===n){return}this[s]=new HeadersList;this[o]="none";if(e!==undefined){e=l.converters.HeadersInit(e);fill(this,e)}}append(e,t){l.brandCheck(this,Headers);l.argumentLengthCheck(arguments,2,{header:"Headers.append"});e=l.converters.ByteString(e);t=l.converters.ByteString(t);return appendHeader(this,e,t)}delete(e){l.brandCheck(this,Headers);l.argumentLengthCheck(arguments,1,{header:"Headers.delete"});e=l.converters.ByteString(e);if(!A(e)){throw l.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"})}if(this[o]==="immutable"){throw new TypeError("immutable")}else if(this[o]==="request-no-cors"){}if(!this[s].contains(e)){return}this[s].delete(e)}get(e){l.brandCheck(this,Headers);l.argumentLengthCheck(arguments,1,{header:"Headers.get"});e=l.converters.ByteString(e);if(!A(e)){throw l.errors.invalidArgument({prefix:"Headers.get",value:e,type:"header name"})}return this[s].get(e)}has(e){l.brandCheck(this,Headers);l.argumentLengthCheck(arguments,1,{header:"Headers.has"});e=l.converters.ByteString(e);if(!A(e)){throw l.errors.invalidArgument({prefix:"Headers.has",value:e,type:"header name"})}return this[s].contains(e)}set(e,t){l.brandCheck(this,Headers);l.argumentLengthCheck(arguments,2,{header:"Headers.set"});e=l.converters.ByteString(e);t=l.converters.ByteString(t);t=headerValueNormalize(t);if(!A(e)){throw l.errors.invalidArgument({prefix:"Headers.set",value:e,type:"header name"})}else if(!c(t)){throw l.errors.invalidArgument({prefix:"Headers.set",value:t,type:"header value"})}if(this[o]==="immutable"){throw new TypeError("immutable")}else if(this[o]==="request-no-cors"){}this[s].set(e,t)}getSetCookie(){l.brandCheck(this,Headers);const e=this[s].cookies;if(e){return[...e]}return[]}get[d](){if(this[s][d]){return this[s][d]}const e=[];const t=[...this[s]].sort(((e,t)=>e[0]e),"Headers","key")}return a((()=>[...this[d].values()]),"Headers","key")}values(){l.brandCheck(this,Headers);if(this[o]==="immutable"){const e=this[d];return a((()=>e),"Headers","value")}return a((()=>[...this[d].values()]),"Headers","value")}entries(){l.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){l.brandCheck(this,Headers);l.argumentLengthCheck(arguments,1,{header:"Headers.forEach"});if(typeof e!=="function"){throw new TypeError("Failed to execute 'forEach' on 'Headers': parameter 1 is not of type 'Function'.")}for(const[r,s]of this){e.apply(t,[s,r,this])}}[Symbol.for("nodejs.util.inspect.custom")](){l.brandCheck(this,Headers);return this[s]}}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}});l.converters.HeadersInit=function(e){if(l.util.Type(e)==="Object"){if(e[Symbol.iterator]){return l.converters["sequence>"](e)}return l.converters["record"](e)}throw l.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})};e.exports={fill:fill,Headers:Headers,HeadersList:HeadersList}},8802:(e,t,r)=>{"use strict";const{Response:s,makeNetworkError:n,makeAppropriateNetworkError:o,filterResponse:i,makeResponse:a}=r(3950);const{Headers:A}=r(1855);const{Request:c,makeRequest:l}=r(6453);const u=r(9796);const{bytesMatch:p,makePolicyContainer:d,clonePolicyContainer:g,requestBadPort:h,TAOCheck:m,appendRequestOriginHeader:E,responseLocationURL:C,requestCurrentURL:I,setRequestReferrerPolicyOnRedirect:B,tryUpgradeRequestToAPotentiallyTrustworthyURL:Q,createOpaqueTimingInfo:b,appendFetchMetadata:y,corsCheck:v,crossOriginResourcePolicyCheck:w,determineRequestsReferrer:x,coarsenedSharedCurrentTime:k,createDeferredPromise:R,isBlobLike:S,sameOrigin:D,isCancelled:T,isAborted:_,isErrorLike:F,fullyReadBody:N,readableStreamClose:U,isomorphicEncode:O,urlIsLocal:M,urlIsHttpHttpsScheme:L,urlHasHttpsScheme:P}=r(5496);const{kState:G,kHeaders:H,kGuard:j,kRealm:V}=r(5376);const J=r(9491);const{safelyExtractBody:Y}=r(1226);const{redirectStatusSet:q,nullBodyStatus:W,safeMethodsSet:Z,requestBodyHeader:z,subresourceSet:K,DOMException:X}=r(7533);const{kHeadersList:$}=r(3932);const ee=r(2361);const{Readable:te,pipeline:re}=r(2781);const{addAbortListener:se,isErrored:ne,isReadable:oe,nodeMajor:ie,nodeMinor:ae}=r(7497);const{dataURLProcessor:Ae,serializeAMimeType:ce}=r(5958);const{TransformStream:le}=r(5356);const{getGlobalDispatcher:ue}=r(2899);const{webidl:pe}=r(9111);const{STATUS_CODES:de}=r(3685);const ge=["GET","HEAD"];let he;let fe=globalThis.ReadableStream;class Fetch extends ee{constructor(e){super();this.dispatcher=e;this.connection=null;this.dump=false;this.state="ongoing";this.setMaxListeners(21)}terminate(e){if(this.state!=="ongoing"){return}this.state="terminated";this.connection?.destroy(e);this.emit("terminated",e)}abort(e){if(this.state!=="ongoing"){return}this.state="aborted";if(!e){e=new X("The operation was aborted.","AbortError")}this.serializedAbortReason=e;this.connection?.destroy(e);this.emit("terminated",e)}}function fetch(e,t={}){pe.argumentLengthCheck(arguments,1,{header:"globalThis.fetch"});const r=R();let n;try{n=new c(e,t)}catch(e){r.reject(e);return r.promise}const o=n[G];if(n.signal.aborted){abortFetch(r,o,null,n.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 l=false;let u=null;se(n.signal,(()=>{l=true;J(u!=null);u.abort(n.signal.reason);abortFetch(r,o,a,n.signal.reason)}));const handleFetchDone=e=>finalizeAndReportTiming(e,"fetch");const processResponse=e=>{if(l){return Promise.resolve()}if(e.aborted){abortFetch(r,o,a,u.serializedAbortReason);return Promise.resolve()}if(e.type==="error"){r.reject(Object.assign(new TypeError("fetch failed"),{cause:e.error}));return Promise.resolve()}a=new s;a[G]=e;a[V]=A;a[H][$]=e.headersList;a[H][j]="immutable";a[H][V]=A;r.resolve(a)};u=fetching({request:o,processResponseEndOfBody:handleFetchDone,processResponse:processResponse,dispatcher:t.dispatcher??ue()});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 s=e.timingInfo;let n=e.cacheState;if(!L(r)){return}if(s===null){return}if(!e.timingAllowPassed){s=b({startTime:s.startTime});n=""}s.endTime=k();e.timingInfo=s;markResourceTiming(s,r,t,globalThis,n)}function markResourceTiming(e,t,r,s,n){if(ie>18||ie===18&&ae>=2){performance.markResourceTiming(e,t.href,r,s,n)}}function abortFetch(e,t,r,s){if(!s){s=new X("The operation was aborted.","AbortError")}e.reject(s);if(t.body!=null&&oe(t.body?.stream)){t.body.stream.cancel(s).catch((e=>{if(e.code==="ERR_INVALID_STATE"){return}throw e}))}if(r==null){return}const n=r[G];if(n.body!=null&&oe(n.body?.stream)){n.body.stream.cancel(s).catch((e=>{if(e.code==="ERR_INVALID_STATE"){return}throw e}))}}function fetching({request:e,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:s,processResponseEndOfBody:n,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 l=k(c);const u=b({startTime:l});const p={controller:new Fetch(a),request:e,timingInfo:u,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:s,processResponseConsumeBody:o,processResponseEndOfBody:n,taskDestination:A,crossOriginIsolatedCapability:c};J(!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(K.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 s=null;if(r.localURLsOnly&&!M(I(r))){s=n("local URLs only")}Q(r);if(h(r)==="blocked"){s=n("bad port")}if(r.referrerPolicy===""){r.referrerPolicy=r.policyContainer.referrerPolicy}if(r.referrer!=="no-referrer"){r.referrer=x(r)}if(s===null){s=await(async()=>{const t=I(r);if(D(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 n('request mode cannot be "same-origin"')}if(r.mode==="no-cors"){if(r.redirect!=="follow"){return n('redirect mode cannot be "follow" for "no-cors" request')}r.responseTainting="opaque";return await schemeFetch(e)}if(!L(I(r))){return n("URL scheme must be a HTTP(S) scheme")}r.responseTainting="cors";return await httpFetch(e)})()}if(t){return s}if(s.status!==0&&!s.internalResponse){if(r.responseTainting==="cors"){}if(r.responseTainting==="basic"){s=i(s,"basic")}else if(r.responseTainting==="cors"){s=i(s,"cors")}else if(r.responseTainting==="opaque"){s=i(s,"opaque")}else{J(false)}}let o=s.status===0?s:s.internalResponse;if(o.urlList.length===0){o.urlList.push(...r.urlList)}if(!r.timingAllowFailed){s.timingAllowPassed=true}if(s.type==="opaque"&&o.status===206&&o.rangeRequested&&!r.headers.contains("range")){s=o=n()}if(s.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,n(t));if(r.responseTainting==="opaque"||s.body==null){processBodyError(s.error);return}const processBody=t=>{if(!p(t,r.integrity)){processBodyError("integrity mismatch");return}s.body=Y(t)[0];fetchFinale(e,s)};await N(s.body,processBody,processBodyError)}else{fetchFinale(e,s)}}function schemeFetch(e){if(T(e)&&e.request.redirectCount===0){return Promise.resolve(o(e))}const{request:t}=e;const{protocol:s}=I(t);switch(s){case"about:":{return Promise.resolve(n("about scheme is not supported"))}case"blob:":{if(!he){he=r(4300).resolveObjectURL}const e=I(t);if(e.search.length!==0){return Promise.resolve(n("NetworkError when attempting to fetch resource."))}const s=he(e.toString());if(t.method!=="GET"||!S(s)){return Promise.resolve(n("invalid method"))}const o=Y(s);const i=o[0];const A=O(`${i.length}`);const c=o[1]??"";const l=a({statusText:"OK",headersList:[["content-length",{name:"Content-Length",value:A}],["content-type",{name:"Content-Type",value:c}]]});l.body=i;return Promise.resolve(l)}case"data:":{const e=I(t);const r=Ae(e);if(r==="failure"){return Promise.resolve(n("failed to fetch the data URL"))}const s=ce(r.mimeType);return Promise.resolve(a({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:s}]],body:Y(r.body)[0]}))}case"file:":{return Promise.resolve(n("not implemented... yet..."))}case"http:":case"https:":{return httpFetch(e).catch((e=>n(e)))}default:{return Promise.resolve(n("unknown scheme"))}}}function finalizeResponse(e,t){e.request.done=true;if(e.processResponseDone!=null){queueMicrotask((()=>e.processResponseDone(t)))}}function fetchFinale(e,t){if(t.type==="error"){t.urlList=[e.request.urlList[0]];t.timingInfo=b({startTime:e.timingInfo.startTime})}const processResponseEndOfBody=()=>{e.request.done=true;if(e.processResponseEndOfBody!=null){queueMicrotask((()=>e.processResponseEndOfBody(t)))}};if(e.processResponse!=null){queueMicrotask((()=>e.processResponse(t)))}if(t.body==null){processResponseEndOfBody()}else{const identityTransformAlgorithm=(e,t)=>{t.enqueue(e)};const e=new le({start(){},transform:identityTransformAlgorithm,flush:processResponseEndOfBody},{size(){return 1}},{size(){return 1}});t.body={stream:t.body.stream.pipeThrough(e)}}if(e.processResponseConsumeBody!=null){const processBody=r=>e.processResponseConsumeBody(t,r);const processBodyError=r=>e.processResponseConsumeBody(t,r);if(t.body==null){queueMicrotask((()=>processBody(null)))}else{return N(t.body,processBody,processBodyError)}return Promise.resolve()}}async function httpFetch(e){const t=e.request;let r=null;let s=null;const o=e.timingInfo;if(t.serviceWorkers==="all"){}if(r===null){if(t.redirect==="follow"){t.serviceWorkers="none"}s=r=await httpNetworkOrCacheFetch(e);if(t.responseTainting==="cors"&&v(t,r)==="failure"){return n("cors failure")}if(m(t,r)==="failure"){t.timingAllowFailed=true}}if((t.responseTainting==="opaque"||r.type==="opaque")&&w(t.origin,t.client,t.destination,s)==="blocked"){return n("blocked")}if(q.has(s.status)){if(t.redirect!=="manual"){e.controller.connection.destroy()}if(t.redirect==="error"){r=n("unexpected redirect")}else if(t.redirect==="manual"){r=s}else if(t.redirect==="follow"){r=await httpRedirectFetch(e,r)}else{J(false)}}r.timingInfo=o;return r}function httpRedirectFetch(e,t){const r=e.request;const s=t.internalResponse?t.internalResponse:t;let o;try{o=C(s,I(r).hash);if(o==null){return t}}catch(e){return Promise.resolve(n(e))}if(!L(o)){return Promise.resolve(n("URL scheme must be a HTTP(S) scheme"))}if(r.redirectCount===20){return Promise.resolve(n("redirect count exceeded"))}r.redirectCount+=1;if(r.mode==="cors"&&(o.username||o.password)&&!D(r,o)){return Promise.resolve(n('cross origin not allowed for request mode "cors"'))}if(r.responseTainting==="cors"&&(o.username||o.password)){return Promise.resolve(n('URL cannot contain credentials for request mode "cors"'))}if(s.status!==303&&r.body!=null&&r.body.source==null){return Promise.resolve(n())}if([301,302].includes(s.status)&&r.method==="POST"||s.status===303&&!ge.includes(r.method)){r.method="GET";r.body=null;for(const e of z){r.headersList.delete(e)}}if(!D(I(r),o)){r.headersList.delete("authorization");r.headersList.delete("cookie");r.headersList.delete("host")}if(r.body!=null){J(r.body.source!=null);r.body=Y(r.body.source)[0]}const i=e.timingInfo;i.redirectEndTime=i.postRedirectStartTime=k(e.crossOriginIsolatedCapability);if(i.redirectStartTime===0){i.redirectStartTime=i.startTime}r.urlList.push(o);B(r,s);return mainFetch(e,true)}async function httpNetworkOrCacheFetch(e,t=false,r=false){const s=e.request;let i=null;let a=null;let A=null;const c=null;const u=false;if(s.window==="no-window"&&s.redirect==="error"){i=e;a=s}else{a=l(s);i={...e};i.request=a}const p=s.credentials==="include"||s.credentials==="same-origin"&&s.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=O(`${d}`)}if(g!=null){a.headersList.append("content-length",g)}if(d!=null&&a.keepalive){}if(a.referrer instanceof URL){a.headersList.append("referer",O(a.referrer.href))}E(a);y(a);if(!a.headersList.contains("user-agent")){a.headersList.append("user-agent",typeof esbuildDetection==="undefined"?"undici":"node")}if(a.cache==="default"&&(a.headersList.contains("if-modified-since")||a.headersList.contains("if-none-match")||a.headersList.contains("if-unmodified-since")||a.headersList.contains("if-match")||a.headersList.contains("if-range"))){a.cache="no-store"}if(a.cache==="no-cache"&&!a.preventNoCacheCacheControlHeaderModification&&!a.headersList.contains("cache-control")){a.headersList.append("cache-control","max-age=0")}if(a.cache==="no-store"||a.cache==="reload"){if(!a.headersList.contains("pragma")){a.headersList.append("pragma","no-cache")}if(!a.headersList.contains("cache-control")){a.headersList.append("cache-control","no-cache")}}if(a.headersList.contains("range")){a.headersList.append("accept-encoding","identity")}if(!a.headersList.contains("accept-encoding")){if(P(I(a))){a.headersList.append("accept-encoding","br, gzip, deflate")}else{a.headersList.append("accept-encoding","gzip, deflate")}}a.headersList.delete("host");if(p){}if(c==null){a.cache="no-store"}if(a.mode!=="no-store"&&a.mode!=="reload"){}if(A==null){if(a.mode==="only-if-cached"){return n("only if cached")}const e=await httpNetworkFetch(i,p,r);if(!Z.has(a.method)&&e.status>=200&&e.status<=399){}if(u&&e.status===304){}if(A==null){A=e}}A.urlList=[...a.urlList];if(a.headersList.contains("range")){A.rangeRequested=true}A.requestIncludesCredentials=p;if(A.status===407){if(s.window==="no-window"){return n()}if(T(e)){return o(e)}return n("proxy authentication required")}if(A.status===421&&!r&&(s.body==null||s.body.source!=null)){if(T(e)){return o(e)}e.controller.connection.destroy();A=await httpNetworkOrCacheFetch(e,t,true)}if(t){}return A}async function httpNetworkFetch(e,t=false,s=false){J(!e.controller.connection||e.controller.connection.destroyed);e.controller.connection={abort:null,destroyed:false,destroy(e){if(!this.destroyed){this.destroyed=true;this.abort?.(e??new X("The operation was aborted.","AbortError"))}}};const i=e.request;let c=null;const l=e.timingInfo;const p=null;if(p==null){i.cache="no-store"}const d=s?"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(T(e)){return}yield t;e.processRequestBodyChunkLength?.(t.byteLength)};const processEndOfBody=()=>{if(T(e)){return}if(e.processRequestEndOfBody){e.processRequestEndOfBody()}};const processBodyError=t=>{if(T(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:s,headersList:n,socket:o}=await dispatch({body:g});if(o){c=a({status:r,statusText:s,headersList:n,socket:o})}else{const o=t[Symbol.asyncIterator]();e.controller.next=()=>o.next();c=a({status:r,statusText:s,headersList:n})}}catch(t){if(t.name==="AbortError"){e.controller.connection.destroy();return o(e,t)}return n(t)}const pullAlgorithm=()=>{e.controller.resume()};const cancelAlgorithm=t=>{e.controller.abort(t)};if(!fe){fe=r(5356).ReadableStream}const h=new fe({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:s}=await e.controller.next();if(_(e)){break}t=r?undefined:s}catch(s){if(e.controller.ended&&!l.encodedBodySize){t=undefined}else{t=s;r=true}}if(t===undefined){U(e.controller.controller);finalizeResponse(e,c);return}l.decodedBodySize+=t?.byteLength??0;if(r){e.controller.terminate(t);return}e.controller.controller.enqueue(new Uint8Array(t));if(ne(h)){e.controller.terminate();return}if(!e.controller.controller.desiredSize){return}}};function onAborted(t){if(_(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:F(t)?t:undefined}))}}e.controller.connection.destroy()}return c;async function dispatch({body:t}){const r=I(i);const s=e.controller.dispatcher;return new Promise(((n,o)=>s.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 X("The operation was aborted.","AbortError"))}else{e.controller.on("terminated",t);this.abort=r.abort=t}},onHeaders(e,t,r,s){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=s}c[$].append(r,s)}}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[$].append(r,e)}}this.body=new te({read:r});const l=[];const p=i.redirect==="follow"&&a&&q.has(e);if(i.method!=="HEAD"&&i.method!=="CONNECT"&&!W.includes(e)&&!p){for(const e of o){if(e==="x-gzip"||e==="gzip"){l.push(u.createGunzip({flush:u.constants.Z_SYNC_FLUSH,finishFlush:u.constants.Z_SYNC_FLUSH}))}else if(e==="deflate"){l.push(u.createInflate())}else if(e==="br"){l.push(u.createBrotliDecompress())}else{l.length=0;break}}}n({status:e,statusText:s,headersList:c[$],body:l.length?re(this.body,...l,(()=>{})):this.body.on("error",(()=>{}))});return true},onData(t){if(e.controller.dump){return}const r=t;l.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 s=new A;for(let e=0;e{"use strict";const{extractBody:s,mixinBody:n,cloneBody:o}=r(1226);const{Headers:i,fill:a,HeadersList:A}=r(1855);const{FinalizationRegistry:c}=r(5285)();const l=r(7497);const{isValidHTTPToken:u,sameOrigin:p,normalizeMethod:d,makePolicyContainer:g,normalizeMethodRecord:h}=r(5496);const{forbiddenMethodsSet:m,corsSafeListedMethodsSet:E,referrerPolicy:C,requestRedirect:I,requestMode:B,requestCredentials:Q,requestCache:b,requestDuplex:y}=r(7533);const{kEnumerableProperty:v}=l;const{kHeaders:w,kSignal:x,kState:k,kGuard:R,kRealm:S}=r(5376);const{webidl:D}=r(9111);const{getGlobalOrigin:T}=r(7011);const{URLSerializer:_}=r(5958);const{kHeadersList:F,kConstruct:N}=r(3932);const U=r(9491);const{getMaxListeners:O,setMaxListeners:M,getEventListeners:L,defaultMaxListeners:P}=r(2361);let G=globalThis.TransformStream;const H=Symbol("abortController");const j=new c((({signal:e,abort:t})=>{e.removeEventListener("abort",t)}));class Request{constructor(e,t={}){if(e===N){return}D.argumentLengthCheck(arguments,1,{header:"Request constructor"});e=D.converters.RequestInfo(e);t=D.converters.RequestInit(t);this[S]={settingsObject:{baseUrl:T(),get origin(){return this.baseUrl?.origin},policyContainer:g()}};let n=null;let o=null;const c=this[S].settingsObject.baseUrl;let C=null;if(typeof e==="string"){let t;try{t=new URL(e,c)}catch(t){throw new TypeError("Failed to parse URL from "+e,{cause:t})}if(t.username||t.password){throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+e)}n=makeRequest({urlList:[t]});o="cors"}else{U(e instanceof Request);n=e[k];C=e[x]}const I=this[S].settingsObject.origin;let B="client";if(n.window?.constructor?.name==="EnvironmentSettingsObject"&&p(n.window,I)){B=n.window}if(t.window!=null){throw new TypeError(`'window' option '${B}' must be null`)}if("window"in t){B="no-window"}n=makeRequest({method:n.method,headersList:n.headersList,unsafeRequest:n.unsafeRequest,client:this[S].settingsObject,window:B,priority:n.priority,origin:n.origin,referrer:n.referrer,referrerPolicy:n.referrerPolicy,mode:n.mode,credentials:n.credentials,cache:n.cache,redirect:n.redirect,integrity:n.integrity,keepalive:n.keepalive,reloadNavigation:n.reloadNavigation,historyNavigation:n.historyNavigation,urlList:[...n.urlList]});const Q=Object.keys(t).length!==0;if(Q){if(n.mode==="navigate"){n.mode="same-origin"}n.reloadNavigation=false;n.historyNavigation=false;n.origin="client";n.referrer="client";n.referrerPolicy="";n.url=n.urlList[n.urlList.length-1];n.urlList=[n.url]}if(t.referrer!==undefined){const e=t.referrer;if(e===""){n.referrer="no-referrer"}else{let t;try{t=new URL(e,c)}catch(t){throw new TypeError(`Referrer "${e}" is not a valid URL.`,{cause:t})}if(t.protocol==="about:"&&t.hostname==="client"||I&&!p(t,this[S].settingsObject.baseUrl)){n.referrer="client"}else{n.referrer=t}}}if(t.referrerPolicy!==undefined){n.referrerPolicy=t.referrerPolicy}let b;if(t.mode!==undefined){b=t.mode}else{b=o}if(b==="navigate"){throw D.errors.exception({header:"Request constructor",message:"invalid request mode navigate."})}if(b!=null){n.mode=b}if(t.credentials!==undefined){n.credentials=t.credentials}if(t.cache!==undefined){n.cache=t.cache}if(n.cache==="only-if-cached"&&n.mode!=="same-origin"){throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode")}if(t.redirect!==undefined){n.redirect=t.redirect}if(t.integrity!=null){n.integrity=String(t.integrity)}if(t.keepalive!==undefined){n.keepalive=Boolean(t.keepalive)}if(t.method!==undefined){let e=t.method;if(!u(e)){throw new TypeError(`'${e}' is not a valid HTTP method.`)}if(m.has(e.toUpperCase())){throw new TypeError(`'${e}' HTTP method is unsupported.`)}e=h[e]??d(e);n.method=e}if(t.signal!==undefined){C=t.signal}this[k]=n;const y=new AbortController;this[x]=y.signal;this[x][S]=this[S];if(C!=null){if(!C||typeof C.aborted!=="boolean"||typeof C.addEventListener!=="function"){throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.")}if(C.aborted){y.abort(C.reason)}else{this[H]=y;const e=new WeakRef(y);const abort=function(){const t=e.deref();if(t!==undefined){t.abort(this.reason)}};try{if(typeof O==="function"&&O(C)===P){M(100,C)}else if(L(C,"abort").length>=P){M(100,C)}}catch{}l.addAbortListener(C,abort);j.register(y,{signal:C,abort:abort})}}this[w]=new i(N);this[w][F]=n.headersList;this[w][R]="request";this[w][S]=this[S];if(b==="no-cors"){if(!E.has(n.method)){throw new TypeError(`'${n.method} is unsupported in no-cors mode.`)}this[w][R]="request-no-cors"}if(Q){const e=this[w][F];const r=t.headers!==undefined?t.headers:new A(e);e.clear();if(r instanceof A){for(const[t,s]of r){e.append(t,s)}e.cookies=r.cookies}else{a(this[w],r)}}const v=e instanceof Request?e[k].body:null;if((t.body!=null||v!=null)&&(n.method==="GET"||n.method==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body.")}let _=null;if(t.body!=null){const[e,r]=s(t.body,n.keepalive);_=e;if(r&&!this[w][F].contains("content-type")){this[w].append("content-type",r)}}const V=_??v;if(V!=null&&V.source==null){if(_!=null&&t.duplex==null){throw new TypeError("RequestInit: duplex option is required when sending a body.")}if(n.mode!=="same-origin"&&n.mode!=="cors"){throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"')}n.useCORSPreflightFlag=true}let J=V;if(_==null&&v!=null){if(l.isDisturbed(v.stream)||v.stream.locked){throw new TypeError("Cannot construct a Request with a Request object that has already been used.")}if(!G){G=r(5356).TransformStream}const e=new G;v.stream.pipeThrough(e);J={source:v.source,length:v.length,stream:e.readable}}this[k].body=J}get method(){D.brandCheck(this,Request);return this[k].method}get url(){D.brandCheck(this,Request);return _(this[k].url)}get headers(){D.brandCheck(this,Request);return this[w]}get destination(){D.brandCheck(this,Request);return this[k].destination}get referrer(){D.brandCheck(this,Request);if(this[k].referrer==="no-referrer"){return""}if(this[k].referrer==="client"){return"about:client"}return this[k].referrer.toString()}get referrerPolicy(){D.brandCheck(this,Request);return this[k].referrerPolicy}get mode(){D.brandCheck(this,Request);return this[k].mode}get credentials(){return this[k].credentials}get cache(){D.brandCheck(this,Request);return this[k].cache}get redirect(){D.brandCheck(this,Request);return this[k].redirect}get integrity(){D.brandCheck(this,Request);return this[k].integrity}get keepalive(){D.brandCheck(this,Request);return this[k].keepalive}get isReloadNavigation(){D.brandCheck(this,Request);return this[k].reloadNavigation}get isHistoryNavigation(){D.brandCheck(this,Request);return this[k].historyNavigation}get signal(){D.brandCheck(this,Request);return this[x]}get body(){D.brandCheck(this,Request);return this[k].body?this[k].body.stream:null}get bodyUsed(){D.brandCheck(this,Request);return!!this[k].body&&l.isDisturbed(this[k].body.stream)}get duplex(){D.brandCheck(this,Request);return"half"}clone(){D.brandCheck(this,Request);if(this.bodyUsed||this.body?.locked){throw new TypeError("unusable")}const e=cloneRequest(this[k]);const t=new Request(N);t[k]=e;t[S]=this[S];t[w]=new i(N);t[w][F]=e.headersList;t[w][R]=this[w][R];t[w][S]=this[w][S];const r=new AbortController;if(this.signal.aborted){r.abort(this.signal.reason)}else{l.addAbortListener(this.signal,(()=>{r.abort(this.signal.reason)}))}t[x]=r.signal;return t}}n(Request);function makeRequest(e){const t={method:"GET",localURLsOnly:false,unsafeRequest:false,body:null,client:null,reservedClient:null,replacesClientId:"",window:"client",keepalive:false,serviceWorkers:"all",initiator:"",destination:"",priority:null,origin:"client",policyContainer:"client",referrer:"client",referrerPolicy:"",mode:"no-cors",useCORSPreflightFlag:false,credentials:"same-origin",useCredentials:false,cache:"default",redirect:"follow",integrity:"",cryptoGraphicsNonceMetadata:"",parserMetadata:"",reloadNavigation:false,historyNavigation:false,userActivation:false,taintedOrigin:false,redirectCount:0,responseTainting:"basic",preventNoCacheCacheControlHeaderModification:false,done:false,timingAllowFailed:false,...e,headersList:e.headersList?new A(e.headersList):new A};t.url=t.urlList[0];return t}function cloneRequest(e){const t=makeRequest({...e,body:null});if(e.body!=null){t.body=o(e.body)}return t}Object.defineProperties(Request.prototype,{method:v,url:v,headers:v,redirect:v,clone:v,signal:v,duplex:v,destination:v,body:v,bodyUsed:v,isHistoryNavigation:v,isReloadNavigation:v,keepalive:v,integrity:v,cache:v,credentials:v,attribute:v,referrerPolicy:v,referrer:v,mode:v,[Symbol.toStringTag]:{value:"Request",configurable:true}});D.converters.Request=D.interfaceConverter(Request);D.converters.RequestInfo=function(e){if(typeof e==="string"){return D.converters.USVString(e)}if(e instanceof Request){return D.converters.Request(e)}return D.converters.USVString(e)};D.converters.AbortSignal=D.interfaceConverter(AbortSignal);D.converters.RequestInit=D.dictionaryConverter([{key:"method",converter:D.converters.ByteString},{key:"headers",converter:D.converters.HeadersInit},{key:"body",converter:D.nullableConverter(D.converters.BodyInit)},{key:"referrer",converter:D.converters.USVString},{key:"referrerPolicy",converter:D.converters.DOMString,allowedValues:C},{key:"mode",converter:D.converters.DOMString,allowedValues:B},{key:"credentials",converter:D.converters.DOMString,allowedValues:Q},{key:"cache",converter:D.converters.DOMString,allowedValues:b},{key:"redirect",converter:D.converters.DOMString,allowedValues:I},{key:"integrity",converter:D.converters.DOMString},{key:"keepalive",converter:D.converters.boolean},{key:"signal",converter:D.nullableConverter((e=>D.converters.AbortSignal(e,{strict:false})))},{key:"window",converter:D.converters.any},{key:"duplex",converter:D.converters.DOMString,allowedValues:y}]);e.exports={Request:Request,makeRequest:makeRequest}},3950:(e,t,r)=>{"use strict";const{Headers:s,HeadersList:n,fill:o}=r(1855);const{extractBody:i,cloneBody:a,mixinBody:A}=r(1226);const c=r(7497);const{kEnumerableProperty:l}=c;const{isValidReasonPhrase:u,isCancelled:p,isAborted:d,isBlobLike:g,serializeJavascriptValueToJSONString:h,isErrorLike:m,isomorphicEncode:E}=r(5496);const{redirectStatusSet:C,nullBodyStatus:I,DOMException:B}=r(7533);const{kState:Q,kHeaders:b,kGuard:y,kRealm:v}=r(5376);const{webidl:w}=r(9111);const{FormData:x}=r(9425);const{getGlobalOrigin:k}=r(7011);const{URLSerializer:R}=r(5958);const{kHeadersList:S,kConstruct:D}=r(3932);const T=r(9491);const{types:_}=r(3837);const F=globalThis.ReadableStream||r(5356).ReadableStream;const N=new TextEncoder("utf-8");class Response{static error(){const e={settingsObject:{}};const t=new Response;t[Q]=makeNetworkError();t[v]=e;t[b][S]=t[Q].headersList;t[b][y]="immutable";t[b][v]=e;return t}static json(e,t={}){w.argumentLengthCheck(arguments,1,{header:"Response.json"});if(t!==null){t=w.converters.ResponseInit(t)}const r=N.encode(h(e));const s=i(r);const n={settingsObject:{}};const o=new Response;o[v]=n;o[b][y]="response";o[b][v]=n;initializeResponse(o,t,{body:s[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 s;try{s=new URL(e,k())}catch(t){throw Object.assign(new TypeError("Failed to parse URL from "+e),{cause:t})}if(!C.has(t)){throw new RangeError("Invalid status code "+t)}const n=new Response;n[v]=r;n[b][y]="immutable";n[b][v]=r;n[Q].status=t;const o=E(R(s));n[Q].headersList.append("location",o);return n}constructor(e=null,t={}){if(e!==null){e=w.converters.BodyInit(e)}t=w.converters.ResponseInit(t);this[v]={settingsObject:{}};this[Q]=makeResponse({});this[b]=new s(D);this[b][y]="response";this[b][S]=this[Q].headersList;this[b][v]=this[v];let r=null;if(e!=null){const[t,s]=i(e);r={body:t,type:s}}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 R(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[v]=this[v];t[b][S]=e.headersList;t[b][y]=this[b][y];t[b][v]=this[b][v];return t}}A(Response);Object.defineProperties(Response.prototype,{type:l,url:l,status:l,ok:l,redirected:l,statusText:l,headers:l,clone:l,body:l,bodyUsed:l,[Symbol.toStringTag]:{value:"Response",configurable:true}});Object.defineProperties(Response,{json:l,redirect:l,error:l});function cloneResponse(e){if(e.internalResponse){return filterResponse(cloneResponse(e.internalResponse),e.type)}const t=makeResponse({...e,body:null});if(e.body!=null){t.body=a(e.body)}return t}function makeResponse(e){return{aborted:false,rangeRequested:false,timingAllowPassed:false,requestIncludesCredentials:false,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...e,headersList:e.headersList?new n(e.headersList):new n,urlList:e.urlList?[...e.urlList]:[]}}function makeNetworkError(e){const t=m(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,s){T(!(r in t));e[r]=s;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{T(false)}}function makeAppropriateNetworkError(e,t=null){T(p(e));return d(e)?makeNetworkError(Object.assign(new B("The operation was aborted.","AbortError"),{cause:t})):makeNetworkError(Object.assign(new B("Request was cancelled."),{cause:t}))}function initializeResponse(e,t,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(!u(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(I.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(F);w.converters.FormData=w.interfaceConverter(x);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(_.isArrayBuffer(e)||_.isTypedArray(e)||_.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 F){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}},5376:e=>{"use strict";e.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kGuard:Symbol("guard"),kRealm:Symbol("realm")}},5496:(e,t,r)=>{"use strict";const{redirectStatusSet:s,referrerPolicySet:n,badPortsSet:o}=r(7533);const{getGlobalOrigin:i}=r(7011);const{performance:a}=r(4074);const{isBlobLike:A,toUSVString:c,ReadableStreamFrom:l}=r(7497);const u=r(9491);const{isUint8Array:p}=r(9830);let d;try{d=r(6113)}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(!s.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=s.length;e!==0;e--){const t=s[e-1].trim();if(n.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;u(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 s=stripURLForReferrer(r);const n=stripURLForReferrer(r,true);if(s.toString().length>4096){s=n}const o=sameOrigin(e,s);const a=isURLPotentiallyTrustworthy(s)&&!isURLPotentiallyTrustworthy(e.url);switch(t){case"origin":return n!=null?n:stripURLForReferrer(r,true);case"unsafe-url":return s;case"same-origin":return o?n:"no-referrer";case"origin-when-cross-origin":return o?s:n;case"strict-origin-when-cross-origin":{const t=requestCurrentURL(e);if(sameOrigin(s,t)){return s}if(isURLPotentiallyTrustworthy(s)&&!isURLPotentiallyTrustworthy(t)){return"no-referrer"}return n}case"strict-origin":case"no-referrer-when-downgrade":default:return a?"no-referrer":n}}function stripURLForReferrer(e,t){u(e instanceof URL);if(e.protocol==="file:"||e.protocol==="about:"||e.protocol==="blank:"){return"no-referrer"}e.username="";e.password="";e.hash="";if(t){e.pathname="";e.search=""}return e}function isURLPotentiallyTrustworthy(e){if(!(e instanceof URL)){return false}if(e.href==="about:blank"||e.href==="about:srcdoc"){return true}if(e.protocol==="data:")return true;if(e.protocol==="file:")return true;return isOriginPotentiallyTrustworthy(e.origin);function isOriginPotentiallyTrustworthy(e){if(e==null||e==="null")return false;const t=new URL(e);if(t.protocol==="https:"||t.protocol==="wss:"){return true}if(/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(t.hostname)||(t.hostname==="localhost"||t.hostname.includes("localhost."))||t.hostname.endsWith(".localhost")){return true}return false}}function bytesMatch(e,t){if(d===undefined){return true}const r=parseMetadata(t);if(r==="no metadata"){return true}if(r.length===0){return true}const s=r.sort(((e,t)=>t.algo.localeCompare(e.algo)));const n=s[0].algo;const o=s.filter((e=>e.algo===n));for(const t of o){const r=t.algo;let s=t.hash;if(s.endsWith("==")){s=s.slice(0,-2)}let n=d.createHash(r).update(e).digest("base64");if(n.endsWith("==")){n=n.slice(0,-2)}if(n===s){return true}let o=d.createHash(r).update(e).digest("base64url");if(o.endsWith("==")){o=o.slice(0,-2)}if(o===s){return true}}return false}const g=/((?sha256|sha384|sha512)-(?[A-z0-9+/]{1}.*={0,2}))( +[\x21-\x7e]?)?/i;function parseMetadata(e){const t=[];let r=true;const s=d.getHashes();for(const n of e.split(" ")){r=false;const e=g.exec(n);if(e===null||e.groups===undefined){continue}const o=e.groups.algo;if(s.includes(o.toLowerCase())){t.push(e.groups)}}if(r===true){return"no metadata"}return t}function tryUpgradeRequestToAPotentiallyTrustworthyURL(e){}function sameOrigin(e,t){if(e.origin===t.origin&&e.origin==="null"){return true}if(e.protocol===t.protocol&&e.hostname===t.hostname&&e.port===t.port){return true}return false}function createDeferredPromise(){let e;let t;const r=new Promise(((r,s)=>{e=r;t=s}));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 h={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT"};Object.setPrototypeOf(h,null);function normalizeMethod(e){return h[e.toLowerCase()]??e}function serializeJavascriptValueToJSONString(e){const t=JSON.stringify(e);if(t===undefined){throw new TypeError("Value is not JSON serializable")}u(typeof t==="string");return t}const m=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function makeIterator(e,t,r){const s={index:0,kind:r,target:e};const n={next(){if(Object.getPrototypeOf(this)!==n){throw new TypeError(`'next' called on an object that does not implement interface ${t} Iterator.`)}const{index:e,kind:r,target:o}=s;const i=o();const a=i.length;if(e>=a){return{value:undefined,done:true}}const A=i[e];s.index=e+1;return iteratorResult(A,r)},[Symbol.toStringTag]:`${t} Iterator`};Object.setPrototypeOf(n,m);return Object.setPrototypeOf({},n)}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 s=t;const n=r;let o;try{o=e.stream.getReader()}catch(e){n(e);return}try{const e=await readAllBytes(o);s(e)}catch(e){n(e)}}let E=globalThis.ReadableStream;function isReadableStreamLike(e){if(!E){E=r(5356).ReadableStream}return e instanceof E||e[Symbol.toStringTag]==="ReadableStream"&&typeof e.tee==="function"}const C=65535;function isomorphicDecode(e){if(e.lengthe+String.fromCharCode(t)),"")}function readableStreamClose(e){try{e.close()}catch(e){if(!e.message.includes("Controller is already closed")){throw e}}}function isomorphicEncode(e){for(let t=0;tObject.prototype.hasOwnProperty.call(e,t));e.exports={isAborted:isAborted,isCancelled:isCancelled,createDeferredPromise:createDeferredPromise,ReadableStreamFrom:l,toUSVString:c,tryUpgradeRequestToAPotentiallyTrustworthyURL:tryUpgradeRequestToAPotentiallyTrustworthyURL,coarsenedSharedCurrentTime:coarsenedSharedCurrentTime,determineRequestsReferrer:determineRequestsReferrer,makePolicyContainer:makePolicyContainer,clonePolicyContainer:clonePolicyContainer,appendFetchMetadata:appendFetchMetadata,appendRequestOriginHeader:appendRequestOriginHeader,TAOCheck:TAOCheck,corsCheck:corsCheck,crossOriginResourcePolicyCheck:crossOriginResourcePolicyCheck,createOpaqueTimingInfo:createOpaqueTimingInfo,setRequestReferrerPolicyOnRedirect:setRequestReferrerPolicyOnRedirect,isValidHTTPToken:isValidHTTPToken,requestBadPort:requestBadPort,requestCurrentURL:requestCurrentURL,responseURL:responseURL,responseLocationURL:responseLocationURL,isBlobLike:A,isURLPotentiallyTrustworthy:isURLPotentiallyTrustworthy,isValidReasonPhrase:isValidReasonPhrase,sameOrigin:sameOrigin,normalizeMethod:normalizeMethod,serializeJavascriptValueToJSONString:serializeJavascriptValueToJSONString,makeIterator:makeIterator,isValidHeaderName:isValidHeaderName,isValidHeaderValue:isValidHeaderValue,hasOwn:I,isErrorLike:isErrorLike,fullyReadBody:fullyReadBody,bytesMatch:bytesMatch,isReadableStreamLike:isReadableStreamLike,readableStreamClose:readableStreamClose,isomorphicEncode:isomorphicEncode,isomorphicDecode:isomorphicDecode,urlIsLocal:urlIsLocal,urlHasHttpsScheme:urlHasHttpsScheme,urlIsHttpHttpsScheme:urlIsHttpHttpsScheme,readAllBytes:readAllBytes,normalizeMethodRecord:h}},9111:(e,t,r)=>{"use strict";const{types:s}=r(3837);const{hasOwn:n,toUSVString:o}=r(5496);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(en){throw i.errors.exception({header:"Integer conversion",message:`Value must be between ${o}-${n}, got ${a}.`})}return a}if(!Number.isNaN(a)&&s.clamp===true){a=Math.min(Math.max(a,o),n);if(Math.floor(a)%2===0){a=Math.floor(a)}else{a=Math.ceil(a)}return a}if(Number.isNaN(a)||a===0&&Object.is(0,a)||a===Number.POSITIVE_INFINITY||a===Number.NEGATIVE_INFINITY){return 0}a=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 s=[];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:n}=r.next();if(t){break}s.push(e(n))}return s}};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 n={};if(!s.isProxy(r)){const s=Object.keys(r);for(const o of s){const s=e(o);const i=t(r[o]);n[s]=i}return n}const o=Reflect.ownKeys(r);for(const s of o){const o=Reflect.getOwnPropertyDescriptor(r,s);if(o?.enumerable){const o=e(s);const i=t(r[s]);n[o]=i}}return n}};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 s={};if(r==="Null"||r==="Undefined"){return s}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(!n(t,e)){throw i.errors.exception({header:"Dictionary",message:`Missing required key "${e}".`})}}let c=t[e];const l=n(r,"defaultValue");if(l&&c!==null){c=c??o}if(a||l||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(", ")}.`})}s[e]=c}}return s}};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"||!s.isAnyArrayBuffer(e)){throw i.errors.conversionFailed({prefix:`${e}`,argument:`${e}`,types:["ArrayBuffer"]})}if(t.allowShared===false&&s.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"||!s.isTypedArray(e)||e.constructor.name!==t.name){throw i.errors.conversionFailed({prefix:`${t.name}`,argument:`${e}`,types:[t.name]})}if(r.allowShared===false&&s.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"||!s.isDataView(e)){throw i.errors.exception({header:"DataView",message:"Object is not a DataView."})}if(t.allowShared===false&&s.isSharedArrayBuffer(e.buffer)){throw i.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return e};i.converters.BufferSource=function(e,t={}){if(s.isAnyArrayBuffer(e)){return i.converters.ArrayBuffer(e,t)}if(s.isTypedArray(e)){return i.converters.TypedArray(e,e.constructor)}if(s.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}},3532:e=>{"use strict";function getEncoding(e){if(!e){return"failure"}switch(e.trim().toLowerCase()){case"unicode-1-1-utf-8":case"unicode11utf8":case"unicode20utf8":case"utf-8":case"utf8":case"x-unicode20utf8":return"UTF-8";case"866":case"cp866":case"csibm866":case"ibm866":return"IBM866";case"csisolatin2":case"iso-8859-2":case"iso-ir-101":case"iso8859-2":case"iso88592":case"iso_8859-2":case"iso_8859-2:1987":case"l2":case"latin2":return"ISO-8859-2";case"csisolatin3":case"iso-8859-3":case"iso-ir-109":case"iso8859-3":case"iso88593":case"iso_8859-3":case"iso_8859-3:1988":case"l3":case"latin3":return"ISO-8859-3";case"csisolatin4":case"iso-8859-4":case"iso-ir-110":case"iso8859-4":case"iso88594":case"iso_8859-4":case"iso_8859-4:1988":case"l4":case"latin4":return"ISO-8859-4";case"csisolatincyrillic":case"cyrillic":case"iso-8859-5":case"iso-ir-144":case"iso8859-5":case"iso88595":case"iso_8859-5":case"iso_8859-5:1988":return"ISO-8859-5";case"arabic":case"asmo-708":case"csiso88596e":case"csiso88596i":case"csisolatinarabic":case"ecma-114":case"iso-8859-6":case"iso-8859-6-e":case"iso-8859-6-i":case"iso-ir-127":case"iso8859-6":case"iso88596":case"iso_8859-6":case"iso_8859-6:1987":return"ISO-8859-6";case"csisolatingreek":case"ecma-118":case"elot_928":case"greek":case"greek8":case"iso-8859-7":case"iso-ir-126":case"iso8859-7":case"iso88597":case"iso_8859-7":case"iso_8859-7:1987":case"sun_eu_greek":return"ISO-8859-7";case"csiso88598e":case"csisolatinhebrew":case"hebrew":case"iso-8859-8":case"iso-8859-8-e":case"iso-ir-138":case"iso8859-8":case"iso88598":case"iso_8859-8":case"iso_8859-8:1988":case"visual":return"ISO-8859-8";case"csiso88598i":case"iso-8859-8-i":case"logical":return"ISO-8859-8-I";case"csisolatin6":case"iso-8859-10":case"iso-ir-157":case"iso8859-10":case"iso885910":case"l6":case"latin6":return"ISO-8859-10";case"iso-8859-13":case"iso8859-13":case"iso885913":return"ISO-8859-13";case"iso-8859-14":case"iso8859-14":case"iso885914":return"ISO-8859-14";case"csisolatin9":case"iso-8859-15":case"iso8859-15":case"iso885915":case"iso_8859-15":case"l9":return"ISO-8859-15";case"iso-8859-16":return"ISO-8859-16";case"cskoi8r":case"koi":case"koi8":case"koi8-r":case"koi8_r":return"KOI8-R";case"koi8-ru":case"koi8-u":return"KOI8-U";case"csmacintosh":case"mac":case"macintosh":case"x-mac-roman":return"macintosh";case"iso-8859-11":case"iso8859-11":case"iso885911":case"tis-620":case"windows-874":return"windows-874";case"cp1250":case"windows-1250":case"x-cp1250":return"windows-1250";case"cp1251":case"windows-1251":case"x-cp1251":return"windows-1251";case"ansi_x3.4-1968":case"ascii":case"cp1252":case"cp819":case"csisolatin1":case"ibm819":case"iso-8859-1":case"iso-ir-100":case"iso8859-1":case"iso88591":case"iso_8859-1":case"iso_8859-1:1987":case"l1":case"latin1":case"us-ascii":case"windows-1252":case"x-cp1252":return"windows-1252";case"cp1253":case"windows-1253":case"x-cp1253":return"windows-1253";case"cp1254":case"csisolatin5":case"iso-8859-9":case"iso-ir-148":case"iso8859-9":case"iso88599":case"iso_8859-9":case"iso_8859-9:1989":case"l5":case"latin5":case"windows-1254":case"x-cp1254":return"windows-1254";case"cp1255":case"windows-1255":case"x-cp1255":return"windows-1255";case"cp1256":case"windows-1256":case"x-cp1256":return"windows-1256";case"cp1257":case"windows-1257":case"x-cp1257":return"windows-1257";case"cp1258":case"windows-1258":case"x-cp1258":return"windows-1258";case"x-mac-cyrillic":case"x-mac-ukrainian":return"x-mac-cyrillic";case"chinese":case"csgb2312":case"csiso58gb231280":case"gb2312":case"gb_2312":case"gb_2312-80":case"gbk":case"iso-ir-58":case"x-gbk":return"GBK";case"gb18030":return"gb18030";case"big5":case"big5-hkscs":case"cn-big5":case"csbig5":case"x-x-big5":return"Big5";case"cseucpkdfmtjapanese":case"euc-jp":case"x-euc-jp":return"EUC-JP";case"csiso2022jp":case"iso-2022-jp":return"ISO-2022-JP";case"csshiftjis":case"ms932":case"ms_kanji":case"shift-jis":case"shift_jis":case"sjis":case"windows-31j":case"x-sjis":return"Shift_JIS";case"cseuckr":case"csksc56011987":case"euc-kr":case"iso-ir-149":case"korean":case"ks_c_5601-1987":case"ks_c_5601-1989":case"ksc5601":case"ksc_5601":case"windows-949":return"EUC-KR";case"csiso2022kr":case"hz-gb-2312":case"iso-2022-cn":case"iso-2022-cn-ext":case"iso-2022-kr":case"replacement":return"replacement";case"unicodefffe":case"utf-16be":return"UTF-16BE";case"csunicode":case"iso-10646-ucs-2":case"ucs-2":case"unicode":case"unicodefeff":case"utf-16":case"utf-16le":return"UTF-16LE";case"x-user-defined":return"x-user-defined";default:return"failure"}}e.exports={getEncoding:getEncoding}},929:(e,t,r)=>{"use strict";const{staticPropertyDescriptors:s,readOperation:n,fireAProgressEvent:o}=r(4157);const{kState:i,kError:a,kResult:A,kEvents:c,kAborted:l}=r(9103);const{webidl:u}=r(9111);const{kEnumerableProperty:p}=r(7497);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){u.brandCheck(this,FileReader);u.argumentLengthCheck(arguments,1,{header:"FileReader.readAsArrayBuffer"});e=u.converters.Blob(e,{strict:false});n(this,e,"ArrayBuffer")}readAsBinaryString(e){u.brandCheck(this,FileReader);u.argumentLengthCheck(arguments,1,{header:"FileReader.readAsBinaryString"});e=u.converters.Blob(e,{strict:false});n(this,e,"BinaryString")}readAsText(e,t=undefined){u.brandCheck(this,FileReader);u.argumentLengthCheck(arguments,1,{header:"FileReader.readAsText"});e=u.converters.Blob(e,{strict:false});if(t!==undefined){t=u.converters.DOMString(t)}n(this,e,"Text",t)}readAsDataURL(e){u.brandCheck(this,FileReader);u.argumentLengthCheck(arguments,1,{header:"FileReader.readAsDataURL"});e=u.converters.Blob(e,{strict:false});n(this,e,"DataURL")}abort(){if(this[i]==="empty"||this[i]==="done"){this[A]=null;return}if(this[i]==="loading"){this[i]="done";this[A]=null}this[l]=true;o("abort",this);if(this[i]!=="loading"){o("loadend",this)}}get readyState(){u.brandCheck(this,FileReader);switch(this[i]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){u.brandCheck(this,FileReader);return this[A]}get error(){u.brandCheck(this,FileReader);return this[a]}get onloadend(){u.brandCheck(this,FileReader);return this[c].loadend}set onloadend(e){u.brandCheck(this,FileReader);if(this[c].loadend){this.removeEventListener("loadend",this[c].loadend)}if(typeof e==="function"){this[c].loadend=e;this.addEventListener("loadend",e)}else{this[c].loadend=null}}get onerror(){u.brandCheck(this,FileReader);return this[c].error}set onerror(e){u.brandCheck(this,FileReader);if(this[c].error){this.removeEventListener("error",this[c].error)}if(typeof e==="function"){this[c].error=e;this.addEventListener("error",e)}else{this[c].error=null}}get onloadstart(){u.brandCheck(this,FileReader);return this[c].loadstart}set onloadstart(e){u.brandCheck(this,FileReader);if(this[c].loadstart){this.removeEventListener("loadstart",this[c].loadstart)}if(typeof e==="function"){this[c].loadstart=e;this.addEventListener("loadstart",e)}else{this[c].loadstart=null}}get onprogress(){u.brandCheck(this,FileReader);return this[c].progress}set onprogress(e){u.brandCheck(this,FileReader);if(this[c].progress){this.removeEventListener("progress",this[c].progress)}if(typeof e==="function"){this[c].progress=e;this.addEventListener("progress",e)}else{this[c].progress=null}}get onload(){u.brandCheck(this,FileReader);return this[c].load}set onload(e){u.brandCheck(this,FileReader);if(this[c].load){this.removeEventListener("load",this[c].load)}if(typeof e==="function"){this[c].load=e;this.addEventListener("load",e)}else{this[c].load=null}}get onabort(){u.brandCheck(this,FileReader);return this[c].abort}set onabort(e){u.brandCheck(this,FileReader);if(this[c].abort){this.removeEventListener("abort",this[c].abort)}if(typeof e==="function"){this[c].abort=e;this.addEventListener("abort",e)}else{this[c].abort=null}}}FileReader.EMPTY=FileReader.prototype.EMPTY=0;FileReader.LOADING=FileReader.prototype.LOADING=1;FileReader.DONE=FileReader.prototype.DONE=2;Object.defineProperties(FileReader.prototype,{EMPTY:s,LOADING:s,DONE:s,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:s,LOADING:s,DONE:s});e.exports={FileReader:FileReader}},9094:(e,t,r)=>{"use strict";const{webidl:s}=r(9111);const n=Symbol("ProgressEvent state");class ProgressEvent extends Event{constructor(e,t={}){e=s.converters.DOMString(e);t=s.converters.ProgressEventInit(t??{});super(e,t);this[n]={lengthComputable:t.lengthComputable,loaded:t.loaded,total:t.total}}get lengthComputable(){s.brandCheck(this,ProgressEvent);return this[n].lengthComputable}get loaded(){s.brandCheck(this,ProgressEvent);return this[n].loaded}get total(){s.brandCheck(this,ProgressEvent);return this[n].total}}s.converters.ProgressEventInit=s.dictionaryConverter([{key:"lengthComputable",converter:s.converters.boolean,defaultValue:false},{key:"loaded",converter:s.converters["unsigned long long"],defaultValue:0},{key:"total",converter:s.converters["unsigned long long"],defaultValue:0},{key:"bubbles",converter:s.converters.boolean,defaultValue:false},{key:"cancelable",converter:s.converters.boolean,defaultValue:false},{key:"composed",converter:s.converters.boolean,defaultValue:false}]);e.exports={ProgressEvent:ProgressEvent}},9103:e=>{"use strict";e.exports={kState:Symbol("FileReader state"),kResult:Symbol("FileReader result"),kError:Symbol("FileReader error"),kLastProgressEventFired:Symbol("FileReader last progress event fired timestamp"),kEvents:Symbol("FileReader events"),kAborted:Symbol("FileReader aborted")}},4157:(e,t,r)=>{"use strict";const{kState:s,kError:n,kResult:o,kAborted:i,kLastProgressEventFired:a}=r(9103);const{ProgressEvent:A}=r(9094);const{getEncoding:c}=r(3532);const{DOMException:l}=r(7533);const{serializeAMimeType:u,parseMIMEType:p}=r(5958);const{types:d}=r(3837);const{StringDecoder:g}=r(1576);const{btoa:h}=r(4300);const m={enumerable:true,writable:false,configurable:false};function readOperation(e,t,r,A){if(e[s]==="loading"){throw new l("Invalid state","InvalidStateError")}e[s]="loading";e[o]=null;e[n]=null;const c=t.stream();const u=c.getReader();const p=[];let g=u.read();let h=true;(async()=>{while(!e[i]){try{const{done:c,value:l}=await g;if(h&&!e[i]){queueMicrotask((()=>{fireAProgressEvent("loadstart",e)}))}h=false;if(!c&&d.isUint8Array(l)){p.push(l);if((e[a]===undefined||Date.now()-e[a]>=50)&&!e[i]){e[a]=Date.now();queueMicrotask((()=>{fireAProgressEvent("progress",e)}))}g=u.read()}else if(c){queueMicrotask((()=>{e[s]="done";try{const s=packageData(p,r,t.type,A);if(e[i]){return}e[o]=s;fireAProgressEvent("load",e)}catch(t){e[n]=t;fireAProgressEvent("error",e)}if(e[s]!=="loading"){fireAProgressEvent("loadend",e)}}));break}}catch(t){if(e[i]){return}queueMicrotask((()=>{e[s]="done";e[n]=t;fireAProgressEvent("error",e);if(e[s]!=="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,s){switch(t){case"DataURL":{let t="data:";const s=p(r||"application/octet-stream");if(s!=="failure"){t+=u(s)}t+=";base64,";const n=new g("latin1");for(const r of e){t+=h(n.write(r))}t+=h(n.end());return t}case"Text":{let t="failure";if(s){t=c(s)}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 s of e){t+=r.write(s)}t+=r.end();return t}}}function decode(e,t){const r=combineByteSequences(e);const s=BOMSniffing(r);let n=0;if(s!==null){t=s;n=s==="UTF-8"?3:2}const o=r.slice(n);return new TextDecoder(t).decode(o)}function BOMSniffing(e){const[t,r,s]=e;if(t===239&&r===187&&s===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:m,readOperation:readOperation,fireAProgressEvent:fireAProgressEvent}},2899:(e,t,r)=>{"use strict";const s=Symbol.for("undici.globalDispatcher.1");const{InvalidArgumentError:n}=r(2366);const o=r(8840);if(getGlobalDispatcher()===undefined){setGlobalDispatcher(new o)}function setGlobalDispatcher(e){if(!e||typeof e.dispatch!=="function"){throw new n("Argument agent must implement Agent")}Object.defineProperty(globalThis,s,{value:e,writable:true,enumerable:false,configurable:false})}function getGlobalDispatcher(){return globalThis[s]}e.exports={setGlobalDispatcher:setGlobalDispatcher,getGlobalDispatcher:getGlobalDispatcher}},253:e=>{"use strict";e.exports=class DecoratorHandler{constructor(e){this.handler=e}onConnect(...e){return this.handler.onConnect(...e)}onError(...e){return this.handler.onError(...e)}onUpgrade(...e){return this.handler.onUpgrade(...e)}onHeaders(...e){return this.handler.onHeaders(...e)}onData(...e){return this.handler.onData(...e)}onComplete(...e){return this.handler.onComplete(...e)}onBodySent(...e){return this.handler.onBodySent(...e)}}},292:(e,t,r)=>{"use strict";const s=r(7497);const{kBodyUsed:n}=r(3932);const o=r(9491);const{InvalidArgumentError:i}=r(2366);const a=r(2361);const A=[300,301,302,303,307,308];const c=Symbol("body");class BodyAsyncIterable{constructor(e){this[c]=e;this[n]=false}async*[Symbol.asyncIterator](){o(!this[n],"disturbed");this[n]=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")}s.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(s.isStream(this.opts.body)){if(s.bodyLength(this.opts.body)===0){this.opts.body.on("data",(function(){o(false)}))}if(typeof this.opts.body.readableDidRead!=="boolean"){this.opts.body[n]=false;a.prototype.on.call(this.opts.body,"data",(function(){this[n]=true}))}}else if(this.opts.body&&typeof this.opts.body.pipeTo==="function"){this.opts.body=new BodyAsyncIterable(this.opts.body)}else if(this.opts.body&&typeof this.opts.body!=="string"&&!ArrayBuffer.isView(this.opts.body)&&s.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,n){this.location=this.history.length>=this.maxRedirections||s.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,n)}const{origin:o,pathname:i,search:a}=s.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 s=r(9491);const{kRetryHandlerDefaultRetry:n}=r(3932);const{RequestRetryError:o}=r(2366);const{isDisturbed:i,parseHeaders:a,parseRangeHeader:A}=r(7497);function calculateRetryAfterHeader(e){const t=Date.now();const r=new Date(e).getTime()-t;return r}class RetryHandler{constructor(e,t){const{retryOptions:r,...s}=e;const{retry:o,maxRetries:i,maxTimeout:a,minTimeout:A,timeoutFactor:c,methods:l,errorCodes:u,retryAfter:p,statusCodes:d}=r??{};this.dispatch=t.dispatch;this.handler=t.handler;this.opts=s;this.abort=null;this.aborted=false;this.retryOpts={retry:o??RetryHandler[n],retryAfter:p??true,maxTimeout:a??30*1e3,timeout:A??500,timeoutFactor:c??2,maxRetries:i??5,methods:l??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:d??[500,502,503,504,429],errorCodes:u??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE"]};this.retryCount=0;this.start=0;this.end=null;this.etag=null;this.resume=null;this.handler.onConnect((e=>{this.aborted=true;if(this.abort){this.abort(e)}else{this.reason=e}}))}onRequestSent(){if(this.handler.onRequestSent){this.handler.onRequestSent()}}onUpgrade(e,t,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[n](e,{state:t,opts:r},s){const{statusCode:n,code:o,headers:i}=e;const{method:a,retryOptions:A}=r;const{maxRetries:c,timeout:l,maxTimeout:u,timeoutFactor:p,statusCodes:d,errorCodes:g,methods:h}=A;let{counter:m,currentTimeout:E}=t;E=E!=null&&E>0?E:l;if(o&&o!=="UND_ERR_REQ_RETRY"&&o!=="UND_ERR_SOCKET"&&!g.includes(o)){s(e);return}if(Array.isArray(h)&&!h.includes(a)){s(e);return}if(n!=null&&Array.isArray(d)&&!d.includes(n)){s(e);return}if(m>c){s(e);return}let C=i!=null&&i["retry-after"];if(C){C=Number(C);C=isNaN(C)?calculateRetryAfterHeader(C):C*1e3}const I=C>0?Math.min(C,u):Math.min(E*p**m,u);t.currentTimeout=I;setTimeout((()=>s(null)),I)}onHeaders(e,t,r,n){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:n,size:a,end:c=a}=t;s(this.start===n,"content-range mismatch");s(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,n)}const{start:a,size:c,end:l=c}=o;s(a!=null&&Number.isFinite(a)&&this.start!==a,"content-range mismatch");s(Number.isFinite(a));s(l!=null&&Number.isFinite(l)&&this.end!==l,"invalid content-length");this.start=a;this.end=l}if(this.end==null){const e=i["content-length"];this.end=e!=null?Number(e):null}s(Number.isFinite(this.start));s(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,n)}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},3167:(e,t,r)=>{"use strict";const s=r(292);function createRedirectInterceptor({maxRedirections:e}){return t=>function Intercept(r,n){const{maxRedirections:o=e}=r;if(!o){return t(r,n)}const i=new s(t,o,r,n);r={...r,maxRedirections:0};return t(r,i)}}e.exports=createRedirectInterceptor},5749:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.SPECIAL_HEADERS=t.HEADER_STATE=t.MINOR=t.MAJOR=t.CONNECTION_TOKEN_CHARS=t.HEADER_CHARS=t.TOKEN=t.STRICT_TOKEN=t.HEX=t.URL_CHAR=t.STRICT_URL_CHAR=t.USERINFO_CHARS=t.MARK=t.ALPHANUM=t.NUM=t.HEX_MAP=t.NUM_MAP=t.ALPHA=t.FINISH=t.H_METHOD_MAP=t.METHOD_MAP=t.METHODS_RTSP=t.METHODS_ICE=t.METHODS_HTTP=t.METHODS=t.LENIENT_FLAGS=t.FLAGS=t.TYPE=t.ERROR=void 0;const s=r(4778);var n;(function(e){e[e["OK"]=0]="OK";e[e["INTERNAL"]=1]="INTERNAL";e[e["STRICT"]=2]="STRICT";e[e["LF_EXPECTED"]=3]="LF_EXPECTED";e[e["UNEXPECTED_CONTENT_LENGTH"]=4]="UNEXPECTED_CONTENT_LENGTH";e[e["CLOSED_CONNECTION"]=5]="CLOSED_CONNECTION";e[e["INVALID_METHOD"]=6]="INVALID_METHOD";e[e["INVALID_URL"]=7]="INVALID_URL";e[e["INVALID_CONSTANT"]=8]="INVALID_CONSTANT";e[e["INVALID_VERSION"]=9]="INVALID_VERSION";e[e["INVALID_HEADER_TOKEN"]=10]="INVALID_HEADER_TOKEN";e[e["INVALID_CONTENT_LENGTH"]=11]="INVALID_CONTENT_LENGTH";e[e["INVALID_CHUNK_SIZE"]=12]="INVALID_CHUNK_SIZE";e[e["INVALID_STATUS"]=13]="INVALID_STATUS";e[e["INVALID_EOF_STATE"]=14]="INVALID_EOF_STATE";e[e["INVALID_TRANSFER_ENCODING"]=15]="INVALID_TRANSFER_ENCODING";e[e["CB_MESSAGE_BEGIN"]=16]="CB_MESSAGE_BEGIN";e[e["CB_HEADERS_COMPLETE"]=17]="CB_HEADERS_COMPLETE";e[e["CB_MESSAGE_COMPLETE"]=18]="CB_MESSAGE_COMPLETE";e[e["CB_CHUNK_HEADER"]=19]="CB_CHUNK_HEADER";e[e["CB_CHUNK_COMPLETE"]=20]="CB_CHUNK_COMPLETE";e[e["PAUSED"]=21]="PAUSED";e[e["PAUSED_UPGRADE"]=22]="PAUSED_UPGRADE";e[e["PAUSED_H2_UPGRADE"]=23]="PAUSED_H2_UPGRADE";e[e["USER"]=24]="USER"})(n=t.ERROR||(t.ERROR={}));var 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=s.enumToMap(A);t.H_METHOD_MAP={};Object.keys(t.METHOD_MAP).forEach((e=>{if(/^H/.test(e)){t.H_METHOD_MAP[e]=t.METHOD_MAP[e]}}));var c;(function(e){e[e["SAFE"]=0]="SAFE";e[e["SAFE_WITH_CB"]=1]="SAFE_WITH_CB";e[e["UNSAFE"]=2]="UNSAFE"})(c=t.FINISH||(t.FINISH={}));t.ALPHA=[];for(let e="A".charCodeAt(0);e<="Z".charCodeAt(0);e++){t.ALPHA.push(String.fromCharCode(e));t.ALPHA.push(String.fromCharCode(e+32))}t.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};t.HEX_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15};t.NUM=["0","1","2","3","4","5","6","7","8","9"];t.ALPHANUM=t.ALPHA.concat(t.NUM);t.MARK=["-","_",".","!","~","*","'","(",")"];t.USERINFO_CHARS=t.ALPHANUM.concat(t.MARK).concat(["%",";",":","&","=","+","$",","]);t.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(t.ALPHANUM);t.URL_CHAR=t.STRICT_URL_CHAR.concat(["\t","\f"]);for(let e=128;e<=255;e++){t.URL_CHAR.push(e)}t.HEX=t.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);t.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(t.ALPHANUM);t.TOKEN=t.STRICT_TOKEN.concat([" "]);t.HEADER_CHARS=["\t"];for(let e=32;e<=255;e++){if(e!==127){t.HEADER_CHARS.push(e)}}t.CONNECTION_TOKEN_CHARS=t.HEADER_CHARS.filter((e=>e!==44));t.MAJOR=t.NUM_MAP;t.MINOR=t.MAJOR;var l;(function(e){e[e["GENERAL"]=0]="GENERAL";e[e["CONNECTION"]=1]="CONNECTION";e[e["CONTENT_LENGTH"]=2]="CONTENT_LENGTH";e[e["TRANSFER_ENCODING"]=3]="TRANSFER_ENCODING";e[e["UPGRADE"]=4]="UPGRADE";e[e["CONNECTION_KEEP_ALIVE"]=5]="CONNECTION_KEEP_ALIVE";e[e["CONNECTION_CLOSE"]=6]="CONNECTION_CLOSE";e[e["CONNECTION_UPGRADE"]=7]="CONNECTION_UPGRADE";e[e["TRANSFER_ENCODING_CHUNKED"]=8]="TRANSFER_ENCODING_CHUNKED"})(l=t.HEADER_STATE||(t.HEADER_STATE={}));t.SPECIAL_HEADERS={connection:l.CONNECTION,"content-length":l.CONTENT_LENGTH,"proxy-connection":l.CONNECTION,"transfer-encoding":l.TRANSFER_ENCODING,upgrade:l.UPGRADE}},9827:e=>{e.exports="AGFzbQEAAAABMAhgAX8Bf2ADf39/AX9gBH9/f38Bf2AAAGADf39/AGABfwBgAn9/AGAGf39/f39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQACA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAA0ZFAwMEAAAFAAAAAAAABQEFAAUFBQAABgAAAAAGBgYGAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAAABAQcAAAUFAwABBAUBcAESEgUDAQACBggBfwFBgNQECwfRBSIGbWVtb3J5AgALX2luaXRpYWxpemUACRlfX2luZGlyZWN0X2Z1bmN0aW9uX3RhYmxlAQALbGxodHRwX2luaXQAChhsbGh0dHBfc2hvdWxkX2tlZXBfYWxpdmUAQQxsbGh0dHBfYWxsb2MADAZtYWxsb2MARgtsbGh0dHBfZnJlZQANBGZyZWUASA9sbGh0dHBfZ2V0X3R5cGUADhVsbGh0dHBfZ2V0X2h0dHBfbWFqb3IADxVsbGh0dHBfZ2V0X2h0dHBfbWlub3IAEBFsbGh0dHBfZ2V0X21ldGhvZAARFmxsaHR0cF9nZXRfc3RhdHVzX2NvZGUAEhJsbGh0dHBfZ2V0X3VwZ3JhZGUAEwxsbGh0dHBfcmVzZXQAFA5sbGh0dHBfZXhlY3V0ZQAVFGxsaHR0cF9zZXR0aW5nc19pbml0AB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AAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAA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2AgAgASAAQQFyNgIECwJAIABB/wFLDQAgAEF4cUGw0ICAAGohAgJAAkBBACgCiNCAgAAiBEEBIABBA3Z0IgBxDQBBACAEIAByNgKI0ICAACACIQAMAQsgAigCCCEACyAAIAE2AgwgAiABNgIIIAEgAjYCDCABIAA2AggPC0EfIQICQCAAQf///wdLDQAgAEEIdiICIAJBgP4/akEQdkEIcSICdCIEIARBgOAfakEQdkEEcSIEdCIGIAZBgIAPakEQdkECcSIGdEEPdiACIARyIAZyayICQQF0IAAgAkEVanZBAXFyQRxqIQILIAEgAjYCHCABQgA3AhAgAkECdEG40oCAAGohBAJAAkBBACgCjNCAgAAiBkEBIAJ0IgNxDQAgBCABNgIAQQAgBiADcjYCjNCAgAAgASAENgIYIAEgATYCCCABIAE2AgwMAQsgAEEAQRkgAkEBdmsgAkEfRht0IQIgBCgCACEGAkADQCAGIgQoAgRBeHEgAEYNASACQR12IQYgAkEBdCECIAQgBkEEcWpBEGoiAygCACIGDQALIAMgATYCACABIAQ2AhggASABNgIMIAEgATYCCAwBCyAEKAIIIgAgATYCDCAEIAE2AgggAUEANgIYIAEgBDYCDCABIAA2AggLQQBBACgCqNCAgABBf2oiAUF/IAEbNgKo0ICAAAsLBAAAAAtOAAJAIAANAD8AQRB0DwsCQCAAQf//A3ENACAAQX9MDQACQCAAQRB2QAAiAEF/Rw0AQQBBMDYC+NOAgABBfw8LIABBEHQPCxDKgICAAAAL8gICA38BfgJAIAJFDQAgACABOgAAIAIgAGoiA0F/aiABOgAAIAJBA0kNACAAIAE6AAIgACABOgABIANBfWogAToAACADQX5qIAE6AAAgAkEHSQ0AIAAgAToAAyADQXxqIAE6AAAgAkEJSQ0AIABBACAAa0EDcSIEaiIDIAFB/wFxQYGChAhsIgE2AgAgAyACIARrQXxxIgRqIgJBfGogATYCACAEQQlJDQAgAyABNgIIIAMgATYCBCACQXhqIAE2AgAgAkF0aiABNgIAIARBGUkNACADIAE2AhggAyABNgIUIAMgATYCECADIAE2AgwgAkFwai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uaWVudF9rZWVwX2FsaXZlACQkbGxodHRwX3NldF9sZW5pZW50X3RyYW5zZmVyX2VuY29kaW5nACUYbGxodHRwX21lc3NhZ2VfbmVlZHNfZW9mAD8JFwEAQQELEQECAwQFCwYHNTk3MS8tJyspCrLgAkUCAAsIABCIgICAAAsZACAAEMKAgIAAGiAAIAI2AjggACABOgAoCxwAIAAgAC8BMiAALQAuIAAQwYCAgAAQgICAgAALKgEBf0HAABDGgICAACIBEMKAgIAAGiABQYCIgIAANgI4IAEgADoAKCABCwoAIAAQyICAgAALBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LRQEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABDCgICAABogACAENgI4IAAgAzoAKCAAIAI6AC0gACABNgIYCxEAIAAgASABIAJqEMOAgIAACxAAIABBAEHcABDMgICAABoLZwEBf0EAIQECQCAAKAIMDQACQAJAAkACQCAALQAvDgMBAAMCCyAAKAI4IgFFDQAgASgCLCIBRQ0AIAAgARGAgICAAAAiAQ0DC0EADwsQyoCAgAAACyAAQcOWgIAANgIQQQ4hAQsgAQseAAJAIAAoAgwNACAAQdGbgIAANgIQIABBFTYCDAsLFgACQCAAKAIMQRVHDQAgAEEANgIMCwsWAAJAIAAoAgxBFkcNACAAQQA2AgwLCwcAIAAoAgwLBwAgACgCEAsJACAAIAE2AhALBwAgACgCFAsiAAJAIABBJEkNABDKgICAAAALIABBAnRBoLOAgABqKAIACyIAAkAgAEEuSQ0AEMqAgIAAAAsgAEECdEGwtICAAGooAgAL7gsBAX9B66iAgAAhAQJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQA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QQAhAyAALwEwIgRBAXFFDQELQQEhAyAALQAoQQFGDQAgAC8BMkH//wNxIgVBnH9qQeQASQ0AIAVBzAFGDQAgBUGwAkYNACAEQcAAcQ0AQQAhAyAEQYgEcUGABEYNACAEQShxQQBHIQMLIABBADsBMCAAQQA6AC8gAwuZAQECfwJAAkACQCAALQAqRQ0AIAAtACtFDQBBACEBIAAvATAiAkECcUUNAQwCC0EAIQEgAC8BMCICQQFxRQ0BC0EBIQEgAC0AKEEBRg0AIAAvATJB//8DcSIAQZx/akHkAEkNACAAQcwBRg0AIABBsAJGDQAgAkHAAHENAEEAIQEgAkGIBHFBgARGDQAgAkEocUEARyEBCyABC0kBAXsgAEEQav0MAAAAAAAAAAAAAAAAAAAAACIB/QsDACAAIAH9CwMAIABBMGogAf0LAwAgAEEgaiAB/QsDACAAQd0BNgIcQQALewEBfwJAIAAoAgwiAw0AAkAgACgCBEUNACAAIAE2AgQLAkAgACABIAIQxICAgAAiAw0AIAAoAgwPCyAAIAM2AhxBACEDIAAoAgQiAUUNACAAIAEgAiAAKAIIEYGAgIAAACIBRQ0AIAAgAjYCFCAAIAE2AgwgASEDCyADC+TzAQMOfwN+BH8jgICAgABBEGsiAySAgICAACABIQQgASEFIAEhBiABIQcgASEIIAEhCSABIQogASELIAEhDCABIQ0gASEOIAEhDwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAA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JAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIBAOxwEAAQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB4fICEjJSg/QEFERUZHSElKS0xNT1BRUlPeA1dZW1xdYGJlZmdoaWprbG1vcHFyc3R1dnd4eXp7fH1+gAGCAYUBhgGHAYkBiwGMAY0BjgGPAZABkQGUAZUBlgGXAZgBmQGaAZsBnAGdAZ4BnwGgAaEBogGjAaQBpQGmAacBqAGpAaoBqwGsAa0BrgGvAbABsQGyAbMBtAG1AbYBtwG4AbkBugG7AbwBvQG+Ab8BwAHBAcIBwwHEAcUBxgHHAcgByQHKAcsBzAHNAc4BzwHQAdEB0gHTAdQB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AIAAgBCABEK2AgIAAIgQNACABIQEMqwELIABB2gA2AhwgACABNgIUIAAgBDYCDEEAIRAMvAELIAAoAgQhBCAAQQA2AgQCQCAAIAQgARCtgICAACIEDQAgASEBDKkBCyAAQdwANgIcIAAgATYCFCAAIAQ2AgxBACEQDLsBCwJAIAEtAABBUGoiEEH/AXFBCk8NACAAIBA6ACogAUEBaiEBQc8AIRAMogELIAAoAgQhBCAAQQA2AgQCQCAAIAQgARCtgICAACIEDQAgASEBDKcBCyAAQd4ANgIcIAAgATYCFCAAIAQ2AgxBACEQDLoBCyAAQQA2AgAgF0EBaiEBAkAgAC0AKUEjTw0AIAEhAQxZCyAAQQA2AhwgACABNgIUIABB04mAgAA2AhAgAEEINgIMQQAhEAy5AQsgAEEANgIAC0EAIRAgAEEANgIcIAAgATYCFCAAQZCzgIAANgIQIABBCDYCDAy3AQsgAEEANgIAIBdBAWohAQJAIAAtAClBIUcNACABIQEMVgsgAEEANgIcIAAgATYCFCAAQZuKgIAANgIQIABBCDYCDEEAIRAMtgELIABBADYCACAXQQFqIQECQCAALQApIhBBXWpBC08NACABIQEMVQsCQCAQQQZLDQBBASAQdEHKAHFFDQAgASEBDFULQQAhECAAQQA2AhwgACABNgIUIABB94mAgAA2AhAgAEEINgIMDLUBCyAQQRVGDXEgAEEANgIcIAAgATYCFCAAQbmNgIAANgIQIABBGjYCDEEAIRAMtAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFQLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMswELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMsgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMsQELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFELIABB5QA2AhwgACABNgIUIAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw=="},4778:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.enumToMap=void 0;function enumToMap(e){const t={};Object.keys(e).forEach((r=>{const s=e[r];if(typeof s==="number"){t[r]=s}}));return t}t.enumToMap=enumToMap},6004:(e,t,r)=>{"use strict";const{kClients:s}=r(3932);const n=r(8840);const{kAgent:o,kMockAgentSet:i,kMockAgentGet:a,kDispatches:A,kIsMockActive:c,kNetConnect:l,kGetNetConnect:u,kOptions:p,kFactory:d}=r(4745);const g=r(1287);const h=r(7220);const{matchValue:m,buildMockOptions:E}=r(9700);const{InvalidArgumentError:C,UndiciError:I}=r(2366);const B=r(8648);const Q=r(5024);const b=r(5464);class FakeWeakRef{constructor(e){this.value=e}deref(){return this.value}}class MockAgent extends B{constructor(e){super(e);this[l]=true;this[c]=true;if(e&&e.agent&&typeof e.agent.dispatch!=="function"){throw new C("Argument opts.agent must implement Agent")}const t=e&&e.agent?e.agent:new n(e);this[o]=t;this[s]=t[s];this[p]=E(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[s].clear()}deactivate(){this[c]=false}activate(){this[c]=true}enableNetConnect(e){if(typeof e==="string"||typeof e==="function"||e instanceof RegExp){if(Array.isArray(this[l])){this[l].push(e)}else{this[l]=[e]}}else if(typeof e==="undefined"){this[l]=true}else{throw new C("Unsupported matcher. Must be one of String|Function|RegExp.")}}disableNetConnect(){this[l]=false}get isMockActive(){return this[c]}[i](e,t){this[s].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[s].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[s])){const s=r.deref();if(s&&typeof t!=="string"&&m(t,e)){const t=this[d](e);this[i](e,t);t[A]=s[A];return t}}}[u](){return this[l]}pendingInterceptors(){const e=this[s];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 I(`\n${r.count} ${r.noun} ${r.is} pending:\n\n${e.format(t)}\n`.trim())}}e.exports=MockAgent},1287:(e,t,r)=>{"use strict";const{promisify:s}=r(3837);const n=r(1735);const{buildMockDispatch:o}=r(9700);const{kDispatches:i,kMockAgent:a,kClose:A,kOriginalClose:c,kOrigin:l,kOriginalDispatch:u,kConnected:p}=r(4745);const{MockInterceptor:d}=r(7857);const g=r(3932);const{InvalidArgumentError:h}=r(2366);class MockClient extends n{constructor(e,t){super(e,t);if(!t||!t.agent||typeof t.agent.dispatch!=="function"){throw new h("Argument opts.agent must implement Agent")}this[a]=t.agent;this[l]=e;this[i]=[];this[p]=1;this[u]=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 s(this[c])();this[p]=0;this[a][g.kClients].delete(this[l])}}e.exports=MockClient},2703:(e,t,r)=>{"use strict";const{UndiciError:s}=r(2366);class MockNotMatchedError extends s{constructor(e){super(e);Error.captureStackTrace(this,MockNotMatchedError);this.name="MockNotMatchedError";this.message=e||"The request does not match any registered mock dispatches";this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}}e.exports={MockNotMatchedError:MockNotMatchedError}},7857:(e,t,r)=>{"use strict";const{getResponseData:s,buildKey:n,addMockDispatch:o}=r(9700);const{kDispatches:i,kDispatchKey:a,kDefaultHeaders:A,kDefaultTrailers:c,kContentLength:l,kMockDispatch:u}=r(4745);const{InvalidArgumentError:p}=r(2366);const{buildURL:d}=r(7497);class MockScope{constructor(e){this[u]=e}delay(e){if(typeof e!=="number"||!Number.isInteger(e)||e<=0){throw new p("waitInMs must be a valid integer > 0")}this[u].delay=e;return this}persist(){this[u].persist=true;return this}times(e){if(typeof e!=="number"||!Number.isInteger(e)||e<=0){throw new p("repeatTimes must be a valid integer > 0")}this[u].times=e;return this}}class MockInterceptor{constructor(e,t){if(typeof e!=="object"){throw new p("opts must be an object")}if(typeof e.path==="undefined"){throw new p("opts.path must be defined")}if(typeof e.method==="undefined"){e.method="GET"}if(typeof e.path==="string"){if(e.query){e.path=d(e.path,e.query)}else{const t=new URL(e.path,"data://");e.path=t.pathname+t.search}}if(typeof e.method==="string"){e.method=e.method.toUpperCase()}this[a]=n(e);this[i]=t;this[A]={};this[c]={};this[l]=false}createMockScopeDispatchData(e,t,r={}){const n=s(t);const o=this[l]?{"content-length":n.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:s,data:n="",responseOptions:o={}}=r;this.validateReplyParameters(s,n,o);return{...this.createMockScopeDispatchData(s,n,o)}};const t=o(this[i],this[a],wrappedDefaultsCallback);return new MockScope(t)}const[t,r="",s={}]=[...arguments];this.validateReplyParameters(t,r,s);const n=this.createMockScopeDispatchData(t,r,s);const A=o(this[i],this[a],n);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[l]=true;return this}}e.exports.MockInterceptor=MockInterceptor;e.exports.MockScope=MockScope},7220:(e,t,r)=>{"use strict";const{promisify:s}=r(3837);const n=r(780);const{buildMockDispatch:o}=r(9700);const{kDispatches:i,kMockAgent:a,kClose:A,kOriginalClose:c,kOrigin:l,kOriginalDispatch:u,kConnected:p}=r(4745);const{MockInterceptor:d}=r(7857);const g=r(3932);const{InvalidArgumentError:h}=r(2366);class MockPool extends n{constructor(e,t){super(e,t);if(!t||!t.agent||typeof t.agent.dispatch!=="function"){throw new h("Argument opts.agent must implement Agent")}this[a]=t.agent;this[l]=e;this[i]=[];this[p]=1;this[u]=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 s(this[c])();this[p]=0;this[a][g.kClients].delete(this[l])}}e.exports=MockPool},4745:e=>{"use strict";e.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected")}},9700:(e,t,r)=>{"use strict";const{MockNotMatchedError:s}=r(2703);const{kDispatches:n,kMockAgent:o,kOriginalDispatch:i,kOrigin:a,kGetNetConnect:A}=r(4745);const{buildURL:c,nop:l}=r(7497);const{STATUS_CODES:u}=r(3685);const{types:{isPromise:p}}=r(3837);function matchValue(e,t){if(typeof e==="string"){return e===t}if(e instanceof RegExp){return e.test(t)}if(typeof e==="function"){return e(t)===true}return false}function lowerCaseEntries(e){return Object.fromEntries(Object.entries(e).map((([e,t])=>[e.toLocaleLowerCase(),t])))}function getHeaderByName(e,t){if(Array.isArray(e)){for(let r=0;r!e)).filter((({path:e})=>matchValue(safeUrl(e),n)));if(o.length===0){throw new s(`Mock dispatch not matched for path '${n}'`)}o=o.filter((({method:e})=>matchValue(e,t.method)));if(o.length===0){throw new s(`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 s(`Mock dispatch not matched for body '${t.body}'`)}o=o.filter((e=>matchHeaders(e,t.headers)));if(o.length===0){throw new s(`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 s={timesInvoked:0,times:1,persist:false,consumed:false};const n=typeof r==="function"?{callback:r}:{...r};const o={...s,...t,pending:true,data:{error:null,...n}};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:s,headers:n,query:o}=e;return{path:t,method:r,body:s,headers:n,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 u[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 s=getMockDispatch(this[n],r);s.timesInvoked++;if(s.data.callback){s.data={...s.data,...s.data.callback(e)}}const{data:{statusCode:o,data:i,headers:a,trailers:A,error:c},delay:u,persist:d}=s;const{timesInvoked:g,times:h}=s;s.consumed=!d&&g>=h;s.pending=g0){setTimeout((()=>{handleReply(this[n])}),u)}else{handleReply(this[n])}function handleReply(s,n=i){const c=Array.isArray(e.headers)?buildHeadersFromArray(e.headers):e.headers;const u=typeof n==="function"?n({...e,headers:c}):n;if(p(u)){u.then((e=>handleReply(s,e)));return}const d=getResponseData(u);const g=generateKeyValues(a);const h=generateKeyValues(A);t.abort=l;t.onHeaders(o,g,resume,getStatusText(o));t.onData(Buffer.from(d));t.onComplete(h);deleteMockDispatch(s,r)}function resume(){}return true}function buildMockDispatch(){const e=this[o];const t=this[a];const r=this[i];return function dispatch(n,o){if(e.isMockActive){try{mockDispatch.call(this,n,o)}catch(i){if(i instanceof s){const a=e[A]();if(a===false){throw new s(`${i.message}: subsequent request to origin ${t} was not allowed (net.connect disabled)`)}if(checkNetConnect(a,t)){r.call(this,n,o)}else{throw new s(`${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,n,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}},5464:(e,t,r)=>{"use strict";const{Transform:s}=r(2781);const{Console:n}=r(6206);e.exports=class PendingInterceptorsFormatter{constructor({disableColors:e}={}){this.transform=new s({transform(e,t,r){r(null,e)}});this.logger=new n({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){const t=e.map((({method:e,path:t,data:{statusCode:r},persist:s,times:n,timesInvoked:o,origin:i})=>({Method:e,Origin:i,Path:t,"Status code":r,Persistent:s?"✅":"❌",Invocations:o,Remaining:s?Infinity:n-o})));this.logger.table(t);return this.transform.read().toString()}}},5024:e=>{"use strict";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 s=e===1;const n=s?t:r;const o=s?this.singular:this.plural;return{...n,count:e,noun:o}}}},4629:e=>{"use strict";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}}},4414:(e,t,r)=>{"use strict";const s=r(8757);const n=r(4629);const{kConnected:o,kSize:i,kRunning:a,kPending:A,kQueued:c,kBusy:l,kFree:u,kUrl:p,kClose:d,kDestroy:g,kDispatch:h}=r(3932);const m=r(47);const E=Symbol("clients");const C=Symbol("needDrain");const I=Symbol("queue");const B=Symbol("closed resolve");const Q=Symbol("onDrain");const b=Symbol("onConnect");const y=Symbol("onDisconnect");const v=Symbol("onConnectionError");const w=Symbol("get dispatcher");const x=Symbol("add client");const k=Symbol("remove client");const R=Symbol("stats");class PoolBase extends s{constructor(){super();this[I]=new n;this[E]=[];this[c]=0;const e=this;this[Q]=function onDrain(t,r){const s=e[I];let n=false;while(!n){const t=s.shift();if(!t){break}e[c]--;n=!this.dispatch(t.opts,t.handler)}this[C]=n;if(!this[C]&&e[C]){e[C]=false;e.emit("drain",t,[e,...r])}if(e[B]&&s.isEmpty()){Promise.all(e[E].map((e=>e.close()))).then(e[B])}};this[b]=(t,r)=>{e.emit("connect",t,[e,...r])};this[y]=(t,r,s)=>{e.emit("disconnect",t,[e,...r],s)};this[v]=(t,r,s)=>{e.emit("connectionError",t,[e,...r],s)};this[R]=new m(this)}get[l](){return this[C]}get[o](){return this[E].filter((e=>e[o])).length}get[u](){return this[E].filter((e=>e[o]&&!e[C])).length}get[A](){let e=this[c];for(const{[A]:t}of this[E]){e+=t}return e}get[a](){let e=0;for(const{[a]:t}of this[E]){e+=t}return e}get[i](){let e=this[c];for(const{[i]:t}of this[E]){e+=t}return e}get stats(){return this[R]}async[d](){if(this[I].isEmpty()){return Promise.all(this[E].map((e=>e.close())))}else{return new Promise((e=>{this[B]=e}))}}async[g](e){while(true){const t=this[I].shift();if(!t){break}t.handler.onError(e)}return Promise.all(this[E].map((t=>t.destroy(e))))}[h](e,t){const r=this[w]();if(!r){this[C]=true;this[I].push({opts:e,handler:t});this[c]++}else if(!r.dispatch(e,t)){r[C]=true;this[C]=!this[w]()}return!this[C]}[x](e){e.on("drain",this[Q]).on("connect",this[b]).on("disconnect",this[y]).on("connectionError",this[v]);this[E].push(e);if(this[C]){process.nextTick((()=>{if(this[C]){this[Q](e[p],[this,e])}}))}return this}[k](e){e.close((()=>{const t=this[E].indexOf(e);if(t!==-1){this[E].splice(t,1)}}));this[C]=this[E].some((e=>!e[C]&&e.closed!==true&&e.destroyed!==true))}}e.exports={PoolBase:PoolBase,kClients:E,kNeedDrain:C,kAddClient:x,kRemoveClient:k,kGetDispatcher:w}},47:(e,t,r)=>{const{kFree:s,kConnected:n,kPending:o,kQueued:i,kRunning:a,kSize:A}=r(3932);const c=Symbol("pool");class PoolStats{constructor(e){this[c]=e}get connected(){return this[c][n]}get free(){return this[c][s]}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},780:(e,t,r)=>{"use strict";const{PoolBase:s,kClients:n,kNeedDrain:o,kAddClient:i,kGetDispatcher:a}=r(4414);const A=r(1735);const{InvalidArgumentError:c}=r(2366);const l=r(7497);const{kUrl:u,kInterceptors:p}=r(3932);const d=r(9218);const g=Symbol("options");const h=Symbol("connections");const m=Symbol("factory");function defaultFactory(e,t){return new A(e,t)}class Pool extends s{constructor(e,{connections:t,factory:r=defaultFactory,connect:s,connectTimeout:n,tls:o,maxCachedSessions:i,socketPath:a,autoSelectFamily:A,autoSelectFamilyAttemptTimeout:E,allowH2:C,...I}={}){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(s!=null&&typeof s!=="function"&&typeof s!=="object"){throw new c("connect must be a function or an object")}if(typeof s!=="function"){s=d({...o,maxCachedSessions:i,allowH2:C,socketPath:a,timeout:n,...l.nodeHasAutoSelectFamily&&A?{autoSelectFamily:A,autoSelectFamilyAttemptTimeout:E}:undefined,...s})}this[p]=I.interceptors&&I.interceptors.Pool&&Array.isArray(I.interceptors.Pool)?I.interceptors.Pool:[];this[h]=t||null;this[u]=l.parseOrigin(e);this[g]={...l.deepClone(I),connect:s,allowH2:C};this[g].interceptors=I.interceptors?{...I.interceptors}:undefined;this[m]=r}[a](){let e=this[n].find((e=>!e[o]));if(e){return e}if(!this[h]||this[n].length{"use strict";const{kProxy:s,kClose:n,kDestroy:o,kInterceptors:i}=r(3932);const{URL:a}=r(7310);const A=r(8840);const c=r(780);const l=r(8757);const{InvalidArgumentError:u,RequestAbortedError:p}=r(2366);const d=r(9218);const g=Symbol("proxy agent");const h=Symbol("proxy client");const m=Symbol("proxy headers");const E=Symbol("request tls settings");const C=Symbol("proxy tls settings");const I=Symbol("connect endpoint function");function defaultProtocolPort(e){return e==="https:"?443:80}function buildProxyOptions(e){if(typeof e==="string"){e={uri:e}}if(!e||!e.uri){throw new u("Proxy opts.uri is mandatory")}return{uri:e.uri,protocol:e.protocol||"https"}}function defaultFactory(e,t){return new c(e,t)}class ProxyAgent extends l{constructor(e){super(e);this[s]=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 u("Proxy opts.uri is mandatory")}const{clientFactory:t=defaultFactory}=e;if(typeof t!=="function"){throw new u("Proxy opts.clientFactory must be a function.")}this[E]=e.requestTls;this[C]=e.proxyTls;this[m]=e.headers||{};const r=new a(e.uri);const{origin:n,port:o,host:c,username:l,password:B}=r;if(e.auth&&e.token){throw new u("opts.auth cannot be used in combination with opts.token")}else if(e.auth){this[m]["proxy-authorization"]=`Basic ${e.auth}`}else if(e.token){this[m]["proxy-authorization"]=e.token}else if(l&&B){this[m]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(l)}:${decodeURIComponent(B)}`).toString("base64")}`}const Q=d({...e.proxyTls});this[I]=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:s,statusCode:i}=await this[h].connect({origin:n,port:o,path:r,signal:e.signal,headers:{...this[m],host:c}});if(i!==200){s.on("error",(()=>{})).destroy();t(new p(`Proxy response (${i}) !== 200 when HTTP Tunneling`))}if(e.protocol!=="https:"){t(null,s);return}let a;if(this[E]){a=this[E].servername}else{a=e.servername}this[I]({...e,servername:a,httpSocket:s},t)}catch(e){t(e)}}})}dispatch(e,t){const{host:r}=new a(e.origin);const s=buildHeaders(e.headers);throwIfProxyAuthIsSent(s);return this[g].dispatch({...e,headers:{...s,host:r}},t)}async[n](){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 u("Proxy-Authorization should be sent in ProxyAgent constructor")}}e.exports=ProxyAgent},2882:e=>{"use strict";let t=Date.now();let r;const s=[];function onTimeout(){t=Date.now();let e=s.length;let r=0;while(r0&&t>=n.state){n.state=-1;n.callback(n.opaque)}if(n.state===-1){n.state=-2;if(r!==e-1){s[r]=s.pop()}else{s.pop()}e-=1}else{r+=1}}if(s.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){s.push(this);if(!r||s.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)}}}},250:(e,t,r)=>{"use strict";const s=r(7643);const{uid:n,states:o}=r(6487);const{kReadyState:i,kSentClose:a,kByteParser:A,kReceivedClose:c}=r(7380);const{fireEvent:l,failWebsocketConnection:u}=r(5714);const{CloseEvent:p}=r(1879);const{makeRequest:d}=r(6453);const{fetching:g}=r(8802);const{Headers:h}=r(1855);const{getGlobalDispatcher:m}=r(2899);const{kHeadersList:E}=r(3932);const C={};C.open=s.channel("undici:websocket:open");C.close=s.channel("undici:websocket:close");C.socketError=s.channel("undici:websocket:socket_error");let I;try{I=r(6113)}catch{}function establishWebSocketConnection(e,t,r,s,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)[E];a.headersList=e}const A=I.randomBytes(16).toString("base64");a.headersList.append("sec-websocket-key",A);a.headersList.append("sec-websocket-version","13");for(const e of t){a.headersList.append("sec-websocket-protocol",e)}const c="";const l=g({request:a,useParallelQueue:true,dispatcher:o.dispatcher??m(),processResponse(e){if(e.type==="error"||e.status!==101){u(r,"Received network error or non-101 status code.");return}if(t.length!==0&&!e.headersList.get("Sec-WebSocket-Protocol")){u(r,"Server did not respond with sent protocols.");return}if(e.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){u(r,'Server did not set Upgrade header to "websocket".');return}if(e.headersList.get("Connection")?.toLowerCase()!=="upgrade"){u(r,'Server did not set Connection header to "upgrade".');return}const o=e.headersList.get("Sec-WebSocket-Accept");const i=I.createHash("sha1").update(A+n).digest("base64");if(o!==i){u(r,"Incorrect hash received in Sec-WebSocket-Accept header.");return}const l=e.headersList.get("Sec-WebSocket-Extensions");if(l!==null&&l!==c){u(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")){u(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(C.open.hasSubscribers){C.open.publish({address:e.socket.address(),protocol:p,extensions:l})}s(e)}});return l}function onSocketData(e){if(!this.ws[A].write(e)){this.pause()}}function onSocketClose(){const{ws:e}=this;const t=e[a]&&e[c];let r=1005;let s="";const n=e[A].closingInfo;if(n){r=n.code??1005;s=n.reason}else if(!e[a]){r=1006}e[i]=o.CLOSED;l("close",e,p,{wasClean:t,code:r,reason:s});if(C.close.hasSubscribers){C.close.publish({websocket:e,code:r,reason:s})}}function onSocketError(e){const{ws:t}=this;t[i]=o.CLOSING;if(C.socketError.hasSubscribers){C.socketError.publish(e)}this.destroy()}e.exports={establishWebSocketConnection:establishWebSocketConnection}},6487:e=>{"use strict";const t="258EAFA5-E914-47DA-95CA-C5AB0DC85B11";const r={enumerable:true,writable:false,configurable:false};const s={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3};const n={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:s,opcodes:n,maxUnsigned16Bit:o,parserStates:i,emptyBuffer:a}},1879:(e,t,r)=>{"use strict";const{webidl:s}=r(9111);const{kEnumerableProperty:n}=r(7497);const{MessagePort:o}=r(1267);class MessageEvent extends Event{#o;constructor(e,t={}){s.argumentLengthCheck(arguments,1,{header:"MessageEvent constructor"});e=s.converters.DOMString(e);t=s.converters.MessageEventInit(t);super(e,t);this.#o=t}get data(){s.brandCheck(this,MessageEvent);return this.#o.data}get origin(){s.brandCheck(this,MessageEvent);return this.#o.origin}get lastEventId(){s.brandCheck(this,MessageEvent);return this.#o.lastEventId}get source(){s.brandCheck(this,MessageEvent);return this.#o.source}get ports(){s.brandCheck(this,MessageEvent);if(!Object.isFrozen(this.#o.ports)){Object.freeze(this.#o.ports)}return this.#o.ports}initMessageEvent(e,t=false,r=false,n=null,o="",i="",a=null,A=[]){s.brandCheck(this,MessageEvent);s.argumentLengthCheck(arguments,1,{header:"MessageEvent.initMessageEvent"});return new MessageEvent(e,{bubbles:t,cancelable:r,data:n,origin:o,lastEventId:i,source:a,ports:A})}}class CloseEvent extends Event{#o;constructor(e,t={}){s.argumentLengthCheck(arguments,1,{header:"CloseEvent constructor"});e=s.converters.DOMString(e);t=s.converters.CloseEventInit(t);super(e,t);this.#o=t}get wasClean(){s.brandCheck(this,CloseEvent);return this.#o.wasClean}get code(){s.brandCheck(this,CloseEvent);return this.#o.code}get reason(){s.brandCheck(this,CloseEvent);return this.#o.reason}}class ErrorEvent extends Event{#o;constructor(e,t){s.argumentLengthCheck(arguments,1,{header:"ErrorEvent constructor"});super(e,t);e=s.converters.DOMString(e);t=s.converters.ErrorEventInit(t??{});this.#o=t}get message(){s.brandCheck(this,ErrorEvent);return this.#o.message}get filename(){s.brandCheck(this,ErrorEvent);return this.#o.filename}get lineno(){s.brandCheck(this,ErrorEvent);return this.#o.lineno}get colno(){s.brandCheck(this,ErrorEvent);return this.#o.colno}get error(){s.brandCheck(this,ErrorEvent);return this.#o.error}}Object.defineProperties(MessageEvent.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:true},data:n,origin:n,lastEventId:n,source:n,ports:n,initMessageEvent:n});Object.defineProperties(CloseEvent.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:true},reason:n,code:n,wasClean:n});Object.defineProperties(ErrorEvent.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:true},message:n,filename:n,lineno:n,colno:n,error:n});s.converters.MessagePort=s.interfaceConverter(o);s.converters["sequence"]=s.sequenceConverter(s.converters.MessagePort);const i=[{key:"bubbles",converter:s.converters.boolean,defaultValue:false},{key:"cancelable",converter:s.converters.boolean,defaultValue:false},{key:"composed",converter:s.converters.boolean,defaultValue:false}];s.converters.MessageEventInit=s.dictionaryConverter([...i,{key:"data",converter:s.converters.any,defaultValue:null},{key:"origin",converter:s.converters.USVString,defaultValue:""},{key:"lastEventId",converter:s.converters.DOMString,defaultValue:""},{key:"source",converter:s.nullableConverter(s.converters.MessagePort),defaultValue:null},{key:"ports",converter:s.converters["sequence"],get defaultValue(){return[]}}]);s.converters.CloseEventInit=s.dictionaryConverter([...i,{key:"wasClean",converter:s.converters.boolean,defaultValue:false},{key:"code",converter:s.converters["unsigned short"],defaultValue:0},{key:"reason",converter:s.converters.USVString,defaultValue:""}]);s.converters.ErrorEventInit=s.dictionaryConverter([...i,{key:"message",converter:s.converters.DOMString,defaultValue:""},{key:"filename",converter:s.converters.USVString,defaultValue:""},{key:"lineno",converter:s.converters["unsigned long"],defaultValue:0},{key:"colno",converter:s.converters["unsigned long"],defaultValue:0},{key:"error",converter:s.converters.any}]);e.exports={MessageEvent:MessageEvent,CloseEvent:CloseEvent,ErrorEvent:ErrorEvent}},6771:(e,t,r)=>{"use strict";const{maxUnsigned16Bit:s}=r(6487);let n;try{n=r(6113)}catch{}class WebsocketFrameSend{constructor(e){this.frameData=e;this.maskKey=n.randomBytes(4)}createFrame(e){const t=this.frameData?.byteLength??0;let r=t;let n=6;if(t>s){n+=8;r=127}else if(t>125){n+=2;r=126}const o=Buffer.allocUnsafe(t+n);o[0]=o[1]=0;o[0]|=128;o[0]=(o[0]&240)+e; -/*! ws. MIT License. Einar Otto Stangvik */o[n-4]=this.maskKey[0];o[n-3]=this.maskKey[1];o[n-2]=this.maskKey[2];o[n-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{"use strict";const{Writable:s}=r(2781);const n=r(7643);const{parserStates:o,opcodes:i,states:a,emptyBuffer:A}=r(6487);const{kReadyState:c,kSentClose:l,kResponse:u,kReceivedClose:p}=r(7380);const{isValidStatusCode:d,failWebsocketConnection:g,websocketMessageReceived:h}=r(5714);const{WebsocketFrameSend:m}=r(6771);const E={};E.ping=n.channel("undici:websocket:ping");E.pong=n.channel("undici:websocket:pong");class ByteParser extends s{#i=[];#a=0;#A=o.INFO;#c={};#l=[];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[l]){const e=Buffer.allocUnsafe(2);e.writeUInt16BE(this.#c.closeInfo.code,0);const t=new m(e);this.ws[u].socket.write(t.createFrame(i.CLOSE),(e=>{if(!e){this.ws[l]=true}}))}this.ws[c]=a.CLOSING;this.ws[p]=true;this.end();return}else if(this.#c.opcode===i.PING){const t=this.consume(r);if(!this.ws[p]){const e=new m(t);this.ws[u].socket.write(e.createFrame(i.PONG));if(E.ping.hasSubscribers){E.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(E.pong.hasSubscribers){E.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 s=t.readUInt32BE(4);this.#c.payloadLength=(r<<8)+s;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.#l.push(e);if(!this.#c.fragmented||this.#c.fin&&this.#c.opcode===i.CONTINUATION){const e=Buffer.concat(this.#l);h(this.ws,this.#c.originalOpcode,e);this.#c={};this.#l.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 s=this.#i[0];const{length:n}=s;if(n+r===e){t.set(this.#i.shift(),r);break}else if(n+r>e){t.set(s.subarray(0,e-r),r);this.#i[0]=s.subarray(e-r);break}else{t.set(this.#i.shift(),r);r+=s.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 s=t.subarray(2);if(s[0]===239&&s[1]===187&&s[2]===191){s=s.subarray(3)}if(r!==undefined&&!d(r)){return null}try{s=new TextDecoder("utf-8",{fatal:true}).decode(s)}catch{return null}return{code:r,reason:s}}get closingInfo(){return this.#c.closeInfo}}e.exports={ByteParser:ByteParser}},7380:e=>{"use strict";e.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},5714:(e,t,r)=>{"use strict";const{kReadyState:s,kController:n,kResponse:o,kBinaryType:i,kWebSocketURL:a}=r(7380);const{states:A,opcodes:c}=r(6487);const{MessageEvent:l,ErrorEvent:u}=r(1879);function isEstablished(e){return e[s]===A.OPEN}function isClosing(e){return e[s]===A.CLOSING}function isClosed(e){return e[s]===A.CLOSED}function fireEvent(e,t,r=Event,s){const n=new r(e,s);t.dispatchEvent(n)}function websocketMessageReceived(e,t,r){if(e[s]!==A.OPEN){return}let n;if(t===c.TEXT){try{n=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"){n=new Blob([r])}else{n=new Uint8Array(r).buffer}}fireEvent("message",e,l,{origin:e[a].origin,data:n})}function isValidSubprotocol(e){if(e.length===0){return false}for(const t of e){const e=t.charCodeAt(0);if(e<33||e>126||t==="("||t===")"||t==="<"||t===">"||t==="@"||t===","||t===";"||t===":"||t==="\\"||t==='"'||t==="/"||t==="["||t==="]"||t==="?"||t==="="||t==="{"||t==="}"||e===32||e===9){return false}}return true}function isValidStatusCode(e){if(e>=1e3&&e<1015){return e!==1004&&e!==1005&&e!==1006}return e>=3e3&&e<=4999}function failWebsocketConnection(e,t){const{[n]:r,[o]:s}=e;r.abort();if(s?.socket&&!s.socket.destroyed){s.socket.destroy()}if(t){fireEvent("error",e,u,{error:new Error(t)})}}e.exports={isEstablished:isEstablished,isClosing:isClosing,isClosed:isClosed,fireEvent:fireEvent,isValidSubprotocol:isValidSubprotocol,isValidStatusCode:isValidStatusCode,failWebsocketConnection:failWebsocketConnection,websocketMessageReceived:websocketMessageReceived}},1986:(e,t,r)=>{"use strict";const{webidl:s}=r(9111);const{DOMException:n}=r(7533);const{URLSerializer:o}=r(5958);const{getGlobalOrigin:i}=r(7011);const{staticPropertyDescriptors:a,states:A,opcodes:c,emptyBuffer:l}=r(6487);const{kWebSocketURL:u,kReadyState:p,kController:d,kBinaryType:g,kResponse:h,kSentClose:m,kByteParser:E}=r(7380);const{isEstablished:C,isClosing:I,isValidSubprotocol:B,failWebsocketConnection:Q,fireEvent:b}=r(5714);const{establishWebSocketConnection:y}=r(250);const{WebsocketFrameSend:v}=r(6771);const{ByteParser:w}=r(5379);const{kEnumerableProperty:x,isBlobLike:k}=r(7497);const{getGlobalDispatcher:R}=r(2899);const{types:S}=r(3837);let D=false;class WebSocket extends EventTarget{#u={open:null,error:null,close:null,message:null};#p=0;#d="";#g="";constructor(e,t=[]){super();s.argumentLengthCheck(arguments,1,{header:"WebSocket constructor"});if(!D){D=true;process.emitWarning("WebSockets are experimental, expect them to change at any time.",{code:"UNDICI-WS"})}const r=s.converters["DOMString or sequence or WebSocketInit"](t);e=s.converters.USVString(e);t=r.protocols;const o=i();let a;try{a=new URL(e,o)}catch(e){throw new n(e,"SyntaxError")}if(a.protocol==="http:"){a.protocol="ws:"}else if(a.protocol==="https:"){a.protocol="wss:"}if(a.protocol!=="ws:"&&a.protocol!=="wss:"){throw new n(`Expected a ws: or wss: protocol, got ${a.protocol}`,"SyntaxError")}if(a.hash||a.href.endsWith("#")){throw new n("Got fragment","SyntaxError")}if(typeof t==="string"){t=[t]}if(t.length!==new Set(t.map((e=>e.toLowerCase()))).size){throw new n("Invalid Sec-WebSocket-Protocol value","SyntaxError")}if(t.length>0&&!t.every((e=>B(e)))){throw new n("Invalid Sec-WebSocket-Protocol value","SyntaxError")}this[u]=new URL(a.href);this[d]=y(a,t,this,(e=>this.#h(e)),r);this[p]=WebSocket.CONNECTING;this[g]="blob"}close(e=undefined,t=undefined){s.brandCheck(this,WebSocket);if(e!==undefined){e=s.converters["unsigned short"](e,{clamp:true})}if(t!==undefined){t=s.converters.USVString(t)}if(e!==undefined){if(e!==1e3&&(e<3e3||e>4999)){throw new n("invalid code","InvalidAccessError")}}let r=0;if(t!==undefined){r=Buffer.byteLength(t);if(r>123){throw new n(`Reason must be less than 123 bytes; received ${r}`,"SyntaxError")}}if(this[p]===WebSocket.CLOSING||this[p]===WebSocket.CLOSED){}else if(!C(this)){Q(this,"Connection was closed before it was established.");this[p]=WebSocket.CLOSING}else if(!I(this)){const s=new v;if(e!==undefined&&t===undefined){s.frameData=Buffer.allocUnsafe(2);s.frameData.writeUInt16BE(e,0)}else if(e!==undefined&&t!==undefined){s.frameData=Buffer.allocUnsafe(2+r);s.frameData.writeUInt16BE(e,0);s.frameData.write(t,2,"utf-8")}else{s.frameData=l}const n=this[h].socket;n.write(s.createFrame(c.CLOSE),(e=>{if(!e){this[m]=true}}));this[p]=A.CLOSING}else{this[p]=WebSocket.CLOSING}}send(e){s.brandCheck(this,WebSocket);s.argumentLengthCheck(arguments,1,{header:"WebSocket.send"});e=s.converters.WebSocketSendData(e);if(this[p]===WebSocket.CONNECTING){throw new n("Sent before connected.","InvalidStateError")}if(!C(this)||I(this)){return}const t=this[h].socket;if(typeof e==="string"){const r=Buffer.from(e);const s=new v(r);const n=s.createFrame(c.TEXT);this.#p+=r.byteLength;t.write(n,(()=>{this.#p-=r.byteLength}))}else if(S.isArrayBuffer(e)){const r=Buffer.from(e);const s=new v(r);const n=s.createFrame(c.BINARY);this.#p+=r.byteLength;t.write(n,(()=>{this.#p-=r.byteLength}))}else if(ArrayBuffer.isView(e)){const r=Buffer.from(e,e.byteOffset,e.byteLength);const s=new v(r);const n=s.createFrame(c.BINARY);this.#p+=r.byteLength;t.write(n,(()=>{this.#p-=r.byteLength}))}else if(k(e)){const r=new v;e.arrayBuffer().then((e=>{const s=Buffer.from(e);r.frameData=s;const n=r.createFrame(c.BINARY);this.#p+=s.byteLength;t.write(n,(()=>{this.#p-=s.byteLength}))}))}}get readyState(){s.brandCheck(this,WebSocket);return this[p]}get bufferedAmount(){s.brandCheck(this,WebSocket);return this.#p}get url(){s.brandCheck(this,WebSocket);return o(this[u])}get extensions(){s.brandCheck(this,WebSocket);return this.#g}get protocol(){s.brandCheck(this,WebSocket);return this.#d}get onopen(){s.brandCheck(this,WebSocket);return this.#u.open}set onopen(e){s.brandCheck(this,WebSocket);if(this.#u.open){this.removeEventListener("open",this.#u.open)}if(typeof e==="function"){this.#u.open=e;this.addEventListener("open",e)}else{this.#u.open=null}}get onerror(){s.brandCheck(this,WebSocket);return this.#u.error}set onerror(e){s.brandCheck(this,WebSocket);if(this.#u.error){this.removeEventListener("error",this.#u.error)}if(typeof e==="function"){this.#u.error=e;this.addEventListener("error",e)}else{this.#u.error=null}}get onclose(){s.brandCheck(this,WebSocket);return this.#u.close}set onclose(e){s.brandCheck(this,WebSocket);if(this.#u.close){this.removeEventListener("close",this.#u.close)}if(typeof e==="function"){this.#u.close=e;this.addEventListener("close",e)}else{this.#u.close=null}}get onmessage(){s.brandCheck(this,WebSocket);return this.#u.message}set onmessage(e){s.brandCheck(this,WebSocket);if(this.#u.message){this.removeEventListener("message",this.#u.message)}if(typeof e==="function"){this.#u.message=e;this.addEventListener("message",e)}else{this.#u.message=null}}get binaryType(){s.brandCheck(this,WebSocket);return this[g]}set binaryType(e){s.brandCheck(this,WebSocket);if(e!=="blob"&&e!=="arraybuffer"){this[g]="blob"}else{this[g]=e}}#h(e){this[h]=e;const t=new w(this);t.on("drain",(function onParserDrain(){this.ws[h].socket.resume()}));e.socket.ws=this;this[E]=t;this[p]=A.OPEN;const r=e.headersList.get("sec-websocket-extensions");if(r!==null){this.#g=r}const s=e.headersList.get("sec-websocket-protocol");if(s!==null){this.#d=s}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:x,readyState:x,bufferedAmount:x,onopen:x,onerror:x,onclose:x,close:x,onmessage:x,binaryType:x,send:x,extensions:x,protocol:x,[Symbol.toStringTag]:{value:"WebSocket",writable:false,enumerable:false,configurable:true}});Object.defineProperties(WebSocket,{CONNECTING:a,OPEN:a,CLOSING:a,CLOSED:a});s.converters["sequence"]=s.sequenceConverter(s.converters.DOMString);s.converters["DOMString or sequence"]=function(e){if(s.util.Type(e)==="Object"&&Symbol.iterator in e){return s.converters["sequence"](e)}return s.converters.DOMString(e)};s.converters.WebSocketInit=s.dictionaryConverter([{key:"protocols",converter:s.converters["DOMString or sequence"],get defaultValue(){return[]}},{key:"dispatcher",converter:e=>e,get defaultValue(){return R()}},{key:"headers",converter:s.nullableConverter(s.converters.HeadersInit)}]);s.converters["DOMString or sequence or WebSocketInit"]=function(e){if(s.util.Type(e)==="Object"&&!(Symbol.iterator in e)){return s.converters.WebSocketInit(e)}return{protocols:s.converters["DOMString or sequence"](e)}};s.converters.WebSocketSendData=function(e){if(s.util.Type(e)==="Object"){if(k(e)){return s.converters.Blob(e,{strict:false})}if(ArrayBuffer.isView(e)||S.isAnyArrayBuffer(e)){return s.converters.BufferSource(e)}}return s.converters.USVString(e)};e.exports={WebSocket:WebSocket}},5938:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function getUserAgent(){if(typeof navigator==="object"&&"userAgent"in navigator){return navigator.userAgent}if(typeof process==="object"&&"version"in process){return`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`}return""}t.getUserAgent=getUserAgent},3872:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"v1",{enumerable:true,get:function(){return s.default}});Object.defineProperty(t,"v3",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"v4",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"v5",{enumerable:true,get:function(){return i.default}});Object.defineProperty(t,"NIL",{enumerable:true,get:function(){return a.default}});Object.defineProperty(t,"version",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"stringify",{enumerable:true,get:function(){return l.default}});Object.defineProperty(t,"parse",{enumerable:true,get:function(){return u.default}});var s=_interopRequireDefault(r(5596));var n=_interopRequireDefault(r(2427));var o=_interopRequireDefault(r(6007));var i=_interopRequireDefault(r(398));var a=_interopRequireDefault(r(1623));var A=_interopRequireDefault(r(8818));var c=_interopRequireDefault(r(7178));var l=_interopRequireDefault(r(7016));var u=_interopRequireDefault(r(1158));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},3828:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=_interopRequireDefault(r(6113));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function md5(e){if(Array.isArray(e)){e=Buffer.from(e)}else if(typeof e==="string"){e=Buffer.from(e,"utf8")}return s.default.createHash("md5").update(e).digest()}var n=md5;t["default"]=n},1623:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r="00000000-0000-0000-0000-000000000000";t["default"]=r},1158:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=_interopRequireDefault(r(7178));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function parse(e){if(!(0,s.default)(e)){throw TypeError("Invalid UUID")}let t;const r=new Uint8Array(16);r[0]=(t=parseInt(e.slice(0,8),16))>>>24;r[1]=t>>>16&255;r[2]=t>>>8&255;r[3]=t&255;r[4]=(t=parseInt(e.slice(9,13),16))>>>8;r[5]=t&255;r[6]=(t=parseInt(e.slice(14,18),16))>>>8;r[7]=t&255;r[8]=(t=parseInt(e.slice(19,23),16))>>>8;r[9]=t&255;r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255;r[11]=t/4294967296&255;r[12]=t>>>24&255;r[13]=t>>>16&255;r[14]=t>>>8&255;r[15]=t&255;return r}var n=parse;t["default"]=n},3607:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;t["default"]=r},1260:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=rng;var s=_interopRequireDefault(r(6113));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const n=new Uint8Array(256);let o=n.length;function rng(){if(o>n.length-16){s.default.randomFillSync(n);o=0}return n.slice(o,o+=16)}},7615:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=_interopRequireDefault(r(6113));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function sha1(e){if(Array.isArray(e)){e=Buffer.from(e)}else if(typeof e==="string"){e=Buffer.from(e,"utf8")}return s.default.createHash("sha1").update(e).digest()}var n=sha1;t["default"]=n},7016:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=_interopRequireDefault(r(7178));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const n=[];for(let e=0;e<256;++e){n.push((e+256).toString(16).substr(1))}function stringify(e,t=0){const r=(n[e[t+0]]+n[e[t+1]]+n[e[t+2]]+n[e[t+3]]+"-"+n[e[t+4]]+n[e[t+5]]+"-"+n[e[t+6]]+n[e[t+7]]+"-"+n[e[t+8]]+n[e[t+9]]+"-"+n[e[t+10]]+n[e[t+11]]+n[e[t+12]]+n[e[t+13]]+n[e[t+14]]+n[e[t+15]]).toLowerCase();if(!(0,s.default)(r)){throw TypeError("Stringified UUID is invalid")}return r}var o=stringify;t["default"]=o},5596:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=_interopRequireDefault(r(1260));var n=_interopRequireDefault(r(7016));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}let o;let i;let a=0;let A=0;function v1(e,t,r){let c=t&&r||0;const l=t||new Array(16);e=e||{};let u=e.node||o;let p=e.clockseq!==undefined?e.clockseq:i;if(u==null||p==null){const t=e.random||(e.rng||s.default)();if(u==null){u=o=[t[0]|1,t[1],t[2],t[3],t[4],t[5]]}if(p==null){p=i=(t[6]<<8|t[7])&16383}}let d=e.msecs!==undefined?e.msecs:Date.now();let g=e.nsecs!==undefined?e.nsecs:A+1;const h=d-a+(g-A)/1e4;if(h<0&&e.clockseq===undefined){p=p+1&16383}if((h<0||d>a)&&e.nsecs===undefined){g=0}if(g>=1e4){throw new Error("uuid.v1(): Can't create more than 10M uuids/sec")}a=d;A=g;i=p;d+=122192928e5;const m=((d&268435455)*1e4+g)%4294967296;l[c++]=m>>>24&255;l[c++]=m>>>16&255;l[c++]=m>>>8&255;l[c++]=m&255;const E=d/4294967296*1e4&268435455;l[c++]=E>>>8&255;l[c++]=E&255;l[c++]=E>>>24&15|16;l[c++]=E>>>16&255;l[c++]=p>>>8|128;l[c++]=p&255;for(let e=0;e<6;++e){l[c+e]=u[e]}return t||(0,n.default)(l)}var c=v1;t["default"]=c},2427:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=_interopRequireDefault(r(6901));var n=_interopRequireDefault(r(3828));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const o=(0,s.default)("v3",48,n.default);var i=o;t["default"]=i},6901:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=_default;t.URL=t.DNS=void 0;var s=_interopRequireDefault(r(7016));var n=_interopRequireDefault(r(1158));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function stringToBytes(e){e=unescape(encodeURIComponent(e));const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=_interopRequireDefault(r(1260));var n=_interopRequireDefault(r(7016));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function v4(e,t,r){e=e||{};const o=e.random||(e.rng||s.default)();o[6]=o[6]&15|64;o[8]=o[8]&63|128;if(t){r=r||0;for(let e=0;e<16;++e){t[r+e]=o[e]}return t}return(0,n.default)(o)}var o=v4;t["default"]=o},398:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=_interopRequireDefault(r(6901));var n=_interopRequireDefault(r(7615));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const o=(0,s.default)("v5",80,n.default);var i=o;t["default"]=i},7178:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=_interopRequireDefault(r(3607));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function validate(e){return typeof e==="string"&&s.default.test(e)}var n=validate;t["default"]=n},8818:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=_interopRequireDefault(r(7178));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function version(e){if(!(0,s.default)(e)){throw TypeError("Invalid UUID")}return parseInt(e.substr(14,1),16)}var n=version;t["default"]=n},7212:e=>{e.exports=wrappy;function wrappy(e,t){if(e&&t)return wrappy(e)(t);if(typeof e!=="function")throw new TypeError("need wrapper function");Object.keys(e).forEach((function(t){wrapper[t]=e[t]}));return wrapper;function wrapper(){var t=new Array(arguments.length);for(var r=0;r{module.exports=eval("require")("debug")},9491:e=>{"use strict";e.exports=require("assert")},852:e=>{"use strict";e.exports=require("async_hooks")},4300:e=>{"use strict";e.exports=require("buffer")},2081:e=>{"use strict";e.exports=require("child_process")},6206:e=>{"use strict";e.exports=require("console")},6113:e=>{"use strict";e.exports=require("crypto")},7643:e=>{"use strict";e.exports=require("diagnostics_channel")},2361:e=>{"use strict";e.exports=require("events")},7147:e=>{"use strict";e.exports=require("fs")},3685:e=>{"use strict";e.exports=require("http")},5158:e=>{"use strict";e.exports=require("http2")},5687:e=>{"use strict";e.exports=require("https")},1808:e=>{"use strict";e.exports=require("net")},5673:e=>{"use strict";e.exports=require("node:events")},4492:e=>{"use strict";e.exports=require("node:stream")},7261:e=>{"use strict";e.exports=require("node:util")},2037:e=>{"use strict";e.exports=require("os")},1017:e=>{"use strict";e.exports=require("path")},4074:e=>{"use strict";e.exports=require("perf_hooks")},3477:e=>{"use strict";e.exports=require("querystring")},2781:e=>{"use strict";e.exports=require("stream")},5356:e=>{"use strict";e.exports=require("stream/web")},1576:e=>{"use strict";e.exports=require("string_decoder")},9512:e=>{"use strict";e.exports=require("timers")},4404:e=>{"use strict";e.exports=require("tls")},7310:e=>{"use strict";e.exports=require("url")},3837:e=>{"use strict";e.exports=require("util")},9830:e=>{"use strict";e.exports=require("util/types")},1267:e=>{"use strict";e.exports=require("worker_threads")},9796:e=>{"use strict";e.exports=require("zlib")},1089:(e,t,r)=>{"use strict";const s=r(4492).Writable;const n=r(7261).inherits;const o=r(9306);const i=r(5575);const a=r(2010);const A=45;const c=Buffer.from("-");const l=Buffer.from("\r\n");const EMPTY_FN=function(){};function Dicer(e){if(!(this instanceof Dicer)){return new Dicer(e)}s.call(this,e);if(!e||!e.headerFirst&&typeof e.boundary!=="string"){throw new TypeError("Boundary required")}if(typeof e.boundary==="string"){this.setBoundary(e.boundary)}else{this._bparser=undefined}this._headerFirst=e.headerFirst;this._dashes=0;this._parts=0;this._finished=false;this._realFinish=false;this._isPreamble=true;this._justMatched=false;this._firstWrite=true;this._inHeader=true;this._part=undefined;this._cb=undefined;this._ignoreData=false;this._partOpts={highWaterMark:e.partHwm};this._pause=false;const t=this;this._hparser=new a(e);this._hparser.on("header",(function(e){t._inHeader=false;t._part.emit("header",e)}))}n(Dicer,s);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{s.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._events.preamble){this.emit("preamble",this._part)}else{this._ignore()}}const t=this._hparser.push(e);if(!this._inHeader&&t!==undefined&&t{"use strict";const s=r(5673).EventEmitter;const n=r(7261).inherits;const o=r(7845);const i=r(9306);const a=Buffer.from("\r\n\r\n");const A=/\r\n/g;const c=/^([^:]+):[ \t]?([\x00-\xFF]+)?$/;function HeaderParser(e){s.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,s,n){if(r&&!t.maxed){if(t.nread+n-s>=t.maxHeaderSize){n=t.maxHeaderSize-t.nread+s;t.nread=t.maxHeaderSize;t.maxed=true}else{t.nread+=n-s}t.buffer+=r.toString("binary",s,n)}if(e){t._finish()}}))}n(HeaderParser,s);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,s;for(var n=0;n{"use strict";const s=r(7261).inherits;const n=r(4492).Readable;function PartStream(e){n.call(this,e)}s(PartStream,n);PartStream.prototype._read=function(e){};e.exports=PartStream},9306:(e,t,r)=>{"use strict";const s=r(5673).EventEmitter;const n=r(7261).inherits;function SBMH(e){if(typeof e==="string"){e=Buffer.from(e)}if(!Buffer.isBuffer(e)){throw new TypeError("The needle has to be a String or a Buffer.")}const t=e.length;if(t===0){throw new Error("The needle cannot be an empty String/Buffer.")}if(t>256){throw new Error("The needle cannot have a length bigger than 256.")}this.maxMatches=Infinity;this.matches=0;this._occ=new Array(256).fill(t);this._lookbehind_size=0;this._needle=e;this._bufpos=0;this._lookbehind=Buffer.alloc(t);for(var 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+s}else{o=t-s}while(o0){this.emit("info",false,e,this._bufpos,o{"use strict";const s=r(4492).Writable;const{inherits:n}=r(7261);const o=r(1089);const i=r(6541);const a=r(9933);const A=r(8696);function Busboy(e){if(!(this instanceof Busboy)){return new Busboy(e)}if(typeof e!=="object"){throw new TypeError("Busboy expected an options-Object.")}if(typeof e.headers!=="object"){throw new TypeError("Busboy expected an options-Object with headers-attribute.")}if(typeof e.headers["content-type"]!=="string"){throw new TypeError("Missing Content-Type-header.")}const{headers:t,...r}=e;this.opts={autoDestroy:false,...r};s.call(this,this.opts);this._done=false;this._parser=this.getParserByHeaders(t);this._finished=false}n(Busboy,s);Busboy.prototype.emit=function(e){if(e==="finish"){if(!this._done){this._parser?.end();return}else if(this._finished){return}this._finished=true}s.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},6541:(e,t,r)=>{"use strict";const{Readable:s}=r(4492);const{inherits:n}=r(7261);const o=r(1089);const i=r(8696);const a=r(9999);const A=r(1602);const c=r(7845);const l=/^boundary$/i;const u=/^form-data$/i;const p=/^charset$/i;const d=/^filename$/i;const g=/^name$/i;Multipart.detect=/^multipart\/form-data/i;function Multipart(e,t){let r;let s;const n=this;let h;const m=t.limits;const E=t.isPartAFile||((e,t,r)=>t==="application/octet-stream"||r!==undefined);const C=t.parsedConType||[];const I=t.defCharset||"utf8";const B=t.preservePath;const Q={highWaterMark:t.fileHwm};for(r=0,s=C.length;rx){n.parser.removeListener("part",onPart);n.parser.on("part",skipPart);e.hitPartsLimit=true;e.emit("partsLimit");return skipPart(t)}if(F){const e=F;e.emit("end");e.removeAllListeners("end")}t.on("header",(function(o){let c;let l;let h;let m;let C;let x;let k=0;if(o["content-type"]){h=i(o["content-type"][0]);if(h[0]){c=h[0].toLowerCase();for(r=0,s=h.length;ry){const s=y-k+e.length;if(s>0){r.push(e.slice(0,s))}r.truncated=true;r.bytesRead=y;t.removeAllListeners("data");r.emit("limit");return}else if(!r.push(e)){n._pause=true}r.bytesRead=k};N=function(){_=undefined;r.push(null)}}else{if(D===w){if(!e.hitFieldsLimit){e.hitFieldsLimit=true;e.emit("fieldsLimit")}return skipPart(t)}++D;++T;let r="";let s=false;F=t;R=function(e){if((k+=e.length)>b){const n=b-(k-e.length);r+=e.toString("binary",0,n);s=true;t.removeAllListeners("data")}else{r+=e.toString("binary")}};N=function(){F=undefined;if(r.length){r=a(r,"binary",m)}e.emit("field",l,r,false,s,C,c);--T;checkFinished()}}t._readableState.sync=false;t.on("data",R);t.on("end",N)})).on("error",(function(e){if(_){_.emit("error",e)}}))})).on("error",(function(t){e.emit("error",t)})).on("finish",(function(){N=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){s.call(this,e);this.bytesRead=0;this.truncated=false}n(FileStream,s);FileStream.prototype._read=function(e){};e.exports=Multipart},9933:(e,t,r)=>{"use strict";const s=r(2017);const n=r(9999);const o=r(7845);const i=/^charset$/i;UrlEncoded.detect=/^application\/x-www-form-urlencoded/i;function UrlEncoded(e,t){const r=t.limits;const n=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=n.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(s!==undefined){++this._fields;let r;const o=this._keyTrunc;if(s>i){r=this._key+=this.decoder.write(e.toString("binary",i,s))}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",n(r,"binary",this.charset),"",o,false)}i=s+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,s))}this.boy.emit("field",n(this._key,"binary",this.charset),n(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc);this._state="key";this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();i=s+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",n(this._key,"binary",this.charset),"",this._keyTrunc,false)}else if(this._state==="val"){this.boy.emit("field",n(this._key,"binary",this.charset),n(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc)}this.boy._done=true;this.boy.emit("finish")};e.exports=UrlEncoded},2017:e=>{"use strict";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 s="";let n=0;let o=0;const i=e.length;for(;no){s+=e.substring(o,n);o=n}this.buffer="";++o}}if(o{"use strict";e.exports=function basename(e){if(typeof e!=="string"){return""}for(var t=e.length-1;t>=0;--t){switch(e.charCodeAt(t)){case 47:case 92:e=e.slice(t+1);return e===".."||e==="."?"":e}}return e===".."||e==="."?"":e}},9999:function(e){"use strict";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 s.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 s.latin1;case"utf16le":case"utf-16le":case"ucs2":case"ucs-2":return s.utf16le;case"base64":return s.base64;default:if(t===undefined){t=true;e=e.toLowerCase();continue}return s.other.bind(e)}}}const s={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(e){}}return typeof e==="string"?e:e.toString()}};function decodeText(e,t,r){if(e){return getDecoder(r)(e,t)}return e}e.exports=decodeText},7845:e=>{"use strict";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]}},8696:(e,t,r)=>{"use strict";const s=r(9999);const n=/%[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 l=false;let u=false;let p=0;let d="";const g=e.length;for(var h=0;h{"use strict";const s=r(2896);const n=r(7310);const o=r(490);const i=r(3685);const a=r(5687);const A=r(3837);const c=r(7098);const l=r(9796);const u=r(2781);const p=r(2361);function _interopDefaultLegacy(e){return e&&typeof e==="object"&&"default"in e?e:{default:e}}const d=_interopDefaultLegacy(s);const g=_interopDefaultLegacy(n);const h=_interopDefaultLegacy(i);const m=_interopDefaultLegacy(a);const E=_interopDefaultLegacy(A);const C=_interopDefaultLegacy(c);const I=_interopDefaultLegacy(l);const B=_interopDefaultLegacy(u);function bind(e,t){return function wrap(){return e.apply(t,arguments)}}const{toString:Q}=Object.prototype;const{getPrototypeOf:b}=Object;const y=(e=>t=>{const r=Q.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null));const kindOfTest=e=>{e=e.toLowerCase();return t=>y(t)===e};const typeOfTest=e=>t=>typeof t===e;const{isArray:v}=Array;const w=typeOfTest("undefined");function isBuffer(e){return e!==null&&!w(e)&&e.constructor!==null&&!w(e.constructor)&&R(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const x=kindOfTest("ArrayBuffer");function isArrayBufferView(e){let t;if(typeof ArrayBuffer!=="undefined"&&ArrayBuffer.isView){t=ArrayBuffer.isView(e)}else{t=e&&e.buffer&&x(e.buffer)}return t}const k=typeOfTest("string");const R=typeOfTest("function");const S=typeOfTest("number");const isObject=e=>e!==null&&typeof e==="object";const isBoolean=e=>e===true||e===false;const isPlainObject=e=>{if(y(e)!=="object"){return false}const t=b(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)};const D=kindOfTest("Date");const T=kindOfTest("File");const _=kindOfTest("Blob");const F=kindOfTest("FileList");const isStream=e=>isObject(e)&&R(e.pipe);const isFormData=e=>{let t;return e&&(typeof FormData==="function"&&e instanceof FormData||R(e.append)&&((t=y(e))==="formdata"||t==="object"&&R(e.toString)&&e.toString()==="[object FormData]"))};const N=kindOfTest("URLSearchParams");const[U,O,M,L]=["ReadableStream","Request","Response","Headers"].map(kindOfTest);const trim=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach(e,t,{allOwnKeys:r=false}={}){if(e===null||typeof e==="undefined"){return}let s;let n;if(typeof e!=="object"){e=[e]}if(v(e)){for(s=0,n=e.length;s0){n=r[s];if(t===n.toLowerCase()){return n}}return null}const P=(()=>{if(typeof globalThis!=="undefined")return globalThis;return typeof self!=="undefined"?self:typeof window!=="undefined"?window:global})();const isContextDefined=e=>!w(e)&&e!==P;function merge(){const{caseless:e}=isContextDefined(this)&&this||{};const t={};const assignValue=(r,s)=>{const n=e&&findKey(t,s)||s;if(isPlainObject(t[n])&&isPlainObject(r)){t[n]=merge(t[n],r)}else if(isPlainObject(r)){t[n]=merge({},r)}else if(v(r)){t[n]=r.slice()}else{t[n]=r}};for(let e=0,t=arguments.length;e{forEach(t,((t,s)=>{if(r&&R(t)){e[s]=bind(t,r)}else{e[s]=t}}),{allOwnKeys:s});return e};const stripBOM=e=>{if(e.charCodeAt(0)===65279){e=e.slice(1)}return e};const inherits=(e,t,r,s)=>{e.prototype=Object.create(t.prototype,s);e.prototype.constructor=e;Object.defineProperty(e,"super",{value:t.prototype});r&&Object.assign(e.prototype,r)};const toFlatObject=(e,t,r,s)=>{let n;let o;let i;const a={};t=t||{};if(e==null)return t;do{n=Object.getOwnPropertyNames(e);o=n.length;while(o-- >0){i=n[o];if((!s||s(i,e,t))&&!a[i]){t[i]=e[i];a[i]=true}}e=r!==false&&b(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t};const endsWith=(e,t,r)=>{e=String(e);if(r===undefined||r>e.length){r=e.length}r-=t.length;const s=e.indexOf(t,r);return s!==-1&&s===r};const toArray=e=>{if(!e)return null;if(v(e))return e;let t=e.length;if(!S(t))return null;const r=new Array(t);while(t-- >0){r[t]=e[t]}return r};const G=(e=>t=>e&&t instanceof e)(typeof Uint8Array!=="undefined"&&b(Uint8Array));const forEachEntry=(e,t)=>{const r=e&&e[Symbol.iterator];const s=r.call(e);let n;while((n=s.next())&&!n.done){const r=n.value;t.call(e,r[0],r[1])}};const matchAll=(e,t)=>{let r;const s=[];while((r=e.exec(t))!==null){s.push(r)}return s};const H=kindOfTest("HTMLFormElement");const toCamelCase=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function replacer(e,t,r){return t.toUpperCase()+r}));const j=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype);const V=kindOfTest("RegExp");const reduceDescriptors=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e);const s={};forEach(r,((r,n)=>{let o;if((o=t(r,n,e))!==false){s[n]=o||r}}));Object.defineProperties(e,s)};const freezeMethods=e=>{reduceDescriptors(e,((t,r)=>{if(R(e)&&["arguments","caller","callee"].indexOf(r)!==-1){return false}const s=e[r];if(!R(s))return;t.enumerable=false;if("writable"in t){t.writable=false;return}if(!t.set){t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}}}))};const toObjectSet=(e,t)=>{const r={};const define=e=>{e.forEach((e=>{r[e]=true}))};v(e)?define(e):define(String(e).split(t));return r};const noop=()=>{};const toFiniteNumber=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;const J="abcdefghijklmnopqrstuvwxyz";const Y="0123456789";const q={DIGIT:Y,ALPHA:J,ALPHA_DIGIT:J+J.toUpperCase()+Y};const generateString=(e=16,t=q.ALPHA_DIGIT)=>{let r="";const{length:s}=t;while(e--){r+=t[Math.random()*s|0]}return r};function isSpecCompliantForm(e){return!!(e&&R(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const toJSONObject=e=>{const t=new Array(10);const visit=(e,r)=>{if(isObject(e)){if(t.indexOf(e)>=0){return}if(!("toJSON"in e)){t[r]=e;const s=v(e)?[]:{};forEach(e,((e,t)=>{const n=visit(e,r+1);!w(n)&&(s[t]=n)}));t[r]=undefined;return s}}return e};return visit(e,0)};const W=kindOfTest("AsyncFunction");const isThenable=e=>e&&(isObject(e)||R(e))&&R(e.then)&&R(e.catch);const Z=((e,t)=>{if(e){return setImmediate}return t?((e,t)=>{P.addEventListener("message",(({source:r,data:s})=>{if(r===P&&s===e){t.length&&t.shift()()}}),false);return r=>{t.push(r);P.postMessage(e,"*")}})(`axios@${Math.random()}`,[]):e=>setTimeout(e)})(typeof setImmediate==="function",R(P.postMessage));const z=typeof queueMicrotask!=="undefined"?queueMicrotask.bind(P):typeof process!=="undefined"&&process.nextTick||Z;const K={isArray:v,isArrayBuffer:x,isBuffer:isBuffer,isFormData:isFormData,isArrayBufferView:isArrayBufferView,isString:k,isNumber:S,isBoolean:isBoolean,isObject:isObject,isPlainObject:isPlainObject,isReadableStream:U,isRequest:O,isResponse:M,isHeaders:L,isUndefined:w,isDate:D,isFile:T,isBlob:_,isRegExp:V,isFunction:R,isStream:isStream,isURLSearchParams:N,isTypedArray:G,isFileList:F,forEach:forEach,merge:merge,extend:extend,trim:trim,stripBOM:stripBOM,inherits:inherits,toFlatObject:toFlatObject,kindOf:y,kindOfTest:kindOfTest,endsWith:endsWith,toArray:toArray,forEachEntry:forEachEntry,matchAll:matchAll,isHTMLForm:H,hasOwnProperty:j,hasOwnProp:j,reduceDescriptors:reduceDescriptors,freezeMethods:freezeMethods,toObjectSet:toObjectSet,toCamelCase:toCamelCase,noop:noop,toFiniteNumber:toFiniteNumber,findKey:findKey,global:P,isContextDefined:isContextDefined,ALPHABET:q,generateString:generateString,isSpecCompliantForm:isSpecCompliantForm,toJSONObject:toJSONObject,isAsyncFn:W,isThenable:isThenable,setImmediate:Z,asap:z};function AxiosError(e,t,r,s,n){Error.call(this);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}else{this.stack=(new Error).stack}this.message=e;this.name="AxiosError";t&&(this.code=t);r&&(this.config=r);s&&(this.request=s);n&&(this.response=n)}K.inherits(AxiosError,Error,{toJSON:function toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:K.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const X=AxiosError.prototype;const $={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{$[e]={value:e}}));Object.defineProperties(AxiosError,$);Object.defineProperty(X,"isAxiosError",{value:true});AxiosError.from=(e,t,r,s,n,o)=>{const i=Object.create(X);K.toFlatObject(e,i,(function filter(e){return e!==Error.prototype}),(e=>e!=="isAxiosError"));AxiosError.call(i,e.message,t,r,s,n);i.cause=e;i.name=e.name;o&&Object.assign(i,o);return i};function isVisitable(e){return K.isPlainObject(e)||K.isArray(e)}function removeBrackets(e){return K.endsWith(e,"[]")?e.slice(0,-2):e}function renderKey(e,t,r){if(!e)return t;return e.concat(t).map((function each(e,t){e=removeBrackets(e);return!r&&t?"["+e+"]":e})).join(r?".":"")}function isFlatArray(e){return K.isArray(e)&&!e.some(isVisitable)}const ee=K.toFlatObject(K,{},null,(function filter(e){return/^is[A-Z]/.test(e)}));function toFormData(e,t,r){if(!K.isObject(e)){throw new TypeError("target must be an object")}t=t||new(d["default"]||FormData);r=K.toFlatObject(r,{metaTokens:true,dots:false,indexes:false},false,(function defined(e,t){return!K.isUndefined(t[e])}));const s=r.metaTokens;const n=r.visitor||defaultVisitor;const o=r.dots;const i=r.indexes;const a=r.Blob||typeof Blob!=="undefined"&&Blob;const A=a&&K.isSpecCompliantForm(t);if(!K.isFunction(n)){throw new TypeError("visitor must be a function")}function convertValue(e){if(e===null)return"";if(K.isDate(e)){return e.toISOString()}if(!A&&K.isBlob(e)){throw new AxiosError("Blob is not supported. Use a Buffer instead.")}if(K.isArrayBuffer(e)||K.isTypedArray(e)){return A&&typeof Blob==="function"?new Blob([e]):Buffer.from(e)}return e}function defaultVisitor(e,r,n){let a=e;if(e&&!n&&typeof e==="object"){if(K.endsWith(r,"{}")){r=s?r:r.slice(0,-2);e=JSON.stringify(e)}else if(K.isArray(e)&&isFlatArray(e)||(K.isFileList(e)||K.endsWith(r,"[]"))&&(a=K.toArray(e))){r=removeBrackets(r);a.forEach((function each(e,s){!(K.isUndefined(e)||e===null)&&t.append(i===true?renderKey([r],s,o):i===null?r:r+"[]",convertValue(e))}));return false}}if(isVisitable(e)){return true}t.append(renderKey(n,r,o),convertValue(e));return false}const c=[];const l=Object.assign(ee,{defaultVisitor:defaultVisitor,convertValue:convertValue,isVisitable:isVisitable});function build(e,r){if(K.isUndefined(e))return;if(c.indexOf(e)!==-1){throw Error("Circular reference detected in "+r.join("."))}c.push(e);K.forEach(e,(function each(e,s){const o=!(K.isUndefined(e)||e===null)&&n.call(t,e,K.isString(s)?s.trim():s,r,l);if(o===true){build(e,r?r.concat(s):[s])}}));c.pop()}if(!K.isObject(e)){throw new TypeError("data must be an object")}build(e);return t}function encode$1(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function replacer(e){return t[e]}))}function AxiosURLSearchParams(e,t){this._pairs=[];e&&toFormData(e,this,t)}const te=AxiosURLSearchParams.prototype;te.append=function append(e,t){this._pairs.push([e,t])};te.toString=function toString(e){const t=e?function(t){return e.call(this,t,encode$1)}:encode$1;return this._pairs.map((function each(e){return t(e[0])+"="+t(e[1])}),"").join("&")};function encode(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function buildURL(e,t,r){if(!t){return e}const s=r&&r.encode||encode;const n=r&&r.serialize;let o;if(n){o=n(t,r)}else{o=K.isURLSearchParams(t)?t.toString():new AxiosURLSearchParams(t,r).toString(s)}if(o){const t=e.indexOf("#");if(t!==-1){e=e.slice(0,t)}e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class InterceptorManager{constructor(){this.handlers=[]}use(e,t,r){this.handlers.push({fulfilled:e,rejected:t,synchronous:r?r.synchronous:false,runWhen:r?r.runWhen:null});return this.handlers.length-1}eject(e){if(this.handlers[e]){this.handlers[e]=null}}clear(){if(this.handlers){this.handlers=[]}}forEach(e){K.forEach(this.handlers,(function forEachHandler(t){if(t!==null){e(t)}}))}}const re=InterceptorManager;const se={silentJSONParsing:true,forcedJSONParsing:true,clarifyTimeoutError:false};const ne=g["default"].URLSearchParams;const oe={isNode:true,classes:{URLSearchParams:ne,FormData:d["default"],Blob:typeof Blob!=="undefined"&&Blob||null},protocols:["http","https","file","data"]};const ie=typeof window!=="undefined"&&typeof document!=="undefined";const ae=(e=>ie&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator!=="undefined"&&navigator.product);const Ae=(()=>typeof WorkerGlobalScope!=="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function")();const ce=ie&&window.location.href||"http://localhost";const le=Object.freeze({__proto__:null,hasBrowserEnv:ie,hasStandardBrowserWebWorkerEnv:Ae,hasStandardBrowserEnv:ae,origin:ce});const ue={...le,...oe};function toURLEncodedForm(e,t){return toFormData(e,new ue.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,s){if(ue.isNode&&K.isBuffer(e)){this.append(t,e.toString("base64"));return false}return s.defaultVisitor.apply(this,arguments)}},t))}function parsePropPath(e){return K.matchAll(/\w+|\[(\w*)]/g,e).map((e=>e[0]==="[]"?"":e[1]||e[0]))}function arrayToObject(e){const t={};const r=Object.keys(e);let s;const n=r.length;let o;for(s=0;s=e.length;n=!n&&K.isArray(r)?r.length:n;if(i){if(K.hasOwnProp(r,n)){r[n]=[r[n],t]}else{r[n]=t}return!o}if(!r[n]||!K.isObject(r[n])){r[n]=[]}const a=buildPath(e,t,r[n],s);if(a&&K.isArray(r[n])){r[n]=arrayToObject(r[n])}return!o}if(K.isFormData(e)&&K.isFunction(e.entries)){const t={};K.forEachEntry(e,((e,r)=>{buildPath(parsePropPath(e),r,t,0)}));return t}return null}function stringifySafely(e,t,r){if(K.isString(e)){try{(t||JSON.parse)(e);return K.trim(e)}catch(e){if(e.name!=="SyntaxError"){throw e}}}return(r||JSON.stringify)(e)}const pe={transitional:se,adapter:["xhr","http","fetch"],transformRequest:[function transformRequest(e,t){const r=t.getContentType()||"";const s=r.indexOf("application/json")>-1;const n=K.isObject(e);if(n&&K.isHTMLForm(e)){e=new FormData(e)}const o=K.isFormData(e);if(o){return s?JSON.stringify(formDataToJSON(e)):e}if(K.isArrayBuffer(e)||K.isBuffer(e)||K.isStream(e)||K.isFile(e)||K.isBlob(e)||K.isReadableStream(e)){return e}if(K.isArrayBufferView(e)){return e.buffer}if(K.isURLSearchParams(e)){t.setContentType("application/x-www-form-urlencoded;charset=utf-8",false);return e.toString()}let i;if(n){if(r.indexOf("application/x-www-form-urlencoded")>-1){return toURLEncodedForm(e,this.formSerializer).toString()}if((i=K.isFileList(e))||r.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return toFormData(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}if(n||s){t.setContentType("application/json",false);return stringifySafely(e)}return e}],transformResponse:[function transformResponse(e){const t=this.transitional||pe.transitional;const r=t&&t.forcedJSONParsing;const s=this.responseType==="json";if(K.isResponse(e)||K.isReadableStream(e)){return e}if(e&&K.isString(e)&&(r&&!this.responseType||s)){const r=t&&t.silentJSONParsing;const n=!r&&s;try{return JSON.parse(e)}catch(e){if(n){if(e.name==="SyntaxError"){throw AxiosError.from(e,AxiosError.ERR_BAD_RESPONSE,this,null,this.response)}throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ue.classes.FormData,Blob:ue.classes.Blob},validateStatus:function validateStatus(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":undefined}}};K.forEach(["delete","get","head","post","put","patch"],(e=>{pe.headers[e]={}}));const de=pe;const ge=K.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const parseHeaders=e=>{const t={};let r;let s;let n;e&&e.split("\n").forEach((function parser(e){n=e.indexOf(":");r=e.substring(0,n).trim().toLowerCase();s=e.substring(n+1).trim();if(!r||t[r]&&ge[r]){return}if(r==="set-cookie"){if(t[r]){t[r].push(s)}else{t[r]=[s]}}else{t[r]=t[r]?t[r]+", "+s:s}}));return t};const he=Symbol("internals");function normalizeHeader(e){return e&&String(e).trim().toLowerCase()}function normalizeValue(e){if(e===false||e==null){return e}return K.isArray(e)?e.map(normalizeValue):String(e)}function parseTokens(e){const t=Object.create(null);const r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;while(s=r.exec(e)){t[s[1]]=s[2]}return t}const isValidHeaderName=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function matchHeaderValue(e,t,r,s,n){if(K.isFunction(s)){return s.call(this,t,r)}if(n){t=r}if(!K.isString(t))return;if(K.isString(s)){return t.indexOf(s)!==-1}if(K.isRegExp(s)){return s.test(t)}}function formatHeader(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,r)=>t.toUpperCase()+r))}function buildAccessors(e,t){const r=K.toCamelCase(" "+t);["get","set","has"].forEach((s=>{Object.defineProperty(e,s+r,{value:function(e,r,n){return this[s].call(this,t,e,r,n)},configurable:true})}))}class AxiosHeaders{constructor(e){e&&this.set(e)}set(e,t,r){const s=this;function setHeader(e,t,r){const n=normalizeHeader(t);if(!n){throw new Error("header name must be a non-empty string")}const o=K.findKey(s,n);if(!o||s[o]===undefined||r===true||r===undefined&&s[o]!==false){s[o||t]=normalizeValue(e)}}const setHeaders=(e,t)=>K.forEach(e,((e,r)=>setHeader(e,r,t)));if(K.isPlainObject(e)||e instanceof this.constructor){setHeaders(e,t)}else if(K.isString(e)&&(e=e.trim())&&!isValidHeaderName(e)){setHeaders(parseHeaders(e),t)}else if(K.isHeaders(e)){for(const[t,s]of e.entries()){setHeader(s,t,r)}}else{e!=null&&setHeader(t,e,r)}return this}get(e,t){e=normalizeHeader(e);if(e){const r=K.findKey(this,e);if(r){const e=this[r];if(!t){return e}if(t===true){return parseTokens(e)}if(K.isFunction(t)){return t.call(this,e,r)}if(K.isRegExp(t)){return t.exec(e)}throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){e=normalizeHeader(e);if(e){const r=K.findKey(this,e);return!!(r&&this[r]!==undefined&&(!t||matchHeaderValue(this,this[r],r,t)))}return false}delete(e,t){const r=this;let s=false;function deleteHeader(e){e=normalizeHeader(e);if(e){const n=K.findKey(r,e);if(n&&(!t||matchHeaderValue(r,r[n],n,t))){delete r[n];s=true}}}if(K.isArray(e)){e.forEach(deleteHeader)}else{deleteHeader(e)}return s}clear(e){const t=Object.keys(this);let r=t.length;let s=false;while(r--){const n=t[r];if(!e||matchHeaderValue(this,this[n],n,e,true)){delete this[n];s=true}}return s}normalize(e){const t=this;const r={};K.forEach(this,((s,n)=>{const o=K.findKey(r,n);if(o){t[o]=normalizeValue(s);delete t[n];return}const i=e?formatHeader(n):String(n).trim();if(i!==n){delete t[n]}t[i]=normalizeValue(s);r[i]=true}));return this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);K.forEach(this,((r,s)=>{r!=null&&r!==false&&(t[s]=e&&K.isArray(r)?r.join(", "):r)}));return t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const r=new this(e);t.forEach((e=>r.set(e)));return r}static accessor(e){const t=this[he]=this[he]={accessors:{}};const r=t.accessors;const s=this.prototype;function defineAccessor(e){const t=normalizeHeader(e);if(!r[t]){buildAccessors(s,e);r[t]=true}}K.isArray(e)?e.forEach(defineAccessor):defineAccessor(e);return this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);K.reduceDescriptors(AxiosHeaders.prototype,(({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}}));K.freezeMethods(AxiosHeaders);const fe=AxiosHeaders;function transformData(e,t){const r=this||de;const s=t||r;const n=fe.from(s.headers);let o=s.data;K.forEach(e,(function transform(e){o=e.call(r,o,n.normalize(),t?t.status:undefined)}));n.normalize();return o}function isCancel(e){return!!(e&&e.__CANCEL__)}function CanceledError(e,t,r){AxiosError.call(this,e==null?"canceled":e,AxiosError.ERR_CANCELED,t,r);this.name="CanceledError"}K.inherits(CanceledError,AxiosError,{__CANCEL__:true});function settle(e,t,r){const s=r.config.validateStatus;if(!r.status||!s||s(r.status)){e(r)}else{t(new AxiosError("Request failed with status code "+r.status,[AxiosError.ERR_BAD_REQUEST,AxiosError.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}}function isAbsoluteURL(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function combineURLs(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function buildFullPath(e,t){if(e&&!isAbsoluteURL(t)){return combineURLs(e,t)}return t}const me="1.7.4";function parseProtocol(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const Ee=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;function fromDataURI(e,t,r){const s=r&&r.Blob||ue.classes.Blob;const n=parseProtocol(e);if(t===undefined&&s){t=true}if(n==="data"){e=n.length?e.slice(n.length+1):e;const r=Ee.exec(e);if(!r){throw new AxiosError("Invalid URL",AxiosError.ERR_INVALID_URL)}const o=r[1];const i=r[2];const a=r[3];const A=Buffer.from(decodeURIComponent(a),i?"base64":"utf8");if(t){if(!s){throw new AxiosError("Blob is not supported",AxiosError.ERR_NOT_SUPPORT)}return new s([A],{type:o})}return A}throw new AxiosError("Unsupported protocol "+n,AxiosError.ERR_NOT_SUPPORT)}const Ce=Symbol("internals");class AxiosTransformStream extends B["default"].Transform{constructor(e){e=K.toFlatObject(e,{maxRate:0,chunkSize:64*1024,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,((e,t)=>!K.isUndefined(t[e])));super({readableHighWaterMark:e.chunkSize});const t=this[Ce]={timeWindow:e.timeWindow,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:false,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",(e=>{if(e==="progress"){if(!t.isCaptured){t.isCaptured=true}}}))}_read(e){const t=this[Ce];if(t.onReadCallback){t.onReadCallback()}return super._read(e)}_transform(e,t,r){const s=this[Ce];const n=s.maxRate;const o=this.readableHighWaterMark;const i=s.timeWindow;const a=1e3/i;const A=n/a;const c=s.minChunkSize!==false?Math.max(s.minChunkSize,A*.01):0;const pushChunk=(e,t)=>{const r=Buffer.byteLength(e);s.bytesSeen+=r;s.bytes+=r;s.isCaptured&&this.emit("progress",s.bytesSeen);if(this.push(e)){process.nextTick(t)}else{s.onReadCallback=()=>{s.onReadCallback=null;process.nextTick(t)}}};const transformChunk=(e,t)=>{const r=Buffer.byteLength(e);let a=null;let l=o;let u;let p=0;if(n){const e=Date.now();if(!s.ts||(p=e-s.ts)>=i){s.ts=e;u=A-s.bytes;s.bytes=u<0?-u:0;p=0}u=A-s.bytes}if(n){if(u<=0){return setTimeout((()=>{t(null,e)}),i-p)}if(ul&&r-l>c){a=e.subarray(l);e=e.subarray(0,l)}pushChunk(e,a?()=>{process.nextTick(t,null,a)}:t)};transformChunk(e,(function transformNextChunk(e,t){if(e){return r(e)}if(t){transformChunk(t,transformNextChunk)}else{r(null)}}))}}const Ie=AxiosTransformStream;const{asyncIterator:Be}=Symbol;const readBlob=async function*(e){if(e.stream){yield*e.stream()}else if(e.arrayBuffer){yield await e.arrayBuffer()}else if(e[Be]){yield*e[Be]()}else{yield e}};const Qe=readBlob;const be=K.ALPHABET.ALPHA_DIGIT+"-_";const ye=new A.TextEncoder;const ve="\r\n";const we=ye.encode(ve);const xe=2;class FormDataPart{constructor(e,t){const{escapeName:r}=this.constructor;const s=K.isString(t);let n=`Content-Disposition: form-data; name="${r(e)}"${!s&&t.name?`; filename="${r(t.name)}"`:""}${ve}`;if(s){t=ye.encode(String(t).replace(/\r?\n|\r\n?/g,ve))}else{n+=`Content-Type: ${t.type||"application/octet-stream"}${ve}`}this.headers=ye.encode(n+ve);this.contentLength=s?t.byteLength:t.size;this.size=this.headers.byteLength+this.contentLength+xe;this.name=e;this.value=t}async*encode(){yield this.headers;const{value:e}=this;if(K.isTypedArray(e)){yield e}else{yield*Qe(e)}yield we}static escapeName(e){return String(e).replace(/[\r\n"]/g,(e=>({"\r":"%0D","\n":"%0A",'"':"%22"}[e])))}}const formDataToStream=(e,t,r)=>{const{tag:s="form-data-boundary",size:n=25,boundary:o=s+"-"+K.generateString(n,be)}=r||{};if(!K.isFormData(e)){throw TypeError("FormData instance required")}if(o.length<1||o.length>70){throw Error("boundary must be 10-70 characters long")}const i=ye.encode("--"+o+ve);const a=ye.encode("--"+o+"--"+ve+ve);let A=a.byteLength;const c=Array.from(e.entries()).map((([e,t])=>{const r=new FormDataPart(e,t);A+=r.size;return r}));A+=i.byteLength*c.length;A=K.toFiniteNumber(A);const l={"Content-Type":`multipart/form-data; boundary=${o}`};if(Number.isFinite(A)){l["Content-Length"]=A}t&&t(l);return u.Readable.from(async function*(){for(const e of c){yield i;yield*e.encode()}yield a}())};const ke=formDataToStream;class ZlibHeaderTransformStream extends B["default"].Transform{__transform(e,t,r){this.push(e);r()}_transform(e,t,r){if(e.length!==0){this._transform=this.__transform;if(e[0]!==120){const e=Buffer.alloc(2);e[0]=120;e[1]=156;this.push(e,t)}}this.__transform(e,t,r)}}const Re=ZlibHeaderTransformStream;const callbackify=(e,t)=>K.isAsyncFn(e)?function(...r){const s=r.pop();e.apply(this,r).then((e=>{try{t?s(null,...t(e)):s(null,e)}catch(e){s(e)}}),s)}:e;const Se=callbackify;function speedometer(e,t){e=e||10;const r=new Array(e);const s=new Array(e);let n=0;let o=0;let i;t=t!==undefined?t:1e3;return function push(a){const A=Date.now();const c=s[o];if(!i){i=A}r[n]=a;s[n]=A;let l=o;let u=0;while(l!==n){u+=r[l++];l=l%e}n=(n+1)%e;if(n===o){o=(o+1)%e}if(A-i{r=s;n=null;if(o){clearTimeout(o);o=null}e.apply(null,t)};const throttled=(...e)=>{const t=Date.now();const i=t-r;if(i>=s){invoke(e,t)}else{n=e;if(!o){o=setTimeout((()=>{o=null;invoke(n)}),s-i)}}};const flush=()=>n&&invoke(n);return[throttled,flush]}const progressEventReducer=(e,t,r=3)=>{let s=0;const n=speedometer(50,250);return throttle((r=>{const o=r.loaded;const i=r.lengthComputable?r.total:undefined;const a=o-s;const A=n(a);const c=o<=i;s=o;const l={loaded:o,total:i,progress:i?o/i:undefined,bytes:a,rate:A?A:undefined,estimated:A&&i&&c?(i-o)/A:undefined,event:r,lengthComputable:i!=null,[t?"download":"upload"]:true};e(l)}),r)};const progressEventDecorator=(e,t)=>{const r=e!=null;return[s=>t[0]({lengthComputable:r,total:e,loaded:s}),t[1]]};const asyncDecorator=e=>(...t)=>K.asap((()=>e(...t)));const De={flush:I["default"].constants.Z_SYNC_FLUSH,finishFlush:I["default"].constants.Z_SYNC_FLUSH};const Te={flush:I["default"].constants.BROTLI_OPERATION_FLUSH,finishFlush:I["default"].constants.BROTLI_OPERATION_FLUSH};const _e=K.isFunction(I["default"].createBrotliDecompress);const{http:Fe,https:Ne}=C["default"];const Ue=/https:?/;const Oe=ue.protocols.map((e=>e+":"));const flushOnFinish=(e,[t,r])=>{e.on("end",r).on("error",r);return t};function dispatchBeforeRedirect(e,t){if(e.beforeRedirects.proxy){e.beforeRedirects.proxy(e)}if(e.beforeRedirects.config){e.beforeRedirects.config(e,t)}}function setProxy(e,t,r){let s=t;if(!s&&s!==false){const e=o.getProxyForUrl(r);if(e){s=new URL(e)}}if(s){if(s.username){s.auth=(s.username||"")+":"+(s.password||"")}if(s.auth){if(s.auth.username||s.auth.password){s.auth=(s.auth.username||"")+":"+(s.auth.password||"")}const t=Buffer.from(s.auth,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+t}e.headers.host=e.hostname+(e.port?":"+e.port:"");const t=s.hostname||s.host;e.hostname=t;e.host=t;e.port=s.port;e.path=r;if(s.protocol){e.protocol=s.protocol.includes(":")?s.protocol:`${s.protocol}:`}}e.beforeRedirects.proxy=function beforeRedirect(e){setProxy(e,t,e.href)}}const Me=typeof process!=="undefined"&&K.kindOf(process)==="process";const wrapAsync=e=>new Promise(((t,r)=>{let s;let n;const done=(e,t)=>{if(n)return;n=true;s&&s(e,t)};const _resolve=e=>{done(e);t(e)};const _reject=e=>{done(e,true);r(e)};e(_resolve,_reject,(e=>s=e)).catch(_reject)}));const resolveFamily=({address:e,family:t})=>{if(!K.isString(e)){throw TypeError("address must be a string")}return{address:e,family:t||(e.indexOf(".")<0?6:4)}};const buildAddressEntry=(e,t)=>resolveFamily(K.isObject(e)?e:{address:e,family:t});const Le=Me&&function httpAdapter(e){return wrapAsync((async function dispatchHttpRequest(t,r,s){let{data:n,lookup:o,family:i}=e;const{responseType:a,responseEncoding:A}=e;const c=e.method.toUpperCase();let l;let u=false;let d;if(o){const e=Se(o,(e=>K.isArray(e)?e:[e]));o=(t,r,s)=>{e(t,r,((e,t,n)=>{if(e){return s(e)}const o=K.isArray(t)?t.map((e=>buildAddressEntry(e))):[buildAddressEntry(t,n)];r.all?s(e,o):s(e,o[0].address,o[0].family)}))}}const g=new p.EventEmitter;const onFinished=()=>{if(e.cancelToken){e.cancelToken.unsubscribe(abort)}if(e.signal){e.signal.removeEventListener("abort",abort)}g.removeAllListeners()};s(((e,t)=>{l=true;if(t){u=true;onFinished()}}));function abort(t){g.emit("abort",!t||t.type?new CanceledError(null,e,d):t)}g.once("abort",r);if(e.cancelToken||e.signal){e.cancelToken&&e.cancelToken.subscribe(abort);if(e.signal){e.signal.aborted?abort():e.signal.addEventListener("abort",abort)}}const C=buildFullPath(e.baseURL,e.url);const Q=new URL(C,K.hasBrowserEnv?ue.origin:undefined);const b=Q.protocol||Oe[0];if(b==="data:"){let s;if(c!=="GET"){return settle(t,r,{status:405,statusText:"method not allowed",headers:{},config:e})}try{s=fromDataURI(e.url,a==="blob",{Blob:e.env&&e.env.Blob})}catch(t){throw AxiosError.from(t,AxiosError.ERR_BAD_REQUEST,e)}if(a==="text"){s=s.toString(A);if(!A||A==="utf8"){s=K.stripBOM(s)}}else if(a==="stream"){s=B["default"].Readable.from(s)}return settle(t,r,{data:s,status:200,statusText:"OK",headers:new fe,config:e})}if(Oe.indexOf(b)===-1){return r(new AxiosError("Unsupported protocol "+b,AxiosError.ERR_BAD_REQUEST,e))}const y=fe.from(e.headers).normalize();y.set("User-Agent","axios/"+me,false);const{onUploadProgress:v,onDownloadProgress:w}=e;const x=e.maxRate;let k=undefined;let R=undefined;if(K.isSpecCompliantForm(n)){const e=y.getContentType(/boundary=([-_\w\d]{10,70})/i);n=ke(n,(e=>{y.set(e)}),{tag:`axios-${me}-boundary`,boundary:e&&e[1]||undefined})}else if(K.isFormData(n)&&K.isFunction(n.getHeaders)){y.set(n.getHeaders());if(!y.hasContentLength()){try{const e=await E["default"].promisify(n.getLength).call(n);Number.isFinite(e)&&e>=0&&y.setContentLength(e)}catch(e){}}}else if(K.isBlob(n)){n.size&&y.setContentType(n.type||"application/octet-stream");y.setContentLength(n.size||0);n=B["default"].Readable.from(Qe(n))}else if(n&&!K.isStream(n)){if(Buffer.isBuffer(n));else if(K.isArrayBuffer(n)){n=Buffer.from(new Uint8Array(n))}else if(K.isString(n)){n=Buffer.from(n,"utf-8")}else{return r(new AxiosError("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",AxiosError.ERR_BAD_REQUEST,e))}y.setContentLength(n.length,false);if(e.maxBodyLength>-1&&n.length>e.maxBodyLength){return r(new AxiosError("Request body larger than maxBodyLength limit",AxiosError.ERR_BAD_REQUEST,e))}}const S=K.toFiniteNumber(y.getContentLength());if(K.isArray(x)){k=x[0];R=x[1]}else{k=R=x}if(n&&(v||k)){if(!K.isStream(n)){n=B["default"].Readable.from(n,{objectMode:false})}n=B["default"].pipeline([n,new Ie({maxRate:K.toFiniteNumber(k)})],K.noop);v&&n.on("progress",flushOnFinish(n,progressEventDecorator(S,progressEventReducer(asyncDecorator(v),false,3))))}let D=undefined;if(e.auth){const t=e.auth.username||"";const r=e.auth.password||"";D=t+":"+r}if(!D&&Q.username){const e=Q.username;const t=Q.password;D=e+":"+t}D&&y.delete("authorization");let T;try{T=buildURL(Q.pathname+Q.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(t){const s=new Error(t.message);s.config=e;s.url=e.url;s.exists=true;return r(s)}y.set("Accept-Encoding","gzip, compress, deflate"+(_e?", br":""),false);const _={path:T,method:c,headers:y.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:D,protocol:b,family:i,beforeRedirect:dispatchBeforeRedirect,beforeRedirects:{}};!K.isUndefined(o)&&(_.lookup=o);if(e.socketPath){_.socketPath=e.socketPath}else{_.hostname=Q.hostname;_.port=Q.port;setProxy(_,e.proxy,b+"//"+Q.hostname+(Q.port?":"+Q.port:"")+_.path)}let F;const N=Ue.test(_.protocol);_.agent=N?e.httpsAgent:e.httpAgent;if(e.transport){F=e.transport}else if(e.maxRedirects===0){F=N?m["default"]:h["default"]}else{if(e.maxRedirects){_.maxRedirects=e.maxRedirects}if(e.beforeRedirect){_.beforeRedirects.config=e.beforeRedirect}F=N?Ne:Fe}if(e.maxBodyLength>-1){_.maxBodyLength=e.maxBodyLength}else{_.maxBodyLength=Infinity}if(e.insecureHTTPParser){_.insecureHTTPParser=e.insecureHTTPParser}d=F.request(_,(function handleResponse(s){if(d.destroyed)return;const n=[s];const o=+s.headers["content-length"];if(w||R){const e=new Ie({maxRate:K.toFiniteNumber(R)});w&&e.on("progress",flushOnFinish(e,progressEventDecorator(o,progressEventReducer(asyncDecorator(w),true,3))));n.push(e)}let i=s;const l=s.req||d;if(e.decompress!==false&&s.headers["content-encoding"]){if(c==="HEAD"||s.statusCode===204){delete s.headers["content-encoding"]}switch((s.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":n.push(I["default"].createUnzip(De));delete s.headers["content-encoding"];break;case"deflate":n.push(new Re);n.push(I["default"].createUnzip(De));delete s.headers["content-encoding"];break;case"br":if(_e){n.push(I["default"].createBrotliDecompress(Te));delete s.headers["content-encoding"]}}}i=n.length>1?B["default"].pipeline(n,K.noop):n[0];const p=B["default"].finished(i,(()=>{p();onFinished()}));const h={status:s.statusCode,statusText:s.statusMessage,headers:new fe(s.headers),config:e,request:l};if(a==="stream"){h.data=i;settle(t,r,h)}else{const s=[];let n=0;i.on("data",(function handleStreamData(t){s.push(t);n+=t.length;if(e.maxContentLength>-1&&n>e.maxContentLength){u=true;i.destroy();r(new AxiosError("maxContentLength size of "+e.maxContentLength+" exceeded",AxiosError.ERR_BAD_RESPONSE,e,l))}}));i.on("aborted",(function handlerStreamAborted(){if(u){return}const t=new AxiosError("maxContentLength size of "+e.maxContentLength+" exceeded",AxiosError.ERR_BAD_RESPONSE,e,l);i.destroy(t);r(t)}));i.on("error",(function handleStreamError(t){if(d.destroyed)return;r(AxiosError.from(t,null,e,l))}));i.on("end",(function handleStreamEnd(){try{let e=s.length===1?s[0]:Buffer.concat(s);if(a!=="arraybuffer"){e=e.toString(A);if(!A||A==="utf8"){e=K.stripBOM(e)}}h.data=e}catch(t){return r(AxiosError.from(t,null,e,h.request,h))}settle(t,r,h)}))}g.once("abort",(e=>{if(!i.destroyed){i.emit("error",e);i.destroy()}}))}));g.once("abort",(e=>{r(e);d.destroy(e)}));d.on("error",(function handleRequestError(t){r(AxiosError.from(t,null,e,d))}));d.on("socket",(function handleRequestSocket(e){e.setKeepAlive(true,1e3*60)}));if(e.timeout){const t=parseInt(e.timeout,10);if(Number.isNaN(t)){r(new AxiosError("error trying to parse `config.timeout` to int",AxiosError.ERR_BAD_OPTION_VALUE,e,d));return}d.setTimeout(t,(function handleRequestTimeout(){if(l)return;let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const s=e.transitional||se;if(e.timeoutErrorMessage){t=e.timeoutErrorMessage}r(new AxiosError(t,s.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,e,d));abort()}))}if(K.isStream(n)){let t=false;let r=false;n.on("end",(()=>{t=true}));n.once("error",(e=>{r=true;d.destroy(e)}));n.on("close",(()=>{if(!t&&!r){abort(new CanceledError("Request stream has been aborted",e,d))}}));n.pipe(d)}else{d.end(n)}}))};const Pe=ue.hasStandardBrowserEnv?function standardBrowserEnv(){const e=/(msie|trident)/i.test(navigator.userAgent);const t=document.createElement("a");let r;function resolveURL(r){let s=r;if(e){t.setAttribute("href",s);s=t.href}t.setAttribute("href",s);return{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}r=resolveURL(window.location.href);return function isURLSameOrigin(e){const t=K.isString(e)?resolveURL(e):e;return t.protocol===r.protocol&&t.host===r.host}}():function nonStandardBrowserEnv(){return function isURLSameOrigin(){return true}}();const Ge=ue.hasStandardBrowserEnv?{write(e,t,r,s,n,o){const i=[e+"="+encodeURIComponent(t)];K.isNumber(r)&&i.push("expires="+new Date(r).toGMTString());K.isString(s)&&i.push("path="+s);K.isString(n)&&i.push("domain="+n);o===true&&i.push("secure");document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};const headersToObject=e=>e instanceof fe?{...e}:e;function mergeConfig(e,t){t=t||{};const r={};function getMergedValue(e,t,r){if(K.isPlainObject(e)&&K.isPlainObject(t)){return K.merge.call({caseless:r},e,t)}else if(K.isPlainObject(t)){return K.merge({},t)}else if(K.isArray(t)){return t.slice()}return t}function mergeDeepProperties(e,t,r){if(!K.isUndefined(t)){return getMergedValue(e,t,r)}else if(!K.isUndefined(e)){return getMergedValue(undefined,e,r)}}function valueFromConfig2(e,t){if(!K.isUndefined(t)){return getMergedValue(undefined,t)}}function defaultToConfig2(e,t){if(!K.isUndefined(t)){return getMergedValue(undefined,t)}else if(!K.isUndefined(e)){return getMergedValue(undefined,e)}}function mergeDirectKeys(r,s,n){if(n in t){return getMergedValue(r,s)}else if(n in e){return getMergedValue(undefined,r)}}const s={url:valueFromConfig2,method:valueFromConfig2,data:valueFromConfig2,baseURL:defaultToConfig2,transformRequest:defaultToConfig2,transformResponse:defaultToConfig2,paramsSerializer:defaultToConfig2,timeout:defaultToConfig2,timeoutMessage:defaultToConfig2,withCredentials:defaultToConfig2,withXSRFToken:defaultToConfig2,adapter:defaultToConfig2,responseType:defaultToConfig2,xsrfCookieName:defaultToConfig2,xsrfHeaderName:defaultToConfig2,onUploadProgress:defaultToConfig2,onDownloadProgress:defaultToConfig2,decompress:defaultToConfig2,maxContentLength:defaultToConfig2,maxBodyLength:defaultToConfig2,beforeRedirect:defaultToConfig2,transport:defaultToConfig2,httpAgent:defaultToConfig2,httpsAgent:defaultToConfig2,cancelToken:defaultToConfig2,socketPath:defaultToConfig2,responseEncoding:defaultToConfig2,validateStatus:mergeDirectKeys,headers:(e,t)=>mergeDeepProperties(headersToObject(e),headersToObject(t),true)};K.forEach(Object.keys(Object.assign({},e,t)),(function computeConfigValue(n){const o=s[n]||mergeDeepProperties;const i=o(e[n],t[n],n);K.isUndefined(i)&&o!==mergeDirectKeys||(r[n]=i)}));return r}const resolveConfig=e=>{const t=mergeConfig({},e);let{data:r,withXSRFToken:s,xsrfHeaderName:n,xsrfCookieName:o,headers:i,auth:a}=t;t.headers=i=fe.from(i);t.url=buildURL(buildFullPath(t.baseURL,t.url),e.params,e.paramsSerializer);if(a){i.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")))}let A;if(K.isFormData(r)){if(ue.hasStandardBrowserEnv||ue.hasStandardBrowserWebWorkerEnv){i.setContentType(undefined)}else if((A=i.getContentType())!==false){const[e,...t]=A?A.split(";").map((e=>e.trim())).filter(Boolean):[];i.setContentType([e||"multipart/form-data",...t].join("; "))}}if(ue.hasStandardBrowserEnv){s&&K.isFunction(s)&&(s=s(t));if(s||s!==false&&Pe(t.url)){const e=n&&o&&Ge.read(o);if(e){i.set(n,e)}}}return t};const He=typeof XMLHttpRequest!=="undefined";const je=He&&function(e){return new Promise((function dispatchXhrRequest(t,r){const s=resolveConfig(e);let n=s.data;const o=fe.from(s.headers).normalize();let{responseType:i,onUploadProgress:a,onDownloadProgress:A}=s;let c;let l,u;let p,d;function done(){p&&p();d&&d();s.cancelToken&&s.cancelToken.unsubscribe(c);s.signal&&s.signal.removeEventListener("abort",c)}let g=new XMLHttpRequest;g.open(s.method.toUpperCase(),s.url,true);g.timeout=s.timeout;function onloadend(){if(!g){return}const s=fe.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders());const n=!i||i==="text"||i==="json"?g.responseText:g.response;const o={data:n,status:g.status,statusText:g.statusText,headers:s,config:e,request:g};settle((function _resolve(e){t(e);done()}),(function _reject(e){r(e);done()}),o);g=null}if("onloadend"in g){g.onloadend=onloadend}else{g.onreadystatechange=function handleLoad(){if(!g||g.readyState!==4){return}if(g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)){return}setTimeout(onloadend)}}g.onabort=function handleAbort(){if(!g){return}r(new AxiosError("Request aborted",AxiosError.ECONNABORTED,e,g));g=null};g.onerror=function handleError(){r(new AxiosError("Network Error",AxiosError.ERR_NETWORK,e,g));g=null};g.ontimeout=function handleTimeout(){let t=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const n=s.transitional||se;if(s.timeoutErrorMessage){t=s.timeoutErrorMessage}r(new AxiosError(t,n.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,e,g));g=null};n===undefined&&o.setContentType(null);if("setRequestHeader"in g){K.forEach(o.toJSON(),(function setRequestHeader(e,t){g.setRequestHeader(t,e)}))}if(!K.isUndefined(s.withCredentials)){g.withCredentials=!!s.withCredentials}if(i&&i!=="json"){g.responseType=s.responseType}if(A){[u,d]=progressEventReducer(A,true);g.addEventListener("progress",u)}if(a&&g.upload){[l,p]=progressEventReducer(a);g.upload.addEventListener("progress",l);g.upload.addEventListener("loadend",p)}if(s.cancelToken||s.signal){c=t=>{if(!g){return}r(!t||t.type?new CanceledError(null,e,g):t);g.abort();g=null};s.cancelToken&&s.cancelToken.subscribe(c);if(s.signal){s.signal.aborted?c():s.signal.addEventListener("abort",c)}}const h=parseProtocol(s.url);if(h&&ue.protocols.indexOf(h)===-1){r(new AxiosError("Unsupported protocol "+h+":",AxiosError.ERR_BAD_REQUEST,e));return}g.send(n||null)}))};const composeSignals=(e,t)=>{let r=new AbortController;let s;const onabort=function(e){if(!s){s=true;unsubscribe();const t=e instanceof Error?e:this.reason;r.abort(t instanceof AxiosError?t:new CanceledError(t instanceof Error?t.message:t))}};let n=t&&setTimeout((()=>{onabort(new AxiosError(`timeout ${t} of ms exceeded`,AxiosError.ETIMEDOUT))}),t);const unsubscribe=()=>{if(e){n&&clearTimeout(n);n=null;e.forEach((e=>{e&&(e.removeEventListener?e.removeEventListener("abort",onabort):e.unsubscribe(onabort))}));e=null}};e.forEach((e=>e&&e.addEventListener&&e.addEventListener("abort",onabort)));const{signal:o}=r;o.unsubscribe=unsubscribe;return[o,()=>{n&&clearTimeout(n);n=null}]};const Ve=composeSignals;const streamChunk=function*(e,t){let r=e.byteLength;if(!t||r{const o=readBytes(e,t,n);let i=0;let a;let _onFinish=e=>{if(!a){a=true;s&&s(e)}};return new ReadableStream({async pull(e){try{const{done:t,value:s}=await o.next();if(t){_onFinish();e.close();return}let n=s.byteLength;if(r){let e=i+=n;r(e)}e.enqueue(new Uint8Array(s))}catch(e){_onFinish(e);throw e}},cancel(e){_onFinish(e);return o.return()}},{highWaterMark:2})};const Je=typeof fetch==="function"&&typeof Request==="function"&&typeof Response==="function";const Ye=Je&&typeof ReadableStream==="function";const qe=Je&&(typeof TextEncoder==="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer()));const test=(e,...t)=>{try{return!!e(...t)}catch(e){return false}};const We=Ye&&test((()=>{let e=false;const t=new Request(ue.origin,{body:new ReadableStream,method:"POST",get duplex(){e=true;return"half"}}).headers.has("Content-Type");return e&&!t}));const Ze=64*1024;const ze=Ye&&test((()=>K.isReadableStream(new Response("").body)));const Ke={stream:ze&&(e=>e.body)};Je&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach((t=>{!Ke[t]&&(Ke[t]=K.isFunction(e[t])?e=>e[t]():(e,r)=>{throw new AxiosError(`Response type '${t}' is not supported`,AxiosError.ERR_NOT_SUPPORT,r)})}))})(new Response);const getBodyLength=async e=>{if(e==null){return 0}if(K.isBlob(e)){return e.size}if(K.isSpecCompliantForm(e)){return(await new Request(e).arrayBuffer()).byteLength}if(K.isArrayBufferView(e)||K.isArrayBuffer(e)){return e.byteLength}if(K.isURLSearchParams(e)){e=e+""}if(K.isString(e)){return(await qe(e)).byteLength}};const resolveBodyLength=async(e,t)=>{const r=K.toFiniteNumber(e.getContentLength());return r==null?getBodyLength(t):r};const Xe=Je&&(async e=>{let{url:t,method:r,data:s,signal:n,cancelToken:o,timeout:i,onDownloadProgress:a,onUploadProgress:A,responseType:c,headers:l,withCredentials:u="same-origin",fetchOptions:p}=resolveConfig(e);c=c?(c+"").toLowerCase():"text";let[d,g]=n||o||i?Ve([n,o],i):[];let h,m;const onFinish=()=>{!h&&setTimeout((()=>{d&&d.unsubscribe()}));h=true};let E;try{if(A&&We&&r!=="get"&&r!=="head"&&(E=await resolveBodyLength(l,s))!==0){let e=new Request(t,{method:"POST",body:s,duplex:"half"});let r;if(K.isFormData(s)&&(r=e.headers.get("content-type"))){l.setContentType(r)}if(e.body){const[t,r]=progressEventDecorator(E,progressEventReducer(asyncDecorator(A)));s=trackStream(e.body,Ze,t,r,qe)}}if(!K.isString(u)){u=u?"include":"omit"}m=new Request(t,{...p,signal:d,method:r.toUpperCase(),headers:l.normalize().toJSON(),body:s,duplex:"half",credentials:u});let n=await fetch(m);const o=ze&&(c==="stream"||c==="response");if(ze&&(a||o)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=n[t]}));const t=K.toFiniteNumber(n.headers.get("content-length"));const[r,s]=a&&progressEventDecorator(t,progressEventReducer(asyncDecorator(a),true))||[];n=new Response(trackStream(n.body,Ze,r,(()=>{s&&s();o&&onFinish()}),qe),e)}c=c||"text";let i=await Ke[K.findKey(Ke,c)||"text"](n,e);!o&&onFinish();g&&g();return await new Promise(((t,r)=>{settle(t,r,{data:i,headers:fe.from(n.headers),status:n.status,statusText:n.statusText,config:e,request:m})}))}catch(t){onFinish();if(t&&t.name==="TypeError"&&/fetch/i.test(t.message)){throw Object.assign(new AxiosError("Network Error",AxiosError.ERR_NETWORK,e,m),{cause:t.cause||t})}throw AxiosError.from(t,t&&t.code,e,m)}});const $e={http:Le,xhr:je,fetch:Xe};K.forEach($e,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const renderReason=e=>`- ${e}`;const isResolvedHandle=e=>K.isFunction(e)||e===null||e===false;const et={getAdapter:e=>{e=K.isArray(e)?e:[e];const{length:t}=e;let r;let s;const n={};for(let o=0;o`adapter ${e} `+(t===false?"is not supported by the environment":"is not available in the build")));let r=t?e.length>1?"since :\n"+e.map(renderReason).join("\n"):" "+renderReason(e[0]):"as no adapter specified";throw new AxiosError(`There is no suitable adapter to dispatch the request `+r,"ERR_NOT_SUPPORT")}return s},adapters:$e};function throwIfCancellationRequested(e){if(e.cancelToken){e.cancelToken.throwIfRequested()}if(e.signal&&e.signal.aborted){throw new CanceledError(null,e)}}function dispatchRequest(e){throwIfCancellationRequested(e);e.headers=fe.from(e.headers);e.data=transformData.call(e,e.transformRequest);if(["post","put","patch"].indexOf(e.method)!==-1){e.headers.setContentType("application/x-www-form-urlencoded",false)}const t=et.getAdapter(e.adapter||de.adapter);return t(e).then((function onAdapterResolution(t){throwIfCancellationRequested(e);t.data=transformData.call(e,e.transformResponse,t);t.headers=fe.from(t.headers);return t}),(function onAdapterRejection(t){if(!isCancel(t)){throwIfCancellationRequested(e);if(t&&t.response){t.response.data=transformData.call(e,e.transformResponse,t.response);t.response.headers=fe.from(t.response.headers)}}return Promise.reject(t)}))}const tt={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{tt[e]=function validator(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));const rt={};tt.transitional=function transitional(e,t,r){function formatMessage(e,t){return"[Axios v"+me+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,s,n)=>{if(e===false){throw new AxiosError(formatMessage(s," has been removed"+(t?" in "+t:"")),AxiosError.ERR_DEPRECATED)}if(t&&!rt[s]){rt[s]=true;console.warn(formatMessage(s," has been deprecated since v"+t+" and will be removed in the near future"))}return e?e(r,s,n):true}};function assertOptions(e,t,r){if(typeof e!=="object"){throw new AxiosError("options must be an object",AxiosError.ERR_BAD_OPTION_VALUE)}const s=Object.keys(e);let n=s.length;while(n-- >0){const o=s[n];const i=t[o];if(i){const t=e[o];const r=t===undefined||i(t,o,e);if(r!==true){throw new AxiosError("option "+o+" must be "+r,AxiosError.ERR_BAD_OPTION_VALUE)}continue}if(r!==true){throw new AxiosError("Unknown option "+o,AxiosError.ERR_BAD_OPTION)}}}const st={assertOptions:assertOptions,validators:tt};const nt=st.validators;class Axios{constructor(e){this.defaults=e;this.interceptors={request:new re,response:new re}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=new Error;const r=t.stack?t.stack.replace(/^.+\n/,""):"";try{if(!e.stack){e.stack=r}else if(r&&!String(e.stack).endsWith(r.replace(/^.+\n.+\n/,""))){e.stack+="\n"+r}}catch(e){}}throw e}}_request(e,t){if(typeof e==="string"){t=t||{};t.url=e}else{t=e||{}}t=mergeConfig(this.defaults,t);const{transitional:r,paramsSerializer:s,headers:n}=t;if(r!==undefined){st.assertOptions(r,{silentJSONParsing:nt.transitional(nt.boolean),forcedJSONParsing:nt.transitional(nt.boolean),clarifyTimeoutError:nt.transitional(nt.boolean)},false)}if(s!=null){if(K.isFunction(s)){t.paramsSerializer={serialize:s}}else{st.assertOptions(s,{encode:nt.function,serialize:nt.function},true)}}t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=n&&K.merge(n.common,n[t.method]);n&&K.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete n[e]}));t.headers=fe.concat(o,n);const i=[];let a=true;this.interceptors.request.forEach((function unshiftRequestInterceptors(e){if(typeof e.runWhen==="function"&&e.runWhen(t)===false){return}a=a&&e.synchronous;i.unshift(e.fulfilled,e.rejected)}));const A=[];this.interceptors.response.forEach((function pushResponseInterceptors(e){A.push(e.fulfilled,e.rejected)}));let c;let l=0;let u;if(!a){const e=[dispatchRequest.bind(this),undefined];e.unshift.apply(e,i);e.push.apply(e,A);u=e.length;c=Promise.resolve(t);while(l{if(!r._listeners)return;let t=r._listeners.length;while(t-- >0){r._listeners[t](e)}r._listeners=null}));this.promise.then=e=>{let t;const s=new Promise((e=>{r.subscribe(e);t=e})).then(e);s.cancel=function reject(){r.unsubscribe(t)};return s};e((function cancel(e,s,n){if(r.reason){return}r.reason=new CanceledError(e,s,n);t(r.reason)}))}throwIfRequested(){if(this.reason){throw this.reason}}subscribe(e){if(this.reason){e(this.reason);return}if(this._listeners){this._listeners.push(e)}else{this._listeners=[e]}}unsubscribe(e){if(!this._listeners){return}const t=this._listeners.indexOf(e);if(t!==-1){this._listeners.splice(t,1)}}static source(){let e;const t=new CancelToken((function executor(t){e=t}));return{token:t,cancel:e}}}const it=CancelToken;function spread(e){return function wrap(t){return e.apply(null,t)}}function isAxiosError(e){return K.isObject(e)&&e.isAxiosError===true}const at={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(at).forEach((([e,t])=>{at[t]=e}));const At=at;function createInstance(e){const t=new ot(e);const r=bind(ot.prototype.request,t);K.extend(r,ot.prototype,t,{allOwnKeys:true});K.extend(r,t,null,{allOwnKeys:true});r.create=function create(t){return createInstance(mergeConfig(e,t))};return r}const ct=createInstance(de);ct.Axios=ot;ct.CanceledError=CanceledError;ct.CancelToken=it;ct.isCancel=isCancel;ct.VERSION=me;ct.toFormData=toFormData;ct.AxiosError=AxiosError;ct.Cancel=ct.CanceledError;ct.all=function all(e){return Promise.all(e)};ct.spread=spread;ct.isAxiosError=isAxiosError;ct.mergeConfig=mergeConfig;ct.AxiosHeaders=fe;ct.formToJSON=e=>formDataToJSON(K.isHTMLForm(e)?new FormData(e):e);ct.getAdapter=et.getAdapter;ct.HttpStatusCode=At;ct.default=ct;e.exports=ct},7865:e=>{"use strict";e.exports=JSON.parse('{"name":"@slack/web-api","version":"7.3.2","description":"Official library for using the Slack Platform\'s Web API","author":"Slack Technologies, LLC","license":"MIT","keywords":["slack","web-api","bot","client","http","api","proxy","rate-limiting","pagination"],"main":"dist/index.js","types":"./dist/index.d.ts","files":["dist/**/*"],"engines":{"node":">= 18","npm":">= 8.6.0"},"repository":"slackapi/node-slack-sdk","homepage":"https://slack.dev/node-slack-sdk/web-api","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/slackapi/node-slack-sdk/issues"},"scripts":{"prepare":"npm run build","build":"npm run build:clean && tsc","build:clean":"shx rm -rf ./dist ./coverage","lint":"eslint --fix --ext .ts src","mocha":"mocha --config .mocharc.json src/*.spec.js","test":"npm run lint && npm run test:types && npm run test:integration && npm run test:unit","test:integration":"npm run build && node test/integration/commonjs-project/index.js && node test/integration/esm-project/index.mjs && npm run test:integration:ts","test:integration:ts":"cd test/integration/ts-4.7-project && npm i && npm run build","test:unit":"npm run build && c8 npm run mocha","test:types":"tsd","ref-docs:model":"api-extractor run","watch":"npx nodemon --watch \'src\' --ext \'ts\' --exec npm run build"},"dependencies":{"@slack/logger":"^4.0.0","@slack/types":"^2.9.0","@types/node":">=18.0.0","@types/retry":"0.12.0","axios":"^1.6.5","eventemitter3":"^5.0.1","form-data":"^4.0.0","is-electron":"2.2.2","is-stream":"^2","p-queue":"^6","p-retry":"^4","retry":"^0.13.1"},"devDependencies":{"@microsoft/api-extractor":"^7","@tsconfig/recommended":"^1","@types/chai":"^4","@types/mocha":"^10","@types/sinon":"^17","@typescript-eslint/eslint-plugin":"^6","@typescript-eslint/parser":"^6","busboy":"^1","c8":"^9.1.0","chai":"^4","eslint":"^8","eslint-config-airbnb-base":"^15","eslint-config-airbnb-typescript":"^17","eslint-plugin-import":"^2","eslint-plugin-import-newlines":"^1.3.4","eslint-plugin-jsdoc":"^48","eslint-plugin-node":"^11","mocha":"^10","nock":"^13","shx":"^0.3.2","sinon":"^17","source-map-support":"^0.5.21","ts-node":"^10","tsd":"^0.30.0","typescript":"5.3.3"},"tsd":{"directory":"test/types"}}')},6450:e=>{"use strict";e.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/3gpphal+json":{"source":"iana","compressible":true},"application/3gpphalforms+json":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/ace+cbor":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/at+jwt":{"source":"iana"},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/city+json":{"source":"iana","compressible":true},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true,"extensions":["cpl"]},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dash-patch+xml":{"source":"iana","compressible":true,"extensions":["mpp"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/express":{"source":"iana","extensions":["exp"]},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true,"extensions":["mpf"]},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/missing-blocks+cbor-seq":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true},"application/mrb-publish+xml":{"source":"iana","compressible":true},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/oauth-authz-req+jwt":{"source":"iana"},"application/oblivious-dns-message":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p21":{"source":"iana"},"application/p21+zip":{"source":"iana","compressible":false},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana","extensions":["asc"]},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sarif-external-properties+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spdx+json":{"source":"iana","compressible":true},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/token-introspection+jwt":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana","extensions":["trig"]},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.5gnas":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gtpc":{"source":"iana"},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.lpp":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ngap":{"source":"iana"},"application/vnd.3gpp.pfcp":{"source":"iana"},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.s1ap":{"source":"iana"},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.age":{"source":"iana","extensions":["age"]},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.arrow.file":{"source":"iana"},"application/vnd.apache.arrow.stream":{"source":"iana"},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.cryptomator.encrypted":{"source":"iana"},"application/vnd.cryptomator.vault":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.eclipse.ditto+json":{"source":"iana","compressible":true},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eu.kasparian.car+json":{"source":"iana","compressible":true},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.familysearch.gedcom+zip":{"source":"iana","compressible":false},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujifilm.fb.docuworks":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.container":{"source":"iana"},"application/vnd.fujifilm.fb.jfi+xml":{"source":"iana","compressible":true},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hl7cda+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hl7v2+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana","extensions":["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxar.archive.3tz+zip":{"source":"iana","compressible":false},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.nacamar.ybrid+json":{"source":"iana","compressible":true},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nebumind.line":{"source":"iana"},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.opentimestamps.ots":{"source":"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.resilient.logic":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.syft+json":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veritone.aion+json":{"source":"iana","compressible":true},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"source":"iana","compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true,"extensions":["wif"]},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-iwork-keynote-sffkey":{"extensions":["key"]},"application/x-iwork-numbers-sffnumbers":{"extensions":["numbers"]},"application/x-iwork-pages-sffpages":{"extensions":["pages"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana","extensions":["avci"]},"image/avcs":{"source":"iana","extensions":["avcs"]},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","compressible":true,"extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"compressible":true,"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/step":{"source":"iana"},"model/step+xml":{"source":"iana","compressible":true,"extensions":["stpx"]},"model/step+zip":{"source":"iana","compressible":false,"extensions":["stpz"]},"model/step-xml+zip":{"source":"iana","compressible":false,"extensions":["stpxz"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.pytha.pyox":{"source":"iana"},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.sap.vds":{"source":"iana","extensions":["vds"]},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"source":"iana","extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.familysearch.gedcom":{"source":"iana","extensions":["ged"]},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"compressible":true,"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/ffv1":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/jxsv":{"source":"iana"},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/vp9":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')}};var __webpack_module_cache__={};function __nccwpck_require__(e){var t=__webpack_module_cache__[e];if(t!==undefined){return t.exports}var r=__webpack_module_cache__[e]={exports:{}};var s=true;try{__webpack_modules__[e].call(r.exports,r,r.exports,__nccwpck_require__);s=false}finally{if(s)delete __webpack_module_cache__[e]}return r.exports}(()=>{__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=__dirname+"/";var __webpack_exports__={};(()=>{"use strict";__nccwpck_require__.r(__webpack_exports__);var e=__nccwpck_require__(764);var t=__nccwpck_require__(4237);var r=__nccwpck_require__(7131);let s="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let customAlphabet=(e,t=21)=>(r=t)=>{let s="";let n=r;while(n--){s+=e[Math.random()*e.length|0]}return s};let nanoid=(e=21)=>{let t="";let r=e;while(r--){t+=s[Math.random()*64|0]}return t};var n="vercel.ai.error";var o=Symbol.for(n);var i;var a=class _AISDKError extends Error{constructor({name:e,message:t,cause:r}){super(t);this[i]=true;this.name=e;this.cause=r}static isInstance(e){return _AISDKError.hasMarker(e,n)}static hasMarker(e,t){const r=Symbol.for(t);return e!=null&&typeof e==="object"&&r in e&&typeof e[r]==="boolean"&&e[r]===true}toJSON(){return{name:this.name,message:this.message}}};i=o;var A=a;var c="AI_APICallError";var l=`vercel.ai.error.${c}`;var u=Symbol.for(l);var p;var d=class extends A{constructor({message:e,url:t,requestBodyValues:r,statusCode:s,responseHeaders:n,responseBody:o,cause:i,isRetryable:a=s!=null&&(s===408||s===409||s===429||s>=500),data:A}){super({name:c,message:e,cause:i});this[p]=true;this.url=t;this.requestBodyValues=r;this.statusCode=s;this.responseHeaders=n;this.responseBody=o;this.isRetryable=a;this.data=A}static isInstance(e){return A.hasMarker(e,l)}static isAPICallError(e){return e instanceof Error&&e.name===c&&typeof e.url==="string"&&typeof e.requestBodyValues==="object"&&(e.statusCode==null||typeof e.statusCode==="number")&&(e.responseHeaders==null||typeof e.responseHeaders==="object")&&(e.responseBody==null||typeof e.responseBody==="string")&&(e.cause==null||typeof e.cause==="object")&&typeof e.isRetryable==="boolean"&&(e.data==null||typeof e.data==="object")}toJSON(){return{name:this.name,message:this.message,url:this.url,requestBodyValues:this.requestBodyValues,statusCode:this.statusCode,responseHeaders:this.responseHeaders,responseBody:this.responseBody,cause:this.cause,isRetryable:this.isRetryable,data:this.data}}};p=u;var g="AI_EmptyResponseBodyError";var h=`vercel.ai.error.${g}`;var m=Symbol.for(h);var E;var C=class extends A{constructor({message:e="Empty response body"}={}){super({name:g,message:e});this[E]=true}static isInstance(e){return A.hasMarker(e,h)}static isEmptyResponseBodyError(e){return e instanceof Error&&e.name===g}};E=m;function getErrorMessage(e){if(e==null){return"unknown error"}if(typeof e==="string"){return e}if(e instanceof Error){return e.message}return JSON.stringify(e)}var I="AI_InvalidPromptError";var B=`vercel.ai.error.${I}`;var Q=Symbol.for(B);var b;var y=class extends A{constructor({prompt:e,message:t}){super({name:I,message:`Invalid prompt: ${t}`});this[b]=true;this.prompt=e}static isInstance(e){return A.hasMarker(e,B)}static isInvalidPromptError(e){return e instanceof Error&&e.name===I&&prompt!=null}toJSON(){return{name:this.name,message:this.message,stack:this.stack,prompt:this.prompt}}};b=Q;var v="AI_InvalidResponseDataError";var w=`vercel.ai.error.${v}`;var x=Symbol.for(w);var k;var R=class extends A{constructor({data:e,message:t=`Invalid response data: ${JSON.stringify(e)}.`}){super({name:v,message:t});this[k]=true;this.data=e}static isInstance(e){return A.hasMarker(e,w)}static isInvalidResponseDataError(e){return e instanceof Error&&e.name===v&&e.data!=null}toJSON(){return{name:this.name,message:this.message,stack:this.stack,data:this.data}}};k=x;var S="AI_JSONParseError";var D=`vercel.ai.error.${S}`;var T=Symbol.for(D);var _;var F=class extends A{constructor({text:e,cause:t}){super({name:S,message:`JSON parsing failed: Text: ${e}.\nError message: ${getErrorMessage(t)}`,cause:t});this[_]=true;this.text=e}static isInstance(e){return A.hasMarker(e,D)}static isJSONParseError(e){return e instanceof Error&&e.name===S&&typeof e.text==="string"&&typeof e.cause==="string"}toJSON(){return{name:this.name,message:this.message,cause:this.cause,stack:this.stack,valueText:this.text}}};_=T;var N="AI_LoadAPIKeyError";var U=`vercel.ai.error.${N}`;var O=Symbol.for(U);var M;var L=class extends A{constructor({message:e}){super({name:N,message:e});this[M]=true}static isInstance(e){return A.hasMarker(e,U)}static isLoadAPIKeyError(e){return e instanceof Error&&e.name===N}};M=O;var P="AI_LoadSettingError";var G=`vercel.ai.error.${P}`;var H=Symbol.for(G);var j;var V=class extends(null&&A){constructor({message:e}){super({name:P,message:e});this[j]=true}static isInstance(e){return A.hasMarker(e,G)}static isLoadSettingError(e){return e instanceof Error&&e.name===P}};j=H;var J="AI_NoContentGeneratedError";var Y=`vercel.ai.error.${J}`;var q=Symbol.for(Y);var W;var Z=class extends(null&&A){constructor({message:e="No content generated."}={}){super({name:J,message:e});this[W]=true}static isInstance(e){return A.hasMarker(e,Y)}static isNoContentGeneratedError(e){return e instanceof Error&&e.name===J}toJSON(){return{name:this.name,cause:this.cause,message:this.message,stack:this.stack}}};W=q;var z="AI_TooManyEmbeddingValuesForCallError";var K=`vercel.ai.error.${z}`;var X=Symbol.for(K);var $;var ee=class extends A{constructor(e){super({name:z,message:`Too many values for a single embedding call. The ${e.provider} model "${e.modelId}" can only embed up to ${e.maxEmbeddingsPerCall} values per call, but ${e.values.length} values were provided.`});this[$]=true;this.provider=e.provider;this.modelId=e.modelId;this.maxEmbeddingsPerCall=e.maxEmbeddingsPerCall;this.values=e.values}static isInstance(e){return A.hasMarker(e,K)}static isTooManyEmbeddingValuesForCallError(e){return e instanceof Error&&e.name===z&&"provider"in e&&typeof e.provider==="string"&&"modelId"in e&&typeof e.modelId==="string"&&"maxEmbeddingsPerCall"in e&&typeof e.maxEmbeddingsPerCall==="number"&&"values"in e&&Array.isArray(e.values)}toJSON(){return{name:this.name,message:this.message,stack:this.stack,provider:this.provider,modelId:this.modelId,maxEmbeddingsPerCall:this.maxEmbeddingsPerCall,values:this.values}}};$=X;var te="AI_TypeValidationError";var re=`vercel.ai.error.${te}`;var se=Symbol.for(re);var ne;var oe=class _TypeValidationError extends A{constructor({value:e,cause:t}){super({name:te,message:`Type validation failed: Value: ${JSON.stringify(e)}.\nError message: ${getErrorMessage(t)}`,cause:t});this[ne]=true;this.value=e}static isInstance(e){return A.hasMarker(e,re)}static wrap({value:e,cause:t}){return _TypeValidationError.isInstance(t)&&t.value===e?t:new _TypeValidationError({value:e,cause:t})}static isTypeValidationError(e){return e instanceof Error&&e.name===te}toJSON(){return{name:this.name,message:this.message,cause:this.cause,stack:this.stack,value:this.value}}};ne=se;var ie=oe;var ae="AI_UnsupportedFunctionalityError";var Ae=`vercel.ai.error.${ae}`;var ce=Symbol.for(Ae);var le;var ue=class extends A{constructor({functionality:e}){super({name:ae,message:`'${e}' functionality not supported.`});this[le]=true;this.functionality=e}static isInstance(e){return A.hasMarker(e,Ae)}static isUnsupportedFunctionalityError(e){return e instanceof Error&&e.name===ae&&typeof e.functionality==="string"}toJSON(){return{name:this.name,message:this.message,stack:this.stack,functionality:this.functionality}}};le=ce;var pe=__nccwpck_require__(4642);function dist_createParser(e){let t;let r;let s;let n;let o;let i;let a;reset();return{feed:feed,reset:reset};function reset(){t=true;r="";s=0;n=-1;o=void 0;i=void 0;a=""}function feed(e){r=r?r+e:e;if(t&&hasBom(r)){r=r.slice(de.length)}t=false;const o=r.length;let i=0;let a=false;while(i0){r=r.slice(i)}}function parseEventStreamLine(t,r,s,n){if(n===0){if(a.length>0){e({type:"event",id:o,event:i||void 0,data:a.slice(0,-1)});a="";o=void 0}i=void 0;return}const A=s<0;const c=t.slice(r,r+(A?n:s));let l=0;if(A){l=n}else if(t[r+s+1]===" "){l=s+2}else{l=s+1}const u=r+l;const p=n-l;const d=t.slice(u,u+p).toString();if(c==="data"){a+=d?"".concat(d,"\n"):"\n"}else if(c==="event"){i=d}else if(c==="id"&&!d.includes("\0")){o=d}else if(c==="retry"){const t=parseInt(d,10);if(!Number.isNaN(t)){e({type:"reconnect-interval",value:t})}}}}const de=[239,187,191];function hasBom(e){return de.every(((t,r)=>e.charCodeAt(r)===t))}class EventSourceParserStream extends TransformStream{constructor(){let e;super({start(t){e=dist_createParser((e=>{if(e.type==="event"){t.enqueue(e)}}))},transform(t){e.feed(t)}})}}function combineHeaders(...e){return e.reduce(((e,t)=>({...e,...t!=null?t:{}})),{})}function convertAsyncGeneratorToReadableStream(e){return new ReadableStream({async pull(t){try{const{value:r,done:s}=await e.next();if(s){t.close()}else{t.enqueue(r)}}catch(e){t.error(e)}},cancel(){}})}function extractResponseHeaders(e){const t={};e.headers.forEach(((e,r)=>{t[r]=e}));return t}var ge=customAlphabet("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",7);function dist_getErrorMessage(e){if(e==null){return"unknown error"}if(typeof e==="string"){return e}if(e instanceof Error){return e.message}return JSON.stringify(e)}function isAbortError(e){return e instanceof Error&&(e.name==="AbortError"||e.name==="TimeoutError")}function dist_loadApiKey({apiKey:e,environmentVariableName:t,apiKeyParameterName:r="apiKey",description:s}){if(typeof e==="string"){return e}if(e!=null){throw new L({message:`${s} API key must be a string.`})}if(typeof process==="undefined"){throw new L({message:`${s} API key is missing. Pass it using the '${r}' parameter. Environment variables is not supported in this environment.`})}e=process.env[t];if(e==null){throw new L({message:`${s} API key is missing. Pass it using the '${r}' parameter or the ${t} environment variable.`})}if(typeof e!=="string"){throw new L({message:`${s} API key must be a string. The value of the ${t} environment variable is not a string.`})}return e}function loadSetting({settingValue:e,environmentVariableName:t,settingName:r,description:s}){if(typeof e==="string"){return e}if(e!=null){throw new LoadSettingError({message:`${s} setting must be a string.`})}if(typeof process==="undefined"){throw new LoadSettingError({message:`${s} setting is missing. Pass it using the '${r}' parameter. Environment variables is not supported in this environment.`})}e=process.env[t];if(e==null){throw new LoadSettingError({message:`${s} setting is missing. Pass it using the '${r}' parameter or the ${t} environment variable.`})}if(typeof e!=="string"){throw new LoadSettingError({message:`${s} setting must be a string. The value of the ${t} environment variable is not a string.`})}return e}var he=Symbol.for("vercel.ai.validator");function validator(e){return{[he]:true,validate:e}}function isValidator(e){return typeof e==="object"&&e!==null&&he in e&&e[he]===true&&"validate"in e}function asValidator(e){return isValidator(e)?e:zodValidator(e)}function zodValidator(e){return validator((t=>{const r=e.safeParse(t);return r.success?{success:true,value:r.data}:{success:false,error:r.error}}))}function validateTypes({value:e,schema:t}){const r=dist_safeValidateTypes({value:e,schema:t});if(!r.success){throw ie.wrap({value:e,cause:r.error})}return r.value}function dist_safeValidateTypes({value:e,schema:t}){const r=asValidator(t);try{if(r.validate==null){return{success:true,value:e}}const t=r.validate(e);if(t.success){return t}return{success:false,error:ie.wrap({value:e,cause:t.error})}}catch(t){return{success:false,error:ie.wrap({value:e,cause:t})}}}function parseJSON({text:e,schema:t}){try{const r=pe.parse(e);if(t==null){return r}return validateTypes({value:r,schema:t})}catch(t){if(F.isJSONParseError(t)||ie.isTypeValidationError(t)){throw t}throw new F({text:e,cause:t})}}function dist_safeParseJSON({text:e,schema:t}){try{const r=pe.parse(e);if(t==null){return{success:true,value:r}}return dist_safeValidateTypes({value:r,schema:t})}catch(t){return{success:false,error:F.isJSONParseError(t)?t:new F({text:e,cause:t})}}}function isParsableJson(e){try{pe.parse(e);return true}catch(e){return false}}var fe=null&&isParsableJson;function removeUndefinedEntries(e){return Object.fromEntries(Object.entries(e).filter((([e,t])=>t!=null)))}var getOriginalFetch=()=>fetch;var postJsonToApi=async({url:e,headers:t,body:r,failedResponseHandler:s,successfulResponseHandler:n,abortSignal:o,fetch:i})=>postToApi({url:e,headers:{"Content-Type":"application/json",...t},body:{content:JSON.stringify(r),values:r},failedResponseHandler:s,successfulResponseHandler:n,abortSignal:o,fetch:i});var postToApi=async({url:e,headers:t={},body:r,successfulResponseHandler:s,failedResponseHandler:n,abortSignal:o,fetch:i=getOriginalFetch()})=>{try{const a=await i(e,{method:"POST",headers:removeUndefinedEntries(t),body:r.content,signal:o});const A=extractResponseHeaders(a);if(!a.ok){let t;try{t=await n({response:a,url:e,requestBodyValues:r.values})}catch(t){if(isAbortError(t)||d.isAPICallError(t)){throw t}throw new d({message:"Failed to process error response",cause:t,statusCode:a.status,url:e,responseHeaders:A,requestBodyValues:r.values})}throw t.value}try{return await s({response:a,url:e,requestBodyValues:r.values})}catch(t){if(t instanceof Error){if(isAbortError(t)||d.isAPICallError(t)){throw t}}throw new d({message:"Failed to process successful response",cause:t,statusCode:a.status,url:e,responseHeaders:A,requestBodyValues:r.values})}}catch(t){if(isAbortError(t)){throw t}if(t instanceof TypeError&&t.message==="fetch failed"){const s=t.cause;if(s!=null){throw new d({message:`Cannot connect to API: ${s.message}`,cause:s,url:e,requestBodyValues:r.values,isRetryable:true})}}throw t}};var createJsonErrorResponseHandler=({errorSchema:e,errorToMessage:t,isRetryable:r})=>async({response:s,url:n,requestBodyValues:o})=>{const i=await s.text();const a=extractResponseHeaders(s);if(i.trim()===""){return{responseHeaders:a,value:new d({message:s.statusText,url:n,requestBodyValues:o,statusCode:s.status,responseHeaders:a,responseBody:i,isRetryable:r==null?void 0:r(s)})}}try{const A=parseJSON({text:i,schema:e});return{responseHeaders:a,value:new d({message:t(A),url:n,requestBodyValues:o,statusCode:s.status,responseHeaders:a,responseBody:i,data:A,isRetryable:r==null?void 0:r(s,A)})}}catch(e){return{responseHeaders:a,value:new d({message:s.statusText,url:n,requestBodyValues:o,statusCode:s.status,responseHeaders:a,responseBody:i,isRetryable:r==null?void 0:r(s)})}}};var createEventSourceResponseHandler=e=>async({response:t})=>{const r=extractResponseHeaders(t);if(t.body==null){throw new C({})}return{responseHeaders:r,value:t.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).pipeThrough(new TransformStream({transform({data:t},r){if(t==="[DONE]"){return}r.enqueue(dist_safeParseJSON({text:t,schema:e}))}}))}};var createJsonStreamResponseHandler=e=>async({response:t})=>{const r=extractResponseHeaders(t);if(t.body==null){throw new EmptyResponseBodyError({})}let s="";return{responseHeaders:r,value:t.body.pipeThrough(new TextDecoderStream).pipeThrough(new TransformStream({transform(t,r){if(t.endsWith("\n")){r.enqueue(dist_safeParseJSON({text:s+t,schema:e}));s=""}else{s+=t}}}))}};var createJsonResponseHandler=e=>async({response:t,url:r,requestBodyValues:s})=>{const n=await t.text();const o=dist_safeParseJSON({text:n,schema:e});const i=extractResponseHeaders(t);if(!o.success){throw new d({message:"Invalid JSON response",cause:o.error,statusCode:t.status,responseHeaders:i,responseBody:n,url:r,requestBodyValues:s})}return{responseHeaders:i,value:o.value}};var{btoa:me,atob:Ee}=globalThis;function convertBase64ToUint8Array(e){const t=e.replace(/-/g,"+").replace(/_/g,"/");const r=Ee(t);return Uint8Array.from(r,(e=>e.codePointAt(0)))}function dist_convertUint8ArrayToBase64(e){let t="";for(let r=0;rtypeof e==="string"?{...Be,name:e}:{...Be,...e};var Qe;(function(e){e.assertEqual=e=>e;function assertIs(e){}e.assertIs=assertIs;function assertNever(e){throw new Error}e.assertNever=assertNever;e.arrayToEnum=e=>{const t={};for(const r of e){t[r]=r}return t};e.getValidEnumValues=t=>{const r=e.objectKeys(t).filter((e=>typeof t[t[e]]!=="number"));const s={};for(const e of r){s[e]=t[e]}return e.objectValues(s)};e.objectValues=t=>e.objectKeys(t).map((function(e){return t[e]}));e.objectKeys=typeof Object.keys==="function"?e=>Object.keys(e):e=>{const t=[];for(const r in e){if(Object.prototype.hasOwnProperty.call(e,r)){t.push(r)}}return t};e.find=(e,t)=>{for(const r of e){if(t(r))return r}return undefined};e.isInteger=typeof Number.isInteger==="function"?e=>Number.isInteger(e):e=>typeof e==="number"&&isFinite(e)&&Math.floor(e)===e;function joinValues(e,t=" | "){return e.map((e=>typeof e==="string"?`'${e}'`:e)).join(t)}e.joinValues=joinValues;e.jsonStringifyReplacer=(e,t)=>{if(typeof t==="bigint"){return t.toString()}return t}})(Qe||(Qe={}));var be;(function(e){e.mergeShapes=(e,t)=>({...e,...t})})(be||(be={}));const ye=Qe.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]);const getParsedType=e=>{const t=typeof e;switch(t){case"undefined":return ye.undefined;case"string":return ye.string;case"number":return isNaN(e)?ye.nan:ye.number;case"boolean":return ye.boolean;case"function":return ye.function;case"bigint":return ye.bigint;case"symbol":return ye.symbol;case"object":if(Array.isArray(e)){return ye.array}if(e===null){return ye.null}if(e.then&&typeof e.then==="function"&&e.catch&&typeof e.catch==="function"){return ye.promise}if(typeof Map!=="undefined"&&e instanceof Map){return ye.map}if(typeof Set!=="undefined"&&e instanceof Set){return ye.set}if(typeof Date!=="undefined"&&e instanceof Date){return ye.date}return ye.object;default:return ye.unknown}};const ve=Qe.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);const quotelessJson=e=>{const t=JSON.stringify(e,null,2);return t.replace(/"([^"]+)":/g,"$1:")};class ZodError extends Error{constructor(e){super();this.issues=[];this.addIssue=e=>{this.issues=[...this.issues,e]};this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};const t=new.target.prototype;if(Object.setPrototypeOf){Object.setPrototypeOf(this,t)}else{this.__proto__=t}this.name="ZodError";this.issues=e}get errors(){return this.issues}format(e){const t=e||function(e){return e.message};const r={_errors:[]};const processError=e=>{for(const s of e.issues){if(s.code==="invalid_union"){s.unionErrors.map(processError)}else if(s.code==="invalid_return_type"){processError(s.returnTypeError)}else if(s.code==="invalid_arguments"){processError(s.argumentsError)}else if(s.path.length===0){r._errors.push(t(s))}else{let e=r;let n=0;while(ne.message)){const t={};const r=[];for(const s of this.issues){if(s.path.length>0){t[s.path[0]]=t[s.path[0]]||[];t[s.path[0]].push(e(s))}else{r.push(e(s))}}return{formErrors:r,fieldErrors:t}}get formErrors(){return this.flatten()}}ZodError.create=e=>{const t=new ZodError(e);return t};const errorMap=(e,t)=>{let r;switch(e.code){case ve.invalid_type:if(e.received===ye.undefined){r="Required"}else{r=`Expected ${e.expected}, received ${e.received}`}break;case ve.invalid_literal:r=`Invalid literal value, expected ${JSON.stringify(e.expected,Qe.jsonStringifyReplacer)}`;break;case ve.unrecognized_keys:r=`Unrecognized key(s) in object: ${Qe.joinValues(e.keys,", ")}`;break;case ve.invalid_union:r=`Invalid input`;break;case ve.invalid_union_discriminator:r=`Invalid discriminator value. Expected ${Qe.joinValues(e.options)}`;break;case ve.invalid_enum_value:r=`Invalid enum value. Expected ${Qe.joinValues(e.options)}, received '${e.received}'`;break;case ve.invalid_arguments:r=`Invalid function arguments`;break;case ve.invalid_return_type:r=`Invalid function return type`;break;case ve.invalid_date:r=`Invalid date`;break;case ve.invalid_string:if(typeof e.validation==="object"){if("includes"in e.validation){r=`Invalid input: must include "${e.validation.includes}"`;if(typeof e.validation.position==="number"){r=`${r} at one or more positions greater than or equal to ${e.validation.position}`}}else if("startsWith"in e.validation){r=`Invalid input: must start with "${e.validation.startsWith}"`}else if("endsWith"in e.validation){r=`Invalid input: must end with "${e.validation.endsWith}"`}else{Qe.assertNever(e.validation)}}else if(e.validation!=="regex"){r=`Invalid ${e.validation}`}else{r="Invalid"}break;case ve.too_small:if(e.type==="array")r=`Array must contain ${e.exact?"exactly":e.inclusive?`at least`:`more than`} ${e.minimum} element(s)`;else if(e.type==="string")r=`String must contain ${e.exact?"exactly":e.inclusive?`at least`:`over`} ${e.minimum} character(s)`;else if(e.type==="number")r=`Number must be ${e.exact?`exactly equal to `:e.inclusive?`greater than or equal to `:`greater than `}${e.minimum}`;else if(e.type==="date")r=`Date must be ${e.exact?`exactly equal to `:e.inclusive?`greater than or equal to `:`greater than `}${new Date(Number(e.minimum))}`;else r="Invalid input";break;case ve.too_big:if(e.type==="array")r=`Array must contain ${e.exact?`exactly`:e.inclusive?`at most`:`less than`} ${e.maximum} element(s)`;else if(e.type==="string")r=`String must contain ${e.exact?`exactly`:e.inclusive?`at most`:`under`} ${e.maximum} character(s)`;else if(e.type==="number")r=`Number must be ${e.exact?`exactly`:e.inclusive?`less than or equal to`:`less than`} ${e.maximum}`;else if(e.type==="bigint")r=`BigInt must be ${e.exact?`exactly`:e.inclusive?`less than or equal to`:`less than`} ${e.maximum}`;else if(e.type==="date")r=`Date must be ${e.exact?`exactly`:e.inclusive?`smaller than or equal to`:`smaller than`} ${new Date(Number(e.maximum))}`;else r="Invalid input";break;case ve.custom:r=`Invalid input`;break;case ve.invalid_intersection_types:r=`Intersection results could not be merged`;break;case ve.not_multiple_of:r=`Number must be a multiple of ${e.multipleOf}`;break;case ve.not_finite:r="Number must be finite";break;default:r=t.defaultError;Qe.assertNever(e)}return{message:r}};let we=errorMap;function setErrorMap(e){we=e}function getErrorMap(){return we}const makeIssue=e=>{const{data:t,path:r,errorMaps:s,issueData:n}=e;const o=[...r,...n.path||[]];const i={...n,path:o};if(n.message!==undefined){return{...n,path:o,message:n.message}}let a="";const A=s.filter((e=>!!e)).slice().reverse();for(const e of A){a=e(i,{data:t,defaultError:a}).message}return{...n,path:o,message:a}};const xe=[];function addIssueToContext(e,t){const r=getErrorMap();const s=makeIssue({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,r,r===errorMap?undefined:errorMap].filter((e=>!!e))});e.common.issues.push(s)}class ParseStatus{constructor(){this.value="valid"}dirty(){if(this.value==="valid")this.value="dirty"}abort(){if(this.value!=="aborted")this.value="aborted"}static mergeArray(e,t){const r=[];for(const s of t){if(s.status==="aborted")return ke;if(s.status==="dirty")e.dirty();r.push(s.value)}return{status:e.value,value:r}}static async mergeObjectAsync(e,t){const r=[];for(const e of t){const t=await e.key;const s=await e.value;r.push({key:t,value:s})}return ParseStatus.mergeObjectSync(e,r)}static mergeObjectSync(e,t){const r={};for(const s of t){const{key:t,value:n}=s;if(t.status==="aborted")return ke;if(n.status==="aborted")return ke;if(t.status==="dirty")e.dirty();if(n.status==="dirty")e.dirty();if(t.value!=="__proto__"&&(typeof n.value!=="undefined"||s.alwaysSet)){r[t.value]=n.value}}return{status:e.value,value:r}}}const ke=Object.freeze({status:"aborted"});const DIRTY=e=>({status:"dirty",value:e});const OK=e=>({status:"valid",value:e});const isAborted=e=>e.status==="aborted";const isDirty=e=>e.status==="dirty";const isValid=e=>e.status==="valid";const isAsync=e=>typeof Promise!=="undefined"&&e instanceof Promise;function __classPrivateFieldGet(e,t,r,s){if(r==="a"&&!s)throw new TypeError("Private accessor was defined without a getter");if(typeof t==="function"?e!==t||!s:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?s:r==="a"?s.call(e):s?s.value:t.get(e)}function __classPrivateFieldSet(e,t,r,s,n){if(s==="m")throw new TypeError("Private method is not writable");if(s==="a"&&!n)throw new TypeError("Private accessor was defined without a setter");if(typeof t==="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return s==="a"?n.call(e,r):n?n.value=r:t.set(e,r),r}typeof SuppressedError==="function"?SuppressedError:function(e,t,r){var s=new Error(r);return s.name="SuppressedError",s.error=e,s.suppressed=t,s};var Re;(function(e){e.errToObj=e=>typeof e==="string"?{message:e}:e||{};e.toString=e=>typeof e==="string"?e:e===null||e===void 0?void 0:e.message})(Re||(Re={}));var Se,De;class ParseInputLazyPath{constructor(e,t,r,s){this._cachedPath=[];this.parent=e;this.data=t;this._path=r;this._key=s}get path(){if(!this._cachedPath.length){if(this._key instanceof Array){this._cachedPath.push(...this._path,...this._key)}else{this._cachedPath.push(...this._path,this._key)}}return this._cachedPath}}const handleResult=(e,t)=>{if(isValid(t)){return{success:true,data:t.value}}else{if(!e.common.issues.length){throw new Error("Validation failed but no issues detected.")}return{success:false,get error(){if(this._error)return this._error;const t=new ZodError(e.common.issues);this._error=t;return this._error}}}};function processCreateParams(e){if(!e)return{};const{errorMap:t,invalid_type_error:r,required_error:s,description:n}=e;if(t&&(r||s)){throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`)}if(t)return{errorMap:t,description:n};const customMap=(t,n)=>{var o,i;const{message:a}=e;if(t.code==="invalid_enum_value"){return{message:a!==null&&a!==void 0?a:n.defaultError}}if(typeof n.data==="undefined"){return{message:(o=a!==null&&a!==void 0?a:s)!==null&&o!==void 0?o:n.defaultError}}if(t.code!=="invalid_type")return{message:n.defaultError};return{message:(i=a!==null&&a!==void 0?a:r)!==null&&i!==void 0?i:n.defaultError}};return{errorMap:customMap,description:n}}class ZodType{constructor(e){this.spa=this.safeParseAsync;this._def=e;this.parse=this.parse.bind(this);this.safeParse=this.safeParse.bind(this);this.parseAsync=this.parseAsync.bind(this);this.safeParseAsync=this.safeParseAsync.bind(this);this.spa=this.spa.bind(this);this.refine=this.refine.bind(this);this.refinement=this.refinement.bind(this);this.superRefine=this.superRefine.bind(this);this.optional=this.optional.bind(this);this.nullable=this.nullable.bind(this);this.nullish=this.nullish.bind(this);this.array=this.array.bind(this);this.promise=this.promise.bind(this);this.or=this.or.bind(this);this.and=this.and.bind(this);this.transform=this.transform.bind(this);this.brand=this.brand.bind(this);this.default=this.default.bind(this);this.catch=this.catch.bind(this);this.describe=this.describe.bind(this);this.pipe=this.pipe.bind(this);this.readonly=this.readonly.bind(this);this.isNullable=this.isNullable.bind(this);this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return getParsedType(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:getParsedType(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new ParseStatus,ctx:{common:e.parent.common,data:e.data,parsedType:getParsedType(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const t=this._parse(e);if(isAsync(t)){throw new Error("Synchronous parse encountered promise.")}return t}_parseAsync(e){const t=this._parse(e);return Promise.resolve(t)}parse(e,t){const r=this.safeParse(e,t);if(r.success)return r.data;throw r.error}safeParse(e,t){var r;const s={common:{issues:[],async:(r=t===null||t===void 0?void 0:t.async)!==null&&r!==void 0?r:false,contextualErrorMap:t===null||t===void 0?void 0:t.errorMap},path:(t===null||t===void 0?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:getParsedType(e)};const n=this._parseSync({data:e,path:s.path,parent:s});return handleResult(s,n)}async parseAsync(e,t){const r=await this.safeParseAsync(e,t);if(r.success)return r.data;throw r.error}async safeParseAsync(e,t){const r={common:{issues:[],contextualErrorMap:t===null||t===void 0?void 0:t.errorMap,async:true},path:(t===null||t===void 0?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:getParsedType(e)};const s=this._parse({data:e,path:r.path,parent:r});const n=await(isAsync(s)?s:Promise.resolve(s));return handleResult(r,n)}refine(e,t){const getIssueProperties=e=>{if(typeof t==="string"||typeof t==="undefined"){return{message:t}}else if(typeof t==="function"){return t(e)}else{return t}};return this._refinement(((t,r)=>{const s=e(t);const setError=()=>r.addIssue({code:ve.custom,...getIssueProperties(t)});if(typeof Promise!=="undefined"&&s instanceof Promise){return s.then((e=>{if(!e){setError();return false}else{return true}}))}if(!s){setError();return false}else{return true}}))}refinement(e,t){return this._refinement(((r,s)=>{if(!e(r)){s.addIssue(typeof t==="function"?t(r,s):t);return false}else{return true}}))}_refinement(e){return new ZodEffects({schema:this,typeName:We.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return ZodOptional.create(this,this._def)}nullable(){return ZodNullable.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ZodArray.create(this,this._def)}promise(){return ZodPromise.create(this,this._def)}or(e){return ZodUnion.create([this,e],this._def)}and(e){return ZodIntersection.create(this,e,this._def)}transform(e){return new ZodEffects({...processCreateParams(this._def),schema:this,typeName:We.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const t=typeof e==="function"?e:()=>e;return new ZodDefault({...processCreateParams(this._def),innerType:this,defaultValue:t,typeName:We.ZodDefault})}brand(){return new ZodBranded({typeName:We.ZodBranded,type:this,...processCreateParams(this._def)})}catch(e){const t=typeof e==="function"?e:()=>e;return new ZodCatch({...processCreateParams(this._def),innerType:this,catchValue:t,typeName:We.ZodCatch})}describe(e){const t=this.constructor;return new t({...this._def,description:e})}pipe(e){return ZodPipeline.create(this,e)}readonly(){return ZodReadonly.create(this)}isOptional(){return this.safeParse(undefined).success}isNullable(){return this.safeParse(null).success}}const Te=/^c[^\s-]{8,}$/i;const _e=/^[0-9a-z]+$/;const Fe=/^[0-9A-HJKMNP-TV-Z]{26}$/;const Ne=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i;const Ue=/^[a-z0-9_-]{21}$/i;const Oe=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/;const Me=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i;const Le=`^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`;let Pe;const Ge=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/;const He=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/;const je=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/;const Ve=`((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))`;const Je=new RegExp(`^${Ve}$`);function timeRegexSource(e){let t=`([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d`;if(e.precision){t=`${t}\\.\\d{${e.precision}}`}else if(e.precision==null){t=`${t}(\\.\\d+)?`}return t}function timeRegex(e){return new RegExp(`^${timeRegexSource(e)}$`)}function datetimeRegex(e){let t=`${Ve}T${timeRegexSource(e)}`;const r=[];r.push(e.local?`Z?`:`Z`);if(e.offset)r.push(`([+-]\\d{2}:?\\d{2})`);t=`${t}(${r.join("|")})`;return new RegExp(`^${t}$`)}function isValidIP(e,t){if((t==="v4"||!t)&&Ge.test(e)){return true}if((t==="v6"||!t)&&He.test(e)){return true}return false}class ZodString extends ZodType{_parse(e){if(this._def.coerce){e.data=String(e.data)}const t=this._getType(e);if(t!==ye.string){const t=this._getOrReturnCtx(e);addIssueToContext(t,{code:ve.invalid_type,expected:ye.string,received:t.parsedType});return ke}const r=new ParseStatus;let s=undefined;for(const t of this._def.checks){if(t.kind==="min"){if(e.data.lengtht.value){s=this._getOrReturnCtx(e,s);addIssueToContext(s,{code:ve.too_big,maximum:t.value,type:"string",inclusive:true,exact:false,message:t.message});r.dirty()}}else if(t.kind==="length"){const n=e.data.length>t.value;const o=e.data.lengthe.test(t)),{validation:t,code:ve.invalid_string,...Re.errToObj(r)})}_addCheck(e){return new ZodString({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...Re.errToObj(e)})}url(e){return this._addCheck({kind:"url",...Re.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...Re.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...Re.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...Re.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...Re.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...Re.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...Re.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...Re.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...Re.errToObj(e)})}datetime(e){var t,r;if(typeof e==="string"){return this._addCheck({kind:"datetime",precision:null,offset:false,local:false,message:e})}return this._addCheck({kind:"datetime",precision:typeof(e===null||e===void 0?void 0:e.precision)==="undefined"?null:e===null||e===void 0?void 0:e.precision,offset:(t=e===null||e===void 0?void 0:e.offset)!==null&&t!==void 0?t:false,local:(r=e===null||e===void 0?void 0:e.local)!==null&&r!==void 0?r:false,...Re.errToObj(e===null||e===void 0?void 0:e.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){if(typeof e==="string"){return this._addCheck({kind:"time",precision:null,message:e})}return this._addCheck({kind:"time",precision:typeof(e===null||e===void 0?void 0:e.precision)==="undefined"?null:e===null||e===void 0?void 0:e.precision,...Re.errToObj(e===null||e===void 0?void 0:e.message)})}duration(e){return this._addCheck({kind:"duration",...Re.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...Re.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:t===null||t===void 0?void 0:t.position,...Re.errToObj(t===null||t===void 0?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...Re.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...Re.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...Re.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...Re.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...Re.errToObj(t)})}nonempty(e){return this.min(1,Re.errToObj(e))}trim(){return new ZodString({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new ZodString({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new ZodString({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find((e=>e.kind==="datetime"))}get isDate(){return!!this._def.checks.find((e=>e.kind==="date"))}get isTime(){return!!this._def.checks.find((e=>e.kind==="time"))}get isDuration(){return!!this._def.checks.find((e=>e.kind==="duration"))}get isEmail(){return!!this._def.checks.find((e=>e.kind==="email"))}get isURL(){return!!this._def.checks.find((e=>e.kind==="url"))}get isEmoji(){return!!this._def.checks.find((e=>e.kind==="emoji"))}get isUUID(){return!!this._def.checks.find((e=>e.kind==="uuid"))}get isNANOID(){return!!this._def.checks.find((e=>e.kind==="nanoid"))}get isCUID(){return!!this._def.checks.find((e=>e.kind==="cuid"))}get isCUID2(){return!!this._def.checks.find((e=>e.kind==="cuid2"))}get isULID(){return!!this._def.checks.find((e=>e.kind==="ulid"))}get isIP(){return!!this._def.checks.find((e=>e.kind==="ip"))}get isBase64(){return!!this._def.checks.find((e=>e.kind==="base64"))}get minLength(){let e=null;for(const t of this._def.checks){if(t.kind==="min"){if(e===null||t.value>e)e=t.value}}return e}get maxLength(){let e=null;for(const t of this._def.checks){if(t.kind==="max"){if(e===null||t.value{var t;return new ZodString({checks:[],typeName:We.ZodString,coerce:(t=e===null||e===void 0?void 0:e.coerce)!==null&&t!==void 0?t:false,...processCreateParams(e)})};function floatSafeRemainder(e,t){const r=(e.toString().split(".")[1]||"").length;const s=(t.toString().split(".")[1]||"").length;const n=r>s?r:s;const o=parseInt(e.toFixed(n).replace(".",""));const i=parseInt(t.toFixed(n).replace(".",""));return o%i/Math.pow(10,n)}class ZodNumber extends ZodType{constructor(){super(...arguments);this.min=this.gte;this.max=this.lte;this.step=this.multipleOf}_parse(e){if(this._def.coerce){e.data=Number(e.data)}const t=this._getType(e);if(t!==ye.number){const t=this._getOrReturnCtx(e);addIssueToContext(t,{code:ve.invalid_type,expected:ye.number,received:t.parsedType});return ke}let r=undefined;const s=new ParseStatus;for(const t of this._def.checks){if(t.kind==="int"){if(!Qe.isInteger(e.data)){r=this._getOrReturnCtx(e,r);addIssueToContext(r,{code:ve.invalid_type,expected:"integer",received:"float",message:t.message});s.dirty()}}else if(t.kind==="min"){const n=t.inclusive?e.datat.value:e.data>=t.value;if(n){r=this._getOrReturnCtx(e,r);addIssueToContext(r,{code:ve.too_big,maximum:t.value,type:"number",inclusive:t.inclusive,exact:false,message:t.message});s.dirty()}}else if(t.kind==="multipleOf"){if(floatSafeRemainder(e.data,t.value)!==0){r=this._getOrReturnCtx(e,r);addIssueToContext(r,{code:ve.not_multiple_of,multipleOf:t.value,message:t.message});s.dirty()}}else if(t.kind==="finite"){if(!Number.isFinite(e.data)){r=this._getOrReturnCtx(e,r);addIssueToContext(r,{code:ve.not_finite,message:t.message});s.dirty()}}else{Qe.assertNever(t)}}return{status:s.value,value:e.data}}gte(e,t){return this.setLimit("min",e,true,Re.toString(t))}gt(e,t){return this.setLimit("min",e,false,Re.toString(t))}lte(e,t){return this.setLimit("max",e,true,Re.toString(t))}lt(e,t){return this.setLimit("max",e,false,Re.toString(t))}setLimit(e,t,r,s){return new ZodNumber({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:Re.toString(s)}]})}_addCheck(e){return new ZodNumber({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:Re.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:false,message:Re.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:false,message:Re.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:true,message:Re.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:true,message:Re.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:Re.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:Re.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:true,value:Number.MIN_SAFE_INTEGER,message:Re.toString(e)})._addCheck({kind:"max",inclusive:true,value:Number.MAX_SAFE_INTEGER,message:Re.toString(e)})}get minValue(){let e=null;for(const t of this._def.checks){if(t.kind==="min"){if(e===null||t.value>e)e=t.value}}return e}get maxValue(){let e=null;for(const t of this._def.checks){if(t.kind==="max"){if(e===null||t.valuee.kind==="int"||e.kind==="multipleOf"&&Qe.isInteger(e.value)))}get isFinite(){let e=null,t=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf"){return true}else if(r.kind==="min"){if(t===null||r.value>t)t=r.value}else if(r.kind==="max"){if(e===null||r.valuenew ZodNumber({checks:[],typeName:We.ZodNumber,coerce:(e===null||e===void 0?void 0:e.coerce)||false,...processCreateParams(e)});class ZodBigInt extends ZodType{constructor(){super(...arguments);this.min=this.gte;this.max=this.lte}_parse(e){if(this._def.coerce){e.data=BigInt(e.data)}const t=this._getType(e);if(t!==ye.bigint){const t=this._getOrReturnCtx(e);addIssueToContext(t,{code:ve.invalid_type,expected:ye.bigint,received:t.parsedType});return ke}let r=undefined;const s=new ParseStatus;for(const t of this._def.checks){if(t.kind==="min"){const n=t.inclusive?e.datat.value:e.data>=t.value;if(n){r=this._getOrReturnCtx(e,r);addIssueToContext(r,{code:ve.too_big,type:"bigint",maximum:t.value,inclusive:t.inclusive,message:t.message});s.dirty()}}else if(t.kind==="multipleOf"){if(e.data%t.value!==BigInt(0)){r=this._getOrReturnCtx(e,r);addIssueToContext(r,{code:ve.not_multiple_of,multipleOf:t.value,message:t.message});s.dirty()}}else{Qe.assertNever(t)}}return{status:s.value,value:e.data}}gte(e,t){return this.setLimit("min",e,true,Re.toString(t))}gt(e,t){return this.setLimit("min",e,false,Re.toString(t))}lte(e,t){return this.setLimit("max",e,true,Re.toString(t))}lt(e,t){return this.setLimit("max",e,false,Re.toString(t))}setLimit(e,t,r,s){return new ZodBigInt({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:Re.toString(s)}]})}_addCheck(e){return new ZodBigInt({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:false,message:Re.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:false,message:Re.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:true,message:Re.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:true,message:Re.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:Re.toString(t)})}get minValue(){let e=null;for(const t of this._def.checks){if(t.kind==="min"){if(e===null||t.value>e)e=t.value}}return e}get maxValue(){let e=null;for(const t of this._def.checks){if(t.kind==="max"){if(e===null||t.value{var t;return new ZodBigInt({checks:[],typeName:We.ZodBigInt,coerce:(t=e===null||e===void 0?void 0:e.coerce)!==null&&t!==void 0?t:false,...processCreateParams(e)})};class ZodBoolean extends ZodType{_parse(e){if(this._def.coerce){e.data=Boolean(e.data)}const t=this._getType(e);if(t!==ye.boolean){const t=this._getOrReturnCtx(e);addIssueToContext(t,{code:ve.invalid_type,expected:ye.boolean,received:t.parsedType});return ke}return OK(e.data)}}ZodBoolean.create=e=>new ZodBoolean({typeName:We.ZodBoolean,coerce:(e===null||e===void 0?void 0:e.coerce)||false,...processCreateParams(e)});class ZodDate extends ZodType{_parse(e){if(this._def.coerce){e.data=new Date(e.data)}const t=this._getType(e);if(t!==ye.date){const t=this._getOrReturnCtx(e);addIssueToContext(t,{code:ve.invalid_type,expected:ye.date,received:t.parsedType});return ke}if(isNaN(e.data.getTime())){const t=this._getOrReturnCtx(e);addIssueToContext(t,{code:ve.invalid_date});return ke}const r=new ParseStatus;let s=undefined;for(const t of this._def.checks){if(t.kind==="min"){if(e.data.getTime()t.value){s=this._getOrReturnCtx(e,s);addIssueToContext(s,{code:ve.too_big,message:t.message,inclusive:true,exact:false,maximum:t.value,type:"date"});r.dirty()}}else{Qe.assertNever(t)}}return{status:r.value,value:new Date(e.data.getTime())}}_addCheck(e){return new ZodDate({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:Re.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:Re.toString(t)})}get minDate(){let e=null;for(const t of this._def.checks){if(t.kind==="min"){if(e===null||t.value>e)e=t.value}}return e!=null?new Date(e):null}get maxDate(){let e=null;for(const t of this._def.checks){if(t.kind==="max"){if(e===null||t.valuenew ZodDate({checks:[],coerce:(e===null||e===void 0?void 0:e.coerce)||false,typeName:We.ZodDate,...processCreateParams(e)});class ZodSymbol extends ZodType{_parse(e){const t=this._getType(e);if(t!==ye.symbol){const t=this._getOrReturnCtx(e);addIssueToContext(t,{code:ve.invalid_type,expected:ye.symbol,received:t.parsedType});return ke}return OK(e.data)}}ZodSymbol.create=e=>new ZodSymbol({typeName:We.ZodSymbol,...processCreateParams(e)});class ZodUndefined extends ZodType{_parse(e){const t=this._getType(e);if(t!==ye.undefined){const t=this._getOrReturnCtx(e);addIssueToContext(t,{code:ve.invalid_type,expected:ye.undefined,received:t.parsedType});return ke}return OK(e.data)}}ZodUndefined.create=e=>new ZodUndefined({typeName:We.ZodUndefined,...processCreateParams(e)});class ZodNull extends ZodType{_parse(e){const t=this._getType(e);if(t!==ye.null){const t=this._getOrReturnCtx(e);addIssueToContext(t,{code:ve.invalid_type,expected:ye.null,received:t.parsedType});return ke}return OK(e.data)}}ZodNull.create=e=>new ZodNull({typeName:We.ZodNull,...processCreateParams(e)});class ZodAny extends ZodType{constructor(){super(...arguments);this._any=true}_parse(e){return OK(e.data)}}ZodAny.create=e=>new ZodAny({typeName:We.ZodAny,...processCreateParams(e)});class ZodUnknown extends ZodType{constructor(){super(...arguments);this._unknown=true}_parse(e){return OK(e.data)}}ZodUnknown.create=e=>new ZodUnknown({typeName:We.ZodUnknown,...processCreateParams(e)});class ZodNever extends ZodType{_parse(e){const t=this._getOrReturnCtx(e);addIssueToContext(t,{code:ve.invalid_type,expected:ye.never,received:t.parsedType});return ke}}ZodNever.create=e=>new ZodNever({typeName:We.ZodNever,...processCreateParams(e)});class ZodVoid extends ZodType{_parse(e){const t=this._getType(e);if(t!==ye.undefined){const t=this._getOrReturnCtx(e);addIssueToContext(t,{code:ve.invalid_type,expected:ye.void,received:t.parsedType});return ke}return OK(e.data)}}ZodVoid.create=e=>new ZodVoid({typeName:We.ZodVoid,...processCreateParams(e)});class ZodArray extends ZodType{_parse(e){const{ctx:t,status:r}=this._processInputParams(e);const s=this._def;if(t.parsedType!==ye.array){addIssueToContext(t,{code:ve.invalid_type,expected:ye.array,received:t.parsedType});return ke}if(s.exactLength!==null){const e=t.data.length>s.exactLength.value;const n=t.data.lengths.maxLength.value){addIssueToContext(t,{code:ve.too_big,maximum:s.maxLength.value,type:"array",inclusive:true,exact:false,message:s.maxLength.message});r.dirty()}}if(t.common.async){return Promise.all([...t.data].map(((e,r)=>s.type._parseAsync(new ParseInputLazyPath(t,e,t.path,r))))).then((e=>ParseStatus.mergeArray(r,e)))}const n=[...t.data].map(((e,r)=>s.type._parseSync(new ParseInputLazyPath(t,e,t.path,r))));return ParseStatus.mergeArray(r,n)}get element(){return this._def.type}min(e,t){return new ZodArray({...this._def,minLength:{value:e,message:Re.toString(t)}})}max(e,t){return new ZodArray({...this._def,maxLength:{value:e,message:Re.toString(t)}})}length(e,t){return new ZodArray({...this._def,exactLength:{value:e,message:Re.toString(t)}})}nonempty(e){return this.min(1,e)}}ZodArray.create=(e,t)=>new ZodArray({type:e,minLength:null,maxLength:null,exactLength:null,typeName:We.ZodArray,...processCreateParams(t)});function deepPartialify(e){if(e instanceof ZodObject){const t={};for(const r in e.shape){const s=e.shape[r];t[r]=ZodOptional.create(deepPartialify(s))}return new ZodObject({...e._def,shape:()=>t})}else if(e instanceof ZodArray){return new ZodArray({...e._def,type:deepPartialify(e.element)})}else if(e instanceof ZodOptional){return ZodOptional.create(deepPartialify(e.unwrap()))}else if(e instanceof ZodNullable){return ZodNullable.create(deepPartialify(e.unwrap()))}else if(e instanceof ZodTuple){return ZodTuple.create(e.items.map((e=>deepPartialify(e))))}else{return e}}class ZodObject extends ZodType{constructor(){super(...arguments);this._cached=null;this.nonstrict=this.passthrough;this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const e=this._def.shape();const t=Qe.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){const t=this._getType(e);if(t!==ye.object){const t=this._getOrReturnCtx(e);addIssueToContext(t,{code:ve.invalid_type,expected:ye.object,received:t.parsedType});return ke}const{status:r,ctx:s}=this._processInputParams(e);const{shape:n,keys:o}=this._getCached();const i=[];if(!(this._def.catchall instanceof ZodNever&&this._def.unknownKeys==="strip")){for(const e in s.data){if(!o.includes(e)){i.push(e)}}}const a=[];for(const e of o){const t=n[e];const r=s.data[e];a.push({key:{status:"valid",value:e},value:t._parse(new ParseInputLazyPath(s,r,s.path,e)),alwaysSet:e in s.data})}if(this._def.catchall instanceof ZodNever){const e=this._def.unknownKeys;if(e==="passthrough"){for(const e of i){a.push({key:{status:"valid",value:e},value:{status:"valid",value:s.data[e]}})}}else if(e==="strict"){if(i.length>0){addIssueToContext(s,{code:ve.unrecognized_keys,keys:i});r.dirty()}}else if(e==="strip");else{throw new Error(`Internal ZodObject error: invalid unknownKeys value.`)}}else{const e=this._def.catchall;for(const t of i){const r=s.data[t];a.push({key:{status:"valid",value:t},value:e._parse(new ParseInputLazyPath(s,r,s.path,t)),alwaysSet:t in s.data})}}if(s.common.async){return Promise.resolve().then((async()=>{const e=[];for(const t of a){const r=await t.key;const s=await t.value;e.push({key:r,value:s,alwaysSet:t.alwaysSet})}return e})).then((e=>ParseStatus.mergeObjectSync(r,e)))}else{return ParseStatus.mergeObjectSync(r,a)}}get shape(){return this._def.shape()}strict(e){Re.errToObj;return new ZodObject({...this._def,unknownKeys:"strict",...e!==undefined?{errorMap:(t,r)=>{var s,n,o,i;const a=(o=(n=(s=this._def).errorMap)===null||n===void 0?void 0:n.call(s,t,r).message)!==null&&o!==void 0?o:r.defaultError;if(t.code==="unrecognized_keys")return{message:(i=Re.errToObj(e).message)!==null&&i!==void 0?i:a};return{message:a}}}:{}})}strip(){return new ZodObject({...this._def,unknownKeys:"strip"})}passthrough(){return new ZodObject({...this._def,unknownKeys:"passthrough"})}extend(e){return new ZodObject({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){const t=new ZodObject({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:We.ZodObject});return t}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new ZodObject({...this._def,catchall:e})}pick(e){const t={};Qe.objectKeys(e).forEach((r=>{if(e[r]&&this.shape[r]){t[r]=this.shape[r]}}));return new ZodObject({...this._def,shape:()=>t})}omit(e){const t={};Qe.objectKeys(this.shape).forEach((r=>{if(!e[r]){t[r]=this.shape[r]}}));return new ZodObject({...this._def,shape:()=>t})}deepPartial(){return deepPartialify(this)}partial(e){const t={};Qe.objectKeys(this.shape).forEach((r=>{const s=this.shape[r];if(e&&!e[r]){t[r]=s}else{t[r]=s.optional()}}));return new ZodObject({...this._def,shape:()=>t})}required(e){const t={};Qe.objectKeys(this.shape).forEach((r=>{if(e&&!e[r]){t[r]=this.shape[r]}else{const e=this.shape[r];let s=e;while(s instanceof ZodOptional){s=s._def.innerType}t[r]=s}}));return new ZodObject({...this._def,shape:()=>t})}keyof(){return createZodEnum(Qe.objectKeys(this.shape))}}ZodObject.create=(e,t)=>new ZodObject({shape:()=>e,unknownKeys:"strip",catchall:ZodNever.create(),typeName:We.ZodObject,...processCreateParams(t)});ZodObject.strictCreate=(e,t)=>new ZodObject({shape:()=>e,unknownKeys:"strict",catchall:ZodNever.create(),typeName:We.ZodObject,...processCreateParams(t)});ZodObject.lazycreate=(e,t)=>new ZodObject({shape:e,unknownKeys:"strip",catchall:ZodNever.create(),typeName:We.ZodObject,...processCreateParams(t)});class ZodUnion extends ZodType{_parse(e){const{ctx:t}=this._processInputParams(e);const r=this._def.options;function handleResults(e){for(const t of e){if(t.result.status==="valid"){return t.result}}for(const r of e){if(r.result.status==="dirty"){t.common.issues.push(...r.ctx.common.issues);return r.result}}const r=e.map((e=>new ZodError(e.ctx.common.issues)));addIssueToContext(t,{code:ve.invalid_union,unionErrors:r});return ke}if(t.common.async){return Promise.all(r.map((async e=>{const r={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:r}),ctx:r}}))).then(handleResults)}else{let e=undefined;const s=[];for(const n of r){const r={...t,common:{...t.common,issues:[]},parent:null};const o=n._parseSync({data:t.data,path:t.path,parent:r});if(o.status==="valid"){return o}else if(o.status==="dirty"&&!e){e={result:o,ctx:r}}if(r.common.issues.length){s.push(r.common.issues)}}if(e){t.common.issues.push(...e.ctx.common.issues);return e.result}const n=s.map((e=>new ZodError(e)));addIssueToContext(t,{code:ve.invalid_union,unionErrors:n});return ke}}get options(){return this._def.options}}ZodUnion.create=(e,t)=>new ZodUnion({options:e,typeName:We.ZodUnion,...processCreateParams(t)});const getDiscriminator=e=>{if(e instanceof ZodLazy){return getDiscriminator(e.schema)}else if(e instanceof ZodEffects){return getDiscriminator(e.innerType())}else if(e instanceof ZodLiteral){return[e.value]}else if(e instanceof ZodEnum){return e.options}else if(e instanceof ZodNativeEnum){return Qe.objectValues(e.enum)}else if(e instanceof ZodDefault){return getDiscriminator(e._def.innerType)}else if(e instanceof ZodUndefined){return[undefined]}else if(e instanceof ZodNull){return[null]}else if(e instanceof ZodOptional){return[undefined,...getDiscriminator(e.unwrap())]}else if(e instanceof ZodNullable){return[null,...getDiscriminator(e.unwrap())]}else if(e instanceof ZodBranded){return getDiscriminator(e.unwrap())}else if(e instanceof ZodReadonly){return getDiscriminator(e.unwrap())}else if(e instanceof ZodCatch){return getDiscriminator(e._def.innerType)}else{return[]}};class ZodDiscriminatedUnion extends ZodType{_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==ye.object){addIssueToContext(t,{code:ve.invalid_type,expected:ye.object,received:t.parsedType});return ke}const r=this.discriminator;const s=t.data[r];const n=this.optionsMap.get(s);if(!n){addIssueToContext(t,{code:ve.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]});return ke}if(t.common.async){return n._parseAsync({data:t.data,path:t.path,parent:t})}else{return n._parseSync({data:t.data,path:t.path,parent:t})}}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,r){const s=new Map;for(const r of t){const t=getDiscriminator(r.shape[e]);if(!t.length){throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`)}for(const n of t){if(s.has(n)){throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(n)}`)}s.set(n,r)}}return new ZodDiscriminatedUnion({typeName:We.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:s,...processCreateParams(r)})}}function mergeValues(e,t){const r=getParsedType(e);const s=getParsedType(t);if(e===t){return{valid:true,data:e}}else if(r===ye.object&&s===ye.object){const r=Qe.objectKeys(t);const s=Qe.objectKeys(e).filter((e=>r.indexOf(e)!==-1));const n={...e,...t};for(const r of s){const s=mergeValues(e[r],t[r]);if(!s.valid){return{valid:false}}n[r]=s.data}return{valid:true,data:n}}else if(r===ye.array&&s===ye.array){if(e.length!==t.length){return{valid:false}}const r=[];for(let s=0;s{if(isAborted(e)||isAborted(s)){return ke}const n=mergeValues(e.value,s.value);if(!n.valid){addIssueToContext(r,{code:ve.invalid_intersection_types});return ke}if(isDirty(e)||isDirty(s)){t.dirty()}return{status:t.value,value:n.data}};if(r.common.async){return Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then((([e,t])=>handleParsed(e,t)))}else{return handleParsed(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}}ZodIntersection.create=(e,t,r)=>new ZodIntersection({left:e,right:t,typeName:We.ZodIntersection,...processCreateParams(r)});class ZodTuple extends ZodType{_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==ye.array){addIssueToContext(r,{code:ve.invalid_type,expected:ye.array,received:r.parsedType});return ke}if(r.data.lengththis._def.items.length){addIssueToContext(r,{code:ve.too_big,maximum:this._def.items.length,inclusive:true,exact:false,type:"array"});t.dirty()}const n=[...r.data].map(((e,t)=>{const s=this._def.items[t]||this._def.rest;if(!s)return null;return s._parse(new ParseInputLazyPath(r,e,r.path,t))})).filter((e=>!!e));if(r.common.async){return Promise.all(n).then((e=>ParseStatus.mergeArray(t,e)))}else{return ParseStatus.mergeArray(t,n)}}get items(){return this._def.items}rest(e){return new ZodTuple({...this._def,rest:e})}}ZodTuple.create=(e,t)=>{if(!Array.isArray(e)){throw new Error("You must pass an array of schemas to z.tuple([ ... ])")}return new ZodTuple({items:e,typeName:We.ZodTuple,rest:null,...processCreateParams(t)})};class ZodRecord extends ZodType{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==ye.object){addIssueToContext(r,{code:ve.invalid_type,expected:ye.object,received:r.parsedType});return ke}const s=[];const n=this._def.keyType;const o=this._def.valueType;for(const e in r.data){s.push({key:n._parse(new ParseInputLazyPath(r,e,r.path,e)),value:o._parse(new ParseInputLazyPath(r,r.data[e],r.path,e)),alwaysSet:e in r.data})}if(r.common.async){return ParseStatus.mergeObjectAsync(t,s)}else{return ParseStatus.mergeObjectSync(t,s)}}get element(){return this._def.valueType}static create(e,t,r){if(t instanceof ZodType){return new ZodRecord({keyType:e,valueType:t,typeName:We.ZodRecord,...processCreateParams(r)})}return new ZodRecord({keyType:ZodString.create(),valueType:e,typeName:We.ZodRecord,...processCreateParams(t)})}}class ZodMap extends ZodType{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==ye.map){addIssueToContext(r,{code:ve.invalid_type,expected:ye.map,received:r.parsedType});return ke}const s=this._def.keyType;const n=this._def.valueType;const o=[...r.data.entries()].map((([e,t],o)=>({key:s._parse(new ParseInputLazyPath(r,e,r.path,[o,"key"])),value:n._parse(new ParseInputLazyPath(r,t,r.path,[o,"value"]))})));if(r.common.async){const e=new Map;return Promise.resolve().then((async()=>{for(const r of o){const s=await r.key;const n=await r.value;if(s.status==="aborted"||n.status==="aborted"){return ke}if(s.status==="dirty"||n.status==="dirty"){t.dirty()}e.set(s.value,n.value)}return{status:t.value,value:e}}))}else{const e=new Map;for(const r of o){const s=r.key;const n=r.value;if(s.status==="aborted"||n.status==="aborted"){return ke}if(s.status==="dirty"||n.status==="dirty"){t.dirty()}e.set(s.value,n.value)}return{status:t.value,value:e}}}}ZodMap.create=(e,t,r)=>new ZodMap({valueType:t,keyType:e,typeName:We.ZodMap,...processCreateParams(r)});class ZodSet extends ZodType{_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==ye.set){addIssueToContext(r,{code:ve.invalid_type,expected:ye.set,received:r.parsedType});return ke}const s=this._def;if(s.minSize!==null){if(r.data.sizes.maxSize.value){addIssueToContext(r,{code:ve.too_big,maximum:s.maxSize.value,type:"set",inclusive:true,exact:false,message:s.maxSize.message});t.dirty()}}const n=this._def.valueType;function finalizeSet(e){const r=new Set;for(const s of e){if(s.status==="aborted")return ke;if(s.status==="dirty")t.dirty();r.add(s.value)}return{status:t.value,value:r}}const o=[...r.data.values()].map(((e,t)=>n._parse(new ParseInputLazyPath(r,e,r.path,t))));if(r.common.async){return Promise.all(o).then((e=>finalizeSet(e)))}else{return finalizeSet(o)}}min(e,t){return new ZodSet({...this._def,minSize:{value:e,message:Re.toString(t)}})}max(e,t){return new ZodSet({...this._def,maxSize:{value:e,message:Re.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}ZodSet.create=(e,t)=>new ZodSet({valueType:e,minSize:null,maxSize:null,typeName:We.ZodSet,...processCreateParams(t)});class ZodFunction extends ZodType{constructor(){super(...arguments);this.validate=this.implement}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==ye.function){addIssueToContext(t,{code:ve.invalid_type,expected:ye.function,received:t.parsedType});return ke}function makeArgsIssue(e,r){return makeIssue({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,getErrorMap(),errorMap].filter((e=>!!e)),issueData:{code:ve.invalid_arguments,argumentsError:r}})}function makeReturnsIssue(e,r){return makeIssue({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,getErrorMap(),errorMap].filter((e=>!!e)),issueData:{code:ve.invalid_return_type,returnTypeError:r}})}const r={errorMap:t.common.contextualErrorMap};const s=t.data;if(this._def.returns instanceof ZodPromise){const e=this;return OK((async function(...t){const n=new ZodError([]);const o=await e._def.args.parseAsync(t,r).catch((e=>{n.addIssue(makeArgsIssue(t,e));throw n}));const i=await Reflect.apply(s,this,o);const a=await e._def.returns._def.type.parseAsync(i,r).catch((e=>{n.addIssue(makeReturnsIssue(i,e));throw n}));return a}))}else{const e=this;return OK((function(...t){const n=e._def.args.safeParse(t,r);if(!n.success){throw new ZodError([makeArgsIssue(t,n.error)])}const o=Reflect.apply(s,this,n.data);const i=e._def.returns.safeParse(o,r);if(!i.success){throw new ZodError([makeReturnsIssue(o,i.error)])}return i.data}))}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new ZodFunction({...this._def,args:ZodTuple.create(e).rest(ZodUnknown.create())})}returns(e){return new ZodFunction({...this._def,returns:e})}implement(e){const t=this.parse(e);return t}strictImplement(e){const t=this.parse(e);return t}static create(e,t,r){return new ZodFunction({args:e?e:ZodTuple.create([]).rest(ZodUnknown.create()),returns:t||ZodUnknown.create(),typeName:We.ZodFunction,...processCreateParams(r)})}}class ZodLazy extends ZodType{get schema(){return this._def.getter()}_parse(e){const{ctx:t}=this._processInputParams(e);const r=this._def.getter();return r._parse({data:t.data,path:t.path,parent:t})}}ZodLazy.create=(e,t)=>new ZodLazy({getter:e,typeName:We.ZodLazy,...processCreateParams(t)});class ZodLiteral extends ZodType{_parse(e){if(e.data!==this._def.value){const t=this._getOrReturnCtx(e);addIssueToContext(t,{received:t.data,code:ve.invalid_literal,expected:this._def.value});return ke}return{status:"valid",value:e.data}}get value(){return this._def.value}}ZodLiteral.create=(e,t)=>new ZodLiteral({value:e,typeName:We.ZodLiteral,...processCreateParams(t)});function createZodEnum(e,t){return new ZodEnum({values:e,typeName:We.ZodEnum,...processCreateParams(t)})}class ZodEnum extends ZodType{constructor(){super(...arguments);Se.set(this,void 0)}_parse(e){if(typeof e.data!=="string"){const t=this._getOrReturnCtx(e);const r=this._def.values;addIssueToContext(t,{expected:Qe.joinValues(r),received:t.parsedType,code:ve.invalid_type});return ke}if(!__classPrivateFieldGet(this,Se,"f")){__classPrivateFieldSet(this,Se,new Set(this._def.values),"f")}if(!__classPrivateFieldGet(this,Se,"f").has(e.data)){const t=this._getOrReturnCtx(e);const r=this._def.values;addIssueToContext(t,{received:t.data,code:ve.invalid_enum_value,options:r});return ke}return OK(e.data)}get options(){return this._def.values}get enum(){const e={};for(const t of this._def.values){e[t]=t}return e}get Values(){const e={};for(const t of this._def.values){e[t]=t}return e}get Enum(){const e={};for(const t of this._def.values){e[t]=t}return e}extract(e,t=this._def){return ZodEnum.create(e,{...this._def,...t})}exclude(e,t=this._def){return ZodEnum.create(this.options.filter((t=>!e.includes(t))),{...this._def,...t})}}Se=new WeakMap;ZodEnum.create=createZodEnum;class ZodNativeEnum extends ZodType{constructor(){super(...arguments);De.set(this,void 0)}_parse(e){const t=Qe.getValidEnumValues(this._def.values);const r=this._getOrReturnCtx(e);if(r.parsedType!==ye.string&&r.parsedType!==ye.number){const e=Qe.objectValues(t);addIssueToContext(r,{expected:Qe.joinValues(e),received:r.parsedType,code:ve.invalid_type});return ke}if(!__classPrivateFieldGet(this,De,"f")){__classPrivateFieldSet(this,De,new Set(Qe.getValidEnumValues(this._def.values)),"f")}if(!__classPrivateFieldGet(this,De,"f").has(e.data)){const e=Qe.objectValues(t);addIssueToContext(r,{received:r.data,code:ve.invalid_enum_value,options:e});return ke}return OK(e.data)}get enum(){return this._def.values}}De=new WeakMap;ZodNativeEnum.create=(e,t)=>new ZodNativeEnum({values:e,typeName:We.ZodNativeEnum,...processCreateParams(t)});class ZodPromise extends ZodType{unwrap(){return this._def.type}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==ye.promise&&t.common.async===false){addIssueToContext(t,{code:ve.invalid_type,expected:ye.promise,received:t.parsedType});return ke}const r=t.parsedType===ye.promise?t.data:Promise.resolve(t.data);return OK(r.then((e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap}))))}}ZodPromise.create=(e,t)=>new ZodPromise({type:e,typeName:We.ZodPromise,...processCreateParams(t)});class ZodEffects extends ZodType{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===We.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:t,ctx:r}=this._processInputParams(e);const s=this._def.effect||null;const n={addIssue:e=>{addIssueToContext(r,e);if(e.fatal){t.abort()}else{t.dirty()}},get path(){return r.path}};n.addIssue=n.addIssue.bind(n);if(s.type==="preprocess"){const e=s.transform(r.data,n);if(r.common.async){return Promise.resolve(e).then((async e=>{if(t.value==="aborted")return ke;const s=await this._def.schema._parseAsync({data:e,path:r.path,parent:r});if(s.status==="aborted")return ke;if(s.status==="dirty")return DIRTY(s.value);if(t.value==="dirty")return DIRTY(s.value);return s}))}else{if(t.value==="aborted")return ke;const s=this._def.schema._parseSync({data:e,path:r.path,parent:r});if(s.status==="aborted")return ke;if(s.status==="dirty")return DIRTY(s.value);if(t.value==="dirty")return DIRTY(s.value);return s}}if(s.type==="refinement"){const executeRefinement=e=>{const t=s.refinement(e,n);if(r.common.async){return Promise.resolve(t)}if(t instanceof Promise){throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.")}return e};if(r.common.async===false){const e=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(e.status==="aborted")return ke;if(e.status==="dirty")t.dirty();executeRefinement(e.value);return{status:t.value,value:e.value}}else{return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then((e=>{if(e.status==="aborted")return ke;if(e.status==="dirty")t.dirty();return executeRefinement(e.value).then((()=>({status:t.value,value:e.value})))}))}}if(s.type==="transform"){if(r.common.async===false){const e=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!isValid(e))return e;const o=s.transform(e.value,n);if(o instanceof Promise){throw new Error(`Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.`)}return{status:t.value,value:o}}else{return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then((e=>{if(!isValid(e))return e;return Promise.resolve(s.transform(e.value,n)).then((e=>({status:t.value,value:e})))}))}}Qe.assertNever(s)}}ZodEffects.create=(e,t,r)=>new ZodEffects({schema:e,typeName:We.ZodEffects,effect:t,...processCreateParams(r)});ZodEffects.createWithPreprocess=(e,t,r)=>new ZodEffects({schema:t,effect:{type:"preprocess",transform:e},typeName:We.ZodEffects,...processCreateParams(r)});class ZodOptional extends ZodType{_parse(e){const t=this._getType(e);if(t===ye.undefined){return OK(undefined)}return this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}ZodOptional.create=(e,t)=>new ZodOptional({innerType:e,typeName:We.ZodOptional,...processCreateParams(t)});class ZodNullable extends ZodType{_parse(e){const t=this._getType(e);if(t===ye.null){return OK(null)}return this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}ZodNullable.create=(e,t)=>new ZodNullable({innerType:e,typeName:We.ZodNullable,...processCreateParams(t)});class ZodDefault extends ZodType{_parse(e){const{ctx:t}=this._processInputParams(e);let r=t.data;if(t.parsedType===ye.undefined){r=this._def.defaultValue()}return this._def.innerType._parse({data:r,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}ZodDefault.create=(e,t)=>new ZodDefault({innerType:e,typeName:We.ZodDefault,defaultValue:typeof t.default==="function"?t.default:()=>t.default,...processCreateParams(t)});class ZodCatch extends ZodType{_parse(e){const{ctx:t}=this._processInputParams(e);const r={...t,common:{...t.common,issues:[]}};const s=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});if(isAsync(s)){return s.then((e=>({status:"valid",value:e.status==="valid"?e.value:this._def.catchValue({get error(){return new ZodError(r.common.issues)},input:r.data})})))}else{return{status:"valid",value:s.status==="valid"?s.value:this._def.catchValue({get error(){return new ZodError(r.common.issues)},input:r.data})}}}removeCatch(){return this._def.innerType}}ZodCatch.create=(e,t)=>new ZodCatch({innerType:e,typeName:We.ZodCatch,catchValue:typeof t.catch==="function"?t.catch:()=>t.catch,...processCreateParams(t)});class ZodNaN extends ZodType{_parse(e){const t=this._getType(e);if(t!==ye.nan){const t=this._getOrReturnCtx(e);addIssueToContext(t,{code:ve.invalid_type,expected:ye.nan,received:t.parsedType});return ke}return{status:"valid",value:e.data}}}ZodNaN.create=e=>new ZodNaN({typeName:We.ZodNaN,...processCreateParams(e)});const Ye=Symbol("zod_brand");class ZodBranded extends ZodType{_parse(e){const{ctx:t}=this._processInputParams(e);const r=t.data;return this._def.type._parse({data:r,path:t.path,parent:t})}unwrap(){return this._def.type}}class ZodPipeline extends ZodType{_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.common.async){const handleAsync=async()=>{const e=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});if(e.status==="aborted")return ke;if(e.status==="dirty"){t.dirty();return DIRTY(e.value)}else{return this._def.out._parseAsync({data:e.value,path:r.path,parent:r})}};return handleAsync()}else{const e=this._def.in._parseSync({data:r.data,path:r.path,parent:r});if(e.status==="aborted")return ke;if(e.status==="dirty"){t.dirty();return{status:"dirty",value:e.value}}else{return this._def.out._parseSync({data:e.value,path:r.path,parent:r})}}}static create(e,t){return new ZodPipeline({in:e,out:t,typeName:We.ZodPipeline})}}class ZodReadonly extends ZodType{_parse(e){const t=this._def.innerType._parse(e);const freeze=e=>{if(isValid(e)){e.value=Object.freeze(e.value)}return e};return isAsync(t)?t.then((e=>freeze(e))):freeze(t)}unwrap(){return this._def.innerType}}ZodReadonly.create=(e,t)=>new ZodReadonly({innerType:e,typeName:We.ZodReadonly,...processCreateParams(t)});function custom(e,t={},r){if(e)return ZodAny.create().superRefine(((s,n)=>{var o,i;if(!e(s)){const e=typeof t==="function"?t(s):typeof t==="string"?{message:t}:t;const a=(i=(o=e.fatal)!==null&&o!==void 0?o:r)!==null&&i!==void 0?i:true;const A=typeof e==="string"?{message:e}:e;n.addIssue({code:"custom",...A,fatal:a})}}));return ZodAny.create()}const qe={object:ZodObject.lazycreate};var We;(function(e){e["ZodString"]="ZodString";e["ZodNumber"]="ZodNumber";e["ZodNaN"]="ZodNaN";e["ZodBigInt"]="ZodBigInt";e["ZodBoolean"]="ZodBoolean";e["ZodDate"]="ZodDate";e["ZodSymbol"]="ZodSymbol";e["ZodUndefined"]="ZodUndefined";e["ZodNull"]="ZodNull";e["ZodAny"]="ZodAny";e["ZodUnknown"]="ZodUnknown";e["ZodNever"]="ZodNever";e["ZodVoid"]="ZodVoid";e["ZodArray"]="ZodArray";e["ZodObject"]="ZodObject";e["ZodUnion"]="ZodUnion";e["ZodDiscriminatedUnion"]="ZodDiscriminatedUnion";e["ZodIntersection"]="ZodIntersection";e["ZodTuple"]="ZodTuple";e["ZodRecord"]="ZodRecord";e["ZodMap"]="ZodMap";e["ZodSet"]="ZodSet";e["ZodFunction"]="ZodFunction";e["ZodLazy"]="ZodLazy";e["ZodLiteral"]="ZodLiteral";e["ZodEnum"]="ZodEnum";e["ZodEffects"]="ZodEffects";e["ZodNativeEnum"]="ZodNativeEnum";e["ZodOptional"]="ZodOptional";e["ZodNullable"]="ZodNullable";e["ZodDefault"]="ZodDefault";e["ZodCatch"]="ZodCatch";e["ZodPromise"]="ZodPromise";e["ZodBranded"]="ZodBranded";e["ZodPipeline"]="ZodPipeline";e["ZodReadonly"]="ZodReadonly"})(We||(We={}));const instanceOfType=(e,t={message:`Input not instance of ${e.name}`})=>custom((t=>t instanceof e),t);const Ze=ZodString.create;const ze=ZodNumber.create;const Ke=ZodNaN.create;const Xe=ZodBigInt.create;const $e=ZodBoolean.create;const et=ZodDate.create;const tt=ZodSymbol.create;const rt=ZodUndefined.create;const st=ZodNull.create;const nt=ZodAny.create;const ot=ZodUnknown.create;const it=ZodNever.create;const at=ZodVoid.create;const At=ZodArray.create;const ct=ZodObject.create;const lt=ZodObject.strictCreate;const ut=ZodUnion.create;const pt=ZodDiscriminatedUnion.create;const dt=ZodIntersection.create;const gt=ZodTuple.create;const ht=ZodRecord.create;const ft=ZodMap.create;const mt=ZodSet.create;const Et=ZodFunction.create;const Ct=ZodLazy.create;const It=ZodLiteral.create;const Bt=ZodEnum.create;const Qt=ZodNativeEnum.create;const bt=ZodPromise.create;const yt=ZodEffects.create;const vt=ZodOptional.create;const wt=ZodNullable.create;const xt=ZodEffects.createWithPreprocess;const kt=ZodPipeline.create;const ostring=()=>Ze().optional();const onumber=()=>ze().optional();const oboolean=()=>$e().optional();const Rt={string:e=>ZodString.create({...e,coerce:true}),number:e=>ZodNumber.create({...e,coerce:true}),boolean:e=>ZodBoolean.create({...e,coerce:true}),bigint:e=>ZodBigInt.create({...e,coerce:true}),date:e=>ZodDate.create({...e,coerce:true})};const St=ke;var Dt=Object.freeze({__proto__:null,defaultErrorMap:errorMap,setErrorMap:setErrorMap,getErrorMap:getErrorMap,makeIssue:makeIssue,EMPTY_PATH:xe,addIssueToContext:addIssueToContext,ParseStatus:ParseStatus,INVALID:ke,DIRTY:DIRTY,OK:OK,isAborted:isAborted,isDirty:isDirty,isValid:isValid,isAsync:isAsync,get util(){return Qe},get objectUtil(){return be},ZodParsedType:ye,getParsedType:getParsedType,ZodType:ZodType,datetimeRegex:datetimeRegex,ZodString:ZodString,ZodNumber:ZodNumber,ZodBigInt:ZodBigInt,ZodBoolean:ZodBoolean,ZodDate:ZodDate,ZodSymbol:ZodSymbol,ZodUndefined:ZodUndefined,ZodNull:ZodNull,ZodAny:ZodAny,ZodUnknown:ZodUnknown,ZodNever:ZodNever,ZodVoid:ZodVoid,ZodArray:ZodArray,ZodObject:ZodObject,ZodUnion:ZodUnion,ZodDiscriminatedUnion:ZodDiscriminatedUnion,ZodIntersection:ZodIntersection,ZodTuple:ZodTuple,ZodRecord:ZodRecord,ZodMap:ZodMap,ZodSet:ZodSet,ZodFunction:ZodFunction,ZodLazy:ZodLazy,ZodLiteral:ZodLiteral,ZodEnum:ZodEnum,ZodNativeEnum:ZodNativeEnum,ZodPromise:ZodPromise,ZodEffects:ZodEffects,ZodTransformer:ZodEffects,ZodOptional:ZodOptional,ZodNullable:ZodNullable,ZodDefault:ZodDefault,ZodCatch:ZodCatch,ZodNaN:ZodNaN,BRAND:Ye,ZodBranded:ZodBranded,ZodPipeline:ZodPipeline,ZodReadonly:ZodReadonly,custom:custom,Schema:ZodType,ZodSchema:ZodType,late:qe,get ZodFirstPartyTypeKind(){return We},coerce:Rt,any:nt,array:At,bigint:Xe,boolean:$e,date:et,discriminatedUnion:pt,effect:yt,enum:Bt,function:Et,instanceof:instanceOfType,intersection:dt,lazy:Ct,literal:It,map:ft,nan:Ke,nativeEnum:Qt,never:it,null:st,nullable:wt,number:ze,object:ct,oboolean:oboolean,onumber:onumber,optional:vt,ostring:ostring,pipeline:kt,preprocess:xt,promise:bt,record:ht,set:mt,strictObject:lt,string:Ze,symbol:tt,transformer:yt,tuple:gt,undefined:rt,union:ut,unknown:ot,void:at,NEVER:St,ZodIssueCode:ve,quotelessJson:quotelessJson,ZodError:ZodError});function parseAnyDef(){return{}}function addErrorMessage(e,t,r,s){if(!s?.errorMessages)return;if(r){e.errorMessage={...e.errorMessage,[t]:r}}}function setResponseValueAndErrors(e,t,r,s,n){e[t]=r;addErrorMessage(e,t,s,n)}function parseArrayDef(e,t){const r={type:"array"};if(e.type?._def?.typeName!==We.ZodAny){r.items=parseDef_parseDef(e.type._def,{...t,currentPath:[...t.currentPath,"items"]})}if(e.minLength){setResponseValueAndErrors(r,"minItems",e.minLength.value,e.minLength.message,t)}if(e.maxLength){setResponseValueAndErrors(r,"maxItems",e.maxLength.value,e.maxLength.message,t)}if(e.exactLength){setResponseValueAndErrors(r,"minItems",e.exactLength.value,e.exactLength.message,t);setResponseValueAndErrors(r,"maxItems",e.exactLength.value,e.exactLength.message,t)}return r}function parseBigintDef(e,t){const r={type:"integer",format:"int64"};if(!e.checks)return r;for(const s of e.checks){switch(s.kind){case"min":if(t.target==="jsonSchema7"){if(s.inclusive){setResponseValueAndErrors(r,"minimum",s.value,s.message,t)}else{setResponseValueAndErrors(r,"exclusiveMinimum",s.value,s.message,t)}}else{if(!s.inclusive){r.exclusiveMinimum=true}setResponseValueAndErrors(r,"minimum",s.value,s.message,t)}break;case"max":if(t.target==="jsonSchema7"){if(s.inclusive){setResponseValueAndErrors(r,"maximum",s.value,s.message,t)}else{setResponseValueAndErrors(r,"exclusiveMaximum",s.value,s.message,t)}}else{if(!s.inclusive){r.exclusiveMaximum=true}setResponseValueAndErrors(r,"maximum",s.value,s.message,t)}break;case"multipleOf":setResponseValueAndErrors(r,"multipleOf",s.value,s.message,t);break}}return r}function parseBooleanDef(){return{type:"boolean"}}function parseBrandedDef(e,t){return parseDef_parseDef(e.type._def,t)}const parseCatchDef=(e,t)=>parseDef_parseDef(e.innerType._def,t);function parseDateDef(e,t,r){const s=r??t.dateStrategy;if(Array.isArray(s)){return{anyOf:s.map(((r,s)=>parseDateDef(e,t,r)))}}switch(s){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return integerDateParser(e,t)}}const integerDateParser=(e,t)=>{const r={type:"integer",format:"unix-time"};if(t.target==="openApi3"){return r}for(const s of e.checks){switch(s.kind){case"min":setResponseValueAndErrors(r,"minimum",s.value,s.message,t);break;case"max":setResponseValueAndErrors(r,"maximum",s.value,s.message,t);break}}return r};function parseDefaultDef(e,t){return{...parseDef_parseDef(e.innerType._def,t),default:e.defaultValue()}}function parseEffectsDef(e,t){return t.effectStrategy==="input"?parseDef_parseDef(e.schema._def,t):{}}function parseEnumDef(e){return{type:"string",enum:e.values}}const isJsonSchema7AllOfType=e=>{if("type"in e&&e.type==="string")return false;return"allOf"in e};function parseIntersectionDef(e,t){const r=[parseDef_parseDef(e.left._def,{...t,currentPath:[...t.currentPath,"allOf","0"]}),parseDef_parseDef(e.right._def,{...t,currentPath:[...t.currentPath,"allOf","1"]})].filter((e=>!!e));let s=t.target==="jsonSchema2019-09"?{unevaluatedProperties:false}:undefined;const n=[];r.forEach((e=>{if(isJsonSchema7AllOfType(e)){n.push(...e.allOf);if(e.unevaluatedProperties===undefined){s=undefined}}else{let t=e;if("additionalProperties"in e&&e.additionalProperties===false){const{additionalProperties:r,...s}=e;t=s}else{s=undefined}n.push(t)}}));return n.length?{allOf:n,...s}:undefined}function parseLiteralDef(e,t){const r=typeof e.value;if(r!=="bigint"&&r!=="number"&&r!=="boolean"&&r!=="string"){return{type:Array.isArray(e.value)?"array":"object"}}if(t.target==="openApi3"){return{type:r==="bigint"?"integer":r,enum:[e.value]}}return{type:r==="bigint"?"integer":r,const:e.value}}const Tt={cuid:"^[cC][^\\s-]{8,}$",cuid2:"^[a-z][a-z0-9]*$",ulid:"^[0-9A-HJKMNP-TV-Z]{26}$",email:"^(?!\\.)(?!.*\\.\\.)([a-zA-Z0-9_+-\\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\\-]*\\.)+[a-zA-Z]{2,}$",emoji:"^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",uuid:"^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$",ipv4:"^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$",ipv6:"^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$"};function parseStringDef(e,t){const r={type:"string"};function processPattern(e){return t.patternStrategy==="escape"?escapeNonAlphaNumeric(e):e}if(e.checks){for(const s of e.checks){switch(s.kind){case"min":setResponseValueAndErrors(r,"minLength",typeof r.minLength==="number"?Math.max(r.minLength,s.value):s.value,s.message,t);break;case"max":setResponseValueAndErrors(r,"maxLength",typeof r.maxLength==="number"?Math.min(r.maxLength,s.value):s.value,s.message,t);break;case"email":switch(t.emailStrategy){case"format:email":addFormat(r,"email",s.message,t);break;case"format:idn-email":addFormat(r,"idn-email",s.message,t);break;case"pattern:zod":addPattern(r,Tt.email,s.message,t);break}break;case"url":addFormat(r,"uri",s.message,t);break;case"uuid":addFormat(r,"uuid",s.message,t);break;case"regex":addPattern(r,s.regex.source,s.message,t);break;case"cuid":addPattern(r,Tt.cuid,s.message,t);break;case"cuid2":addPattern(r,Tt.cuid2,s.message,t);break;case"startsWith":addPattern(r,"^"+processPattern(s.value),s.message,t);break;case"endsWith":addPattern(r,processPattern(s.value)+"$",s.message,t);break;case"datetime":addFormat(r,"date-time",s.message,t);break;case"length":setResponseValueAndErrors(r,"minLength",typeof r.minLength==="number"?Math.max(r.minLength,s.value):s.value,s.message,t);setResponseValueAndErrors(r,"maxLength",typeof r.maxLength==="number"?Math.min(r.maxLength,s.value):s.value,s.message,t);break;case"includes":{addPattern(r,processPattern(s.value),s.message,t);break}case"ip":{if(s.version!=="v6"){addFormat(r,"ipv4",s.message,t)}if(s.version!=="v4"){addFormat(r,"ipv6",s.message,t)}break}case"emoji":addPattern(r,Tt.emoji,s.message,t);break;case"ulid":{addPattern(r,Tt.ulid,s.message,t);break}case"toLowerCase":case"toUpperCase":case"trim":break;default:(e=>{})(s)}}}return r}const escapeNonAlphaNumeric=e=>Array.from(e).map((e=>/[a-zA-Z0-9]/.test(e)?e:`\\${e}`)).join("");const addFormat=(e,t,r,s)=>{if(e.format||e.anyOf?.some((e=>e.format))){if(!e.anyOf){e.anyOf=[]}if(e.format){e.anyOf.push({format:e.format,...e.errorMessage&&s.errorMessages&&{errorMessage:{format:e.errorMessage.format}}});delete e.format;if(e.errorMessage){delete e.errorMessage.format;if(Object.keys(e.errorMessage).length===0){delete e.errorMessage}}}e.anyOf.push({format:t,...r&&s.errorMessages&&{errorMessage:{format:r}}})}else{setResponseValueAndErrors(e,"format",t,r,s)}};const addPattern=(e,t,r,s)=>{if(e.pattern||e.allOf?.some((e=>e.pattern))){if(!e.allOf){e.allOf=[]}if(e.pattern){e.allOf.push({pattern:e.pattern,...e.errorMessage&&s.errorMessages&&{errorMessage:{pattern:e.errorMessage.pattern}}});delete e.pattern;if(e.errorMessage){delete e.errorMessage.pattern;if(Object.keys(e.errorMessage).length===0){delete e.errorMessage}}}e.allOf.push({pattern:t,...r&&s.errorMessages&&{errorMessage:{pattern:r}}})}else{setResponseValueAndErrors(e,"pattern",t,r,s)}};function parseRecordDef(e,t){if(t.target==="openApi3"&&e.keyType?._def.typeName===We.ZodEnum){return{type:"object",required:e.keyType._def.values,properties:e.keyType._def.values.reduce(((r,s)=>({...r,[s]:parseDef_parseDef(e.valueType._def,{...t,currentPath:[...t.currentPath,"properties",s]})??{}})),{}),additionalProperties:false}}const r={type:"object",additionalProperties:parseDef_parseDef(e.valueType._def,{...t,currentPath:[...t.currentPath,"additionalProperties"]})??{}};if(t.target==="openApi3"){return r}if(e.keyType?._def.typeName===We.ZodString&&e.keyType._def.checks?.length){const s=Object.entries(parseStringDef(e.keyType._def,t)).reduce(((e,[t,r])=>t==="type"?e:{...e,[t]:r}),{});return{...r,propertyNames:s}}else if(e.keyType?._def.typeName===We.ZodEnum){return{...r,propertyNames:{enum:e.keyType._def.values}}}return r}function parseMapDef(e,t){if(t.mapStrategy==="record"){return parseRecordDef(e,t)}const r=parseDef_parseDef(e.keyType._def,{...t,currentPath:[...t.currentPath,"items","items","0"]})||{};const s=parseDef_parseDef(e.valueType._def,{...t,currentPath:[...t.currentPath,"items","items","1"]})||{};return{type:"array",maxItems:125,items:{type:"array",items:[r,s],minItems:2,maxItems:2}}}function parseNativeEnumDef(e){const t=e.values;const r=Object.keys(e.values).filter((e=>typeof t[t[e]]!=="number"));const s=r.map((e=>t[e]));const n=Array.from(new Set(s.map((e=>typeof e))));return{type:n.length===1?n[0]==="string"?"string":"number":["string","number"],enum:s}}function parseNeverDef(){return{not:{}}}function parseNullDef(e){return e.target==="openApi3"?{enum:["null"],nullable:true}:{type:"null"}}const _t={ZodString:"string",ZodNumber:"number",ZodBigInt:"integer",ZodBoolean:"boolean",ZodNull:"null"};function parseUnionDef(e,t){if(t.target==="openApi3")return asAnyOf(e,t);const r=e.options instanceof Map?Array.from(e.options.values()):e.options;if(r.every((e=>e._def.typeName in _t&&(!e._def.checks||!e._def.checks.length)))){const e=r.reduce(((e,t)=>{const r=_t[t._def.typeName];return r&&!e.includes(r)?[...e,r]:e}),[]);return{type:e.length>1?e:e[0]}}else if(r.every((e=>e._def.typeName==="ZodLiteral"&&!e.description))){const e=r.reduce(((e,t)=>{const r=typeof t._def.value;switch(r){case"string":case"number":case"boolean":return[...e,r];case"bigint":return[...e,"integer"];case"object":if(t._def.value===null)return[...e,"null"];case"symbol":case"undefined":case"function":default:return e}}),[]);if(e.length===r.length){const t=e.filter(((e,t,r)=>r.indexOf(e)===t));return{type:t.length>1?t:t[0],enum:r.reduce(((e,t)=>e.includes(t._def.value)?e:[...e,t._def.value]),[])}}}else if(r.every((e=>e._def.typeName==="ZodEnum"))){return{type:"string",enum:r.reduce(((e,t)=>[...e,...t._def.values.filter((t=>!e.includes(t)))]),[])}}return asAnyOf(e,t)}const asAnyOf=(e,t)=>{const r=(e.options instanceof Map?Array.from(e.options.values()):e.options).map(((e,r)=>parseDef_parseDef(e._def,{...t,currentPath:[...t.currentPath,"anyOf",`${r}`]}))).filter((e=>!!e&&(!t.strictUnions||typeof e==="object"&&Object.keys(e).length>0)));return r.length?{anyOf:r}:undefined};function parseNullableDef(e,t){if(["ZodString","ZodNumber","ZodBigInt","ZodBoolean","ZodNull"].includes(e.innerType._def.typeName)&&(!e.innerType._def.checks||!e.innerType._def.checks.length)){if(t.target==="openApi3"){return{type:_t[e.innerType._def.typeName],nullable:true}}return{type:[_t[e.innerType._def.typeName],"null"]}}if(t.target==="openApi3"){const r=parseDef_parseDef(e.innerType._def,{...t,currentPath:[...t.currentPath]});if(r&&"$ref"in r)return{allOf:[r],nullable:true};return r&&{...r,nullable:true}}const r=parseDef_parseDef(e.innerType._def,{...t,currentPath:[...t.currentPath,"anyOf","0"]});return r&&{anyOf:[r,{type:"null"}]}}function parseNumberDef(e,t){const r={type:"number"};if(!e.checks)return r;for(const s of e.checks){switch(s.kind){case"int":r.type="integer";addErrorMessage(r,"type",s.message,t);break;case"min":if(t.target==="jsonSchema7"){if(s.inclusive){setResponseValueAndErrors(r,"minimum",s.value,s.message,t)}else{setResponseValueAndErrors(r,"exclusiveMinimum",s.value,s.message,t)}}else{if(!s.inclusive){r.exclusiveMinimum=true}setResponseValueAndErrors(r,"minimum",s.value,s.message,t)}break;case"max":if(t.target==="jsonSchema7"){if(s.inclusive){setResponseValueAndErrors(r,"maximum",s.value,s.message,t)}else{setResponseValueAndErrors(r,"exclusiveMaximum",s.value,s.message,t)}}else{if(!s.inclusive){r.exclusiveMaximum=true}setResponseValueAndErrors(r,"maximum",s.value,s.message,t)}break;case"multipleOf":setResponseValueAndErrors(r,"multipleOf",s.value,s.message,t);break}}return r}function decideAdditionalProperties(e,t){if(t.removeAdditionalStrategy==="strict"){return e.catchall._def.typeName==="ZodNever"?e.unknownKeys!=="strict":parseDef_parseDef(e.catchall._def,{...t,currentPath:[...t.currentPath,"additionalProperties"]})??true}else{return e.catchall._def.typeName==="ZodNever"?e.unknownKeys==="passthrough":parseDef_parseDef(e.catchall._def,{...t,currentPath:[...t.currentPath,"additionalProperties"]})??true}}function parseObjectDefX(e,t){Object.keys(e.shape()).reduce(((r,s)=>{let n=e.shape()[s];const o=n.isOptional();if(!o){n={...n._def.innerSchema}}const i=parseDef(n._def,{...t,currentPath:[...t.currentPath,"properties",s],propertyPath:[...t.currentPath,"properties",s]});if(i!==undefined){r.properties[s]=i;if(!o){if(!r.required){r.required=[]}r.required.push(s)}}return r}),{type:"object",properties:{},additionalProperties:decideAdditionalProperties(e,t)});const r={type:"object",...Object.entries(e.shape()).reduce(((e,[r,s])=>{if(s===undefined||s._def===undefined)return e;const n=parseDef(s._def,{...t,currentPath:[...t.currentPath,"properties",r],propertyPath:[...t.currentPath,"properties",r]});if(n===undefined)return e;return{properties:{...e.properties,[r]:n},required:s.isOptional()?e.required:[...e.required,r]}}),{properties:{},required:[]}),additionalProperties:decideAdditionalProperties(e,t)};if(!r.required.length)delete r.required;return r}function parseObjectDef(e,t){const r={type:"object",...Object.entries(e.shape()).reduce(((e,[r,s])=>{if(s===undefined||s._def===undefined)return e;const n=parseDef_parseDef(s._def,{...t,currentPath:[...t.currentPath,"properties",r],propertyPath:[...t.currentPath,"properties",r]});if(n===undefined)return e;return{properties:{...e.properties,[r]:n},required:s.isOptional()?e.required:[...e.required,r]}}),{properties:{},required:[]}),additionalProperties:decideAdditionalProperties(e,t)};if(!r.required.length)delete r.required;return r}const parseOptionalDef=(e,t)=>{if(t.currentPath.toString()===t.propertyPath?.toString()){return parseDef_parseDef(e.innerType._def,t)}const r=parseDef_parseDef(e.innerType._def,{...t,currentPath:[...t.currentPath,"anyOf","1"]});return r?{anyOf:[{not:{}},r]}:{}};const parsePipelineDef=(e,t)=>{if(t.pipeStrategy==="input"){return parseDef_parseDef(e.in._def,t)}else if(t.pipeStrategy==="output"){return parseDef_parseDef(e.out._def,t)}const r=parseDef_parseDef(e.in._def,{...t,currentPath:[...t.currentPath,"allOf","0"]});const s=parseDef_parseDef(e.out._def,{...t,currentPath:[...t.currentPath,"allOf",r?"1":"0"]});return{allOf:[r,s].filter((e=>e!==undefined))}};function parsePromiseDef(e,t){return parseDef_parseDef(e.type._def,t)}function parseSetDef(e,t){const r=parseDef_parseDef(e.valueType._def,{...t,currentPath:[...t.currentPath,"items"]});const s={type:"array",uniqueItems:true,items:r};if(e.minSize){setResponseValueAndErrors(s,"minItems",e.minSize.value,e.minSize.message,t)}if(e.maxSize){setResponseValueAndErrors(s,"maxItems",e.maxSize.value,e.maxSize.message,t)}return s}function parseTupleDef(e,t){if(e.rest){return{type:"array",minItems:e.items.length,items:e.items.map(((e,r)=>parseDef_parseDef(e._def,{...t,currentPath:[...t.currentPath,"items",`${r}`]}))).reduce(((e,t)=>t===undefined?e:[...e,t]),[]),additionalItems:parseDef_parseDef(e.rest._def,{...t,currentPath:[...t.currentPath,"additionalItems"]})}}else{return{type:"array",minItems:e.items.length,maxItems:e.items.length,items:e.items.map(((e,r)=>parseDef_parseDef(e._def,{...t,currentPath:[...t.currentPath,"items",`${r}`]}))).reduce(((e,t)=>t===undefined?e:[...e,t]),[])}}}function parseUndefinedDef(){return{not:{}}}function parseUnknownDef(){return{}}const parseReadonlyDef=(e,t)=>parseDef_parseDef(e.innerType._def,t);function parseDef_parseDef(e,t,r=false){const s=t.seen.get(e);if(t.override){const n=t.override?.(e,t,s,r);if(n!==Ie){return n}}if(s&&!r){const e=get$ref(s,t);if(e!==undefined){return e}}const n={def:e,path:t.currentPath,jsonSchema:undefined};t.seen.set(e,n);const o=selectParser(e,e.typeName,t);if(o){addMeta(e,t,o)}n.jsonSchema=o;return o}const get$ref=(e,t)=>{switch(t.$refStrategy){case"root":return{$ref:e.path.join("/")};case"relative":return{$ref:getRelativePath(t.currentPath,e.path)};case"none":case"seen":{if(e.path.lengtht.currentPath[r]===e))){console.warn(`Recursive reference detected at ${t.currentPath.join("/")}! Defaulting to any`);return{}}return t.$refStrategy==="seen"?{}:undefined}}};const getRelativePath=(e,t)=>{let r=0;for(;r{switch(t){case We.ZodString:return parseStringDef(e,r);case We.ZodNumber:return parseNumberDef(e,r);case We.ZodObject:return parseObjectDef(e,r);case We.ZodBigInt:return parseBigintDef(e,r);case We.ZodBoolean:return parseBooleanDef();case We.ZodDate:return parseDateDef(e,r);case We.ZodUndefined:return parseUndefinedDef();case We.ZodNull:return parseNullDef(r);case We.ZodArray:return parseArrayDef(e,r);case We.ZodUnion:case We.ZodDiscriminatedUnion:return parseUnionDef(e,r);case We.ZodIntersection:return parseIntersectionDef(e,r);case We.ZodTuple:return parseTupleDef(e,r);case We.ZodRecord:return parseRecordDef(e,r);case We.ZodLiteral:return parseLiteralDef(e,r);case We.ZodEnum:return parseEnumDef(e);case We.ZodNativeEnum:return parseNativeEnumDef(e);case We.ZodNullable:return parseNullableDef(e,r);case We.ZodOptional:return parseOptionalDef(e,r);case We.ZodMap:return parseMapDef(e,r);case We.ZodSet:return parseSetDef(e,r);case We.ZodLazy:return parseDef_parseDef(e.getter()._def,r);case We.ZodPromise:return parsePromiseDef(e,r);case We.ZodNaN:case We.ZodNever:return parseNeverDef();case We.ZodEffects:return parseEffectsDef(e,r);case We.ZodAny:return parseAnyDef();case We.ZodUnknown:return parseUnknownDef();case We.ZodDefault:return parseDefaultDef(e,r);case We.ZodBranded:return parseBrandedDef(e,r);case We.ZodReadonly:return parseReadonlyDef(e,r);case We.ZodCatch:return parseCatchDef(e,r);case We.ZodPipeline:return parsePipelineDef(e,r);case We.ZodFunction:case We.ZodVoid:case We.ZodSymbol:return undefined;default:return(e=>undefined)(t)}};const addMeta=(e,t,r)=>{if(e.description){r.description=e.description;if(t.markdownDescription){r.markdownDescription=e.description}}return r};const getRefs=e=>{const t=getDefaultOptions(e);const r=t.name!==undefined?[...t.basePath,t.definitionPath,t.name]:t.basePath;return{...t,currentPath:r,propertyPath:undefined,seen:new Map(Object.entries(t.definitions).map((([e,r])=>[r._def,{def:r._def,path:[...t.basePath,t.definitionPath,e],jsonSchema:undefined}])))}};const zodToJsonSchema=(e,t)=>{const r=getRefs(t);const s=typeof t==="object"&&t.definitions?Object.entries(t.definitions).reduce(((e,[t,s])=>({...e,[t]:parseDef_parseDef(s._def,{...r,currentPath:[...r.basePath,r.definitionPath,t]},true)??{}})),{}):undefined;const n=typeof t==="string"?t:t?.name;const o=parseDef_parseDef(e._def,n===undefined?r:{...r,currentPath:[...r.basePath,r.definitionPath,n]},false)??{};const i=n===undefined?s?{...o,[r.definitionPath]:s}:o:{$ref:[...r.$refStrategy==="relative"?[]:r.basePath,r.definitionPath,n].join("/"),[r.definitionPath]:{...s,[n]:o}};if(r.target==="jsonSchema7"){i.$schema="http://json-schema.org/draft-07/schema#"}else if(r.target==="jsonSchema2019-09"){i.$schema="https://json-schema.org/draft/2019-09/schema#"}return i};const Ft=zodToJsonSchema;function fixJson(e){const t=["ROOT"];let r=-1;let s=null;function processValueStart(e,n,o){{switch(e){case'"':{r=n;t.pop();t.push(o);t.push("INSIDE_STRING");break}case"f":case"t":case"n":{r=n;s=n;t.pop();t.push(o);t.push("INSIDE_LITERAL");break}case"-":{t.pop();t.push(o);t.push("INSIDE_NUMBER");break}case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":{r=n;t.pop();t.push(o);t.push("INSIDE_NUMBER");break}case"{":{r=n;t.pop();t.push(o);t.push("INSIDE_OBJECT_START");break}case"[":{r=n;t.pop();t.push(o);t.push("INSIDE_ARRAY_START");break}}}}function processAfterObjectValue(e,s){switch(e){case",":{t.pop();t.push("INSIDE_OBJECT_AFTER_COMMA");break}case"}":{r=s;t.pop();break}}}function processAfterArrayValue(e,s){switch(e){case",":{t.pop();t.push("INSIDE_ARRAY_AFTER_COMMA");break}case"]":{r=s;t.pop();break}}}for(let n=0;n=0;r--){const o=t[r];switch(o){case"INSIDE_STRING":{n+='"';break}case"INSIDE_OBJECT_KEY":case"INSIDE_OBJECT_AFTER_KEY":case"INSIDE_OBJECT_AFTER_COMMA":case"INSIDE_OBJECT_START":case"INSIDE_OBJECT_BEFORE_VALUE":case"INSIDE_OBJECT_AFTER_VALUE":{n+="}";break}case"INSIDE_ARRAY_START":case"INSIDE_ARRAY_AFTER_COMMA":case"INSIDE_ARRAY_AFTER_VALUE":{n+="]";break}case"INSIDE_LITERAL":{const t=e.substring(s,e.length);if("true".startsWith(t)){n+="true".slice(t.length)}else if("false".startsWith(t)){n+="false".slice(t.length)}else if("null".startsWith(t)){n+="null".slice(t.length)}}}}return n}function dist_parsePartialJson(e){if(e==null){return void 0}try{return SecureJSON.parse(e)}catch(t){try{const t=fixJson(e);return SecureJSON.parse(t)}catch(e){}}return void 0}var Nt={code:"0",name:"text",parse:e=>{if(typeof e!=="string"){throw new Error('"text" parts expect a string value.')}return{type:"text",value:e}}};var Ut={code:"1",name:"function_call",parse:e=>{if(e==null||typeof e!=="object"||!("function_call"in e)||typeof e.function_call!=="object"||e.function_call==null||!("name"in e.function_call)||!("arguments"in e.function_call)||typeof e.function_call.name!=="string"||typeof e.function_call.arguments!=="string"){throw new Error('"function_call" parts expect an object with a "function_call" property.')}return{type:"function_call",value:e}}};var Ot={code:"2",name:"data",parse:e=>{if(!Array.isArray(e)){throw new Error('"data" parts expect an array value.')}return{type:"data",value:e}}};var Mt={code:"3",name:"error",parse:e=>{if(typeof e!=="string"){throw new Error('"error" parts expect a string value.')}return{type:"error",value:e}}};var Lt={code:"4",name:"assistant_message",parse:e=>{if(e==null||typeof e!=="object"||!("id"in e)||!("role"in e)||!("content"in e)||typeof e.id!=="string"||typeof e.role!=="string"||e.role!=="assistant"||!Array.isArray(e.content)||!e.content.every((e=>e!=null&&typeof e==="object"&&"type"in e&&e.type==="text"&&"text"in e&&e.text!=null&&typeof e.text==="object"&&"value"in e.text&&typeof e.text.value==="string"))){throw new Error('"assistant_message" parts expect an object with an "id", "role", and "content" property.')}return{type:"assistant_message",value:e}}};var Pt={code:"5",name:"assistant_control_data",parse:e=>{if(e==null||typeof e!=="object"||!("threadId"in e)||!("messageId"in e)||typeof e.threadId!=="string"||typeof e.messageId!=="string"){throw new Error('"assistant_control_data" parts expect an object with a "threadId" and "messageId" property.')}return{type:"assistant_control_data",value:{threadId:e.threadId,messageId:e.messageId}}}};var Gt={code:"6",name:"data_message",parse:e=>{if(e==null||typeof e!=="object"||!("role"in e)||!("data"in e)||typeof e.role!=="string"||e.role!=="data"){throw new Error('"data_message" parts expect an object with a "role" and "data" property.')}return{type:"data_message",value:e}}};var Ht={code:"7",name:"tool_calls",parse:e=>{if(e==null||typeof e!=="object"||!("tool_calls"in e)||typeof e.tool_calls!=="object"||e.tool_calls==null||!Array.isArray(e.tool_calls)||e.tool_calls.some((e=>e==null||typeof e!=="object"||!("id"in e)||typeof e.id!=="string"||!("type"in e)||typeof e.type!=="string"||!("function"in e)||e.function==null||typeof e.function!=="object"||!("arguments"in e.function)||typeof e.function.name!=="string"||typeof e.function.arguments!=="string"))){throw new Error('"tool_calls" parts expect an object with a ToolCallPayload.')}return{type:"tool_calls",value:e}}};var jt={code:"8",name:"message_annotations",parse:e=>{if(!Array.isArray(e)){throw new Error('"message_annotations" parts expect an array value.')}return{type:"message_annotations",value:e}}};var Vt={code:"9",name:"tool_call",parse:e=>{if(e==null||typeof e!=="object"||!("toolCallId"in e)||typeof e.toolCallId!=="string"||!("toolName"in e)||typeof e.toolName!=="string"||!("args"in e)||typeof e.args!=="object"){throw new Error('"tool_call" parts expect an object with a "toolCallId", "toolName", and "args" property.')}return{type:"tool_call",value:e}}};var Jt={code:"a",name:"tool_result",parse:e=>{if(e==null||typeof e!=="object"||!("toolCallId"in e)||typeof e.toolCallId!=="string"||!("result"in e)){throw new Error('"tool_result" parts expect an object with a "toolCallId" and a "result" property.')}return{type:"tool_result",value:e}}};var Yt={code:"b",name:"tool_call_streaming_start",parse:e=>{if(e==null||typeof e!=="object"||!("toolCallId"in e)||typeof e.toolCallId!=="string"||!("toolName"in e)||typeof e.toolName!=="string"){throw new Error('"tool_call_streaming_start" parts expect an object with a "toolCallId" and "toolName" property.')}return{type:"tool_call_streaming_start",value:e}}};var qt={code:"c",name:"tool_call_delta",parse:e=>{if(e==null||typeof e!=="object"||!("toolCallId"in e)||typeof e.toolCallId!=="string"||!("argsTextDelta"in e)||typeof e.argsTextDelta!=="string"){throw new Error('"tool_call_delta" parts expect an object with a "toolCallId" and "argsTextDelta" property.')}return{type:"tool_call_delta",value:e}}};var Wt={code:"d",name:"finish_message",parse:e=>{if(e==null||typeof e!=="object"||!("finishReason"in e)||typeof e.finishReason!=="string"||!("usage"in e)||e.usage==null||typeof e.usage!=="object"||!("promptTokens"in e.usage)||!("completionTokens"in e.usage)){throw new Error('"finish_message" parts expect an object with a "finishReason" and "usage" property.')}if(typeof e.usage.promptTokens!=="number"){e.usage.promptTokens=Number.NaN}if(typeof e.usage.completionTokens!=="number"){e.usage.completionTokens=Number.NaN}return{type:"finish_message",value:e}}};var Zt=[Nt,Ut,Ot,Mt,Lt,Pt,Gt,Ht,jt,Vt,Jt,Yt,qt,Wt];var zt={[Nt.code]:Nt,[Ut.code]:Ut,[Ot.code]:Ot,[Mt.code]:Mt,[Lt.code]:Lt,[Pt.code]:Pt,[Gt.code]:Gt,[Ht.code]:Ht,[jt.code]:jt,[Vt.code]:Vt,[Jt.code]:Jt,[Yt.code]:Yt,[qt.code]:qt,[Wt.code]:Wt};var Kt={[Nt.name]:Nt.code,[Ut.name]:Ut.code,[Ot.name]:Ot.code,[Mt.name]:Mt.code,[Lt.name]:Lt.code,[Pt.name]:Pt.code,[Gt.name]:Gt.code,[Ht.name]:Ht.code,[jt.name]:jt.code,[Vt.name]:Vt.code,[Jt.name]:Jt.code,[Yt.name]:Yt.code,[qt.name]:qt.code,[Wt.name]:Wt.code};var Xt=Zt.map((e=>e.code));var parseStreamPart=e=>{const t=e.indexOf(":");if(t===-1){throw new Error("Failed to parse stream string. No separator found.")}const r=e.slice(0,t);if(!Xt.includes(r)){throw new Error(`Failed to parse stream string. Invalid code ${r}.`)}const s=r;const n=e.slice(t+1);const o=JSON.parse(n);return zt[s].parse(o)};function dist_formatStreamPart(e,t){const r=Zt.find((t=>t.name===e));if(!r){throw new Error(`Invalid stream part type: ${e}`)}return`${r.code}:${JSON.stringify(t)}\n`}var $t="\n".charCodeAt(0);function concatChunks(e,t){const r=new Uint8Array(t);let s=0;for(const t of e){r.set(t,s);s+=t.length}e.length=0;return r}async function*readDataStream(e,{isAborted:t}={}){const r=new TextDecoder;const s=[];let n=0;while(true){const{value:o}=await e.read();if(o){s.push(o);n+=o.length;if(o[o.length-1]!==$t){continue}}if(s.length===0){break}const i=concatChunks(s,n);n=0;const a=r.decode(i,{stream:true}).split("\n").filter((e=>e!=="")).map(parseStreamPart);for(const e of a){yield e}if(t==null?void 0:t()){e.cancel();break}}}function assignAnnotationsToMessage(e,t){if(!e||!t||!t.length)return e;return{...e,annotations:[...t]}}async function parseComplexResponse({reader:e,abortControllerRef:t,update:r,onToolCall:s,onFinish:n,generateId:o=generateIdFunction,getCurrentDate:i=(()=>new Date)}){var a;const A=i();const c={data:[]};let l=void 0;const u={};let p={completionTokens:NaN,promptTokens:NaN,totalTokens:NaN};let d="unknown";for await(const{type:n,value:i}of readDataStream(e,{isAborted:()=>(t==null?void 0:t.current)===null})){if(n==="error"){throw new Error(i)}if(n==="text"){if(c["text"]){c["text"]={...c["text"],content:(c["text"].content||"")+i}}else{c["text"]={id:o(),role:"assistant",content:i,createdAt:A}}}if(n==="finish_message"){const{completionTokens:e,promptTokens:t}=i.usage;d=i.finishReason;p={completionTokens:e,promptTokens:t,totalTokens:e+t}}if(n==="tool_call_streaming_start"){if(c.text==null){c.text={id:o(),role:"assistant",content:"",createdAt:A}}if(c.text.toolInvocations==null){c.text.toolInvocations=[]}u[i.toolCallId]={text:"",toolName:i.toolName,prefixMapIndex:c.text.toolInvocations.length};c.text.toolInvocations.push({state:"partial-call",toolCallId:i.toolCallId,toolName:i.toolName,args:void 0})}else if(n==="tool_call_delta"){const e=u[i.toolCallId];e.text+=i.argsTextDelta;c.text.toolInvocations[e.prefixMapIndex]={state:"partial-call",toolCallId:i.toolCallId,toolName:e.toolName,args:dist_parsePartialJson(e.text)};c.text.internalUpdateId=o()}else if(n==="tool_call"){if(u[i.toolCallId]!=null){c.text.toolInvocations[u[i.toolCallId].prefixMapIndex]={state:"call",...i}}else{if(c.text==null){c.text={id:o(),role:"assistant",content:"",createdAt:A}}if(c.text.toolInvocations==null){c.text.toolInvocations=[]}c.text.toolInvocations.push({state:"call",...i})}c.text.internalUpdateId=o();if(s){const e=await s({toolCall:i});if(e!=null){c.text.toolInvocations[c.text.toolInvocations.length-1]={state:"result",...i,result:e}}}}else if(n==="tool_result"){const e=(a=c.text)==null?void 0:a.toolInvocations;if(e==null){throw new Error("tool_result must be preceded by a tool_call")}const t=e.findIndex((e=>e.toolCallId===i.toolCallId));if(t===-1){throw new Error("tool_result must be preceded by a tool_call with the same toolCallId")}e[t]={...e[t],state:"result",...i}}let e=null;if(n==="function_call"){c["function_call"]={id:o(),role:"assistant",content:"",function_call:i.function_call,name:i.function_call.name,createdAt:A};e=c["function_call"]}let t=null;if(n==="tool_calls"){c["tool_calls"]={id:o(),role:"assistant",content:"",tool_calls:i.tool_calls,createdAt:A};t=c["tool_calls"]}if(n==="data"){c["data"].push(...i)}let g=c["text"];if(n==="message_annotations"){if(!l){l=[...i]}else{l.push(...i)}e=assignAnnotationsToMessage(c["function_call"],l);t=assignAnnotationsToMessage(c["tool_calls"],l);g=assignAnnotationsToMessage(c["text"],l)}if(l==null?void 0:l.length){const e=["text","function_call","tool_calls"];e.forEach((e=>{if(c[e]){c[e].annotations=[...l]}}))}const h=[e,t,g].filter(Boolean).map((e=>({...assignAnnotationsToMessage(e,l)})));r(h,[...c["data"]])}n==null?void 0:n({prefixMap:c,finishReason:d,usage:p});return{messages:[c.text,c.function_call,c.tool_calls].filter(Boolean),data:c.data}}var dist_getOriginalFetch=()=>fetch;async function callChatApi({api:e,body:t,streamProtocol:r="data",credentials:s,headers:n,abortController:o,restoreMessagesOnFailure:i,onResponse:a,onUpdate:A,onFinish:c,onToolCall:l,generateId:u,fetch:p=dist_getOriginalFetch()}){var d,g;const h=await p(e,{method:"POST",body:JSON.stringify(t),headers:{"Content-Type":"application/json",...n},signal:(d=o==null?void 0:o())==null?void 0:d.signal,credentials:s}).catch((e=>{i();throw e}));if(a){try{await a(h)}catch(e){throw e}}if(!h.ok){i();throw new Error((g=await h.text())!=null?g:"Failed to fetch the chat response.")}if(!h.body){throw new Error("The response body is empty.")}const m=h.body.getReader();switch(r){case"text":{const e=dist_createChunkDecoder();const t={id:u(),createdAt:new Date,role:"assistant",content:""};while(true){const{done:r,value:s}=await m.read();if(r){break}t.content+=e(s);A([{...t}],[]);if((o==null?void 0:o())===null){m.cancel();break}}c==null?void 0:c(t,{usage:{completionTokens:NaN,promptTokens:NaN,totalTokens:NaN},finishReason:"unknown"});return{messages:[t],data:[]}}case"data":{return await parseComplexResponse({reader:m,abortControllerRef:o!=null?{current:o()}:void 0,update:A,onToolCall:l,onFinish({prefixMap:e,finishReason:t,usage:r}){if(c&&e.text!=null){c(e.text,{usage:r,finishReason:t})}},generateId:u})}default:{const e=r;throw new Error(`Unknown stream protocol: ${e}`)}}}var getOriginalFetch2=()=>fetch;async function callCompletionApi({api:e,prompt:t,credentials:r,headers:s,body:n,streamProtocol:o="data",setCompletion:i,setLoading:a,setError:A,setAbortController:c,onResponse:l,onFinish:u,onError:p,onData:d,fetch:g=getOriginalFetch2()}){try{a(true);A(void 0);const p=new AbortController;c(p);i("");const h=await g(e,{method:"POST",body:JSON.stringify({prompt:t,...n}),credentials:r,headers:{"Content-Type":"application/json",...s},signal:p.signal}).catch((e=>{throw e}));if(l){try{await l(h)}catch(e){throw e}}if(!h.ok){throw new Error(await h.text()||"Failed to fetch the chat response.")}if(!h.body){throw new Error("The response body is empty.")}let m="";const E=h.body.getReader();switch(o){case"text":{const e=dist_createChunkDecoder();while(true){const{done:t,value:r}=await E.read();if(t){break}m+=e(r);i(m);if(p===null){E.cancel();break}}break}case"data":{for await(const{type:e,value:t}of readDataStream(E,{isAborted:()=>p===null})){switch(e){case"text":{m+=t;i(m);break}case"data":{d==null?void 0:d(t);break}}}break}default:{const e=o;throw new Error(`Unknown stream protocol: ${e}`)}}if(u){u(t,m)}c(null);return m}catch(e){if(e.name==="AbortError"){c(null);return null}if(e instanceof Error){if(p){p(e)}}A(e)}finally{a(false)}}function dist_createChunkDecoder(e){const t=new TextDecoder;if(!e){return function(e){if(!e)return"";return t.decode(e,{stream:true})}}return function(e){const r=t.decode(e,{stream:true}).split("\n").filter((e=>e!==""));return r.map(parseStreamPart).filter(Boolean)}}function getTextFromDataUrl(e){const[t,r]=e.split(",");const s=t.split(";")[0].split(":")[1];if(s==null||r==null){throw new Error("Invalid data URL format")}try{return window.atob(r)}catch(e){throw new Error(`Error decoding data URL`)}}function dist_isDeepEqualData(e,t){if(e===t)return true;if(e==null||t==null)return false;if(typeof e!=="object"&&typeof t!=="object")return e===t;if(e.constructor!==t.constructor)return false;if(e instanceof Date&&t instanceof Date){return e.getTime()===t.getTime()}if(Array.isArray(e)){if(e.length!==t.length)return false;for(let r=0;rtypeof e!=="object"))){console.warn("experimental_onToolCall should not be defined when using tools");continue}const i=await r(n(),t);if(i===void 0){e=false;break}s(i)}}if(!e){break}}else{let fixFunctionCallArguments2=function(e){for(const t of e.messages){if(t.tool_calls!==void 0){for(const e of t.tool_calls){if(typeof e==="object"){if(e.function.arguments&&typeof e.function.arguments!=="string"){e.function.arguments=JSON.stringify(e.function.arguments)}}}}if(t.function_call!==void 0){if(typeof t.function_call==="object"){if(t.function_call.arguments&&typeof t.function_call.arguments!=="string"){t.function_call.arguments=JSON.stringify(t.function_call.arguments)}}}}};var o=fixFunctionCallArguments2;const e=i;if((e.function_call===void 0||typeof e.function_call==="string")&&(e.tool_calls===void 0||typeof e.tool_calls==="string")){break}if(t){const r=e.function_call;if(!(typeof r==="object")){console.warn("experimental_onFunctionCall should not be defined when using tools");continue}const o=await t(n(),r);if(o===void 0)break;fixFunctionCallArguments2(o);s(o)}if(r){const t=e.tool_calls;if(!(typeof t==="object")){console.warn("experimental_onToolCall should not be defined when using functions");continue}const o=await r(n(),t);if(o===void 0)break;fixFunctionCallArguments2(o);s(o)}}}}var er=Symbol.for("vercel.ai.schema");function jsonSchema(e,{validate:t}={}){return{[er]:true,_type:void 0,[he]:true,jsonSchema:e,validate:t}}function isSchema(e){return typeof e==="object"&&e!==null&&er in e&&e[er]===true&&"jsonSchema"in e&&"validate"in e}function dist_asSchema(e){return isSchema(e)?e:zodSchema(e)}function zodSchema(e){return jsonSchema(Ft(e),{validate:t=>{const r=e.safeParse(t);return r.success?{success:true,value:r.data}:{success:false,error:r.error}}})}var tr=Object.defineProperty;var __export=(e,t)=>{for(var r in t)tr(e,r,{get:t[r],enumerable:true})};async function delay(e){return new Promise((t=>setTimeout(t,e)))}var rr="AI_RetryError";var sr=`vercel.ai.error.${rr}`;var nr=Symbol.for(sr);var or;var ir=class extends A{constructor({message:e,reason:t,errors:r}){super({name:rr,message:e});this[or]=true;this.reason=t;this.errors=r;this.lastError=r[r.length-1]}static isInstance(e){return A.hasMarker(e,sr)}static isRetryError(e){return e instanceof Error&&e.name===rr&&typeof e.reason==="string"&&Array.isArray(e.errors)}toJSON(){return{name:this.name,message:this.message,reason:this.reason,lastError:this.lastError,errors:this.errors}}};or=nr;var retryWithExponentialBackoff=({maxRetries:e=2,initialDelayInMs:t=2e3,backoffFactor:r=2}={})=>async s=>_retryWithExponentialBackoff(s,{maxRetries:e,delayInMs:t,backoffFactor:r});async function _retryWithExponentialBackoff(e,{maxRetries:t,delayInMs:r,backoffFactor:s},n=[]){try{return await e()}catch(o){if(isAbortError(o)){throw o}if(t===0){throw o}const i=dist_getErrorMessage(o);const a=[...n,o];const A=a.length;if(A>t){throw new ir({message:`Failed after ${A} attempts. Last error: ${i}`,reason:"maxRetriesExceeded",errors:a})}if(o instanceof Error&&d.isAPICallError(o)&&o.isRetryable===true&&A<=t){await delay(r);return _retryWithExponentialBackoff(e,{maxRetries:t,delayInMs:s*r,backoffFactor:s},a)}if(A===1){throw o}throw new ir({message:`Failed after ${A} attempts with non-retryable error: '${i}'`,reason:"errorNotRetryable",errors:a})}}function assembleOperationName({operationName:e,telemetry:t}){return{"operation.name":`${e}${(t==null?void 0:t.functionId)!=null?` ${t.functionId}`:""}`}}function getBaseTelemetryAttributes({model:e,settings:t,telemetry:r,headers:s}){var n;return{"ai.model.provider":e.provider,"ai.model.id":e.modelId,...Object.entries(t).reduce(((e,[t,r])=>{e[`ai.settings.${t}`]=r;return e}),{}),"resource.name":r==null?void 0:r.functionId,"ai.telemetry.functionId":r==null?void 0:r.functionId,...Object.entries((n=r==null?void 0:r.metadata)!=null?n:{}).reduce(((e,[t,r])=>{e[`ai.telemetry.metadata.${t}`]=r;return e}),{}),...Object.entries(s!=null?s:{}).reduce(((e,[t,r])=>{if(r!==void 0){e[`ai.request.headers.${t}`]=r}return e}),{})}}var ar={startSpan(){return Ar},startActiveSpan(e,t,r,s){if(typeof t==="function"){return t(Ar)}if(typeof r==="function"){return r(Ar)}if(typeof s==="function"){return s(Ar)}}};var Ar={spanContext(){return cr},setAttribute(){return this},setAttributes(){return this},addEvent(){return this},addLink(){return this},addLinks(){return this},setStatus(){return this},updateName(){return this},end(){return this},isRecording(){return false},recordException(){return this}};var cr={traceId:"",spanId:"",traceFlags:0};var lr=void 0;function getTracer({isEnabled:e}){if(!e){return ar}if(lr){return lr}return Ce.g4.getTracer("ai")}function recordSpan({name:e,tracer:t,attributes:r,fn:s,endWhenDone:n=true}){return t.startActiveSpan(e,{attributes:r},(async e=>{try{const t=await s(e);if(n){e.end()}return t}catch(t){try{if(t instanceof Error){e.recordException({name:t.name,message:t.message,stack:t.stack});e.setStatus({code:Ce.Qn.ERROR,message:t.message})}else{e.setStatus({code:Ce.Qn.ERROR})}}finally{e.end()}throw t}}))}function selectTelemetryAttributes({telemetry:e,attributes:t}){return Object.entries(t).reduce(((t,[r,s])=>{if(s===void 0){return t}if(typeof s==="object"&&"input"in s&&typeof s.input==="function"){if((e==null?void 0:e.recordInputs)===false){return t}const n=s.input();return n===void 0?t:{...t,[r]:n}}if(typeof s==="object"&&"output"in s&&typeof s.output==="function"){if((e==null?void 0:e.recordOutputs)===false){return t}const n=s.output();return n===void 0?t:{...t,[r]:n}}return{...t,[r]:s}}),{})}async function dist_embed({model:e,value:t,maxRetries:r,abortSignal:s,headers:n,experimental_telemetry:o}){var i;const a=getBaseTelemetryAttributes({model:e,telemetry:o,headers:n,settings:{maxRetries:r}});const A=getTracer({isEnabled:(i=o==null?void 0:o.isEnabled)!=null?i:false});return recordSpan({name:"ai.embed",attributes:selectTelemetryAttributes({telemetry:o,attributes:{...assembleOperationName({operationName:"ai.embed",telemetry:o}),...a,"ai.value":{input:()=>JSON.stringify(t)}}}),tracer:A,fn:async i=>{const c=retryWithExponentialBackoff({maxRetries:r});const{embedding:l,usage:u,rawResponse:p}=await c((()=>recordSpan({name:"ai.embed.doEmbed",attributes:selectTelemetryAttributes({telemetry:o,attributes:{...assembleOperationName({operationName:"ai.embed.doEmbed",telemetry:o}),...a,"ai.values":{input:()=>[JSON.stringify(t)]}}}),tracer:A,fn:async r=>{var i;const a=await e.doEmbed({values:[t],abortSignal:s,headers:n});const A=a.embeddings[0];const c=(i=a.usage)!=null?i:{tokens:NaN};r.setAttributes(selectTelemetryAttributes({telemetry:o,attributes:{"ai.embeddings":{output:()=>a.embeddings.map((e=>JSON.stringify(e)))},"ai.usage.tokens":c.tokens}}));return{embedding:A,usage:c,rawResponse:a.rawResponse}}})));i.setAttributes(selectTelemetryAttributes({telemetry:o,attributes:{"ai.embedding":{output:()=>JSON.stringify(l)},"ai.usage.tokens":u.tokens}}));return new ur({value:t,embedding:l,usage:u,rawResponse:p})}})}var ur=class{constructor(e){this.value=e.value;this.embedding=e.embedding;this.usage=e.usage;this.rawResponse=e.rawResponse}};function splitArray(e,t){if(t<=0){throw new Error("chunkSize must be greater than 0")}const r=[];for(let s=0;st.map((e=>JSON.stringify(e)))}}}),tracer:A,fn:async i=>{const c=retryWithExponentialBackoff({maxRetries:r});const l=e.maxEmbeddingsPerCall;if(l==null){const{embeddings:r,usage:l}=await c((()=>recordSpan({name:"ai.embedMany.doEmbed",attributes:selectTelemetryAttributes({telemetry:o,attributes:{...assembleOperationName({operationName:"ai.embedMany.doEmbed",telemetry:o}),...a,"ai.values":{input:()=>t.map((e=>JSON.stringify(e)))}}}),tracer:A,fn:async r=>{var i;const a=await e.doEmbed({values:t,abortSignal:s,headers:n});const A=a.embeddings;const c=(i=a.usage)!=null?i:{tokens:NaN};r.setAttributes(selectTelemetryAttributes({telemetry:o,attributes:{"ai.embeddings":{output:()=>A.map((e=>JSON.stringify(e)))},"ai.usage.tokens":c.tokens}}));return{embeddings:A,usage:c}}})));i.setAttributes(selectTelemetryAttributes({telemetry:o,attributes:{"ai.embeddings":{output:()=>r.map((e=>JSON.stringify(e)))},"ai.usage.tokens":l.tokens}}));return new pr({values:t,embeddings:r,usage:l})}const u=splitArray(t,l);const p=[];let d=0;for(const t of u){const{embeddings:r,usage:i}=await c((()=>recordSpan({name:"ai.embedMany.doEmbed",attributes:selectTelemetryAttributes({telemetry:o,attributes:{...assembleOperationName({operationName:"ai.embedMany.doEmbed",telemetry:o}),...a,"ai.values":{input:()=>t.map((e=>JSON.stringify(e)))}}}),tracer:A,fn:async r=>{var i;const a=await e.doEmbed({values:t,abortSignal:s,headers:n});const A=a.embeddings;const c=(i=a.usage)!=null?i:{tokens:NaN};r.setAttributes(selectTelemetryAttributes({telemetry:o,attributes:{"ai.embeddings":{output:()=>A.map((e=>JSON.stringify(e)))},"ai.usage.tokens":c.tokens}}));return{embeddings:A,usage:c}}})));p.push(...r);d+=i.tokens}i.setAttributes(selectTelemetryAttributes({telemetry:o,attributes:{"ai.embeddings":{output:()=>p.map((e=>JSON.stringify(e)))},"ai.usage.tokens":d}}));return new pr({values:t,embeddings:p,usage:{tokens:d}})}})}var pr=class{constructor(e){this.values=e.values;this.embeddings=e.embeddings;this.usage=e.usage}};var dr="AI_DownloadError";var gr=`vercel.ai.error.${dr}`;var hr=Symbol.for(gr);var fr;var mr=class extends A{constructor({url:e,statusCode:t,statusText:r,cause:s,message:n=(s==null?`Failed to download ${e}: ${t} ${r}`:`Failed to download ${e}: ${s}`)}){super({name:dr,message:n,cause:s});this[fr]=true;this.url=e;this.statusCode=t;this.statusText=r}static isInstance(e){return A.hasMarker(e,gr)}static isDownloadError(e){return e instanceof Error&&e.name===dr&&typeof e.url==="string"&&(e.statusCode==null||typeof e.statusCode==="number")&&(e.statusText==null||typeof e.statusText==="string")}toJSON(){return{name:this.name,message:this.message,url:this.url,statusCode:this.statusCode,statusText:this.statusText,cause:this.cause}}};fr=hr;async function download({url:e,fetchImplementation:t=fetch}){var r;const s=e.toString();try{const e=await t(s);if(!e.ok){throw new mr({url:s,statusCode:e.status,statusText:e.statusText})}return{data:new Uint8Array(await e.arrayBuffer()),mimeType:(r=e.headers.get("content-type"))!=null?r:void 0}}catch(e){if(mr.isInstance(e)){throw e}throw new mr({url:s,cause:e})}}var Er=[{mimeType:"image/gif",bytes:[71,73,70]},{mimeType:"image/png",bytes:[137,80,78,71]},{mimeType:"image/jpeg",bytes:[255,216]},{mimeType:"image/webp",bytes:[82,73,70,70]}];function detectImageMimeType(e){for(const{bytes:t,mimeType:r}of Er){if(e.length>=t.length&&t.every(((t,r)=>e[r]===t))){return r}}return void 0}var Cr="AI_InvalidDataContentError";var Ir=`vercel.ai.error.${Cr}`;var Br=Symbol.for(Ir);var Qr;var br=class extends A{constructor({content:e,cause:t,message:r=`Invalid data content. Expected a base64 string, Uint8Array, ArrayBuffer, or Buffer, but got ${typeof e}.`}){super({name:Cr,message:r,cause:t});this[Qr]=true;this.content=e}static isInstance(e){return A.hasMarker(e,Ir)}static isInvalidDataContentError(e){return e instanceof Error&&e.name===Cr&&e.content!=null}toJSON(){return{name:this.name,message:this.message,stack:this.stack,cause:this.cause,content:this.content}}};Qr=Br;function convertDataContentToBase64String(e){if(typeof e==="string"){return e}if(e instanceof ArrayBuffer){return convertUint8ArrayToBase64(new Uint8Array(e))}return convertUint8ArrayToBase64(e)}function convertDataContentToUint8Array(e){if(e instanceof Uint8Array){return e}if(typeof e==="string"){try{return convertBase64ToUint8Array(e)}catch(t){throw new br({message:"Invalid data content. Content string is not a base64-encoded media.",content:e,cause:t})}}if(e instanceof ArrayBuffer){return new Uint8Array(e)}throw new br({content:e})}function convertUint8ArrayToText(e){try{return(new TextDecoder).decode(e)}catch(e){throw new Error("Error decoding Uint8Array to text")}}var yr="AI_InvalidMessageRoleError";var vr=`vercel.ai.error.${yr}`;var wr=Symbol.for(vr);var xr;var kr=class extends A{constructor({role:e,message:t=`Invalid message role: '${e}'. Must be one of: "system", "user", "assistant", "tool".`}){super({name:yr,message:t});this[xr]=true;this.role=e}static isInstance(e){return A.hasMarker(e,vr)}static isInvalidMessageRoleError(e){return e instanceof Error&&e.name===yr&&typeof e.role==="string"}toJSON(){return{name:this.name,message:this.message,stack:this.stack,role:this.role}}};xr=wr;async function convertToLanguageModelPrompt({prompt:e,modelSupportsImageUrls:t=true,downloadImplementation:r=download}){const s=[];if(e.system!=null){s.push({role:"system",content:e.system})}const n=t||e.messages==null?null:await downloadImages(e.messages,r);const o=e.type;switch(o){case"prompt":{s.push({role:"user",content:[{type:"text",text:e.prompt}]});break}case"messages":{s.push(...e.messages.map((e=>convertToLanguageModelMessage(e,n))));break}default:{const e=o;throw new Error(`Unsupported prompt type: ${e}`)}}return s}function convertToLanguageModelMessage(e,t){const r=e.role;switch(r){case"system":{return{role:"system",content:e.content}}case"user":{if(typeof e.content==="string"){return{role:"user",content:[{type:"text",text:e.content}]}}return{role:"user",content:e.content.map((r=>{var s,n,o;switch(r.type){case"text":{return r}case"image":{if(r.image instanceof URL){if(t==null){return{type:"image",image:r.image,mimeType:r.mimeType}}else{const e=t[r.image.toString()];return{type:"image",image:e.data,mimeType:(s=r.mimeType)!=null?s:e.mimeType}}}if(typeof r.image==="string"){try{const s=new URL(r.image);switch(s.protocol){case"http:":case"https:":{if(t==null){return{type:"image",image:s,mimeType:r.mimeType}}else{const e=t[r.image];return{type:"image",image:e.data,mimeType:(n=r.mimeType)!=null?n:e.mimeType}}}case"data:":{try{const[e,t]=r.image.split(",");const s=e.split(";")[0].split(":")[1];if(s==null||t==null){throw new Error("Invalid data URL format")}return{type:"image",image:convertDataContentToUint8Array(t),mimeType:s}}catch(t){throw new Error(`Error processing data URL: ${dist_getErrorMessage(e)}`)}}default:{throw new Error(`Unsupported URL protocol: ${s.protocol}`)}}}catch(e){}}const i=convertDataContentToUint8Array(r.image);return{type:"image",image:i,mimeType:(o=r.mimeType)!=null?o:detectImageMimeType(i)}}}}))}}case"assistant":{if(typeof e.content==="string"){return{role:"assistant",content:[{type:"text",text:e.content}]}}return{role:"assistant",content:e.content.filter((e=>e.type!=="text"||e.text!==""))}}case"tool":{return e}default:{const e=r;throw new kr({role:e})}}}async function downloadImages(e,t){const r=e.filter((e=>e.role==="user")).map((e=>e.content)).filter((e=>Array.isArray(e))).flat().filter((e=>e.type==="image")).map((e=>e.image)).map((e=>typeof e==="string"&&(e.startsWith("http:")||e.startsWith("https:"))?new URL(e):e)).filter((e=>e instanceof URL));const s=await Promise.all(r.map((async e=>({url:e,data:await t({url:e})}))));return Object.fromEntries(s.map((({url:e,data:t})=>[e.toString(),t])))}function getValidatedPrompt(e){if(e.prompt==null&&e.messages==null){throw new y({prompt:e,message:"prompt or messages must be defined"})}if(e.prompt!=null&&e.messages!=null){throw new y({prompt:e,message:"prompt and messages cannot be defined at the same time"})}if(e.messages!=null){for(const t of e.messages){if(t.role==="system"&&typeof t.content!=="string"){throw new y({prompt:e,message:"system message content must be a string"})}}}return e.prompt!=null?{type:"prompt",prompt:e.prompt,messages:void 0,system:e.system}:{type:"messages",prompt:void 0,messages:e.messages,system:e.system}}var Rr="AI_InvalidArgumentError";var Sr=`vercel.ai.error.${Rr}`;var Dr=Symbol.for(Sr);var Tr;var _r=class extends A{constructor({parameter:e,value:t,message:r}){super({name:Rr,message:`Invalid argument for parameter ${e}: ${r}`});this[Tr]=true;this.parameter=e;this.value=t}static isInstance(e){return A.hasMarker(e,Sr)}static isInvalidArgumentError(e){return e instanceof Error&&e.name===Rr&&typeof e.parameter==="string"&&typeof e.value==="string"}toJSON(){return{name:this.name,message:this.message,stack:this.stack,parameter:this.parameter,value:this.value}}};Tr=Dr;function prepareCallSettings({maxTokens:e,temperature:t,topP:r,presencePenalty:s,frequencyPenalty:n,stopSequences:o,seed:i,maxRetries:a}){if(e!=null){if(!Number.isInteger(e)){throw new _r({parameter:"maxTokens",value:e,message:"maxTokens must be an integer"})}if(e<1){throw new _r({parameter:"maxTokens",value:e,message:"maxTokens must be >= 1"})}}if(t!=null){if(typeof t!=="number"){throw new _r({parameter:"temperature",value:t,message:"temperature must be a number"})}}if(r!=null){if(typeof r!=="number"){throw new _r({parameter:"topP",value:r,message:"topP must be a number"})}}if(s!=null){if(typeof s!=="number"){throw new _r({parameter:"presencePenalty",value:s,message:"presencePenalty must be a number"})}}if(n!=null){if(typeof n!=="number"){throw new _r({parameter:"frequencyPenalty",value:n,message:"frequencyPenalty must be a number"})}}if(i!=null){if(!Number.isInteger(i)){throw new _r({parameter:"seed",value:i,message:"seed must be an integer"})}}if(a!=null){if(!Number.isInteger(a)){throw new _r({parameter:"maxRetries",value:a,message:"maxRetries must be an integer"})}if(a<0){throw new _r({parameter:"maxRetries",value:a,message:"maxRetries must be >= 0"})}}return{maxTokens:e,temperature:t!=null?t:0,topP:r,presencePenalty:s,frequencyPenalty:n,stopSequences:o!=null&&o.length>0?o:void 0,seed:i,maxRetries:a!=null?a:2}}function calculateCompletionTokenUsage(e){return{promptTokens:e.promptTokens,completionTokens:e.completionTokens,totalTokens:e.promptTokens+e.completionTokens}}function prepareResponseHeaders(e,{contentType:t,dataStreamVersion:r}){var s;const n=new Headers((s=e==null?void 0:e.headers)!=null?s:{});if(!n.has("Content-Type")){n.set("Content-Type",t)}if(r!==void 0){n.set("X-Vercel-AI-Data-Stream",r)}return n}var Fr="JSON schema:";var Nr="You MUST answer with a JSON object that matches the JSON schema above.";function injectJsonSchemaIntoSystem({system:e,schema:t,schemaPrefix:r=Fr,schemaSuffix:s=Nr}){return[e,e!=null?"":null,r,JSON.stringify(t),s].filter((e=>e!=null)).join("\n")}var Ur="AI_NoObjectGeneratedError";var Or=`vercel.ai.error.${Ur}`;var Mr=Symbol.for(Or);var Lr;var Pr=class extends(null&&AISDKError6){constructor({message:e="No object generated."}={}){super({name:Ur,message:e});this[Lr]=true}static isInstance(e){return AISDKError6.hasMarker(e,Or)}static isNoObjectGeneratedError(e){return e instanceof Error&&e.name===Ur}toJSON(){return{name:this.name,cause:this.cause,message:this.message,stack:this.stack}}};Lr=Mr;async function generateObject({model:e,schema:t,schemaName:r,schemaDescription:s,mode:n,system:o,prompt:i,messages:a,maxRetries:A,abortSignal:c,headers:l,experimental_telemetry:u,...p}){var d;const g=getBaseTelemetryAttributes({model:e,telemetry:u,headers:l,settings:{...p,maxRetries:A}});const h=asSchema(t);const m=getTracer({isEnabled:(d=u==null?void 0:u.isEnabled)!=null?d:false});return recordSpan({name:"ai.generateObject",attributes:selectTelemetryAttributes({telemetry:u,attributes:{...assembleOperationName({operationName:"ai.generateObject",telemetry:u}),...g,"ai.prompt":{input:()=>JSON.stringify({system:o,prompt:i,messages:a})},"ai.schema":{input:()=>JSON.stringify(h.jsonSchema)},"ai.schema.name":r,"ai.schema.description":s,"ai.settings.mode":n}}),tracer:m,fn:async t=>{const d=retryWithExponentialBackoff({maxRetries:A});if(n==="auto"||n==null){n=e.defaultObjectGenerationMode}let E;let C;let I;let B;let Q;let b;switch(n){case"json":{const t=getValidatedPrompt({system:e.supportsStructuredOutputs?o:injectJsonSchemaIntoSystem({system:o,schema:h.jsonSchema}),prompt:i,messages:a});const A=await convertToLanguageModelPrompt({prompt:t,modelSupportsImageUrls:e.supportsImageUrls});const y=t.type;const v=await d((()=>recordSpan({name:"ai.generateObject.doGenerate",attributes:selectTelemetryAttributes({telemetry:u,attributes:{...assembleOperationName({operationName:"ai.generateObject.doGenerate",telemetry:u}),...g,"ai.prompt.format":{input:()=>y},"ai.prompt.messages":{input:()=>JSON.stringify(A)},"ai.settings.mode":n,"gen_ai.request.model":e.modelId,"gen_ai.system":e.provider,"gen_ai.request.max_tokens":p.maxTokens,"gen_ai.request.temperature":p.temperature,"gen_ai.request.top_p":p.topP}}),tracer:m,fn:async t=>{const n=await e.doGenerate({mode:{type:"object-json",schema:h.jsonSchema,name:r,description:s},...prepareCallSettings(p),inputFormat:y,prompt:A,abortSignal:c,headers:l});if(n.text===void 0){throw new Pr}t.setAttributes(selectTelemetryAttributes({telemetry:u,attributes:{"ai.finishReason":n.finishReason,"ai.usage.promptTokens":n.usage.promptTokens,"ai.usage.completionTokens":n.usage.completionTokens,"ai.result.object":{output:()=>n.text},"gen_ai.response.finish_reasons":[n.finishReason],"gen_ai.usage.prompt_tokens":n.usage.promptTokens,"gen_ai.usage.completion_tokens":n.usage.completionTokens}}));return{...n,objectText:n.text}}})));E=v.objectText;C=v.finishReason;I=v.usage;B=v.warnings;Q=v.rawResponse;b=v.logprobs;break}case"tool":{const t=getValidatedPrompt({system:o,prompt:i,messages:a});const A=await convertToLanguageModelPrompt({prompt:t,modelSupportsImageUrls:e.supportsImageUrls});const y=t.type;const v=await d((()=>recordSpan({name:"ai.generateObject.doGenerate",attributes:selectTelemetryAttributes({telemetry:u,attributes:{...assembleOperationName({operationName:"ai.generateObject.doGenerate",telemetry:u}),...g,"ai.prompt.format":{input:()=>y},"ai.prompt.messages":{input:()=>JSON.stringify(A)},"ai.settings.mode":n,"gen_ai.request.model":e.modelId,"gen_ai.system":e.provider,"gen_ai.request.max_tokens":p.maxTokens,"gen_ai.request.temperature":p.temperature,"gen_ai.request.top_p":p.topP}}),tracer:m,fn:async t=>{var n,o;const i=await e.doGenerate({mode:{type:"object-tool",tool:{type:"function",name:r!=null?r:"json",description:s!=null?s:"Respond with a JSON object.",parameters:h.jsonSchema}},...prepareCallSettings(p),inputFormat:y,prompt:A,abortSignal:c,headers:l});const a=(o=(n=i.toolCalls)==null?void 0:n[0])==null?void 0:o.args;if(a===void 0){throw new Pr}t.setAttributes(selectTelemetryAttributes({telemetry:u,attributes:{"ai.finishReason":i.finishReason,"ai.usage.promptTokens":i.usage.promptTokens,"ai.usage.completionTokens":i.usage.completionTokens,"ai.result.object":{output:()=>a},"gen_ai.response.finish_reasons":[i.finishReason],"gen_ai.usage.prompt_tokens":i.usage.promptTokens,"gen_ai.usage.completion_tokens":i.usage.completionTokens}}));return{...i,objectText:a}}})));E=v.objectText;C=v.finishReason;I=v.usage;B=v.warnings;Q=v.rawResponse;b=v.logprobs;break}case void 0:{throw new Error("Model does not have a default object generation mode.")}default:{const e=n;throw new Error(`Unsupported mode: ${e}`)}}const y=safeParseJSON({text:E,schema:h});if(!y.success){throw y.error}t.setAttributes(selectTelemetryAttributes({telemetry:u,attributes:{"ai.finishReason":C,"ai.usage.promptTokens":I.promptTokens,"ai.usage.completionTokens":I.completionTokens,"ai.result.object":{output:()=>JSON.stringify(y.value)}}}));return new Gr({object:y.value,finishReason:C,usage:calculateCompletionTokenUsage(I),warnings:B,rawResponse:Q,logprobs:b})}})}var Gr=class{constructor(e){this.object=e.object;this.finishReason=e.finishReason;this.usage=e.usage;this.warnings=e.warnings;this.rawResponse=e.rawResponse;this.logprobs=e.logprobs}toJsonResponse(e){var t;return new Response(JSON.stringify(this.object),{status:(t=e==null?void 0:e.status)!=null?t:200,headers:prepareResponseHeaders(e,{contentType:"application/json; charset=utf-8"})})}};var Hr=null&&generateObject;function createResolvablePromise(){let e;let t;const r=new Promise(((r,s)=>{e=r;t=s}));return{promise:r,resolve:e,reject:t}}var jr=class{constructor(){this.status={type:"pending"};this._resolve=void 0;this._reject=void 0}get value(){if(this.promise){return this.promise}this.promise=new Promise(((e,t)=>{if(this.status.type==="resolved"){e(this.status.value)}else if(this.status.type==="rejected"){t(this.status.error)}this._resolve=e;this._reject=t}));return this.promise}resolve(e){var t;this.status={type:"resolved",value:e};if(this.promise){(t=this._resolve)==null?void 0:t.call(this,e)}}reject(e){var t;this.status={type:"rejected",error:e};if(this.promise){(t=this._reject)==null?void 0:t.call(this,e)}}};function createAsyncIterableStream(e,t){const r=e.pipeThrough(new TransformStream(t));r[Symbol.asyncIterator]=()=>{const e=r.getReader();return{async next(){const{done:t,value:r}=await e.read();return t?{done:true,value:void 0}:{done:false,value:r}}}};return r}async function streamObject({model:e,schema:t,schemaName:r,schemaDescription:s,mode:n,system:o,prompt:i,messages:a,maxRetries:A,abortSignal:c,headers:l,experimental_telemetry:u,onFinish:p,...d}){var g;const h=getBaseTelemetryAttributes({model:e,telemetry:u,headers:l,settings:{...d,maxRetries:A}});const m=getTracer({isEnabled:(g=u==null?void 0:u.isEnabled)!=null?g:false});const E=retryWithExponentialBackoff({maxRetries:A});const C=asSchema2(t);return recordSpan({name:"ai.streamObject",attributes:selectTelemetryAttributes({telemetry:u,attributes:{...assembleOperationName({operationName:"ai.streamObject",telemetry:u}),...h,"ai.prompt":{input:()=>JSON.stringify({system:o,prompt:i,messages:a})},"ai.schema":{input:()=>JSON.stringify(C.jsonSchema)},"ai.schema.name":r,"ai.schema.description":s,"ai.settings.mode":n}}),tracer:m,endWhenDone:false,fn:async t=>{if(n==="auto"||n==null){n=e.defaultObjectGenerationMode}let A;let g;switch(n){case"json":{const t=getValidatedPrompt({system:e.supportsStructuredOutputs?o:injectJsonSchemaIntoSystem({system:o,schema:C.jsonSchema}),prompt:i,messages:a});A={mode:{type:"object-json",schema:C.jsonSchema,name:r,description:s},...prepareCallSettings(d),inputFormat:t.type,prompt:await convertToLanguageModelPrompt({prompt:t,modelSupportsImageUrls:e.supportsImageUrls}),abortSignal:c,headers:l};g={transform:(e,t)=>{switch(e.type){case"text-delta":t.enqueue(e.textDelta);break;case"finish":case"error":t.enqueue(e);break}}};break}case"tool":{const t=getValidatedPrompt({system:o,prompt:i,messages:a});A={mode:{type:"object-tool",tool:{type:"function",name:r!=null?r:"json",description:s!=null?s:"Respond with a JSON object.",parameters:C.jsonSchema}},...prepareCallSettings(d),inputFormat:t.type,prompt:await convertToLanguageModelPrompt({prompt:t,modelSupportsImageUrls:e.supportsImageUrls}),abortSignal:c,headers:l};g={transform(e,t){switch(e.type){case"tool-call-delta":t.enqueue(e.argsTextDelta);break;case"finish":case"error":t.enqueue(e);break}}};break}case void 0:{throw new Error("Model does not have a default object generation mode.")}default:{const e=n;throw new Error(`Unsupported mode: ${e}`)}}const{result:{stream:I,warnings:B,rawResponse:Q},doStreamSpan:b}=await E((()=>recordSpan({name:"ai.streamObject.doStream",attributes:selectTelemetryAttributes({telemetry:u,attributes:{...assembleOperationName({operationName:"ai.streamObject.doStream",telemetry:u}),...h,"ai.prompt.format":{input:()=>A.inputFormat},"ai.prompt.messages":{input:()=>JSON.stringify(A.prompt)},"ai.settings.mode":n,"gen_ai.request.model":e.modelId,"gen_ai.system":e.provider,"gen_ai.request.max_tokens":d.maxTokens,"gen_ai.request.temperature":d.temperature,"gen_ai.request.top_p":d.topP}}),tracer:m,endWhenDone:false,fn:async t=>({result:await e.doStream(A),doStreamSpan:t})})));return new Vr({stream:I.pipeThrough(new TransformStream(g)),warnings:B,rawResponse:Q,schema:C,onFinish:p,rootSpan:t,doStreamSpan:b,telemetry:u})}})}var Vr=class{constructor({stream:e,warnings:t,rawResponse:r,schema:s,onFinish:n,rootSpan:o,doStreamSpan:i,telemetry:a}){this.warnings=t;this.rawResponse=r;this.objectPromise=new jr;const{resolve:A,promise:c}=createResolvablePromise();this.usage=c;let l;let u;let p;let d;let g="";let h="";let m=void 0;let E=true;const C=this;this.originalStream=e.pipeThrough(new TransformStream({async transform(e,t){if(E){E=false;i.addEvent("ai.stream.firstChunk")}if(typeof e==="string"){g+=e;h+=e;const r=parsePartialJson(g);if(!isDeepEqualData(m,r)){m=r;t.enqueue({type:"object",object:r});t.enqueue({type:"text-delta",textDelta:h});h=""}return}switch(e.type){case"finish":{if(h!==""){t.enqueue({type:"text-delta",textDelta:h})}u=e.finishReason;l=calculateCompletionTokenUsage(e.usage);t.enqueue({...e,usage:l});A(l);const r=safeValidateTypes({value:m,schema:s});if(r.success){p=r.value;C.objectPromise.resolve(p)}else{d=r.error;C.objectPromise.reject(d)}break}default:{t.enqueue(e);break}}},async flush(e){try{const e=l!=null?l:{promptTokens:NaN,completionTokens:NaN,totalTokens:NaN};i.setAttributes(selectTelemetryAttributes({telemetry:a,attributes:{"ai.finishReason":u,"ai.usage.promptTokens":e.promptTokens,"ai.usage.completionTokens":e.completionTokens,"ai.result.object":{output:()=>JSON.stringify(p)},"gen_ai.usage.prompt_tokens":e.promptTokens,"gen_ai.usage.completion_tokens":e.completionTokens,"gen_ai.response.finish_reasons":[u]}}));i.end();o.setAttributes(selectTelemetryAttributes({telemetry:a,attributes:{"ai.usage.promptTokens":e.promptTokens,"ai.usage.completionTokens":e.completionTokens,"ai.result.object":{output:()=>JSON.stringify(p)}}}));await(n==null?void 0:n({usage:e,object:p,error:d,rawResponse:r,warnings:t}))}catch(t){e.error(t)}finally{o.end()}}}))}get object(){return this.objectPromise.value}get partialObjectStream(){return createAsyncIterableStream(this.originalStream,{transform(e,t){switch(e.type){case"object":t.enqueue(e.object);break;case"text-delta":case"finish":break;case"error":t.error(e.error);break;default:{const t=e;throw new Error(`Unsupported chunk type: ${t}`)}}}})}get textStream(){return createAsyncIterableStream(this.originalStream,{transform(e,t){switch(e.type){case"text-delta":t.enqueue(e.textDelta);break;case"object":case"finish":break;case"error":t.error(e.error);break;default:{const t=e;throw new Error(`Unsupported chunk type: ${t}`)}}}})}get fullStream(){return createAsyncIterableStream(this.originalStream,{transform(e,t){t.enqueue(e)}})}pipeTextStreamToResponse(e,t){var r;e.writeHead((r=t==null?void 0:t.status)!=null?r:200,{"Content-Type":"text/plain; charset=utf-8",...t==null?void 0:t.headers});const s=this.textStream.pipeThrough(new TextEncoderStream).getReader();const read=async()=>{try{while(true){const{done:t,value:r}=await s.read();if(t)break;e.write(r)}}catch(e){throw e}finally{e.end()}};read()}toTextStreamResponse(e){var t;return new Response(this.textStream.pipeThrough(new TextEncoderStream),{status:(t=e==null?void 0:e.status)!=null?t:200,headers:prepareResponseHeaders(e,{contentType:"text/plain; charset=utf-8"})})}};var Jr=null&&streamObject;function isNonEmptyObject(e){return e!=null&&Object.keys(e).length>0}function prepareToolsAndToolChoice({tools:e,toolChoice:t}){if(!isNonEmptyObject(e)){return{tools:void 0,toolChoice:void 0}}return{tools:Object.entries(e).map((([e,t])=>({type:"function",name:e,description:t.description,parameters:dist_asSchema(t.parameters).jsonSchema}))),toolChoice:t==null?{type:"auto"}:typeof t==="string"?{type:t}:{type:"tool",toolName:t.toolName}}}var Yr="AI_InvalidToolArgumentsError";var qr=`vercel.ai.error.${Yr}`;var Wr=Symbol.for(qr);var Zr;var zr=class extends A{constructor({toolArgs:e,toolName:t,cause:r,message:s=`Invalid arguments for tool ${t}: ${getErrorMessage(r)}`}){super({name:Yr,message:s,cause:r});this[Zr]=true;this.toolArgs=e;this.toolName=t}static isInstance(e){return A.hasMarker(e,qr)}static isInvalidToolArgumentsError(e){return e instanceof Error&&e.name===Yr&&typeof e.toolName==="string"&&typeof e.toolArgs==="string"}toJSON(){return{name:this.name,message:this.message,cause:this.cause,stack:this.stack,toolName:this.toolName,toolArgs:this.toolArgs}}};Zr=Wr;var Kr="AI_NoSuchToolError";var Xr=`vercel.ai.error.${Kr}`;var $r=Symbol.for(Xr);var es;var ts=class extends A{constructor({toolName:e,availableTools:t=void 0,message:r=`Model tried to call unavailable tool '${e}'. ${t===void 0?"No tools are available.":`Available tools: ${t.join(", ")}.`}`}){super({name:Kr,message:r});this[es]=true;this.toolName=e;this.availableTools=t}static isInstance(e){return A.hasMarker(e,Xr)}static isNoSuchToolError(e){return e instanceof Error&&e.name===Kr&&"toolName"in e&&e.toolName!=void 0&&typeof e.name==="string"}toJSON(){return{name:this.name,message:this.message,stack:this.stack,toolName:this.toolName,availableTools:this.availableTools}}};es=$r;function parseToolCall({toolCall:e,tools:t}){const r=e.toolName;if(t==null){throw new ts({toolName:e.toolName})}const s=t[r];if(s==null){throw new ts({toolName:e.toolName,availableTools:Object.keys(t)})}const n=dist_safeParseJSON({text:e.args,schema:dist_asSchema(s.parameters)});if(n.success===false){throw new zr({toolName:r,toolArgs:e.args,cause:n.error})}return{type:"tool-call",toolCallId:e.toolCallId,toolName:r,args:n.value}}async function generateText({model:e,tools:t,toolChoice:r,system:s,prompt:n,messages:o,maxRetries:i,abortSignal:a,headers:A,maxAutomaticRoundtrips:c=0,maxToolRoundtrips:l=c,experimental_telemetry:u,...p}){var d;const g=getBaseTelemetryAttributes({model:e,telemetry:u,headers:A,settings:{...p,maxRetries:i}});const h=getTracer({isEnabled:(d=u==null?void 0:u.isEnabled)!=null?d:false});return recordSpan({name:"ai.generateText",attributes:selectTelemetryAttributes({telemetry:u,attributes:{...assembleOperationName({operationName:"ai.generateText",telemetry:u}),...g,"ai.prompt":{input:()=>JSON.stringify({system:s,prompt:n,messages:o})},"ai.settings.maxToolRoundtrips":l}}),tracer:h,fn:async c=>{var d,m,E,C;const I=retryWithExponentialBackoff({maxRetries:i});const B=getValidatedPrompt({system:s,prompt:n,messages:o});const Q={type:"regular",...prepareToolsAndToolChoice({tools:t,toolChoice:r})};const b=prepareCallSettings(p);const y=await convertToLanguageModelPrompt({prompt:B,modelSupportsImageUrls:e.supportsImageUrls});let v;let w=[];let x=[];let k=0;const R=[];const S=[];const D={completionTokens:0,promptTokens:0,totalTokens:0};do{const r=k===0?B.type:"messages";v=await I((()=>recordSpan({name:"ai.generateText.doGenerate",attributes:selectTelemetryAttributes({telemetry:u,attributes:{...assembleOperationName({operationName:"ai.generateText.doGenerate",telemetry:u}),...g,"ai.prompt.format":{input:()=>r},"ai.prompt.messages":{input:()=>JSON.stringify(y)},"gen_ai.request.model":e.modelId,"gen_ai.system":e.provider,"gen_ai.request.max_tokens":p.maxTokens,"gen_ai.request.temperature":p.temperature,"gen_ai.request.top_p":p.topP}}),tracer:h,fn:async t=>{const s=await e.doGenerate({mode:Q,...b,inputFormat:r,prompt:y,abortSignal:a,headers:A});t.setAttributes(selectTelemetryAttributes({telemetry:u,attributes:{"ai.finishReason":s.finishReason,"ai.usage.promptTokens":s.usage.promptTokens,"ai.usage.completionTokens":s.usage.completionTokens,"ai.result.text":{output:()=>s.text},"ai.result.toolCalls":{output:()=>JSON.stringify(s.toolCalls)},"gen_ai.response.finish_reasons":[s.finishReason],"gen_ai.usage.prompt_tokens":s.usage.promptTokens,"gen_ai.usage.completion_tokens":s.usage.completionTokens}}));return s}})));w=((d=v.toolCalls)!=null?d:[]).map((e=>parseToolCall({toolCall:e,tools:t})));x=t==null?[]:await executeTools({toolCalls:w,tools:t,tracer:h,telemetry:u});const s=calculateCompletionTokenUsage(v.usage);D.completionTokens+=s.completionTokens;D.promptTokens+=s.promptTokens;D.totalTokens+=s.totalTokens;S.push({text:(m=v.text)!=null?m:"",toolCalls:w,toolResults:x,finishReason:v.finishReason,usage:s,warnings:v.warnings,logprobs:v.logprobs});const n=toResponseMessages({text:(E=v.text)!=null?E:"",toolCalls:w,toolResults:x});R.push(...n);y.push(...n.map((e=>convertToLanguageModelMessage(e,null))))}while(w.length>0&&x.length===w.length&&k++v.text},"ai.result.toolCalls":{output:()=>JSON.stringify(v.toolCalls)}}}));return new rs({text:(C=v.text)!=null?C:"",toolCalls:w,toolResults:x,finishReason:v.finishReason,usage:D,warnings:v.warnings,rawResponse:v.rawResponse,logprobs:v.logprobs,responseMessages:R,roundtrips:S})}})}async function executeTools({toolCalls:e,tools:t,tracer:r,telemetry:s}){const n=await Promise.all(e.map((async e=>{const n=t[e.toolName];if((n==null?void 0:n.execute)==null){return void 0}const o=await recordSpan({name:"ai.toolCall",attributes:selectTelemetryAttributes({telemetry:s,attributes:{...assembleOperationName({operationName:"ai.toolCall",telemetry:s}),"ai.toolCall.name":e.toolName,"ai.toolCall.id":e.toolCallId,"ai.toolCall.args":{output:()=>JSON.stringify(e.args)}}}),tracer:r,fn:async t=>{const r=await n.execute(e.args);try{t.setAttributes(selectTelemetryAttributes({telemetry:s,attributes:{"ai.toolCall.result":{output:()=>JSON.stringify(r)}}}))}catch(e){}return r}});return{toolCallId:e.toolCallId,toolName:e.toolName,args:e.args,result:o}})));return n.filter((e=>e!=null))}var rs=class{constructor(e){this.text=e.text;this.toolCalls=e.toolCalls;this.toolResults=e.toolResults;this.finishReason=e.finishReason;this.usage=e.usage;this.warnings=e.warnings;this.rawResponse=e.rawResponse;this.logprobs=e.logprobs;this.responseMessages=e.responseMessages;this.roundtrips=e.roundtrips}};function toResponseMessages({text:e,toolCalls:t,toolResults:r}){const s=[];s.push({role:"assistant",content:[{type:"text",text:e},...t]});if(r.length>0){s.push({role:"tool",content:r.map((e=>({type:"tool-result",toolCallId:e.toolCallId,toolName:e.toolName,result:e.result})))})}return s}var ss=null&&generateText;function mergeStreams(e,t){const r=e.getReader();const s=t.getReader();let n=void 0;let o=void 0;let i=false;let a=false;async function readStream1(e){try{if(n==null){n=r.read()}const t=await n;n=void 0;if(!t.done){e.enqueue(t.value)}else{e.close()}}catch(t){e.error(t)}}async function readStream2(e){try{if(o==null){o=s.read()}const t=await o;o=void 0;if(!t.done){e.enqueue(t.value)}else{e.close()}}catch(t){e.error(t)}}return new ReadableStream({async pull(e){try{if(i){await readStream2(e);return}if(a){await readStream1(e);return}if(n==null){n=r.read()}if(o==null){o=s.read()}const{result:t,reader:A}=await Promise.race([n.then((e=>({result:e,reader:r}))),o.then((e=>({result:e,reader:s})))]);if(!t.done){e.enqueue(t.value)}if(A===r){n=void 0;if(t.done){await readStream2(e);i=true}}else{o=void 0;if(t.done){a=true;await readStream1(e)}}}catch(t){e.error(t)}},cancel(){r.cancel();s.cancel()}})}function runToolsTransformation({tools:e,generatorStream:t,toolCallStreaming:r,tracer:s,telemetry:n}){let o=false;const i=new Set;let a=null;const A=new ReadableStream({start(e){a=e}});const c={};const l=new TransformStream({transform(t,A){const l=t.type;switch(l){case"text-delta":case"error":{A.enqueue(t);break}case"tool-call-delta":{if(r){if(!c[t.toolCallId]){A.enqueue({type:"tool-call-streaming-start",toolCallId:t.toolCallId,toolName:t.toolName});c[t.toolCallId]=true}A.enqueue({type:"tool-call-delta",toolCallId:t.toolCallId,toolName:t.toolName,argsTextDelta:t.argsTextDelta})}break}case"tool-call":{const r=t.toolName;if(e==null){a.enqueue({type:"error",error:new ts({toolName:t.toolName})});break}const c=e[r];if(c==null){a.enqueue({type:"error",error:new ts({toolName:t.toolName,availableTools:Object.keys(e)})});break}try{const r=parseToolCall({toolCall:t,tools:e});A.enqueue(r);if(c.execute!=null){const e=generateId();i.add(e);recordSpan({name:"ai.toolCall",attributes:selectTelemetryAttributes({telemetry:n,attributes:{...assembleOperationName({operationName:"ai.toolCall",telemetry:n}),"ai.toolCall.name":r.toolName,"ai.toolCall.id":r.toolCallId,"ai.toolCall.args":{output:()=>JSON.stringify(r.args)}}}),tracer:s,fn:async t=>c.execute(r.args).then((s=>{a.enqueue({...r,type:"tool-result",result:s});i.delete(e);if(o&&i.size===0){a.close()}try{t.setAttributes(selectTelemetryAttributes({telemetry:n,attributes:{"ai.toolCall.result":{output:()=>JSON.stringify(s)}}}))}catch(e){}}),(t=>{a.enqueue({type:"error",error:t});i.delete(e);if(o&&i.size===0){a.close()}}))})}}catch(e){a.enqueue({type:"error",error:e})}break}case"finish":{A.enqueue({type:"finish",finishReason:t.finishReason,logprobs:t.logprobs,usage:calculateCompletionTokenUsage(t.usage)});break}default:{const e=l;throw new Error(`Unhandled chunk type: ${e}`)}}},flush(){o=true;if(i.size===0){a.close()}}});return new ReadableStream({async start(e){return Promise.all([t.pipeThrough(l).pipeTo(new WritableStream({write(t){e.enqueue(t)},close(){}})),A.pipeTo(new WritableStream({write(t){e.enqueue(t)},close(){e.close()}}))])}})}async function streamText({model:e,tools:t,toolChoice:r,system:s,prompt:n,messages:o,maxRetries:i,abortSignal:a,headers:A,experimental_telemetry:c,experimental_toolCallStreaming:l=false,onFinish:u,...p}){var d;const g=getBaseTelemetryAttributes({model:e,telemetry:c,headers:A,settings:{...p,maxRetries:i}});const h=getTracer({isEnabled:(d=c==null?void 0:c.isEnabled)!=null?d:false});return recordSpan({name:"ai.streamText",attributes:selectTelemetryAttributes({telemetry:c,attributes:{...assembleOperationName({operationName:"ai.streamText",telemetry:c}),...g,"ai.prompt":{input:()=>JSON.stringify({system:s,prompt:n,messages:o})}}}),tracer:h,endWhenDone:false,fn:async d=>{const m=retryWithExponentialBackoff({maxRetries:i});const E=getValidatedPrompt({system:s,prompt:n,messages:o});const C=await convertToLanguageModelPrompt({prompt:E,modelSupportsImageUrls:e.supportsImageUrls});const{result:{stream:I,warnings:B,rawResponse:Q},doStreamSpan:b}=await m((()=>recordSpan({name:"ai.streamText.doStream",attributes:selectTelemetryAttributes({telemetry:c,attributes:{...assembleOperationName({operationName:"ai.streamText.doStream",telemetry:c}),...g,"ai.prompt.format":{input:()=>E.type},"ai.prompt.messages":{input:()=>JSON.stringify(C)},"gen_ai.request.model":e.modelId,"gen_ai.system":e.provider,"gen_ai.request.max_tokens":p.maxTokens,"gen_ai.request.temperature":p.temperature,"gen_ai.request.top_p":p.topP}}),tracer:h,endWhenDone:false,fn:async s=>({result:await e.doStream({mode:{type:"regular",...prepareToolsAndToolChoice({tools:t,toolChoice:r})},...prepareCallSettings(p),inputFormat:E.type,prompt:C,abortSignal:a,headers:A}),doStreamSpan:s})})));return new ns({stream:runToolsTransformation({tools:t,generatorStream:I,toolCallStreaming:l,tracer:h,telemetry:c}),warnings:B,rawResponse:Q,onFinish:u,rootSpan:d,doStreamSpan:b,telemetry:c})}})}var ns=class{constructor({stream:e,warnings:t,rawResponse:r,onFinish:s,rootSpan:n,doStreamSpan:o,telemetry:i}){this.warnings=t;this.rawResponse=r;this.onFinish=s;const{resolve:a,promise:A}=createResolvablePromise();this.usage=A;const{resolve:c,promise:l}=createResolvablePromise();this.finishReason=l;const{resolve:u,promise:p}=createResolvablePromise();this.text=p;const{resolve:d,promise:g}=createResolvablePromise();this.toolCalls=g;const{resolve:h,promise:m}=createResolvablePromise();this.toolResults=m;let E;let C;let I="";const B=[];const Q=[];let b=true;const y=this;this.originalStream=e.pipeThrough(new TransformStream({async transform(e,t){t.enqueue(e);if(b){b=false;o.addEvent("ai.stream.firstChunk")}const r=e.type;switch(r){case"text-delta":I+=e.textDelta;break;case"tool-call":B.push(e);break;case"tool-result":Q.push(e);break;case"finish":C=e.usage;E=e.finishReason;a(C);c(E);u(I);d(B);break;case"tool-call-streaming-start":case"tool-call-delta":case"error":break;default:{const e=r;throw new Error(`Unknown chunk type: ${e}`)}}},async flush(e){var s;try{const e=C!=null?C:{promptTokens:NaN,completionTokens:NaN,totalTokens:NaN};const a=E!=null?E:"unknown";const A=B.length>0?JSON.stringify(B):void 0;o.setAttributes(selectTelemetryAttributes({telemetry:i,attributes:{"ai.finishReason":a,"ai.usage.promptTokens":e.promptTokens,"ai.usage.completionTokens":e.completionTokens,"ai.result.text":{output:()=>I},"ai.result.toolCalls":{output:()=>A},"gen_ai.response.finish_reasons":[a],"gen_ai.usage.prompt_tokens":e.promptTokens,"gen_ai.usage.completion_tokens":e.completionTokens}}));o.end();n.setAttributes(selectTelemetryAttributes({telemetry:i,attributes:{"ai.finishReason":a,"ai.usage.promptTokens":e.promptTokens,"ai.usage.completionTokens":e.completionTokens,"ai.result.text":{output:()=>I},"ai.result.toolCalls":{output:()=>A}}}));h(Q);await((s=y.onFinish)==null?void 0:s.call(y,{finishReason:a,usage:e,text:I,toolCalls:B,toolResults:Q,rawResponse:r,warnings:t}))}catch(t){e.error(t)}finally{n.end()}}}))}teeStream(){const[e,t]=this.originalStream.tee();this.originalStream=t;return e}get textStream(){return createAsyncIterableStream(this.teeStream(),{transform(e,t){if(e.type==="text-delta"){if(e.textDelta.length>0){t.enqueue(e.textDelta)}}else if(e.type==="error"){t.error(e.error)}}})}get fullStream(){return createAsyncIterableStream(this.teeStream(),{transform(e,t){if(e.type==="text-delta"){if(e.textDelta.length>0){t.enqueue(e)}}else{t.enqueue(e)}}})}toAIStream(e={}){return this.toDataStream({callbacks:e})}toDataStream({callbacks:e={},getErrorMessage:t=(()=>"")}={}){let r="";const s=new TransformStream({async start(){if(e.onStart)await e.onStart()},async transform(t,s){s.enqueue(t);if(t.type==="text-delta"){const s=t.textDelta;r+=s;if(e.onToken)await e.onToken(s);if(e.onText)await e.onText(s)}},async flush(){if(e.onCompletion)await e.onCompletion(r);if(e.onFinal)await e.onFinal(r)}});const n=new TransformStream({transform:async(e,r)=>{const s=e.type;switch(s){case"text-delta":r.enqueue(formatStreamPart("text",e.textDelta));break;case"tool-call-streaming-start":r.enqueue(formatStreamPart("tool_call_streaming_start",{toolCallId:e.toolCallId,toolName:e.toolName}));break;case"tool-call-delta":r.enqueue(formatStreamPart("tool_call_delta",{toolCallId:e.toolCallId,argsTextDelta:e.argsTextDelta}));break;case"tool-call":r.enqueue(formatStreamPart("tool_call",{toolCallId:e.toolCallId,toolName:e.toolName,args:e.args}));break;case"tool-result":r.enqueue(formatStreamPart("tool_result",{toolCallId:e.toolCallId,result:e.result}));break;case"error":r.enqueue(formatStreamPart("error",t(e.error)));break;case"finish":r.enqueue(formatStreamPart("finish_message",{finishReason:e.finishReason,usage:{promptTokens:e.usage.promptTokens,completionTokens:e.usage.completionTokens}}));break;default:{const e=s;throw new Error(`Unknown chunk type: ${e}`)}}}});return this.fullStream.pipeThrough(s).pipeThrough(n).pipeThrough(new TextEncoderStream)}pipeAIStreamToResponse(e,t){return this.pipeDataStreamToResponse(e,t)}pipeDataStreamToResponse(e,t){var r;e.writeHead((r=t==null?void 0:t.status)!=null?r:200,{"Content-Type":"text/plain; charset=utf-8",...t==null?void 0:t.headers});const s=this.toDataStream().getReader();const read=async()=>{try{while(true){const{done:t,value:r}=await s.read();if(t)break;e.write(r)}}catch(e){throw e}finally{e.end()}};read()}pipeTextStreamToResponse(e,t){var r;e.writeHead((r=t==null?void 0:t.status)!=null?r:200,{"Content-Type":"text/plain; charset=utf-8",...t==null?void 0:t.headers});const s=this.textStream.pipeThrough(new TextEncoderStream).getReader();const read=async()=>{try{while(true){const{done:t,value:r}=await s.read();if(t)break;e.write(r)}}catch(e){throw e}finally{e.end()}};read()}toAIStreamResponse(e){return this.toDataStreamResponse(e)}toDataStreamResponse(e){var t;const r=e==null?void 0:"init"in e?e.init:{headers:"headers"in e?e.headers:void 0,status:"status"in e?e.status:void 0,statusText:"statusText"in e?e.statusText:void 0};const s=e==null?void 0:"data"in e?e.data:void 0;const n=e==null?void 0:"getErrorMessage"in e?e.getErrorMessage:void 0;const o=s?mergeStreams(s.stream,this.toDataStream({getErrorMessage:n})):this.toDataStream({getErrorMessage:n});return new Response(o,{status:(t=r==null?void 0:r.status)!=null?t:200,statusText:r==null?void 0:r.statusText,headers:prepareResponseHeaders(r,{contentType:"text/plain; charset=utf-8",dataStreamVersion:"v1"})})}toTextStreamResponse(e){var t;return new Response(this.textStream.pipeThrough(new TextEncoderStream),{status:(t=e==null?void 0:e.status)!=null?t:200,headers:prepareResponseHeaders(e,{contentType:"text/plain; charset=utf-8"})})}};var os=null&&streamText;function attachmentsToParts(e){var t,r,s;const n=[];for(const o of e){let e;try{e=new URL(o.url)}catch(e){throw new Error(`Invalid URL: ${o.url}`)}switch(e.protocol){case"http:":case"https:":{if((t=o.contentType)==null?void 0:t.startsWith("image/")){n.push({type:"image",image:e})}break}case"data:":{let e;let t;let i;try{[e,t]=o.url.split(",");i=e.split(";")[0].split(":")[1]}catch(e){throw new Error(`Error processing data URL: ${o.url}`)}if(i==null||t==null){throw new Error(`Invalid data URL format: ${o.url}`)}if((r=o.contentType)==null?void 0:r.startsWith("image/")){n.push({type:"image",image:convertDataContentToUint8Array(t)})}else if((s=o.contentType)==null?void 0:s.startsWith("text/")){n.push({type:"text",text:convertUint8ArrayToText(convertDataContentToUint8Array(t))})}break}default:{throw new Error(`Unsupported URL protocol: ${e.protocol}`)}}}return n}function convertToCoreMessages(e){const t=[];for(const{role:r,content:s,toolInvocations:n,experimental_attachments:o}of e){switch(r){case"system":{t.push({role:"system",content:s});break}case"user":{t.push({role:"user",content:o?[{type:"text",text:s},...attachmentsToParts(o)]:s});break}case"assistant":{if(n==null){t.push({role:"assistant",content:s});break}t.push({role:"assistant",content:[{type:"text",text:s},...n.map((({toolCallId:e,toolName:t,args:r})=>({type:"tool-call",toolCallId:e,toolName:t,args:r})))]});t.push({role:"tool",content:n.map((({toolCallId:e,toolName:t,args:r,result:s})=>({type:"tool-result",toolCallId:e,toolName:t,args:r,result:s})))});break}default:{const e=r;throw new Error(`Unhandled role: ${e}`)}}}return t}var is="AI_InvalidModelIdError";var as=`vercel.ai.error.${is}`;var As=Symbol.for(as);var cs;var ls=class extends(null&&AISDKError9){constructor({id:e,message:t=`Invalid model id: ${e}`}){super({name:is,message:t});this[cs]=true;this.id=e}static isInstance(e){return AISDKError9.hasMarker(e,as)}static isInvalidModelIdError(e){return e instanceof Error&&e.name===is&&typeof e.id==="string"}toJSON(){return{name:this.name,message:this.message,stack:this.stack,id:this.id}}};cs=As;var us="AI_NoSuchModelError";var ps=`vercel.ai.error.${us}`;var ds=Symbol.for(ps);var gs;var hs=class extends(null&&AISDKError10){constructor({modelId:e,modelType:t,message:r=`No such ${t}: ${e}`}){super({name:us,message:r});this[gs]=true;this.modelId=e;this.modelType=t}static isInstance(e){return AISDKError10.hasMarker(e,ps)}static isNoSuchModelError(e){return e instanceof Error&&e.name===us&&typeof e.modelId==="string"&&typeof e.modelType==="string"}toJSON(){return{name:this.name,message:this.message,stack:this.stack,modelId:this.modelId,modelType:this.modelType}}};gs=ds;var fs="AI_NoSuchProviderError";var ms=`vercel.ai.error.${fs}`;var Es=Symbol.for(ms);var Cs;var Is=class extends(null&&AISDKError11){constructor({providerId:e,availableProviders:t,message:r=`No such provider: ${e} (available providers: ${t.join()})`}){super({name:fs,message:r});this[Cs]=true;this.providerId=e;this.availableProviders=t}static isInstance(e){return AISDKError11.hasMarker(e,ms)}static isNoSuchProviderError(e){return e instanceof Error&&e.name===fs&&typeof e.providerId==="string"&&Array.isArray(e.availableProviders)}toJSON(){return{name:this.name,message:this.message,stack:this.stack,providerId:this.providerId,availableProviders:this.availableProviders}}};Cs=Es;function experimental_createProviderRegistry(e){const t=new Qs;for(const[r,s]of Object.entries(e)){t.registerProvider({id:r,provider:s})}return t}var Bs=null&&experimental_createProviderRegistry;var Qs=class{constructor(){this.providers={}}registerProvider({id:e,provider:t}){this.providers[e]=t}getProvider(e){const t=this.providers[e];if(t==null){throw new Is({providerId:e,availableProviders:Object.keys(this.providers)})}return t}splitId(e){const t=e.indexOf(":");if(t===-1){throw new ls({id:e})}return[e.slice(0,t),e.slice(t+1)]}languageModel(e){var t,r;const[s,n]=this.splitId(e);const o=(r=(t=this.getProvider(s)).languageModel)==null?void 0:r.call(t,n);if(o==null){throw new hs({modelId:e,modelType:"languageModel"})}return o}textEmbeddingModel(e){var t,r,s;const[n,o]=this.splitId(e);const i=this.getProvider(n);const a=(s=(t=i.textEmbeddingModel)==null?void 0:t.call(i,o))!=null?s:(r=i.textEmbedding)==null?void 0:r.call(i,o);if(a==null){throw new hs({modelId:e,modelType:"textEmbeddingModel"})}return a}textEmbedding(e){return this.textEmbeddingModel(e)}};function tool(e){return e}function cosineSimilarity(e,t){if(e.length!==t.length){throw new Error(`Vectors must have the same length (vector1: ${e.length} elements, vector2: ${t.length} elements)`)}return dotProduct(e,t)/(magnitude(e)*magnitude(t))}function dotProduct(e,t){return e.reduce(((e,r,s)=>e+r*t[s]),0)}function magnitude(e){return Math.sqrt(dotProduct(e,e))}function createEventStreamTransformer(e){const t=new TextDecoder;let r;return new TransformStream({async start(t){r=createParser((r=>{if("data"in r&&r.type==="event"&&r.data==="[DONE]"||r.event==="done"){t.terminate();return}if("data"in r){const s=e?e(r.data,{event:r.event}):r.data;if(s)t.enqueue(s)}}))},transform(e){r.feed(t.decode(e))}})}function createCallbacksTransformer(e){const t=new TextEncoder;let r="";const s=e||{};return new TransformStream({async start(){if(s.onStart)await s.onStart()},async transform(e,n){const o=typeof e==="string"?e:e.content;n.enqueue(t.encode(o));r+=o;if(s.onToken)await s.onToken(o);if(s.onText&&typeof e==="string"){await s.onText(e)}},async flush(){const e=isOfTypeOpenAIStreamCallbacks(s);if(s.onCompletion){await s.onCompletion(r)}if(s.onFinal&&!e){await s.onFinal(r)}}})}function isOfTypeOpenAIStreamCallbacks(e){return"experimental_onFunctionCall"in e}function trimStartOfStreamHelper(){let e=true;return t=>{if(e){t=t.trimStart();if(t)e=false}return t}}function AIStream(e,t,r){if(!e.ok){if(e.body){const t=e.body.getReader();return new ReadableStream({async start(e){const{done:r,value:s}=await t.read();if(!r){const t=(new TextDecoder).decode(s);e.error(new Error(`Response error: ${t}`))}}})}else{return new ReadableStream({start(e){e.error(new Error("Response error: No response body"))}})}}const s=e.body||createEmptyReadableStream();return s.pipeThrough(createEventStreamTransformer(t)).pipeThrough(createCallbacksTransformer(r))}function createEmptyReadableStream(){return new ReadableStream({start(e){e.close()}})}function readableFromAsyncIterable(e){let t=e[Symbol.asyncIterator]();return new ReadableStream({async pull(e){const{done:r,value:s}=await t.next();if(r)e.close();else e.enqueue(s)},async cancel(e){var r;await((r=t.return)==null?void 0:r.call(t,e))}})}var bs=null&&15*1e3;var ys=class{constructor(){this.encoder=new TextEncoder;this.controller=null;this.isClosed=false;this.warningTimeout=null;const e=this;this.stream=new ReadableStream({start:async t=>{e.controller=t;if(process.env.NODE_ENV==="development"){e.warningTimeout=setTimeout((()=>{console.warn("The data stream is hanging. Did you forget to close it with `data.close()`?")}),bs)}},pull:e=>{},cancel:e=>{this.isClosed=true}})}async close(){if(this.isClosed){throw new Error("Data Stream has already been closed.")}if(!this.controller){throw new Error("Stream controller is not initialized.")}this.controller.close();this.isClosed=true;if(this.warningTimeout){clearTimeout(this.warningTimeout)}}append(e){if(this.isClosed){throw new Error("Data Stream has already been closed.")}if(!this.controller){throw new Error("Stream controller is not initialized.")}this.controller.enqueue(this.encoder.encode(formatStreamPart2("data",[e])))}appendMessageAnnotation(e){if(this.isClosed){throw new Error("Data Stream has already been closed.")}if(!this.controller){throw new Error("Stream controller is not initialized.")}this.controller.enqueue(this.encoder.encode(formatStreamPart2("message_annotations",[e])))}};function createStreamDataTransformer(){const e=new TextEncoder;const t=new TextDecoder;return new TransformStream({transform:async(r,s)=>{const n=t.decode(r);s.enqueue(e.encode(dist_formatStreamPart("text",n)))}})}var vs=class extends(null&&ys){};function parseAnthropicStream(){let e="";return t=>{const r=JSON.parse(t);if("error"in r){throw new Error(`${r.error.type}: ${r.error.message}`)}if(!("completion"in r)){return}const s=r.completion;if(!e||s.length>e.length&&s.startsWith(e)){const t=s.slice(e.length);e=s;return t}return s}}async function*streamable(e){for await(const t of e){if("completion"in t){const e=t.completion;if(e)yield e}else if("delta"in t){const{delta:e}=t;if("text"in e){const t=e.text;if(t)yield t}}}}function AnthropicStream(e,t){if(Symbol.asyncIterator in e){return readableFromAsyncIterable(streamable(e)).pipeThrough(createCallbacksTransformer(t)).pipeThrough(createStreamDataTransformer())}else{return AIStream(e,parseAnthropicStream(),t).pipeThrough(createStreamDataTransformer())}}function AssistantResponse({threadId:e,messageId:t},r){const s=new ReadableStream({async start(s){var n;const o=new TextEncoder;const sendMessage=e=>{s.enqueue(o.encode(formatStreamPart3("assistant_message",e)))};const sendDataMessage=e=>{s.enqueue(o.encode(formatStreamPart3("data_message",e)))};const sendError=e=>{s.enqueue(o.encode(formatStreamPart3("error",e)))};const forwardStream=async e=>{var t,r;let n=void 0;for await(const i of e){switch(i.event){case"thread.message.created":{s.enqueue(o.encode(formatStreamPart3("assistant_message",{id:i.data.id,role:"assistant",content:[{type:"text",text:{value:""}}]})));break}case"thread.message.delta":{const e=(t=i.data.delta.content)==null?void 0:t[0];if((e==null?void 0:e.type)==="text"&&((r=e.text)==null?void 0:r.value)!=null){s.enqueue(o.encode(formatStreamPart3("text",e.text.value)))}break}case"thread.run.completed":case"thread.run.requires_action":{n=i.data;break}}}return n};s.enqueue(o.encode(formatStreamPart3("assistant_control_data",{threadId:e,messageId:t})));try{await r({threadId:e,messageId:t,sendMessage:sendMessage,sendDataMessage:sendDataMessage,forwardStream:forwardStream})}catch(e){sendError((n=e.message)!=null?n:`${e}`)}finally{s.close()}},pull(e){},cancel(){}});return new Response(s,{status:200,headers:{"Content-Type":"text/plain; charset=utf-8"}})}var ws=null&&AssistantResponse;async function*asDeltaIterable(e,t){var r,s;const n=new TextDecoder;for await(const o of(r=e.body)!=null?r:[]){const e=(s=o.chunk)==null?void 0:s.bytes;if(e!=null){const r=n.decode(e);const s=JSON.parse(r);const o=t(s);if(o!=null){yield o}}}}function AWSBedrockAnthropicMessagesStream(e,t){return AWSBedrockStream(e,t,(e=>{var t;return(t=e.delta)==null?void 0:t.text}))}function AWSBedrockAnthropicStream(e,t){return AWSBedrockStream(e,t,(e=>e.completion))}function AWSBedrockCohereStream(e,t){return AWSBedrockStream(e,t,(e=>e==null?void 0:e.text))}function AWSBedrockLlama2Stream(e,t){return AWSBedrockStream(e,t,(e=>e.generation))}function AWSBedrockStream(e,t,r){return readableFromAsyncIterable(asDeltaIterable(e,r)).pipeThrough(createCallbacksTransformer(t)).pipeThrough(createStreamDataTransformer())}var xs=new TextDecoder("utf-8");async function processLines(e,t){for(const r of e){const{text:e,is_finished:s}=JSON.parse(r);if(!s){t.enqueue(e)}}}async function readAndProcessLines(e,t){let r="";while(true){const{value:s,done:n}=await e.read();if(n){break}r+=xs.decode(s,{stream:true});const o=r.split(/\r\n|\n|\r/g);r=o.pop()||"";await processLines(o,t)}if(r){const e=[r];await processLines(e,t)}t.close()}function createParser2(e){var t;const r=(t=e.body)==null?void 0:t.getReader();return new ReadableStream({async start(e){if(!r){e.close();return}await readAndProcessLines(r,e)}})}async function*streamable2(e){for await(const t of e){if(t.eventType==="text-generation"){const e=t.text;if(e)yield e}}}function CohereStream(e,t){if(Symbol.asyncIterator in e){return readableFromAsyncIterable(streamable2(e)).pipeThrough(createCallbacksTransformer(t)).pipeThrough(createStreamDataTransformer())}else{return createParser2(e).pipeThrough(createCallbacksTransformer(t)).pipeThrough(createStreamDataTransformer())}}async function*streamable3(e){var t,r,s;for await(const n of e.stream){const e=(s=(r=(t=n.candidates)==null?void 0:t[0])==null?void 0:r.content)==null?void 0:s.parts;if(e===void 0){continue}const o=e[0];if(typeof o.text==="string"){yield o.text}}}function GoogleGenerativeAIStream(e,t){return readableFromAsyncIterable(streamable3(e)).pipeThrough(createCallbacksTransformer(t)).pipeThrough(createStreamDataTransformer())}function createParser3(e){const t=trimStartOfStreamHelper();return new ReadableStream({async pull(r){var s,n;const{value:o,done:i}=await e.next();if(i){r.close();return}const a=t((n=(s=o.token)==null?void 0:s.text)!=null?n:"");if(!a)return;if(o.generated_text!=null&&o.generated_text.length>0){return}if(a===""||a==="<|endoftext|>"||a==="<|end|>"){return}r.enqueue(a)}})}function HuggingFaceStream(e,t){return createParser3(e).pipeThrough(createCallbacksTransformer(t)).pipeThrough(createStreamDataTransformer())}function InkeepStream(e,t){if(!e.body){throw new Error("Response body is null")}let r="";let s;const inkeepEventParser=(e,n)=>{var o,i;const{event:a}=n;if(a==="records_cited"){s=JSON.parse(e);(o=t==null?void 0:t.onRecordsCited)==null?void 0:o.call(t,s)}if(a==="message_chunk"){const t=JSON.parse(e);r=(i=t.chat_session_id)!=null?i:r;return t.content_chunk}return};let{onRecordsCited:n,...o}=t||{};o={...o,onFinal:e=>{var n;const o={chat_session_id:r,records_cited:s};(n=t==null?void 0:t.onFinal)==null?void 0:n.call(t,e,o)}};return AIStream(e,inkeepEventParser,o).pipeThrough(createStreamDataTransformer())}var ks={};__export(ks,{toAIStream:()=>toAIStream,toDataStream:()=>toDataStream,toDataStreamResponse:()=>toDataStreamResponse});function toAIStream(e,t){return toDataStream(e,t)}function toDataStream(e,t){return e.pipeThrough(new TransformStream({transform:async(e,t)=>{var r;if(typeof e==="string"){t.enqueue(e);return}if("event"in e){if(e.event==="on_chat_model_stream"){forwardAIMessageChunk((r=e.data)==null?void 0:r.chunk,t)}return}forwardAIMessageChunk(e,t)}})).pipeThrough(createCallbacksTransformer(t)).pipeThrough(createStreamDataTransformer())}function toDataStreamResponse(e,t){var r;const s=toDataStream(e,t==null?void 0:t.callbacks);const n=t==null?void 0:t.data;const o=t==null?void 0:t.init;const i=n?mergeStreams(n.stream,s):s;return new Response(i,{status:(r=o==null?void 0:o.status)!=null?r:200,statusText:o==null?void 0:o.statusText,headers:prepareResponseHeaders(o,{contentType:"text/plain; charset=utf-8",dataStreamVersion:"v1"})})}function forwardAIMessageChunk(e,t){if(typeof e.content==="string"){t.enqueue(e.content)}else{const r=e.content;for(const e of r){if(e.type==="text"){t.enqueue(e.text)}}}}function LangChainStream(e){const t=new TransformStream;const r=t.writable.getWriter();const s=new Set;const handleError=async(e,t)=>{s.delete(t);await r.ready;await r.abort(e)};const handleStart=async e=>{s.add(e)};const handleEnd=async e=>{s.delete(e);if(s.size===0){await r.ready;await r.close()}};return{stream:t.readable.pipeThrough(createCallbacksTransformer(e)).pipeThrough(createStreamDataTransformer()),writer:r,handlers:{handleLLMNewToken:async e=>{await r.ready;await r.write(e)},handleLLMStart:async(e,t,r)=>{handleStart(r)},handleLLMEnd:async(e,t)=>{await handleEnd(t)},handleLLMError:async(e,t)=>{await handleError(e,t)},handleChainStart:async(e,t,r)=>{handleStart(r)},handleChainEnd:async(e,t)=>{await handleEnd(t)},handleChainError:async(e,t)=>{await handleError(e,t)},handleToolStart:async(e,t,r)=>{handleStart(r)},handleToolEnd:async(e,t)=>{await handleEnd(t)},handleToolError:async(e,t)=>{await handleError(e,t)}}}}async function*streamable4(e){var t,r;for await(const s of e){const e=(r=(t=s.choices[0])==null?void 0:t.delta)==null?void 0:r.content;if(e===void 0||e===""){continue}yield e}}function MistralStream(e,t){const r=readableFromAsyncIterable(streamable4(e));return r.pipeThrough(createCallbacksTransformer(t)).pipeThrough(createStreamDataTransformer())}function parseOpenAIStream(){const e=chunkToText();return t=>e(JSON.parse(t))}async function*streamable5(e){const t=chunkToText();for await(let r of e){if("promptFilterResults"in r){r={id:r.id,created:r.created.getDate(),object:r.object,model:r.model,choices:r.choices.map((e=>{var t,r,s,n,o,i,a;return{delta:{content:(t=e.delta)==null?void 0:t.content,function_call:(r=e.delta)==null?void 0:r.functionCall,role:(s=e.delta)==null?void 0:s.role,tool_calls:((o=(n=e.delta)==null?void 0:n.toolCalls)==null?void 0:o.length)?(a=(i=e.delta)==null?void 0:i.toolCalls)==null?void 0:a.map(((e,t)=>({index:t,id:e.id,function:e.function,type:e.type}))):void 0},finish_reason:e.finishReason,index:e.index}}))}}const e=t(r);if(e)yield e}}function chunkToText(){const e=trimStartOfStreamHelper();let t;return r=>{var s,n,o,i,a,A,c,l,u,p,d,g,h,m,E,C,I,B;if(isChatCompletionChunk(r)){const e=(s=r.choices[0])==null?void 0:s.delta;if((n=e.function_call)==null?void 0:n.name){t=true;return{isText:false,content:`{"function_call": {"name": "${e.function_call.name}", "arguments": "`}}else if((a=(i=(o=e.tool_calls)==null?void 0:o[0])==null?void 0:i.function)==null?void 0:a.name){t=true;const r=e.tool_calls[0];if(r.index===0){return{isText:false,content:`{"tool_calls":[ {"id": "${r.id}", "type": "function", "function": {"name": "${(A=r.function)==null?void 0:A.name}", "arguments": "`}}else{return{isText:false,content:`"}}, {"id": "${r.id}", "type": "function", "function": {"name": "${(c=r.function)==null?void 0:c.name}", "arguments": "`}}}else if((l=e.function_call)==null?void 0:l.arguments){return{isText:false,content:cleanupArguments((u=e.function_call)==null?void 0:u.arguments)}}else if((g=(d=(p=e.tool_calls)==null?void 0:p[0])==null?void 0:d.function)==null?void 0:g.arguments){return{isText:false,content:cleanupArguments((E=(m=(h=e.tool_calls)==null?void 0:h[0])==null?void 0:m.function)==null?void 0:E.arguments)}}else if(t&&(((C=r.choices[0])==null?void 0:C.finish_reason)==="function_call"||((I=r.choices[0])==null?void 0:I.finish_reason)==="stop")){t=false;return{isText:false,content:'"}}'}}else if(t&&((B=r.choices[0])==null?void 0:B.finish_reason)==="tool_calls"){t=false;return{isText:false,content:'"}}]}'}}}const Q=e(isChatCompletionChunk(r)&&r.choices[0].delta.content?r.choices[0].delta.content:isCompletion(r)?r.choices[0].text:"");return Q};function cleanupArguments(e){let t=e.replace(/\\/g,"\\\\").replace(/\//g,"\\/").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\f/g,"\\f");return`${t}`}}var Rs=Symbol("internal_openai_fn_messages");function isChatCompletionChunk(e){return"choices"in e&&e.choices&&e.choices[0]&&"delta"in e.choices[0]}function isCompletion(e){return"choices"in e&&e.choices&&e.choices[0]&&"text"in e.choices[0]}function OpenAIStream(e,t){const r=t;let s;if(Symbol.asyncIterator in e){s=readableFromAsyncIterable(streamable5(e)).pipeThrough(createCallbacksTransformer((r==null?void 0:r.experimental_onFunctionCall)||(r==null?void 0:r.experimental_onToolCall)?{...r,onFinal:void 0}:{...r}))}else{s=AIStream(e,parseOpenAIStream(),(r==null?void 0:r.experimental_onFunctionCall)||(r==null?void 0:r.experimental_onToolCall)?{...r,onFinal:void 0}:{...r})}if(r&&(r.experimental_onFunctionCall||r.experimental_onToolCall)){const e=createFunctionCallTransformer(r);return s.pipeThrough(e)}else{return s.pipeThrough(createStreamDataTransformer())}}function createFunctionCallTransformer(e){const t=new TextEncoder;let r=true;let s="";let n="";let o=false;let i=e[Rs]||[];const a=createChunkDecoder();return new TransformStream({async transform(e,i){const A=a(e);n+=A;const c=r&&(A.startsWith('{"function_call":')||A.startsWith('{"tool_calls":'));if(c){o=true;s+=A;r=false;return}if(!o){i.enqueue(t.encode(formatStreamPart4("text",A)));return}else{s+=A}},async flush(a){try{if(!r&&o&&(e.experimental_onFunctionCall||e.experimental_onToolCall)){o=false;const r=JSON.parse(s);let A=[...i];let c=void 0;if(e.experimental_onFunctionCall){if(r.function_call===void 0){console.warn("experimental_onFunctionCall should not be defined when using tools")}const t=JSON.parse(r.function_call.arguments);c=await e.experimental_onFunctionCall({name:r.function_call.name,arguments:t},(e=>{A=[...i,{role:"assistant",content:"",function_call:r.function_call},{role:"function",name:r.function_call.name,content:JSON.stringify(e)}];return A}))}if(e.experimental_onToolCall){const t={tools:[]};for(const e of r.tool_calls){t.tools.push({id:e.id,type:"function",func:{name:e.function.name,arguments:JSON.parse(e.function.arguments)}})}let s=0;try{c=await e.experimental_onToolCall(t,(e=>{if(e){const{tool_call_id:t,function_name:n,tool_call_result:o}=e;A=[...A,...s===0?[{role:"assistant",content:"",tool_calls:r.tool_calls.map((e=>({id:e.id,type:"function",function:{name:e.function.name,arguments:JSON.stringify(e.function.arguments)}})))}]:[],{role:"tool",tool_call_id:t,name:n,content:JSON.stringify(o)}];s++}return A}))}catch(e){console.error("Error calling experimental_onToolCall:",e)}}if(!c){a.enqueue(t.encode(formatStreamPart4(r.function_call?"function_call":"tool_calls",JSON.parse(s))));return}else if(typeof c==="string"){a.enqueue(t.encode(formatStreamPart4("text",c)));n=c;return}const l={...e,onStart:void 0};e.onFinal=void 0;const u=OpenAIStream(c,{...l,[Rs]:A});const p=u.getReader();while(true){const{done:e,value:t}=await p.read();if(e){break}a.enqueue(t)}}}finally{if(e.onFinal&&n){await e.onFinal(n)}}}})}async function ReplicateStream(e,t,r){var s;const n=(s=e.urls)==null?void 0:s.stream;if(!n){if(e.error)throw new Error(e.error);else throw new Error("Missing stream URL in Replicate response")}const o=await fetch(n,{method:"GET",headers:{Accept:"text/event-stream",...r==null?void 0:r.headers}});return AIStream(o,void 0,t).pipeThrough(createStreamDataTransformer())}function streamToResponse(e,t,r,s){var n;t.writeHead((n=r==null?void 0:r.status)!=null?n:200,{"Content-Type":"text/plain; charset=utf-8",...r==null?void 0:r.headers});let o=e;if(s){o=mergeStreams(s.stream,e)}const i=o.getReader();function read(){i.read().then((({done:e,value:r})=>{if(e){t.end();return}t.write(r);read()}))}read()}var Ss=class extends Response{constructor(e,t,r){let s=e;if(r){s=mergeStreams(r.stream,e)}super(s,{...t,status:200,headers:prepareResponseHeaders(t,{contentType:"text/plain; charset=utf-8"})})}};var Ds=ge;var _s=ge;function convertToOpenAIChatMessages({prompt:e,useLegacyFunctionCalling:t=false}){const r=[];for(const{role:s,content:n}of e){switch(s){case"system":{r.push({role:"system",content:n});break}case"user":{if(n.length===1&&n[0].type==="text"){r.push({role:"user",content:n[0].text});break}r.push({role:"user",content:n.map((e=>{var t;switch(e.type){case"text":{return{type:"text",text:e.text}}case"image":{return{type:"image_url",image_url:{url:e.image instanceof URL?e.image.toString():`data:${(t=e.mimeType)!=null?t:"image/jpeg"};base64,${dist_convertUint8ArrayToBase64(e.image)}`}}}}}))});break}case"assistant":{let e="";const s=[];for(const t of n){switch(t.type){case"text":{e+=t.text;break}case"tool-call":{s.push({id:t.toolCallId,type:"function",function:{name:t.toolName,arguments:JSON.stringify(t.args)}});break}default:{const e=t;throw new Error(`Unsupported part: ${e}`)}}}if(t){if(s.length>1){throw new ue({functionality:"useLegacyFunctionCalling with multiple tool calls in one message"})}r.push({role:"assistant",content:e,function_call:s.length>0?s[0].function:void 0})}else{r.push({role:"assistant",content:e,tool_calls:s.length>0?s:void 0})}break}case"tool":{for(const e of n){if(t){r.push({role:"function",name:e.toolName,content:JSON.stringify(e.result)})}else{r.push({role:"tool",tool_call_id:e.toolCallId,content:JSON.stringify(e.result)})}}break}default:{const e=s;throw new Error(`Unsupported role: ${e}`)}}}return r}function mapOpenAIChatLogProbsOutput(e){var t,r;return(r=(t=e==null?void 0:e.content)==null?void 0:t.map((({token:e,logprob:t,top_logprobs:r})=>({token:e,logprob:t,topLogprobs:r?r.map((({token:e,logprob:t})=>({token:e,logprob:t}))):[]}))))!=null?r:void 0}function mapOpenAIFinishReason(e){switch(e){case"stop":return"stop";case"length":return"length";case"content_filter":return"content-filter";case"function_call":case"tool_calls":return"tool-calls";default:return"unknown"}}var Fs=Dt.object({error:Dt.object({message:Dt.string(),type:Dt.string(),param:Dt.any().nullable(),code:Dt.string().nullable()})});var Ns=createJsonErrorResponseHandler({errorSchema:Fs,errorToMessage:e=>e.error.message});var Us=class{constructor(e,t,r){this.specificationVersion="v1";this.modelId=e;this.settings=t;this.config=r}get supportsStructuredOutputs(){return this.settings.structuredOutputs===true}get defaultObjectGenerationMode(){return this.supportsStructuredOutputs?"json":"tool"}get provider(){return this.config.provider}getArgs({mode:e,prompt:t,maxTokens:r,temperature:s,topP:n,topK:o,frequencyPenalty:i,presencePenalty:a,stopSequences:A,responseFormat:c,seed:l}){var u;const p=e.type;const d=[];if(o!=null){d.push({type:"unsupported-setting",setting:"topK"})}if(c!=null&&c.type==="json"&&c.schema!=null){d.push({type:"unsupported-setting",setting:"responseFormat",details:"JSON response format schema is not supported"})}const g=this.settings.useLegacyFunctionCalling;if(g&&this.settings.parallelToolCalls===true){throw new ue({functionality:"useLegacyFunctionCalling with parallelToolCalls"})}if(g&&this.settings.structuredOutputs===true){throw new ue({functionality:"structuredOutputs with useLegacyFunctionCalling"})}const h={model:this.modelId,logit_bias:this.settings.logitBias,logprobs:this.settings.logprobs===true||typeof this.settings.logprobs==="number"?true:void 0,top_logprobs:typeof this.settings.logprobs==="number"?this.settings.logprobs:typeof this.settings.logprobs==="boolean"?this.settings.logprobs?0:void 0:void 0,user:this.settings.user,parallel_tool_calls:this.settings.parallelToolCalls,max_tokens:r,temperature:s,top_p:n,frequency_penalty:i,presence_penalty:a,stop:A,seed:l,response_format:(c==null?void 0:c.type)==="json"?{type:"json_object"}:void 0,messages:convertToOpenAIChatMessages({prompt:t,useLegacyFunctionCalling:g})};switch(p){case"regular":{return{args:{...h,...dist_prepareToolsAndToolChoice({mode:e,useLegacyFunctionCalling:g,structuredOutputs:this.settings.structuredOutputs})},warnings:d}}case"object-json":{return{args:{...h,response_format:this.settings.structuredOutputs===true?{type:"json_schema",json_schema:{schema:e.schema,strict:true,name:(u=e.name)!=null?u:"response",description:e.description}}:{type:"json_object"}},warnings:d}}case"object-tool":{return{args:g?{...h,function_call:{name:e.tool.name},functions:[{name:e.tool.name,description:e.tool.description,parameters:e.tool.parameters}]}:{...h,tool_choice:{type:"function",function:{name:e.tool.name}},tools:[{type:"function",function:{name:e.tool.name,description:e.tool.description,parameters:e.tool.parameters},strict:this.settings.structuredOutputs===true?true:void 0}]},warnings:d}}default:{const e=p;throw new Error(`Unsupported type: ${e}`)}}}async doGenerate(e){var t,r;const{args:s,warnings:n}=this.getArgs(e);const{responseHeaders:o,value:i}=await postJsonToApi({url:this.config.url({path:"/chat/completions",modelId:this.modelId}),headers:combineHeaders(this.config.headers(),e.headers),body:s,failedResponseHandler:Ns,successfulResponseHandler:createJsonResponseHandler(Os),abortSignal:e.abortSignal,fetch:this.config.fetch});const{messages:a,...A}=s;const c=i.choices[0];return{text:(t=c.message.content)!=null?t:void 0,toolCalls:this.settings.useLegacyFunctionCalling&&c.message.function_call?[{toolCallType:"function",toolCallId:ge(),toolName:c.message.function_call.name,args:c.message.function_call.arguments}]:(r=c.message.tool_calls)==null?void 0:r.map((e=>{var t;return{toolCallType:"function",toolCallId:(t=e.id)!=null?t:ge(),toolName:e.function.name,args:e.function.arguments}})),finishReason:mapOpenAIFinishReason(c.finish_reason),usage:{promptTokens:i.usage.prompt_tokens,completionTokens:i.usage.completion_tokens},rawCall:{rawPrompt:a,rawSettings:A},rawResponse:{headers:o},warnings:n,logprobs:mapOpenAIChatLogProbsOutput(c.logprobs)}}async doStream(e){const{args:t,warnings:r}=this.getArgs(e);const{responseHeaders:s,value:n}=await postJsonToApi({url:this.config.url({path:"/chat/completions",modelId:this.modelId}),headers:combineHeaders(this.config.headers(),e.headers),body:{...t,stream:true,stream_options:this.config.compatibility==="strict"?{include_usage:true}:void 0},failedResponseHandler:Ns,successfulResponseHandler:createEventSourceResponseHandler(Ms),abortSignal:e.abortSignal,fetch:this.config.fetch});const{messages:o,...i}=t;const a=[];let A="other";let c={promptTokens:Number.NaN,completionTokens:Number.NaN};let l;const{useLegacyFunctionCalling:u}=this.settings;return{stream:n.pipeThrough(new TransformStream({transform(e,t){var r,s,n,o,i,p,d,g,h,m,E,C;if(!e.success){A="error";t.enqueue({type:"error",error:e.error});return}const I=e.value;if("error"in I){A="error";t.enqueue({type:"error",error:I.error});return}if(I.usage!=null){c={promptTokens:I.usage.prompt_tokens,completionTokens:I.usage.completion_tokens}}const B=I.choices[0];if((B==null?void 0:B.finish_reason)!=null){A=mapOpenAIFinishReason(B.finish_reason)}if((B==null?void 0:B.delta)==null){return}const Q=B.delta;if(Q.content!=null){t.enqueue({type:"text-delta",textDelta:Q.content})}const b=mapOpenAIChatLogProbsOutput(B==null?void 0:B.logprobs);if(b==null?void 0:b.length){if(l===void 0)l=[];l.push(...b)}const y=u&&Q.function_call!=null?[{type:"function",id:ge(),function:Q.function_call,index:0}]:Q.tool_calls;if(y!=null){for(const e of y){const A=e.index;if(a[A]==null){if(e.type!=="function"){throw new R({data:e,message:`Expected 'function' type.`})}if(e.id==null){throw new R({data:e,message:`Expected 'id' to be a string.`})}if(((r=e.function)==null?void 0:r.name)==null){throw new R({data:e,message:`Expected 'function.name' to be a string.`})}a[A]={id:e.id,type:"function",function:{name:e.function.name,arguments:(s=e.function.arguments)!=null?s:""}};const c=a[A];if(((n=c.function)==null?void 0:n.name)!=null&&((o=c.function)==null?void 0:o.arguments)!=null&&isParsableJson(c.function.arguments)){t.enqueue({type:"tool-call-delta",toolCallType:"function",toolCallId:c.id,toolName:c.function.name,argsTextDelta:c.function.arguments});t.enqueue({type:"tool-call",toolCallType:"function",toolCallId:(i=c.id)!=null?i:ge(),toolName:c.function.name,args:c.function.arguments})}continue}const c=a[A];if(((p=e.function)==null?void 0:p.arguments)!=null){c.function.arguments+=(g=(d=e.function)==null?void 0:d.arguments)!=null?g:""}t.enqueue({type:"tool-call-delta",toolCallType:"function",toolCallId:c.id,toolName:c.function.name,argsTextDelta:(h=e.function.arguments)!=null?h:""});if(((m=c.function)==null?void 0:m.name)!=null&&((E=c.function)==null?void 0:E.arguments)!=null&&isParsableJson(c.function.arguments)){t.enqueue({type:"tool-call",toolCallType:"function",toolCallId:(C=c.id)!=null?C:ge(),toolName:c.function.name,args:c.function.arguments})}}}},flush(e){e.enqueue({type:"finish",finishReason:A,logprobs:l,usage:c})}})),rawCall:{rawPrompt:o,rawSettings:i},rawResponse:{headers:s},warnings:r}}};var Os=Dt.object({choices:Dt.array(Dt.object({message:Dt.object({role:Dt.literal("assistant").nullish(),content:Dt.string().nullish(),function_call:Dt.object({arguments:Dt.string(),name:Dt.string()}).nullish(),tool_calls:Dt.array(Dt.object({id:Dt.string().nullish(),type:Dt.literal("function"),function:Dt.object({name:Dt.string(),arguments:Dt.string()})})).nullish()}),index:Dt.number(),logprobs:Dt.object({content:Dt.array(Dt.object({token:Dt.string(),logprob:Dt.number(),top_logprobs:Dt.array(Dt.object({token:Dt.string(),logprob:Dt.number()}))})).nullable()}).nullish(),finish_reason:Dt.string().nullish()})),usage:Dt.object({prompt_tokens:Dt.number(),completion_tokens:Dt.number()})});var Ms=Dt.union([Dt.object({choices:Dt.array(Dt.object({delta:Dt.object({role:Dt["enum"](["assistant"]).nullish(),content:Dt.string().nullish(),function_call:Dt.object({name:Dt.string().optional(),arguments:Dt.string().optional()}).nullish(),tool_calls:Dt.array(Dt.object({index:Dt.number(),id:Dt.string().nullish(),type:Dt.literal("function").optional(),function:Dt.object({name:Dt.string().nullish(),arguments:Dt.string().nullish()})})).nullish()}).nullish(),logprobs:Dt.object({content:Dt.array(Dt.object({token:Dt.string(),logprob:Dt.number(),top_logprobs:Dt.array(Dt.object({token:Dt.string(),logprob:Dt.number()}))})).nullable()}).nullish(),finish_reason:Dt.string().nullable().optional(),index:Dt.number()})),usage:Dt.object({prompt_tokens:Dt.number(),completion_tokens:Dt.number()}).nullish()}),Fs]);function dist_prepareToolsAndToolChoice({mode:e,useLegacyFunctionCalling:t=false,structuredOutputs:r=false}){var s;const n=((s=e.tools)==null?void 0:s.length)?e.tools:void 0;if(n==null){return{tools:void 0,tool_choice:void 0}}const o=e.toolChoice;if(t){const e=n.map((e=>({name:e.name,description:e.description,parameters:e.parameters})));if(o==null){return{functions:e,function_call:void 0}}const t=o.type;switch(t){case"auto":case"none":case void 0:return{functions:e,function_call:void 0};case"required":throw new ue({functionality:"useLegacyFunctionCalling and toolChoice: required"});default:return{functions:e,function_call:{name:o.toolName}}}}const i=n.map((e=>({type:"function",function:{name:e.name,description:e.description,parameters:e.parameters},strict:r===true?true:void 0})));if(o==null){return{tools:i,tool_choice:void 0}}const a=o.type;switch(a){case"auto":case"none":case"required":return{tools:i,tool_choice:a};case"tool":return{tools:i,tool_choice:{type:"function",function:{name:o.toolName}}};default:{const e=a;throw new Error(`Unsupported tool choice type: ${e}`)}}}function convertToOpenAICompletionPrompt({prompt:e,inputFormat:t,user:r="user",assistant:s="assistant"}){if(t==="prompt"&&e.length===1&&e[0].role==="user"&&e[0].content.length===1&&e[0].content[0].type==="text"){return{prompt:e[0].content[0].text}}let n="";if(e[0].role==="system"){n+=`${e[0].content}\n\n`;e=e.slice(1)}for(const{role:t,content:o}of e){switch(t){case"system":{throw new y({message:"Unexpected system message in prompt: ${content}",prompt:e})}case"user":{const e=o.map((e=>{switch(e.type){case"text":{return e.text}case"image":{throw new ue({functionality:"images"})}}})).join("");n+=`${r}:\n${e}\n\n`;break}case"assistant":{const e=o.map((e=>{switch(e.type){case"text":{return e.text}case"tool-call":{throw new ue({functionality:"tool-call messages"})}}})).join("");n+=`${s}:\n${e}\n\n`;break}case"tool":{throw new ue({functionality:"tool messages"})}default:{const e=t;throw new Error(`Unsupported role: ${e}`)}}}n+=`${s}:\n`;return{prompt:n,stopSequences:[`\n${r}:`]}}function mapOpenAICompletionLogProbs(e){return e==null?void 0:e.tokens.map(((t,r)=>({token:t,logprob:e.token_logprobs[r],topLogprobs:e.top_logprobs?Object.entries(e.top_logprobs[r]).map((([e,t])=>({token:e,logprob:t}))):[]})))}var Ls=class{constructor(e,t,r){this.specificationVersion="v1";this.defaultObjectGenerationMode=void 0;this.modelId=e;this.settings=t;this.config=r}get provider(){return this.config.provider}getArgs({mode:e,inputFormat:t,prompt:r,maxTokens:s,temperature:n,topP:o,topK:i,frequencyPenalty:a,presencePenalty:A,stopSequences:c,responseFormat:l,seed:u}){var p;const d=e.type;const g=[];if(i!=null){g.push({type:"unsupported-setting",setting:"topK"})}if(l!=null&&l.type!=="text"){g.push({type:"unsupported-setting",setting:"responseFormat",details:"JSON response format is not supported."})}const{prompt:h,stopSequences:m}=convertToOpenAICompletionPrompt({prompt:r,inputFormat:t});const E=[...m!=null?m:[],...c!=null?c:[]];const C={model:this.modelId,echo:this.settings.echo,logit_bias:this.settings.logitBias,logprobs:typeof this.settings.logprobs==="number"?this.settings.logprobs:typeof this.settings.logprobs==="boolean"?this.settings.logprobs?0:void 0:void 0,suffix:this.settings.suffix,user:this.settings.user,max_tokens:s,temperature:n,top_p:o,frequency_penalty:a,presence_penalty:A,seed:u,prompt:h,stop:E.length>0?E:void 0};switch(d){case"regular":{if((p=e.tools)==null?void 0:p.length){throw new ue({functionality:"tools"})}if(e.toolChoice){throw new ue({functionality:"toolChoice"})}return{args:C,warnings:g}}case"object-json":{throw new ue({functionality:"object-json mode"})}case"object-tool":{throw new ue({functionality:"object-tool mode"})}default:{const e=d;throw new Error(`Unsupported type: ${e}`)}}}async doGenerate(e){const{args:t,warnings:r}=this.getArgs(e);const{responseHeaders:s,value:n}=await postJsonToApi({url:this.config.url({path:"/completions",modelId:this.modelId}),headers:combineHeaders(this.config.headers(),e.headers),body:t,failedResponseHandler:Ns,successfulResponseHandler:createJsonResponseHandler(Ps),abortSignal:e.abortSignal,fetch:this.config.fetch});const{prompt:o,...i}=t;const a=n.choices[0];return{text:a.text,usage:{promptTokens:n.usage.prompt_tokens,completionTokens:n.usage.completion_tokens},finishReason:mapOpenAIFinishReason(a.finish_reason),logprobs:mapOpenAICompletionLogProbs(a.logprobs),rawCall:{rawPrompt:o,rawSettings:i},rawResponse:{headers:s},warnings:r}}async doStream(e){const{args:t,warnings:r}=this.getArgs(e);const{responseHeaders:s,value:n}=await postJsonToApi({url:this.config.url({path:"/completions",modelId:this.modelId}),headers:combineHeaders(this.config.headers(),e.headers),body:{...t,stream:true,stream_options:this.config.compatibility==="strict"?{include_usage:true}:void 0},failedResponseHandler:Ns,successfulResponseHandler:createEventSourceResponseHandler(Gs),abortSignal:e.abortSignal,fetch:this.config.fetch});const{prompt:o,...i}=t;let a="other";let A={promptTokens:Number.NaN,completionTokens:Number.NaN};let c;return{stream:n.pipeThrough(new TransformStream({transform(e,t){if(!e.success){a="error";t.enqueue({type:"error",error:e.error});return}const r=e.value;if("error"in r){a="error";t.enqueue({type:"error",error:r.error});return}if(r.usage!=null){A={promptTokens:r.usage.prompt_tokens,completionTokens:r.usage.completion_tokens}}const s=r.choices[0];if((s==null?void 0:s.finish_reason)!=null){a=mapOpenAIFinishReason(s.finish_reason)}if((s==null?void 0:s.text)!=null){t.enqueue({type:"text-delta",textDelta:s.text})}const n=mapOpenAICompletionLogProbs(s==null?void 0:s.logprobs);if(n==null?void 0:n.length){if(c===void 0)c=[];c.push(...n)}},flush(e){e.enqueue({type:"finish",finishReason:a,logprobs:c,usage:A})}})),rawCall:{rawPrompt:o,rawSettings:i},rawResponse:{headers:s},warnings:r}}};var Ps=Dt.object({choices:Dt.array(Dt.object({text:Dt.string(),finish_reason:Dt.string(),logprobs:Dt.object({tokens:Dt.array(Dt.string()),token_logprobs:Dt.array(Dt.number()),top_logprobs:Dt.array(Dt.record(Dt.string(),Dt.number())).nullable()}).nullable().optional()})),usage:Dt.object({prompt_tokens:Dt.number(),completion_tokens:Dt.number()})});var Gs=Dt.union([Dt.object({choices:Dt.array(Dt.object({text:Dt.string(),finish_reason:Dt.string().nullish(),index:Dt.number(),logprobs:Dt.object({tokens:Dt.array(Dt.string()),token_logprobs:Dt.array(Dt.number()),top_logprobs:Dt.array(Dt.record(Dt.string(),Dt.number())).nullable()}).nullable().optional()})),usage:Dt.object({prompt_tokens:Dt.number(),completion_tokens:Dt.number()}).optional().nullable()}),Fs]);var Hs=class{constructor(e={}){var t,r;this.baseURL=(r=withoutTrailingSlash((t=e.baseURL)!=null?t:e.baseUrl))!=null?r:"https://api.openai.com/v1";this.apiKey=e.apiKey;this.organization=e.organization;this.project=e.project;this.headers=e.headers}get baseConfig(){return{organization:this.organization,baseURL:this.baseURL,headers:()=>({Authorization:`Bearer ${loadApiKey({apiKey:this.apiKey,environmentVariableName:"OPENAI_API_KEY",description:"OpenAI"})}`,"OpenAI-Organization":this.organization,"OpenAI-Project":this.project,...this.headers})}}chat(e,t={}){return new Us(e,t,{provider:"openai.chat",...this.baseConfig,compatibility:"strict",url:({path:e})=>`${this.baseURL}${e}`})}completion(e,t={}){return new Ls(e,t,{provider:"openai.completion",...this.baseConfig,compatibility:"strict",url:({path:e})=>`${this.baseURL}${e}`})}};var js=class{constructor(e,t,r){this.specificationVersion="v1";this.modelId=e;this.settings=t;this.config=r}get provider(){return this.config.provider}get maxEmbeddingsPerCall(){var e;return(e=this.settings.maxEmbeddingsPerCall)!=null?e:2048}get supportsParallelCalls(){var e;return(e=this.settings.supportsParallelCalls)!=null?e:true}async doEmbed({values:e,headers:t,abortSignal:r}){if(e.length>this.maxEmbeddingsPerCall){throw new ee({provider:this.provider,modelId:this.modelId,maxEmbeddingsPerCall:this.maxEmbeddingsPerCall,values:e})}const{responseHeaders:s,value:n}=await postJsonToApi({url:this.config.url({path:"/embeddings",modelId:this.modelId}),headers:combineHeaders(this.config.headers(),t),body:{model:this.modelId,input:e,encoding_format:"float",dimensions:this.settings.dimensions,user:this.settings.user},failedResponseHandler:Ns,successfulResponseHandler:createJsonResponseHandler(Vs),abortSignal:r,fetch:this.config.fetch});return{embeddings:n.data.map((e=>e.embedding)),usage:n.usage?{tokens:n.usage.prompt_tokens}:void 0,rawResponse:{headers:s}}}};var Vs=Dt.object({data:Dt.array(Dt.object({embedding:Dt.array(Dt.number())})),usage:Dt.object({prompt_tokens:Dt.number()}).nullish()});function createOpenAI(e={}){var t,r,s;const n=(r=dist_withoutTrailingSlash((t=e.baseURL)!=null?t:e.baseUrl))!=null?r:"https://api.openai.com/v1";const o=(s=e.compatibility)!=null?s:"compatible";const getHeaders=()=>({Authorization:`Bearer ${dist_loadApiKey({apiKey:e.apiKey,environmentVariableName:"OPENAI_API_KEY",description:"OpenAI"})}`,"OpenAI-Organization":e.organization,"OpenAI-Project":e.project,...e.headers});const createChatModel=(t,r={})=>new Us(t,r,{provider:"openai.chat",url:({path:e})=>`${n}${e}`,headers:getHeaders,compatibility:o,fetch:e.fetch});const createCompletionModel=(t,r={})=>new Ls(t,r,{provider:"openai.completion",url:({path:e})=>`${n}${e}`,headers:getHeaders,compatibility:o,fetch:e.fetch});const createEmbeddingModel=(t,r={})=>new js(t,r,{provider:"openai.embedding",url:({path:e})=>`${n}${e}`,headers:getHeaders,fetch:e.fetch});const createLanguageModel=(e,t)=>{if(new.target){throw new Error("The OpenAI model function cannot be called with the new keyword.")}if(e==="gpt-3.5-turbo-instruct"){return createCompletionModel(e,t)}return createChatModel(e,t)};const provider=function(e,t){return createLanguageModel(e,t)};provider.languageModel=createLanguageModel;provider.chat=createChatModel;provider.completion=createCompletionModel;provider.embedding=createEmbeddingModel;provider.textEmbedding=createEmbeddingModel;return provider}var Js=createOpenAI({compatibility:"strict"});var Ys=__nccwpck_require__(9690);var qs=__nccwpck_require__(4260);function formattedDate(e){const t=new Date(e);return t.toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"})}function ninetyDaysAgo(){const e=new Date;e.setDate(e.getDate()-90);return e.toISOString().split("T")[0]}async function getLatestCanaryVersion(){let e;try{const{stdout:t}=await(0,qs.getExecOutput)("pnpm",["view","next","dist-tags","--json"]);const r=JSON.parse(t);e=r.canary||null}catch(e){(0,t.setFailed)(`Error fetching latest Next.js canary version, skipping update.`)}return e}async function getLatestVersion(){let e;try{const{stdout:t}=await(0,qs.getExecOutput)("pnpm",["view","next","dist-tags","--json"]);const r=JSON.parse(t);e=r.latest||null}catch(e){(0,t.setFailed)(`Error fetching latest Next.js version, skipping update.`)}return e}const Ws=Dt.object({avatar_url:Dt.string().optional(),deleted:Dt.boolean().optional(),email:Dt.string().nullable().optional(),events_url:Dt.string().optional(),followers_url:Dt.string().optional(),following_url:Dt.string().optional(),gists_url:Dt.string().optional(),gravatar_id:Dt.string().optional(),html_url:Dt.string().optional(),id:Dt.number(),login:Dt.string(),name:Dt.string().optional(),node_id:Dt.string().optional(),organizations_url:Dt.string().optional(),received_events_url:Dt.string().optional(),repos_url:Dt.string().optional(),site_admin:Dt.boolean().optional(),starred_url:Dt.string().optional(),subscriptions_url:Dt.string().optional(),type:Dt["enum"](["Bot","User","Organization"]).optional(),url:Dt.string().optional()}).strict();const Zs=Dt.object({color:Dt.string(),default:Dt.boolean(),description:Dt.string().nullable(),id:Dt.number(),name:Dt.string(),node_id:Dt.string(),url:Dt.string()}).strict();const zs=Dt.object({closed_at:Dt.string().nullable(),closed_issues:Dt.number(),created_at:Dt.string(),creator:Ws.nullable(),description:Dt.string().nullable(),due_on:Dt.string().nullable(),html_url:Dt.string(),id:Dt.number(),labels_url:Dt.string(),node_id:Dt.string(),number:Dt.number(),open_issues:Dt.number(),state:Dt["enum"](["closed","open"]),title:Dt.string(),updated_at:Dt.string(),url:Dt.string()}).strict().describe("A collection of related issues.");const Ks=Dt.object({actions:Dt["enum"](["read","write"]),administration:Dt["enum"](["read","write"]),content_references:Dt["enum"](["read","write"]),contents:Dt["enum"](["read","write"]),deployments:Dt["enum"](["read","write"]),discussions:Dt["enum"](["read","write"]),emails:Dt["enum"](["read","write"]),environments:Dt["enum"](["read","write"]),issues:Dt["enum"](["read","write"]),keys:Dt["enum"](["read","write"]),members:Dt["enum"](["read","write"]),metadata:Dt["enum"](["read","write"]),organization_administration:Dt["enum"](["read","write"]),organization_hooks:Dt["enum"](["read","write"]),organization_packages:Dt["enum"](["read","write"]),organization_plan:Dt["enum"](["read","write"]),organization_projects:Dt["enum"](["read","write"]),organization_secrets:Dt["enum"](["read","write"]),organization_self_hosted_runners:Dt["enum"](["read","write"]),organization_user_blocking:Dt["enum"](["read","write"]),packages:Dt["enum"](["read","write"]),pages:Dt["enum"](["read","write"]),pull_requests:Dt["enum"](["read","write"]),repository_hooks:Dt["enum"](["read","write"]),repository_projects:Dt["enum"](["read","write"]),secret_scanning_alerts:Dt["enum"](["read","write"]),secrets:Dt["enum"](["read","write"]),security_events:Dt["enum"](["read","write"]),security_scanning_alert:Dt["enum"](["read","write"]),single_file:Dt["enum"](["read","write"]),statuses:Dt["enum"](["read","write"]),team_discussions:Dt["enum"](["read","write"]),vulnerability_alerts:Dt["enum"](["read","write"]),workflows:Dt["enum"](["read","write"])}).strict();const Xs=Dt.object({created_at:Dt.string().nullable(),description:Dt.string().nullable(),events:Dt["enum"](["branch_protection_rule","check_run","check_suite","code_scanning_alert","commit_comment","content_reference","create","delete","deployment","deployment_review","deployment_status","deploy_key","discussion","discussion_comment","fork","gollum","issues","issue_comment","label","member","membership","milestone","organization","org_block","page_build","project","project_card","project_column","public","pull_request","pull_request_review","pull_request_review_comment","push","registry_package","release","repository","repository_dispatch","secret_scanning_alert","star","status","team","team_add","watch","workflow_dispatch","workflow_run","reminder","pull_request_review_thread"]),external_url:Dt.string().nullable(),html_url:Dt.string(),id:Dt.number().nullable(),name:Dt.string(),node_id:Dt.string(),owner:Ws.nullable(),permissions:Ks,slug:Dt.string(),updated_at:Dt.string().nullable()}).strict();const $s=Dt.object({"+1":Dt.number(),"-1":Dt.number(),confused:Dt.number(),eyes:Dt.number(),heart:Dt.number(),hooray:Dt.number(),laugh:Dt.number(),rocket:Dt.number(),total_count:Dt.number(),url:Dt.string()}).strict();const en=Dt.object({issue:Dt.object({active_lock_reason:Dt["enum"](["resolved","off-topic","too heated","spam"]).nullable(),assignee:Ws.nullable().optional(),assignees:Dt.array(Ws).optional(),author_association:Dt["enum"](["COLLABORATOR","CONTRIBUTOR","FIRST_TIMER","FIRST_TIME_CONTRIBUTOR","MANNEQUIN","MEMBER","NONE","OWNER"]),body:Dt.string().nullable(),closed_at:Dt.string().nullable(),comments:Dt.number(),comments_url:Dt.string(),created_at:Dt.string(),events_url:Dt.string(),html_url:Dt.string(),id:Dt.number(),labels:Dt.array(Zs).default([]),labels_url:Dt.string(),locked:Dt.boolean(),milestone:zs.nullable(),node_id:Dt.string(),number:Dt.number(),performed_via_github_app:Xs.nullable(),reactions:$s,repository_url:Dt.string(),state:Dt["enum"](["closed","open"]),state_reason:Dt.string().nullable(),timeline_url:Dt.string(),title:Dt.string(),updated_at:Dt.string(),url:Dt.string(),user:Ws.nullable()})}).strict().describe("A GitHub issue.");var tn=undefined&&undefined.__awaiter||function(e,t,r,s){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function fulfilled(e){try{step(s.next(e))}catch(e){n(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){n(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,t||[])).next())}))};function main(){return tn(this,void 0,void 0,(function*(){if(!process.env.OPENAI_API_KEY)throw new TypeError("OPENAI_API_KEY not set");if(!process.env.SLACK_TOKEN)throw new TypeError("SLACK_TOKEN not set");if(!process.env.VERCEL_PROTECTION_BYPASS)throw new TypeError("VERCEL_PROTECTION_BYPASS not set");const s=new e.WebClient(process.env.SLACK_TOKEN);const n="gpt-4o";const o="#next-info";const i=r.context.payload.issue;let a;let A;let c;let l;let u;try{a=yield getLatestVersion();A=yield getLatestCanaryVersion();const e=yield fetch("https://next-triage.vercel.sh/api/triage-guidelines",{method:"GET",headers:{"x-vercel-protection-bypass":`${process.env.VERCEL_PROTECTION_BYPASS}`}});const r=yield e.text();const p=yield generateText({model:Js(n),maxAutomaticRoundtrips:1,tools:{report_to_slack:tool({description:"Report to Slack.",parameters:en,execute:e=>tn(this,[e],void 0,(function*({issue:e}){c=e.html_url;l=e.number;u=e.title;return{html_url:c,number:l,title:u}}))})},system:"Your job is to determine the severity of a GitHub issue using the triage guidelines and the latest versions of Next.js. Succinctly explain why you chose the severity, without paraphrasing the triage guidelines. Report this explanation to slack only if the severity is considered severe.",prompt:`Here are the triage guidelines: ${r}`+`Here is the latest version of Next.js: ${a}`+`Here is the latest canary version of Next.js: ${A}`+`Here is the GitHub issue: ${JSON.stringify(i)}`});if(p.roundtrips.length>1){const e=(0,Ys.BlockCollection)([(0,Ys.Section)({text:`:github2: <${c}|#${l}>: ${u}\n_Note: This issue was evaluated and reported on Slack with *${n}*._`}),(0,Ys.Divider)(),(0,Ys.Section)({text:`_${p.text}_`})]);yield s.chat.postMessage({blocks:e,channel:o,icon_emoji:":github:",username:"GitHub Notifier"});(0,t.info)("Posted to Slack!")}(0,t.info)(`result.text: ${p.text}\nhtml_url: ${c}\nnumber: ${l}\ntitle: ${u}`)}catch(e){(0,t.setFailed)(e)}}))}main()})();module.exports=__webpack_exports__})(); \ No newline at end of file +/*! ws. MIT License. Einar Otto Stangvik */o[n-4]=this.maskKey[0];o[n-3]=this.maskKey[1];o[n-2]=this.maskKey[2];o[n-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{"use strict";const{Writable:s}=r(2781);const n=r(7643);const{parserStates:o,opcodes:i,states:a,emptyBuffer:A}=r(6487);const{kReadyState:c,kSentClose:l,kResponse:u,kReceivedClose:p}=r(7380);const{isValidStatusCode:d,failWebsocketConnection:g,websocketMessageReceived:h}=r(5714);const{WebsocketFrameSend:m}=r(6771);const E={};E.ping=n.channel("undici:websocket:ping");E.pong=n.channel("undici:websocket:pong");class ByteParser extends s{#i=[];#a=0;#A=o.INFO;#c={};#l=[];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[l]){const e=Buffer.allocUnsafe(2);e.writeUInt16BE(this.#c.closeInfo.code,0);const t=new m(e);this.ws[u].socket.write(t.createFrame(i.CLOSE),(e=>{if(!e){this.ws[l]=true}}))}this.ws[c]=a.CLOSING;this.ws[p]=true;this.end();return}else if(this.#c.opcode===i.PING){const t=this.consume(r);if(!this.ws[p]){const e=new m(t);this.ws[u].socket.write(e.createFrame(i.PONG));if(E.ping.hasSubscribers){E.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(E.pong.hasSubscribers){E.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 s=t.readUInt32BE(4);this.#c.payloadLength=(r<<8)+s;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.#l.push(e);if(!this.#c.fragmented||this.#c.fin&&this.#c.opcode===i.CONTINUATION){const e=Buffer.concat(this.#l);h(this.ws,this.#c.originalOpcode,e);this.#c={};this.#l.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 s=this.#i[0];const{length:n}=s;if(n+r===e){t.set(this.#i.shift(),r);break}else if(n+r>e){t.set(s.subarray(0,e-r),r);this.#i[0]=s.subarray(e-r);break}else{t.set(this.#i.shift(),r);r+=s.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 s=t.subarray(2);if(s[0]===239&&s[1]===187&&s[2]===191){s=s.subarray(3)}if(r!==undefined&&!d(r)){return null}try{s=new TextDecoder("utf-8",{fatal:true}).decode(s)}catch{return null}return{code:r,reason:s}}get closingInfo(){return this.#c.closeInfo}}e.exports={ByteParser:ByteParser}},7380:e=>{"use strict";e.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},5714:(e,t,r)=>{"use strict";const{kReadyState:s,kController:n,kResponse:o,kBinaryType:i,kWebSocketURL:a}=r(7380);const{states:A,opcodes:c}=r(6487);const{MessageEvent:l,ErrorEvent:u}=r(1879);function isEstablished(e){return e[s]===A.OPEN}function isClosing(e){return e[s]===A.CLOSING}function isClosed(e){return e[s]===A.CLOSED}function fireEvent(e,t,r=Event,s){const n=new r(e,s);t.dispatchEvent(n)}function websocketMessageReceived(e,t,r){if(e[s]!==A.OPEN){return}let n;if(t===c.TEXT){try{n=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"){n=new Blob([r])}else{n=new Uint8Array(r).buffer}}fireEvent("message",e,l,{origin:e[a].origin,data:n})}function isValidSubprotocol(e){if(e.length===0){return false}for(const t of e){const e=t.charCodeAt(0);if(e<33||e>126||t==="("||t===")"||t==="<"||t===">"||t==="@"||t===","||t===";"||t===":"||t==="\\"||t==='"'||t==="/"||t==="["||t==="]"||t==="?"||t==="="||t==="{"||t==="}"||e===32||e===9){return false}}return true}function isValidStatusCode(e){if(e>=1e3&&e<1015){return e!==1004&&e!==1005&&e!==1006}return e>=3e3&&e<=4999}function failWebsocketConnection(e,t){const{[n]:r,[o]:s}=e;r.abort();if(s?.socket&&!s.socket.destroyed){s.socket.destroy()}if(t){fireEvent("error",e,u,{error:new Error(t)})}}e.exports={isEstablished:isEstablished,isClosing:isClosing,isClosed:isClosed,fireEvent:fireEvent,isValidSubprotocol:isValidSubprotocol,isValidStatusCode:isValidStatusCode,failWebsocketConnection:failWebsocketConnection,websocketMessageReceived:websocketMessageReceived}},1986:(e,t,r)=>{"use strict";const{webidl:s}=r(9111);const{DOMException:n}=r(7533);const{URLSerializer:o}=r(5958);const{getGlobalOrigin:i}=r(7011);const{staticPropertyDescriptors:a,states:A,opcodes:c,emptyBuffer:l}=r(6487);const{kWebSocketURL:u,kReadyState:p,kController:d,kBinaryType:g,kResponse:h,kSentClose:m,kByteParser:E}=r(7380);const{isEstablished:C,isClosing:I,isValidSubprotocol:B,failWebsocketConnection:Q,fireEvent:b}=r(5714);const{establishWebSocketConnection:y}=r(250);const{WebsocketFrameSend:v}=r(6771);const{ByteParser:w}=r(5379);const{kEnumerableProperty:x,isBlobLike:k}=r(7497);const{getGlobalDispatcher:R}=r(2899);const{types:S}=r(3837);let D=false;class WebSocket extends EventTarget{#u={open:null,error:null,close:null,message:null};#p=0;#d="";#g="";constructor(e,t=[]){super();s.argumentLengthCheck(arguments,1,{header:"WebSocket constructor"});if(!D){D=true;process.emitWarning("WebSockets are experimental, expect them to change at any time.",{code:"UNDICI-WS"})}const r=s.converters["DOMString or sequence or WebSocketInit"](t);e=s.converters.USVString(e);t=r.protocols;const o=i();let a;try{a=new URL(e,o)}catch(e){throw new n(e,"SyntaxError")}if(a.protocol==="http:"){a.protocol="ws:"}else if(a.protocol==="https:"){a.protocol="wss:"}if(a.protocol!=="ws:"&&a.protocol!=="wss:"){throw new n(`Expected a ws: or wss: protocol, got ${a.protocol}`,"SyntaxError")}if(a.hash||a.href.endsWith("#")){throw new n("Got fragment","SyntaxError")}if(typeof t==="string"){t=[t]}if(t.length!==new Set(t.map((e=>e.toLowerCase()))).size){throw new n("Invalid Sec-WebSocket-Protocol value","SyntaxError")}if(t.length>0&&!t.every((e=>B(e)))){throw new n("Invalid Sec-WebSocket-Protocol value","SyntaxError")}this[u]=new URL(a.href);this[d]=y(a,t,this,(e=>this.#h(e)),r);this[p]=WebSocket.CONNECTING;this[g]="blob"}close(e=undefined,t=undefined){s.brandCheck(this,WebSocket);if(e!==undefined){e=s.converters["unsigned short"](e,{clamp:true})}if(t!==undefined){t=s.converters.USVString(t)}if(e!==undefined){if(e!==1e3&&(e<3e3||e>4999)){throw new n("invalid code","InvalidAccessError")}}let r=0;if(t!==undefined){r=Buffer.byteLength(t);if(r>123){throw new n(`Reason must be less than 123 bytes; received ${r}`,"SyntaxError")}}if(this[p]===WebSocket.CLOSING||this[p]===WebSocket.CLOSED){}else if(!C(this)){Q(this,"Connection was closed before it was established.");this[p]=WebSocket.CLOSING}else if(!I(this)){const s=new v;if(e!==undefined&&t===undefined){s.frameData=Buffer.allocUnsafe(2);s.frameData.writeUInt16BE(e,0)}else if(e!==undefined&&t!==undefined){s.frameData=Buffer.allocUnsafe(2+r);s.frameData.writeUInt16BE(e,0);s.frameData.write(t,2,"utf-8")}else{s.frameData=l}const n=this[h].socket;n.write(s.createFrame(c.CLOSE),(e=>{if(!e){this[m]=true}}));this[p]=A.CLOSING}else{this[p]=WebSocket.CLOSING}}send(e){s.brandCheck(this,WebSocket);s.argumentLengthCheck(arguments,1,{header:"WebSocket.send"});e=s.converters.WebSocketSendData(e);if(this[p]===WebSocket.CONNECTING){throw new n("Sent before connected.","InvalidStateError")}if(!C(this)||I(this)){return}const t=this[h].socket;if(typeof e==="string"){const r=Buffer.from(e);const s=new v(r);const n=s.createFrame(c.TEXT);this.#p+=r.byteLength;t.write(n,(()=>{this.#p-=r.byteLength}))}else if(S.isArrayBuffer(e)){const r=Buffer.from(e);const s=new v(r);const n=s.createFrame(c.BINARY);this.#p+=r.byteLength;t.write(n,(()=>{this.#p-=r.byteLength}))}else if(ArrayBuffer.isView(e)){const r=Buffer.from(e,e.byteOffset,e.byteLength);const s=new v(r);const n=s.createFrame(c.BINARY);this.#p+=r.byteLength;t.write(n,(()=>{this.#p-=r.byteLength}))}else if(k(e)){const r=new v;e.arrayBuffer().then((e=>{const s=Buffer.from(e);r.frameData=s;const n=r.createFrame(c.BINARY);this.#p+=s.byteLength;t.write(n,(()=>{this.#p-=s.byteLength}))}))}}get readyState(){s.brandCheck(this,WebSocket);return this[p]}get bufferedAmount(){s.brandCheck(this,WebSocket);return this.#p}get url(){s.brandCheck(this,WebSocket);return o(this[u])}get extensions(){s.brandCheck(this,WebSocket);return this.#g}get protocol(){s.brandCheck(this,WebSocket);return this.#d}get onopen(){s.brandCheck(this,WebSocket);return this.#u.open}set onopen(e){s.brandCheck(this,WebSocket);if(this.#u.open){this.removeEventListener("open",this.#u.open)}if(typeof e==="function"){this.#u.open=e;this.addEventListener("open",e)}else{this.#u.open=null}}get onerror(){s.brandCheck(this,WebSocket);return this.#u.error}set onerror(e){s.brandCheck(this,WebSocket);if(this.#u.error){this.removeEventListener("error",this.#u.error)}if(typeof e==="function"){this.#u.error=e;this.addEventListener("error",e)}else{this.#u.error=null}}get onclose(){s.brandCheck(this,WebSocket);return this.#u.close}set onclose(e){s.brandCheck(this,WebSocket);if(this.#u.close){this.removeEventListener("close",this.#u.close)}if(typeof e==="function"){this.#u.close=e;this.addEventListener("close",e)}else{this.#u.close=null}}get onmessage(){s.brandCheck(this,WebSocket);return this.#u.message}set onmessage(e){s.brandCheck(this,WebSocket);if(this.#u.message){this.removeEventListener("message",this.#u.message)}if(typeof e==="function"){this.#u.message=e;this.addEventListener("message",e)}else{this.#u.message=null}}get binaryType(){s.brandCheck(this,WebSocket);return this[g]}set binaryType(e){s.brandCheck(this,WebSocket);if(e!=="blob"&&e!=="arraybuffer"){this[g]="blob"}else{this[g]=e}}#h(e){this[h]=e;const t=new w(this);t.on("drain",(function onParserDrain(){this.ws[h].socket.resume()}));e.socket.ws=this;this[E]=t;this[p]=A.OPEN;const r=e.headersList.get("sec-websocket-extensions");if(r!==null){this.#g=r}const s=e.headersList.get("sec-websocket-protocol");if(s!==null){this.#d=s}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:x,readyState:x,bufferedAmount:x,onopen:x,onerror:x,onclose:x,close:x,onmessage:x,binaryType:x,send:x,extensions:x,protocol:x,[Symbol.toStringTag]:{value:"WebSocket",writable:false,enumerable:false,configurable:true}});Object.defineProperties(WebSocket,{CONNECTING:a,OPEN:a,CLOSING:a,CLOSED:a});s.converters["sequence"]=s.sequenceConverter(s.converters.DOMString);s.converters["DOMString or sequence"]=function(e){if(s.util.Type(e)==="Object"&&Symbol.iterator in e){return s.converters["sequence"](e)}return s.converters.DOMString(e)};s.converters.WebSocketInit=s.dictionaryConverter([{key:"protocols",converter:s.converters["DOMString or sequence"],get defaultValue(){return[]}},{key:"dispatcher",converter:e=>e,get defaultValue(){return R()}},{key:"headers",converter:s.nullableConverter(s.converters.HeadersInit)}]);s.converters["DOMString or sequence or WebSocketInit"]=function(e){if(s.util.Type(e)==="Object"&&!(Symbol.iterator in e)){return s.converters.WebSocketInit(e)}return{protocols:s.converters["DOMString or sequence"](e)}};s.converters.WebSocketSendData=function(e){if(s.util.Type(e)==="Object"){if(k(e)){return s.converters.Blob(e,{strict:false})}if(ArrayBuffer.isView(e)||S.isAnyArrayBuffer(e)){return s.converters.BufferSource(e)}}return s.converters.USVString(e)};e.exports={WebSocket:WebSocket}},5938:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function getUserAgent(){if(typeof navigator==="object"&&"userAgent"in navigator){return navigator.userAgent}if(typeof process==="object"&&"version"in process){return`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`}return""}t.getUserAgent=getUserAgent},3872:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"v1",{enumerable:true,get:function(){return s.default}});Object.defineProperty(t,"v3",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"v4",{enumerable:true,get:function(){return o.default}});Object.defineProperty(t,"v5",{enumerable:true,get:function(){return i.default}});Object.defineProperty(t,"NIL",{enumerable:true,get:function(){return a.default}});Object.defineProperty(t,"version",{enumerable:true,get:function(){return A.default}});Object.defineProperty(t,"validate",{enumerable:true,get:function(){return c.default}});Object.defineProperty(t,"stringify",{enumerable:true,get:function(){return l.default}});Object.defineProperty(t,"parse",{enumerable:true,get:function(){return u.default}});var s=_interopRequireDefault(r(5596));var n=_interopRequireDefault(r(2427));var o=_interopRequireDefault(r(6007));var i=_interopRequireDefault(r(398));var a=_interopRequireDefault(r(1623));var A=_interopRequireDefault(r(8818));var c=_interopRequireDefault(r(7178));var l=_interopRequireDefault(r(7016));var u=_interopRequireDefault(r(1158));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},3828:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=_interopRequireDefault(r(6113));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function md5(e){if(Array.isArray(e)){e=Buffer.from(e)}else if(typeof e==="string"){e=Buffer.from(e,"utf8")}return s.default.createHash("md5").update(e).digest()}var n=md5;t["default"]=n},1623:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r="00000000-0000-0000-0000-000000000000";t["default"]=r},1158:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=_interopRequireDefault(r(7178));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function parse(e){if(!(0,s.default)(e)){throw TypeError("Invalid UUID")}let t;const r=new Uint8Array(16);r[0]=(t=parseInt(e.slice(0,8),16))>>>24;r[1]=t>>>16&255;r[2]=t>>>8&255;r[3]=t&255;r[4]=(t=parseInt(e.slice(9,13),16))>>>8;r[5]=t&255;r[6]=(t=parseInt(e.slice(14,18),16))>>>8;r[7]=t&255;r[8]=(t=parseInt(e.slice(19,23),16))>>>8;r[9]=t&255;r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255;r[11]=t/4294967296&255;r[12]=t>>>24&255;r[13]=t>>>16&255;r[14]=t>>>8&255;r[15]=t&255;return r}var n=parse;t["default"]=n},3607:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;t["default"]=r},1260:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=rng;var s=_interopRequireDefault(r(6113));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const n=new Uint8Array(256);let o=n.length;function rng(){if(o>n.length-16){s.default.randomFillSync(n);o=0}return n.slice(o,o+=16)}},7615:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=_interopRequireDefault(r(6113));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function sha1(e){if(Array.isArray(e)){e=Buffer.from(e)}else if(typeof e==="string"){e=Buffer.from(e,"utf8")}return s.default.createHash("sha1").update(e).digest()}var n=sha1;t["default"]=n},7016:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=_interopRequireDefault(r(7178));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const n=[];for(let e=0;e<256;++e){n.push((e+256).toString(16).substr(1))}function stringify(e,t=0){const r=(n[e[t+0]]+n[e[t+1]]+n[e[t+2]]+n[e[t+3]]+"-"+n[e[t+4]]+n[e[t+5]]+"-"+n[e[t+6]]+n[e[t+7]]+"-"+n[e[t+8]]+n[e[t+9]]+"-"+n[e[t+10]]+n[e[t+11]]+n[e[t+12]]+n[e[t+13]]+n[e[t+14]]+n[e[t+15]]).toLowerCase();if(!(0,s.default)(r)){throw TypeError("Stringified UUID is invalid")}return r}var o=stringify;t["default"]=o},5596:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=_interopRequireDefault(r(1260));var n=_interopRequireDefault(r(7016));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}let o;let i;let a=0;let A=0;function v1(e,t,r){let c=t&&r||0;const l=t||new Array(16);e=e||{};let u=e.node||o;let p=e.clockseq!==undefined?e.clockseq:i;if(u==null||p==null){const t=e.random||(e.rng||s.default)();if(u==null){u=o=[t[0]|1,t[1],t[2],t[3],t[4],t[5]]}if(p==null){p=i=(t[6]<<8|t[7])&16383}}let d=e.msecs!==undefined?e.msecs:Date.now();let g=e.nsecs!==undefined?e.nsecs:A+1;const h=d-a+(g-A)/1e4;if(h<0&&e.clockseq===undefined){p=p+1&16383}if((h<0||d>a)&&e.nsecs===undefined){g=0}if(g>=1e4){throw new Error("uuid.v1(): Can't create more than 10M uuids/sec")}a=d;A=g;i=p;d+=122192928e5;const m=((d&268435455)*1e4+g)%4294967296;l[c++]=m>>>24&255;l[c++]=m>>>16&255;l[c++]=m>>>8&255;l[c++]=m&255;const E=d/4294967296*1e4&268435455;l[c++]=E>>>8&255;l[c++]=E&255;l[c++]=E>>>24&15|16;l[c++]=E>>>16&255;l[c++]=p>>>8|128;l[c++]=p&255;for(let e=0;e<6;++e){l[c+e]=u[e]}return t||(0,n.default)(l)}var c=v1;t["default"]=c},2427:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=_interopRequireDefault(r(6901));var n=_interopRequireDefault(r(3828));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const o=(0,s.default)("v3",48,n.default);var i=o;t["default"]=i},6901:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=_default;t.URL=t.DNS=void 0;var s=_interopRequireDefault(r(7016));var n=_interopRequireDefault(r(1158));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function stringToBytes(e){e=unescape(encodeURIComponent(e));const t=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=_interopRequireDefault(r(1260));var n=_interopRequireDefault(r(7016));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function v4(e,t,r){e=e||{};const o=e.random||(e.rng||s.default)();o[6]=o[6]&15|64;o[8]=o[8]&63|128;if(t){r=r||0;for(let e=0;e<16;++e){t[r+e]=o[e]}return t}return(0,n.default)(o)}var o=v4;t["default"]=o},398:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=_interopRequireDefault(r(6901));var n=_interopRequireDefault(r(7615));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const o=(0,s.default)("v5",80,n.default);var i=o;t["default"]=i},7178:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=_interopRequireDefault(r(3607));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function validate(e){return typeof e==="string"&&s.default.test(e)}var n=validate;t["default"]=n},8818:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var s=_interopRequireDefault(r(7178));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function version(e){if(!(0,s.default)(e)){throw TypeError("Invalid UUID")}return parseInt(e.substr(14,1),16)}var n=version;t["default"]=n},7212:e=>{e.exports=wrappy;function wrappy(e,t){if(e&&t)return wrappy(e)(t);if(typeof e!=="function")throw new TypeError("need wrapper function");Object.keys(e).forEach((function(t){wrapper[t]=e[t]}));return wrapper;function wrapper(){var t=new Array(arguments.length);for(var r=0;r{module.exports=eval("require")("debug")},9491:e=>{"use strict";e.exports=require("assert")},852:e=>{"use strict";e.exports=require("async_hooks")},4300:e=>{"use strict";e.exports=require("buffer")},2081:e=>{"use strict";e.exports=require("child_process")},6206:e=>{"use strict";e.exports=require("console")},6113:e=>{"use strict";e.exports=require("crypto")},7643:e=>{"use strict";e.exports=require("diagnostics_channel")},2361:e=>{"use strict";e.exports=require("events")},7147:e=>{"use strict";e.exports=require("fs")},3685:e=>{"use strict";e.exports=require("http")},5158:e=>{"use strict";e.exports=require("http2")},5687:e=>{"use strict";e.exports=require("https")},1808:e=>{"use strict";e.exports=require("net")},5673:e=>{"use strict";e.exports=require("node:events")},4492:e=>{"use strict";e.exports=require("node:stream")},7261:e=>{"use strict";e.exports=require("node:util")},2037:e=>{"use strict";e.exports=require("os")},1017:e=>{"use strict";e.exports=require("path")},4074:e=>{"use strict";e.exports=require("perf_hooks")},3477:e=>{"use strict";e.exports=require("querystring")},2781:e=>{"use strict";e.exports=require("stream")},5356:e=>{"use strict";e.exports=require("stream/web")},1576:e=>{"use strict";e.exports=require("string_decoder")},9512:e=>{"use strict";e.exports=require("timers")},4404:e=>{"use strict";e.exports=require("tls")},7310:e=>{"use strict";e.exports=require("url")},3837:e=>{"use strict";e.exports=require("util")},9830:e=>{"use strict";e.exports=require("util/types")},1267:e=>{"use strict";e.exports=require("worker_threads")},9796:e=>{"use strict";e.exports=require("zlib")},1089:(e,t,r)=>{"use strict";const s=r(4492).Writable;const n=r(7261).inherits;const o=r(9306);const i=r(5575);const a=r(2010);const A=45;const c=Buffer.from("-");const l=Buffer.from("\r\n");const EMPTY_FN=function(){};function Dicer(e){if(!(this instanceof Dicer)){return new Dicer(e)}s.call(this,e);if(!e||!e.headerFirst&&typeof e.boundary!=="string"){throw new TypeError("Boundary required")}if(typeof e.boundary==="string"){this.setBoundary(e.boundary)}else{this._bparser=undefined}this._headerFirst=e.headerFirst;this._dashes=0;this._parts=0;this._finished=false;this._realFinish=false;this._isPreamble=true;this._justMatched=false;this._firstWrite=true;this._inHeader=true;this._part=undefined;this._cb=undefined;this._ignoreData=false;this._partOpts={highWaterMark:e.partHwm};this._pause=false;const t=this;this._hparser=new a(e);this._hparser.on("header",(function(e){t._inHeader=false;t._part.emit("header",e)}))}n(Dicer,s);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{s.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._events.preamble){this.emit("preamble",this._part)}else{this._ignore()}}const t=this._hparser.push(e);if(!this._inHeader&&t!==undefined&&t{"use strict";const s=r(5673).EventEmitter;const n=r(7261).inherits;const o=r(7845);const i=r(9306);const a=Buffer.from("\r\n\r\n");const A=/\r\n/g;const c=/^([^:]+):[ \t]?([\x00-\xFF]+)?$/;function HeaderParser(e){s.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,s,n){if(r&&!t.maxed){if(t.nread+n-s>=t.maxHeaderSize){n=t.maxHeaderSize-t.nread+s;t.nread=t.maxHeaderSize;t.maxed=true}else{t.nread+=n-s}t.buffer+=r.toString("binary",s,n)}if(e){t._finish()}}))}n(HeaderParser,s);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,s;for(var n=0;n{"use strict";const s=r(7261).inherits;const n=r(4492).Readable;function PartStream(e){n.call(this,e)}s(PartStream,n);PartStream.prototype._read=function(e){};e.exports=PartStream},9306:(e,t,r)=>{"use strict";const s=r(5673).EventEmitter;const n=r(7261).inherits;function SBMH(e){if(typeof e==="string"){e=Buffer.from(e)}if(!Buffer.isBuffer(e)){throw new TypeError("The needle has to be a String or a Buffer.")}const t=e.length;if(t===0){throw new Error("The needle cannot be an empty String/Buffer.")}if(t>256){throw new Error("The needle cannot have a length bigger than 256.")}this.maxMatches=Infinity;this.matches=0;this._occ=new Array(256).fill(t);this._lookbehind_size=0;this._needle=e;this._bufpos=0;this._lookbehind=Buffer.alloc(t);for(var 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+s}else{o=t-s}while(o0){this.emit("info",false,e,this._bufpos,o{"use strict";const s=r(4492).Writable;const{inherits:n}=r(7261);const o=r(1089);const i=r(6541);const a=r(9933);const A=r(8696);function Busboy(e){if(!(this instanceof Busboy)){return new Busboy(e)}if(typeof e!=="object"){throw new TypeError("Busboy expected an options-Object.")}if(typeof e.headers!=="object"){throw new TypeError("Busboy expected an options-Object with headers-attribute.")}if(typeof e.headers["content-type"]!=="string"){throw new TypeError("Missing Content-Type-header.")}const{headers:t,...r}=e;this.opts={autoDestroy:false,...r};s.call(this,this.opts);this._done=false;this._parser=this.getParserByHeaders(t);this._finished=false}n(Busboy,s);Busboy.prototype.emit=function(e){if(e==="finish"){if(!this._done){this._parser?.end();return}else if(this._finished){return}this._finished=true}s.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},6541:(e,t,r)=>{"use strict";const{Readable:s}=r(4492);const{inherits:n}=r(7261);const o=r(1089);const i=r(8696);const a=r(9999);const A=r(1602);const c=r(7845);const l=/^boundary$/i;const u=/^form-data$/i;const p=/^charset$/i;const d=/^filename$/i;const g=/^name$/i;Multipart.detect=/^multipart\/form-data/i;function Multipart(e,t){let r;let s;const n=this;let h;const m=t.limits;const E=t.isPartAFile||((e,t,r)=>t==="application/octet-stream"||r!==undefined);const C=t.parsedConType||[];const I=t.defCharset||"utf8";const B=t.preservePath;const Q={highWaterMark:t.fileHwm};for(r=0,s=C.length;rx){n.parser.removeListener("part",onPart);n.parser.on("part",skipPart);e.hitPartsLimit=true;e.emit("partsLimit");return skipPart(t)}if(F){const e=F;e.emit("end");e.removeAllListeners("end")}t.on("header",(function(o){let c;let l;let h;let m;let C;let x;let k=0;if(o["content-type"]){h=i(o["content-type"][0]);if(h[0]){c=h[0].toLowerCase();for(r=0,s=h.length;ry){const s=y-k+e.length;if(s>0){r.push(e.slice(0,s))}r.truncated=true;r.bytesRead=y;t.removeAllListeners("data");r.emit("limit");return}else if(!r.push(e)){n._pause=true}r.bytesRead=k};N=function(){_=undefined;r.push(null)}}else{if(D===w){if(!e.hitFieldsLimit){e.hitFieldsLimit=true;e.emit("fieldsLimit")}return skipPart(t)}++D;++T;let r="";let s=false;F=t;R=function(e){if((k+=e.length)>b){const n=b-(k-e.length);r+=e.toString("binary",0,n);s=true;t.removeAllListeners("data")}else{r+=e.toString("binary")}};N=function(){F=undefined;if(r.length){r=a(r,"binary",m)}e.emit("field",l,r,false,s,C,c);--T;checkFinished()}}t._readableState.sync=false;t.on("data",R);t.on("end",N)})).on("error",(function(e){if(_){_.emit("error",e)}}))})).on("error",(function(t){e.emit("error",t)})).on("finish",(function(){N=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){s.call(this,e);this.bytesRead=0;this.truncated=false}n(FileStream,s);FileStream.prototype._read=function(e){};e.exports=Multipart},9933:(e,t,r)=>{"use strict";const s=r(2017);const n=r(9999);const o=r(7845);const i=/^charset$/i;UrlEncoded.detect=/^application\/x-www-form-urlencoded/i;function UrlEncoded(e,t){const r=t.limits;const n=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=n.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(s!==undefined){++this._fields;let r;const o=this._keyTrunc;if(s>i){r=this._key+=this.decoder.write(e.toString("binary",i,s))}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",n(r,"binary",this.charset),"",o,false)}i=s+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,s))}this.boy.emit("field",n(this._key,"binary",this.charset),n(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc);this._state="key";this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();i=s+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",n(this._key,"binary",this.charset),"",this._keyTrunc,false)}else if(this._state==="val"){this.boy.emit("field",n(this._key,"binary",this.charset),n(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc)}this.boy._done=true;this.boy.emit("finish")};e.exports=UrlEncoded},2017:e=>{"use strict";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 s="";let n=0;let o=0;const i=e.length;for(;no){s+=e.substring(o,n);o=n}this.buffer="";++o}}if(o{"use strict";e.exports=function basename(e){if(typeof e!=="string"){return""}for(var t=e.length-1;t>=0;--t){switch(e.charCodeAt(t)){case 47:case 92:e=e.slice(t+1);return e===".."||e==="."?"":e}}return e===".."||e==="."?"":e}},9999:function(e){"use strict";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 s.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 s.latin1;case"utf16le":case"utf-16le":case"ucs2":case"ucs-2":return s.utf16le;case"base64":return s.base64;default:if(t===undefined){t=true;e=e.toLowerCase();continue}return s.other.bind(e)}}}const s={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(e){}}return typeof e==="string"?e:e.toString()}};function decodeText(e,t,r){if(e){return getDecoder(r)(e,t)}return e}e.exports=decodeText},7845:e=>{"use strict";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]}},8696:(e,t,r)=>{"use strict";const s=r(9999);const n=/%[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 l=false;let u=false;let p=0;let d="";const g=e.length;for(var h=0;h{"use strict";const s=r(2896);const n=r(7310);const o=r(490);const i=r(3685);const a=r(5687);const A=r(3837);const c=r(7098);const l=r(9796);const u=r(2781);const p=r(2361);function _interopDefaultLegacy(e){return e&&typeof e==="object"&&"default"in e?e:{default:e}}const d=_interopDefaultLegacy(s);const g=_interopDefaultLegacy(n);const h=_interopDefaultLegacy(i);const m=_interopDefaultLegacy(a);const E=_interopDefaultLegacy(A);const C=_interopDefaultLegacy(c);const I=_interopDefaultLegacy(l);const B=_interopDefaultLegacy(u);function bind(e,t){return function wrap(){return e.apply(t,arguments)}}const{toString:Q}=Object.prototype;const{getPrototypeOf:b}=Object;const y=(e=>t=>{const r=Q.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null));const kindOfTest=e=>{e=e.toLowerCase();return t=>y(t)===e};const typeOfTest=e=>t=>typeof t===e;const{isArray:v}=Array;const w=typeOfTest("undefined");function isBuffer(e){return e!==null&&!w(e)&&e.constructor!==null&&!w(e.constructor)&&R(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const x=kindOfTest("ArrayBuffer");function isArrayBufferView(e){let t;if(typeof ArrayBuffer!=="undefined"&&ArrayBuffer.isView){t=ArrayBuffer.isView(e)}else{t=e&&e.buffer&&x(e.buffer)}return t}const k=typeOfTest("string");const R=typeOfTest("function");const S=typeOfTest("number");const isObject=e=>e!==null&&typeof e==="object";const isBoolean=e=>e===true||e===false;const isPlainObject=e=>{if(y(e)!=="object"){return false}const t=b(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)};const D=kindOfTest("Date");const T=kindOfTest("File");const _=kindOfTest("Blob");const F=kindOfTest("FileList");const isStream=e=>isObject(e)&&R(e.pipe);const isFormData=e=>{let t;return e&&(typeof FormData==="function"&&e instanceof FormData||R(e.append)&&((t=y(e))==="formdata"||t==="object"&&R(e.toString)&&e.toString()==="[object FormData]"))};const N=kindOfTest("URLSearchParams");const[U,O,M,L]=["ReadableStream","Request","Response","Headers"].map(kindOfTest);const trim=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach(e,t,{allOwnKeys:r=false}={}){if(e===null||typeof e==="undefined"){return}let s;let n;if(typeof e!=="object"){e=[e]}if(v(e)){for(s=0,n=e.length;s0){n=r[s];if(t===n.toLowerCase()){return n}}return null}const P=(()=>{if(typeof globalThis!=="undefined")return globalThis;return typeof self!=="undefined"?self:typeof window!=="undefined"?window:global})();const isContextDefined=e=>!w(e)&&e!==P;function merge(){const{caseless:e}=isContextDefined(this)&&this||{};const t={};const assignValue=(r,s)=>{const n=e&&findKey(t,s)||s;if(isPlainObject(t[n])&&isPlainObject(r)){t[n]=merge(t[n],r)}else if(isPlainObject(r)){t[n]=merge({},r)}else if(v(r)){t[n]=r.slice()}else{t[n]=r}};for(let e=0,t=arguments.length;e{forEach(t,((t,s)=>{if(r&&R(t)){e[s]=bind(t,r)}else{e[s]=t}}),{allOwnKeys:s});return e};const stripBOM=e=>{if(e.charCodeAt(0)===65279){e=e.slice(1)}return e};const inherits=(e,t,r,s)=>{e.prototype=Object.create(t.prototype,s);e.prototype.constructor=e;Object.defineProperty(e,"super",{value:t.prototype});r&&Object.assign(e.prototype,r)};const toFlatObject=(e,t,r,s)=>{let n;let o;let i;const a={};t=t||{};if(e==null)return t;do{n=Object.getOwnPropertyNames(e);o=n.length;while(o-- >0){i=n[o];if((!s||s(i,e,t))&&!a[i]){t[i]=e[i];a[i]=true}}e=r!==false&&b(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t};const endsWith=(e,t,r)=>{e=String(e);if(r===undefined||r>e.length){r=e.length}r-=t.length;const s=e.indexOf(t,r);return s!==-1&&s===r};const toArray=e=>{if(!e)return null;if(v(e))return e;let t=e.length;if(!S(t))return null;const r=new Array(t);while(t-- >0){r[t]=e[t]}return r};const G=(e=>t=>e&&t instanceof e)(typeof Uint8Array!=="undefined"&&b(Uint8Array));const forEachEntry=(e,t)=>{const r=e&&e[Symbol.iterator];const s=r.call(e);let n;while((n=s.next())&&!n.done){const r=n.value;t.call(e,r[0],r[1])}};const matchAll=(e,t)=>{let r;const s=[];while((r=e.exec(t))!==null){s.push(r)}return s};const H=kindOfTest("HTMLFormElement");const toCamelCase=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function replacer(e,t,r){return t.toUpperCase()+r}));const j=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype);const V=kindOfTest("RegExp");const reduceDescriptors=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e);const s={};forEach(r,((r,n)=>{let o;if((o=t(r,n,e))!==false){s[n]=o||r}}));Object.defineProperties(e,s)};const freezeMethods=e=>{reduceDescriptors(e,((t,r)=>{if(R(e)&&["arguments","caller","callee"].indexOf(r)!==-1){return false}const s=e[r];if(!R(s))return;t.enumerable=false;if("writable"in t){t.writable=false;return}if(!t.set){t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}}}))};const toObjectSet=(e,t)=>{const r={};const define=e=>{e.forEach((e=>{r[e]=true}))};v(e)?define(e):define(String(e).split(t));return r};const noop=()=>{};const toFiniteNumber=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;const J="abcdefghijklmnopqrstuvwxyz";const Y="0123456789";const q={DIGIT:Y,ALPHA:J,ALPHA_DIGIT:J+J.toUpperCase()+Y};const generateString=(e=16,t=q.ALPHA_DIGIT)=>{let r="";const{length:s}=t;while(e--){r+=t[Math.random()*s|0]}return r};function isSpecCompliantForm(e){return!!(e&&R(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const toJSONObject=e=>{const t=new Array(10);const visit=(e,r)=>{if(isObject(e)){if(t.indexOf(e)>=0){return}if(!("toJSON"in e)){t[r]=e;const s=v(e)?[]:{};forEach(e,((e,t)=>{const n=visit(e,r+1);!w(n)&&(s[t]=n)}));t[r]=undefined;return s}}return e};return visit(e,0)};const W=kindOfTest("AsyncFunction");const isThenable=e=>e&&(isObject(e)||R(e))&&R(e.then)&&R(e.catch);const Z=((e,t)=>{if(e){return setImmediate}return t?((e,t)=>{P.addEventListener("message",(({source:r,data:s})=>{if(r===P&&s===e){t.length&&t.shift()()}}),false);return r=>{t.push(r);P.postMessage(e,"*")}})(`axios@${Math.random()}`,[]):e=>setTimeout(e)})(typeof setImmediate==="function",R(P.postMessage));const z=typeof queueMicrotask!=="undefined"?queueMicrotask.bind(P):typeof process!=="undefined"&&process.nextTick||Z;const K={isArray:v,isArrayBuffer:x,isBuffer:isBuffer,isFormData:isFormData,isArrayBufferView:isArrayBufferView,isString:k,isNumber:S,isBoolean:isBoolean,isObject:isObject,isPlainObject:isPlainObject,isReadableStream:U,isRequest:O,isResponse:M,isHeaders:L,isUndefined:w,isDate:D,isFile:T,isBlob:_,isRegExp:V,isFunction:R,isStream:isStream,isURLSearchParams:N,isTypedArray:G,isFileList:F,forEach:forEach,merge:merge,extend:extend,trim:trim,stripBOM:stripBOM,inherits:inherits,toFlatObject:toFlatObject,kindOf:y,kindOfTest:kindOfTest,endsWith:endsWith,toArray:toArray,forEachEntry:forEachEntry,matchAll:matchAll,isHTMLForm:H,hasOwnProperty:j,hasOwnProp:j,reduceDescriptors:reduceDescriptors,freezeMethods:freezeMethods,toObjectSet:toObjectSet,toCamelCase:toCamelCase,noop:noop,toFiniteNumber:toFiniteNumber,findKey:findKey,global:P,isContextDefined:isContextDefined,ALPHABET:q,generateString:generateString,isSpecCompliantForm:isSpecCompliantForm,toJSONObject:toJSONObject,isAsyncFn:W,isThenable:isThenable,setImmediate:Z,asap:z};function AxiosError(e,t,r,s,n){Error.call(this);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}else{this.stack=(new Error).stack}this.message=e;this.name="AxiosError";t&&(this.code=t);r&&(this.config=r);s&&(this.request=s);n&&(this.response=n)}K.inherits(AxiosError,Error,{toJSON:function toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:K.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const X=AxiosError.prototype;const $={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{$[e]={value:e}}));Object.defineProperties(AxiosError,$);Object.defineProperty(X,"isAxiosError",{value:true});AxiosError.from=(e,t,r,s,n,o)=>{const i=Object.create(X);K.toFlatObject(e,i,(function filter(e){return e!==Error.prototype}),(e=>e!=="isAxiosError"));AxiosError.call(i,e.message,t,r,s,n);i.cause=e;i.name=e.name;o&&Object.assign(i,o);return i};function isVisitable(e){return K.isPlainObject(e)||K.isArray(e)}function removeBrackets(e){return K.endsWith(e,"[]")?e.slice(0,-2):e}function renderKey(e,t,r){if(!e)return t;return e.concat(t).map((function each(e,t){e=removeBrackets(e);return!r&&t?"["+e+"]":e})).join(r?".":"")}function isFlatArray(e){return K.isArray(e)&&!e.some(isVisitable)}const ee=K.toFlatObject(K,{},null,(function filter(e){return/^is[A-Z]/.test(e)}));function toFormData(e,t,r){if(!K.isObject(e)){throw new TypeError("target must be an object")}t=t||new(d["default"]||FormData);r=K.toFlatObject(r,{metaTokens:true,dots:false,indexes:false},false,(function defined(e,t){return!K.isUndefined(t[e])}));const s=r.metaTokens;const n=r.visitor||defaultVisitor;const o=r.dots;const i=r.indexes;const a=r.Blob||typeof Blob!=="undefined"&&Blob;const A=a&&K.isSpecCompliantForm(t);if(!K.isFunction(n)){throw new TypeError("visitor must be a function")}function convertValue(e){if(e===null)return"";if(K.isDate(e)){return e.toISOString()}if(!A&&K.isBlob(e)){throw new AxiosError("Blob is not supported. Use a Buffer instead.")}if(K.isArrayBuffer(e)||K.isTypedArray(e)){return A&&typeof Blob==="function"?new Blob([e]):Buffer.from(e)}return e}function defaultVisitor(e,r,n){let a=e;if(e&&!n&&typeof e==="object"){if(K.endsWith(r,"{}")){r=s?r:r.slice(0,-2);e=JSON.stringify(e)}else if(K.isArray(e)&&isFlatArray(e)||(K.isFileList(e)||K.endsWith(r,"[]"))&&(a=K.toArray(e))){r=removeBrackets(r);a.forEach((function each(e,s){!(K.isUndefined(e)||e===null)&&t.append(i===true?renderKey([r],s,o):i===null?r:r+"[]",convertValue(e))}));return false}}if(isVisitable(e)){return true}t.append(renderKey(n,r,o),convertValue(e));return false}const c=[];const l=Object.assign(ee,{defaultVisitor:defaultVisitor,convertValue:convertValue,isVisitable:isVisitable});function build(e,r){if(K.isUndefined(e))return;if(c.indexOf(e)!==-1){throw Error("Circular reference detected in "+r.join("."))}c.push(e);K.forEach(e,(function each(e,s){const o=!(K.isUndefined(e)||e===null)&&n.call(t,e,K.isString(s)?s.trim():s,r,l);if(o===true){build(e,r?r.concat(s):[s])}}));c.pop()}if(!K.isObject(e)){throw new TypeError("data must be an object")}build(e);return t}function encode$1(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function replacer(e){return t[e]}))}function AxiosURLSearchParams(e,t){this._pairs=[];e&&toFormData(e,this,t)}const te=AxiosURLSearchParams.prototype;te.append=function append(e,t){this._pairs.push([e,t])};te.toString=function toString(e){const t=e?function(t){return e.call(this,t,encode$1)}:encode$1;return this._pairs.map((function each(e){return t(e[0])+"="+t(e[1])}),"").join("&")};function encode(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function buildURL(e,t,r){if(!t){return e}const s=r&&r.encode||encode;const n=r&&r.serialize;let o;if(n){o=n(t,r)}else{o=K.isURLSearchParams(t)?t.toString():new AxiosURLSearchParams(t,r).toString(s)}if(o){const t=e.indexOf("#");if(t!==-1){e=e.slice(0,t)}e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class InterceptorManager{constructor(){this.handlers=[]}use(e,t,r){this.handlers.push({fulfilled:e,rejected:t,synchronous:r?r.synchronous:false,runWhen:r?r.runWhen:null});return this.handlers.length-1}eject(e){if(this.handlers[e]){this.handlers[e]=null}}clear(){if(this.handlers){this.handlers=[]}}forEach(e){K.forEach(this.handlers,(function forEachHandler(t){if(t!==null){e(t)}}))}}const re=InterceptorManager;const se={silentJSONParsing:true,forcedJSONParsing:true,clarifyTimeoutError:false};const ne=g["default"].URLSearchParams;const oe={isNode:true,classes:{URLSearchParams:ne,FormData:d["default"],Blob:typeof Blob!=="undefined"&&Blob||null},protocols:["http","https","file","data"]};const ie=typeof window!=="undefined"&&typeof document!=="undefined";const ae=(e=>ie&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator!=="undefined"&&navigator.product);const Ae=(()=>typeof WorkerGlobalScope!=="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function")();const ce=ie&&window.location.href||"http://localhost";const le=Object.freeze({__proto__:null,hasBrowserEnv:ie,hasStandardBrowserWebWorkerEnv:Ae,hasStandardBrowserEnv:ae,origin:ce});const ue={...le,...oe};function toURLEncodedForm(e,t){return toFormData(e,new ue.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,s){if(ue.isNode&&K.isBuffer(e)){this.append(t,e.toString("base64"));return false}return s.defaultVisitor.apply(this,arguments)}},t))}function parsePropPath(e){return K.matchAll(/\w+|\[(\w*)]/g,e).map((e=>e[0]==="[]"?"":e[1]||e[0]))}function arrayToObject(e){const t={};const r=Object.keys(e);let s;const n=r.length;let o;for(s=0;s=e.length;n=!n&&K.isArray(r)?r.length:n;if(i){if(K.hasOwnProp(r,n)){r[n]=[r[n],t]}else{r[n]=t}return!o}if(!r[n]||!K.isObject(r[n])){r[n]=[]}const a=buildPath(e,t,r[n],s);if(a&&K.isArray(r[n])){r[n]=arrayToObject(r[n])}return!o}if(K.isFormData(e)&&K.isFunction(e.entries)){const t={};K.forEachEntry(e,((e,r)=>{buildPath(parsePropPath(e),r,t,0)}));return t}return null}function stringifySafely(e,t,r){if(K.isString(e)){try{(t||JSON.parse)(e);return K.trim(e)}catch(e){if(e.name!=="SyntaxError"){throw e}}}return(r||JSON.stringify)(e)}const pe={transitional:se,adapter:["xhr","http","fetch"],transformRequest:[function transformRequest(e,t){const r=t.getContentType()||"";const s=r.indexOf("application/json")>-1;const n=K.isObject(e);if(n&&K.isHTMLForm(e)){e=new FormData(e)}const o=K.isFormData(e);if(o){return s?JSON.stringify(formDataToJSON(e)):e}if(K.isArrayBuffer(e)||K.isBuffer(e)||K.isStream(e)||K.isFile(e)||K.isBlob(e)||K.isReadableStream(e)){return e}if(K.isArrayBufferView(e)){return e.buffer}if(K.isURLSearchParams(e)){t.setContentType("application/x-www-form-urlencoded;charset=utf-8",false);return e.toString()}let i;if(n){if(r.indexOf("application/x-www-form-urlencoded")>-1){return toURLEncodedForm(e,this.formSerializer).toString()}if((i=K.isFileList(e))||r.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return toFormData(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}if(n||s){t.setContentType("application/json",false);return stringifySafely(e)}return e}],transformResponse:[function transformResponse(e){const t=this.transitional||pe.transitional;const r=t&&t.forcedJSONParsing;const s=this.responseType==="json";if(K.isResponse(e)||K.isReadableStream(e)){return e}if(e&&K.isString(e)&&(r&&!this.responseType||s)){const r=t&&t.silentJSONParsing;const n=!r&&s;try{return JSON.parse(e)}catch(e){if(n){if(e.name==="SyntaxError"){throw AxiosError.from(e,AxiosError.ERR_BAD_RESPONSE,this,null,this.response)}throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ue.classes.FormData,Blob:ue.classes.Blob},validateStatus:function validateStatus(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":undefined}}};K.forEach(["delete","get","head","post","put","patch"],(e=>{pe.headers[e]={}}));const de=pe;const ge=K.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const parseHeaders=e=>{const t={};let r;let s;let n;e&&e.split("\n").forEach((function parser(e){n=e.indexOf(":");r=e.substring(0,n).trim().toLowerCase();s=e.substring(n+1).trim();if(!r||t[r]&&ge[r]){return}if(r==="set-cookie"){if(t[r]){t[r].push(s)}else{t[r]=[s]}}else{t[r]=t[r]?t[r]+", "+s:s}}));return t};const he=Symbol("internals");function normalizeHeader(e){return e&&String(e).trim().toLowerCase()}function normalizeValue(e){if(e===false||e==null){return e}return K.isArray(e)?e.map(normalizeValue):String(e)}function parseTokens(e){const t=Object.create(null);const r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;while(s=r.exec(e)){t[s[1]]=s[2]}return t}const isValidHeaderName=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function matchHeaderValue(e,t,r,s,n){if(K.isFunction(s)){return s.call(this,t,r)}if(n){t=r}if(!K.isString(t))return;if(K.isString(s)){return t.indexOf(s)!==-1}if(K.isRegExp(s)){return s.test(t)}}function formatHeader(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,r)=>t.toUpperCase()+r))}function buildAccessors(e,t){const r=K.toCamelCase(" "+t);["get","set","has"].forEach((s=>{Object.defineProperty(e,s+r,{value:function(e,r,n){return this[s].call(this,t,e,r,n)},configurable:true})}))}class AxiosHeaders{constructor(e){e&&this.set(e)}set(e,t,r){const s=this;function setHeader(e,t,r){const n=normalizeHeader(t);if(!n){throw new Error("header name must be a non-empty string")}const o=K.findKey(s,n);if(!o||s[o]===undefined||r===true||r===undefined&&s[o]!==false){s[o||t]=normalizeValue(e)}}const setHeaders=(e,t)=>K.forEach(e,((e,r)=>setHeader(e,r,t)));if(K.isPlainObject(e)||e instanceof this.constructor){setHeaders(e,t)}else if(K.isString(e)&&(e=e.trim())&&!isValidHeaderName(e)){setHeaders(parseHeaders(e),t)}else if(K.isHeaders(e)){for(const[t,s]of e.entries()){setHeader(s,t,r)}}else{e!=null&&setHeader(t,e,r)}return this}get(e,t){e=normalizeHeader(e);if(e){const r=K.findKey(this,e);if(r){const e=this[r];if(!t){return e}if(t===true){return parseTokens(e)}if(K.isFunction(t)){return t.call(this,e,r)}if(K.isRegExp(t)){return t.exec(e)}throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){e=normalizeHeader(e);if(e){const r=K.findKey(this,e);return!!(r&&this[r]!==undefined&&(!t||matchHeaderValue(this,this[r],r,t)))}return false}delete(e,t){const r=this;let s=false;function deleteHeader(e){e=normalizeHeader(e);if(e){const n=K.findKey(r,e);if(n&&(!t||matchHeaderValue(r,r[n],n,t))){delete r[n];s=true}}}if(K.isArray(e)){e.forEach(deleteHeader)}else{deleteHeader(e)}return s}clear(e){const t=Object.keys(this);let r=t.length;let s=false;while(r--){const n=t[r];if(!e||matchHeaderValue(this,this[n],n,e,true)){delete this[n];s=true}}return s}normalize(e){const t=this;const r={};K.forEach(this,((s,n)=>{const o=K.findKey(r,n);if(o){t[o]=normalizeValue(s);delete t[n];return}const i=e?formatHeader(n):String(n).trim();if(i!==n){delete t[n]}t[i]=normalizeValue(s);r[i]=true}));return this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);K.forEach(this,((r,s)=>{r!=null&&r!==false&&(t[s]=e&&K.isArray(r)?r.join(", "):r)}));return t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const r=new this(e);t.forEach((e=>r.set(e)));return r}static accessor(e){const t=this[he]=this[he]={accessors:{}};const r=t.accessors;const s=this.prototype;function defineAccessor(e){const t=normalizeHeader(e);if(!r[t]){buildAccessors(s,e);r[t]=true}}K.isArray(e)?e.forEach(defineAccessor):defineAccessor(e);return this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);K.reduceDescriptors(AxiosHeaders.prototype,(({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}}));K.freezeMethods(AxiosHeaders);const fe=AxiosHeaders;function transformData(e,t){const r=this||de;const s=t||r;const n=fe.from(s.headers);let o=s.data;K.forEach(e,(function transform(e){o=e.call(r,o,n.normalize(),t?t.status:undefined)}));n.normalize();return o}function isCancel(e){return!!(e&&e.__CANCEL__)}function CanceledError(e,t,r){AxiosError.call(this,e==null?"canceled":e,AxiosError.ERR_CANCELED,t,r);this.name="CanceledError"}K.inherits(CanceledError,AxiosError,{__CANCEL__:true});function settle(e,t,r){const s=r.config.validateStatus;if(!r.status||!s||s(r.status)){e(r)}else{t(new AxiosError("Request failed with status code "+r.status,[AxiosError.ERR_BAD_REQUEST,AxiosError.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}}function isAbsoluteURL(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function combineURLs(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function buildFullPath(e,t){if(e&&!isAbsoluteURL(t)){return combineURLs(e,t)}return t}const me="1.7.4";function parseProtocol(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const Ee=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;function fromDataURI(e,t,r){const s=r&&r.Blob||ue.classes.Blob;const n=parseProtocol(e);if(t===undefined&&s){t=true}if(n==="data"){e=n.length?e.slice(n.length+1):e;const r=Ee.exec(e);if(!r){throw new AxiosError("Invalid URL",AxiosError.ERR_INVALID_URL)}const o=r[1];const i=r[2];const a=r[3];const A=Buffer.from(decodeURIComponent(a),i?"base64":"utf8");if(t){if(!s){throw new AxiosError("Blob is not supported",AxiosError.ERR_NOT_SUPPORT)}return new s([A],{type:o})}return A}throw new AxiosError("Unsupported protocol "+n,AxiosError.ERR_NOT_SUPPORT)}const Ce=Symbol("internals");class AxiosTransformStream extends B["default"].Transform{constructor(e){e=K.toFlatObject(e,{maxRate:0,chunkSize:64*1024,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,((e,t)=>!K.isUndefined(t[e])));super({readableHighWaterMark:e.chunkSize});const t=this[Ce]={timeWindow:e.timeWindow,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:false,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",(e=>{if(e==="progress"){if(!t.isCaptured){t.isCaptured=true}}}))}_read(e){const t=this[Ce];if(t.onReadCallback){t.onReadCallback()}return super._read(e)}_transform(e,t,r){const s=this[Ce];const n=s.maxRate;const o=this.readableHighWaterMark;const i=s.timeWindow;const a=1e3/i;const A=n/a;const c=s.minChunkSize!==false?Math.max(s.minChunkSize,A*.01):0;const pushChunk=(e,t)=>{const r=Buffer.byteLength(e);s.bytesSeen+=r;s.bytes+=r;s.isCaptured&&this.emit("progress",s.bytesSeen);if(this.push(e)){process.nextTick(t)}else{s.onReadCallback=()=>{s.onReadCallback=null;process.nextTick(t)}}};const transformChunk=(e,t)=>{const r=Buffer.byteLength(e);let a=null;let l=o;let u;let p=0;if(n){const e=Date.now();if(!s.ts||(p=e-s.ts)>=i){s.ts=e;u=A-s.bytes;s.bytes=u<0?-u:0;p=0}u=A-s.bytes}if(n){if(u<=0){return setTimeout((()=>{t(null,e)}),i-p)}if(ul&&r-l>c){a=e.subarray(l);e=e.subarray(0,l)}pushChunk(e,a?()=>{process.nextTick(t,null,a)}:t)};transformChunk(e,(function transformNextChunk(e,t){if(e){return r(e)}if(t){transformChunk(t,transformNextChunk)}else{r(null)}}))}}const Ie=AxiosTransformStream;const{asyncIterator:Be}=Symbol;const readBlob=async function*(e){if(e.stream){yield*e.stream()}else if(e.arrayBuffer){yield await e.arrayBuffer()}else if(e[Be]){yield*e[Be]()}else{yield e}};const Qe=readBlob;const be=K.ALPHABET.ALPHA_DIGIT+"-_";const ye=new A.TextEncoder;const ve="\r\n";const we=ye.encode(ve);const xe=2;class FormDataPart{constructor(e,t){const{escapeName:r}=this.constructor;const s=K.isString(t);let n=`Content-Disposition: form-data; name="${r(e)}"${!s&&t.name?`; filename="${r(t.name)}"`:""}${ve}`;if(s){t=ye.encode(String(t).replace(/\r?\n|\r\n?/g,ve))}else{n+=`Content-Type: ${t.type||"application/octet-stream"}${ve}`}this.headers=ye.encode(n+ve);this.contentLength=s?t.byteLength:t.size;this.size=this.headers.byteLength+this.contentLength+xe;this.name=e;this.value=t}async*encode(){yield this.headers;const{value:e}=this;if(K.isTypedArray(e)){yield e}else{yield*Qe(e)}yield we}static escapeName(e){return String(e).replace(/[\r\n"]/g,(e=>({"\r":"%0D","\n":"%0A",'"':"%22"}[e])))}}const formDataToStream=(e,t,r)=>{const{tag:s="form-data-boundary",size:n=25,boundary:o=s+"-"+K.generateString(n,be)}=r||{};if(!K.isFormData(e)){throw TypeError("FormData instance required")}if(o.length<1||o.length>70){throw Error("boundary must be 10-70 characters long")}const i=ye.encode("--"+o+ve);const a=ye.encode("--"+o+"--"+ve+ve);let A=a.byteLength;const c=Array.from(e.entries()).map((([e,t])=>{const r=new FormDataPart(e,t);A+=r.size;return r}));A+=i.byteLength*c.length;A=K.toFiniteNumber(A);const l={"Content-Type":`multipart/form-data; boundary=${o}`};if(Number.isFinite(A)){l["Content-Length"]=A}t&&t(l);return u.Readable.from(async function*(){for(const e of c){yield i;yield*e.encode()}yield a}())};const ke=formDataToStream;class ZlibHeaderTransformStream extends B["default"].Transform{__transform(e,t,r){this.push(e);r()}_transform(e,t,r){if(e.length!==0){this._transform=this.__transform;if(e[0]!==120){const e=Buffer.alloc(2);e[0]=120;e[1]=156;this.push(e,t)}}this.__transform(e,t,r)}}const Re=ZlibHeaderTransformStream;const callbackify=(e,t)=>K.isAsyncFn(e)?function(...r){const s=r.pop();e.apply(this,r).then((e=>{try{t?s(null,...t(e)):s(null,e)}catch(e){s(e)}}),s)}:e;const Se=callbackify;function speedometer(e,t){e=e||10;const r=new Array(e);const s=new Array(e);let n=0;let o=0;let i;t=t!==undefined?t:1e3;return function push(a){const A=Date.now();const c=s[o];if(!i){i=A}r[n]=a;s[n]=A;let l=o;let u=0;while(l!==n){u+=r[l++];l=l%e}n=(n+1)%e;if(n===o){o=(o+1)%e}if(A-i{r=s;n=null;if(o){clearTimeout(o);o=null}e.apply(null,t)};const throttled=(...e)=>{const t=Date.now();const i=t-r;if(i>=s){invoke(e,t)}else{n=e;if(!o){o=setTimeout((()=>{o=null;invoke(n)}),s-i)}}};const flush=()=>n&&invoke(n);return[throttled,flush]}const progressEventReducer=(e,t,r=3)=>{let s=0;const n=speedometer(50,250);return throttle((r=>{const o=r.loaded;const i=r.lengthComputable?r.total:undefined;const a=o-s;const A=n(a);const c=o<=i;s=o;const l={loaded:o,total:i,progress:i?o/i:undefined,bytes:a,rate:A?A:undefined,estimated:A&&i&&c?(i-o)/A:undefined,event:r,lengthComputable:i!=null,[t?"download":"upload"]:true};e(l)}),r)};const progressEventDecorator=(e,t)=>{const r=e!=null;return[s=>t[0]({lengthComputable:r,total:e,loaded:s}),t[1]]};const asyncDecorator=e=>(...t)=>K.asap((()=>e(...t)));const De={flush:I["default"].constants.Z_SYNC_FLUSH,finishFlush:I["default"].constants.Z_SYNC_FLUSH};const Te={flush:I["default"].constants.BROTLI_OPERATION_FLUSH,finishFlush:I["default"].constants.BROTLI_OPERATION_FLUSH};const _e=K.isFunction(I["default"].createBrotliDecompress);const{http:Fe,https:Ne}=C["default"];const Ue=/https:?/;const Oe=ue.protocols.map((e=>e+":"));const flushOnFinish=(e,[t,r])=>{e.on("end",r).on("error",r);return t};function dispatchBeforeRedirect(e,t){if(e.beforeRedirects.proxy){e.beforeRedirects.proxy(e)}if(e.beforeRedirects.config){e.beforeRedirects.config(e,t)}}function setProxy(e,t,r){let s=t;if(!s&&s!==false){const e=o.getProxyForUrl(r);if(e){s=new URL(e)}}if(s){if(s.username){s.auth=(s.username||"")+":"+(s.password||"")}if(s.auth){if(s.auth.username||s.auth.password){s.auth=(s.auth.username||"")+":"+(s.auth.password||"")}const t=Buffer.from(s.auth,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+t}e.headers.host=e.hostname+(e.port?":"+e.port:"");const t=s.hostname||s.host;e.hostname=t;e.host=t;e.port=s.port;e.path=r;if(s.protocol){e.protocol=s.protocol.includes(":")?s.protocol:`${s.protocol}:`}}e.beforeRedirects.proxy=function beforeRedirect(e){setProxy(e,t,e.href)}}const Me=typeof process!=="undefined"&&K.kindOf(process)==="process";const wrapAsync=e=>new Promise(((t,r)=>{let s;let n;const done=(e,t)=>{if(n)return;n=true;s&&s(e,t)};const _resolve=e=>{done(e);t(e)};const _reject=e=>{done(e,true);r(e)};e(_resolve,_reject,(e=>s=e)).catch(_reject)}));const resolveFamily=({address:e,family:t})=>{if(!K.isString(e)){throw TypeError("address must be a string")}return{address:e,family:t||(e.indexOf(".")<0?6:4)}};const buildAddressEntry=(e,t)=>resolveFamily(K.isObject(e)?e:{address:e,family:t});const Le=Me&&function httpAdapter(e){return wrapAsync((async function dispatchHttpRequest(t,r,s){let{data:n,lookup:o,family:i}=e;const{responseType:a,responseEncoding:A}=e;const c=e.method.toUpperCase();let l;let u=false;let d;if(o){const e=Se(o,(e=>K.isArray(e)?e:[e]));o=(t,r,s)=>{e(t,r,((e,t,n)=>{if(e){return s(e)}const o=K.isArray(t)?t.map((e=>buildAddressEntry(e))):[buildAddressEntry(t,n)];r.all?s(e,o):s(e,o[0].address,o[0].family)}))}}const g=new p.EventEmitter;const onFinished=()=>{if(e.cancelToken){e.cancelToken.unsubscribe(abort)}if(e.signal){e.signal.removeEventListener("abort",abort)}g.removeAllListeners()};s(((e,t)=>{l=true;if(t){u=true;onFinished()}}));function abort(t){g.emit("abort",!t||t.type?new CanceledError(null,e,d):t)}g.once("abort",r);if(e.cancelToken||e.signal){e.cancelToken&&e.cancelToken.subscribe(abort);if(e.signal){e.signal.aborted?abort():e.signal.addEventListener("abort",abort)}}const C=buildFullPath(e.baseURL,e.url);const Q=new URL(C,K.hasBrowserEnv?ue.origin:undefined);const b=Q.protocol||Oe[0];if(b==="data:"){let s;if(c!=="GET"){return settle(t,r,{status:405,statusText:"method not allowed",headers:{},config:e})}try{s=fromDataURI(e.url,a==="blob",{Blob:e.env&&e.env.Blob})}catch(t){throw AxiosError.from(t,AxiosError.ERR_BAD_REQUEST,e)}if(a==="text"){s=s.toString(A);if(!A||A==="utf8"){s=K.stripBOM(s)}}else if(a==="stream"){s=B["default"].Readable.from(s)}return settle(t,r,{data:s,status:200,statusText:"OK",headers:new fe,config:e})}if(Oe.indexOf(b)===-1){return r(new AxiosError("Unsupported protocol "+b,AxiosError.ERR_BAD_REQUEST,e))}const y=fe.from(e.headers).normalize();y.set("User-Agent","axios/"+me,false);const{onUploadProgress:v,onDownloadProgress:w}=e;const x=e.maxRate;let k=undefined;let R=undefined;if(K.isSpecCompliantForm(n)){const e=y.getContentType(/boundary=([-_\w\d]{10,70})/i);n=ke(n,(e=>{y.set(e)}),{tag:`axios-${me}-boundary`,boundary:e&&e[1]||undefined})}else if(K.isFormData(n)&&K.isFunction(n.getHeaders)){y.set(n.getHeaders());if(!y.hasContentLength()){try{const e=await E["default"].promisify(n.getLength).call(n);Number.isFinite(e)&&e>=0&&y.setContentLength(e)}catch(e){}}}else if(K.isBlob(n)){n.size&&y.setContentType(n.type||"application/octet-stream");y.setContentLength(n.size||0);n=B["default"].Readable.from(Qe(n))}else if(n&&!K.isStream(n)){if(Buffer.isBuffer(n));else if(K.isArrayBuffer(n)){n=Buffer.from(new Uint8Array(n))}else if(K.isString(n)){n=Buffer.from(n,"utf-8")}else{return r(new AxiosError("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",AxiosError.ERR_BAD_REQUEST,e))}y.setContentLength(n.length,false);if(e.maxBodyLength>-1&&n.length>e.maxBodyLength){return r(new AxiosError("Request body larger than maxBodyLength limit",AxiosError.ERR_BAD_REQUEST,e))}}const S=K.toFiniteNumber(y.getContentLength());if(K.isArray(x)){k=x[0];R=x[1]}else{k=R=x}if(n&&(v||k)){if(!K.isStream(n)){n=B["default"].Readable.from(n,{objectMode:false})}n=B["default"].pipeline([n,new Ie({maxRate:K.toFiniteNumber(k)})],K.noop);v&&n.on("progress",flushOnFinish(n,progressEventDecorator(S,progressEventReducer(asyncDecorator(v),false,3))))}let D=undefined;if(e.auth){const t=e.auth.username||"";const r=e.auth.password||"";D=t+":"+r}if(!D&&Q.username){const e=Q.username;const t=Q.password;D=e+":"+t}D&&y.delete("authorization");let T;try{T=buildURL(Q.pathname+Q.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(t){const s=new Error(t.message);s.config=e;s.url=e.url;s.exists=true;return r(s)}y.set("Accept-Encoding","gzip, compress, deflate"+(_e?", br":""),false);const _={path:T,method:c,headers:y.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:D,protocol:b,family:i,beforeRedirect:dispatchBeforeRedirect,beforeRedirects:{}};!K.isUndefined(o)&&(_.lookup=o);if(e.socketPath){_.socketPath=e.socketPath}else{_.hostname=Q.hostname;_.port=Q.port;setProxy(_,e.proxy,b+"//"+Q.hostname+(Q.port?":"+Q.port:"")+_.path)}let F;const N=Ue.test(_.protocol);_.agent=N?e.httpsAgent:e.httpAgent;if(e.transport){F=e.transport}else if(e.maxRedirects===0){F=N?m["default"]:h["default"]}else{if(e.maxRedirects){_.maxRedirects=e.maxRedirects}if(e.beforeRedirect){_.beforeRedirects.config=e.beforeRedirect}F=N?Ne:Fe}if(e.maxBodyLength>-1){_.maxBodyLength=e.maxBodyLength}else{_.maxBodyLength=Infinity}if(e.insecureHTTPParser){_.insecureHTTPParser=e.insecureHTTPParser}d=F.request(_,(function handleResponse(s){if(d.destroyed)return;const n=[s];const o=+s.headers["content-length"];if(w||R){const e=new Ie({maxRate:K.toFiniteNumber(R)});w&&e.on("progress",flushOnFinish(e,progressEventDecorator(o,progressEventReducer(asyncDecorator(w),true,3))));n.push(e)}let i=s;const l=s.req||d;if(e.decompress!==false&&s.headers["content-encoding"]){if(c==="HEAD"||s.statusCode===204){delete s.headers["content-encoding"]}switch((s.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":n.push(I["default"].createUnzip(De));delete s.headers["content-encoding"];break;case"deflate":n.push(new Re);n.push(I["default"].createUnzip(De));delete s.headers["content-encoding"];break;case"br":if(_e){n.push(I["default"].createBrotliDecompress(Te));delete s.headers["content-encoding"]}}}i=n.length>1?B["default"].pipeline(n,K.noop):n[0];const p=B["default"].finished(i,(()=>{p();onFinished()}));const h={status:s.statusCode,statusText:s.statusMessage,headers:new fe(s.headers),config:e,request:l};if(a==="stream"){h.data=i;settle(t,r,h)}else{const s=[];let n=0;i.on("data",(function handleStreamData(t){s.push(t);n+=t.length;if(e.maxContentLength>-1&&n>e.maxContentLength){u=true;i.destroy();r(new AxiosError("maxContentLength size of "+e.maxContentLength+" exceeded",AxiosError.ERR_BAD_RESPONSE,e,l))}}));i.on("aborted",(function handlerStreamAborted(){if(u){return}const t=new AxiosError("maxContentLength size of "+e.maxContentLength+" exceeded",AxiosError.ERR_BAD_RESPONSE,e,l);i.destroy(t);r(t)}));i.on("error",(function handleStreamError(t){if(d.destroyed)return;r(AxiosError.from(t,null,e,l))}));i.on("end",(function handleStreamEnd(){try{let e=s.length===1?s[0]:Buffer.concat(s);if(a!=="arraybuffer"){e=e.toString(A);if(!A||A==="utf8"){e=K.stripBOM(e)}}h.data=e}catch(t){return r(AxiosError.from(t,null,e,h.request,h))}settle(t,r,h)}))}g.once("abort",(e=>{if(!i.destroyed){i.emit("error",e);i.destroy()}}))}));g.once("abort",(e=>{r(e);d.destroy(e)}));d.on("error",(function handleRequestError(t){r(AxiosError.from(t,null,e,d))}));d.on("socket",(function handleRequestSocket(e){e.setKeepAlive(true,1e3*60)}));if(e.timeout){const t=parseInt(e.timeout,10);if(Number.isNaN(t)){r(new AxiosError("error trying to parse `config.timeout` to int",AxiosError.ERR_BAD_OPTION_VALUE,e,d));return}d.setTimeout(t,(function handleRequestTimeout(){if(l)return;let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const s=e.transitional||se;if(e.timeoutErrorMessage){t=e.timeoutErrorMessage}r(new AxiosError(t,s.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,e,d));abort()}))}if(K.isStream(n)){let t=false;let r=false;n.on("end",(()=>{t=true}));n.once("error",(e=>{r=true;d.destroy(e)}));n.on("close",(()=>{if(!t&&!r){abort(new CanceledError("Request stream has been aborted",e,d))}}));n.pipe(d)}else{d.end(n)}}))};const Pe=ue.hasStandardBrowserEnv?function standardBrowserEnv(){const e=/(msie|trident)/i.test(navigator.userAgent);const t=document.createElement("a");let r;function resolveURL(r){let s=r;if(e){t.setAttribute("href",s);s=t.href}t.setAttribute("href",s);return{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}r=resolveURL(window.location.href);return function isURLSameOrigin(e){const t=K.isString(e)?resolveURL(e):e;return t.protocol===r.protocol&&t.host===r.host}}():function nonStandardBrowserEnv(){return function isURLSameOrigin(){return true}}();const Ge=ue.hasStandardBrowserEnv?{write(e,t,r,s,n,o){const i=[e+"="+encodeURIComponent(t)];K.isNumber(r)&&i.push("expires="+new Date(r).toGMTString());K.isString(s)&&i.push("path="+s);K.isString(n)&&i.push("domain="+n);o===true&&i.push("secure");document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};const headersToObject=e=>e instanceof fe?{...e}:e;function mergeConfig(e,t){t=t||{};const r={};function getMergedValue(e,t,r){if(K.isPlainObject(e)&&K.isPlainObject(t)){return K.merge.call({caseless:r},e,t)}else if(K.isPlainObject(t)){return K.merge({},t)}else if(K.isArray(t)){return t.slice()}return t}function mergeDeepProperties(e,t,r){if(!K.isUndefined(t)){return getMergedValue(e,t,r)}else if(!K.isUndefined(e)){return getMergedValue(undefined,e,r)}}function valueFromConfig2(e,t){if(!K.isUndefined(t)){return getMergedValue(undefined,t)}}function defaultToConfig2(e,t){if(!K.isUndefined(t)){return getMergedValue(undefined,t)}else if(!K.isUndefined(e)){return getMergedValue(undefined,e)}}function mergeDirectKeys(r,s,n){if(n in t){return getMergedValue(r,s)}else if(n in e){return getMergedValue(undefined,r)}}const s={url:valueFromConfig2,method:valueFromConfig2,data:valueFromConfig2,baseURL:defaultToConfig2,transformRequest:defaultToConfig2,transformResponse:defaultToConfig2,paramsSerializer:defaultToConfig2,timeout:defaultToConfig2,timeoutMessage:defaultToConfig2,withCredentials:defaultToConfig2,withXSRFToken:defaultToConfig2,adapter:defaultToConfig2,responseType:defaultToConfig2,xsrfCookieName:defaultToConfig2,xsrfHeaderName:defaultToConfig2,onUploadProgress:defaultToConfig2,onDownloadProgress:defaultToConfig2,decompress:defaultToConfig2,maxContentLength:defaultToConfig2,maxBodyLength:defaultToConfig2,beforeRedirect:defaultToConfig2,transport:defaultToConfig2,httpAgent:defaultToConfig2,httpsAgent:defaultToConfig2,cancelToken:defaultToConfig2,socketPath:defaultToConfig2,responseEncoding:defaultToConfig2,validateStatus:mergeDirectKeys,headers:(e,t)=>mergeDeepProperties(headersToObject(e),headersToObject(t),true)};K.forEach(Object.keys(Object.assign({},e,t)),(function computeConfigValue(n){const o=s[n]||mergeDeepProperties;const i=o(e[n],t[n],n);K.isUndefined(i)&&o!==mergeDirectKeys||(r[n]=i)}));return r}const resolveConfig=e=>{const t=mergeConfig({},e);let{data:r,withXSRFToken:s,xsrfHeaderName:n,xsrfCookieName:o,headers:i,auth:a}=t;t.headers=i=fe.from(i);t.url=buildURL(buildFullPath(t.baseURL,t.url),e.params,e.paramsSerializer);if(a){i.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")))}let A;if(K.isFormData(r)){if(ue.hasStandardBrowserEnv||ue.hasStandardBrowserWebWorkerEnv){i.setContentType(undefined)}else if((A=i.getContentType())!==false){const[e,...t]=A?A.split(";").map((e=>e.trim())).filter(Boolean):[];i.setContentType([e||"multipart/form-data",...t].join("; "))}}if(ue.hasStandardBrowserEnv){s&&K.isFunction(s)&&(s=s(t));if(s||s!==false&&Pe(t.url)){const e=n&&o&&Ge.read(o);if(e){i.set(n,e)}}}return t};const He=typeof XMLHttpRequest!=="undefined";const je=He&&function(e){return new Promise((function dispatchXhrRequest(t,r){const s=resolveConfig(e);let n=s.data;const o=fe.from(s.headers).normalize();let{responseType:i,onUploadProgress:a,onDownloadProgress:A}=s;let c;let l,u;let p,d;function done(){p&&p();d&&d();s.cancelToken&&s.cancelToken.unsubscribe(c);s.signal&&s.signal.removeEventListener("abort",c)}let g=new XMLHttpRequest;g.open(s.method.toUpperCase(),s.url,true);g.timeout=s.timeout;function onloadend(){if(!g){return}const s=fe.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders());const n=!i||i==="text"||i==="json"?g.responseText:g.response;const o={data:n,status:g.status,statusText:g.statusText,headers:s,config:e,request:g};settle((function _resolve(e){t(e);done()}),(function _reject(e){r(e);done()}),o);g=null}if("onloadend"in g){g.onloadend=onloadend}else{g.onreadystatechange=function handleLoad(){if(!g||g.readyState!==4){return}if(g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)){return}setTimeout(onloadend)}}g.onabort=function handleAbort(){if(!g){return}r(new AxiosError("Request aborted",AxiosError.ECONNABORTED,e,g));g=null};g.onerror=function handleError(){r(new AxiosError("Network Error",AxiosError.ERR_NETWORK,e,g));g=null};g.ontimeout=function handleTimeout(){let t=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const n=s.transitional||se;if(s.timeoutErrorMessage){t=s.timeoutErrorMessage}r(new AxiosError(t,n.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,e,g));g=null};n===undefined&&o.setContentType(null);if("setRequestHeader"in g){K.forEach(o.toJSON(),(function setRequestHeader(e,t){g.setRequestHeader(t,e)}))}if(!K.isUndefined(s.withCredentials)){g.withCredentials=!!s.withCredentials}if(i&&i!=="json"){g.responseType=s.responseType}if(A){[u,d]=progressEventReducer(A,true);g.addEventListener("progress",u)}if(a&&g.upload){[l,p]=progressEventReducer(a);g.upload.addEventListener("progress",l);g.upload.addEventListener("loadend",p)}if(s.cancelToken||s.signal){c=t=>{if(!g){return}r(!t||t.type?new CanceledError(null,e,g):t);g.abort();g=null};s.cancelToken&&s.cancelToken.subscribe(c);if(s.signal){s.signal.aborted?c():s.signal.addEventListener("abort",c)}}const h=parseProtocol(s.url);if(h&&ue.protocols.indexOf(h)===-1){r(new AxiosError("Unsupported protocol "+h+":",AxiosError.ERR_BAD_REQUEST,e));return}g.send(n||null)}))};const composeSignals=(e,t)=>{let r=new AbortController;let s;const onabort=function(e){if(!s){s=true;unsubscribe();const t=e instanceof Error?e:this.reason;r.abort(t instanceof AxiosError?t:new CanceledError(t instanceof Error?t.message:t))}};let n=t&&setTimeout((()=>{onabort(new AxiosError(`timeout ${t} of ms exceeded`,AxiosError.ETIMEDOUT))}),t);const unsubscribe=()=>{if(e){n&&clearTimeout(n);n=null;e.forEach((e=>{e&&(e.removeEventListener?e.removeEventListener("abort",onabort):e.unsubscribe(onabort))}));e=null}};e.forEach((e=>e&&e.addEventListener&&e.addEventListener("abort",onabort)));const{signal:o}=r;o.unsubscribe=unsubscribe;return[o,()=>{n&&clearTimeout(n);n=null}]};const Ve=composeSignals;const streamChunk=function*(e,t){let r=e.byteLength;if(!t||r{const o=readBytes(e,t,n);let i=0;let a;let _onFinish=e=>{if(!a){a=true;s&&s(e)}};return new ReadableStream({async pull(e){try{const{done:t,value:s}=await o.next();if(t){_onFinish();e.close();return}let n=s.byteLength;if(r){let e=i+=n;r(e)}e.enqueue(new Uint8Array(s))}catch(e){_onFinish(e);throw e}},cancel(e){_onFinish(e);return o.return()}},{highWaterMark:2})};const Je=typeof fetch==="function"&&typeof Request==="function"&&typeof Response==="function";const Ye=Je&&typeof ReadableStream==="function";const qe=Je&&(typeof TextEncoder==="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer()));const test=(e,...t)=>{try{return!!e(...t)}catch(e){return false}};const We=Ye&&test((()=>{let e=false;const t=new Request(ue.origin,{body:new ReadableStream,method:"POST",get duplex(){e=true;return"half"}}).headers.has("Content-Type");return e&&!t}));const Ze=64*1024;const ze=Ye&&test((()=>K.isReadableStream(new Response("").body)));const Ke={stream:ze&&(e=>e.body)};Je&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach((t=>{!Ke[t]&&(Ke[t]=K.isFunction(e[t])?e=>e[t]():(e,r)=>{throw new AxiosError(`Response type '${t}' is not supported`,AxiosError.ERR_NOT_SUPPORT,r)})}))})(new Response);const getBodyLength=async e=>{if(e==null){return 0}if(K.isBlob(e)){return e.size}if(K.isSpecCompliantForm(e)){return(await new Request(e).arrayBuffer()).byteLength}if(K.isArrayBufferView(e)||K.isArrayBuffer(e)){return e.byteLength}if(K.isURLSearchParams(e)){e=e+""}if(K.isString(e)){return(await qe(e)).byteLength}};const resolveBodyLength=async(e,t)=>{const r=K.toFiniteNumber(e.getContentLength());return r==null?getBodyLength(t):r};const Xe=Je&&(async e=>{let{url:t,method:r,data:s,signal:n,cancelToken:o,timeout:i,onDownloadProgress:a,onUploadProgress:A,responseType:c,headers:l,withCredentials:u="same-origin",fetchOptions:p}=resolveConfig(e);c=c?(c+"").toLowerCase():"text";let[d,g]=n||o||i?Ve([n,o],i):[];let h,m;const onFinish=()=>{!h&&setTimeout((()=>{d&&d.unsubscribe()}));h=true};let E;try{if(A&&We&&r!=="get"&&r!=="head"&&(E=await resolveBodyLength(l,s))!==0){let e=new Request(t,{method:"POST",body:s,duplex:"half"});let r;if(K.isFormData(s)&&(r=e.headers.get("content-type"))){l.setContentType(r)}if(e.body){const[t,r]=progressEventDecorator(E,progressEventReducer(asyncDecorator(A)));s=trackStream(e.body,Ze,t,r,qe)}}if(!K.isString(u)){u=u?"include":"omit"}m=new Request(t,{...p,signal:d,method:r.toUpperCase(),headers:l.normalize().toJSON(),body:s,duplex:"half",credentials:u});let n=await fetch(m);const o=ze&&(c==="stream"||c==="response");if(ze&&(a||o)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=n[t]}));const t=K.toFiniteNumber(n.headers.get("content-length"));const[r,s]=a&&progressEventDecorator(t,progressEventReducer(asyncDecorator(a),true))||[];n=new Response(trackStream(n.body,Ze,r,(()=>{s&&s();o&&onFinish()}),qe),e)}c=c||"text";let i=await Ke[K.findKey(Ke,c)||"text"](n,e);!o&&onFinish();g&&g();return await new Promise(((t,r)=>{settle(t,r,{data:i,headers:fe.from(n.headers),status:n.status,statusText:n.statusText,config:e,request:m})}))}catch(t){onFinish();if(t&&t.name==="TypeError"&&/fetch/i.test(t.message)){throw Object.assign(new AxiosError("Network Error",AxiosError.ERR_NETWORK,e,m),{cause:t.cause||t})}throw AxiosError.from(t,t&&t.code,e,m)}});const $e={http:Le,xhr:je,fetch:Xe};K.forEach($e,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const renderReason=e=>`- ${e}`;const isResolvedHandle=e=>K.isFunction(e)||e===null||e===false;const et={getAdapter:e=>{e=K.isArray(e)?e:[e];const{length:t}=e;let r;let s;const n={};for(let o=0;o`adapter ${e} `+(t===false?"is not supported by the environment":"is not available in the build")));let r=t?e.length>1?"since :\n"+e.map(renderReason).join("\n"):" "+renderReason(e[0]):"as no adapter specified";throw new AxiosError(`There is no suitable adapter to dispatch the request `+r,"ERR_NOT_SUPPORT")}return s},adapters:$e};function throwIfCancellationRequested(e){if(e.cancelToken){e.cancelToken.throwIfRequested()}if(e.signal&&e.signal.aborted){throw new CanceledError(null,e)}}function dispatchRequest(e){throwIfCancellationRequested(e);e.headers=fe.from(e.headers);e.data=transformData.call(e,e.transformRequest);if(["post","put","patch"].indexOf(e.method)!==-1){e.headers.setContentType("application/x-www-form-urlencoded",false)}const t=et.getAdapter(e.adapter||de.adapter);return t(e).then((function onAdapterResolution(t){throwIfCancellationRequested(e);t.data=transformData.call(e,e.transformResponse,t);t.headers=fe.from(t.headers);return t}),(function onAdapterRejection(t){if(!isCancel(t)){throwIfCancellationRequested(e);if(t&&t.response){t.response.data=transformData.call(e,e.transformResponse,t.response);t.response.headers=fe.from(t.response.headers)}}return Promise.reject(t)}))}const tt={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{tt[e]=function validator(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));const rt={};tt.transitional=function transitional(e,t,r){function formatMessage(e,t){return"[Axios v"+me+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,s,n)=>{if(e===false){throw new AxiosError(formatMessage(s," has been removed"+(t?" in "+t:"")),AxiosError.ERR_DEPRECATED)}if(t&&!rt[s]){rt[s]=true;console.warn(formatMessage(s," has been deprecated since v"+t+" and will be removed in the near future"))}return e?e(r,s,n):true}};function assertOptions(e,t,r){if(typeof e!=="object"){throw new AxiosError("options must be an object",AxiosError.ERR_BAD_OPTION_VALUE)}const s=Object.keys(e);let n=s.length;while(n-- >0){const o=s[n];const i=t[o];if(i){const t=e[o];const r=t===undefined||i(t,o,e);if(r!==true){throw new AxiosError("option "+o+" must be "+r,AxiosError.ERR_BAD_OPTION_VALUE)}continue}if(r!==true){throw new AxiosError("Unknown option "+o,AxiosError.ERR_BAD_OPTION)}}}const st={assertOptions:assertOptions,validators:tt};const nt=st.validators;class Axios{constructor(e){this.defaults=e;this.interceptors={request:new re,response:new re}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=new Error;const r=t.stack?t.stack.replace(/^.+\n/,""):"";try{if(!e.stack){e.stack=r}else if(r&&!String(e.stack).endsWith(r.replace(/^.+\n.+\n/,""))){e.stack+="\n"+r}}catch(e){}}throw e}}_request(e,t){if(typeof e==="string"){t=t||{};t.url=e}else{t=e||{}}t=mergeConfig(this.defaults,t);const{transitional:r,paramsSerializer:s,headers:n}=t;if(r!==undefined){st.assertOptions(r,{silentJSONParsing:nt.transitional(nt.boolean),forcedJSONParsing:nt.transitional(nt.boolean),clarifyTimeoutError:nt.transitional(nt.boolean)},false)}if(s!=null){if(K.isFunction(s)){t.paramsSerializer={serialize:s}}else{st.assertOptions(s,{encode:nt.function,serialize:nt.function},true)}}t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=n&&K.merge(n.common,n[t.method]);n&&K.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete n[e]}));t.headers=fe.concat(o,n);const i=[];let a=true;this.interceptors.request.forEach((function unshiftRequestInterceptors(e){if(typeof e.runWhen==="function"&&e.runWhen(t)===false){return}a=a&&e.synchronous;i.unshift(e.fulfilled,e.rejected)}));const A=[];this.interceptors.response.forEach((function pushResponseInterceptors(e){A.push(e.fulfilled,e.rejected)}));let c;let l=0;let u;if(!a){const e=[dispatchRequest.bind(this),undefined];e.unshift.apply(e,i);e.push.apply(e,A);u=e.length;c=Promise.resolve(t);while(l{if(!r._listeners)return;let t=r._listeners.length;while(t-- >0){r._listeners[t](e)}r._listeners=null}));this.promise.then=e=>{let t;const s=new Promise((e=>{r.subscribe(e);t=e})).then(e);s.cancel=function reject(){r.unsubscribe(t)};return s};e((function cancel(e,s,n){if(r.reason){return}r.reason=new CanceledError(e,s,n);t(r.reason)}))}throwIfRequested(){if(this.reason){throw this.reason}}subscribe(e){if(this.reason){e(this.reason);return}if(this._listeners){this._listeners.push(e)}else{this._listeners=[e]}}unsubscribe(e){if(!this._listeners){return}const t=this._listeners.indexOf(e);if(t!==-1){this._listeners.splice(t,1)}}static source(){let e;const t=new CancelToken((function executor(t){e=t}));return{token:t,cancel:e}}}const it=CancelToken;function spread(e){return function wrap(t){return e.apply(null,t)}}function isAxiosError(e){return K.isObject(e)&&e.isAxiosError===true}const at={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(at).forEach((([e,t])=>{at[t]=e}));const At=at;function createInstance(e){const t=new ot(e);const r=bind(ot.prototype.request,t);K.extend(r,ot.prototype,t,{allOwnKeys:true});K.extend(r,t,null,{allOwnKeys:true});r.create=function create(t){return createInstance(mergeConfig(e,t))};return r}const ct=createInstance(de);ct.Axios=ot;ct.CanceledError=CanceledError;ct.CancelToken=it;ct.isCancel=isCancel;ct.VERSION=me;ct.toFormData=toFormData;ct.AxiosError=AxiosError;ct.Cancel=ct.CanceledError;ct.all=function all(e){return Promise.all(e)};ct.spread=spread;ct.isAxiosError=isAxiosError;ct.mergeConfig=mergeConfig;ct.AxiosHeaders=fe;ct.formToJSON=e=>formDataToJSON(K.isHTMLForm(e)?new FormData(e):e);ct.getAdapter=et.getAdapter;ct.HttpStatusCode=At;ct.default=ct;e.exports=ct},7865:e=>{"use strict";e.exports=JSON.parse('{"name":"@slack/web-api","version":"7.3.2","description":"Official library for using the Slack Platform\'s Web API","author":"Slack Technologies, LLC","license":"MIT","keywords":["slack","web-api","bot","client","http","api","proxy","rate-limiting","pagination"],"main":"dist/index.js","types":"./dist/index.d.ts","files":["dist/**/*"],"engines":{"node":">= 18","npm":">= 8.6.0"},"repository":"slackapi/node-slack-sdk","homepage":"https://slack.dev/node-slack-sdk/web-api","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/slackapi/node-slack-sdk/issues"},"scripts":{"prepare":"npm run build","build":"npm run build:clean && tsc","build:clean":"shx rm -rf ./dist ./coverage","lint":"eslint --fix --ext .ts src","mocha":"mocha --config .mocharc.json src/*.spec.js","test":"npm run lint && npm run test:types && npm run test:integration && npm run test:unit","test:integration":"npm run build && node test/integration/commonjs-project/index.js && node test/integration/esm-project/index.mjs && npm run test:integration:ts","test:integration:ts":"cd test/integration/ts-4.7-project && npm i && npm run build","test:unit":"npm run build && c8 npm run mocha","test:types":"tsd","ref-docs:model":"api-extractor run","watch":"npx nodemon --watch \'src\' --ext \'ts\' --exec npm run build"},"dependencies":{"@slack/logger":"^4.0.0","@slack/types":"^2.9.0","@types/node":">=18.0.0","@types/retry":"0.12.0","axios":"^1.6.5","eventemitter3":"^5.0.1","form-data":"^4.0.0","is-electron":"2.2.2","is-stream":"^2","p-queue":"^6","p-retry":"^4","retry":"^0.13.1"},"devDependencies":{"@microsoft/api-extractor":"^7","@tsconfig/recommended":"^1","@types/chai":"^4","@types/mocha":"^10","@types/sinon":"^17","@typescript-eslint/eslint-plugin":"^6","@typescript-eslint/parser":"^6","busboy":"^1","c8":"^9.1.0","chai":"^4","eslint":"^8","eslint-config-airbnb-base":"^15","eslint-config-airbnb-typescript":"^17","eslint-plugin-import":"^2","eslint-plugin-import-newlines":"^1.3.4","eslint-plugin-jsdoc":"^48","eslint-plugin-node":"^11","mocha":"^10","nock":"^13","shx":"^0.3.2","sinon":"^17","source-map-support":"^0.5.21","ts-node":"^10","tsd":"^0.30.0","typescript":"5.3.3"},"tsd":{"directory":"test/types"}}')},6450:e=>{"use strict";e.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/3gpphal+json":{"source":"iana","compressible":true},"application/3gpphalforms+json":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/ace+cbor":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/at+jwt":{"source":"iana"},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/city+json":{"source":"iana","compressible":true},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true,"extensions":["cpl"]},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dash-patch+xml":{"source":"iana","compressible":true,"extensions":["mpp"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/express":{"source":"iana","extensions":["exp"]},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true,"extensions":["mpf"]},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/missing-blocks+cbor-seq":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true},"application/mrb-publish+xml":{"source":"iana","compressible":true},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/oauth-authz-req+jwt":{"source":"iana"},"application/oblivious-dns-message":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p21":{"source":"iana"},"application/p21+zip":{"source":"iana","compressible":false},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana","extensions":["asc"]},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sarif-external-properties+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spdx+json":{"source":"iana","compressible":true},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/token-introspection+jwt":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana","extensions":["trig"]},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.5gnas":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gtpc":{"source":"iana"},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.lpp":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ngap":{"source":"iana"},"application/vnd.3gpp.pfcp":{"source":"iana"},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.s1ap":{"source":"iana"},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.age":{"source":"iana","extensions":["age"]},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.arrow.file":{"source":"iana"},"application/vnd.apache.arrow.stream":{"source":"iana"},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.cryptomator.encrypted":{"source":"iana"},"application/vnd.cryptomator.vault":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.eclipse.ditto+json":{"source":"iana","compressible":true},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eu.kasparian.car+json":{"source":"iana","compressible":true},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.familysearch.gedcom+zip":{"source":"iana","compressible":false},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujifilm.fb.docuworks":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.container":{"source":"iana"},"application/vnd.fujifilm.fb.jfi+xml":{"source":"iana","compressible":true},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hl7cda+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hl7v2+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana","extensions":["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxar.archive.3tz+zip":{"source":"iana","compressible":false},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.nacamar.ybrid+json":{"source":"iana","compressible":true},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nebumind.line":{"source":"iana"},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.opentimestamps.ots":{"source":"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.resilient.logic":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.syft+json":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veritone.aion+json":{"source":"iana","compressible":true},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"source":"iana","compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true,"extensions":["wif"]},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-iwork-keynote-sffkey":{"extensions":["key"]},"application/x-iwork-numbers-sffnumbers":{"extensions":["numbers"]},"application/x-iwork-pages-sffpages":{"extensions":["pages"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana","extensions":["avci"]},"image/avcs":{"source":"iana","extensions":["avcs"]},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","compressible":true,"extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"compressible":true,"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/step":{"source":"iana"},"model/step+xml":{"source":"iana","compressible":true,"extensions":["stpx"]},"model/step+zip":{"source":"iana","compressible":false,"extensions":["stpz"]},"model/step-xml+zip":{"source":"iana","compressible":false,"extensions":["stpxz"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.pytha.pyox":{"source":"iana"},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.sap.vds":{"source":"iana","extensions":["vds"]},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"source":"iana","extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.familysearch.gedcom":{"source":"iana","extensions":["ged"]},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"compressible":true,"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/ffv1":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/jxsv":{"source":"iana"},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/vp9":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')}};var __webpack_module_cache__={};function __nccwpck_require__(e){var t=__webpack_module_cache__[e];if(t!==undefined){return t.exports}var r=__webpack_module_cache__[e]={exports:{}};var s=true;try{__webpack_modules__[e].call(r.exports,r,r.exports,__nccwpck_require__);s=false}finally{if(s)delete __webpack_module_cache__[e]}return r.exports}(()=>{__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=__dirname+"/";var __webpack_exports__={};(()=>{"use strict";__nccwpck_require__.r(__webpack_exports__);var e=__nccwpck_require__(764);var t=__nccwpck_require__(4237);var r=__nccwpck_require__(7131);let s="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let customAlphabet=(e,t=21)=>(r=t)=>{let s="";let n=r;while(n--){s+=e[Math.random()*e.length|0]}return s};let nanoid=(e=21)=>{let t="";let r=e;while(r--){t+=s[Math.random()*64|0]}return t};var n="vercel.ai.error";var o=Symbol.for(n);var i;var a=class _AISDKError extends Error{constructor({name:e,message:t,cause:r}){super(t);this[i]=true;this.name=e;this.cause=r}static isInstance(e){return _AISDKError.hasMarker(e,n)}static hasMarker(e,t){const r=Symbol.for(t);return e!=null&&typeof e==="object"&&r in e&&typeof e[r]==="boolean"&&e[r]===true}toJSON(){return{name:this.name,message:this.message}}};i=o;var A=a;var c="AI_APICallError";var l=`vercel.ai.error.${c}`;var u=Symbol.for(l);var p;var d=class extends A{constructor({message:e,url:t,requestBodyValues:r,statusCode:s,responseHeaders:n,responseBody:o,cause:i,isRetryable:a=s!=null&&(s===408||s===409||s===429||s>=500),data:A}){super({name:c,message:e,cause:i});this[p]=true;this.url=t;this.requestBodyValues=r;this.statusCode=s;this.responseHeaders=n;this.responseBody=o;this.isRetryable=a;this.data=A}static isInstance(e){return A.hasMarker(e,l)}static isAPICallError(e){return e instanceof Error&&e.name===c&&typeof e.url==="string"&&typeof e.requestBodyValues==="object"&&(e.statusCode==null||typeof e.statusCode==="number")&&(e.responseHeaders==null||typeof e.responseHeaders==="object")&&(e.responseBody==null||typeof e.responseBody==="string")&&(e.cause==null||typeof e.cause==="object")&&typeof e.isRetryable==="boolean"&&(e.data==null||typeof e.data==="object")}toJSON(){return{name:this.name,message:this.message,url:this.url,requestBodyValues:this.requestBodyValues,statusCode:this.statusCode,responseHeaders:this.responseHeaders,responseBody:this.responseBody,cause:this.cause,isRetryable:this.isRetryable,data:this.data}}};p=u;var g="AI_EmptyResponseBodyError";var h=`vercel.ai.error.${g}`;var m=Symbol.for(h);var E;var C=class extends A{constructor({message:e="Empty response body"}={}){super({name:g,message:e});this[E]=true}static isInstance(e){return A.hasMarker(e,h)}static isEmptyResponseBodyError(e){return e instanceof Error&&e.name===g}};E=m;function getErrorMessage(e){if(e==null){return"unknown error"}if(typeof e==="string"){return e}if(e instanceof Error){return e.message}return JSON.stringify(e)}var I="AI_InvalidPromptError";var B=`vercel.ai.error.${I}`;var Q=Symbol.for(B);var b;var y=class extends A{constructor({prompt:e,message:t}){super({name:I,message:`Invalid prompt: ${t}`});this[b]=true;this.prompt=e}static isInstance(e){return A.hasMarker(e,B)}static isInvalidPromptError(e){return e instanceof Error&&e.name===I&&prompt!=null}toJSON(){return{name:this.name,message:this.message,stack:this.stack,prompt:this.prompt}}};b=Q;var v="AI_InvalidResponseDataError";var w=`vercel.ai.error.${v}`;var x=Symbol.for(w);var k;var R=class extends A{constructor({data:e,message:t=`Invalid response data: ${JSON.stringify(e)}.`}){super({name:v,message:t});this[k]=true;this.data=e}static isInstance(e){return A.hasMarker(e,w)}static isInvalidResponseDataError(e){return e instanceof Error&&e.name===v&&e.data!=null}toJSON(){return{name:this.name,message:this.message,stack:this.stack,data:this.data}}};k=x;var S="AI_JSONParseError";var D=`vercel.ai.error.${S}`;var T=Symbol.for(D);var _;var F=class extends A{constructor({text:e,cause:t}){super({name:S,message:`JSON parsing failed: Text: ${e}.\nError message: ${getErrorMessage(t)}`,cause:t});this[_]=true;this.text=e}static isInstance(e){return A.hasMarker(e,D)}static isJSONParseError(e){return e instanceof Error&&e.name===S&&typeof e.text==="string"&&typeof e.cause==="string"}toJSON(){return{name:this.name,message:this.message,cause:this.cause,stack:this.stack,valueText:this.text}}};_=T;var N="AI_LoadAPIKeyError";var U=`vercel.ai.error.${N}`;var O=Symbol.for(U);var M;var L=class extends A{constructor({message:e}){super({name:N,message:e});this[M]=true}static isInstance(e){return A.hasMarker(e,U)}static isLoadAPIKeyError(e){return e instanceof Error&&e.name===N}};M=O;var P="AI_LoadSettingError";var G=`vercel.ai.error.${P}`;var H=Symbol.for(G);var j;var V=class extends(null&&A){constructor({message:e}){super({name:P,message:e});this[j]=true}static isInstance(e){return A.hasMarker(e,G)}static isLoadSettingError(e){return e instanceof Error&&e.name===P}};j=H;var J="AI_NoContentGeneratedError";var Y=`vercel.ai.error.${J}`;var q=Symbol.for(Y);var W;var Z=class extends(null&&A){constructor({message:e="No content generated."}={}){super({name:J,message:e});this[W]=true}static isInstance(e){return A.hasMarker(e,Y)}static isNoContentGeneratedError(e){return e instanceof Error&&e.name===J}toJSON(){return{name:this.name,cause:this.cause,message:this.message,stack:this.stack}}};W=q;var z="AI_TooManyEmbeddingValuesForCallError";var K=`vercel.ai.error.${z}`;var X=Symbol.for(K);var $;var ee=class extends A{constructor(e){super({name:z,message:`Too many values for a single embedding call. The ${e.provider} model "${e.modelId}" can only embed up to ${e.maxEmbeddingsPerCall} values per call, but ${e.values.length} values were provided.`});this[$]=true;this.provider=e.provider;this.modelId=e.modelId;this.maxEmbeddingsPerCall=e.maxEmbeddingsPerCall;this.values=e.values}static isInstance(e){return A.hasMarker(e,K)}static isTooManyEmbeddingValuesForCallError(e){return e instanceof Error&&e.name===z&&"provider"in e&&typeof e.provider==="string"&&"modelId"in e&&typeof e.modelId==="string"&&"maxEmbeddingsPerCall"in e&&typeof e.maxEmbeddingsPerCall==="number"&&"values"in e&&Array.isArray(e.values)}toJSON(){return{name:this.name,message:this.message,stack:this.stack,provider:this.provider,modelId:this.modelId,maxEmbeddingsPerCall:this.maxEmbeddingsPerCall,values:this.values}}};$=X;var te="AI_TypeValidationError";var re=`vercel.ai.error.${te}`;var se=Symbol.for(re);var ne;var oe=class _TypeValidationError extends A{constructor({value:e,cause:t}){super({name:te,message:`Type validation failed: Value: ${JSON.stringify(e)}.\nError message: ${getErrorMessage(t)}`,cause:t});this[ne]=true;this.value=e}static isInstance(e){return A.hasMarker(e,re)}static wrap({value:e,cause:t}){return _TypeValidationError.isInstance(t)&&t.value===e?t:new _TypeValidationError({value:e,cause:t})}static isTypeValidationError(e){return e instanceof Error&&e.name===te}toJSON(){return{name:this.name,message:this.message,cause:this.cause,stack:this.stack,value:this.value}}};ne=se;var ie=oe;var ae="AI_UnsupportedFunctionalityError";var Ae=`vercel.ai.error.${ae}`;var ce=Symbol.for(Ae);var le;var ue=class extends A{constructor({functionality:e}){super({name:ae,message:`'${e}' functionality not supported.`});this[le]=true;this.functionality=e}static isInstance(e){return A.hasMarker(e,Ae)}static isUnsupportedFunctionalityError(e){return e instanceof Error&&e.name===ae&&typeof e.functionality==="string"}toJSON(){return{name:this.name,message:this.message,stack:this.stack,functionality:this.functionality}}};le=ce;var pe=__nccwpck_require__(4642);function dist_createParser(e){let t;let r;let s;let n;let o;let i;let a;reset();return{feed:feed,reset:reset};function reset(){t=true;r="";s=0;n=-1;o=void 0;i=void 0;a=""}function feed(e){r=r?r+e:e;if(t&&hasBom(r)){r=r.slice(de.length)}t=false;const o=r.length;let i=0;let a=false;while(i0){r=r.slice(i)}}function parseEventStreamLine(t,r,s,n){if(n===0){if(a.length>0){e({type:"event",id:o,event:i||void 0,data:a.slice(0,-1)});a="";o=void 0}i=void 0;return}const A=s<0;const c=t.slice(r,r+(A?n:s));let l=0;if(A){l=n}else if(t[r+s+1]===" "){l=s+2}else{l=s+1}const u=r+l;const p=n-l;const d=t.slice(u,u+p).toString();if(c==="data"){a+=d?"".concat(d,"\n"):"\n"}else if(c==="event"){i=d}else if(c==="id"&&!d.includes("\0")){o=d}else if(c==="retry"){const t=parseInt(d,10);if(!Number.isNaN(t)){e({type:"reconnect-interval",value:t})}}}}const de=[239,187,191];function hasBom(e){return de.every(((t,r)=>e.charCodeAt(r)===t))}class EventSourceParserStream extends TransformStream{constructor(){let e;super({start(t){e=dist_createParser((e=>{if(e.type==="event"){t.enqueue(e)}}))},transform(t){e.feed(t)}})}}function combineHeaders(...e){return e.reduce(((e,t)=>({...e,...t!=null?t:{}})),{})}function convertAsyncGeneratorToReadableStream(e){return new ReadableStream({async pull(t){try{const{value:r,done:s}=await e.next();if(s){t.close()}else{t.enqueue(r)}}catch(e){t.error(e)}},cancel(){}})}function extractResponseHeaders(e){const t={};e.headers.forEach(((e,r)=>{t[r]=e}));return t}var ge=customAlphabet("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",7);function dist_getErrorMessage(e){if(e==null){return"unknown error"}if(typeof e==="string"){return e}if(e instanceof Error){return e.message}return JSON.stringify(e)}function isAbortError(e){return e instanceof Error&&(e.name==="AbortError"||e.name==="TimeoutError")}function dist_loadApiKey({apiKey:e,environmentVariableName:t,apiKeyParameterName:r="apiKey",description:s}){if(typeof e==="string"){return e}if(e!=null){throw new L({message:`${s} API key must be a string.`})}if(typeof process==="undefined"){throw new L({message:`${s} API key is missing. Pass it using the '${r}' parameter. Environment variables is not supported in this environment.`})}e=process.env[t];if(e==null){throw new L({message:`${s} API key is missing. Pass it using the '${r}' parameter or the ${t} environment variable.`})}if(typeof e!=="string"){throw new L({message:`${s} API key must be a string. The value of the ${t} environment variable is not a string.`})}return e}function loadSetting({settingValue:e,environmentVariableName:t,settingName:r,description:s}){if(typeof e==="string"){return e}if(e!=null){throw new LoadSettingError({message:`${s} setting must be a string.`})}if(typeof process==="undefined"){throw new LoadSettingError({message:`${s} setting is missing. Pass it using the '${r}' parameter. Environment variables is not supported in this environment.`})}e=process.env[t];if(e==null){throw new LoadSettingError({message:`${s} setting is missing. Pass it using the '${r}' parameter or the ${t} environment variable.`})}if(typeof e!=="string"){throw new LoadSettingError({message:`${s} setting must be a string. The value of the ${t} environment variable is not a string.`})}return e}var he=Symbol.for("vercel.ai.validator");function validator(e){return{[he]:true,validate:e}}function isValidator(e){return typeof e==="object"&&e!==null&&he in e&&e[he]===true&&"validate"in e}function asValidator(e){return isValidator(e)?e:zodValidator(e)}function zodValidator(e){return validator((t=>{const r=e.safeParse(t);return r.success?{success:true,value:r.data}:{success:false,error:r.error}}))}function validateTypes({value:e,schema:t}){const r=dist_safeValidateTypes({value:e,schema:t});if(!r.success){throw ie.wrap({value:e,cause:r.error})}return r.value}function dist_safeValidateTypes({value:e,schema:t}){const r=asValidator(t);try{if(r.validate==null){return{success:true,value:e}}const t=r.validate(e);if(t.success){return t}return{success:false,error:ie.wrap({value:e,cause:t.error})}}catch(t){return{success:false,error:ie.wrap({value:e,cause:t})}}}function parseJSON({text:e,schema:t}){try{const r=pe.parse(e);if(t==null){return r}return validateTypes({value:r,schema:t})}catch(t){if(F.isJSONParseError(t)||ie.isTypeValidationError(t)){throw t}throw new F({text:e,cause:t})}}function dist_safeParseJSON({text:e,schema:t}){try{const r=pe.parse(e);if(t==null){return{success:true,value:r}}return dist_safeValidateTypes({value:r,schema:t})}catch(t){return{success:false,error:F.isJSONParseError(t)?t:new F({text:e,cause:t})}}}function isParsableJson(e){try{pe.parse(e);return true}catch(e){return false}}var fe=null&&isParsableJson;function removeUndefinedEntries(e){return Object.fromEntries(Object.entries(e).filter((([e,t])=>t!=null)))}var getOriginalFetch=()=>fetch;var postJsonToApi=async({url:e,headers:t,body:r,failedResponseHandler:s,successfulResponseHandler:n,abortSignal:o,fetch:i})=>postToApi({url:e,headers:{"Content-Type":"application/json",...t},body:{content:JSON.stringify(r),values:r},failedResponseHandler:s,successfulResponseHandler:n,abortSignal:o,fetch:i});var postToApi=async({url:e,headers:t={},body:r,successfulResponseHandler:s,failedResponseHandler:n,abortSignal:o,fetch:i=getOriginalFetch()})=>{try{const a=await i(e,{method:"POST",headers:removeUndefinedEntries(t),body:r.content,signal:o});const A=extractResponseHeaders(a);if(!a.ok){let t;try{t=await n({response:a,url:e,requestBodyValues:r.values})}catch(t){if(isAbortError(t)||d.isAPICallError(t)){throw t}throw new d({message:"Failed to process error response",cause:t,statusCode:a.status,url:e,responseHeaders:A,requestBodyValues:r.values})}throw t.value}try{return await s({response:a,url:e,requestBodyValues:r.values})}catch(t){if(t instanceof Error){if(isAbortError(t)||d.isAPICallError(t)){throw t}}throw new d({message:"Failed to process successful response",cause:t,statusCode:a.status,url:e,responseHeaders:A,requestBodyValues:r.values})}}catch(t){if(isAbortError(t)){throw t}if(t instanceof TypeError&&t.message==="fetch failed"){const s=t.cause;if(s!=null){throw new d({message:`Cannot connect to API: ${s.message}`,cause:s,url:e,requestBodyValues:r.values,isRetryable:true})}}throw t}};var createJsonErrorResponseHandler=({errorSchema:e,errorToMessage:t,isRetryable:r})=>async({response:s,url:n,requestBodyValues:o})=>{const i=await s.text();const a=extractResponseHeaders(s);if(i.trim()===""){return{responseHeaders:a,value:new d({message:s.statusText,url:n,requestBodyValues:o,statusCode:s.status,responseHeaders:a,responseBody:i,isRetryable:r==null?void 0:r(s)})}}try{const A=parseJSON({text:i,schema:e});return{responseHeaders:a,value:new d({message:t(A),url:n,requestBodyValues:o,statusCode:s.status,responseHeaders:a,responseBody:i,data:A,isRetryable:r==null?void 0:r(s,A)})}}catch(e){return{responseHeaders:a,value:new d({message:s.statusText,url:n,requestBodyValues:o,statusCode:s.status,responseHeaders:a,responseBody:i,isRetryable:r==null?void 0:r(s)})}}};var createEventSourceResponseHandler=e=>async({response:t})=>{const r=extractResponseHeaders(t);if(t.body==null){throw new C({})}return{responseHeaders:r,value:t.body.pipeThrough(new TextDecoderStream).pipeThrough(new EventSourceParserStream).pipeThrough(new TransformStream({transform({data:t},r){if(t==="[DONE]"){return}r.enqueue(dist_safeParseJSON({text:t,schema:e}))}}))}};var createJsonStreamResponseHandler=e=>async({response:t})=>{const r=extractResponseHeaders(t);if(t.body==null){throw new EmptyResponseBodyError({})}let s="";return{responseHeaders:r,value:t.body.pipeThrough(new TextDecoderStream).pipeThrough(new TransformStream({transform(t,r){if(t.endsWith("\n")){r.enqueue(dist_safeParseJSON({text:s+t,schema:e}));s=""}else{s+=t}}}))}};var createJsonResponseHandler=e=>async({response:t,url:r,requestBodyValues:s})=>{const n=await t.text();const o=dist_safeParseJSON({text:n,schema:e});const i=extractResponseHeaders(t);if(!o.success){throw new d({message:"Invalid JSON response",cause:o.error,statusCode:t.status,responseHeaders:i,responseBody:n,url:r,requestBodyValues:s})}return{responseHeaders:i,value:o.value}};var{btoa:me,atob:Ee}=globalThis;function convertBase64ToUint8Array(e){const t=e.replace(/-/g,"+").replace(/_/g,"/");const r=Ee(t);return Uint8Array.from(r,(e=>e.codePointAt(0)))}function dist_convertUint8ArrayToBase64(e){let t="";for(let r=0;rtypeof e==="string"?{...Be,name:e}:{...Be,...e};var Qe;(function(e){e.assertEqual=e=>e;function assertIs(e){}e.assertIs=assertIs;function assertNever(e){throw new Error}e.assertNever=assertNever;e.arrayToEnum=e=>{const t={};for(const r of e){t[r]=r}return t};e.getValidEnumValues=t=>{const r=e.objectKeys(t).filter((e=>typeof t[t[e]]!=="number"));const s={};for(const e of r){s[e]=t[e]}return e.objectValues(s)};e.objectValues=t=>e.objectKeys(t).map((function(e){return t[e]}));e.objectKeys=typeof Object.keys==="function"?e=>Object.keys(e):e=>{const t=[];for(const r in e){if(Object.prototype.hasOwnProperty.call(e,r)){t.push(r)}}return t};e.find=(e,t)=>{for(const r of e){if(t(r))return r}return undefined};e.isInteger=typeof Number.isInteger==="function"?e=>Number.isInteger(e):e=>typeof e==="number"&&isFinite(e)&&Math.floor(e)===e;function joinValues(e,t=" | "){return e.map((e=>typeof e==="string"?`'${e}'`:e)).join(t)}e.joinValues=joinValues;e.jsonStringifyReplacer=(e,t)=>{if(typeof t==="bigint"){return t.toString()}return t}})(Qe||(Qe={}));var be;(function(e){e.mergeShapes=(e,t)=>({...e,...t})})(be||(be={}));const ye=Qe.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]);const getParsedType=e=>{const t=typeof e;switch(t){case"undefined":return ye.undefined;case"string":return ye.string;case"number":return isNaN(e)?ye.nan:ye.number;case"boolean":return ye.boolean;case"function":return ye.function;case"bigint":return ye.bigint;case"symbol":return ye.symbol;case"object":if(Array.isArray(e)){return ye.array}if(e===null){return ye.null}if(e.then&&typeof e.then==="function"&&e.catch&&typeof e.catch==="function"){return ye.promise}if(typeof Map!=="undefined"&&e instanceof Map){return ye.map}if(typeof Set!=="undefined"&&e instanceof Set){return ye.set}if(typeof Date!=="undefined"&&e instanceof Date){return ye.date}return ye.object;default:return ye.unknown}};const ve=Qe.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);const quotelessJson=e=>{const t=JSON.stringify(e,null,2);return t.replace(/"([^"]+)":/g,"$1:")};class ZodError extends Error{constructor(e){super();this.issues=[];this.addIssue=e=>{this.issues=[...this.issues,e]};this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};const t=new.target.prototype;if(Object.setPrototypeOf){Object.setPrototypeOf(this,t)}else{this.__proto__=t}this.name="ZodError";this.issues=e}get errors(){return this.issues}format(e){const t=e||function(e){return e.message};const r={_errors:[]};const processError=e=>{for(const s of e.issues){if(s.code==="invalid_union"){s.unionErrors.map(processError)}else if(s.code==="invalid_return_type"){processError(s.returnTypeError)}else if(s.code==="invalid_arguments"){processError(s.argumentsError)}else if(s.path.length===0){r._errors.push(t(s))}else{let e=r;let n=0;while(ne.message)){const t={};const r=[];for(const s of this.issues){if(s.path.length>0){t[s.path[0]]=t[s.path[0]]||[];t[s.path[0]].push(e(s))}else{r.push(e(s))}}return{formErrors:r,fieldErrors:t}}get formErrors(){return this.flatten()}}ZodError.create=e=>{const t=new ZodError(e);return t};const errorMap=(e,t)=>{let r;switch(e.code){case ve.invalid_type:if(e.received===ye.undefined){r="Required"}else{r=`Expected ${e.expected}, received ${e.received}`}break;case ve.invalid_literal:r=`Invalid literal value, expected ${JSON.stringify(e.expected,Qe.jsonStringifyReplacer)}`;break;case ve.unrecognized_keys:r=`Unrecognized key(s) in object: ${Qe.joinValues(e.keys,", ")}`;break;case ve.invalid_union:r=`Invalid input`;break;case ve.invalid_union_discriminator:r=`Invalid discriminator value. Expected ${Qe.joinValues(e.options)}`;break;case ve.invalid_enum_value:r=`Invalid enum value. Expected ${Qe.joinValues(e.options)}, received '${e.received}'`;break;case ve.invalid_arguments:r=`Invalid function arguments`;break;case ve.invalid_return_type:r=`Invalid function return type`;break;case ve.invalid_date:r=`Invalid date`;break;case ve.invalid_string:if(typeof e.validation==="object"){if("includes"in e.validation){r=`Invalid input: must include "${e.validation.includes}"`;if(typeof e.validation.position==="number"){r=`${r} at one or more positions greater than or equal to ${e.validation.position}`}}else if("startsWith"in e.validation){r=`Invalid input: must start with "${e.validation.startsWith}"`}else if("endsWith"in e.validation){r=`Invalid input: must end with "${e.validation.endsWith}"`}else{Qe.assertNever(e.validation)}}else if(e.validation!=="regex"){r=`Invalid ${e.validation}`}else{r="Invalid"}break;case ve.too_small:if(e.type==="array")r=`Array must contain ${e.exact?"exactly":e.inclusive?`at least`:`more than`} ${e.minimum} element(s)`;else if(e.type==="string")r=`String must contain ${e.exact?"exactly":e.inclusive?`at least`:`over`} ${e.minimum} character(s)`;else if(e.type==="number")r=`Number must be ${e.exact?`exactly equal to `:e.inclusive?`greater than or equal to `:`greater than `}${e.minimum}`;else if(e.type==="date")r=`Date must be ${e.exact?`exactly equal to `:e.inclusive?`greater than or equal to `:`greater than `}${new Date(Number(e.minimum))}`;else r="Invalid input";break;case ve.too_big:if(e.type==="array")r=`Array must contain ${e.exact?`exactly`:e.inclusive?`at most`:`less than`} ${e.maximum} element(s)`;else if(e.type==="string")r=`String must contain ${e.exact?`exactly`:e.inclusive?`at most`:`under`} ${e.maximum} character(s)`;else if(e.type==="number")r=`Number must be ${e.exact?`exactly`:e.inclusive?`less than or equal to`:`less than`} ${e.maximum}`;else if(e.type==="bigint")r=`BigInt must be ${e.exact?`exactly`:e.inclusive?`less than or equal to`:`less than`} ${e.maximum}`;else if(e.type==="date")r=`Date must be ${e.exact?`exactly`:e.inclusive?`smaller than or equal to`:`smaller than`} ${new Date(Number(e.maximum))}`;else r="Invalid input";break;case ve.custom:r=`Invalid input`;break;case ve.invalid_intersection_types:r=`Intersection results could not be merged`;break;case ve.not_multiple_of:r=`Number must be a multiple of ${e.multipleOf}`;break;case ve.not_finite:r="Number must be finite";break;default:r=t.defaultError;Qe.assertNever(e)}return{message:r}};let we=errorMap;function setErrorMap(e){we=e}function getErrorMap(){return we}const makeIssue=e=>{const{data:t,path:r,errorMaps:s,issueData:n}=e;const o=[...r,...n.path||[]];const i={...n,path:o};if(n.message!==undefined){return{...n,path:o,message:n.message}}let a="";const A=s.filter((e=>!!e)).slice().reverse();for(const e of A){a=e(i,{data:t,defaultError:a}).message}return{...n,path:o,message:a}};const xe=[];function addIssueToContext(e,t){const r=getErrorMap();const s=makeIssue({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,r,r===errorMap?undefined:errorMap].filter((e=>!!e))});e.common.issues.push(s)}class ParseStatus{constructor(){this.value="valid"}dirty(){if(this.value==="valid")this.value="dirty"}abort(){if(this.value!=="aborted")this.value="aborted"}static mergeArray(e,t){const r=[];for(const s of t){if(s.status==="aborted")return ke;if(s.status==="dirty")e.dirty();r.push(s.value)}return{status:e.value,value:r}}static async mergeObjectAsync(e,t){const r=[];for(const e of t){const t=await e.key;const s=await e.value;r.push({key:t,value:s})}return ParseStatus.mergeObjectSync(e,r)}static mergeObjectSync(e,t){const r={};for(const s of t){const{key:t,value:n}=s;if(t.status==="aborted")return ke;if(n.status==="aborted")return ke;if(t.status==="dirty")e.dirty();if(n.status==="dirty")e.dirty();if(t.value!=="__proto__"&&(typeof n.value!=="undefined"||s.alwaysSet)){r[t.value]=n.value}}return{status:e.value,value:r}}}const ke=Object.freeze({status:"aborted"});const DIRTY=e=>({status:"dirty",value:e});const OK=e=>({status:"valid",value:e});const isAborted=e=>e.status==="aborted";const isDirty=e=>e.status==="dirty";const isValid=e=>e.status==="valid";const isAsync=e=>typeof Promise!=="undefined"&&e instanceof Promise;function __classPrivateFieldGet(e,t,r,s){if(r==="a"&&!s)throw new TypeError("Private accessor was defined without a getter");if(typeof t==="function"?e!==t||!s:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?s:r==="a"?s.call(e):s?s.value:t.get(e)}function __classPrivateFieldSet(e,t,r,s,n){if(s==="m")throw new TypeError("Private method is not writable");if(s==="a"&&!n)throw new TypeError("Private accessor was defined without a setter");if(typeof t==="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return s==="a"?n.call(e,r):n?n.value=r:t.set(e,r),r}typeof SuppressedError==="function"?SuppressedError:function(e,t,r){var s=new Error(r);return s.name="SuppressedError",s.error=e,s.suppressed=t,s};var Re;(function(e){e.errToObj=e=>typeof e==="string"?{message:e}:e||{};e.toString=e=>typeof e==="string"?e:e===null||e===void 0?void 0:e.message})(Re||(Re={}));var Se,De;class ParseInputLazyPath{constructor(e,t,r,s){this._cachedPath=[];this.parent=e;this.data=t;this._path=r;this._key=s}get path(){if(!this._cachedPath.length){if(this._key instanceof Array){this._cachedPath.push(...this._path,...this._key)}else{this._cachedPath.push(...this._path,this._key)}}return this._cachedPath}}const handleResult=(e,t)=>{if(isValid(t)){return{success:true,data:t.value}}else{if(!e.common.issues.length){throw new Error("Validation failed but no issues detected.")}return{success:false,get error(){if(this._error)return this._error;const t=new ZodError(e.common.issues);this._error=t;return this._error}}}};function processCreateParams(e){if(!e)return{};const{errorMap:t,invalid_type_error:r,required_error:s,description:n}=e;if(t&&(r||s)){throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`)}if(t)return{errorMap:t,description:n};const customMap=(t,n)=>{var o,i;const{message:a}=e;if(t.code==="invalid_enum_value"){return{message:a!==null&&a!==void 0?a:n.defaultError}}if(typeof n.data==="undefined"){return{message:(o=a!==null&&a!==void 0?a:s)!==null&&o!==void 0?o:n.defaultError}}if(t.code!=="invalid_type")return{message:n.defaultError};return{message:(i=a!==null&&a!==void 0?a:r)!==null&&i!==void 0?i:n.defaultError}};return{errorMap:customMap,description:n}}class ZodType{constructor(e){this.spa=this.safeParseAsync;this._def=e;this.parse=this.parse.bind(this);this.safeParse=this.safeParse.bind(this);this.parseAsync=this.parseAsync.bind(this);this.safeParseAsync=this.safeParseAsync.bind(this);this.spa=this.spa.bind(this);this.refine=this.refine.bind(this);this.refinement=this.refinement.bind(this);this.superRefine=this.superRefine.bind(this);this.optional=this.optional.bind(this);this.nullable=this.nullable.bind(this);this.nullish=this.nullish.bind(this);this.array=this.array.bind(this);this.promise=this.promise.bind(this);this.or=this.or.bind(this);this.and=this.and.bind(this);this.transform=this.transform.bind(this);this.brand=this.brand.bind(this);this.default=this.default.bind(this);this.catch=this.catch.bind(this);this.describe=this.describe.bind(this);this.pipe=this.pipe.bind(this);this.readonly=this.readonly.bind(this);this.isNullable=this.isNullable.bind(this);this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return getParsedType(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:getParsedType(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new ParseStatus,ctx:{common:e.parent.common,data:e.data,parsedType:getParsedType(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const t=this._parse(e);if(isAsync(t)){throw new Error("Synchronous parse encountered promise.")}return t}_parseAsync(e){const t=this._parse(e);return Promise.resolve(t)}parse(e,t){const r=this.safeParse(e,t);if(r.success)return r.data;throw r.error}safeParse(e,t){var r;const s={common:{issues:[],async:(r=t===null||t===void 0?void 0:t.async)!==null&&r!==void 0?r:false,contextualErrorMap:t===null||t===void 0?void 0:t.errorMap},path:(t===null||t===void 0?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:getParsedType(e)};const n=this._parseSync({data:e,path:s.path,parent:s});return handleResult(s,n)}async parseAsync(e,t){const r=await this.safeParseAsync(e,t);if(r.success)return r.data;throw r.error}async safeParseAsync(e,t){const r={common:{issues:[],contextualErrorMap:t===null||t===void 0?void 0:t.errorMap,async:true},path:(t===null||t===void 0?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:getParsedType(e)};const s=this._parse({data:e,path:r.path,parent:r});const n=await(isAsync(s)?s:Promise.resolve(s));return handleResult(r,n)}refine(e,t){const getIssueProperties=e=>{if(typeof t==="string"||typeof t==="undefined"){return{message:t}}else if(typeof t==="function"){return t(e)}else{return t}};return this._refinement(((t,r)=>{const s=e(t);const setError=()=>r.addIssue({code:ve.custom,...getIssueProperties(t)});if(typeof Promise!=="undefined"&&s instanceof Promise){return s.then((e=>{if(!e){setError();return false}else{return true}}))}if(!s){setError();return false}else{return true}}))}refinement(e,t){return this._refinement(((r,s)=>{if(!e(r)){s.addIssue(typeof t==="function"?t(r,s):t);return false}else{return true}}))}_refinement(e){return new ZodEffects({schema:this,typeName:We.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return ZodOptional.create(this,this._def)}nullable(){return ZodNullable.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ZodArray.create(this,this._def)}promise(){return ZodPromise.create(this,this._def)}or(e){return ZodUnion.create([this,e],this._def)}and(e){return ZodIntersection.create(this,e,this._def)}transform(e){return new ZodEffects({...processCreateParams(this._def),schema:this,typeName:We.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const t=typeof e==="function"?e:()=>e;return new ZodDefault({...processCreateParams(this._def),innerType:this,defaultValue:t,typeName:We.ZodDefault})}brand(){return new ZodBranded({typeName:We.ZodBranded,type:this,...processCreateParams(this._def)})}catch(e){const t=typeof e==="function"?e:()=>e;return new ZodCatch({...processCreateParams(this._def),innerType:this,catchValue:t,typeName:We.ZodCatch})}describe(e){const t=this.constructor;return new t({...this._def,description:e})}pipe(e){return ZodPipeline.create(this,e)}readonly(){return ZodReadonly.create(this)}isOptional(){return this.safeParse(undefined).success}isNullable(){return this.safeParse(null).success}}const Te=/^c[^\s-]{8,}$/i;const _e=/^[0-9a-z]+$/;const Fe=/^[0-9A-HJKMNP-TV-Z]{26}$/;const Ne=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i;const Ue=/^[a-z0-9_-]{21}$/i;const Oe=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/;const Me=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i;const Le=`^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`;let Pe;const Ge=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/;const He=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/;const je=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/;const Ve=`((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))`;const Je=new RegExp(`^${Ve}$`);function timeRegexSource(e){let t=`([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d`;if(e.precision){t=`${t}\\.\\d{${e.precision}}`}else if(e.precision==null){t=`${t}(\\.\\d+)?`}return t}function timeRegex(e){return new RegExp(`^${timeRegexSource(e)}$`)}function datetimeRegex(e){let t=`${Ve}T${timeRegexSource(e)}`;const r=[];r.push(e.local?`Z?`:`Z`);if(e.offset)r.push(`([+-]\\d{2}:?\\d{2})`);t=`${t}(${r.join("|")})`;return new RegExp(`^${t}$`)}function isValidIP(e,t){if((t==="v4"||!t)&&Ge.test(e)){return true}if((t==="v6"||!t)&&He.test(e)){return true}return false}class ZodString extends ZodType{_parse(e){if(this._def.coerce){e.data=String(e.data)}const t=this._getType(e);if(t!==ye.string){const t=this._getOrReturnCtx(e);addIssueToContext(t,{code:ve.invalid_type,expected:ye.string,received:t.parsedType});return ke}const r=new ParseStatus;let s=undefined;for(const t of this._def.checks){if(t.kind==="min"){if(e.data.lengtht.value){s=this._getOrReturnCtx(e,s);addIssueToContext(s,{code:ve.too_big,maximum:t.value,type:"string",inclusive:true,exact:false,message:t.message});r.dirty()}}else if(t.kind==="length"){const n=e.data.length>t.value;const o=e.data.lengthe.test(t)),{validation:t,code:ve.invalid_string,...Re.errToObj(r)})}_addCheck(e){return new ZodString({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...Re.errToObj(e)})}url(e){return this._addCheck({kind:"url",...Re.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...Re.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...Re.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...Re.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...Re.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...Re.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...Re.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...Re.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...Re.errToObj(e)})}datetime(e){var t,r;if(typeof e==="string"){return this._addCheck({kind:"datetime",precision:null,offset:false,local:false,message:e})}return this._addCheck({kind:"datetime",precision:typeof(e===null||e===void 0?void 0:e.precision)==="undefined"?null:e===null||e===void 0?void 0:e.precision,offset:(t=e===null||e===void 0?void 0:e.offset)!==null&&t!==void 0?t:false,local:(r=e===null||e===void 0?void 0:e.local)!==null&&r!==void 0?r:false,...Re.errToObj(e===null||e===void 0?void 0:e.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){if(typeof e==="string"){return this._addCheck({kind:"time",precision:null,message:e})}return this._addCheck({kind:"time",precision:typeof(e===null||e===void 0?void 0:e.precision)==="undefined"?null:e===null||e===void 0?void 0:e.precision,...Re.errToObj(e===null||e===void 0?void 0:e.message)})}duration(e){return this._addCheck({kind:"duration",...Re.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...Re.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:t===null||t===void 0?void 0:t.position,...Re.errToObj(t===null||t===void 0?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...Re.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...Re.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...Re.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...Re.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...Re.errToObj(t)})}nonempty(e){return this.min(1,Re.errToObj(e))}trim(){return new ZodString({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new ZodString({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new ZodString({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find((e=>e.kind==="datetime"))}get isDate(){return!!this._def.checks.find((e=>e.kind==="date"))}get isTime(){return!!this._def.checks.find((e=>e.kind==="time"))}get isDuration(){return!!this._def.checks.find((e=>e.kind==="duration"))}get isEmail(){return!!this._def.checks.find((e=>e.kind==="email"))}get isURL(){return!!this._def.checks.find((e=>e.kind==="url"))}get isEmoji(){return!!this._def.checks.find((e=>e.kind==="emoji"))}get isUUID(){return!!this._def.checks.find((e=>e.kind==="uuid"))}get isNANOID(){return!!this._def.checks.find((e=>e.kind==="nanoid"))}get isCUID(){return!!this._def.checks.find((e=>e.kind==="cuid"))}get isCUID2(){return!!this._def.checks.find((e=>e.kind==="cuid2"))}get isULID(){return!!this._def.checks.find((e=>e.kind==="ulid"))}get isIP(){return!!this._def.checks.find((e=>e.kind==="ip"))}get isBase64(){return!!this._def.checks.find((e=>e.kind==="base64"))}get minLength(){let e=null;for(const t of this._def.checks){if(t.kind==="min"){if(e===null||t.value>e)e=t.value}}return e}get maxLength(){let e=null;for(const t of this._def.checks){if(t.kind==="max"){if(e===null||t.value{var t;return new ZodString({checks:[],typeName:We.ZodString,coerce:(t=e===null||e===void 0?void 0:e.coerce)!==null&&t!==void 0?t:false,...processCreateParams(e)})};function floatSafeRemainder(e,t){const r=(e.toString().split(".")[1]||"").length;const s=(t.toString().split(".")[1]||"").length;const n=r>s?r:s;const o=parseInt(e.toFixed(n).replace(".",""));const i=parseInt(t.toFixed(n).replace(".",""));return o%i/Math.pow(10,n)}class ZodNumber extends ZodType{constructor(){super(...arguments);this.min=this.gte;this.max=this.lte;this.step=this.multipleOf}_parse(e){if(this._def.coerce){e.data=Number(e.data)}const t=this._getType(e);if(t!==ye.number){const t=this._getOrReturnCtx(e);addIssueToContext(t,{code:ve.invalid_type,expected:ye.number,received:t.parsedType});return ke}let r=undefined;const s=new ParseStatus;for(const t of this._def.checks){if(t.kind==="int"){if(!Qe.isInteger(e.data)){r=this._getOrReturnCtx(e,r);addIssueToContext(r,{code:ve.invalid_type,expected:"integer",received:"float",message:t.message});s.dirty()}}else if(t.kind==="min"){const n=t.inclusive?e.datat.value:e.data>=t.value;if(n){r=this._getOrReturnCtx(e,r);addIssueToContext(r,{code:ve.too_big,maximum:t.value,type:"number",inclusive:t.inclusive,exact:false,message:t.message});s.dirty()}}else if(t.kind==="multipleOf"){if(floatSafeRemainder(e.data,t.value)!==0){r=this._getOrReturnCtx(e,r);addIssueToContext(r,{code:ve.not_multiple_of,multipleOf:t.value,message:t.message});s.dirty()}}else if(t.kind==="finite"){if(!Number.isFinite(e.data)){r=this._getOrReturnCtx(e,r);addIssueToContext(r,{code:ve.not_finite,message:t.message});s.dirty()}}else{Qe.assertNever(t)}}return{status:s.value,value:e.data}}gte(e,t){return this.setLimit("min",e,true,Re.toString(t))}gt(e,t){return this.setLimit("min",e,false,Re.toString(t))}lte(e,t){return this.setLimit("max",e,true,Re.toString(t))}lt(e,t){return this.setLimit("max",e,false,Re.toString(t))}setLimit(e,t,r,s){return new ZodNumber({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:Re.toString(s)}]})}_addCheck(e){return new ZodNumber({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:Re.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:false,message:Re.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:false,message:Re.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:true,message:Re.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:true,message:Re.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:Re.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:Re.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:true,value:Number.MIN_SAFE_INTEGER,message:Re.toString(e)})._addCheck({kind:"max",inclusive:true,value:Number.MAX_SAFE_INTEGER,message:Re.toString(e)})}get minValue(){let e=null;for(const t of this._def.checks){if(t.kind==="min"){if(e===null||t.value>e)e=t.value}}return e}get maxValue(){let e=null;for(const t of this._def.checks){if(t.kind==="max"){if(e===null||t.valuee.kind==="int"||e.kind==="multipleOf"&&Qe.isInteger(e.value)))}get isFinite(){let e=null,t=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf"){return true}else if(r.kind==="min"){if(t===null||r.value>t)t=r.value}else if(r.kind==="max"){if(e===null||r.valuenew ZodNumber({checks:[],typeName:We.ZodNumber,coerce:(e===null||e===void 0?void 0:e.coerce)||false,...processCreateParams(e)});class ZodBigInt extends ZodType{constructor(){super(...arguments);this.min=this.gte;this.max=this.lte}_parse(e){if(this._def.coerce){e.data=BigInt(e.data)}const t=this._getType(e);if(t!==ye.bigint){const t=this._getOrReturnCtx(e);addIssueToContext(t,{code:ve.invalid_type,expected:ye.bigint,received:t.parsedType});return ke}let r=undefined;const s=new ParseStatus;for(const t of this._def.checks){if(t.kind==="min"){const n=t.inclusive?e.datat.value:e.data>=t.value;if(n){r=this._getOrReturnCtx(e,r);addIssueToContext(r,{code:ve.too_big,type:"bigint",maximum:t.value,inclusive:t.inclusive,message:t.message});s.dirty()}}else if(t.kind==="multipleOf"){if(e.data%t.value!==BigInt(0)){r=this._getOrReturnCtx(e,r);addIssueToContext(r,{code:ve.not_multiple_of,multipleOf:t.value,message:t.message});s.dirty()}}else{Qe.assertNever(t)}}return{status:s.value,value:e.data}}gte(e,t){return this.setLimit("min",e,true,Re.toString(t))}gt(e,t){return this.setLimit("min",e,false,Re.toString(t))}lte(e,t){return this.setLimit("max",e,true,Re.toString(t))}lt(e,t){return this.setLimit("max",e,false,Re.toString(t))}setLimit(e,t,r,s){return new ZodBigInt({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:Re.toString(s)}]})}_addCheck(e){return new ZodBigInt({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:false,message:Re.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:false,message:Re.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:true,message:Re.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:true,message:Re.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:Re.toString(t)})}get minValue(){let e=null;for(const t of this._def.checks){if(t.kind==="min"){if(e===null||t.value>e)e=t.value}}return e}get maxValue(){let e=null;for(const t of this._def.checks){if(t.kind==="max"){if(e===null||t.value{var t;return new ZodBigInt({checks:[],typeName:We.ZodBigInt,coerce:(t=e===null||e===void 0?void 0:e.coerce)!==null&&t!==void 0?t:false,...processCreateParams(e)})};class ZodBoolean extends ZodType{_parse(e){if(this._def.coerce){e.data=Boolean(e.data)}const t=this._getType(e);if(t!==ye.boolean){const t=this._getOrReturnCtx(e);addIssueToContext(t,{code:ve.invalid_type,expected:ye.boolean,received:t.parsedType});return ke}return OK(e.data)}}ZodBoolean.create=e=>new ZodBoolean({typeName:We.ZodBoolean,coerce:(e===null||e===void 0?void 0:e.coerce)||false,...processCreateParams(e)});class ZodDate extends ZodType{_parse(e){if(this._def.coerce){e.data=new Date(e.data)}const t=this._getType(e);if(t!==ye.date){const t=this._getOrReturnCtx(e);addIssueToContext(t,{code:ve.invalid_type,expected:ye.date,received:t.parsedType});return ke}if(isNaN(e.data.getTime())){const t=this._getOrReturnCtx(e);addIssueToContext(t,{code:ve.invalid_date});return ke}const r=new ParseStatus;let s=undefined;for(const t of this._def.checks){if(t.kind==="min"){if(e.data.getTime()t.value){s=this._getOrReturnCtx(e,s);addIssueToContext(s,{code:ve.too_big,message:t.message,inclusive:true,exact:false,maximum:t.value,type:"date"});r.dirty()}}else{Qe.assertNever(t)}}return{status:r.value,value:new Date(e.data.getTime())}}_addCheck(e){return new ZodDate({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:Re.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:Re.toString(t)})}get minDate(){let e=null;for(const t of this._def.checks){if(t.kind==="min"){if(e===null||t.value>e)e=t.value}}return e!=null?new Date(e):null}get maxDate(){let e=null;for(const t of this._def.checks){if(t.kind==="max"){if(e===null||t.valuenew ZodDate({checks:[],coerce:(e===null||e===void 0?void 0:e.coerce)||false,typeName:We.ZodDate,...processCreateParams(e)});class ZodSymbol extends ZodType{_parse(e){const t=this._getType(e);if(t!==ye.symbol){const t=this._getOrReturnCtx(e);addIssueToContext(t,{code:ve.invalid_type,expected:ye.symbol,received:t.parsedType});return ke}return OK(e.data)}}ZodSymbol.create=e=>new ZodSymbol({typeName:We.ZodSymbol,...processCreateParams(e)});class ZodUndefined extends ZodType{_parse(e){const t=this._getType(e);if(t!==ye.undefined){const t=this._getOrReturnCtx(e);addIssueToContext(t,{code:ve.invalid_type,expected:ye.undefined,received:t.parsedType});return ke}return OK(e.data)}}ZodUndefined.create=e=>new ZodUndefined({typeName:We.ZodUndefined,...processCreateParams(e)});class ZodNull extends ZodType{_parse(e){const t=this._getType(e);if(t!==ye.null){const t=this._getOrReturnCtx(e);addIssueToContext(t,{code:ve.invalid_type,expected:ye.null,received:t.parsedType});return ke}return OK(e.data)}}ZodNull.create=e=>new ZodNull({typeName:We.ZodNull,...processCreateParams(e)});class ZodAny extends ZodType{constructor(){super(...arguments);this._any=true}_parse(e){return OK(e.data)}}ZodAny.create=e=>new ZodAny({typeName:We.ZodAny,...processCreateParams(e)});class ZodUnknown extends ZodType{constructor(){super(...arguments);this._unknown=true}_parse(e){return OK(e.data)}}ZodUnknown.create=e=>new ZodUnknown({typeName:We.ZodUnknown,...processCreateParams(e)});class ZodNever extends ZodType{_parse(e){const t=this._getOrReturnCtx(e);addIssueToContext(t,{code:ve.invalid_type,expected:ye.never,received:t.parsedType});return ke}}ZodNever.create=e=>new ZodNever({typeName:We.ZodNever,...processCreateParams(e)});class ZodVoid extends ZodType{_parse(e){const t=this._getType(e);if(t!==ye.undefined){const t=this._getOrReturnCtx(e);addIssueToContext(t,{code:ve.invalid_type,expected:ye.void,received:t.parsedType});return ke}return OK(e.data)}}ZodVoid.create=e=>new ZodVoid({typeName:We.ZodVoid,...processCreateParams(e)});class ZodArray extends ZodType{_parse(e){const{ctx:t,status:r}=this._processInputParams(e);const s=this._def;if(t.parsedType!==ye.array){addIssueToContext(t,{code:ve.invalid_type,expected:ye.array,received:t.parsedType});return ke}if(s.exactLength!==null){const e=t.data.length>s.exactLength.value;const n=t.data.lengths.maxLength.value){addIssueToContext(t,{code:ve.too_big,maximum:s.maxLength.value,type:"array",inclusive:true,exact:false,message:s.maxLength.message});r.dirty()}}if(t.common.async){return Promise.all([...t.data].map(((e,r)=>s.type._parseAsync(new ParseInputLazyPath(t,e,t.path,r))))).then((e=>ParseStatus.mergeArray(r,e)))}const n=[...t.data].map(((e,r)=>s.type._parseSync(new ParseInputLazyPath(t,e,t.path,r))));return ParseStatus.mergeArray(r,n)}get element(){return this._def.type}min(e,t){return new ZodArray({...this._def,minLength:{value:e,message:Re.toString(t)}})}max(e,t){return new ZodArray({...this._def,maxLength:{value:e,message:Re.toString(t)}})}length(e,t){return new ZodArray({...this._def,exactLength:{value:e,message:Re.toString(t)}})}nonempty(e){return this.min(1,e)}}ZodArray.create=(e,t)=>new ZodArray({type:e,minLength:null,maxLength:null,exactLength:null,typeName:We.ZodArray,...processCreateParams(t)});function deepPartialify(e){if(e instanceof ZodObject){const t={};for(const r in e.shape){const s=e.shape[r];t[r]=ZodOptional.create(deepPartialify(s))}return new ZodObject({...e._def,shape:()=>t})}else if(e instanceof ZodArray){return new ZodArray({...e._def,type:deepPartialify(e.element)})}else if(e instanceof ZodOptional){return ZodOptional.create(deepPartialify(e.unwrap()))}else if(e instanceof ZodNullable){return ZodNullable.create(deepPartialify(e.unwrap()))}else if(e instanceof ZodTuple){return ZodTuple.create(e.items.map((e=>deepPartialify(e))))}else{return e}}class ZodObject extends ZodType{constructor(){super(...arguments);this._cached=null;this.nonstrict=this.passthrough;this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const e=this._def.shape();const t=Qe.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){const t=this._getType(e);if(t!==ye.object){const t=this._getOrReturnCtx(e);addIssueToContext(t,{code:ve.invalid_type,expected:ye.object,received:t.parsedType});return ke}const{status:r,ctx:s}=this._processInputParams(e);const{shape:n,keys:o}=this._getCached();const i=[];if(!(this._def.catchall instanceof ZodNever&&this._def.unknownKeys==="strip")){for(const e in s.data){if(!o.includes(e)){i.push(e)}}}const a=[];for(const e of o){const t=n[e];const r=s.data[e];a.push({key:{status:"valid",value:e},value:t._parse(new ParseInputLazyPath(s,r,s.path,e)),alwaysSet:e in s.data})}if(this._def.catchall instanceof ZodNever){const e=this._def.unknownKeys;if(e==="passthrough"){for(const e of i){a.push({key:{status:"valid",value:e},value:{status:"valid",value:s.data[e]}})}}else if(e==="strict"){if(i.length>0){addIssueToContext(s,{code:ve.unrecognized_keys,keys:i});r.dirty()}}else if(e==="strip");else{throw new Error(`Internal ZodObject error: invalid unknownKeys value.`)}}else{const e=this._def.catchall;for(const t of i){const r=s.data[t];a.push({key:{status:"valid",value:t},value:e._parse(new ParseInputLazyPath(s,r,s.path,t)),alwaysSet:t in s.data})}}if(s.common.async){return Promise.resolve().then((async()=>{const e=[];for(const t of a){const r=await t.key;const s=await t.value;e.push({key:r,value:s,alwaysSet:t.alwaysSet})}return e})).then((e=>ParseStatus.mergeObjectSync(r,e)))}else{return ParseStatus.mergeObjectSync(r,a)}}get shape(){return this._def.shape()}strict(e){Re.errToObj;return new ZodObject({...this._def,unknownKeys:"strict",...e!==undefined?{errorMap:(t,r)=>{var s,n,o,i;const a=(o=(n=(s=this._def).errorMap)===null||n===void 0?void 0:n.call(s,t,r).message)!==null&&o!==void 0?o:r.defaultError;if(t.code==="unrecognized_keys")return{message:(i=Re.errToObj(e).message)!==null&&i!==void 0?i:a};return{message:a}}}:{}})}strip(){return new ZodObject({...this._def,unknownKeys:"strip"})}passthrough(){return new ZodObject({...this._def,unknownKeys:"passthrough"})}extend(e){return new ZodObject({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){const t=new ZodObject({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:We.ZodObject});return t}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new ZodObject({...this._def,catchall:e})}pick(e){const t={};Qe.objectKeys(e).forEach((r=>{if(e[r]&&this.shape[r]){t[r]=this.shape[r]}}));return new ZodObject({...this._def,shape:()=>t})}omit(e){const t={};Qe.objectKeys(this.shape).forEach((r=>{if(!e[r]){t[r]=this.shape[r]}}));return new ZodObject({...this._def,shape:()=>t})}deepPartial(){return deepPartialify(this)}partial(e){const t={};Qe.objectKeys(this.shape).forEach((r=>{const s=this.shape[r];if(e&&!e[r]){t[r]=s}else{t[r]=s.optional()}}));return new ZodObject({...this._def,shape:()=>t})}required(e){const t={};Qe.objectKeys(this.shape).forEach((r=>{if(e&&!e[r]){t[r]=this.shape[r]}else{const e=this.shape[r];let s=e;while(s instanceof ZodOptional){s=s._def.innerType}t[r]=s}}));return new ZodObject({...this._def,shape:()=>t})}keyof(){return createZodEnum(Qe.objectKeys(this.shape))}}ZodObject.create=(e,t)=>new ZodObject({shape:()=>e,unknownKeys:"strip",catchall:ZodNever.create(),typeName:We.ZodObject,...processCreateParams(t)});ZodObject.strictCreate=(e,t)=>new ZodObject({shape:()=>e,unknownKeys:"strict",catchall:ZodNever.create(),typeName:We.ZodObject,...processCreateParams(t)});ZodObject.lazycreate=(e,t)=>new ZodObject({shape:e,unknownKeys:"strip",catchall:ZodNever.create(),typeName:We.ZodObject,...processCreateParams(t)});class ZodUnion extends ZodType{_parse(e){const{ctx:t}=this._processInputParams(e);const r=this._def.options;function handleResults(e){for(const t of e){if(t.result.status==="valid"){return t.result}}for(const r of e){if(r.result.status==="dirty"){t.common.issues.push(...r.ctx.common.issues);return r.result}}const r=e.map((e=>new ZodError(e.ctx.common.issues)));addIssueToContext(t,{code:ve.invalid_union,unionErrors:r});return ke}if(t.common.async){return Promise.all(r.map((async e=>{const r={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:r}),ctx:r}}))).then(handleResults)}else{let e=undefined;const s=[];for(const n of r){const r={...t,common:{...t.common,issues:[]},parent:null};const o=n._parseSync({data:t.data,path:t.path,parent:r});if(o.status==="valid"){return o}else if(o.status==="dirty"&&!e){e={result:o,ctx:r}}if(r.common.issues.length){s.push(r.common.issues)}}if(e){t.common.issues.push(...e.ctx.common.issues);return e.result}const n=s.map((e=>new ZodError(e)));addIssueToContext(t,{code:ve.invalid_union,unionErrors:n});return ke}}get options(){return this._def.options}}ZodUnion.create=(e,t)=>new ZodUnion({options:e,typeName:We.ZodUnion,...processCreateParams(t)});const getDiscriminator=e=>{if(e instanceof ZodLazy){return getDiscriminator(e.schema)}else if(e instanceof ZodEffects){return getDiscriminator(e.innerType())}else if(e instanceof ZodLiteral){return[e.value]}else if(e instanceof ZodEnum){return e.options}else if(e instanceof ZodNativeEnum){return Qe.objectValues(e.enum)}else if(e instanceof ZodDefault){return getDiscriminator(e._def.innerType)}else if(e instanceof ZodUndefined){return[undefined]}else if(e instanceof ZodNull){return[null]}else if(e instanceof ZodOptional){return[undefined,...getDiscriminator(e.unwrap())]}else if(e instanceof ZodNullable){return[null,...getDiscriminator(e.unwrap())]}else if(e instanceof ZodBranded){return getDiscriminator(e.unwrap())}else if(e instanceof ZodReadonly){return getDiscriminator(e.unwrap())}else if(e instanceof ZodCatch){return getDiscriminator(e._def.innerType)}else{return[]}};class ZodDiscriminatedUnion extends ZodType{_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==ye.object){addIssueToContext(t,{code:ve.invalid_type,expected:ye.object,received:t.parsedType});return ke}const r=this.discriminator;const s=t.data[r];const n=this.optionsMap.get(s);if(!n){addIssueToContext(t,{code:ve.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]});return ke}if(t.common.async){return n._parseAsync({data:t.data,path:t.path,parent:t})}else{return n._parseSync({data:t.data,path:t.path,parent:t})}}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,r){const s=new Map;for(const r of t){const t=getDiscriminator(r.shape[e]);if(!t.length){throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`)}for(const n of t){if(s.has(n)){throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(n)}`)}s.set(n,r)}}return new ZodDiscriminatedUnion({typeName:We.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:s,...processCreateParams(r)})}}function mergeValues(e,t){const r=getParsedType(e);const s=getParsedType(t);if(e===t){return{valid:true,data:e}}else if(r===ye.object&&s===ye.object){const r=Qe.objectKeys(t);const s=Qe.objectKeys(e).filter((e=>r.indexOf(e)!==-1));const n={...e,...t};for(const r of s){const s=mergeValues(e[r],t[r]);if(!s.valid){return{valid:false}}n[r]=s.data}return{valid:true,data:n}}else if(r===ye.array&&s===ye.array){if(e.length!==t.length){return{valid:false}}const r=[];for(let s=0;s{if(isAborted(e)||isAborted(s)){return ke}const n=mergeValues(e.value,s.value);if(!n.valid){addIssueToContext(r,{code:ve.invalid_intersection_types});return ke}if(isDirty(e)||isDirty(s)){t.dirty()}return{status:t.value,value:n.data}};if(r.common.async){return Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then((([e,t])=>handleParsed(e,t)))}else{return handleParsed(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}}ZodIntersection.create=(e,t,r)=>new ZodIntersection({left:e,right:t,typeName:We.ZodIntersection,...processCreateParams(r)});class ZodTuple extends ZodType{_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==ye.array){addIssueToContext(r,{code:ve.invalid_type,expected:ye.array,received:r.parsedType});return ke}if(r.data.lengththis._def.items.length){addIssueToContext(r,{code:ve.too_big,maximum:this._def.items.length,inclusive:true,exact:false,type:"array"});t.dirty()}const n=[...r.data].map(((e,t)=>{const s=this._def.items[t]||this._def.rest;if(!s)return null;return s._parse(new ParseInputLazyPath(r,e,r.path,t))})).filter((e=>!!e));if(r.common.async){return Promise.all(n).then((e=>ParseStatus.mergeArray(t,e)))}else{return ParseStatus.mergeArray(t,n)}}get items(){return this._def.items}rest(e){return new ZodTuple({...this._def,rest:e})}}ZodTuple.create=(e,t)=>{if(!Array.isArray(e)){throw new Error("You must pass an array of schemas to z.tuple([ ... ])")}return new ZodTuple({items:e,typeName:We.ZodTuple,rest:null,...processCreateParams(t)})};class ZodRecord extends ZodType{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==ye.object){addIssueToContext(r,{code:ve.invalid_type,expected:ye.object,received:r.parsedType});return ke}const s=[];const n=this._def.keyType;const o=this._def.valueType;for(const e in r.data){s.push({key:n._parse(new ParseInputLazyPath(r,e,r.path,e)),value:o._parse(new ParseInputLazyPath(r,r.data[e],r.path,e)),alwaysSet:e in r.data})}if(r.common.async){return ParseStatus.mergeObjectAsync(t,s)}else{return ParseStatus.mergeObjectSync(t,s)}}get element(){return this._def.valueType}static create(e,t,r){if(t instanceof ZodType){return new ZodRecord({keyType:e,valueType:t,typeName:We.ZodRecord,...processCreateParams(r)})}return new ZodRecord({keyType:ZodString.create(),valueType:e,typeName:We.ZodRecord,...processCreateParams(t)})}}class ZodMap extends ZodType{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==ye.map){addIssueToContext(r,{code:ve.invalid_type,expected:ye.map,received:r.parsedType});return ke}const s=this._def.keyType;const n=this._def.valueType;const o=[...r.data.entries()].map((([e,t],o)=>({key:s._parse(new ParseInputLazyPath(r,e,r.path,[o,"key"])),value:n._parse(new ParseInputLazyPath(r,t,r.path,[o,"value"]))})));if(r.common.async){const e=new Map;return Promise.resolve().then((async()=>{for(const r of o){const s=await r.key;const n=await r.value;if(s.status==="aborted"||n.status==="aborted"){return ke}if(s.status==="dirty"||n.status==="dirty"){t.dirty()}e.set(s.value,n.value)}return{status:t.value,value:e}}))}else{const e=new Map;for(const r of o){const s=r.key;const n=r.value;if(s.status==="aborted"||n.status==="aborted"){return ke}if(s.status==="dirty"||n.status==="dirty"){t.dirty()}e.set(s.value,n.value)}return{status:t.value,value:e}}}}ZodMap.create=(e,t,r)=>new ZodMap({valueType:t,keyType:e,typeName:We.ZodMap,...processCreateParams(r)});class ZodSet extends ZodType{_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==ye.set){addIssueToContext(r,{code:ve.invalid_type,expected:ye.set,received:r.parsedType});return ke}const s=this._def;if(s.minSize!==null){if(r.data.sizes.maxSize.value){addIssueToContext(r,{code:ve.too_big,maximum:s.maxSize.value,type:"set",inclusive:true,exact:false,message:s.maxSize.message});t.dirty()}}const n=this._def.valueType;function finalizeSet(e){const r=new Set;for(const s of e){if(s.status==="aborted")return ke;if(s.status==="dirty")t.dirty();r.add(s.value)}return{status:t.value,value:r}}const o=[...r.data.values()].map(((e,t)=>n._parse(new ParseInputLazyPath(r,e,r.path,t))));if(r.common.async){return Promise.all(o).then((e=>finalizeSet(e)))}else{return finalizeSet(o)}}min(e,t){return new ZodSet({...this._def,minSize:{value:e,message:Re.toString(t)}})}max(e,t){return new ZodSet({...this._def,maxSize:{value:e,message:Re.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}ZodSet.create=(e,t)=>new ZodSet({valueType:e,minSize:null,maxSize:null,typeName:We.ZodSet,...processCreateParams(t)});class ZodFunction extends ZodType{constructor(){super(...arguments);this.validate=this.implement}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==ye.function){addIssueToContext(t,{code:ve.invalid_type,expected:ye.function,received:t.parsedType});return ke}function makeArgsIssue(e,r){return makeIssue({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,getErrorMap(),errorMap].filter((e=>!!e)),issueData:{code:ve.invalid_arguments,argumentsError:r}})}function makeReturnsIssue(e,r){return makeIssue({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,getErrorMap(),errorMap].filter((e=>!!e)),issueData:{code:ve.invalid_return_type,returnTypeError:r}})}const r={errorMap:t.common.contextualErrorMap};const s=t.data;if(this._def.returns instanceof ZodPromise){const e=this;return OK((async function(...t){const n=new ZodError([]);const o=await e._def.args.parseAsync(t,r).catch((e=>{n.addIssue(makeArgsIssue(t,e));throw n}));const i=await Reflect.apply(s,this,o);const a=await e._def.returns._def.type.parseAsync(i,r).catch((e=>{n.addIssue(makeReturnsIssue(i,e));throw n}));return a}))}else{const e=this;return OK((function(...t){const n=e._def.args.safeParse(t,r);if(!n.success){throw new ZodError([makeArgsIssue(t,n.error)])}const o=Reflect.apply(s,this,n.data);const i=e._def.returns.safeParse(o,r);if(!i.success){throw new ZodError([makeReturnsIssue(o,i.error)])}return i.data}))}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new ZodFunction({...this._def,args:ZodTuple.create(e).rest(ZodUnknown.create())})}returns(e){return new ZodFunction({...this._def,returns:e})}implement(e){const t=this.parse(e);return t}strictImplement(e){const t=this.parse(e);return t}static create(e,t,r){return new ZodFunction({args:e?e:ZodTuple.create([]).rest(ZodUnknown.create()),returns:t||ZodUnknown.create(),typeName:We.ZodFunction,...processCreateParams(r)})}}class ZodLazy extends ZodType{get schema(){return this._def.getter()}_parse(e){const{ctx:t}=this._processInputParams(e);const r=this._def.getter();return r._parse({data:t.data,path:t.path,parent:t})}}ZodLazy.create=(e,t)=>new ZodLazy({getter:e,typeName:We.ZodLazy,...processCreateParams(t)});class ZodLiteral extends ZodType{_parse(e){if(e.data!==this._def.value){const t=this._getOrReturnCtx(e);addIssueToContext(t,{received:t.data,code:ve.invalid_literal,expected:this._def.value});return ke}return{status:"valid",value:e.data}}get value(){return this._def.value}}ZodLiteral.create=(e,t)=>new ZodLiteral({value:e,typeName:We.ZodLiteral,...processCreateParams(t)});function createZodEnum(e,t){return new ZodEnum({values:e,typeName:We.ZodEnum,...processCreateParams(t)})}class ZodEnum extends ZodType{constructor(){super(...arguments);Se.set(this,void 0)}_parse(e){if(typeof e.data!=="string"){const t=this._getOrReturnCtx(e);const r=this._def.values;addIssueToContext(t,{expected:Qe.joinValues(r),received:t.parsedType,code:ve.invalid_type});return ke}if(!__classPrivateFieldGet(this,Se,"f")){__classPrivateFieldSet(this,Se,new Set(this._def.values),"f")}if(!__classPrivateFieldGet(this,Se,"f").has(e.data)){const t=this._getOrReturnCtx(e);const r=this._def.values;addIssueToContext(t,{received:t.data,code:ve.invalid_enum_value,options:r});return ke}return OK(e.data)}get options(){return this._def.values}get enum(){const e={};for(const t of this._def.values){e[t]=t}return e}get Values(){const e={};for(const t of this._def.values){e[t]=t}return e}get Enum(){const e={};for(const t of this._def.values){e[t]=t}return e}extract(e,t=this._def){return ZodEnum.create(e,{...this._def,...t})}exclude(e,t=this._def){return ZodEnum.create(this.options.filter((t=>!e.includes(t))),{...this._def,...t})}}Se=new WeakMap;ZodEnum.create=createZodEnum;class ZodNativeEnum extends ZodType{constructor(){super(...arguments);De.set(this,void 0)}_parse(e){const t=Qe.getValidEnumValues(this._def.values);const r=this._getOrReturnCtx(e);if(r.parsedType!==ye.string&&r.parsedType!==ye.number){const e=Qe.objectValues(t);addIssueToContext(r,{expected:Qe.joinValues(e),received:r.parsedType,code:ve.invalid_type});return ke}if(!__classPrivateFieldGet(this,De,"f")){__classPrivateFieldSet(this,De,new Set(Qe.getValidEnumValues(this._def.values)),"f")}if(!__classPrivateFieldGet(this,De,"f").has(e.data)){const e=Qe.objectValues(t);addIssueToContext(r,{received:r.data,code:ve.invalid_enum_value,options:e});return ke}return OK(e.data)}get enum(){return this._def.values}}De=new WeakMap;ZodNativeEnum.create=(e,t)=>new ZodNativeEnum({values:e,typeName:We.ZodNativeEnum,...processCreateParams(t)});class ZodPromise extends ZodType{unwrap(){return this._def.type}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==ye.promise&&t.common.async===false){addIssueToContext(t,{code:ve.invalid_type,expected:ye.promise,received:t.parsedType});return ke}const r=t.parsedType===ye.promise?t.data:Promise.resolve(t.data);return OK(r.then((e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap}))))}}ZodPromise.create=(e,t)=>new ZodPromise({type:e,typeName:We.ZodPromise,...processCreateParams(t)});class ZodEffects extends ZodType{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===We.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:t,ctx:r}=this._processInputParams(e);const s=this._def.effect||null;const n={addIssue:e=>{addIssueToContext(r,e);if(e.fatal){t.abort()}else{t.dirty()}},get path(){return r.path}};n.addIssue=n.addIssue.bind(n);if(s.type==="preprocess"){const e=s.transform(r.data,n);if(r.common.async){return Promise.resolve(e).then((async e=>{if(t.value==="aborted")return ke;const s=await this._def.schema._parseAsync({data:e,path:r.path,parent:r});if(s.status==="aborted")return ke;if(s.status==="dirty")return DIRTY(s.value);if(t.value==="dirty")return DIRTY(s.value);return s}))}else{if(t.value==="aborted")return ke;const s=this._def.schema._parseSync({data:e,path:r.path,parent:r});if(s.status==="aborted")return ke;if(s.status==="dirty")return DIRTY(s.value);if(t.value==="dirty")return DIRTY(s.value);return s}}if(s.type==="refinement"){const executeRefinement=e=>{const t=s.refinement(e,n);if(r.common.async){return Promise.resolve(t)}if(t instanceof Promise){throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.")}return e};if(r.common.async===false){const e=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(e.status==="aborted")return ke;if(e.status==="dirty")t.dirty();executeRefinement(e.value);return{status:t.value,value:e.value}}else{return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then((e=>{if(e.status==="aborted")return ke;if(e.status==="dirty")t.dirty();return executeRefinement(e.value).then((()=>({status:t.value,value:e.value})))}))}}if(s.type==="transform"){if(r.common.async===false){const e=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!isValid(e))return e;const o=s.transform(e.value,n);if(o instanceof Promise){throw new Error(`Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.`)}return{status:t.value,value:o}}else{return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then((e=>{if(!isValid(e))return e;return Promise.resolve(s.transform(e.value,n)).then((e=>({status:t.value,value:e})))}))}}Qe.assertNever(s)}}ZodEffects.create=(e,t,r)=>new ZodEffects({schema:e,typeName:We.ZodEffects,effect:t,...processCreateParams(r)});ZodEffects.createWithPreprocess=(e,t,r)=>new ZodEffects({schema:t,effect:{type:"preprocess",transform:e},typeName:We.ZodEffects,...processCreateParams(r)});class ZodOptional extends ZodType{_parse(e){const t=this._getType(e);if(t===ye.undefined){return OK(undefined)}return this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}ZodOptional.create=(e,t)=>new ZodOptional({innerType:e,typeName:We.ZodOptional,...processCreateParams(t)});class ZodNullable extends ZodType{_parse(e){const t=this._getType(e);if(t===ye.null){return OK(null)}return this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}ZodNullable.create=(e,t)=>new ZodNullable({innerType:e,typeName:We.ZodNullable,...processCreateParams(t)});class ZodDefault extends ZodType{_parse(e){const{ctx:t}=this._processInputParams(e);let r=t.data;if(t.parsedType===ye.undefined){r=this._def.defaultValue()}return this._def.innerType._parse({data:r,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}ZodDefault.create=(e,t)=>new ZodDefault({innerType:e,typeName:We.ZodDefault,defaultValue:typeof t.default==="function"?t.default:()=>t.default,...processCreateParams(t)});class ZodCatch extends ZodType{_parse(e){const{ctx:t}=this._processInputParams(e);const r={...t,common:{...t.common,issues:[]}};const s=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});if(isAsync(s)){return s.then((e=>({status:"valid",value:e.status==="valid"?e.value:this._def.catchValue({get error(){return new ZodError(r.common.issues)},input:r.data})})))}else{return{status:"valid",value:s.status==="valid"?s.value:this._def.catchValue({get error(){return new ZodError(r.common.issues)},input:r.data})}}}removeCatch(){return this._def.innerType}}ZodCatch.create=(e,t)=>new ZodCatch({innerType:e,typeName:We.ZodCatch,catchValue:typeof t.catch==="function"?t.catch:()=>t.catch,...processCreateParams(t)});class ZodNaN extends ZodType{_parse(e){const t=this._getType(e);if(t!==ye.nan){const t=this._getOrReturnCtx(e);addIssueToContext(t,{code:ve.invalid_type,expected:ye.nan,received:t.parsedType});return ke}return{status:"valid",value:e.data}}}ZodNaN.create=e=>new ZodNaN({typeName:We.ZodNaN,...processCreateParams(e)});const Ye=Symbol("zod_brand");class ZodBranded extends ZodType{_parse(e){const{ctx:t}=this._processInputParams(e);const r=t.data;return this._def.type._parse({data:r,path:t.path,parent:t})}unwrap(){return this._def.type}}class ZodPipeline extends ZodType{_parse(e){const{status:t,ctx:r}=this._processInputParams(e);if(r.common.async){const handleAsync=async()=>{const e=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});if(e.status==="aborted")return ke;if(e.status==="dirty"){t.dirty();return DIRTY(e.value)}else{return this._def.out._parseAsync({data:e.value,path:r.path,parent:r})}};return handleAsync()}else{const e=this._def.in._parseSync({data:r.data,path:r.path,parent:r});if(e.status==="aborted")return ke;if(e.status==="dirty"){t.dirty();return{status:"dirty",value:e.value}}else{return this._def.out._parseSync({data:e.value,path:r.path,parent:r})}}}static create(e,t){return new ZodPipeline({in:e,out:t,typeName:We.ZodPipeline})}}class ZodReadonly extends ZodType{_parse(e){const t=this._def.innerType._parse(e);const freeze=e=>{if(isValid(e)){e.value=Object.freeze(e.value)}return e};return isAsync(t)?t.then((e=>freeze(e))):freeze(t)}unwrap(){return this._def.innerType}}ZodReadonly.create=(e,t)=>new ZodReadonly({innerType:e,typeName:We.ZodReadonly,...processCreateParams(t)});function custom(e,t={},r){if(e)return ZodAny.create().superRefine(((s,n)=>{var o,i;if(!e(s)){const e=typeof t==="function"?t(s):typeof t==="string"?{message:t}:t;const a=(i=(o=e.fatal)!==null&&o!==void 0?o:r)!==null&&i!==void 0?i:true;const A=typeof e==="string"?{message:e}:e;n.addIssue({code:"custom",...A,fatal:a})}}));return ZodAny.create()}const qe={object:ZodObject.lazycreate};var We;(function(e){e["ZodString"]="ZodString";e["ZodNumber"]="ZodNumber";e["ZodNaN"]="ZodNaN";e["ZodBigInt"]="ZodBigInt";e["ZodBoolean"]="ZodBoolean";e["ZodDate"]="ZodDate";e["ZodSymbol"]="ZodSymbol";e["ZodUndefined"]="ZodUndefined";e["ZodNull"]="ZodNull";e["ZodAny"]="ZodAny";e["ZodUnknown"]="ZodUnknown";e["ZodNever"]="ZodNever";e["ZodVoid"]="ZodVoid";e["ZodArray"]="ZodArray";e["ZodObject"]="ZodObject";e["ZodUnion"]="ZodUnion";e["ZodDiscriminatedUnion"]="ZodDiscriminatedUnion";e["ZodIntersection"]="ZodIntersection";e["ZodTuple"]="ZodTuple";e["ZodRecord"]="ZodRecord";e["ZodMap"]="ZodMap";e["ZodSet"]="ZodSet";e["ZodFunction"]="ZodFunction";e["ZodLazy"]="ZodLazy";e["ZodLiteral"]="ZodLiteral";e["ZodEnum"]="ZodEnum";e["ZodEffects"]="ZodEffects";e["ZodNativeEnum"]="ZodNativeEnum";e["ZodOptional"]="ZodOptional";e["ZodNullable"]="ZodNullable";e["ZodDefault"]="ZodDefault";e["ZodCatch"]="ZodCatch";e["ZodPromise"]="ZodPromise";e["ZodBranded"]="ZodBranded";e["ZodPipeline"]="ZodPipeline";e["ZodReadonly"]="ZodReadonly"})(We||(We={}));const instanceOfType=(e,t={message:`Input not instance of ${e.name}`})=>custom((t=>t instanceof e),t);const Ze=ZodString.create;const ze=ZodNumber.create;const Ke=ZodNaN.create;const Xe=ZodBigInt.create;const $e=ZodBoolean.create;const et=ZodDate.create;const tt=ZodSymbol.create;const rt=ZodUndefined.create;const st=ZodNull.create;const nt=ZodAny.create;const ot=ZodUnknown.create;const it=ZodNever.create;const at=ZodVoid.create;const At=ZodArray.create;const ct=ZodObject.create;const lt=ZodObject.strictCreate;const ut=ZodUnion.create;const pt=ZodDiscriminatedUnion.create;const dt=ZodIntersection.create;const gt=ZodTuple.create;const ht=ZodRecord.create;const ft=ZodMap.create;const mt=ZodSet.create;const Et=ZodFunction.create;const Ct=ZodLazy.create;const It=ZodLiteral.create;const Bt=ZodEnum.create;const Qt=ZodNativeEnum.create;const bt=ZodPromise.create;const yt=ZodEffects.create;const vt=ZodOptional.create;const wt=ZodNullable.create;const xt=ZodEffects.createWithPreprocess;const kt=ZodPipeline.create;const ostring=()=>Ze().optional();const onumber=()=>ze().optional();const oboolean=()=>$e().optional();const Rt={string:e=>ZodString.create({...e,coerce:true}),number:e=>ZodNumber.create({...e,coerce:true}),boolean:e=>ZodBoolean.create({...e,coerce:true}),bigint:e=>ZodBigInt.create({...e,coerce:true}),date:e=>ZodDate.create({...e,coerce:true})};const St=ke;var Dt=Object.freeze({__proto__:null,defaultErrorMap:errorMap,setErrorMap:setErrorMap,getErrorMap:getErrorMap,makeIssue:makeIssue,EMPTY_PATH:xe,addIssueToContext:addIssueToContext,ParseStatus:ParseStatus,INVALID:ke,DIRTY:DIRTY,OK:OK,isAborted:isAborted,isDirty:isDirty,isValid:isValid,isAsync:isAsync,get util(){return Qe},get objectUtil(){return be},ZodParsedType:ye,getParsedType:getParsedType,ZodType:ZodType,datetimeRegex:datetimeRegex,ZodString:ZodString,ZodNumber:ZodNumber,ZodBigInt:ZodBigInt,ZodBoolean:ZodBoolean,ZodDate:ZodDate,ZodSymbol:ZodSymbol,ZodUndefined:ZodUndefined,ZodNull:ZodNull,ZodAny:ZodAny,ZodUnknown:ZodUnknown,ZodNever:ZodNever,ZodVoid:ZodVoid,ZodArray:ZodArray,ZodObject:ZodObject,ZodUnion:ZodUnion,ZodDiscriminatedUnion:ZodDiscriminatedUnion,ZodIntersection:ZodIntersection,ZodTuple:ZodTuple,ZodRecord:ZodRecord,ZodMap:ZodMap,ZodSet:ZodSet,ZodFunction:ZodFunction,ZodLazy:ZodLazy,ZodLiteral:ZodLiteral,ZodEnum:ZodEnum,ZodNativeEnum:ZodNativeEnum,ZodPromise:ZodPromise,ZodEffects:ZodEffects,ZodTransformer:ZodEffects,ZodOptional:ZodOptional,ZodNullable:ZodNullable,ZodDefault:ZodDefault,ZodCatch:ZodCatch,ZodNaN:ZodNaN,BRAND:Ye,ZodBranded:ZodBranded,ZodPipeline:ZodPipeline,ZodReadonly:ZodReadonly,custom:custom,Schema:ZodType,ZodSchema:ZodType,late:qe,get ZodFirstPartyTypeKind(){return We},coerce:Rt,any:nt,array:At,bigint:Xe,boolean:$e,date:et,discriminatedUnion:pt,effect:yt,enum:Bt,function:Et,instanceof:instanceOfType,intersection:dt,lazy:Ct,literal:It,map:ft,nan:Ke,nativeEnum:Qt,never:it,null:st,nullable:wt,number:ze,object:ct,oboolean:oboolean,onumber:onumber,optional:vt,ostring:ostring,pipeline:kt,preprocess:xt,promise:bt,record:ht,set:mt,strictObject:lt,string:Ze,symbol:tt,transformer:yt,tuple:gt,undefined:rt,union:ut,unknown:ot,void:at,NEVER:St,ZodIssueCode:ve,quotelessJson:quotelessJson,ZodError:ZodError});function parseAnyDef(){return{}}function addErrorMessage(e,t,r,s){if(!s?.errorMessages)return;if(r){e.errorMessage={...e.errorMessage,[t]:r}}}function setResponseValueAndErrors(e,t,r,s,n){e[t]=r;addErrorMessage(e,t,s,n)}function parseArrayDef(e,t){const r={type:"array"};if(e.type?._def?.typeName!==We.ZodAny){r.items=parseDef_parseDef(e.type._def,{...t,currentPath:[...t.currentPath,"items"]})}if(e.minLength){setResponseValueAndErrors(r,"minItems",e.minLength.value,e.minLength.message,t)}if(e.maxLength){setResponseValueAndErrors(r,"maxItems",e.maxLength.value,e.maxLength.message,t)}if(e.exactLength){setResponseValueAndErrors(r,"minItems",e.exactLength.value,e.exactLength.message,t);setResponseValueAndErrors(r,"maxItems",e.exactLength.value,e.exactLength.message,t)}return r}function parseBigintDef(e,t){const r={type:"integer",format:"int64"};if(!e.checks)return r;for(const s of e.checks){switch(s.kind){case"min":if(t.target==="jsonSchema7"){if(s.inclusive){setResponseValueAndErrors(r,"minimum",s.value,s.message,t)}else{setResponseValueAndErrors(r,"exclusiveMinimum",s.value,s.message,t)}}else{if(!s.inclusive){r.exclusiveMinimum=true}setResponseValueAndErrors(r,"minimum",s.value,s.message,t)}break;case"max":if(t.target==="jsonSchema7"){if(s.inclusive){setResponseValueAndErrors(r,"maximum",s.value,s.message,t)}else{setResponseValueAndErrors(r,"exclusiveMaximum",s.value,s.message,t)}}else{if(!s.inclusive){r.exclusiveMaximum=true}setResponseValueAndErrors(r,"maximum",s.value,s.message,t)}break;case"multipleOf":setResponseValueAndErrors(r,"multipleOf",s.value,s.message,t);break}}return r}function parseBooleanDef(){return{type:"boolean"}}function parseBrandedDef(e,t){return parseDef_parseDef(e.type._def,t)}const parseCatchDef=(e,t)=>parseDef_parseDef(e.innerType._def,t);function parseDateDef(e,t,r){const s=r??t.dateStrategy;if(Array.isArray(s)){return{anyOf:s.map(((r,s)=>parseDateDef(e,t,r)))}}switch(s){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return integerDateParser(e,t)}}const integerDateParser=(e,t)=>{const r={type:"integer",format:"unix-time"};if(t.target==="openApi3"){return r}for(const s of e.checks){switch(s.kind){case"min":setResponseValueAndErrors(r,"minimum",s.value,s.message,t);break;case"max":setResponseValueAndErrors(r,"maximum",s.value,s.message,t);break}}return r};function parseDefaultDef(e,t){return{...parseDef_parseDef(e.innerType._def,t),default:e.defaultValue()}}function parseEffectsDef(e,t){return t.effectStrategy==="input"?parseDef_parseDef(e.schema._def,t):{}}function parseEnumDef(e){return{type:"string",enum:e.values}}const isJsonSchema7AllOfType=e=>{if("type"in e&&e.type==="string")return false;return"allOf"in e};function parseIntersectionDef(e,t){const r=[parseDef_parseDef(e.left._def,{...t,currentPath:[...t.currentPath,"allOf","0"]}),parseDef_parseDef(e.right._def,{...t,currentPath:[...t.currentPath,"allOf","1"]})].filter((e=>!!e));let s=t.target==="jsonSchema2019-09"?{unevaluatedProperties:false}:undefined;const n=[];r.forEach((e=>{if(isJsonSchema7AllOfType(e)){n.push(...e.allOf);if(e.unevaluatedProperties===undefined){s=undefined}}else{let t=e;if("additionalProperties"in e&&e.additionalProperties===false){const{additionalProperties:r,...s}=e;t=s}else{s=undefined}n.push(t)}}));return n.length?{allOf:n,...s}:undefined}function parseLiteralDef(e,t){const r=typeof e.value;if(r!=="bigint"&&r!=="number"&&r!=="boolean"&&r!=="string"){return{type:Array.isArray(e.value)?"array":"object"}}if(t.target==="openApi3"){return{type:r==="bigint"?"integer":r,enum:[e.value]}}return{type:r==="bigint"?"integer":r,const:e.value}}const Tt={cuid:"^[cC][^\\s-]{8,}$",cuid2:"^[a-z][a-z0-9]*$",ulid:"^[0-9A-HJKMNP-TV-Z]{26}$",email:"^(?!\\.)(?!.*\\.\\.)([a-zA-Z0-9_+-\\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\\-]*\\.)+[a-zA-Z]{2,}$",emoji:"^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",uuid:"^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$",ipv4:"^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$",ipv6:"^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$"};function parseStringDef(e,t){const r={type:"string"};function processPattern(e){return t.patternStrategy==="escape"?escapeNonAlphaNumeric(e):e}if(e.checks){for(const s of e.checks){switch(s.kind){case"min":setResponseValueAndErrors(r,"minLength",typeof r.minLength==="number"?Math.max(r.minLength,s.value):s.value,s.message,t);break;case"max":setResponseValueAndErrors(r,"maxLength",typeof r.maxLength==="number"?Math.min(r.maxLength,s.value):s.value,s.message,t);break;case"email":switch(t.emailStrategy){case"format:email":addFormat(r,"email",s.message,t);break;case"format:idn-email":addFormat(r,"idn-email",s.message,t);break;case"pattern:zod":addPattern(r,Tt.email,s.message,t);break}break;case"url":addFormat(r,"uri",s.message,t);break;case"uuid":addFormat(r,"uuid",s.message,t);break;case"regex":addPattern(r,s.regex.source,s.message,t);break;case"cuid":addPattern(r,Tt.cuid,s.message,t);break;case"cuid2":addPattern(r,Tt.cuid2,s.message,t);break;case"startsWith":addPattern(r,"^"+processPattern(s.value),s.message,t);break;case"endsWith":addPattern(r,processPattern(s.value)+"$",s.message,t);break;case"datetime":addFormat(r,"date-time",s.message,t);break;case"length":setResponseValueAndErrors(r,"minLength",typeof r.minLength==="number"?Math.max(r.minLength,s.value):s.value,s.message,t);setResponseValueAndErrors(r,"maxLength",typeof r.maxLength==="number"?Math.min(r.maxLength,s.value):s.value,s.message,t);break;case"includes":{addPattern(r,processPattern(s.value),s.message,t);break}case"ip":{if(s.version!=="v6"){addFormat(r,"ipv4",s.message,t)}if(s.version!=="v4"){addFormat(r,"ipv6",s.message,t)}break}case"emoji":addPattern(r,Tt.emoji,s.message,t);break;case"ulid":{addPattern(r,Tt.ulid,s.message,t);break}case"toLowerCase":case"toUpperCase":case"trim":break;default:(e=>{})(s)}}}return r}const escapeNonAlphaNumeric=e=>Array.from(e).map((e=>/[a-zA-Z0-9]/.test(e)?e:`\\${e}`)).join("");const addFormat=(e,t,r,s)=>{if(e.format||e.anyOf?.some((e=>e.format))){if(!e.anyOf){e.anyOf=[]}if(e.format){e.anyOf.push({format:e.format,...e.errorMessage&&s.errorMessages&&{errorMessage:{format:e.errorMessage.format}}});delete e.format;if(e.errorMessage){delete e.errorMessage.format;if(Object.keys(e.errorMessage).length===0){delete e.errorMessage}}}e.anyOf.push({format:t,...r&&s.errorMessages&&{errorMessage:{format:r}}})}else{setResponseValueAndErrors(e,"format",t,r,s)}};const addPattern=(e,t,r,s)=>{if(e.pattern||e.allOf?.some((e=>e.pattern))){if(!e.allOf){e.allOf=[]}if(e.pattern){e.allOf.push({pattern:e.pattern,...e.errorMessage&&s.errorMessages&&{errorMessage:{pattern:e.errorMessage.pattern}}});delete e.pattern;if(e.errorMessage){delete e.errorMessage.pattern;if(Object.keys(e.errorMessage).length===0){delete e.errorMessage}}}e.allOf.push({pattern:t,...r&&s.errorMessages&&{errorMessage:{pattern:r}}})}else{setResponseValueAndErrors(e,"pattern",t,r,s)}};function parseRecordDef(e,t){if(t.target==="openApi3"&&e.keyType?._def.typeName===We.ZodEnum){return{type:"object",required:e.keyType._def.values,properties:e.keyType._def.values.reduce(((r,s)=>({...r,[s]:parseDef_parseDef(e.valueType._def,{...t,currentPath:[...t.currentPath,"properties",s]})??{}})),{}),additionalProperties:false}}const r={type:"object",additionalProperties:parseDef_parseDef(e.valueType._def,{...t,currentPath:[...t.currentPath,"additionalProperties"]})??{}};if(t.target==="openApi3"){return r}if(e.keyType?._def.typeName===We.ZodString&&e.keyType._def.checks?.length){const s=Object.entries(parseStringDef(e.keyType._def,t)).reduce(((e,[t,r])=>t==="type"?e:{...e,[t]:r}),{});return{...r,propertyNames:s}}else if(e.keyType?._def.typeName===We.ZodEnum){return{...r,propertyNames:{enum:e.keyType._def.values}}}return r}function parseMapDef(e,t){if(t.mapStrategy==="record"){return parseRecordDef(e,t)}const r=parseDef_parseDef(e.keyType._def,{...t,currentPath:[...t.currentPath,"items","items","0"]})||{};const s=parseDef_parseDef(e.valueType._def,{...t,currentPath:[...t.currentPath,"items","items","1"]})||{};return{type:"array",maxItems:125,items:{type:"array",items:[r,s],minItems:2,maxItems:2}}}function parseNativeEnumDef(e){const t=e.values;const r=Object.keys(e.values).filter((e=>typeof t[t[e]]!=="number"));const s=r.map((e=>t[e]));const n=Array.from(new Set(s.map((e=>typeof e))));return{type:n.length===1?n[0]==="string"?"string":"number":["string","number"],enum:s}}function parseNeverDef(){return{not:{}}}function parseNullDef(e){return e.target==="openApi3"?{enum:["null"],nullable:true}:{type:"null"}}const _t={ZodString:"string",ZodNumber:"number",ZodBigInt:"integer",ZodBoolean:"boolean",ZodNull:"null"};function parseUnionDef(e,t){if(t.target==="openApi3")return asAnyOf(e,t);const r=e.options instanceof Map?Array.from(e.options.values()):e.options;if(r.every((e=>e._def.typeName in _t&&(!e._def.checks||!e._def.checks.length)))){const e=r.reduce(((e,t)=>{const r=_t[t._def.typeName];return r&&!e.includes(r)?[...e,r]:e}),[]);return{type:e.length>1?e:e[0]}}else if(r.every((e=>e._def.typeName==="ZodLiteral"&&!e.description))){const e=r.reduce(((e,t)=>{const r=typeof t._def.value;switch(r){case"string":case"number":case"boolean":return[...e,r];case"bigint":return[...e,"integer"];case"object":if(t._def.value===null)return[...e,"null"];case"symbol":case"undefined":case"function":default:return e}}),[]);if(e.length===r.length){const t=e.filter(((e,t,r)=>r.indexOf(e)===t));return{type:t.length>1?t:t[0],enum:r.reduce(((e,t)=>e.includes(t._def.value)?e:[...e,t._def.value]),[])}}}else if(r.every((e=>e._def.typeName==="ZodEnum"))){return{type:"string",enum:r.reduce(((e,t)=>[...e,...t._def.values.filter((t=>!e.includes(t)))]),[])}}return asAnyOf(e,t)}const asAnyOf=(e,t)=>{const r=(e.options instanceof Map?Array.from(e.options.values()):e.options).map(((e,r)=>parseDef_parseDef(e._def,{...t,currentPath:[...t.currentPath,"anyOf",`${r}`]}))).filter((e=>!!e&&(!t.strictUnions||typeof e==="object"&&Object.keys(e).length>0)));return r.length?{anyOf:r}:undefined};function parseNullableDef(e,t){if(["ZodString","ZodNumber","ZodBigInt","ZodBoolean","ZodNull"].includes(e.innerType._def.typeName)&&(!e.innerType._def.checks||!e.innerType._def.checks.length)){if(t.target==="openApi3"){return{type:_t[e.innerType._def.typeName],nullable:true}}return{type:[_t[e.innerType._def.typeName],"null"]}}if(t.target==="openApi3"){const r=parseDef_parseDef(e.innerType._def,{...t,currentPath:[...t.currentPath]});if(r&&"$ref"in r)return{allOf:[r],nullable:true};return r&&{...r,nullable:true}}const r=parseDef_parseDef(e.innerType._def,{...t,currentPath:[...t.currentPath,"anyOf","0"]});return r&&{anyOf:[r,{type:"null"}]}}function parseNumberDef(e,t){const r={type:"number"};if(!e.checks)return r;for(const s of e.checks){switch(s.kind){case"int":r.type="integer";addErrorMessage(r,"type",s.message,t);break;case"min":if(t.target==="jsonSchema7"){if(s.inclusive){setResponseValueAndErrors(r,"minimum",s.value,s.message,t)}else{setResponseValueAndErrors(r,"exclusiveMinimum",s.value,s.message,t)}}else{if(!s.inclusive){r.exclusiveMinimum=true}setResponseValueAndErrors(r,"minimum",s.value,s.message,t)}break;case"max":if(t.target==="jsonSchema7"){if(s.inclusive){setResponseValueAndErrors(r,"maximum",s.value,s.message,t)}else{setResponseValueAndErrors(r,"exclusiveMaximum",s.value,s.message,t)}}else{if(!s.inclusive){r.exclusiveMaximum=true}setResponseValueAndErrors(r,"maximum",s.value,s.message,t)}break;case"multipleOf":setResponseValueAndErrors(r,"multipleOf",s.value,s.message,t);break}}return r}function decideAdditionalProperties(e,t){if(t.removeAdditionalStrategy==="strict"){return e.catchall._def.typeName==="ZodNever"?e.unknownKeys!=="strict":parseDef_parseDef(e.catchall._def,{...t,currentPath:[...t.currentPath,"additionalProperties"]})??true}else{return e.catchall._def.typeName==="ZodNever"?e.unknownKeys==="passthrough":parseDef_parseDef(e.catchall._def,{...t,currentPath:[...t.currentPath,"additionalProperties"]})??true}}function parseObjectDefX(e,t){Object.keys(e.shape()).reduce(((r,s)=>{let n=e.shape()[s];const o=n.isOptional();if(!o){n={...n._def.innerSchema}}const i=parseDef(n._def,{...t,currentPath:[...t.currentPath,"properties",s],propertyPath:[...t.currentPath,"properties",s]});if(i!==undefined){r.properties[s]=i;if(!o){if(!r.required){r.required=[]}r.required.push(s)}}return r}),{type:"object",properties:{},additionalProperties:decideAdditionalProperties(e,t)});const r={type:"object",...Object.entries(e.shape()).reduce(((e,[r,s])=>{if(s===undefined||s._def===undefined)return e;const n=parseDef(s._def,{...t,currentPath:[...t.currentPath,"properties",r],propertyPath:[...t.currentPath,"properties",r]});if(n===undefined)return e;return{properties:{...e.properties,[r]:n},required:s.isOptional()?e.required:[...e.required,r]}}),{properties:{},required:[]}),additionalProperties:decideAdditionalProperties(e,t)};if(!r.required.length)delete r.required;return r}function parseObjectDef(e,t){const r={type:"object",...Object.entries(e.shape()).reduce(((e,[r,s])=>{if(s===undefined||s._def===undefined)return e;const n=parseDef_parseDef(s._def,{...t,currentPath:[...t.currentPath,"properties",r],propertyPath:[...t.currentPath,"properties",r]});if(n===undefined)return e;return{properties:{...e.properties,[r]:n},required:s.isOptional()?e.required:[...e.required,r]}}),{properties:{},required:[]}),additionalProperties:decideAdditionalProperties(e,t)};if(!r.required.length)delete r.required;return r}const parseOptionalDef=(e,t)=>{if(t.currentPath.toString()===t.propertyPath?.toString()){return parseDef_parseDef(e.innerType._def,t)}const r=parseDef_parseDef(e.innerType._def,{...t,currentPath:[...t.currentPath,"anyOf","1"]});return r?{anyOf:[{not:{}},r]}:{}};const parsePipelineDef=(e,t)=>{if(t.pipeStrategy==="input"){return parseDef_parseDef(e.in._def,t)}else if(t.pipeStrategy==="output"){return parseDef_parseDef(e.out._def,t)}const r=parseDef_parseDef(e.in._def,{...t,currentPath:[...t.currentPath,"allOf","0"]});const s=parseDef_parseDef(e.out._def,{...t,currentPath:[...t.currentPath,"allOf",r?"1":"0"]});return{allOf:[r,s].filter((e=>e!==undefined))}};function parsePromiseDef(e,t){return parseDef_parseDef(e.type._def,t)}function parseSetDef(e,t){const r=parseDef_parseDef(e.valueType._def,{...t,currentPath:[...t.currentPath,"items"]});const s={type:"array",uniqueItems:true,items:r};if(e.minSize){setResponseValueAndErrors(s,"minItems",e.minSize.value,e.minSize.message,t)}if(e.maxSize){setResponseValueAndErrors(s,"maxItems",e.maxSize.value,e.maxSize.message,t)}return s}function parseTupleDef(e,t){if(e.rest){return{type:"array",minItems:e.items.length,items:e.items.map(((e,r)=>parseDef_parseDef(e._def,{...t,currentPath:[...t.currentPath,"items",`${r}`]}))).reduce(((e,t)=>t===undefined?e:[...e,t]),[]),additionalItems:parseDef_parseDef(e.rest._def,{...t,currentPath:[...t.currentPath,"additionalItems"]})}}else{return{type:"array",minItems:e.items.length,maxItems:e.items.length,items:e.items.map(((e,r)=>parseDef_parseDef(e._def,{...t,currentPath:[...t.currentPath,"items",`${r}`]}))).reduce(((e,t)=>t===undefined?e:[...e,t]),[])}}}function parseUndefinedDef(){return{not:{}}}function parseUnknownDef(){return{}}const parseReadonlyDef=(e,t)=>parseDef_parseDef(e.innerType._def,t);function parseDef_parseDef(e,t,r=false){const s=t.seen.get(e);if(t.override){const n=t.override?.(e,t,s,r);if(n!==Ie){return n}}if(s&&!r){const e=get$ref(s,t);if(e!==undefined){return e}}const n={def:e,path:t.currentPath,jsonSchema:undefined};t.seen.set(e,n);const o=selectParser(e,e.typeName,t);if(o){addMeta(e,t,o)}n.jsonSchema=o;return o}const get$ref=(e,t)=>{switch(t.$refStrategy){case"root":return{$ref:e.path.join("/")};case"relative":return{$ref:getRelativePath(t.currentPath,e.path)};case"none":case"seen":{if(e.path.lengtht.currentPath[r]===e))){console.warn(`Recursive reference detected at ${t.currentPath.join("/")}! Defaulting to any`);return{}}return t.$refStrategy==="seen"?{}:undefined}}};const getRelativePath=(e,t)=>{let r=0;for(;r{switch(t){case We.ZodString:return parseStringDef(e,r);case We.ZodNumber:return parseNumberDef(e,r);case We.ZodObject:return parseObjectDef(e,r);case We.ZodBigInt:return parseBigintDef(e,r);case We.ZodBoolean:return parseBooleanDef();case We.ZodDate:return parseDateDef(e,r);case We.ZodUndefined:return parseUndefinedDef();case We.ZodNull:return parseNullDef(r);case We.ZodArray:return parseArrayDef(e,r);case We.ZodUnion:case We.ZodDiscriminatedUnion:return parseUnionDef(e,r);case We.ZodIntersection:return parseIntersectionDef(e,r);case We.ZodTuple:return parseTupleDef(e,r);case We.ZodRecord:return parseRecordDef(e,r);case We.ZodLiteral:return parseLiteralDef(e,r);case We.ZodEnum:return parseEnumDef(e);case We.ZodNativeEnum:return parseNativeEnumDef(e);case We.ZodNullable:return parseNullableDef(e,r);case We.ZodOptional:return parseOptionalDef(e,r);case We.ZodMap:return parseMapDef(e,r);case We.ZodSet:return parseSetDef(e,r);case We.ZodLazy:return parseDef_parseDef(e.getter()._def,r);case We.ZodPromise:return parsePromiseDef(e,r);case We.ZodNaN:case We.ZodNever:return parseNeverDef();case We.ZodEffects:return parseEffectsDef(e,r);case We.ZodAny:return parseAnyDef();case We.ZodUnknown:return parseUnknownDef();case We.ZodDefault:return parseDefaultDef(e,r);case We.ZodBranded:return parseBrandedDef(e,r);case We.ZodReadonly:return parseReadonlyDef(e,r);case We.ZodCatch:return parseCatchDef(e,r);case We.ZodPipeline:return parsePipelineDef(e,r);case We.ZodFunction:case We.ZodVoid:case We.ZodSymbol:return undefined;default:return(e=>undefined)(t)}};const addMeta=(e,t,r)=>{if(e.description){r.description=e.description;if(t.markdownDescription){r.markdownDescription=e.description}}return r};const getRefs=e=>{const t=getDefaultOptions(e);const r=t.name!==undefined?[...t.basePath,t.definitionPath,t.name]:t.basePath;return{...t,currentPath:r,propertyPath:undefined,seen:new Map(Object.entries(t.definitions).map((([e,r])=>[r._def,{def:r._def,path:[...t.basePath,t.definitionPath,e],jsonSchema:undefined}])))}};const zodToJsonSchema=(e,t)=>{const r=getRefs(t);const s=typeof t==="object"&&t.definitions?Object.entries(t.definitions).reduce(((e,[t,s])=>({...e,[t]:parseDef_parseDef(s._def,{...r,currentPath:[...r.basePath,r.definitionPath,t]},true)??{}})),{}):undefined;const n=typeof t==="string"?t:t?.name;const o=parseDef_parseDef(e._def,n===undefined?r:{...r,currentPath:[...r.basePath,r.definitionPath,n]},false)??{};const i=n===undefined?s?{...o,[r.definitionPath]:s}:o:{$ref:[...r.$refStrategy==="relative"?[]:r.basePath,r.definitionPath,n].join("/"),[r.definitionPath]:{...s,[n]:o}};if(r.target==="jsonSchema7"){i.$schema="http://json-schema.org/draft-07/schema#"}else if(r.target==="jsonSchema2019-09"){i.$schema="https://json-schema.org/draft/2019-09/schema#"}return i};const Ft=zodToJsonSchema;function fixJson(e){const t=["ROOT"];let r=-1;let s=null;function processValueStart(e,n,o){{switch(e){case'"':{r=n;t.pop();t.push(o);t.push("INSIDE_STRING");break}case"f":case"t":case"n":{r=n;s=n;t.pop();t.push(o);t.push("INSIDE_LITERAL");break}case"-":{t.pop();t.push(o);t.push("INSIDE_NUMBER");break}case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":{r=n;t.pop();t.push(o);t.push("INSIDE_NUMBER");break}case"{":{r=n;t.pop();t.push(o);t.push("INSIDE_OBJECT_START");break}case"[":{r=n;t.pop();t.push(o);t.push("INSIDE_ARRAY_START");break}}}}function processAfterObjectValue(e,s){switch(e){case",":{t.pop();t.push("INSIDE_OBJECT_AFTER_COMMA");break}case"}":{r=s;t.pop();break}}}function processAfterArrayValue(e,s){switch(e){case",":{t.pop();t.push("INSIDE_ARRAY_AFTER_COMMA");break}case"]":{r=s;t.pop();break}}}for(let n=0;n=0;r--){const o=t[r];switch(o){case"INSIDE_STRING":{n+='"';break}case"INSIDE_OBJECT_KEY":case"INSIDE_OBJECT_AFTER_KEY":case"INSIDE_OBJECT_AFTER_COMMA":case"INSIDE_OBJECT_START":case"INSIDE_OBJECT_BEFORE_VALUE":case"INSIDE_OBJECT_AFTER_VALUE":{n+="}";break}case"INSIDE_ARRAY_START":case"INSIDE_ARRAY_AFTER_COMMA":case"INSIDE_ARRAY_AFTER_VALUE":{n+="]";break}case"INSIDE_LITERAL":{const t=e.substring(s,e.length);if("true".startsWith(t)){n+="true".slice(t.length)}else if("false".startsWith(t)){n+="false".slice(t.length)}else if("null".startsWith(t)){n+="null".slice(t.length)}}}}return n}function dist_parsePartialJson(e){if(e==null){return void 0}try{return SecureJSON.parse(e)}catch(t){try{const t=fixJson(e);return SecureJSON.parse(t)}catch(e){}}return void 0}var Nt={code:"0",name:"text",parse:e=>{if(typeof e!=="string"){throw new Error('"text" parts expect a string value.')}return{type:"text",value:e}}};var Ut={code:"1",name:"function_call",parse:e=>{if(e==null||typeof e!=="object"||!("function_call"in e)||typeof e.function_call!=="object"||e.function_call==null||!("name"in e.function_call)||!("arguments"in e.function_call)||typeof e.function_call.name!=="string"||typeof e.function_call.arguments!=="string"){throw new Error('"function_call" parts expect an object with a "function_call" property.')}return{type:"function_call",value:e}}};var Ot={code:"2",name:"data",parse:e=>{if(!Array.isArray(e)){throw new Error('"data" parts expect an array value.')}return{type:"data",value:e}}};var Mt={code:"3",name:"error",parse:e=>{if(typeof e!=="string"){throw new Error('"error" parts expect a string value.')}return{type:"error",value:e}}};var Lt={code:"4",name:"assistant_message",parse:e=>{if(e==null||typeof e!=="object"||!("id"in e)||!("role"in e)||!("content"in e)||typeof e.id!=="string"||typeof e.role!=="string"||e.role!=="assistant"||!Array.isArray(e.content)||!e.content.every((e=>e!=null&&typeof e==="object"&&"type"in e&&e.type==="text"&&"text"in e&&e.text!=null&&typeof e.text==="object"&&"value"in e.text&&typeof e.text.value==="string"))){throw new Error('"assistant_message" parts expect an object with an "id", "role", and "content" property.')}return{type:"assistant_message",value:e}}};var Pt={code:"5",name:"assistant_control_data",parse:e=>{if(e==null||typeof e!=="object"||!("threadId"in e)||!("messageId"in e)||typeof e.threadId!=="string"||typeof e.messageId!=="string"){throw new Error('"assistant_control_data" parts expect an object with a "threadId" and "messageId" property.')}return{type:"assistant_control_data",value:{threadId:e.threadId,messageId:e.messageId}}}};var Gt={code:"6",name:"data_message",parse:e=>{if(e==null||typeof e!=="object"||!("role"in e)||!("data"in e)||typeof e.role!=="string"||e.role!=="data"){throw new Error('"data_message" parts expect an object with a "role" and "data" property.')}return{type:"data_message",value:e}}};var Ht={code:"7",name:"tool_calls",parse:e=>{if(e==null||typeof e!=="object"||!("tool_calls"in e)||typeof e.tool_calls!=="object"||e.tool_calls==null||!Array.isArray(e.tool_calls)||e.tool_calls.some((e=>e==null||typeof e!=="object"||!("id"in e)||typeof e.id!=="string"||!("type"in e)||typeof e.type!=="string"||!("function"in e)||e.function==null||typeof e.function!=="object"||!("arguments"in e.function)||typeof e.function.name!=="string"||typeof e.function.arguments!=="string"))){throw new Error('"tool_calls" parts expect an object with a ToolCallPayload.')}return{type:"tool_calls",value:e}}};var jt={code:"8",name:"message_annotations",parse:e=>{if(!Array.isArray(e)){throw new Error('"message_annotations" parts expect an array value.')}return{type:"message_annotations",value:e}}};var Vt={code:"9",name:"tool_call",parse:e=>{if(e==null||typeof e!=="object"||!("toolCallId"in e)||typeof e.toolCallId!=="string"||!("toolName"in e)||typeof e.toolName!=="string"||!("args"in e)||typeof e.args!=="object"){throw new Error('"tool_call" parts expect an object with a "toolCallId", "toolName", and "args" property.')}return{type:"tool_call",value:e}}};var Jt={code:"a",name:"tool_result",parse:e=>{if(e==null||typeof e!=="object"||!("toolCallId"in e)||typeof e.toolCallId!=="string"||!("result"in e)){throw new Error('"tool_result" parts expect an object with a "toolCallId" and a "result" property.')}return{type:"tool_result",value:e}}};var Yt={code:"b",name:"tool_call_streaming_start",parse:e=>{if(e==null||typeof e!=="object"||!("toolCallId"in e)||typeof e.toolCallId!=="string"||!("toolName"in e)||typeof e.toolName!=="string"){throw new Error('"tool_call_streaming_start" parts expect an object with a "toolCallId" and "toolName" property.')}return{type:"tool_call_streaming_start",value:e}}};var qt={code:"c",name:"tool_call_delta",parse:e=>{if(e==null||typeof e!=="object"||!("toolCallId"in e)||typeof e.toolCallId!=="string"||!("argsTextDelta"in e)||typeof e.argsTextDelta!=="string"){throw new Error('"tool_call_delta" parts expect an object with a "toolCallId" and "argsTextDelta" property.')}return{type:"tool_call_delta",value:e}}};var Wt={code:"d",name:"finish_message",parse:e=>{if(e==null||typeof e!=="object"||!("finishReason"in e)||typeof e.finishReason!=="string"||!("usage"in e)||e.usage==null||typeof e.usage!=="object"||!("promptTokens"in e.usage)||!("completionTokens"in e.usage)){throw new Error('"finish_message" parts expect an object with a "finishReason" and "usage" property.')}if(typeof e.usage.promptTokens!=="number"){e.usage.promptTokens=Number.NaN}if(typeof e.usage.completionTokens!=="number"){e.usage.completionTokens=Number.NaN}return{type:"finish_message",value:e}}};var Zt=[Nt,Ut,Ot,Mt,Lt,Pt,Gt,Ht,jt,Vt,Jt,Yt,qt,Wt];var zt={[Nt.code]:Nt,[Ut.code]:Ut,[Ot.code]:Ot,[Mt.code]:Mt,[Lt.code]:Lt,[Pt.code]:Pt,[Gt.code]:Gt,[Ht.code]:Ht,[jt.code]:jt,[Vt.code]:Vt,[Jt.code]:Jt,[Yt.code]:Yt,[qt.code]:qt,[Wt.code]:Wt};var Kt={[Nt.name]:Nt.code,[Ut.name]:Ut.code,[Ot.name]:Ot.code,[Mt.name]:Mt.code,[Lt.name]:Lt.code,[Pt.name]:Pt.code,[Gt.name]:Gt.code,[Ht.name]:Ht.code,[jt.name]:jt.code,[Vt.name]:Vt.code,[Jt.name]:Jt.code,[Yt.name]:Yt.code,[qt.name]:qt.code,[Wt.name]:Wt.code};var Xt=Zt.map((e=>e.code));var parseStreamPart=e=>{const t=e.indexOf(":");if(t===-1){throw new Error("Failed to parse stream string. No separator found.")}const r=e.slice(0,t);if(!Xt.includes(r)){throw new Error(`Failed to parse stream string. Invalid code ${r}.`)}const s=r;const n=e.slice(t+1);const o=JSON.parse(n);return zt[s].parse(o)};function dist_formatStreamPart(e,t){const r=Zt.find((t=>t.name===e));if(!r){throw new Error(`Invalid stream part type: ${e}`)}return`${r.code}:${JSON.stringify(t)}\n`}var $t="\n".charCodeAt(0);function concatChunks(e,t){const r=new Uint8Array(t);let s=0;for(const t of e){r.set(t,s);s+=t.length}e.length=0;return r}async function*readDataStream(e,{isAborted:t}={}){const r=new TextDecoder;const s=[];let n=0;while(true){const{value:o}=await e.read();if(o){s.push(o);n+=o.length;if(o[o.length-1]!==$t){continue}}if(s.length===0){break}const i=concatChunks(s,n);n=0;const a=r.decode(i,{stream:true}).split("\n").filter((e=>e!=="")).map(parseStreamPart);for(const e of a){yield e}if(t==null?void 0:t()){e.cancel();break}}}function assignAnnotationsToMessage(e,t){if(!e||!t||!t.length)return e;return{...e,annotations:[...t]}}async function parseComplexResponse({reader:e,abortControllerRef:t,update:r,onToolCall:s,onFinish:n,generateId:o=generateIdFunction,getCurrentDate:i=(()=>new Date)}){var a;const A=i();const c={data:[]};let l=void 0;const u={};let p={completionTokens:NaN,promptTokens:NaN,totalTokens:NaN};let d="unknown";for await(const{type:n,value:i}of readDataStream(e,{isAborted:()=>(t==null?void 0:t.current)===null})){if(n==="error"){throw new Error(i)}if(n==="text"){if(c["text"]){c["text"]={...c["text"],content:(c["text"].content||"")+i}}else{c["text"]={id:o(),role:"assistant",content:i,createdAt:A}}}if(n==="finish_message"){const{completionTokens:e,promptTokens:t}=i.usage;d=i.finishReason;p={completionTokens:e,promptTokens:t,totalTokens:e+t}}if(n==="tool_call_streaming_start"){if(c.text==null){c.text={id:o(),role:"assistant",content:"",createdAt:A}}if(c.text.toolInvocations==null){c.text.toolInvocations=[]}u[i.toolCallId]={text:"",toolName:i.toolName,prefixMapIndex:c.text.toolInvocations.length};c.text.toolInvocations.push({state:"partial-call",toolCallId:i.toolCallId,toolName:i.toolName,args:void 0})}else if(n==="tool_call_delta"){const e=u[i.toolCallId];e.text+=i.argsTextDelta;c.text.toolInvocations[e.prefixMapIndex]={state:"partial-call",toolCallId:i.toolCallId,toolName:e.toolName,args:dist_parsePartialJson(e.text)};c.text.internalUpdateId=o()}else if(n==="tool_call"){if(u[i.toolCallId]!=null){c.text.toolInvocations[u[i.toolCallId].prefixMapIndex]={state:"call",...i}}else{if(c.text==null){c.text={id:o(),role:"assistant",content:"",createdAt:A}}if(c.text.toolInvocations==null){c.text.toolInvocations=[]}c.text.toolInvocations.push({state:"call",...i})}c.text.internalUpdateId=o();if(s){const e=await s({toolCall:i});if(e!=null){c.text.toolInvocations[c.text.toolInvocations.length-1]={state:"result",...i,result:e}}}}else if(n==="tool_result"){const e=(a=c.text)==null?void 0:a.toolInvocations;if(e==null){throw new Error("tool_result must be preceded by a tool_call")}const t=e.findIndex((e=>e.toolCallId===i.toolCallId));if(t===-1){throw new Error("tool_result must be preceded by a tool_call with the same toolCallId")}e[t]={...e[t],state:"result",...i}}let e=null;if(n==="function_call"){c["function_call"]={id:o(),role:"assistant",content:"",function_call:i.function_call,name:i.function_call.name,createdAt:A};e=c["function_call"]}let t=null;if(n==="tool_calls"){c["tool_calls"]={id:o(),role:"assistant",content:"",tool_calls:i.tool_calls,createdAt:A};t=c["tool_calls"]}if(n==="data"){c["data"].push(...i)}let g=c["text"];if(n==="message_annotations"){if(!l){l=[...i]}else{l.push(...i)}e=assignAnnotationsToMessage(c["function_call"],l);t=assignAnnotationsToMessage(c["tool_calls"],l);g=assignAnnotationsToMessage(c["text"],l)}if(l==null?void 0:l.length){const e=["text","function_call","tool_calls"];e.forEach((e=>{if(c[e]){c[e].annotations=[...l]}}))}const h=[e,t,g].filter(Boolean).map((e=>({...assignAnnotationsToMessage(e,l)})));r(h,[...c["data"]])}n==null?void 0:n({prefixMap:c,finishReason:d,usage:p});return{messages:[c.text,c.function_call,c.tool_calls].filter(Boolean),data:c.data}}var dist_getOriginalFetch=()=>fetch;async function callChatApi({api:e,body:t,streamProtocol:r="data",credentials:s,headers:n,abortController:o,restoreMessagesOnFailure:i,onResponse:a,onUpdate:A,onFinish:c,onToolCall:l,generateId:u,fetch:p=dist_getOriginalFetch()}){var d,g;const h=await p(e,{method:"POST",body:JSON.stringify(t),headers:{"Content-Type":"application/json",...n},signal:(d=o==null?void 0:o())==null?void 0:d.signal,credentials:s}).catch((e=>{i();throw e}));if(a){try{await a(h)}catch(e){throw e}}if(!h.ok){i();throw new Error((g=await h.text())!=null?g:"Failed to fetch the chat response.")}if(!h.body){throw new Error("The response body is empty.")}const m=h.body.getReader();switch(r){case"text":{const e=dist_createChunkDecoder();const t={id:u(),createdAt:new Date,role:"assistant",content:""};while(true){const{done:r,value:s}=await m.read();if(r){break}t.content+=e(s);A([{...t}],[]);if((o==null?void 0:o())===null){m.cancel();break}}c==null?void 0:c(t,{usage:{completionTokens:NaN,promptTokens:NaN,totalTokens:NaN},finishReason:"unknown"});return{messages:[t],data:[]}}case"data":{return await parseComplexResponse({reader:m,abortControllerRef:o!=null?{current:o()}:void 0,update:A,onToolCall:l,onFinish({prefixMap:e,finishReason:t,usage:r}){if(c&&e.text!=null){c(e.text,{usage:r,finishReason:t})}},generateId:u})}default:{const e=r;throw new Error(`Unknown stream protocol: ${e}`)}}}var getOriginalFetch2=()=>fetch;async function callCompletionApi({api:e,prompt:t,credentials:r,headers:s,body:n,streamProtocol:o="data",setCompletion:i,setLoading:a,setError:A,setAbortController:c,onResponse:l,onFinish:u,onError:p,onData:d,fetch:g=getOriginalFetch2()}){try{a(true);A(void 0);const p=new AbortController;c(p);i("");const h=await g(e,{method:"POST",body:JSON.stringify({prompt:t,...n}),credentials:r,headers:{"Content-Type":"application/json",...s},signal:p.signal}).catch((e=>{throw e}));if(l){try{await l(h)}catch(e){throw e}}if(!h.ok){throw new Error(await h.text()||"Failed to fetch the chat response.")}if(!h.body){throw new Error("The response body is empty.")}let m="";const E=h.body.getReader();switch(o){case"text":{const e=dist_createChunkDecoder();while(true){const{done:t,value:r}=await E.read();if(t){break}m+=e(r);i(m);if(p===null){E.cancel();break}}break}case"data":{for await(const{type:e,value:t}of readDataStream(E,{isAborted:()=>p===null})){switch(e){case"text":{m+=t;i(m);break}case"data":{d==null?void 0:d(t);break}}}break}default:{const e=o;throw new Error(`Unknown stream protocol: ${e}`)}}if(u){u(t,m)}c(null);return m}catch(e){if(e.name==="AbortError"){c(null);return null}if(e instanceof Error){if(p){p(e)}}A(e)}finally{a(false)}}function dist_createChunkDecoder(e){const t=new TextDecoder;if(!e){return function(e){if(!e)return"";return t.decode(e,{stream:true})}}return function(e){const r=t.decode(e,{stream:true}).split("\n").filter((e=>e!==""));return r.map(parseStreamPart).filter(Boolean)}}function getTextFromDataUrl(e){const[t,r]=e.split(",");const s=t.split(";")[0].split(":")[1];if(s==null||r==null){throw new Error("Invalid data URL format")}try{return window.atob(r)}catch(e){throw new Error(`Error decoding data URL`)}}function dist_isDeepEqualData(e,t){if(e===t)return true;if(e==null||t==null)return false;if(typeof e!=="object"&&typeof t!=="object")return e===t;if(e.constructor!==t.constructor)return false;if(e instanceof Date&&t instanceof Date){return e.getTime()===t.getTime()}if(Array.isArray(e)){if(e.length!==t.length)return false;for(let r=0;rtypeof e!=="object"))){console.warn("experimental_onToolCall should not be defined when using tools");continue}const i=await r(n(),t);if(i===void 0){e=false;break}s(i)}}if(!e){break}}else{let fixFunctionCallArguments2=function(e){for(const t of e.messages){if(t.tool_calls!==void 0){for(const e of t.tool_calls){if(typeof e==="object"){if(e.function.arguments&&typeof e.function.arguments!=="string"){e.function.arguments=JSON.stringify(e.function.arguments)}}}}if(t.function_call!==void 0){if(typeof t.function_call==="object"){if(t.function_call.arguments&&typeof t.function_call.arguments!=="string"){t.function_call.arguments=JSON.stringify(t.function_call.arguments)}}}}};var o=fixFunctionCallArguments2;const e=i;if((e.function_call===void 0||typeof e.function_call==="string")&&(e.tool_calls===void 0||typeof e.tool_calls==="string")){break}if(t){const r=e.function_call;if(!(typeof r==="object")){console.warn("experimental_onFunctionCall should not be defined when using tools");continue}const o=await t(n(),r);if(o===void 0)break;fixFunctionCallArguments2(o);s(o)}if(r){const t=e.tool_calls;if(!(typeof t==="object")){console.warn("experimental_onToolCall should not be defined when using functions");continue}const o=await r(n(),t);if(o===void 0)break;fixFunctionCallArguments2(o);s(o)}}}}var er=Symbol.for("vercel.ai.schema");function jsonSchema(e,{validate:t}={}){return{[er]:true,_type:void 0,[he]:true,jsonSchema:e,validate:t}}function isSchema(e){return typeof e==="object"&&e!==null&&er in e&&e[er]===true&&"jsonSchema"in e&&"validate"in e}function dist_asSchema(e){return isSchema(e)?e:zodSchema(e)}function zodSchema(e){return jsonSchema(Ft(e),{validate:t=>{const r=e.safeParse(t);return r.success?{success:true,value:r.data}:{success:false,error:r.error}}})}var tr=Object.defineProperty;var __export=(e,t)=>{for(var r in t)tr(e,r,{get:t[r],enumerable:true})};async function delay(e){return new Promise((t=>setTimeout(t,e)))}var rr="AI_RetryError";var sr=`vercel.ai.error.${rr}`;var nr=Symbol.for(sr);var or;var ir=class extends A{constructor({message:e,reason:t,errors:r}){super({name:rr,message:e});this[or]=true;this.reason=t;this.errors=r;this.lastError=r[r.length-1]}static isInstance(e){return A.hasMarker(e,sr)}static isRetryError(e){return e instanceof Error&&e.name===rr&&typeof e.reason==="string"&&Array.isArray(e.errors)}toJSON(){return{name:this.name,message:this.message,reason:this.reason,lastError:this.lastError,errors:this.errors}}};or=nr;var retryWithExponentialBackoff=({maxRetries:e=2,initialDelayInMs:t=2e3,backoffFactor:r=2}={})=>async s=>_retryWithExponentialBackoff(s,{maxRetries:e,delayInMs:t,backoffFactor:r});async function _retryWithExponentialBackoff(e,{maxRetries:t,delayInMs:r,backoffFactor:s},n=[]){try{return await e()}catch(o){if(isAbortError(o)){throw o}if(t===0){throw o}const i=dist_getErrorMessage(o);const a=[...n,o];const A=a.length;if(A>t){throw new ir({message:`Failed after ${A} attempts. Last error: ${i}`,reason:"maxRetriesExceeded",errors:a})}if(o instanceof Error&&d.isAPICallError(o)&&o.isRetryable===true&&A<=t){await delay(r);return _retryWithExponentialBackoff(e,{maxRetries:t,delayInMs:s*r,backoffFactor:s},a)}if(A===1){throw o}throw new ir({message:`Failed after ${A} attempts with non-retryable error: '${i}'`,reason:"errorNotRetryable",errors:a})}}function assembleOperationName({operationName:e,telemetry:t}){return{"operation.name":`${e}${(t==null?void 0:t.functionId)!=null?` ${t.functionId}`:""}`}}function getBaseTelemetryAttributes({model:e,settings:t,telemetry:r,headers:s}){var n;return{"ai.model.provider":e.provider,"ai.model.id":e.modelId,...Object.entries(t).reduce(((e,[t,r])=>{e[`ai.settings.${t}`]=r;return e}),{}),"resource.name":r==null?void 0:r.functionId,"ai.telemetry.functionId":r==null?void 0:r.functionId,...Object.entries((n=r==null?void 0:r.metadata)!=null?n:{}).reduce(((e,[t,r])=>{e[`ai.telemetry.metadata.${t}`]=r;return e}),{}),...Object.entries(s!=null?s:{}).reduce(((e,[t,r])=>{if(r!==void 0){e[`ai.request.headers.${t}`]=r}return e}),{})}}var ar={startSpan(){return Ar},startActiveSpan(e,t,r,s){if(typeof t==="function"){return t(Ar)}if(typeof r==="function"){return r(Ar)}if(typeof s==="function"){return s(Ar)}}};var Ar={spanContext(){return cr},setAttribute(){return this},setAttributes(){return this},addEvent(){return this},addLink(){return this},addLinks(){return this},setStatus(){return this},updateName(){return this},end(){return this},isRecording(){return false},recordException(){return this}};var cr={traceId:"",spanId:"",traceFlags:0};var lr=void 0;function getTracer({isEnabled:e}){if(!e){return ar}if(lr){return lr}return Ce.g4.getTracer("ai")}function recordSpan({name:e,tracer:t,attributes:r,fn:s,endWhenDone:n=true}){return t.startActiveSpan(e,{attributes:r},(async e=>{try{const t=await s(e);if(n){e.end()}return t}catch(t){try{if(t instanceof Error){e.recordException({name:t.name,message:t.message,stack:t.stack});e.setStatus({code:Ce.Qn.ERROR,message:t.message})}else{e.setStatus({code:Ce.Qn.ERROR})}}finally{e.end()}throw t}}))}function selectTelemetryAttributes({telemetry:e,attributes:t}){return Object.entries(t).reduce(((t,[r,s])=>{if(s===void 0){return t}if(typeof s==="object"&&"input"in s&&typeof s.input==="function"){if((e==null?void 0:e.recordInputs)===false){return t}const n=s.input();return n===void 0?t:{...t,[r]:n}}if(typeof s==="object"&&"output"in s&&typeof s.output==="function"){if((e==null?void 0:e.recordOutputs)===false){return t}const n=s.output();return n===void 0?t:{...t,[r]:n}}return{...t,[r]:s}}),{})}async function dist_embed({model:e,value:t,maxRetries:r,abortSignal:s,headers:n,experimental_telemetry:o}){var i;const a=getBaseTelemetryAttributes({model:e,telemetry:o,headers:n,settings:{maxRetries:r}});const A=getTracer({isEnabled:(i=o==null?void 0:o.isEnabled)!=null?i:false});return recordSpan({name:"ai.embed",attributes:selectTelemetryAttributes({telemetry:o,attributes:{...assembleOperationName({operationName:"ai.embed",telemetry:o}),...a,"ai.value":{input:()=>JSON.stringify(t)}}}),tracer:A,fn:async i=>{const c=retryWithExponentialBackoff({maxRetries:r});const{embedding:l,usage:u,rawResponse:p}=await c((()=>recordSpan({name:"ai.embed.doEmbed",attributes:selectTelemetryAttributes({telemetry:o,attributes:{...assembleOperationName({operationName:"ai.embed.doEmbed",telemetry:o}),...a,"ai.values":{input:()=>[JSON.stringify(t)]}}}),tracer:A,fn:async r=>{var i;const a=await e.doEmbed({values:[t],abortSignal:s,headers:n});const A=a.embeddings[0];const c=(i=a.usage)!=null?i:{tokens:NaN};r.setAttributes(selectTelemetryAttributes({telemetry:o,attributes:{"ai.embeddings":{output:()=>a.embeddings.map((e=>JSON.stringify(e)))},"ai.usage.tokens":c.tokens}}));return{embedding:A,usage:c,rawResponse:a.rawResponse}}})));i.setAttributes(selectTelemetryAttributes({telemetry:o,attributes:{"ai.embedding":{output:()=>JSON.stringify(l)},"ai.usage.tokens":u.tokens}}));return new ur({value:t,embedding:l,usage:u,rawResponse:p})}})}var ur=class{constructor(e){this.value=e.value;this.embedding=e.embedding;this.usage=e.usage;this.rawResponse=e.rawResponse}};function splitArray(e,t){if(t<=0){throw new Error("chunkSize must be greater than 0")}const r=[];for(let s=0;st.map((e=>JSON.stringify(e)))}}}),tracer:A,fn:async i=>{const c=retryWithExponentialBackoff({maxRetries:r});const l=e.maxEmbeddingsPerCall;if(l==null){const{embeddings:r,usage:l}=await c((()=>recordSpan({name:"ai.embedMany.doEmbed",attributes:selectTelemetryAttributes({telemetry:o,attributes:{...assembleOperationName({operationName:"ai.embedMany.doEmbed",telemetry:o}),...a,"ai.values":{input:()=>t.map((e=>JSON.stringify(e)))}}}),tracer:A,fn:async r=>{var i;const a=await e.doEmbed({values:t,abortSignal:s,headers:n});const A=a.embeddings;const c=(i=a.usage)!=null?i:{tokens:NaN};r.setAttributes(selectTelemetryAttributes({telemetry:o,attributes:{"ai.embeddings":{output:()=>A.map((e=>JSON.stringify(e)))},"ai.usage.tokens":c.tokens}}));return{embeddings:A,usage:c}}})));i.setAttributes(selectTelemetryAttributes({telemetry:o,attributes:{"ai.embeddings":{output:()=>r.map((e=>JSON.stringify(e)))},"ai.usage.tokens":l.tokens}}));return new pr({values:t,embeddings:r,usage:l})}const u=splitArray(t,l);const p=[];let d=0;for(const t of u){const{embeddings:r,usage:i}=await c((()=>recordSpan({name:"ai.embedMany.doEmbed",attributes:selectTelemetryAttributes({telemetry:o,attributes:{...assembleOperationName({operationName:"ai.embedMany.doEmbed",telemetry:o}),...a,"ai.values":{input:()=>t.map((e=>JSON.stringify(e)))}}}),tracer:A,fn:async r=>{var i;const a=await e.doEmbed({values:t,abortSignal:s,headers:n});const A=a.embeddings;const c=(i=a.usage)!=null?i:{tokens:NaN};r.setAttributes(selectTelemetryAttributes({telemetry:o,attributes:{"ai.embeddings":{output:()=>A.map((e=>JSON.stringify(e)))},"ai.usage.tokens":c.tokens}}));return{embeddings:A,usage:c}}})));p.push(...r);d+=i.tokens}i.setAttributes(selectTelemetryAttributes({telemetry:o,attributes:{"ai.embeddings":{output:()=>p.map((e=>JSON.stringify(e)))},"ai.usage.tokens":d}}));return new pr({values:t,embeddings:p,usage:{tokens:d}})}})}var pr=class{constructor(e){this.values=e.values;this.embeddings=e.embeddings;this.usage=e.usage}};var dr="AI_DownloadError";var gr=`vercel.ai.error.${dr}`;var hr=Symbol.for(gr);var fr;var mr=class extends A{constructor({url:e,statusCode:t,statusText:r,cause:s,message:n=(s==null?`Failed to download ${e}: ${t} ${r}`:`Failed to download ${e}: ${s}`)}){super({name:dr,message:n,cause:s});this[fr]=true;this.url=e;this.statusCode=t;this.statusText=r}static isInstance(e){return A.hasMarker(e,gr)}static isDownloadError(e){return e instanceof Error&&e.name===dr&&typeof e.url==="string"&&(e.statusCode==null||typeof e.statusCode==="number")&&(e.statusText==null||typeof e.statusText==="string")}toJSON(){return{name:this.name,message:this.message,url:this.url,statusCode:this.statusCode,statusText:this.statusText,cause:this.cause}}};fr=hr;async function download({url:e,fetchImplementation:t=fetch}){var r;const s=e.toString();try{const e=await t(s);if(!e.ok){throw new mr({url:s,statusCode:e.status,statusText:e.statusText})}return{data:new Uint8Array(await e.arrayBuffer()),mimeType:(r=e.headers.get("content-type"))!=null?r:void 0}}catch(e){if(mr.isInstance(e)){throw e}throw new mr({url:s,cause:e})}}var Er=[{mimeType:"image/gif",bytes:[71,73,70]},{mimeType:"image/png",bytes:[137,80,78,71]},{mimeType:"image/jpeg",bytes:[255,216]},{mimeType:"image/webp",bytes:[82,73,70,70]}];function detectImageMimeType(e){for(const{bytes:t,mimeType:r}of Er){if(e.length>=t.length&&t.every(((t,r)=>e[r]===t))){return r}}return void 0}var Cr="AI_InvalidDataContentError";var Ir=`vercel.ai.error.${Cr}`;var Br=Symbol.for(Ir);var Qr;var br=class extends A{constructor({content:e,cause:t,message:r=`Invalid data content. Expected a base64 string, Uint8Array, ArrayBuffer, or Buffer, but got ${typeof e}.`}){super({name:Cr,message:r,cause:t});this[Qr]=true;this.content=e}static isInstance(e){return A.hasMarker(e,Ir)}static isInvalidDataContentError(e){return e instanceof Error&&e.name===Cr&&e.content!=null}toJSON(){return{name:this.name,message:this.message,stack:this.stack,cause:this.cause,content:this.content}}};Qr=Br;function convertDataContentToBase64String(e){if(typeof e==="string"){return e}if(e instanceof ArrayBuffer){return convertUint8ArrayToBase64(new Uint8Array(e))}return convertUint8ArrayToBase64(e)}function convertDataContentToUint8Array(e){if(e instanceof Uint8Array){return e}if(typeof e==="string"){try{return convertBase64ToUint8Array(e)}catch(t){throw new br({message:"Invalid data content. Content string is not a base64-encoded media.",content:e,cause:t})}}if(e instanceof ArrayBuffer){return new Uint8Array(e)}throw new br({content:e})}function convertUint8ArrayToText(e){try{return(new TextDecoder).decode(e)}catch(e){throw new Error("Error decoding Uint8Array to text")}}var yr="AI_InvalidMessageRoleError";var vr=`vercel.ai.error.${yr}`;var wr=Symbol.for(vr);var xr;var kr=class extends A{constructor({role:e,message:t=`Invalid message role: '${e}'. Must be one of: "system", "user", "assistant", "tool".`}){super({name:yr,message:t});this[xr]=true;this.role=e}static isInstance(e){return A.hasMarker(e,vr)}static isInvalidMessageRoleError(e){return e instanceof Error&&e.name===yr&&typeof e.role==="string"}toJSON(){return{name:this.name,message:this.message,stack:this.stack,role:this.role}}};xr=wr;async function convertToLanguageModelPrompt({prompt:e,modelSupportsImageUrls:t=true,downloadImplementation:r=download}){const s=[];if(e.system!=null){s.push({role:"system",content:e.system})}const n=t||e.messages==null?null:await downloadImages(e.messages,r);const o=e.type;switch(o){case"prompt":{s.push({role:"user",content:[{type:"text",text:e.prompt}]});break}case"messages":{s.push(...e.messages.map((e=>convertToLanguageModelMessage(e,n))));break}default:{const e=o;throw new Error(`Unsupported prompt type: ${e}`)}}return s}function convertToLanguageModelMessage(e,t){const r=e.role;switch(r){case"system":{return{role:"system",content:e.content}}case"user":{if(typeof e.content==="string"){return{role:"user",content:[{type:"text",text:e.content}]}}return{role:"user",content:e.content.map((r=>{var s,n,o;switch(r.type){case"text":{return r}case"image":{if(r.image instanceof URL){if(t==null){return{type:"image",image:r.image,mimeType:r.mimeType}}else{const e=t[r.image.toString()];return{type:"image",image:e.data,mimeType:(s=r.mimeType)!=null?s:e.mimeType}}}if(typeof r.image==="string"){try{const s=new URL(r.image);switch(s.protocol){case"http:":case"https:":{if(t==null){return{type:"image",image:s,mimeType:r.mimeType}}else{const e=t[r.image];return{type:"image",image:e.data,mimeType:(n=r.mimeType)!=null?n:e.mimeType}}}case"data:":{try{const[e,t]=r.image.split(",");const s=e.split(";")[0].split(":")[1];if(s==null||t==null){throw new Error("Invalid data URL format")}return{type:"image",image:convertDataContentToUint8Array(t),mimeType:s}}catch(t){throw new Error(`Error processing data URL: ${dist_getErrorMessage(e)}`)}}default:{throw new Error(`Unsupported URL protocol: ${s.protocol}`)}}}catch(e){}}const i=convertDataContentToUint8Array(r.image);return{type:"image",image:i,mimeType:(o=r.mimeType)!=null?o:detectImageMimeType(i)}}}}))}}case"assistant":{if(typeof e.content==="string"){return{role:"assistant",content:[{type:"text",text:e.content}]}}return{role:"assistant",content:e.content.filter((e=>e.type!=="text"||e.text!==""))}}case"tool":{return e}default:{const e=r;throw new kr({role:e})}}}async function downloadImages(e,t){const r=e.filter((e=>e.role==="user")).map((e=>e.content)).filter((e=>Array.isArray(e))).flat().filter((e=>e.type==="image")).map((e=>e.image)).map((e=>typeof e==="string"&&(e.startsWith("http:")||e.startsWith("https:"))?new URL(e):e)).filter((e=>e instanceof URL));const s=await Promise.all(r.map((async e=>({url:e,data:await t({url:e})}))));return Object.fromEntries(s.map((({url:e,data:t})=>[e.toString(),t])))}function getValidatedPrompt(e){if(e.prompt==null&&e.messages==null){throw new y({prompt:e,message:"prompt or messages must be defined"})}if(e.prompt!=null&&e.messages!=null){throw new y({prompt:e,message:"prompt and messages cannot be defined at the same time"})}if(e.messages!=null){for(const t of e.messages){if(t.role==="system"&&typeof t.content!=="string"){throw new y({prompt:e,message:"system message content must be a string"})}}}return e.prompt!=null?{type:"prompt",prompt:e.prompt,messages:void 0,system:e.system}:{type:"messages",prompt:void 0,messages:e.messages,system:e.system}}var Rr="AI_InvalidArgumentError";var Sr=`vercel.ai.error.${Rr}`;var Dr=Symbol.for(Sr);var Tr;var _r=class extends A{constructor({parameter:e,value:t,message:r}){super({name:Rr,message:`Invalid argument for parameter ${e}: ${r}`});this[Tr]=true;this.parameter=e;this.value=t}static isInstance(e){return A.hasMarker(e,Sr)}static isInvalidArgumentError(e){return e instanceof Error&&e.name===Rr&&typeof e.parameter==="string"&&typeof e.value==="string"}toJSON(){return{name:this.name,message:this.message,stack:this.stack,parameter:this.parameter,value:this.value}}};Tr=Dr;function prepareCallSettings({maxTokens:e,temperature:t,topP:r,presencePenalty:s,frequencyPenalty:n,stopSequences:o,seed:i,maxRetries:a}){if(e!=null){if(!Number.isInteger(e)){throw new _r({parameter:"maxTokens",value:e,message:"maxTokens must be an integer"})}if(e<1){throw new _r({parameter:"maxTokens",value:e,message:"maxTokens must be >= 1"})}}if(t!=null){if(typeof t!=="number"){throw new _r({parameter:"temperature",value:t,message:"temperature must be a number"})}}if(r!=null){if(typeof r!=="number"){throw new _r({parameter:"topP",value:r,message:"topP must be a number"})}}if(s!=null){if(typeof s!=="number"){throw new _r({parameter:"presencePenalty",value:s,message:"presencePenalty must be a number"})}}if(n!=null){if(typeof n!=="number"){throw new _r({parameter:"frequencyPenalty",value:n,message:"frequencyPenalty must be a number"})}}if(i!=null){if(!Number.isInteger(i)){throw new _r({parameter:"seed",value:i,message:"seed must be an integer"})}}if(a!=null){if(!Number.isInteger(a)){throw new _r({parameter:"maxRetries",value:a,message:"maxRetries must be an integer"})}if(a<0){throw new _r({parameter:"maxRetries",value:a,message:"maxRetries must be >= 0"})}}return{maxTokens:e,temperature:t!=null?t:0,topP:r,presencePenalty:s,frequencyPenalty:n,stopSequences:o!=null&&o.length>0?o:void 0,seed:i,maxRetries:a!=null?a:2}}function calculateCompletionTokenUsage(e){return{promptTokens:e.promptTokens,completionTokens:e.completionTokens,totalTokens:e.promptTokens+e.completionTokens}}function prepareResponseHeaders(e,{contentType:t,dataStreamVersion:r}){var s;const n=new Headers((s=e==null?void 0:e.headers)!=null?s:{});if(!n.has("Content-Type")){n.set("Content-Type",t)}if(r!==void 0){n.set("X-Vercel-AI-Data-Stream",r)}return n}var Fr="JSON schema:";var Nr="You MUST answer with a JSON object that matches the JSON schema above.";function injectJsonSchemaIntoSystem({system:e,schema:t,schemaPrefix:r=Fr,schemaSuffix:s=Nr}){return[e,e!=null?"":null,r,JSON.stringify(t),s].filter((e=>e!=null)).join("\n")}var Ur="AI_NoObjectGeneratedError";var Or=`vercel.ai.error.${Ur}`;var Mr=Symbol.for(Or);var Lr;var Pr=class extends(null&&AISDKError6){constructor({message:e="No object generated."}={}){super({name:Ur,message:e});this[Lr]=true}static isInstance(e){return AISDKError6.hasMarker(e,Or)}static isNoObjectGeneratedError(e){return e instanceof Error&&e.name===Ur}toJSON(){return{name:this.name,cause:this.cause,message:this.message,stack:this.stack}}};Lr=Mr;async function generateObject({model:e,schema:t,schemaName:r,schemaDescription:s,mode:n,system:o,prompt:i,messages:a,maxRetries:A,abortSignal:c,headers:l,experimental_telemetry:u,...p}){var d;const g=getBaseTelemetryAttributes({model:e,telemetry:u,headers:l,settings:{...p,maxRetries:A}});const h=asSchema(t);const m=getTracer({isEnabled:(d=u==null?void 0:u.isEnabled)!=null?d:false});return recordSpan({name:"ai.generateObject",attributes:selectTelemetryAttributes({telemetry:u,attributes:{...assembleOperationName({operationName:"ai.generateObject",telemetry:u}),...g,"ai.prompt":{input:()=>JSON.stringify({system:o,prompt:i,messages:a})},"ai.schema":{input:()=>JSON.stringify(h.jsonSchema)},"ai.schema.name":r,"ai.schema.description":s,"ai.settings.mode":n}}),tracer:m,fn:async t=>{const d=retryWithExponentialBackoff({maxRetries:A});if(n==="auto"||n==null){n=e.defaultObjectGenerationMode}let E;let C;let I;let B;let Q;let b;switch(n){case"json":{const t=getValidatedPrompt({system:e.supportsStructuredOutputs?o:injectJsonSchemaIntoSystem({system:o,schema:h.jsonSchema}),prompt:i,messages:a});const A=await convertToLanguageModelPrompt({prompt:t,modelSupportsImageUrls:e.supportsImageUrls});const y=t.type;const v=await d((()=>recordSpan({name:"ai.generateObject.doGenerate",attributes:selectTelemetryAttributes({telemetry:u,attributes:{...assembleOperationName({operationName:"ai.generateObject.doGenerate",telemetry:u}),...g,"ai.prompt.format":{input:()=>y},"ai.prompt.messages":{input:()=>JSON.stringify(A)},"ai.settings.mode":n,"gen_ai.request.model":e.modelId,"gen_ai.system":e.provider,"gen_ai.request.max_tokens":p.maxTokens,"gen_ai.request.temperature":p.temperature,"gen_ai.request.top_p":p.topP}}),tracer:m,fn:async t=>{const n=await e.doGenerate({mode:{type:"object-json",schema:h.jsonSchema,name:r,description:s},...prepareCallSettings(p),inputFormat:y,prompt:A,abortSignal:c,headers:l});if(n.text===void 0){throw new Pr}t.setAttributes(selectTelemetryAttributes({telemetry:u,attributes:{"ai.finishReason":n.finishReason,"ai.usage.promptTokens":n.usage.promptTokens,"ai.usage.completionTokens":n.usage.completionTokens,"ai.result.object":{output:()=>n.text},"gen_ai.response.finish_reasons":[n.finishReason],"gen_ai.usage.prompt_tokens":n.usage.promptTokens,"gen_ai.usage.completion_tokens":n.usage.completionTokens}}));return{...n,objectText:n.text}}})));E=v.objectText;C=v.finishReason;I=v.usage;B=v.warnings;Q=v.rawResponse;b=v.logprobs;break}case"tool":{const t=getValidatedPrompt({system:o,prompt:i,messages:a});const A=await convertToLanguageModelPrompt({prompt:t,modelSupportsImageUrls:e.supportsImageUrls});const y=t.type;const v=await d((()=>recordSpan({name:"ai.generateObject.doGenerate",attributes:selectTelemetryAttributes({telemetry:u,attributes:{...assembleOperationName({operationName:"ai.generateObject.doGenerate",telemetry:u}),...g,"ai.prompt.format":{input:()=>y},"ai.prompt.messages":{input:()=>JSON.stringify(A)},"ai.settings.mode":n,"gen_ai.request.model":e.modelId,"gen_ai.system":e.provider,"gen_ai.request.max_tokens":p.maxTokens,"gen_ai.request.temperature":p.temperature,"gen_ai.request.top_p":p.topP}}),tracer:m,fn:async t=>{var n,o;const i=await e.doGenerate({mode:{type:"object-tool",tool:{type:"function",name:r!=null?r:"json",description:s!=null?s:"Respond with a JSON object.",parameters:h.jsonSchema}},...prepareCallSettings(p),inputFormat:y,prompt:A,abortSignal:c,headers:l});const a=(o=(n=i.toolCalls)==null?void 0:n[0])==null?void 0:o.args;if(a===void 0){throw new Pr}t.setAttributes(selectTelemetryAttributes({telemetry:u,attributes:{"ai.finishReason":i.finishReason,"ai.usage.promptTokens":i.usage.promptTokens,"ai.usage.completionTokens":i.usage.completionTokens,"ai.result.object":{output:()=>a},"gen_ai.response.finish_reasons":[i.finishReason],"gen_ai.usage.prompt_tokens":i.usage.promptTokens,"gen_ai.usage.completion_tokens":i.usage.completionTokens}}));return{...i,objectText:a}}})));E=v.objectText;C=v.finishReason;I=v.usage;B=v.warnings;Q=v.rawResponse;b=v.logprobs;break}case void 0:{throw new Error("Model does not have a default object generation mode.")}default:{const e=n;throw new Error(`Unsupported mode: ${e}`)}}const y=safeParseJSON({text:E,schema:h});if(!y.success){throw y.error}t.setAttributes(selectTelemetryAttributes({telemetry:u,attributes:{"ai.finishReason":C,"ai.usage.promptTokens":I.promptTokens,"ai.usage.completionTokens":I.completionTokens,"ai.result.object":{output:()=>JSON.stringify(y.value)}}}));return new Gr({object:y.value,finishReason:C,usage:calculateCompletionTokenUsage(I),warnings:B,rawResponse:Q,logprobs:b})}})}var Gr=class{constructor(e){this.object=e.object;this.finishReason=e.finishReason;this.usage=e.usage;this.warnings=e.warnings;this.rawResponse=e.rawResponse;this.logprobs=e.logprobs}toJsonResponse(e){var t;return new Response(JSON.stringify(this.object),{status:(t=e==null?void 0:e.status)!=null?t:200,headers:prepareResponseHeaders(e,{contentType:"application/json; charset=utf-8"})})}};var Hr=null&&generateObject;function createResolvablePromise(){let e;let t;const r=new Promise(((r,s)=>{e=r;t=s}));return{promise:r,resolve:e,reject:t}}var jr=class{constructor(){this.status={type:"pending"};this._resolve=void 0;this._reject=void 0}get value(){if(this.promise){return this.promise}this.promise=new Promise(((e,t)=>{if(this.status.type==="resolved"){e(this.status.value)}else if(this.status.type==="rejected"){t(this.status.error)}this._resolve=e;this._reject=t}));return this.promise}resolve(e){var t;this.status={type:"resolved",value:e};if(this.promise){(t=this._resolve)==null?void 0:t.call(this,e)}}reject(e){var t;this.status={type:"rejected",error:e};if(this.promise){(t=this._reject)==null?void 0:t.call(this,e)}}};function createAsyncIterableStream(e,t){const r=e.pipeThrough(new TransformStream(t));r[Symbol.asyncIterator]=()=>{const e=r.getReader();return{async next(){const{done:t,value:r}=await e.read();return t?{done:true,value:void 0}:{done:false,value:r}}}};return r}async function streamObject({model:e,schema:t,schemaName:r,schemaDescription:s,mode:n,system:o,prompt:i,messages:a,maxRetries:A,abortSignal:c,headers:l,experimental_telemetry:u,onFinish:p,...d}){var g;const h=getBaseTelemetryAttributes({model:e,telemetry:u,headers:l,settings:{...d,maxRetries:A}});const m=getTracer({isEnabled:(g=u==null?void 0:u.isEnabled)!=null?g:false});const E=retryWithExponentialBackoff({maxRetries:A});const C=asSchema2(t);return recordSpan({name:"ai.streamObject",attributes:selectTelemetryAttributes({telemetry:u,attributes:{...assembleOperationName({operationName:"ai.streamObject",telemetry:u}),...h,"ai.prompt":{input:()=>JSON.stringify({system:o,prompt:i,messages:a})},"ai.schema":{input:()=>JSON.stringify(C.jsonSchema)},"ai.schema.name":r,"ai.schema.description":s,"ai.settings.mode":n}}),tracer:m,endWhenDone:false,fn:async t=>{if(n==="auto"||n==null){n=e.defaultObjectGenerationMode}let A;let g;switch(n){case"json":{const t=getValidatedPrompt({system:e.supportsStructuredOutputs?o:injectJsonSchemaIntoSystem({system:o,schema:C.jsonSchema}),prompt:i,messages:a});A={mode:{type:"object-json",schema:C.jsonSchema,name:r,description:s},...prepareCallSettings(d),inputFormat:t.type,prompt:await convertToLanguageModelPrompt({prompt:t,modelSupportsImageUrls:e.supportsImageUrls}),abortSignal:c,headers:l};g={transform:(e,t)=>{switch(e.type){case"text-delta":t.enqueue(e.textDelta);break;case"finish":case"error":t.enqueue(e);break}}};break}case"tool":{const t=getValidatedPrompt({system:o,prompt:i,messages:a});A={mode:{type:"object-tool",tool:{type:"function",name:r!=null?r:"json",description:s!=null?s:"Respond with a JSON object.",parameters:C.jsonSchema}},...prepareCallSettings(d),inputFormat:t.type,prompt:await convertToLanguageModelPrompt({prompt:t,modelSupportsImageUrls:e.supportsImageUrls}),abortSignal:c,headers:l};g={transform(e,t){switch(e.type){case"tool-call-delta":t.enqueue(e.argsTextDelta);break;case"finish":case"error":t.enqueue(e);break}}};break}case void 0:{throw new Error("Model does not have a default object generation mode.")}default:{const e=n;throw new Error(`Unsupported mode: ${e}`)}}const{result:{stream:I,warnings:B,rawResponse:Q},doStreamSpan:b}=await E((()=>recordSpan({name:"ai.streamObject.doStream",attributes:selectTelemetryAttributes({telemetry:u,attributes:{...assembleOperationName({operationName:"ai.streamObject.doStream",telemetry:u}),...h,"ai.prompt.format":{input:()=>A.inputFormat},"ai.prompt.messages":{input:()=>JSON.stringify(A.prompt)},"ai.settings.mode":n,"gen_ai.request.model":e.modelId,"gen_ai.system":e.provider,"gen_ai.request.max_tokens":d.maxTokens,"gen_ai.request.temperature":d.temperature,"gen_ai.request.top_p":d.topP}}),tracer:m,endWhenDone:false,fn:async t=>({result:await e.doStream(A),doStreamSpan:t})})));return new Vr({stream:I.pipeThrough(new TransformStream(g)),warnings:B,rawResponse:Q,schema:C,onFinish:p,rootSpan:t,doStreamSpan:b,telemetry:u})}})}var Vr=class{constructor({stream:e,warnings:t,rawResponse:r,schema:s,onFinish:n,rootSpan:o,doStreamSpan:i,telemetry:a}){this.warnings=t;this.rawResponse=r;this.objectPromise=new jr;const{resolve:A,promise:c}=createResolvablePromise();this.usage=c;let l;let u;let p;let d;let g="";let h="";let m=void 0;let E=true;const C=this;this.originalStream=e.pipeThrough(new TransformStream({async transform(e,t){if(E){E=false;i.addEvent("ai.stream.firstChunk")}if(typeof e==="string"){g+=e;h+=e;const r=parsePartialJson(g);if(!isDeepEqualData(m,r)){m=r;t.enqueue({type:"object",object:r});t.enqueue({type:"text-delta",textDelta:h});h=""}return}switch(e.type){case"finish":{if(h!==""){t.enqueue({type:"text-delta",textDelta:h})}u=e.finishReason;l=calculateCompletionTokenUsage(e.usage);t.enqueue({...e,usage:l});A(l);const r=safeValidateTypes({value:m,schema:s});if(r.success){p=r.value;C.objectPromise.resolve(p)}else{d=r.error;C.objectPromise.reject(d)}break}default:{t.enqueue(e);break}}},async flush(e){try{const e=l!=null?l:{promptTokens:NaN,completionTokens:NaN,totalTokens:NaN};i.setAttributes(selectTelemetryAttributes({telemetry:a,attributes:{"ai.finishReason":u,"ai.usage.promptTokens":e.promptTokens,"ai.usage.completionTokens":e.completionTokens,"ai.result.object":{output:()=>JSON.stringify(p)},"gen_ai.usage.prompt_tokens":e.promptTokens,"gen_ai.usage.completion_tokens":e.completionTokens,"gen_ai.response.finish_reasons":[u]}}));i.end();o.setAttributes(selectTelemetryAttributes({telemetry:a,attributes:{"ai.usage.promptTokens":e.promptTokens,"ai.usage.completionTokens":e.completionTokens,"ai.result.object":{output:()=>JSON.stringify(p)}}}));await(n==null?void 0:n({usage:e,object:p,error:d,rawResponse:r,warnings:t}))}catch(t){e.error(t)}finally{o.end()}}}))}get object(){return this.objectPromise.value}get partialObjectStream(){return createAsyncIterableStream(this.originalStream,{transform(e,t){switch(e.type){case"object":t.enqueue(e.object);break;case"text-delta":case"finish":break;case"error":t.error(e.error);break;default:{const t=e;throw new Error(`Unsupported chunk type: ${t}`)}}}})}get textStream(){return createAsyncIterableStream(this.originalStream,{transform(e,t){switch(e.type){case"text-delta":t.enqueue(e.textDelta);break;case"object":case"finish":break;case"error":t.error(e.error);break;default:{const t=e;throw new Error(`Unsupported chunk type: ${t}`)}}}})}get fullStream(){return createAsyncIterableStream(this.originalStream,{transform(e,t){t.enqueue(e)}})}pipeTextStreamToResponse(e,t){var r;e.writeHead((r=t==null?void 0:t.status)!=null?r:200,{"Content-Type":"text/plain; charset=utf-8",...t==null?void 0:t.headers});const s=this.textStream.pipeThrough(new TextEncoderStream).getReader();const read=async()=>{try{while(true){const{done:t,value:r}=await s.read();if(t)break;e.write(r)}}catch(e){throw e}finally{e.end()}};read()}toTextStreamResponse(e){var t;return new Response(this.textStream.pipeThrough(new TextEncoderStream),{status:(t=e==null?void 0:e.status)!=null?t:200,headers:prepareResponseHeaders(e,{contentType:"text/plain; charset=utf-8"})})}};var Jr=null&&streamObject;function isNonEmptyObject(e){return e!=null&&Object.keys(e).length>0}function prepareToolsAndToolChoice({tools:e,toolChoice:t}){if(!isNonEmptyObject(e)){return{tools:void 0,toolChoice:void 0}}return{tools:Object.entries(e).map((([e,t])=>({type:"function",name:e,description:t.description,parameters:dist_asSchema(t.parameters).jsonSchema}))),toolChoice:t==null?{type:"auto"}:typeof t==="string"?{type:t}:{type:"tool",toolName:t.toolName}}}var Yr="AI_InvalidToolArgumentsError";var qr=`vercel.ai.error.${Yr}`;var Wr=Symbol.for(qr);var Zr;var zr=class extends A{constructor({toolArgs:e,toolName:t,cause:r,message:s=`Invalid arguments for tool ${t}: ${getErrorMessage(r)}`}){super({name:Yr,message:s,cause:r});this[Zr]=true;this.toolArgs=e;this.toolName=t}static isInstance(e){return A.hasMarker(e,qr)}static isInvalidToolArgumentsError(e){return e instanceof Error&&e.name===Yr&&typeof e.toolName==="string"&&typeof e.toolArgs==="string"}toJSON(){return{name:this.name,message:this.message,cause:this.cause,stack:this.stack,toolName:this.toolName,toolArgs:this.toolArgs}}};Zr=Wr;var Kr="AI_NoSuchToolError";var Xr=`vercel.ai.error.${Kr}`;var $r=Symbol.for(Xr);var es;var ts=class extends A{constructor({toolName:e,availableTools:t=void 0,message:r=`Model tried to call unavailable tool '${e}'. ${t===void 0?"No tools are available.":`Available tools: ${t.join(", ")}.`}`}){super({name:Kr,message:r});this[es]=true;this.toolName=e;this.availableTools=t}static isInstance(e){return A.hasMarker(e,Xr)}static isNoSuchToolError(e){return e instanceof Error&&e.name===Kr&&"toolName"in e&&e.toolName!=void 0&&typeof e.name==="string"}toJSON(){return{name:this.name,message:this.message,stack:this.stack,toolName:this.toolName,availableTools:this.availableTools}}};es=$r;function parseToolCall({toolCall:e,tools:t}){const r=e.toolName;if(t==null){throw new ts({toolName:e.toolName})}const s=t[r];if(s==null){throw new ts({toolName:e.toolName,availableTools:Object.keys(t)})}const n=dist_safeParseJSON({text:e.args,schema:dist_asSchema(s.parameters)});if(n.success===false){throw new zr({toolName:r,toolArgs:e.args,cause:n.error})}return{type:"tool-call",toolCallId:e.toolCallId,toolName:r,args:n.value}}async function generateText({model:e,tools:t,toolChoice:r,system:s,prompt:n,messages:o,maxRetries:i,abortSignal:a,headers:A,maxAutomaticRoundtrips:c=0,maxToolRoundtrips:l=c,experimental_telemetry:u,...p}){var d;const g=getBaseTelemetryAttributes({model:e,telemetry:u,headers:A,settings:{...p,maxRetries:i}});const h=getTracer({isEnabled:(d=u==null?void 0:u.isEnabled)!=null?d:false});return recordSpan({name:"ai.generateText",attributes:selectTelemetryAttributes({telemetry:u,attributes:{...assembleOperationName({operationName:"ai.generateText",telemetry:u}),...g,"ai.prompt":{input:()=>JSON.stringify({system:s,prompt:n,messages:o})},"ai.settings.maxToolRoundtrips":l}}),tracer:h,fn:async c=>{var d,m,E,C;const I=retryWithExponentialBackoff({maxRetries:i});const B=getValidatedPrompt({system:s,prompt:n,messages:o});const Q={type:"regular",...prepareToolsAndToolChoice({tools:t,toolChoice:r})};const b=prepareCallSettings(p);const y=await convertToLanguageModelPrompt({prompt:B,modelSupportsImageUrls:e.supportsImageUrls});let v;let w=[];let x=[];let k=0;const R=[];const S=[];const D={completionTokens:0,promptTokens:0,totalTokens:0};do{const r=k===0?B.type:"messages";v=await I((()=>recordSpan({name:"ai.generateText.doGenerate",attributes:selectTelemetryAttributes({telemetry:u,attributes:{...assembleOperationName({operationName:"ai.generateText.doGenerate",telemetry:u}),...g,"ai.prompt.format":{input:()=>r},"ai.prompt.messages":{input:()=>JSON.stringify(y)},"gen_ai.request.model":e.modelId,"gen_ai.system":e.provider,"gen_ai.request.max_tokens":p.maxTokens,"gen_ai.request.temperature":p.temperature,"gen_ai.request.top_p":p.topP}}),tracer:h,fn:async t=>{const s=await e.doGenerate({mode:Q,...b,inputFormat:r,prompt:y,abortSignal:a,headers:A});t.setAttributes(selectTelemetryAttributes({telemetry:u,attributes:{"ai.finishReason":s.finishReason,"ai.usage.promptTokens":s.usage.promptTokens,"ai.usage.completionTokens":s.usage.completionTokens,"ai.result.text":{output:()=>s.text},"ai.result.toolCalls":{output:()=>JSON.stringify(s.toolCalls)},"gen_ai.response.finish_reasons":[s.finishReason],"gen_ai.usage.prompt_tokens":s.usage.promptTokens,"gen_ai.usage.completion_tokens":s.usage.completionTokens}}));return s}})));w=((d=v.toolCalls)!=null?d:[]).map((e=>parseToolCall({toolCall:e,tools:t})));x=t==null?[]:await executeTools({toolCalls:w,tools:t,tracer:h,telemetry:u});const s=calculateCompletionTokenUsage(v.usage);D.completionTokens+=s.completionTokens;D.promptTokens+=s.promptTokens;D.totalTokens+=s.totalTokens;S.push({text:(m=v.text)!=null?m:"",toolCalls:w,toolResults:x,finishReason:v.finishReason,usage:s,warnings:v.warnings,logprobs:v.logprobs});const n=toResponseMessages({text:(E=v.text)!=null?E:"",toolCalls:w,toolResults:x});R.push(...n);y.push(...n.map((e=>convertToLanguageModelMessage(e,null))))}while(w.length>0&&x.length===w.length&&k++v.text},"ai.result.toolCalls":{output:()=>JSON.stringify(v.toolCalls)}}}));return new rs({text:(C=v.text)!=null?C:"",toolCalls:w,toolResults:x,finishReason:v.finishReason,usage:D,warnings:v.warnings,rawResponse:v.rawResponse,logprobs:v.logprobs,responseMessages:R,roundtrips:S})}})}async function executeTools({toolCalls:e,tools:t,tracer:r,telemetry:s}){const n=await Promise.all(e.map((async e=>{const n=t[e.toolName];if((n==null?void 0:n.execute)==null){return void 0}const o=await recordSpan({name:"ai.toolCall",attributes:selectTelemetryAttributes({telemetry:s,attributes:{...assembleOperationName({operationName:"ai.toolCall",telemetry:s}),"ai.toolCall.name":e.toolName,"ai.toolCall.id":e.toolCallId,"ai.toolCall.args":{output:()=>JSON.stringify(e.args)}}}),tracer:r,fn:async t=>{const r=await n.execute(e.args);try{t.setAttributes(selectTelemetryAttributes({telemetry:s,attributes:{"ai.toolCall.result":{output:()=>JSON.stringify(r)}}}))}catch(e){}return r}});return{toolCallId:e.toolCallId,toolName:e.toolName,args:e.args,result:o}})));return n.filter((e=>e!=null))}var rs=class{constructor(e){this.text=e.text;this.toolCalls=e.toolCalls;this.toolResults=e.toolResults;this.finishReason=e.finishReason;this.usage=e.usage;this.warnings=e.warnings;this.rawResponse=e.rawResponse;this.logprobs=e.logprobs;this.responseMessages=e.responseMessages;this.roundtrips=e.roundtrips}};function toResponseMessages({text:e,toolCalls:t,toolResults:r}){const s=[];s.push({role:"assistant",content:[{type:"text",text:e},...t]});if(r.length>0){s.push({role:"tool",content:r.map((e=>({type:"tool-result",toolCallId:e.toolCallId,toolName:e.toolName,result:e.result})))})}return s}var ss=null&&generateText;function mergeStreams(e,t){const r=e.getReader();const s=t.getReader();let n=void 0;let o=void 0;let i=false;let a=false;async function readStream1(e){try{if(n==null){n=r.read()}const t=await n;n=void 0;if(!t.done){e.enqueue(t.value)}else{e.close()}}catch(t){e.error(t)}}async function readStream2(e){try{if(o==null){o=s.read()}const t=await o;o=void 0;if(!t.done){e.enqueue(t.value)}else{e.close()}}catch(t){e.error(t)}}return new ReadableStream({async pull(e){try{if(i){await readStream2(e);return}if(a){await readStream1(e);return}if(n==null){n=r.read()}if(o==null){o=s.read()}const{result:t,reader:A}=await Promise.race([n.then((e=>({result:e,reader:r}))),o.then((e=>({result:e,reader:s})))]);if(!t.done){e.enqueue(t.value)}if(A===r){n=void 0;if(t.done){await readStream2(e);i=true}}else{o=void 0;if(t.done){a=true;await readStream1(e)}}}catch(t){e.error(t)}},cancel(){r.cancel();s.cancel()}})}function runToolsTransformation({tools:e,generatorStream:t,toolCallStreaming:r,tracer:s,telemetry:n}){let o=false;const i=new Set;let a=null;const A=new ReadableStream({start(e){a=e}});const c={};const l=new TransformStream({transform(t,A){const l=t.type;switch(l){case"text-delta":case"error":{A.enqueue(t);break}case"tool-call-delta":{if(r){if(!c[t.toolCallId]){A.enqueue({type:"tool-call-streaming-start",toolCallId:t.toolCallId,toolName:t.toolName});c[t.toolCallId]=true}A.enqueue({type:"tool-call-delta",toolCallId:t.toolCallId,toolName:t.toolName,argsTextDelta:t.argsTextDelta})}break}case"tool-call":{const r=t.toolName;if(e==null){a.enqueue({type:"error",error:new ts({toolName:t.toolName})});break}const c=e[r];if(c==null){a.enqueue({type:"error",error:new ts({toolName:t.toolName,availableTools:Object.keys(e)})});break}try{const r=parseToolCall({toolCall:t,tools:e});A.enqueue(r);if(c.execute!=null){const e=generateId();i.add(e);recordSpan({name:"ai.toolCall",attributes:selectTelemetryAttributes({telemetry:n,attributes:{...assembleOperationName({operationName:"ai.toolCall",telemetry:n}),"ai.toolCall.name":r.toolName,"ai.toolCall.id":r.toolCallId,"ai.toolCall.args":{output:()=>JSON.stringify(r.args)}}}),tracer:s,fn:async t=>c.execute(r.args).then((s=>{a.enqueue({...r,type:"tool-result",result:s});i.delete(e);if(o&&i.size===0){a.close()}try{t.setAttributes(selectTelemetryAttributes({telemetry:n,attributes:{"ai.toolCall.result":{output:()=>JSON.stringify(s)}}}))}catch(e){}}),(t=>{a.enqueue({type:"error",error:t});i.delete(e);if(o&&i.size===0){a.close()}}))})}}catch(e){a.enqueue({type:"error",error:e})}break}case"finish":{A.enqueue({type:"finish",finishReason:t.finishReason,logprobs:t.logprobs,usage:calculateCompletionTokenUsage(t.usage)});break}default:{const e=l;throw new Error(`Unhandled chunk type: ${e}`)}}},flush(){o=true;if(i.size===0){a.close()}}});return new ReadableStream({async start(e){return Promise.all([t.pipeThrough(l).pipeTo(new WritableStream({write(t){e.enqueue(t)},close(){}})),A.pipeTo(new WritableStream({write(t){e.enqueue(t)},close(){e.close()}}))])}})}async function streamText({model:e,tools:t,toolChoice:r,system:s,prompt:n,messages:o,maxRetries:i,abortSignal:a,headers:A,experimental_telemetry:c,experimental_toolCallStreaming:l=false,onFinish:u,...p}){var d;const g=getBaseTelemetryAttributes({model:e,telemetry:c,headers:A,settings:{...p,maxRetries:i}});const h=getTracer({isEnabled:(d=c==null?void 0:c.isEnabled)!=null?d:false});return recordSpan({name:"ai.streamText",attributes:selectTelemetryAttributes({telemetry:c,attributes:{...assembleOperationName({operationName:"ai.streamText",telemetry:c}),...g,"ai.prompt":{input:()=>JSON.stringify({system:s,prompt:n,messages:o})}}}),tracer:h,endWhenDone:false,fn:async d=>{const m=retryWithExponentialBackoff({maxRetries:i});const E=getValidatedPrompt({system:s,prompt:n,messages:o});const C=await convertToLanguageModelPrompt({prompt:E,modelSupportsImageUrls:e.supportsImageUrls});const{result:{stream:I,warnings:B,rawResponse:Q},doStreamSpan:b}=await m((()=>recordSpan({name:"ai.streamText.doStream",attributes:selectTelemetryAttributes({telemetry:c,attributes:{...assembleOperationName({operationName:"ai.streamText.doStream",telemetry:c}),...g,"ai.prompt.format":{input:()=>E.type},"ai.prompt.messages":{input:()=>JSON.stringify(C)},"gen_ai.request.model":e.modelId,"gen_ai.system":e.provider,"gen_ai.request.max_tokens":p.maxTokens,"gen_ai.request.temperature":p.temperature,"gen_ai.request.top_p":p.topP}}),tracer:h,endWhenDone:false,fn:async s=>({result:await e.doStream({mode:{type:"regular",...prepareToolsAndToolChoice({tools:t,toolChoice:r})},...prepareCallSettings(p),inputFormat:E.type,prompt:C,abortSignal:a,headers:A}),doStreamSpan:s})})));return new ns({stream:runToolsTransformation({tools:t,generatorStream:I,toolCallStreaming:l,tracer:h,telemetry:c}),warnings:B,rawResponse:Q,onFinish:u,rootSpan:d,doStreamSpan:b,telemetry:c})}})}var ns=class{constructor({stream:e,warnings:t,rawResponse:r,onFinish:s,rootSpan:n,doStreamSpan:o,telemetry:i}){this.warnings=t;this.rawResponse=r;this.onFinish=s;const{resolve:a,promise:A}=createResolvablePromise();this.usage=A;const{resolve:c,promise:l}=createResolvablePromise();this.finishReason=l;const{resolve:u,promise:p}=createResolvablePromise();this.text=p;const{resolve:d,promise:g}=createResolvablePromise();this.toolCalls=g;const{resolve:h,promise:m}=createResolvablePromise();this.toolResults=m;let E;let C;let I="";const B=[];const Q=[];let b=true;const y=this;this.originalStream=e.pipeThrough(new TransformStream({async transform(e,t){t.enqueue(e);if(b){b=false;o.addEvent("ai.stream.firstChunk")}const r=e.type;switch(r){case"text-delta":I+=e.textDelta;break;case"tool-call":B.push(e);break;case"tool-result":Q.push(e);break;case"finish":C=e.usage;E=e.finishReason;a(C);c(E);u(I);d(B);break;case"tool-call-streaming-start":case"tool-call-delta":case"error":break;default:{const e=r;throw new Error(`Unknown chunk type: ${e}`)}}},async flush(e){var s;try{const e=C!=null?C:{promptTokens:NaN,completionTokens:NaN,totalTokens:NaN};const a=E!=null?E:"unknown";const A=B.length>0?JSON.stringify(B):void 0;o.setAttributes(selectTelemetryAttributes({telemetry:i,attributes:{"ai.finishReason":a,"ai.usage.promptTokens":e.promptTokens,"ai.usage.completionTokens":e.completionTokens,"ai.result.text":{output:()=>I},"ai.result.toolCalls":{output:()=>A},"gen_ai.response.finish_reasons":[a],"gen_ai.usage.prompt_tokens":e.promptTokens,"gen_ai.usage.completion_tokens":e.completionTokens}}));o.end();n.setAttributes(selectTelemetryAttributes({telemetry:i,attributes:{"ai.finishReason":a,"ai.usage.promptTokens":e.promptTokens,"ai.usage.completionTokens":e.completionTokens,"ai.result.text":{output:()=>I},"ai.result.toolCalls":{output:()=>A}}}));h(Q);await((s=y.onFinish)==null?void 0:s.call(y,{finishReason:a,usage:e,text:I,toolCalls:B,toolResults:Q,rawResponse:r,warnings:t}))}catch(t){e.error(t)}finally{n.end()}}}))}teeStream(){const[e,t]=this.originalStream.tee();this.originalStream=t;return e}get textStream(){return createAsyncIterableStream(this.teeStream(),{transform(e,t){if(e.type==="text-delta"){if(e.textDelta.length>0){t.enqueue(e.textDelta)}}else if(e.type==="error"){t.error(e.error)}}})}get fullStream(){return createAsyncIterableStream(this.teeStream(),{transform(e,t){if(e.type==="text-delta"){if(e.textDelta.length>0){t.enqueue(e)}}else{t.enqueue(e)}}})}toAIStream(e={}){return this.toDataStream({callbacks:e})}toDataStream({callbacks:e={},getErrorMessage:t=(()=>"")}={}){let r="";const s=new TransformStream({async start(){if(e.onStart)await e.onStart()},async transform(t,s){s.enqueue(t);if(t.type==="text-delta"){const s=t.textDelta;r+=s;if(e.onToken)await e.onToken(s);if(e.onText)await e.onText(s)}},async flush(){if(e.onCompletion)await e.onCompletion(r);if(e.onFinal)await e.onFinal(r)}});const n=new TransformStream({transform:async(e,r)=>{const s=e.type;switch(s){case"text-delta":r.enqueue(formatStreamPart("text",e.textDelta));break;case"tool-call-streaming-start":r.enqueue(formatStreamPart("tool_call_streaming_start",{toolCallId:e.toolCallId,toolName:e.toolName}));break;case"tool-call-delta":r.enqueue(formatStreamPart("tool_call_delta",{toolCallId:e.toolCallId,argsTextDelta:e.argsTextDelta}));break;case"tool-call":r.enqueue(formatStreamPart("tool_call",{toolCallId:e.toolCallId,toolName:e.toolName,args:e.args}));break;case"tool-result":r.enqueue(formatStreamPart("tool_result",{toolCallId:e.toolCallId,result:e.result}));break;case"error":r.enqueue(formatStreamPart("error",t(e.error)));break;case"finish":r.enqueue(formatStreamPart("finish_message",{finishReason:e.finishReason,usage:{promptTokens:e.usage.promptTokens,completionTokens:e.usage.completionTokens}}));break;default:{const e=s;throw new Error(`Unknown chunk type: ${e}`)}}}});return this.fullStream.pipeThrough(s).pipeThrough(n).pipeThrough(new TextEncoderStream)}pipeAIStreamToResponse(e,t){return this.pipeDataStreamToResponse(e,t)}pipeDataStreamToResponse(e,t){var r;e.writeHead((r=t==null?void 0:t.status)!=null?r:200,{"Content-Type":"text/plain; charset=utf-8",...t==null?void 0:t.headers});const s=this.toDataStream().getReader();const read=async()=>{try{while(true){const{done:t,value:r}=await s.read();if(t)break;e.write(r)}}catch(e){throw e}finally{e.end()}};read()}pipeTextStreamToResponse(e,t){var r;e.writeHead((r=t==null?void 0:t.status)!=null?r:200,{"Content-Type":"text/plain; charset=utf-8",...t==null?void 0:t.headers});const s=this.textStream.pipeThrough(new TextEncoderStream).getReader();const read=async()=>{try{while(true){const{done:t,value:r}=await s.read();if(t)break;e.write(r)}}catch(e){throw e}finally{e.end()}};read()}toAIStreamResponse(e){return this.toDataStreamResponse(e)}toDataStreamResponse(e){var t;const r=e==null?void 0:"init"in e?e.init:{headers:"headers"in e?e.headers:void 0,status:"status"in e?e.status:void 0,statusText:"statusText"in e?e.statusText:void 0};const s=e==null?void 0:"data"in e?e.data:void 0;const n=e==null?void 0:"getErrorMessage"in e?e.getErrorMessage:void 0;const o=s?mergeStreams(s.stream,this.toDataStream({getErrorMessage:n})):this.toDataStream({getErrorMessage:n});return new Response(o,{status:(t=r==null?void 0:r.status)!=null?t:200,statusText:r==null?void 0:r.statusText,headers:prepareResponseHeaders(r,{contentType:"text/plain; charset=utf-8",dataStreamVersion:"v1"})})}toTextStreamResponse(e){var t;return new Response(this.textStream.pipeThrough(new TextEncoderStream),{status:(t=e==null?void 0:e.status)!=null?t:200,headers:prepareResponseHeaders(e,{contentType:"text/plain; charset=utf-8"})})}};var os=null&&streamText;function attachmentsToParts(e){var t,r,s;const n=[];for(const o of e){let e;try{e=new URL(o.url)}catch(e){throw new Error(`Invalid URL: ${o.url}`)}switch(e.protocol){case"http:":case"https:":{if((t=o.contentType)==null?void 0:t.startsWith("image/")){n.push({type:"image",image:e})}break}case"data:":{let e;let t;let i;try{[e,t]=o.url.split(",");i=e.split(";")[0].split(":")[1]}catch(e){throw new Error(`Error processing data URL: ${o.url}`)}if(i==null||t==null){throw new Error(`Invalid data URL format: ${o.url}`)}if((r=o.contentType)==null?void 0:r.startsWith("image/")){n.push({type:"image",image:convertDataContentToUint8Array(t)})}else if((s=o.contentType)==null?void 0:s.startsWith("text/")){n.push({type:"text",text:convertUint8ArrayToText(convertDataContentToUint8Array(t))})}break}default:{throw new Error(`Unsupported URL protocol: ${e.protocol}`)}}}return n}function convertToCoreMessages(e){const t=[];for(const{role:r,content:s,toolInvocations:n,experimental_attachments:o}of e){switch(r){case"system":{t.push({role:"system",content:s});break}case"user":{t.push({role:"user",content:o?[{type:"text",text:s},...attachmentsToParts(o)]:s});break}case"assistant":{if(n==null){t.push({role:"assistant",content:s});break}t.push({role:"assistant",content:[{type:"text",text:s},...n.map((({toolCallId:e,toolName:t,args:r})=>({type:"tool-call",toolCallId:e,toolName:t,args:r})))]});t.push({role:"tool",content:n.map((({toolCallId:e,toolName:t,args:r,result:s})=>({type:"tool-result",toolCallId:e,toolName:t,args:r,result:s})))});break}default:{const e=r;throw new Error(`Unhandled role: ${e}`)}}}return t}var is="AI_InvalidModelIdError";var as=`vercel.ai.error.${is}`;var As=Symbol.for(as);var cs;var ls=class extends(null&&AISDKError9){constructor({id:e,message:t=`Invalid model id: ${e}`}){super({name:is,message:t});this[cs]=true;this.id=e}static isInstance(e){return AISDKError9.hasMarker(e,as)}static isInvalidModelIdError(e){return e instanceof Error&&e.name===is&&typeof e.id==="string"}toJSON(){return{name:this.name,message:this.message,stack:this.stack,id:this.id}}};cs=As;var us="AI_NoSuchModelError";var ps=`vercel.ai.error.${us}`;var ds=Symbol.for(ps);var gs;var hs=class extends(null&&AISDKError10){constructor({modelId:e,modelType:t,message:r=`No such ${t}: ${e}`}){super({name:us,message:r});this[gs]=true;this.modelId=e;this.modelType=t}static isInstance(e){return AISDKError10.hasMarker(e,ps)}static isNoSuchModelError(e){return e instanceof Error&&e.name===us&&typeof e.modelId==="string"&&typeof e.modelType==="string"}toJSON(){return{name:this.name,message:this.message,stack:this.stack,modelId:this.modelId,modelType:this.modelType}}};gs=ds;var fs="AI_NoSuchProviderError";var ms=`vercel.ai.error.${fs}`;var Es=Symbol.for(ms);var Cs;var Is=class extends(null&&AISDKError11){constructor({providerId:e,availableProviders:t,message:r=`No such provider: ${e} (available providers: ${t.join()})`}){super({name:fs,message:r});this[Cs]=true;this.providerId=e;this.availableProviders=t}static isInstance(e){return AISDKError11.hasMarker(e,ms)}static isNoSuchProviderError(e){return e instanceof Error&&e.name===fs&&typeof e.providerId==="string"&&Array.isArray(e.availableProviders)}toJSON(){return{name:this.name,message:this.message,stack:this.stack,providerId:this.providerId,availableProviders:this.availableProviders}}};Cs=Es;function experimental_createProviderRegistry(e){const t=new Qs;for(const[r,s]of Object.entries(e)){t.registerProvider({id:r,provider:s})}return t}var Bs=null&&experimental_createProviderRegistry;var Qs=class{constructor(){this.providers={}}registerProvider({id:e,provider:t}){this.providers[e]=t}getProvider(e){const t=this.providers[e];if(t==null){throw new Is({providerId:e,availableProviders:Object.keys(this.providers)})}return t}splitId(e){const t=e.indexOf(":");if(t===-1){throw new ls({id:e})}return[e.slice(0,t),e.slice(t+1)]}languageModel(e){var t,r;const[s,n]=this.splitId(e);const o=(r=(t=this.getProvider(s)).languageModel)==null?void 0:r.call(t,n);if(o==null){throw new hs({modelId:e,modelType:"languageModel"})}return o}textEmbeddingModel(e){var t,r,s;const[n,o]=this.splitId(e);const i=this.getProvider(n);const a=(s=(t=i.textEmbeddingModel)==null?void 0:t.call(i,o))!=null?s:(r=i.textEmbedding)==null?void 0:r.call(i,o);if(a==null){throw new hs({modelId:e,modelType:"textEmbeddingModel"})}return a}textEmbedding(e){return this.textEmbeddingModel(e)}};function tool(e){return e}function cosineSimilarity(e,t){if(e.length!==t.length){throw new Error(`Vectors must have the same length (vector1: ${e.length} elements, vector2: ${t.length} elements)`)}return dotProduct(e,t)/(magnitude(e)*magnitude(t))}function dotProduct(e,t){return e.reduce(((e,r,s)=>e+r*t[s]),0)}function magnitude(e){return Math.sqrt(dotProduct(e,e))}function createEventStreamTransformer(e){const t=new TextDecoder;let r;return new TransformStream({async start(t){r=createParser((r=>{if("data"in r&&r.type==="event"&&r.data==="[DONE]"||r.event==="done"){t.terminate();return}if("data"in r){const s=e?e(r.data,{event:r.event}):r.data;if(s)t.enqueue(s)}}))},transform(e){r.feed(t.decode(e))}})}function createCallbacksTransformer(e){const t=new TextEncoder;let r="";const s=e||{};return new TransformStream({async start(){if(s.onStart)await s.onStart()},async transform(e,n){const o=typeof e==="string"?e:e.content;n.enqueue(t.encode(o));r+=o;if(s.onToken)await s.onToken(o);if(s.onText&&typeof e==="string"){await s.onText(e)}},async flush(){const e=isOfTypeOpenAIStreamCallbacks(s);if(s.onCompletion){await s.onCompletion(r)}if(s.onFinal&&!e){await s.onFinal(r)}}})}function isOfTypeOpenAIStreamCallbacks(e){return"experimental_onFunctionCall"in e}function trimStartOfStreamHelper(){let e=true;return t=>{if(e){t=t.trimStart();if(t)e=false}return t}}function AIStream(e,t,r){if(!e.ok){if(e.body){const t=e.body.getReader();return new ReadableStream({async start(e){const{done:r,value:s}=await t.read();if(!r){const t=(new TextDecoder).decode(s);e.error(new Error(`Response error: ${t}`))}}})}else{return new ReadableStream({start(e){e.error(new Error("Response error: No response body"))}})}}const s=e.body||createEmptyReadableStream();return s.pipeThrough(createEventStreamTransformer(t)).pipeThrough(createCallbacksTransformer(r))}function createEmptyReadableStream(){return new ReadableStream({start(e){e.close()}})}function readableFromAsyncIterable(e){let t=e[Symbol.asyncIterator]();return new ReadableStream({async pull(e){const{done:r,value:s}=await t.next();if(r)e.close();else e.enqueue(s)},async cancel(e){var r;await((r=t.return)==null?void 0:r.call(t,e))}})}var bs=null&&15*1e3;var ys=class{constructor(){this.encoder=new TextEncoder;this.controller=null;this.isClosed=false;this.warningTimeout=null;const e=this;this.stream=new ReadableStream({start:async t=>{e.controller=t;if(process.env.NODE_ENV==="development"){e.warningTimeout=setTimeout((()=>{console.warn("The data stream is hanging. Did you forget to close it with `data.close()`?")}),bs)}},pull:e=>{},cancel:e=>{this.isClosed=true}})}async close(){if(this.isClosed){throw new Error("Data Stream has already been closed.")}if(!this.controller){throw new Error("Stream controller is not initialized.")}this.controller.close();this.isClosed=true;if(this.warningTimeout){clearTimeout(this.warningTimeout)}}append(e){if(this.isClosed){throw new Error("Data Stream has already been closed.")}if(!this.controller){throw new Error("Stream controller is not initialized.")}this.controller.enqueue(this.encoder.encode(formatStreamPart2("data",[e])))}appendMessageAnnotation(e){if(this.isClosed){throw new Error("Data Stream has already been closed.")}if(!this.controller){throw new Error("Stream controller is not initialized.")}this.controller.enqueue(this.encoder.encode(formatStreamPart2("message_annotations",[e])))}};function createStreamDataTransformer(){const e=new TextEncoder;const t=new TextDecoder;return new TransformStream({transform:async(r,s)=>{const n=t.decode(r);s.enqueue(e.encode(dist_formatStreamPart("text",n)))}})}var vs=class extends(null&&ys){};function parseAnthropicStream(){let e="";return t=>{const r=JSON.parse(t);if("error"in r){throw new Error(`${r.error.type}: ${r.error.message}`)}if(!("completion"in r)){return}const s=r.completion;if(!e||s.length>e.length&&s.startsWith(e)){const t=s.slice(e.length);e=s;return t}return s}}async function*streamable(e){for await(const t of e){if("completion"in t){const e=t.completion;if(e)yield e}else if("delta"in t){const{delta:e}=t;if("text"in e){const t=e.text;if(t)yield t}}}}function AnthropicStream(e,t){if(Symbol.asyncIterator in e){return readableFromAsyncIterable(streamable(e)).pipeThrough(createCallbacksTransformer(t)).pipeThrough(createStreamDataTransformer())}else{return AIStream(e,parseAnthropicStream(),t).pipeThrough(createStreamDataTransformer())}}function AssistantResponse({threadId:e,messageId:t},r){const s=new ReadableStream({async start(s){var n;const o=new TextEncoder;const sendMessage=e=>{s.enqueue(o.encode(formatStreamPart3("assistant_message",e)))};const sendDataMessage=e=>{s.enqueue(o.encode(formatStreamPart3("data_message",e)))};const sendError=e=>{s.enqueue(o.encode(formatStreamPart3("error",e)))};const forwardStream=async e=>{var t,r;let n=void 0;for await(const i of e){switch(i.event){case"thread.message.created":{s.enqueue(o.encode(formatStreamPart3("assistant_message",{id:i.data.id,role:"assistant",content:[{type:"text",text:{value:""}}]})));break}case"thread.message.delta":{const e=(t=i.data.delta.content)==null?void 0:t[0];if((e==null?void 0:e.type)==="text"&&((r=e.text)==null?void 0:r.value)!=null){s.enqueue(o.encode(formatStreamPart3("text",e.text.value)))}break}case"thread.run.completed":case"thread.run.requires_action":{n=i.data;break}}}return n};s.enqueue(o.encode(formatStreamPart3("assistant_control_data",{threadId:e,messageId:t})));try{await r({threadId:e,messageId:t,sendMessage:sendMessage,sendDataMessage:sendDataMessage,forwardStream:forwardStream})}catch(e){sendError((n=e.message)!=null?n:`${e}`)}finally{s.close()}},pull(e){},cancel(){}});return new Response(s,{status:200,headers:{"Content-Type":"text/plain; charset=utf-8"}})}var ws=null&&AssistantResponse;async function*asDeltaIterable(e,t){var r,s;const n=new TextDecoder;for await(const o of(r=e.body)!=null?r:[]){const e=(s=o.chunk)==null?void 0:s.bytes;if(e!=null){const r=n.decode(e);const s=JSON.parse(r);const o=t(s);if(o!=null){yield o}}}}function AWSBedrockAnthropicMessagesStream(e,t){return AWSBedrockStream(e,t,(e=>{var t;return(t=e.delta)==null?void 0:t.text}))}function AWSBedrockAnthropicStream(e,t){return AWSBedrockStream(e,t,(e=>e.completion))}function AWSBedrockCohereStream(e,t){return AWSBedrockStream(e,t,(e=>e==null?void 0:e.text))}function AWSBedrockLlama2Stream(e,t){return AWSBedrockStream(e,t,(e=>e.generation))}function AWSBedrockStream(e,t,r){return readableFromAsyncIterable(asDeltaIterable(e,r)).pipeThrough(createCallbacksTransformer(t)).pipeThrough(createStreamDataTransformer())}var xs=new TextDecoder("utf-8");async function processLines(e,t){for(const r of e){const{text:e,is_finished:s}=JSON.parse(r);if(!s){t.enqueue(e)}}}async function readAndProcessLines(e,t){let r="";while(true){const{value:s,done:n}=await e.read();if(n){break}r+=xs.decode(s,{stream:true});const o=r.split(/\r\n|\n|\r/g);r=o.pop()||"";await processLines(o,t)}if(r){const e=[r];await processLines(e,t)}t.close()}function createParser2(e){var t;const r=(t=e.body)==null?void 0:t.getReader();return new ReadableStream({async start(e){if(!r){e.close();return}await readAndProcessLines(r,e)}})}async function*streamable2(e){for await(const t of e){if(t.eventType==="text-generation"){const e=t.text;if(e)yield e}}}function CohereStream(e,t){if(Symbol.asyncIterator in e){return readableFromAsyncIterable(streamable2(e)).pipeThrough(createCallbacksTransformer(t)).pipeThrough(createStreamDataTransformer())}else{return createParser2(e).pipeThrough(createCallbacksTransformer(t)).pipeThrough(createStreamDataTransformer())}}async function*streamable3(e){var t,r,s;for await(const n of e.stream){const e=(s=(r=(t=n.candidates)==null?void 0:t[0])==null?void 0:r.content)==null?void 0:s.parts;if(e===void 0){continue}const o=e[0];if(typeof o.text==="string"){yield o.text}}}function GoogleGenerativeAIStream(e,t){return readableFromAsyncIterable(streamable3(e)).pipeThrough(createCallbacksTransformer(t)).pipeThrough(createStreamDataTransformer())}function createParser3(e){const t=trimStartOfStreamHelper();return new ReadableStream({async pull(r){var s,n;const{value:o,done:i}=await e.next();if(i){r.close();return}const a=t((n=(s=o.token)==null?void 0:s.text)!=null?n:"");if(!a)return;if(o.generated_text!=null&&o.generated_text.length>0){return}if(a===""||a==="<|endoftext|>"||a==="<|end|>"){return}r.enqueue(a)}})}function HuggingFaceStream(e,t){return createParser3(e).pipeThrough(createCallbacksTransformer(t)).pipeThrough(createStreamDataTransformer())}function InkeepStream(e,t){if(!e.body){throw new Error("Response body is null")}let r="";let s;const inkeepEventParser=(e,n)=>{var o,i;const{event:a}=n;if(a==="records_cited"){s=JSON.parse(e);(o=t==null?void 0:t.onRecordsCited)==null?void 0:o.call(t,s)}if(a==="message_chunk"){const t=JSON.parse(e);r=(i=t.chat_session_id)!=null?i:r;return t.content_chunk}return};let{onRecordsCited:n,...o}=t||{};o={...o,onFinal:e=>{var n;const o={chat_session_id:r,records_cited:s};(n=t==null?void 0:t.onFinal)==null?void 0:n.call(t,e,o)}};return AIStream(e,inkeepEventParser,o).pipeThrough(createStreamDataTransformer())}var ks={};__export(ks,{toAIStream:()=>toAIStream,toDataStream:()=>toDataStream,toDataStreamResponse:()=>toDataStreamResponse});function toAIStream(e,t){return toDataStream(e,t)}function toDataStream(e,t){return e.pipeThrough(new TransformStream({transform:async(e,t)=>{var r;if(typeof e==="string"){t.enqueue(e);return}if("event"in e){if(e.event==="on_chat_model_stream"){forwardAIMessageChunk((r=e.data)==null?void 0:r.chunk,t)}return}forwardAIMessageChunk(e,t)}})).pipeThrough(createCallbacksTransformer(t)).pipeThrough(createStreamDataTransformer())}function toDataStreamResponse(e,t){var r;const s=toDataStream(e,t==null?void 0:t.callbacks);const n=t==null?void 0:t.data;const o=t==null?void 0:t.init;const i=n?mergeStreams(n.stream,s):s;return new Response(i,{status:(r=o==null?void 0:o.status)!=null?r:200,statusText:o==null?void 0:o.statusText,headers:prepareResponseHeaders(o,{contentType:"text/plain; charset=utf-8",dataStreamVersion:"v1"})})}function forwardAIMessageChunk(e,t){if(typeof e.content==="string"){t.enqueue(e.content)}else{const r=e.content;for(const e of r){if(e.type==="text"){t.enqueue(e.text)}}}}function LangChainStream(e){const t=new TransformStream;const r=t.writable.getWriter();const s=new Set;const handleError=async(e,t)=>{s.delete(t);await r.ready;await r.abort(e)};const handleStart=async e=>{s.add(e)};const handleEnd=async e=>{s.delete(e);if(s.size===0){await r.ready;await r.close()}};return{stream:t.readable.pipeThrough(createCallbacksTransformer(e)).pipeThrough(createStreamDataTransformer()),writer:r,handlers:{handleLLMNewToken:async e=>{await r.ready;await r.write(e)},handleLLMStart:async(e,t,r)=>{handleStart(r)},handleLLMEnd:async(e,t)=>{await handleEnd(t)},handleLLMError:async(e,t)=>{await handleError(e,t)},handleChainStart:async(e,t,r)=>{handleStart(r)},handleChainEnd:async(e,t)=>{await handleEnd(t)},handleChainError:async(e,t)=>{await handleError(e,t)},handleToolStart:async(e,t,r)=>{handleStart(r)},handleToolEnd:async(e,t)=>{await handleEnd(t)},handleToolError:async(e,t)=>{await handleError(e,t)}}}}async function*streamable4(e){var t,r;for await(const s of e){const e=(r=(t=s.choices[0])==null?void 0:t.delta)==null?void 0:r.content;if(e===void 0||e===""){continue}yield e}}function MistralStream(e,t){const r=readableFromAsyncIterable(streamable4(e));return r.pipeThrough(createCallbacksTransformer(t)).pipeThrough(createStreamDataTransformer())}function parseOpenAIStream(){const e=chunkToText();return t=>e(JSON.parse(t))}async function*streamable5(e){const t=chunkToText();for await(let r of e){if("promptFilterResults"in r){r={id:r.id,created:r.created.getDate(),object:r.object,model:r.model,choices:r.choices.map((e=>{var t,r,s,n,o,i,a;return{delta:{content:(t=e.delta)==null?void 0:t.content,function_call:(r=e.delta)==null?void 0:r.functionCall,role:(s=e.delta)==null?void 0:s.role,tool_calls:((o=(n=e.delta)==null?void 0:n.toolCalls)==null?void 0:o.length)?(a=(i=e.delta)==null?void 0:i.toolCalls)==null?void 0:a.map(((e,t)=>({index:t,id:e.id,function:e.function,type:e.type}))):void 0},finish_reason:e.finishReason,index:e.index}}))}}const e=t(r);if(e)yield e}}function chunkToText(){const e=trimStartOfStreamHelper();let t;return r=>{var s,n,o,i,a,A,c,l,u,p,d,g,h,m,E,C,I,B;if(isChatCompletionChunk(r)){const e=(s=r.choices[0])==null?void 0:s.delta;if((n=e.function_call)==null?void 0:n.name){t=true;return{isText:false,content:`{"function_call": {"name": "${e.function_call.name}", "arguments": "`}}else if((a=(i=(o=e.tool_calls)==null?void 0:o[0])==null?void 0:i.function)==null?void 0:a.name){t=true;const r=e.tool_calls[0];if(r.index===0){return{isText:false,content:`{"tool_calls":[ {"id": "${r.id}", "type": "function", "function": {"name": "${(A=r.function)==null?void 0:A.name}", "arguments": "`}}else{return{isText:false,content:`"}}, {"id": "${r.id}", "type": "function", "function": {"name": "${(c=r.function)==null?void 0:c.name}", "arguments": "`}}}else if((l=e.function_call)==null?void 0:l.arguments){return{isText:false,content:cleanupArguments((u=e.function_call)==null?void 0:u.arguments)}}else if((g=(d=(p=e.tool_calls)==null?void 0:p[0])==null?void 0:d.function)==null?void 0:g.arguments){return{isText:false,content:cleanupArguments((E=(m=(h=e.tool_calls)==null?void 0:h[0])==null?void 0:m.function)==null?void 0:E.arguments)}}else if(t&&(((C=r.choices[0])==null?void 0:C.finish_reason)==="function_call"||((I=r.choices[0])==null?void 0:I.finish_reason)==="stop")){t=false;return{isText:false,content:'"}}'}}else if(t&&((B=r.choices[0])==null?void 0:B.finish_reason)==="tool_calls"){t=false;return{isText:false,content:'"}}]}'}}}const Q=e(isChatCompletionChunk(r)&&r.choices[0].delta.content?r.choices[0].delta.content:isCompletion(r)?r.choices[0].text:"");return Q};function cleanupArguments(e){let t=e.replace(/\\/g,"\\\\").replace(/\//g,"\\/").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\f/g,"\\f");return`${t}`}}var Rs=Symbol("internal_openai_fn_messages");function isChatCompletionChunk(e){return"choices"in e&&e.choices&&e.choices[0]&&"delta"in e.choices[0]}function isCompletion(e){return"choices"in e&&e.choices&&e.choices[0]&&"text"in e.choices[0]}function OpenAIStream(e,t){const r=t;let s;if(Symbol.asyncIterator in e){s=readableFromAsyncIterable(streamable5(e)).pipeThrough(createCallbacksTransformer((r==null?void 0:r.experimental_onFunctionCall)||(r==null?void 0:r.experimental_onToolCall)?{...r,onFinal:void 0}:{...r}))}else{s=AIStream(e,parseOpenAIStream(),(r==null?void 0:r.experimental_onFunctionCall)||(r==null?void 0:r.experimental_onToolCall)?{...r,onFinal:void 0}:{...r})}if(r&&(r.experimental_onFunctionCall||r.experimental_onToolCall)){const e=createFunctionCallTransformer(r);return s.pipeThrough(e)}else{return s.pipeThrough(createStreamDataTransformer())}}function createFunctionCallTransformer(e){const t=new TextEncoder;let r=true;let s="";let n="";let o=false;let i=e[Rs]||[];const a=createChunkDecoder();return new TransformStream({async transform(e,i){const A=a(e);n+=A;const c=r&&(A.startsWith('{"function_call":')||A.startsWith('{"tool_calls":'));if(c){o=true;s+=A;r=false;return}if(!o){i.enqueue(t.encode(formatStreamPart4("text",A)));return}else{s+=A}},async flush(a){try{if(!r&&o&&(e.experimental_onFunctionCall||e.experimental_onToolCall)){o=false;const r=JSON.parse(s);let A=[...i];let c=void 0;if(e.experimental_onFunctionCall){if(r.function_call===void 0){console.warn("experimental_onFunctionCall should not be defined when using tools")}const t=JSON.parse(r.function_call.arguments);c=await e.experimental_onFunctionCall({name:r.function_call.name,arguments:t},(e=>{A=[...i,{role:"assistant",content:"",function_call:r.function_call},{role:"function",name:r.function_call.name,content:JSON.stringify(e)}];return A}))}if(e.experimental_onToolCall){const t={tools:[]};for(const e of r.tool_calls){t.tools.push({id:e.id,type:"function",func:{name:e.function.name,arguments:JSON.parse(e.function.arguments)}})}let s=0;try{c=await e.experimental_onToolCall(t,(e=>{if(e){const{tool_call_id:t,function_name:n,tool_call_result:o}=e;A=[...A,...s===0?[{role:"assistant",content:"",tool_calls:r.tool_calls.map((e=>({id:e.id,type:"function",function:{name:e.function.name,arguments:JSON.stringify(e.function.arguments)}})))}]:[],{role:"tool",tool_call_id:t,name:n,content:JSON.stringify(o)}];s++}return A}))}catch(e){console.error("Error calling experimental_onToolCall:",e)}}if(!c){a.enqueue(t.encode(formatStreamPart4(r.function_call?"function_call":"tool_calls",JSON.parse(s))));return}else if(typeof c==="string"){a.enqueue(t.encode(formatStreamPart4("text",c)));n=c;return}const l={...e,onStart:void 0};e.onFinal=void 0;const u=OpenAIStream(c,{...l,[Rs]:A});const p=u.getReader();while(true){const{done:e,value:t}=await p.read();if(e){break}a.enqueue(t)}}}finally{if(e.onFinal&&n){await e.onFinal(n)}}}})}async function ReplicateStream(e,t,r){var s;const n=(s=e.urls)==null?void 0:s.stream;if(!n){if(e.error)throw new Error(e.error);else throw new Error("Missing stream URL in Replicate response")}const o=await fetch(n,{method:"GET",headers:{Accept:"text/event-stream",...r==null?void 0:r.headers}});return AIStream(o,void 0,t).pipeThrough(createStreamDataTransformer())}function streamToResponse(e,t,r,s){var n;t.writeHead((n=r==null?void 0:r.status)!=null?n:200,{"Content-Type":"text/plain; charset=utf-8",...r==null?void 0:r.headers});let o=e;if(s){o=mergeStreams(s.stream,e)}const i=o.getReader();function read(){i.read().then((({done:e,value:r})=>{if(e){t.end();return}t.write(r);read()}))}read()}var Ss=class extends Response{constructor(e,t,r){let s=e;if(r){s=mergeStreams(r.stream,e)}super(s,{...t,status:200,headers:prepareResponseHeaders(t,{contentType:"text/plain; charset=utf-8"})})}};var Ds=ge;var _s=ge;function convertToOpenAIChatMessages({prompt:e,useLegacyFunctionCalling:t=false}){const r=[];for(const{role:s,content:n}of e){switch(s){case"system":{r.push({role:"system",content:n});break}case"user":{if(n.length===1&&n[0].type==="text"){r.push({role:"user",content:n[0].text});break}r.push({role:"user",content:n.map((e=>{var t;switch(e.type){case"text":{return{type:"text",text:e.text}}case"image":{return{type:"image_url",image_url:{url:e.image instanceof URL?e.image.toString():`data:${(t=e.mimeType)!=null?t:"image/jpeg"};base64,${dist_convertUint8ArrayToBase64(e.image)}`}}}}}))});break}case"assistant":{let e="";const s=[];for(const t of n){switch(t.type){case"text":{e+=t.text;break}case"tool-call":{s.push({id:t.toolCallId,type:"function",function:{name:t.toolName,arguments:JSON.stringify(t.args)}});break}default:{const e=t;throw new Error(`Unsupported part: ${e}`)}}}if(t){if(s.length>1){throw new ue({functionality:"useLegacyFunctionCalling with multiple tool calls in one message"})}r.push({role:"assistant",content:e,function_call:s.length>0?s[0].function:void 0})}else{r.push({role:"assistant",content:e,tool_calls:s.length>0?s:void 0})}break}case"tool":{for(const e of n){if(t){r.push({role:"function",name:e.toolName,content:JSON.stringify(e.result)})}else{r.push({role:"tool",tool_call_id:e.toolCallId,content:JSON.stringify(e.result)})}}break}default:{const e=s;throw new Error(`Unsupported role: ${e}`)}}}return r}function mapOpenAIChatLogProbsOutput(e){var t,r;return(r=(t=e==null?void 0:e.content)==null?void 0:t.map((({token:e,logprob:t,top_logprobs:r})=>({token:e,logprob:t,topLogprobs:r?r.map((({token:e,logprob:t})=>({token:e,logprob:t}))):[]}))))!=null?r:void 0}function mapOpenAIFinishReason(e){switch(e){case"stop":return"stop";case"length":return"length";case"content_filter":return"content-filter";case"function_call":case"tool_calls":return"tool-calls";default:return"unknown"}}var Fs=Dt.object({error:Dt.object({message:Dt.string(),type:Dt.string(),param:Dt.any().nullable(),code:Dt.string().nullable()})});var Ns=createJsonErrorResponseHandler({errorSchema:Fs,errorToMessage:e=>e.error.message});var Us=class{constructor(e,t,r){this.specificationVersion="v1";this.modelId=e;this.settings=t;this.config=r}get supportsStructuredOutputs(){return this.settings.structuredOutputs===true}get defaultObjectGenerationMode(){return this.supportsStructuredOutputs?"json":"tool"}get provider(){return this.config.provider}getArgs({mode:e,prompt:t,maxTokens:r,temperature:s,topP:n,topK:o,frequencyPenalty:i,presencePenalty:a,stopSequences:A,responseFormat:c,seed:l}){var u;const p=e.type;const d=[];if(o!=null){d.push({type:"unsupported-setting",setting:"topK"})}if(c!=null&&c.type==="json"&&c.schema!=null){d.push({type:"unsupported-setting",setting:"responseFormat",details:"JSON response format schema is not supported"})}const g=this.settings.useLegacyFunctionCalling;if(g&&this.settings.parallelToolCalls===true){throw new ue({functionality:"useLegacyFunctionCalling with parallelToolCalls"})}if(g&&this.settings.structuredOutputs===true){throw new ue({functionality:"structuredOutputs with useLegacyFunctionCalling"})}const h={model:this.modelId,logit_bias:this.settings.logitBias,logprobs:this.settings.logprobs===true||typeof this.settings.logprobs==="number"?true:void 0,top_logprobs:typeof this.settings.logprobs==="number"?this.settings.logprobs:typeof this.settings.logprobs==="boolean"?this.settings.logprobs?0:void 0:void 0,user:this.settings.user,parallel_tool_calls:this.settings.parallelToolCalls,max_tokens:r,temperature:s,top_p:n,frequency_penalty:i,presence_penalty:a,stop:A,seed:l,response_format:(c==null?void 0:c.type)==="json"?{type:"json_object"}:void 0,messages:convertToOpenAIChatMessages({prompt:t,useLegacyFunctionCalling:g})};switch(p){case"regular":{return{args:{...h,...dist_prepareToolsAndToolChoice({mode:e,useLegacyFunctionCalling:g,structuredOutputs:this.settings.structuredOutputs})},warnings:d}}case"object-json":{return{args:{...h,response_format:this.settings.structuredOutputs===true?{type:"json_schema",json_schema:{schema:e.schema,strict:true,name:(u=e.name)!=null?u:"response",description:e.description}}:{type:"json_object"}},warnings:d}}case"object-tool":{return{args:g?{...h,function_call:{name:e.tool.name},functions:[{name:e.tool.name,description:e.tool.description,parameters:e.tool.parameters}]}:{...h,tool_choice:{type:"function",function:{name:e.tool.name}},tools:[{type:"function",function:{name:e.tool.name,description:e.tool.description,parameters:e.tool.parameters},strict:this.settings.structuredOutputs===true?true:void 0}]},warnings:d}}default:{const e=p;throw new Error(`Unsupported type: ${e}`)}}}async doGenerate(e){var t,r;const{args:s,warnings:n}=this.getArgs(e);const{responseHeaders:o,value:i}=await postJsonToApi({url:this.config.url({path:"/chat/completions",modelId:this.modelId}),headers:combineHeaders(this.config.headers(),e.headers),body:s,failedResponseHandler:Ns,successfulResponseHandler:createJsonResponseHandler(Os),abortSignal:e.abortSignal,fetch:this.config.fetch});const{messages:a,...A}=s;const c=i.choices[0];return{text:(t=c.message.content)!=null?t:void 0,toolCalls:this.settings.useLegacyFunctionCalling&&c.message.function_call?[{toolCallType:"function",toolCallId:ge(),toolName:c.message.function_call.name,args:c.message.function_call.arguments}]:(r=c.message.tool_calls)==null?void 0:r.map((e=>{var t;return{toolCallType:"function",toolCallId:(t=e.id)!=null?t:ge(),toolName:e.function.name,args:e.function.arguments}})),finishReason:mapOpenAIFinishReason(c.finish_reason),usage:{promptTokens:i.usage.prompt_tokens,completionTokens:i.usage.completion_tokens},rawCall:{rawPrompt:a,rawSettings:A},rawResponse:{headers:o},warnings:n,logprobs:mapOpenAIChatLogProbsOutput(c.logprobs)}}async doStream(e){const{args:t,warnings:r}=this.getArgs(e);const{responseHeaders:s,value:n}=await postJsonToApi({url:this.config.url({path:"/chat/completions",modelId:this.modelId}),headers:combineHeaders(this.config.headers(),e.headers),body:{...t,stream:true,stream_options:this.config.compatibility==="strict"?{include_usage:true}:void 0},failedResponseHandler:Ns,successfulResponseHandler:createEventSourceResponseHandler(Ms),abortSignal:e.abortSignal,fetch:this.config.fetch});const{messages:o,...i}=t;const a=[];let A="other";let c={promptTokens:Number.NaN,completionTokens:Number.NaN};let l;const{useLegacyFunctionCalling:u}=this.settings;return{stream:n.pipeThrough(new TransformStream({transform(e,t){var r,s,n,o,i,p,d,g,h,m,E,C;if(!e.success){A="error";t.enqueue({type:"error",error:e.error});return}const I=e.value;if("error"in I){A="error";t.enqueue({type:"error",error:I.error});return}if(I.usage!=null){c={promptTokens:I.usage.prompt_tokens,completionTokens:I.usage.completion_tokens}}const B=I.choices[0];if((B==null?void 0:B.finish_reason)!=null){A=mapOpenAIFinishReason(B.finish_reason)}if((B==null?void 0:B.delta)==null){return}const Q=B.delta;if(Q.content!=null){t.enqueue({type:"text-delta",textDelta:Q.content})}const b=mapOpenAIChatLogProbsOutput(B==null?void 0:B.logprobs);if(b==null?void 0:b.length){if(l===void 0)l=[];l.push(...b)}const y=u&&Q.function_call!=null?[{type:"function",id:ge(),function:Q.function_call,index:0}]:Q.tool_calls;if(y!=null){for(const e of y){const A=e.index;if(a[A]==null){if(e.type!=="function"){throw new R({data:e,message:`Expected 'function' type.`})}if(e.id==null){throw new R({data:e,message:`Expected 'id' to be a string.`})}if(((r=e.function)==null?void 0:r.name)==null){throw new R({data:e,message:`Expected 'function.name' to be a string.`})}a[A]={id:e.id,type:"function",function:{name:e.function.name,arguments:(s=e.function.arguments)!=null?s:""}};const c=a[A];if(((n=c.function)==null?void 0:n.name)!=null&&((o=c.function)==null?void 0:o.arguments)!=null&&isParsableJson(c.function.arguments)){t.enqueue({type:"tool-call-delta",toolCallType:"function",toolCallId:c.id,toolName:c.function.name,argsTextDelta:c.function.arguments});t.enqueue({type:"tool-call",toolCallType:"function",toolCallId:(i=c.id)!=null?i:ge(),toolName:c.function.name,args:c.function.arguments})}continue}const c=a[A];if(((p=e.function)==null?void 0:p.arguments)!=null){c.function.arguments+=(g=(d=e.function)==null?void 0:d.arguments)!=null?g:""}t.enqueue({type:"tool-call-delta",toolCallType:"function",toolCallId:c.id,toolName:c.function.name,argsTextDelta:(h=e.function.arguments)!=null?h:""});if(((m=c.function)==null?void 0:m.name)!=null&&((E=c.function)==null?void 0:E.arguments)!=null&&isParsableJson(c.function.arguments)){t.enqueue({type:"tool-call",toolCallType:"function",toolCallId:(C=c.id)!=null?C:ge(),toolName:c.function.name,args:c.function.arguments})}}}},flush(e){e.enqueue({type:"finish",finishReason:A,logprobs:l,usage:c})}})),rawCall:{rawPrompt:o,rawSettings:i},rawResponse:{headers:s},warnings:r}}};var Os=Dt.object({choices:Dt.array(Dt.object({message:Dt.object({role:Dt.literal("assistant").nullish(),content:Dt.string().nullish(),function_call:Dt.object({arguments:Dt.string(),name:Dt.string()}).nullish(),tool_calls:Dt.array(Dt.object({id:Dt.string().nullish(),type:Dt.literal("function"),function:Dt.object({name:Dt.string(),arguments:Dt.string()})})).nullish()}),index:Dt.number(),logprobs:Dt.object({content:Dt.array(Dt.object({token:Dt.string(),logprob:Dt.number(),top_logprobs:Dt.array(Dt.object({token:Dt.string(),logprob:Dt.number()}))})).nullable()}).nullish(),finish_reason:Dt.string().nullish()})),usage:Dt.object({prompt_tokens:Dt.number(),completion_tokens:Dt.number()})});var Ms=Dt.union([Dt.object({choices:Dt.array(Dt.object({delta:Dt.object({role:Dt["enum"](["assistant"]).nullish(),content:Dt.string().nullish(),function_call:Dt.object({name:Dt.string().optional(),arguments:Dt.string().optional()}).nullish(),tool_calls:Dt.array(Dt.object({index:Dt.number(),id:Dt.string().nullish(),type:Dt.literal("function").optional(),function:Dt.object({name:Dt.string().nullish(),arguments:Dt.string().nullish()})})).nullish()}).nullish(),logprobs:Dt.object({content:Dt.array(Dt.object({token:Dt.string(),logprob:Dt.number(),top_logprobs:Dt.array(Dt.object({token:Dt.string(),logprob:Dt.number()}))})).nullable()}).nullish(),finish_reason:Dt.string().nullable().optional(),index:Dt.number()})),usage:Dt.object({prompt_tokens:Dt.number(),completion_tokens:Dt.number()}).nullish()}),Fs]);function dist_prepareToolsAndToolChoice({mode:e,useLegacyFunctionCalling:t=false,structuredOutputs:r=false}){var s;const n=((s=e.tools)==null?void 0:s.length)?e.tools:void 0;if(n==null){return{tools:void 0,tool_choice:void 0}}const o=e.toolChoice;if(t){const e=n.map((e=>({name:e.name,description:e.description,parameters:e.parameters})));if(o==null){return{functions:e,function_call:void 0}}const t=o.type;switch(t){case"auto":case"none":case void 0:return{functions:e,function_call:void 0};case"required":throw new ue({functionality:"useLegacyFunctionCalling and toolChoice: required"});default:return{functions:e,function_call:{name:o.toolName}}}}const i=n.map((e=>({type:"function",function:{name:e.name,description:e.description,parameters:e.parameters},strict:r===true?true:void 0})));if(o==null){return{tools:i,tool_choice:void 0}}const a=o.type;switch(a){case"auto":case"none":case"required":return{tools:i,tool_choice:a};case"tool":return{tools:i,tool_choice:{type:"function",function:{name:o.toolName}}};default:{const e=a;throw new Error(`Unsupported tool choice type: ${e}`)}}}function convertToOpenAICompletionPrompt({prompt:e,inputFormat:t,user:r="user",assistant:s="assistant"}){if(t==="prompt"&&e.length===1&&e[0].role==="user"&&e[0].content.length===1&&e[0].content[0].type==="text"){return{prompt:e[0].content[0].text}}let n="";if(e[0].role==="system"){n+=`${e[0].content}\n\n`;e=e.slice(1)}for(const{role:t,content:o}of e){switch(t){case"system":{throw new y({message:"Unexpected system message in prompt: ${content}",prompt:e})}case"user":{const e=o.map((e=>{switch(e.type){case"text":{return e.text}case"image":{throw new ue({functionality:"images"})}}})).join("");n+=`${r}:\n${e}\n\n`;break}case"assistant":{const e=o.map((e=>{switch(e.type){case"text":{return e.text}case"tool-call":{throw new ue({functionality:"tool-call messages"})}}})).join("");n+=`${s}:\n${e}\n\n`;break}case"tool":{throw new ue({functionality:"tool messages"})}default:{const e=t;throw new Error(`Unsupported role: ${e}`)}}}n+=`${s}:\n`;return{prompt:n,stopSequences:[`\n${r}:`]}}function mapOpenAICompletionLogProbs(e){return e==null?void 0:e.tokens.map(((t,r)=>({token:t,logprob:e.token_logprobs[r],topLogprobs:e.top_logprobs?Object.entries(e.top_logprobs[r]).map((([e,t])=>({token:e,logprob:t}))):[]})))}var Ls=class{constructor(e,t,r){this.specificationVersion="v1";this.defaultObjectGenerationMode=void 0;this.modelId=e;this.settings=t;this.config=r}get provider(){return this.config.provider}getArgs({mode:e,inputFormat:t,prompt:r,maxTokens:s,temperature:n,topP:o,topK:i,frequencyPenalty:a,presencePenalty:A,stopSequences:c,responseFormat:l,seed:u}){var p;const d=e.type;const g=[];if(i!=null){g.push({type:"unsupported-setting",setting:"topK"})}if(l!=null&&l.type!=="text"){g.push({type:"unsupported-setting",setting:"responseFormat",details:"JSON response format is not supported."})}const{prompt:h,stopSequences:m}=convertToOpenAICompletionPrompt({prompt:r,inputFormat:t});const E=[...m!=null?m:[],...c!=null?c:[]];const C={model:this.modelId,echo:this.settings.echo,logit_bias:this.settings.logitBias,logprobs:typeof this.settings.logprobs==="number"?this.settings.logprobs:typeof this.settings.logprobs==="boolean"?this.settings.logprobs?0:void 0:void 0,suffix:this.settings.suffix,user:this.settings.user,max_tokens:s,temperature:n,top_p:o,frequency_penalty:a,presence_penalty:A,seed:u,prompt:h,stop:E.length>0?E:void 0};switch(d){case"regular":{if((p=e.tools)==null?void 0:p.length){throw new ue({functionality:"tools"})}if(e.toolChoice){throw new ue({functionality:"toolChoice"})}return{args:C,warnings:g}}case"object-json":{throw new ue({functionality:"object-json mode"})}case"object-tool":{throw new ue({functionality:"object-tool mode"})}default:{const e=d;throw new Error(`Unsupported type: ${e}`)}}}async doGenerate(e){const{args:t,warnings:r}=this.getArgs(e);const{responseHeaders:s,value:n}=await postJsonToApi({url:this.config.url({path:"/completions",modelId:this.modelId}),headers:combineHeaders(this.config.headers(),e.headers),body:t,failedResponseHandler:Ns,successfulResponseHandler:createJsonResponseHandler(Ps),abortSignal:e.abortSignal,fetch:this.config.fetch});const{prompt:o,...i}=t;const a=n.choices[0];return{text:a.text,usage:{promptTokens:n.usage.prompt_tokens,completionTokens:n.usage.completion_tokens},finishReason:mapOpenAIFinishReason(a.finish_reason),logprobs:mapOpenAICompletionLogProbs(a.logprobs),rawCall:{rawPrompt:o,rawSettings:i},rawResponse:{headers:s},warnings:r}}async doStream(e){const{args:t,warnings:r}=this.getArgs(e);const{responseHeaders:s,value:n}=await postJsonToApi({url:this.config.url({path:"/completions",modelId:this.modelId}),headers:combineHeaders(this.config.headers(),e.headers),body:{...t,stream:true,stream_options:this.config.compatibility==="strict"?{include_usage:true}:void 0},failedResponseHandler:Ns,successfulResponseHandler:createEventSourceResponseHandler(Gs),abortSignal:e.abortSignal,fetch:this.config.fetch});const{prompt:o,...i}=t;let a="other";let A={promptTokens:Number.NaN,completionTokens:Number.NaN};let c;return{stream:n.pipeThrough(new TransformStream({transform(e,t){if(!e.success){a="error";t.enqueue({type:"error",error:e.error});return}const r=e.value;if("error"in r){a="error";t.enqueue({type:"error",error:r.error});return}if(r.usage!=null){A={promptTokens:r.usage.prompt_tokens,completionTokens:r.usage.completion_tokens}}const s=r.choices[0];if((s==null?void 0:s.finish_reason)!=null){a=mapOpenAIFinishReason(s.finish_reason)}if((s==null?void 0:s.text)!=null){t.enqueue({type:"text-delta",textDelta:s.text})}const n=mapOpenAICompletionLogProbs(s==null?void 0:s.logprobs);if(n==null?void 0:n.length){if(c===void 0)c=[];c.push(...n)}},flush(e){e.enqueue({type:"finish",finishReason:a,logprobs:c,usage:A})}})),rawCall:{rawPrompt:o,rawSettings:i},rawResponse:{headers:s},warnings:r}}};var Ps=Dt.object({choices:Dt.array(Dt.object({text:Dt.string(),finish_reason:Dt.string(),logprobs:Dt.object({tokens:Dt.array(Dt.string()),token_logprobs:Dt.array(Dt.number()),top_logprobs:Dt.array(Dt.record(Dt.string(),Dt.number())).nullable()}).nullable().optional()})),usage:Dt.object({prompt_tokens:Dt.number(),completion_tokens:Dt.number()})});var Gs=Dt.union([Dt.object({choices:Dt.array(Dt.object({text:Dt.string(),finish_reason:Dt.string().nullish(),index:Dt.number(),logprobs:Dt.object({tokens:Dt.array(Dt.string()),token_logprobs:Dt.array(Dt.number()),top_logprobs:Dt.array(Dt.record(Dt.string(),Dt.number())).nullable()}).nullable().optional()})),usage:Dt.object({prompt_tokens:Dt.number(),completion_tokens:Dt.number()}).optional().nullable()}),Fs]);var Hs=class{constructor(e={}){var t,r;this.baseURL=(r=withoutTrailingSlash((t=e.baseURL)!=null?t:e.baseUrl))!=null?r:"https://api.openai.com/v1";this.apiKey=e.apiKey;this.organization=e.organization;this.project=e.project;this.headers=e.headers}get baseConfig(){return{organization:this.organization,baseURL:this.baseURL,headers:()=>({Authorization:`Bearer ${loadApiKey({apiKey:this.apiKey,environmentVariableName:"OPENAI_API_KEY",description:"OpenAI"})}`,"OpenAI-Organization":this.organization,"OpenAI-Project":this.project,...this.headers})}}chat(e,t={}){return new Us(e,t,{provider:"openai.chat",...this.baseConfig,compatibility:"strict",url:({path:e})=>`${this.baseURL}${e}`})}completion(e,t={}){return new Ls(e,t,{provider:"openai.completion",...this.baseConfig,compatibility:"strict",url:({path:e})=>`${this.baseURL}${e}`})}};var js=class{constructor(e,t,r){this.specificationVersion="v1";this.modelId=e;this.settings=t;this.config=r}get provider(){return this.config.provider}get maxEmbeddingsPerCall(){var e;return(e=this.settings.maxEmbeddingsPerCall)!=null?e:2048}get supportsParallelCalls(){var e;return(e=this.settings.supportsParallelCalls)!=null?e:true}async doEmbed({values:e,headers:t,abortSignal:r}){if(e.length>this.maxEmbeddingsPerCall){throw new ee({provider:this.provider,modelId:this.modelId,maxEmbeddingsPerCall:this.maxEmbeddingsPerCall,values:e})}const{responseHeaders:s,value:n}=await postJsonToApi({url:this.config.url({path:"/embeddings",modelId:this.modelId}),headers:combineHeaders(this.config.headers(),t),body:{model:this.modelId,input:e,encoding_format:"float",dimensions:this.settings.dimensions,user:this.settings.user},failedResponseHandler:Ns,successfulResponseHandler:createJsonResponseHandler(Vs),abortSignal:r,fetch:this.config.fetch});return{embeddings:n.data.map((e=>e.embedding)),usage:n.usage?{tokens:n.usage.prompt_tokens}:void 0,rawResponse:{headers:s}}}};var Vs=Dt.object({data:Dt.array(Dt.object({embedding:Dt.array(Dt.number())})),usage:Dt.object({prompt_tokens:Dt.number()}).nullish()});function createOpenAI(e={}){var t,r,s;const n=(r=dist_withoutTrailingSlash((t=e.baseURL)!=null?t:e.baseUrl))!=null?r:"https://api.openai.com/v1";const o=(s=e.compatibility)!=null?s:"compatible";const getHeaders=()=>({Authorization:`Bearer ${dist_loadApiKey({apiKey:e.apiKey,environmentVariableName:"OPENAI_API_KEY",description:"OpenAI"})}`,"OpenAI-Organization":e.organization,"OpenAI-Project":e.project,...e.headers});const createChatModel=(t,r={})=>new Us(t,r,{provider:"openai.chat",url:({path:e})=>`${n}${e}`,headers:getHeaders,compatibility:o,fetch:e.fetch});const createCompletionModel=(t,r={})=>new Ls(t,r,{provider:"openai.completion",url:({path:e})=>`${n}${e}`,headers:getHeaders,compatibility:o,fetch:e.fetch});const createEmbeddingModel=(t,r={})=>new js(t,r,{provider:"openai.embedding",url:({path:e})=>`${n}${e}`,headers:getHeaders,fetch:e.fetch});const createLanguageModel=(e,t)=>{if(new.target){throw new Error("The OpenAI model function cannot be called with the new keyword.")}if(e==="gpt-3.5-turbo-instruct"){return createCompletionModel(e,t)}return createChatModel(e,t)};const provider=function(e,t){return createLanguageModel(e,t)};provider.languageModel=createLanguageModel;provider.chat=createChatModel;provider.completion=createCompletionModel;provider.embedding=createEmbeddingModel;provider.textEmbedding=createEmbeddingModel;return provider}var Js=createOpenAI({compatibility:"strict"});var Ys=__nccwpck_require__(9690);var qs=__nccwpck_require__(4260);function formattedDate(e){const t=new Date(e);return t.toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"})}function ninetyDaysAgo(){const e=new Date;e.setDate(e.getDate()-90);return e.toISOString().split("T")[0]}async function getLatestCanaryVersion(){let e;try{const{stdout:t}=await(0,qs.getExecOutput)("pnpm",["view","next","dist-tags","--json"]);const r=JSON.parse(t);e=r.canary||null}catch(e){(0,t.setFailed)(`Error fetching latest Next.js canary version, skipping update.`)}return e}async function getLatestVersion(){let e;try{const{stdout:t}=await(0,qs.getExecOutput)("pnpm",["view","next","dist-tags","--json"]);const r=JSON.parse(t);e=r.latest||null}catch(e){(0,t.setFailed)(`Error fetching latest Next.js version, skipping update.`)}return e}const Ws=Dt.object({avatar_url:Dt.string().optional(),deleted:Dt.boolean().optional(),email:Dt.string().nullable().optional(),events_url:Dt.string().optional(),followers_url:Dt.string().optional(),following_url:Dt.string().optional(),gists_url:Dt.string().optional(),gravatar_id:Dt.string().optional(),html_url:Dt.string().optional(),id:Dt.number(),login:Dt.string(),name:Dt.string().optional(),node_id:Dt.string().optional(),organizations_url:Dt.string().optional(),received_events_url:Dt.string().optional(),repos_url:Dt.string().optional(),site_admin:Dt.boolean().optional(),starred_url:Dt.string().optional(),subscriptions_url:Dt.string().optional(),type:Dt["enum"](["Bot","User","Organization"]).optional(),url:Dt.string().optional()}).strict();const Zs=Dt.object({color:Dt.string(),default:Dt.boolean(),description:Dt.string().nullable(),id:Dt.number(),name:Dt.string(),node_id:Dt.string(),url:Dt.string()}).strict();const zs=Dt.object({closed_at:Dt.string().nullable(),closed_issues:Dt.number(),created_at:Dt.string(),creator:Ws.nullable(),description:Dt.string().nullable(),due_on:Dt.string().nullable(),html_url:Dt.string(),id:Dt.number(),labels_url:Dt.string(),node_id:Dt.string(),number:Dt.number(),open_issues:Dt.number(),state:Dt["enum"](["closed","open"]),title:Dt.string(),updated_at:Dt.string(),url:Dt.string()}).strict().describe("A collection of related issues.");const Ks=Dt.object({actions:Dt["enum"](["read","write"]),administration:Dt["enum"](["read","write"]),content_references:Dt["enum"](["read","write"]),contents:Dt["enum"](["read","write"]),deployments:Dt["enum"](["read","write"]),discussions:Dt["enum"](["read","write"]),emails:Dt["enum"](["read","write"]),environments:Dt["enum"](["read","write"]),issues:Dt["enum"](["read","write"]),keys:Dt["enum"](["read","write"]),members:Dt["enum"](["read","write"]),metadata:Dt["enum"](["read","write"]),organization_administration:Dt["enum"](["read","write"]),organization_hooks:Dt["enum"](["read","write"]),organization_packages:Dt["enum"](["read","write"]),organization_plan:Dt["enum"](["read","write"]),organization_projects:Dt["enum"](["read","write"]),organization_secrets:Dt["enum"](["read","write"]),organization_self_hosted_runners:Dt["enum"](["read","write"]),organization_user_blocking:Dt["enum"](["read","write"]),packages:Dt["enum"](["read","write"]),pages:Dt["enum"](["read","write"]),pull_requests:Dt["enum"](["read","write"]),repository_hooks:Dt["enum"](["read","write"]),repository_projects:Dt["enum"](["read","write"]),secret_scanning_alerts:Dt["enum"](["read","write"]),secrets:Dt["enum"](["read","write"]),security_events:Dt["enum"](["read","write"]),security_scanning_alert:Dt["enum"](["read","write"]),single_file:Dt["enum"](["read","write"]),statuses:Dt["enum"](["read","write"]),team_discussions:Dt["enum"](["read","write"]),vulnerability_alerts:Dt["enum"](["read","write"]),workflows:Dt["enum"](["read","write"])}).strict();const Xs=Dt.object({created_at:Dt.string().nullable(),description:Dt.string().nullable(),events:Dt["enum"](["branch_protection_rule","check_run","check_suite","code_scanning_alert","commit_comment","content_reference","create","delete","deployment","deployment_review","deployment_status","deploy_key","discussion","discussion_comment","fork","gollum","issues","issue_comment","label","member","membership","milestone","organization","org_block","page_build","project","project_card","project_column","public","pull_request","pull_request_review","pull_request_review_comment","push","registry_package","release","repository","repository_dispatch","secret_scanning_alert","star","status","team","team_add","watch","workflow_dispatch","workflow_run","reminder","pull_request_review_thread"]),external_url:Dt.string().nullable(),html_url:Dt.string(),id:Dt.number().nullable(),name:Dt.string(),node_id:Dt.string(),owner:Ws.nullable(),permissions:Ks,slug:Dt.string(),updated_at:Dt.string().nullable()}).strict();const $s=Dt.object({"+1":Dt.number(),"-1":Dt.number(),confused:Dt.number(),eyes:Dt.number(),heart:Dt.number(),hooray:Dt.number(),laugh:Dt.number(),rocket:Dt.number(),total_count:Dt.number(),url:Dt.string()}).strict();const en=Dt.object({issue:Dt.object({active_lock_reason:Dt["enum"](["resolved","off-topic","too heated","spam"]).nullable(),assignee:Ws.nullable().optional(),assignees:Dt.array(Ws).optional(),author_association:Dt["enum"](["COLLABORATOR","CONTRIBUTOR","FIRST_TIMER","FIRST_TIME_CONTRIBUTOR","MANNEQUIN","MEMBER","NONE","OWNER"]),body:Dt.string().nullable(),closed_at:Dt.string().nullable(),comments:Dt.number(),comments_url:Dt.string(),created_at:Dt.string(),events_url:Dt.string(),html_url:Dt.string(),id:Dt.number(),labels:Dt.array(Zs).default([]),labels_url:Dt.string(),locked:Dt.boolean(),milestone:zs.nullable(),node_id:Dt.string(),number:Dt.number(),performed_via_github_app:Xs.nullable(),reactions:$s,repository_url:Dt.string(),state:Dt["enum"](["closed","open"]),state_reason:Dt.string().nullable(),timeline_url:Dt.string(),title:Dt.string(),updated_at:Dt.string(),url:Dt.string(),user:Ws.nullable()})}).strict().describe("A GitHub issue.");var tn=undefined&&undefined.__awaiter||function(e,t,r,s){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function fulfilled(e){try{step(s.next(e))}catch(e){n(e)}}function rejected(e){try{step(s["throw"](e))}catch(e){n(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,t||[])).next())}))};function main(){return tn(this,void 0,void 0,(function*(){if(!process.env.OPENAI_API_KEY)throw new TypeError("OPENAI_API_KEY not set");if(!process.env.SLACK_TOKEN)throw new TypeError("SLACK_TOKEN not set");if(!process.env.VERCEL_PROTECTION_BYPASS)throw new TypeError("VERCEL_PROTECTION_BYPASS not set");const s=new e.WebClient(process.env.SLACK_TOKEN);const n="gpt-4o";const o="#next-info";const i=r.context.payload.issue;const a=i.html_url;const A=i.number;const c=i.title;let l;let u;try{l=yield getLatestVersion();u=yield getLatestCanaryVersion();const e=yield fetch("https://next-triage.vercel.sh/api/triage-guidelines",{method:"GET",headers:{"x-vercel-protection-bypass":`${process.env.VERCEL_PROTECTION_BYPASS}`}});const r=yield e.text();const p=yield generateText({model:Js(n),maxAutomaticRoundtrips:1,tools:{report_to_slack:tool({description:"Report to Slack.",parameters:en})},system:"Your job is to determine the severity of a GitHub issue using the triage guidelines and the latest versions of Next.js. Succinctly explain why you chose the severity, without paraphrasing the triage guidelines. Report this explanation to slack only if the severity is considered severe.",prompt:`Here are the triage guidelines: ${r}`+`Here is the latest version of Next.js: ${l}`+`Here is the latest canary version of Next.js: ${u}`+`Here is the GitHub issue: ${JSON.stringify(i)}`});if(p.roundtrips.length>1){const e=(0,Ys.BlockCollection)([(0,Ys.Section)({text:`:github2: <${a}|#${A}>: ${c}\n_Note: This issue was evaluated and reported on Slack with *${n}*._`}),(0,Ys.Divider)(),(0,Ys.Section)({text:`_${p.text}_`})]);yield s.chat.postMessage({blocks:e,channel:o,icon_emoji:":github:",username:"GitHub Notifier"});(0,t.info)("Posted to Slack!")}(0,t.info)(`result.text: ${p.text}\nhtml_url: ${a}\nnumber: ${A}\ntitle: ${c}`)}catch(e){(0,t.setFailed)(e)}}))}main()})();module.exports=__webpack_exports__})(); \ No newline at end of file diff --git a/.github/actions/next-repo-actions/src/triage-issues-with-ai.ts b/.github/actions/next-repo-actions/src/triage-issues-with-ai.ts index 52b2416777fb0..9159b9236066b 100644 --- a/.github/actions/next-repo-actions/src/triage-issues-with-ai.ts +++ b/.github/actions/next-repo-actions/src/triage-issues-with-ai.ts @@ -19,12 +19,12 @@ async function main() { const channel = '#next-info' const issue = context.payload.issue + const html_url = issue.html_url + const number = issue.number + const title = issue.title let latestVersion: string let latestCanaryVersion: string - let html_url: string - let number: number - let title: string try { latestVersion = await getLatestVersion() @@ -49,13 +49,6 @@ async function main() { report_to_slack: tool({ description: 'Report to Slack.', parameters: issueSchema, - execute: async ({ issue }) => { - html_url = issue.html_url - number = issue.number - title = issue.title - - return { html_url, number, title } - }, }), }, system: